Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
2025-11-25 23:59:03.707146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/01/image_20112025_23_01_52_2706.jpg', '/home/pi/Desktop/images/20112025/23/01/image_20112025_23_02_01_3618.jpg', '/home/pi/Desktop/images/20112025/23/02/image_20112025_23_02_25_2807.jpg', '/home/pi/Desktop/images/20112025/23/02/image_20112025_23_02_28_2699.jpg', '/home/pi/Desktop/images/20112025/23/02/image_20112025_23_02_46_2553.jpg', '/home/pi/Desktop/images/20112025/23/02/image_20112025_23_02_49_3732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/01/image_20112025_23_01_52_2706.jpg
/home/pi/Desktop/images/20112025/23/01/image_20112025_23_02_01_3618.jpg
/home/pi/Desktop/images/20112025/23/02/image_20112025_23_02_25_2807.jpg
/home/pi/Desktop/images/20112025/23/02/image_20112025_23_02_28_2699.jpg
/home/pi/Desktop/images/20112025/23/02/image_20112025_23_02_46_2553.jpg
/home/pi/Desktop/images/20112025/23/02/image_20112025_23_02_49_3732.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":["1396151093","1396151246","1396151210","1396151173","1396151056","1396151131"],"photo_ids_order":["1396151056","1396151093","1396151131","1396151173","1396151210","1396151246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9007e40327db81db196d9c1cf2aee7ea.jpg","text":"TemporaryFile(/tmp/multipartBody3505033460033345463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111617619,"filename":"image_20112025_23_02_01_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/26/9ffaa6ea61ae2ca273a0d24ecbb31363.jpg","text":"TemporaryFile(/tmp/multipartBody5143247781545056082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111617619,"filename":"image_20112025_23_02_49_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/26/0e04c2c6f48b9a49febfed740f583f38.jpg","text":"TemporaryFile(/tmp/multipartBody5577849249093166545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111617619,"filename":"image_20112025_23_02_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/26/a7b10f06e6c7613efa02162b337bce6c.jpg","text":"TemporaryFile(/tmp/multipartBody8940179935086961710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111617619,"filename":"image_20112025_23_02_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/26/4d7b7aab841958a4d76d29d1120c80e8.jpg","text":"TemporaryFile(/tmp/multipartBody1152847534334622063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111617619,"filename":"image_20112025_23_01_52_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/26/18865fbe24bb2e26fbb780ea3fe3bf62.jpg","text":"TemporaryFile(/tmp/multipartBody4044003324563633684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111617619,"filename":"image_20112025_23_02_25_2807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396151131","file1":"1396151093","file0":"1396151056","file4":"1396151210","file5":"1396151246","file3":"1396151173"},"map_files_photo_id_array":[{"photo_id":"1396151246","filename":"file5"},{"photo_id":"1396151131","filename":"file2"},{"photo_id":"1396151210","filename":"file4"},{"photo_id":"1396151093","filename":"file1"},{"photo_id":"1396151056","filename":"file0"},{"photo_id":"1396151173","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396151093":["hashtag1","hashtag2"]},{"1396151246":["hashtag1","hashtag2"]},{"1396151210":["hashtag1","hashtag2"]},{"1396151173":["hashtag1","hashtag2"]},{"1396151056":["hashtag1","hashtag2"]},{"1396151131":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396151093, 1396151246, 1396151210, 1396151173, 1396151056, 1396151131)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 106.88781642913818 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:01:15.192733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 00:01:27.420206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_07_3735.jpg', '/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_10_2715.jpg', '/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_13_2700.jpg', '/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_16_3573.jpg', '/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_19_2865.jpg', '/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_22_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_07_3735.jpg
/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_10_2715.jpg
/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_13_2700.jpg
/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_16_3573.jpg
/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_19_2865.jpg
/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_22_2679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 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":["1396152259","1396152367","1396152331","1396152220","1396152297","1396152171"],"photo_ids_order":["1396152171","1396152220","1396152259","1396152297","1396152331","1396152367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1cb1e690049a084afe5c7d218856a757.jpg","text":"TemporaryFile(/tmp/multipartBody6726720691833743119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111759435,"filename":"image_20112025_23_03_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/26/451d4d6cc45a94000bd40df3593382f9.jpg","text":"TemporaryFile(/tmp/multipartBody3221939164650980386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111759435,"filename":"image_20112025_23_03_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/26/28181b922bfdc200486e6bc3dfc284c4.jpg","text":"TemporaryFile(/tmp/multipartBody7714672473980100290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111759435,"filename":"image_20112025_23_03_19_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/26/8608d4a3e40e656e34c089e64cf5076a.jpg","text":"TemporaryFile(/tmp/multipartBody1226388847930502579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111759435,"filename":"image_20112025_23_03_10_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/801153fb2fd3b11174f1d306854bc9c7.jpg","text":"TemporaryFile(/tmp/multipartBody1348377369684236375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111759435,"filename":"image_20112025_23_03_16_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/26/5f08337b3807e36078a448231500ca5d.jpg","text":"TemporaryFile(/tmp/multipartBody2791786919044893053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111759435,"filename":"image_20112025_23_03_07_3735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396152259","file1":"1396152220","file0":"1396152171","file4":"1396152331","file5":"1396152367","file3":"1396152297"},"map_files_photo_id_array":[{"photo_id":"1396152367","filename":"file5"},{"photo_id":"1396152259","filename":"file2"},{"photo_id":"1396152331","filename":"file4"},{"photo_id":"1396152220","filename":"file1"},{"photo_id":"1396152171","filename":"file0"},{"photo_id":"1396152297","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396152259":["hashtag1","hashtag2"]},{"1396152367":["hashtag1","hashtag2"]},{"1396152331":["hashtag1","hashtag2"]},{"1396152220":["hashtag1","hashtag2"]},{"1396152297":["hashtag1","hashtag2"]},{"1396152171":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396152259, 1396152367, 1396152331, 1396152220, 1396152297, 1396152171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.6480872631073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:02:26.875264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_25_2725.jpg', '/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_28_3626.jpg', '/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_31_2596.jpg', '/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_34_2802.jpg', '/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_40_2589.jpg', '/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_46_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_25_2725.jpg
/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_28_3626.jpg
/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_31_2596.jpg
/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_34_2802.jpg
/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_40_2589.jpg
/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_46_2577.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":["1396152566","1396152652","1396152568","1396152559","1396152607","1396152573"],"photo_ids_order":["1396152559","1396152566","1396152568","1396152573","1396152607","1396152652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5c5c31871de55645e3de437de36f6e7f.jpg","text":"TemporaryFile(/tmp/multipartBody4311287312055606501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111808839,"filename":"image_20112025_23_03_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/26/a9f62ac88a879494dc30820239d02e06.jpg","text":"TemporaryFile(/tmp/multipartBody5045991642952372956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111808839,"filename":"image_20112025_23_03_46_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9b5812e543e15121383f7d8c43332b2e.jpg","text":"TemporaryFile(/tmp/multipartBody4122341087106238315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111808839,"filename":"image_20112025_23_03_31_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/26/53585f5b4bdee47bffad4e21c504d923.jpg","text":"TemporaryFile(/tmp/multipartBody8876034482047817977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111808839,"filename":"image_20112025_23_03_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/26/8ea304cae8ab121860bc695ad39839f2.jpg","text":"TemporaryFile(/tmp/multipartBody6104651758741982978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111808839,"filename":"image_20112025_23_03_40_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/26/a2494626af2e42536b8ab2538ae306b8.jpg","text":"TemporaryFile(/tmp/multipartBody6217460629003606621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111808839,"filename":"image_20112025_23_03_34_2802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396152568","file1":"1396152566","file0":"1396152559","file4":"1396152607","file5":"1396152652","file3":"1396152573"},"map_files_photo_id_array":[{"photo_id":"1396152652","filename":"file5"},{"photo_id":"1396152568","filename":"file2"},{"photo_id":"1396152607","filename":"file4"},{"photo_id":"1396152566","filename":"file1"},{"photo_id":"1396152559","filename":"file0"},{"photo_id":"1396152573","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396152566":["hashtag1","hashtag2"]},{"1396152652":["hashtag1","hashtag2"]},{"1396152568":["hashtag1","hashtag2"]},{"1396152559":["hashtag1","hashtag2"]},{"1396152607":["hashtag1","hashtag2"]},{"1396152573":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396152566, 1396152652, 1396152568, 1396152559, 1396152607, 1396152573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.36779499053955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:03:12.022373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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_26112025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 28898551, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1764111852000}
4219
4116505
4219
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_08_4027.jpg', '/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_10_1723.jpg', '/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_12_2761.jpg', '/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_19_1638.jpg', '/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_22_2774.jpg', '/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_25_3339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_08_4027.jpg
/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_10_1723.jpg
/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_12_2761.jpg
/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_19_1638.jpg
/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_22_2774.jpg
/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_25_3339.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":["1396152941","1396153180","1396153081","1396153140","1396153008","1396152873"],"photo_ids_order":["1396152873","1396152941","1396153008","1396153081","1396153140","1396153180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/138230b140b1630879a32252203f09cb.jpg","text":"TemporaryFile(/tmp/multipartBody1737959423044137713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111853656,"filename":"image_26112025_00_00_10_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/93eedb82116ae2e93f2eb35848057783.jpg","text":"TemporaryFile(/tmp/multipartBody6660783099867999645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111853656,"filename":"image_26112025_00_00_25_3339.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/12f3b4e25a0e55b2a74e567732297328.jpg","text":"TemporaryFile(/tmp/multipartBody6510238762906211172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111853656,"filename":"image_26112025_00_00_19_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/26/5052633d325546adfd038bbc68a4f88b.jpg","text":"TemporaryFile(/tmp/multipartBody2296215493798353510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111853656,"filename":"image_26112025_00_00_22_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/26/c67d412e761de39eccb768800465c460.jpg","text":"TemporaryFile(/tmp/multipartBody2675731739492727944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111853656,"filename":"image_26112025_00_00_12_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/26/643a973839cc76ff3aac96c8c0598fc5.jpg","text":"TemporaryFile(/tmp/multipartBody7088311201689246333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111853656,"filename":"image_26112025_00_00_08_4027.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396153008","file1":"1396152941","file0":"1396152873","file4":"1396153140","file5":"1396153180","file3":"1396153081"},"map_files_photo_id_array":[{"photo_id":"1396153180","filename":"file5"},{"photo_id":"1396153008","filename":"file2"},{"photo_id":"1396153140","filename":"file4"},{"photo_id":"1396152941","filename":"file1"},{"photo_id":"1396152873","filename":"file0"},{"photo_id":"1396153081","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396152941":["hashtag1","hashtag2"]},{"1396153180":["hashtag1","hashtag2"]},{"1396153081":["hashtag1","hashtag2"]},{"1396153140":["hashtag1","hashtag2"]},{"1396153008":["hashtag1","hashtag2"]},{"1396152873":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396152941, 1396153180, 1396153081, 1396153140, 1396153008, 1396152873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52347135543823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:04:03.212180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_28_2631.jpg', '/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_30_2493.jpg', '/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_34_3665.jpg', '/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_37_2832.jpg', '/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_39_2609.jpg', '/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_42_2897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_28_2631.jpg
/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_30_2493.jpg
/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_34_3665.jpg
/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_37_2832.jpg
/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_39_2609.jpg
/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_42_2897.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":["1396153462","1396153458","1396153554","1396153461","1396153515","1396153481"],"photo_ids_order":["1396153458","1396153461","1396153462","1396153481","1396153515","1396153554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9e30de60b58e75576910b6cf9f7a7289.jpg","text":"TemporaryFile(/tmp/multipartBody6215484129990339407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111903949,"filename":"image_26112025_00_00_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/26/85fd49e16dd7cb2043e472d19c6598a1.jpg","text":"TemporaryFile(/tmp/multipartBody5487965871057077354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111903949,"filename":"image_26112025_00_00_28_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/26/981d12706c0121bb78689e5f53bdfb4e.jpg","text":"TemporaryFile(/tmp/multipartBody7400836911188041786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111903949,"filename":"image_26112025_00_00_42_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/26/cf08a206a671c6939020f57b37d99be3.jpg","text":"TemporaryFile(/tmp/multipartBody5405279225233205755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111903949,"filename":"image_26112025_00_00_30_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/26/69099aefb58b939de0cbef5b39071470.jpg","text":"TemporaryFile(/tmp/multipartBody265016312617850859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111903949,"filename":"image_26112025_00_00_39_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a65c324429d565c03ecbf519cb466ab7.jpg","text":"TemporaryFile(/tmp/multipartBody7434176178073961939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111903949,"filename":"image_26112025_00_00_37_2832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396153462","file1":"1396153461","file0":"1396153458","file4":"1396153515","file5":"1396153554","file3":"1396153481"},"map_files_photo_id_array":[{"photo_id":"1396153554","filename":"file5"},{"photo_id":"1396153462","filename":"file2"},{"photo_id":"1396153515","filename":"file4"},{"photo_id":"1396153461","filename":"file1"},{"photo_id":"1396153458","filename":"file0"},{"photo_id":"1396153481","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396153462":["hashtag1","hashtag2"]},{"1396153458":["hashtag1","hashtag2"]},{"1396153554":["hashtag1","hashtag2"]},{"1396153461":["hashtag1","hashtag2"]},{"1396153515":["hashtag1","hashtag2"]},{"1396153481":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396153462, 1396153458, 1396153554, 1396153461, 1396153515, 1396153481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4638249874115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 00:04:42.354979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_54_11704.jpg', '/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_56_1918.jpg', '/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_57_1618.jpg', '/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_59_1743.jpg', '/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_02_3299.jpg', '/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_04_1565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_54_11704.jpg
/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_56_1918.jpg
/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_57_1618.jpg
/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_59_1743.jpg
/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_02_3299.jpg
/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_04_1565.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.560161828994751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:05:06.698858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_54_11704.jpg', '/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_56_1918.jpg', '/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_57_1618.jpg', '/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_59_1743.jpg', '/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_02_3299.jpg', '/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_04_1565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_54_11704.jpg
/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_56_1918.jpg
/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_57_1618.jpg
/home/pi/Desktop/images/26112025/00/00/image_26112025_00_00_59_1743.jpg
/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_02_3299.jpg
/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_04_1565.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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396153651","1396153813","1396153694","1396153853","1396153769","1396153733"],"photo_ids_order":["1396153651","1396153694","1396153733","1396153769","1396153813","1396153853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4d3514cc03e22457a0104f5fa51e9d1b.jpg","text":"TemporaryFile(/tmp/multipartBody1449681638646064341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111967434,"filename":"image_26112025_00_00_54_11704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1ed3d05d0448bf768ef6dd63bd6caa61.jpg","text":"TemporaryFile(/tmp/multipartBody919130180829258668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111967434,"filename":"image_26112025_00_01_02_3299.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8c83890e92c6e867d1efa27231c9a8cb.jpg","text":"TemporaryFile(/tmp/multipartBody6665096857768913223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111967434,"filename":"image_26112025_00_00_56_1918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/606d0e7a1132f7bc96cf0aec544ac4b8.jpg","text":"TemporaryFile(/tmp/multipartBody7413267443287524822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111967434,"filename":"image_26112025_00_01_04_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/26/7bc84d537bd3c17672c42cf5837ea82d.jpg","text":"TemporaryFile(/tmp/multipartBody3307326261799079023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111967434,"filename":"image_26112025_00_00_59_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/26/320e57f67e625cc75a5284b59fe432e0.jpg","text":"TemporaryFile(/tmp/multipartBody1745857539145872465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764111967434,"filename":"image_26112025_00_00_57_1618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396153733","file1":"1396153694","file0":"1396153651","file4":"1396153813","file5":"1396153853","file3":"1396153769"},"map_files_photo_id_array":[{"photo_id":"1396153853","filename":"file5"},{"photo_id":"1396153733","filename":"file2"},{"photo_id":"1396153813","filename":"file4"},{"photo_id":"1396153694","filename":"file1"},{"photo_id":"1396153651","filename":"file0"},{"photo_id":"1396153769","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396153651":["hashtag1","hashtag2"]},{"1396153813":["hashtag1","hashtag2"]},{"1396153694":["hashtag1","hashtag2"]},{"1396153853":["hashtag1","hashtag2"]},{"1396153769":["hashtag1","hashtag2"]},{"1396153733":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396153651, 1396153813, 1396153694, 1396153853, 1396153769, 1396153733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.27407765388489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:06:02.154226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 00:06:14.122130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 00:06:21.954979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_29_24803.jpg', '/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_30_1485.jpg', '/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_32_1600.jpg', '/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_33_1674.jpg', '/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_51_1614.jpg', '/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_52_1735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_29_24803.jpg
/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_30_1485.jpg
/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_32_1600.jpg
/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_33_1674.jpg
/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_51_1614.jpg
/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_52_1735.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":["1396154131","1396154178","1396154187","1396154223","1396154202","1396154240"],"photo_ids_order":["1396154131","1396154178","1396154187","1396154202","1396154223","1396154240"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ca8d724dc07758783074abebb8b8ba88.jpg","text":"TemporaryFile(/tmp/multipartBody2469362074707919267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112051257,"filename":"image_26112025_00_01_29_24803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/14b376b9eff441dc2c16a1bcd0853b95.jpg","text":"TemporaryFile(/tmp/multipartBody4933609605241499557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112051257,"filename":"image_26112025_00_01_30_1485.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/56b0d846e38047389c658fac9ba1af17.jpg","text":"TemporaryFile(/tmp/multipartBody3280566578286967335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112051257,"filename":"image_26112025_00_01_32_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c6187d203073f3f94171c6efa99cd08f.jpg","text":"TemporaryFile(/tmp/multipartBody648751441066729651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112051257,"filename":"image_26112025_00_01_51_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/708f84feb88d0577fb32cbf3dfcb0edd.jpg","text":"TemporaryFile(/tmp/multipartBody62812758237528696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112051257,"filename":"image_26112025_00_01_33_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/26/a2756a95dd2cde6e7d76fdb009bba441.jpg","text":"TemporaryFile(/tmp/multipartBody2518975037256754280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112051257,"filename":"image_26112025_00_01_52_1735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396154187","file1":"1396154178","file0":"1396154131","file4":"1396154223","file5":"1396154240","file3":"1396154202"},"map_files_photo_id_array":[{"photo_id":"1396154240","filename":"file5"},{"photo_id":"1396154187","filename":"file2"},{"photo_id":"1396154223","filename":"file4"},{"photo_id":"1396154178","filename":"file1"},{"photo_id":"1396154131","filename":"file0"},{"photo_id":"1396154202","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396154131":["hashtag1","hashtag2"]},{"1396154178":["hashtag1","hashtag2"]},{"1396154187":["hashtag1","hashtag2"]},{"1396154223":["hashtag1","hashtag2"]},{"1396154202":["hashtag1","hashtag2"]},{"1396154240":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396154131, 1396154178, 1396154187, 1396154223, 1396154202, 1396154240)","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 = 1396154187 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_32_1600.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 70.54765129089355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:07:33.806569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_54_1581.jpg', '/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_56_1645.jpg', '/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_57_1582.jpg', '/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_59_1632.jpg', '/home/pi/Desktop/images/26112025/00/01/image_26112025_00_02_00_1634.jpg', '/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_16_15309.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_54_1581.jpg
/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_56_1645.jpg
/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_57_1582.jpg
/home/pi/Desktop/images/26112025/00/01/image_26112025_00_01_59_1632.jpg
/home/pi/Desktop/images/26112025/00/01/image_26112025_00_02_00_1634.jpg
/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_16_15309.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":["1396154263","1396154257","1396154265","1396154259","1396154261","1396154264"],"photo_ids_order":["1396154257","1396154259","1396154261","1396154263","1396154264","1396154265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e4f3ce40bf43c2f45102df6531d87b0f.jpg","text":"TemporaryFile(/tmp/multipartBody2605298006618107733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112114458,"filename":"image_26112025_00_01_59_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/26/e71cc147c9176c2c04a6ffe603e649fb.jpg","text":"TemporaryFile(/tmp/multipartBody48641041647249327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112114458,"filename":"image_26112025_00_01_54_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a2bc0a9e266b319b51c5dbeac53d17f0.jpg","text":"TemporaryFile(/tmp/multipartBody3418996654979473746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112114458,"filename":"image_26112025_00_02_16_15309.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3c1d6bc2cafcab686fde6682ac9e7646.jpg","text":"TemporaryFile(/tmp/multipartBody3434345283731686580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112114458,"filename":"image_26112025_00_01_56_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c0d7f5a1307c15414c45a2546f93ba2c.jpg","text":"TemporaryFile(/tmp/multipartBody6446755778992245656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112114458,"filename":"image_26112025_00_01_57_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/26/2b7ce35d24181506d0025a5fcc4e6e0f.jpg","text":"TemporaryFile(/tmp/multipartBody2986399708689228428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112114458,"filename":"image_26112025_00_02_00_1634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396154261","file1":"1396154259","file0":"1396154257","file4":"1396154264","file5":"1396154265","file3":"1396154263"},"map_files_photo_id_array":[{"photo_id":"1396154265","filename":"file5"},{"photo_id":"1396154261","filename":"file2"},{"photo_id":"1396154264","filename":"file4"},{"photo_id":"1396154259","filename":"file1"},{"photo_id":"1396154257","filename":"file0"},{"photo_id":"1396154263","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396154263":["hashtag1","hashtag2"]},{"1396154257":["hashtag1","hashtag2"]},{"1396154265":["hashtag1","hashtag2"]},{"1396154259":["hashtag1","hashtag2"]},{"1396154261":["hashtag1","hashtag2"]},{"1396154264":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396154263, 1396154257, 1396154265, 1396154259, 1396154261, 1396154264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15560555458069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:08:12.404773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_17_1627.jpg', '/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_19_1545.jpg', '/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_22_2946.jpg', '/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_23_1586.jpg', '/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_27_1583.jpg', '/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_28_1598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_17_1627.jpg
/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_19_1545.jpg
/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_22_2946.jpg
/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_23_1586.jpg
/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_27_1583.jpg
/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_28_1598.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":["1396154274","1396154277","1396154268","1396154288","1396154279","1396154270"],"photo_ids_order":["1396154268","1396154270","1396154274","1396154277","1396154279","1396154288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/894e909cd298e56430dc3b64ad86fa84.jpg","text":"TemporaryFile(/tmp/multipartBody1819254970070432951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112153056,"filename":"image_26112025_00_02_22_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/26/ad1c88c0d7ddf4f6dcb3f5486ffd60df.jpg","text":"TemporaryFile(/tmp/multipartBody872993192589411907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112153056,"filename":"image_26112025_00_02_23_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/26/46a8ec142547943d3bab1bcc555cb1b1.jpg","text":"TemporaryFile(/tmp/multipartBody2984075723123883648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112153056,"filename":"image_26112025_00_02_17_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/26/157e24c6b5d5d24a0933791b1b7345ee.jpg","text":"TemporaryFile(/tmp/multipartBody1767926623744180241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112153056,"filename":"image_26112025_00_02_28_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/26/5399b056383f4b38a27f546d9ac26e14.jpg","text":"TemporaryFile(/tmp/multipartBody6810745748195171522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112153056,"filename":"image_26112025_00_02_27_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/26/89c61913c9a18a9aedc2467770b14648.jpg","text":"TemporaryFile(/tmp/multipartBody5150996915989358371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112153056,"filename":"image_26112025_00_02_19_1545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396154274","file1":"1396154270","file0":"1396154268","file4":"1396154279","file5":"1396154288","file3":"1396154277"},"map_files_photo_id_array":[{"photo_id":"1396154288","filename":"file5"},{"photo_id":"1396154274","filename":"file2"},{"photo_id":"1396154279","filename":"file4"},{"photo_id":"1396154270","filename":"file1"},{"photo_id":"1396154268","filename":"file0"},{"photo_id":"1396154277","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396154274":["hashtag1","hashtag2"]},{"1396154277":["hashtag1","hashtag2"]},{"1396154268":["hashtag1","hashtag2"]},{"1396154288":["hashtag1","hashtag2"]},{"1396154279":["hashtag1","hashtag2"]},{"1396154270":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396154274, 1396154277, 1396154268, 1396154288, 1396154279, 1396154270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51751399040222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:09:03.816117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_31_2455.jpg', '/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_32_1843.jpg', '/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_36_3858.jpg', '/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_38_1496.jpg', '/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_39_1700.jpg', '/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_41_1764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_31_2455.jpg
/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_32_1843.jpg
/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_36_3858.jpg
/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_38_1496.jpg
/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_39_1700.jpg
/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_41_1764.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":["1396154309","1396154314","1396154311","1396154298","1396154307","1396154316"],"photo_ids_order":["1396154298","1396154307","1396154309","1396154311","1396154314","1396154316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/42f853450f40567bd429af70660d5672.jpg","text":"TemporaryFile(/tmp/multipartBody720405835292497227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112204769,"filename":"image_26112025_00_02_36_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/26/90a15635562e0d641a47b40ba609bd87.jpg","text":"TemporaryFile(/tmp/multipartBody4913846232803773725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112204769,"filename":"image_26112025_00_02_39_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/26/64b1b0e00fec94cd92e2c3951745b0a3.jpg","text":"TemporaryFile(/tmp/multipartBody9038683264655457339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112204769,"filename":"image_26112025_00_02_38_1496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a8a7b662410107fdea8fd0793fd11624.jpg","text":"TemporaryFile(/tmp/multipartBody8219622813562832532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112204769,"filename":"image_26112025_00_02_31_2455.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7596ceb4fb4dea5758136765d663c261.jpg","text":"TemporaryFile(/tmp/multipartBody2092933962667456905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112204769,"filename":"image_26112025_00_02_32_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/26/63e921122e38fa800584bca020ed2ef0.jpg","text":"TemporaryFile(/tmp/multipartBody2016489830239681001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112204769,"filename":"image_26112025_00_02_41_1764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396154309","file1":"1396154307","file0":"1396154298","file4":"1396154314","file5":"1396154316","file3":"1396154311"},"map_files_photo_id_array":[{"photo_id":"1396154316","filename":"file5"},{"photo_id":"1396154309","filename":"file2"},{"photo_id":"1396154314","filename":"file4"},{"photo_id":"1396154307","filename":"file1"},{"photo_id":"1396154298","filename":"file0"},{"photo_id":"1396154311","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396154309":["hashtag1","hashtag2"]},{"1396154314":["hashtag1","hashtag2"]},{"1396154311":["hashtag1","hashtag2"]},{"1396154298":["hashtag1","hashtag2"]},{"1396154307":["hashtag1","hashtag2"]},{"1396154316":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396154309, 1396154314, 1396154311, 1396154298, 1396154307, 1396154316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.224812507629395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 00:09:42.893383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_43_1654.jpg', '/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_44_1530.jpg', '/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_46_1571.jpg', '/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_07_20540.jpg', '/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_08_1763.jpg', '/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_10_1755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_43_1654.jpg
/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_44_1530.jpg
/home/pi/Desktop/images/26112025/00/02/image_26112025_00_02_46_1571.jpg
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_07_20540.jpg
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_08_1763.jpg
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_10_1755.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":["1396154332","1396154323","1396154325","1396154328","1396154330","1396154333"],"photo_ids_order":["1396154323","1396154325","1396154328","1396154330","1396154332","1396154333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e54fe3e5a54b878fc546cc683647674c.jpg","text":"TemporaryFile(/tmp/multipartBody3674393109283297539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112243542,"filename":"image_26112025_00_03_08_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/26/727752e1e3bd0d46b842d83b7fcbb602.jpg","text":"TemporaryFile(/tmp/multipartBody8937924188357784693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112243542,"filename":"image_26112025_00_02_43_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/26/d34c442554faa7be305c2ee25fe4a41e.jpg","text":"TemporaryFile(/tmp/multipartBody5136420129061937344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112243542,"filename":"image_26112025_00_02_44_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/26/7dfcc67632037b9d80dcd6447ced6bfa.jpg","text":"TemporaryFile(/tmp/multipartBody1307153056498499473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112243542,"filename":"image_26112025_00_02_46_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/26/bbb7cc78fb3af7355b28d494d59be96a.jpg","text":"TemporaryFile(/tmp/multipartBody8838534594066873851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112243542,"filename":"image_26112025_00_03_07_20540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8b09ed962fe6c4543ad1baa4b7a12f41.jpg","text":"TemporaryFile(/tmp/multipartBody4792973175118897578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112243542,"filename":"image_26112025_00_03_10_1755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396154328","file1":"1396154325","file0":"1396154323","file4":"1396154332","file5":"1396154333","file3":"1396154330"},"map_files_photo_id_array":[{"photo_id":"1396154333","filename":"file5"},{"photo_id":"1396154328","filename":"file2"},{"photo_id":"1396154332","filename":"file4"},{"photo_id":"1396154325","filename":"file1"},{"photo_id":"1396154323","filename":"file0"},{"photo_id":"1396154330","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396154332":["hashtag1","hashtag2"]},{"1396154323":["hashtag1","hashtag2"]},{"1396154325":["hashtag1","hashtag2"]},{"1396154328":["hashtag1","hashtag2"]},{"1396154330":["hashtag1","hashtag2"]},{"1396154333":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396154332, 1396154323, 1396154325, 1396154328, 1396154330, 1396154333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29123663902283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:10:22.067183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_13_1671.jpg', '/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_15_1658.jpg', '/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_17_1507.jpg', '/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_18_1702.jpg', '/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_20_1699.jpg', '/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_22_1681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_13_1671.jpg
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_15_1658.jpg
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_17_1507.jpg
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_18_1702.jpg
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_20_1699.jpg
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_22_1681.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":["1396154347","1396154341","1396154344","1396154334","1396154345","1396154339"],"photo_ids_order":["1396154334","1396154339","1396154341","1396154344","1396154345","1396154347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/62a4805aa6dcaf34a5a97b2ca7d9153f.jpg","text":"TemporaryFile(/tmp/multipartBody4102353905502793742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112282718,"filename":"image_26112025_00_03_22_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/26/b5bd827ba090d7c938e22858f9211478.jpg","text":"TemporaryFile(/tmp/multipartBody6716649236533477722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112282718,"filename":"image_26112025_00_03_17_1507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a3df14464b221154ee3f5ccf3029ca0f.jpg","text":"TemporaryFile(/tmp/multipartBody3571996290228390530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112282718,"filename":"image_26112025_00_03_18_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/26/c43aebd1b82ed4de299c42532c782486.jpg","text":"TemporaryFile(/tmp/multipartBody3347558347952755365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112282718,"filename":"image_26112025_00_03_13_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/26/11072b88b0f37fb9c4d89bcd09452a88.jpg","text":"TemporaryFile(/tmp/multipartBody5131714017653009399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112282718,"filename":"image_26112025_00_03_20_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/26/a84159b3f3130dee9f3fb892741020f1.jpg","text":"TemporaryFile(/tmp/multipartBody8730265887090539245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112282718,"filename":"image_26112025_00_03_15_1658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396154341","file1":"1396154339","file0":"1396154334","file4":"1396154345","file5":"1396154347","file3":"1396154344"},"map_files_photo_id_array":[{"photo_id":"1396154347","filename":"file5"},{"photo_id":"1396154341","filename":"file2"},{"photo_id":"1396154345","filename":"file4"},{"photo_id":"1396154339","filename":"file1"},{"photo_id":"1396154334","filename":"file0"},{"photo_id":"1396154344","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396154347":["hashtag1","hashtag2"]},{"1396154341":["hashtag1","hashtag2"]},{"1396154344":["hashtag1","hashtag2"]},{"1396154334":["hashtag1","hashtag2"]},{"1396154345":["hashtag1","hashtag2"]},{"1396154339":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396154347, 1396154341, 1396154344, 1396154334, 1396154345, 1396154339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.286025285720825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:11:02.851088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:11:22.505630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 00:11:32.238383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_23_1591.jpg', '/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_25_1768.jpg', '/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_27_1508.jpg', '/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_28_1668.jpg', '/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_30_1643.jpg', '/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_32_1708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_23_1591.jpg
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_25_1768.jpg
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_27_1508.jpg
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_28_1668.jpg
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_30_1643.jpg
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_32_1708.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":["1396154787","1396154721","1396154681","1396154756","1396154786","1396154785"],"photo_ids_order":["1396154681","1396154721","1396154756","1396154785","1396154786","1396154787"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/350386b22ef4c8b61b01c698482d7a48.jpg","text":"TemporaryFile(/tmp/multipartBody3444598614900932141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112352927,"filename":"image_26112025_00_03_32_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/26/8935ae58035e72c453b7551370bbbb7f.jpg","text":"TemporaryFile(/tmp/multipartBody4448914498633282222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112352927,"filename":"image_26112025_00_03_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/26/73af5756ca1d4d5a9ac0fe3b87aa9b03.jpg","text":"TemporaryFile(/tmp/multipartBody9035934167377586048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112352927,"filename":"image_26112025_00_03_23_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/26/4c8cde16bd8092539f23fbc76b77bf2a.jpg","text":"TemporaryFile(/tmp/multipartBody3388597781789096952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112352927,"filename":"image_26112025_00_03_27_1508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/462facbc427626ca30eaf79dd925fe15.jpg","text":"TemporaryFile(/tmp/multipartBody159968327511146962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112352927,"filename":"image_26112025_00_03_30_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/26/dbf4f5203e48e2d3008bc0458a9b3de5.jpg","text":"TemporaryFile(/tmp/multipartBody3498020777332855320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112352927,"filename":"image_26112025_00_03_28_1668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396154756","file1":"1396154721","file0":"1396154681","file4":"1396154786","file5":"1396154787","file3":"1396154785"},"map_files_photo_id_array":[{"photo_id":"1396154787","filename":"file5"},{"photo_id":"1396154756","filename":"file2"},{"photo_id":"1396154786","filename":"file4"},{"photo_id":"1396154721","filename":"file1"},{"photo_id":"1396154681","filename":"file0"},{"photo_id":"1396154785","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396154787":["hashtag1","hashtag2"]},{"1396154721":["hashtag1","hashtag2"]},{"1396154681":["hashtag1","hashtag2"]},{"1396154756":["hashtag1","hashtag2"]},{"1396154786":["hashtag1","hashtag2"]},{"1396154785":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396154787, 1396154721, 1396154681, 1396154756, 1396154786, 1396154785)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 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 = 1396154756 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_27_1508.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 67.94340753555298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 00:12:42.455853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_33_1619.jpg', '/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_35_1675.jpg', '/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_37_1707.jpg', '/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_38_1573.jpg', '/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_40_1608.jpg', '/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_41_1630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_33_1619.jpg
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_35_1675.jpg
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_37_1707.jpg
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_38_1573.jpg
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_40_1608.jpg
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_41_1630.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":["1396154971","1396154968","1396154970","1396154973","1396154975","1396154977"],"photo_ids_order":["1396154968","1396154970","1396154971","1396154973","1396154975","1396154977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8ef02bd9a3391d02904d4370253354a5.jpg","text":"TemporaryFile(/tmp/multipartBody2038621793797393481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112423123,"filename":"image_26112025_00_03_37_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7f09ad74bd97f6bcb264ddc8a69980f3.jpg","text":"TemporaryFile(/tmp/multipartBody4447995952236852497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112423123,"filename":"image_26112025_00_03_33_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/26/94fdddc271f612a12015907cdff874ec.jpg","text":"TemporaryFile(/tmp/multipartBody3344592500979105249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112423123,"filename":"image_26112025_00_03_35_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d06f9d4366be63af4632776d338a2200.jpg","text":"TemporaryFile(/tmp/multipartBody7553139043505274720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112423123,"filename":"image_26112025_00_03_38_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/26/463ac198dd79f1bd5a6c76aeac46a844.jpg","text":"TemporaryFile(/tmp/multipartBody6849477005058221226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112423123,"filename":"image_26112025_00_03_40_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/26/9466af8a7fecee24dcfcd875b70e1dfb.jpg","text":"TemporaryFile(/tmp/multipartBody3919721133915086028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112423123,"filename":"image_26112025_00_03_41_1630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396154971","file1":"1396154970","file0":"1396154968","file4":"1396154975","file5":"1396154977","file3":"1396154973"},"map_files_photo_id_array":[{"photo_id":"1396154977","filename":"file5"},{"photo_id":"1396154971","filename":"file2"},{"photo_id":"1396154975","filename":"file4"},{"photo_id":"1396154970","filename":"file1"},{"photo_id":"1396154968","filename":"file0"},{"photo_id":"1396154973","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396154971":["hashtag1","hashtag2"]},{"1396154968":["hashtag1","hashtag2"]},{"1396154970":["hashtag1","hashtag2"]},{"1396154973":["hashtag1","hashtag2"]},{"1396154975":["hashtag1","hashtag2"]},{"1396154977":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396154971, 1396154968, 1396154970, 1396154973, 1396154975, 1396154977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7632954120636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:13:22.689463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_43_1556.jpg', '/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_45_1628.jpg', '/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_46_1601.jpg', '/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_48_1601.jpg', '/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_50_1694.jpg', '/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_51_1724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_43_1556.jpg
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_45_1628.jpg
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_46_1601.jpg
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_48_1601.jpg
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_50_1694.jpg
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_51_1724.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":["1396154989","1396154997","1396154991","1396154993","1396155005","1396155002"],"photo_ids_order":["1396154989","1396154991","1396154993","1396154997","1396155002","1396155005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c7453ce8ab73f879d5a427bc32de7db8.jpg","text":"TemporaryFile(/tmp/multipartBody1572439481780847000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112463345,"filename":"image_26112025_00_03_43_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/26/b8bebc7b53017d3386c11611225605c4.jpg","text":"TemporaryFile(/tmp/multipartBody7290507597518711365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112463345,"filename":"image_26112025_00_03_48_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/26/0319cecae10b67ee933a28da7f6ddd76.jpg","text":"TemporaryFile(/tmp/multipartBody4042813949141740470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112463345,"filename":"image_26112025_00_03_45_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/26/a8b5e067d276812e22331df2dafadbbf.jpg","text":"TemporaryFile(/tmp/multipartBody7277000098124397716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112463345,"filename":"image_26112025_00_03_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/26/5b9cbe42a9ce2d2627a0c0fd8b93b765.jpg","text":"TemporaryFile(/tmp/multipartBody2146479845611292533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112463345,"filename":"image_26112025_00_03_51_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/26/bea445da0b8172ae484ced0c290ef49f.jpg","text":"TemporaryFile(/tmp/multipartBody5721065905123991161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112463345,"filename":"image_26112025_00_03_50_1694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396154993","file1":"1396154991","file0":"1396154989","file4":"1396155002","file5":"1396155005","file3":"1396154997"},"map_files_photo_id_array":[{"photo_id":"1396155005","filename":"file5"},{"photo_id":"1396154993","filename":"file2"},{"photo_id":"1396155002","filename":"file4"},{"photo_id":"1396154991","filename":"file1"},{"photo_id":"1396154989","filename":"file0"},{"photo_id":"1396154997","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396154989":["hashtag1","hashtag2"]},{"1396154997":["hashtag1","hashtag2"]},{"1396154991":["hashtag1","hashtag2"]},{"1396154993":["hashtag1","hashtag2"]},{"1396155005":["hashtag1","hashtag2"]},{"1396155002":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396154989, 1396154997, 1396154991, 1396154993, 1396155005, 1396155002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95210313796997 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:14:02.720944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_54_2554.jpg', '/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_58_3785.jpg', '/home/pi/Desktop/images/26112025/00/03/image_26112025_00_04_00_2885.jpg', '/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_03_2919.jpg', '/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_06_2615.jpg', '/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_09_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_54_2554.jpg
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_03_58_3785.jpg
/home/pi/Desktop/images/26112025/00/03/image_26112025_00_04_00_2885.jpg
/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_03_2919.jpg
/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_06_2615.jpg
/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_09_2637.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":["1396155253","1396155144","1396155216","1396155179","1396155104","1396155289"],"photo_ids_order":["1396155104","1396155144","1396155179","1396155216","1396155253","1396155289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1d11232e02bc2fc9f03f91edc8a8a4ab.jpg","text":"TemporaryFile(/tmp/multipartBody6345149086658793627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112503597,"filename":"image_26112025_00_04_06_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/26/6d91de2980dd8cafa9aedd8405f83b7b.jpg","text":"TemporaryFile(/tmp/multipartBody2814548833546283711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112503597,"filename":"image_26112025_00_03_58_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/26/1476defaea7036e7e257e56d8ece44fc.jpg","text":"TemporaryFile(/tmp/multipartBody1405965314124356381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112503597,"filename":"image_26112025_00_04_03_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/26/06c8eea11b07c6f29099ea8b45ef1065.jpg","text":"TemporaryFile(/tmp/multipartBody3077847841518496392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112503597,"filename":"image_26112025_00_04_00_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/26/5e68efe3018d858dc71591bca14773e9.jpg","text":"TemporaryFile(/tmp/multipartBody6192076090947731848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112503597,"filename":"image_26112025_00_03_54_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/26/b3b1e372014bf6b3337c3783260b01f9.jpg","text":"TemporaryFile(/tmp/multipartBody6493559796572053127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112503597,"filename":"image_26112025_00_04_09_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396155179","file1":"1396155144","file0":"1396155104","file4":"1396155253","file5":"1396155289","file3":"1396155216"},"map_files_photo_id_array":[{"photo_id":"1396155289","filename":"file5"},{"photo_id":"1396155179","filename":"file2"},{"photo_id":"1396155253","filename":"file4"},{"photo_id":"1396155144","filename":"file1"},{"photo_id":"1396155104","filename":"file0"},{"photo_id":"1396155216","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396155253":["hashtag1","hashtag2"]},{"1396155144":["hashtag1","hashtag2"]},{"1396155216":["hashtag1","hashtag2"]},{"1396155179":["hashtag1","hashtag2"]},{"1396155104":["hashtag1","hashtag2"]},{"1396155289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396155253, 1396155144, 1396155216, 1396155179, 1396155104, 1396155289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.929006814956665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 00:14:42.039405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_12_3461.jpg', '/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_15_2638.jpg', '/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_18_3585.jpg', '/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_21_2839.jpg', '/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_30_2610.jpg', '/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_33_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_12_3461.jpg
/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_15_2638.jpg
/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_18_3585.jpg
/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_21_2839.jpg
/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_30_2610.jpg
/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_33_2656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396155462","1396155435","1396155411","1396155380","1396155460","1396155442"],"photo_ids_order":["1396155380","1396155411","1396155435","1396155442","1396155460","1396155462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/abe06b301a5c8f69d361fbd9de694081.jpg","text":"TemporaryFile(/tmp/multipartBody977646424448763773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112542692,"filename":"image_26112025_00_04_33_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/26/57a58257d074d9a07d7002229e14c421.jpg","text":"TemporaryFile(/tmp/multipartBody5452533420900810047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112542692,"filename":"image_26112025_00_04_18_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/26/0001e8530c2a0e09a2d4034c497ddba9.jpg","text":"TemporaryFile(/tmp/multipartBody8480050519947781175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112542692,"filename":"image_26112025_00_04_15_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/26/bdc27af593647f0dd0370f1b0eb1e850.jpg","text":"TemporaryFile(/tmp/multipartBody3250498607637431219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112542692,"filename":"image_26112025_00_04_12_3461.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/327ec21d6c83e71a6432b9980ea171ee.jpg","text":"TemporaryFile(/tmp/multipartBody6456740409181977546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112542692,"filename":"image_26112025_00_04_30_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/26/8818324f919fdf9b82e7fef3de86bfd1.jpg","text":"TemporaryFile(/tmp/multipartBody2528778958989376539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112542692,"filename":"image_26112025_00_04_21_2839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396155435","file1":"1396155411","file0":"1396155380","file4":"1396155460","file5":"1396155462","file3":"1396155442"},"map_files_photo_id_array":[{"photo_id":"1396155462","filename":"file5"},{"photo_id":"1396155435","filename":"file2"},{"photo_id":"1396155460","filename":"file4"},{"photo_id":"1396155411","filename":"file1"},{"photo_id":"1396155380","filename":"file0"},{"photo_id":"1396155442","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396155462":["hashtag1","hashtag2"]},{"1396155435":["hashtag1","hashtag2"]},{"1396155411":["hashtag1","hashtag2"]},{"1396155380":["hashtag1","hashtag2"]},{"1396155460":["hashtag1","hashtag2"]},{"1396155442":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396155462, 1396155435, 1396155411, 1396155380, 1396155460, 1396155442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33671450614929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:15:22.208535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_36_3606.jpg', '/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_43_3689.jpg', '/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_45_2650.jpg', '/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_48_2697.jpg', '/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_52_3649.jpg', '/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_54_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_36_3606.jpg
/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_43_3689.jpg
/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_45_2650.jpg
/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_48_2697.jpg
/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_52_3649.jpg
/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_54_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.5612602233886719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:15:32.323318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_36_3606.jpg', '/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_43_3689.jpg', '/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_45_2650.jpg', '/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_48_2697.jpg', '/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_52_3649.jpg', '/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_54_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_36_3606.jpg
/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_43_3689.jpg
/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_45_2650.jpg
/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_48_2697.jpg
/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_52_3649.jpg
/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_54_2711.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":["1396155477","1396155482","1396155485","1396155481","1396155475","1396155484"],"photo_ids_order":["1396155475","1396155477","1396155481","1396155482","1396155484","1396155485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a66ee4fb6e30a1f0317043ad0d640abb.jpg","text":"TemporaryFile(/tmp/multipartBody4391041422792535045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112593020,"filename":"image_26112025_00_04_43_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/26/7a879df944a7ae37e66121202d84f1ac.jpg","text":"TemporaryFile(/tmp/multipartBody9128278096697718551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112593020,"filename":"image_26112025_00_04_48_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/26/cd83760ac35c52500c3b569df38a6376.jpg","text":"TemporaryFile(/tmp/multipartBody8246751088907637331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112593020,"filename":"image_26112025_00_04_54_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/26/63098980c6b253d907fa20648c66e9fb.jpg","text":"TemporaryFile(/tmp/multipartBody744740944027103964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112593020,"filename":"image_26112025_00_04_45_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/26/5b0b1621df1cccc79288d69674f3ee56.jpg","text":"TemporaryFile(/tmp/multipartBody8554159015039357041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112593020,"filename":"image_26112025_00_04_36_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/26/8327b7ed4a0bfe62072aa43e7bc9cc19.jpg","text":"TemporaryFile(/tmp/multipartBody2052955416128938809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112593020,"filename":"image_26112025_00_04_52_3649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396155481","file1":"1396155477","file0":"1396155475","file4":"1396155484","file5":"1396155485","file3":"1396155482"},"map_files_photo_id_array":[{"photo_id":"1396155485","filename":"file5"},{"photo_id":"1396155481","filename":"file2"},{"photo_id":"1396155484","filename":"file4"},{"photo_id":"1396155477","filename":"file1"},{"photo_id":"1396155475","filename":"file0"},{"photo_id":"1396155482","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396155477":["hashtag1","hashtag2"]},{"1396155482":["hashtag1","hashtag2"]},{"1396155485":["hashtag1","hashtag2"]},{"1396155481":["hashtag1","hashtag2"]},{"1396155475":["hashtag1","hashtag2"]},{"1396155484":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396155477, 1396155482, 1396155485, 1396155481, 1396155475, 1396155484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.041502952575684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:16:12.383576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_57_2644.jpg', '/home/pi/Desktop/images/26112025/00/04/image_26112025_00_05_01_3623.jpg', '/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_03_2767.jpg', '/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_06_2719.jpg', '/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_12_3602.jpg', '/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_18_3555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/04/image_26112025_00_04_57_2644.jpg
/home/pi/Desktop/images/26112025/00/04/image_26112025_00_05_01_3623.jpg
/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_03_2767.jpg
/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_06_2719.jpg
/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_12_3602.jpg
/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_18_3555.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":["1396155495","1396155498","1396155488","1396155491","1396155493","1396155496"],"photo_ids_order":["1396155488","1396155491","1396155493","1396155495","1396155496","1396155498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3690ea3a8f26bd1aa1f1ce799e115ea9.jpg","text":"TemporaryFile(/tmp/multipartBody1201620488331195800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112633137,"filename":"image_26112025_00_05_06_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/26/7c5d500a9eb064c25d175bacfbe63b7c.jpg","text":"TemporaryFile(/tmp/multipartBody976274306824764126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112633137,"filename":"image_26112025_00_05_18_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/26/49c38a1bbe0ccce5ad9e0838ade1d3ef.jpg","text":"TemporaryFile(/tmp/multipartBody8358668150971508211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112633137,"filename":"image_26112025_00_04_57_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/26/e930edf64cf97b3759cd6f63e5610c52.jpg","text":"TemporaryFile(/tmp/multipartBody2952455207644334872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112633137,"filename":"image_26112025_00_05_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/26/daae3973d8dece2d23ee45466a47b0ba.jpg","text":"TemporaryFile(/tmp/multipartBody1022986779049653925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112633137,"filename":"image_26112025_00_05_03_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/26/dd618258f03dfef49c7ab0da05cbf88e.jpg","text":"TemporaryFile(/tmp/multipartBody7521125949590106697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112633137,"filename":"image_26112025_00_05_12_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396155493","file1":"1396155491","file0":"1396155488","file4":"1396155496","file5":"1396155498","file3":"1396155495"},"map_files_photo_id_array":[{"photo_id":"1396155498","filename":"file5"},{"photo_id":"1396155493","filename":"file2"},{"photo_id":"1396155496","filename":"file4"},{"photo_id":"1396155491","filename":"file1"},{"photo_id":"1396155488","filename":"file0"},{"photo_id":"1396155495","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396155495":["hashtag1","hashtag2"]},{"1396155498":["hashtag1","hashtag2"]},{"1396155488":["hashtag1","hashtag2"]},{"1396155491":["hashtag1","hashtag2"]},{"1396155493":["hashtag1","hashtag2"]},{"1396155496":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396155495, 1396155498, 1396155488, 1396155491, 1396155493, 1396155496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35736703872681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:17:03.398684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_21_2742.jpg', '/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_25_3680.jpg', '/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_27_1789.jpg', '/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_30_3627.jpg', '/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_33_2808.jpg', '/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_36_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_21_2742.jpg
/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_25_3680.jpg
/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_27_1789.jpg
/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_30_3627.jpg
/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_33_2808.jpg
/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_36_2648.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":["1396155529","1396155520","1396155522","1396155516","1396155525","1396155518"],"photo_ids_order":["1396155516","1396155518","1396155520","1396155522","1396155525","1396155529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0377a09a24e909ece3a0cf7e3e3457f0.jpg","text":"TemporaryFile(/tmp/multipartBody3760098507938435595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112684170,"filename":"image_26112025_00_05_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/26/488f117a2ce97f4b831ddd6931456d79.jpg","text":"TemporaryFile(/tmp/multipartBody3679538516794304936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112684170,"filename":"image_26112025_00_05_27_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/26/d6143c29d15ed197116eda82efcd9a15.jpg","text":"TemporaryFile(/tmp/multipartBody5710104712232472907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112684170,"filename":"image_26112025_00_05_30_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/26/308c4b0426bbf4ad2e5606317d175433.jpg","text":"TemporaryFile(/tmp/multipartBody5156634274972043445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112684170,"filename":"image_26112025_00_05_21_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/26/58e61e483cee6fdac4e3bce293442140.jpg","text":"TemporaryFile(/tmp/multipartBody2460553057771884987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112684170,"filename":"image_26112025_00_05_33_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/26/39548f499948f1d63b967929604a1f56.jpg","text":"TemporaryFile(/tmp/multipartBody2973745903247836471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112684170,"filename":"image_26112025_00_05_25_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396155520","file1":"1396155518","file0":"1396155516","file4":"1396155525","file5":"1396155529","file3":"1396155522"},"map_files_photo_id_array":[{"photo_id":"1396155529","filename":"file5"},{"photo_id":"1396155520","filename":"file2"},{"photo_id":"1396155525","filename":"file4"},{"photo_id":"1396155518","filename":"file1"},{"photo_id":"1396155516","filename":"file0"},{"photo_id":"1396155522","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396155529":["hashtag1","hashtag2"]},{"1396155520":["hashtag1","hashtag2"]},{"1396155522":["hashtag1","hashtag2"]},{"1396155516":["hashtag1","hashtag2"]},{"1396155525":["hashtag1","hashtag2"]},{"1396155518":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396155529, 1396155520, 1396155522, 1396155516, 1396155525, 1396155518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03284454345703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 00:17:42.675681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_39_3543.jpg', '/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_42_2599.jpg', '/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_45_2642.jpg', '/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_48_3601.jpg', '/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_51_2576.jpg', '/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_54_3710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_39_3543.jpg
/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_42_2599.jpg
/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_45_2642.jpg
/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_48_3601.jpg
/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_51_2576.jpg
/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_54_3710.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":["1396155565","1396155538","1396155537","1396155533","1396155536","1396155535"],"photo_ids_order":["1396155533","1396155535","1396155536","1396155537","1396155538","1396155565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2c3455e7dd4ba188c00c9eadd5dff262.jpg","text":"TemporaryFile(/tmp/multipartBody3426312138754373509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112723361,"filename":"image_26112025_00_05_54_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/26/f11a5d7ed3775b3065714f5bd7c44b29.jpg","text":"TemporaryFile(/tmp/multipartBody4812906292099182969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112723361,"filename":"image_26112025_00_05_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/26/5f68a206358c72a759ca325ed1a4ec85.jpg","text":"TemporaryFile(/tmp/multipartBody2619232393196060454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112723361,"filename":"image_26112025_00_05_48_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/26/a59f8e2a8c1df1008b02d753a206254b.jpg","text":"TemporaryFile(/tmp/multipartBody7894599334553247399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112723361,"filename":"image_26112025_00_05_39_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/26/90f7b4848cb47e3d8bd3c601bd2343f9.jpg","text":"TemporaryFile(/tmp/multipartBody8373766010351315852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112723361,"filename":"image_26112025_00_05_45_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/56dc062c1632c0ca764b5da96e8aa581.jpg","text":"TemporaryFile(/tmp/multipartBody7897286572323909496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112723361,"filename":"image_26112025_00_05_42_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396155536","file1":"1396155535","file0":"1396155533","file4":"1396155538","file5":"1396155565","file3":"1396155537"},"map_files_photo_id_array":[{"photo_id":"1396155565","filename":"file5"},{"photo_id":"1396155536","filename":"file2"},{"photo_id":"1396155538","filename":"file4"},{"photo_id":"1396155535","filename":"file1"},{"photo_id":"1396155533","filename":"file0"},{"photo_id":"1396155537","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396155565":["hashtag1","hashtag2"]},{"1396155538":["hashtag1","hashtag2"]},{"1396155537":["hashtag1","hashtag2"]},{"1396155533":["hashtag1","hashtag2"]},{"1396155536":["hashtag1","hashtag2"]},{"1396155535":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396155565, 1396155538, 1396155537, 1396155533, 1396155536, 1396155535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09584021568298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:18:21.771981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_57_2848.jpg', '/home/pi/Desktop/images/26112025/00/05/image_26112025_00_06_00_2821.jpg', '/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_09_8530.jpg', '/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_20_11602.jpg', '/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_32_11665.jpg', '/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_33_1581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/05/image_26112025_00_05_57_2848.jpg
/home/pi/Desktop/images/26112025/00/05/image_26112025_00_06_00_2821.jpg
/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_09_8530.jpg
/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_20_11602.jpg
/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_32_11665.jpg
/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_33_1581.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":["1396155736","1396155882","1396155699","1396155842","1396155806","1396155772"],"photo_ids_order":["1396155699","1396155736","1396155772","1396155806","1396155842","1396155882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f500a0d573c648c3600afe82e6f0e9a7.jpg","text":"TemporaryFile(/tmp/multipartBody4995773441136734621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112762419,"filename":"image_26112025_00_06_00_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/26/78e1d5e2f509917bdcb0ef61f429763b.jpg","text":"TemporaryFile(/tmp/multipartBody9000369125587949089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112762419,"filename":"image_26112025_00_06_33_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cc3c23b2813f4c9bc38912a5f5cf1803.jpg","text":"TemporaryFile(/tmp/multipartBody3549273842621764478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112762419,"filename":"image_26112025_00_05_57_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/26/655257d9e9cc214a13ab5805aaeeb214.jpg","text":"TemporaryFile(/tmp/multipartBody6224336077589939436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112762419,"filename":"image_26112025_00_06_32_11665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/070da76c739663b23f84791449a3ff33.jpg","text":"TemporaryFile(/tmp/multipartBody2350927879485780107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112762419,"filename":"image_26112025_00_06_20_11602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7eea2fcc403d7890b0a4fdc312b10801.jpg","text":"TemporaryFile(/tmp/multipartBody8263721055116593417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112762419,"filename":"image_26112025_00_06_09_8530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396155772","file1":"1396155736","file0":"1396155699","file4":"1396155842","file5":"1396155882","file3":"1396155806"},"map_files_photo_id_array":[{"photo_id":"1396155882","filename":"file5"},{"photo_id":"1396155772","filename":"file2"},{"photo_id":"1396155842","filename":"file4"},{"photo_id":"1396155736","filename":"file1"},{"photo_id":"1396155699","filename":"file0"},{"photo_id":"1396155806","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396155736":["hashtag1","hashtag2"]},{"1396155882":["hashtag1","hashtag2"]},{"1396155699":["hashtag1","hashtag2"]},{"1396155842":["hashtag1","hashtag2"]},{"1396155806":["hashtag1","hashtag2"]},{"1396155772":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396155736, 1396155882, 1396155699, 1396155842, 1396155806, 1396155772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93791437149048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:19:03.242769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_38_4273.jpg', '/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_40_1749.jpg', '/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_41_1769.jpg', '/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_47_5269.jpg', '/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_48_1606.jpg', '/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_50_1645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_38_4273.jpg
/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_40_1749.jpg
/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_41_1769.jpg
/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_47_5269.jpg
/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_48_1606.jpg
/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_50_1645.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":["1396156122","1396156110","1396156118","1396156072","1396156030","1396156120"],"photo_ids_order":["1396156030","1396156072","1396156110","1396156118","1396156120","1396156122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/570130d5f45419803e042f9c187f833c.jpg","text":"TemporaryFile(/tmp/multipartBody6453533351202239448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112804117,"filename":"image_26112025_00_06_50_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6ddd56f1fb6a38ec260b43fb9a9c3405.jpg","text":"TemporaryFile(/tmp/multipartBody3104864159051787688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112804117,"filename":"image_26112025_00_06_41_1769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eb607fbfe1b1ee92b1a0c505666d4bb0.jpg","text":"TemporaryFile(/tmp/multipartBody3732347314919375853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112804117,"filename":"image_26112025_00_06_47_5269.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2ab1c87b914f4b556c6209022d045742.jpg","text":"TemporaryFile(/tmp/multipartBody308503754010692927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112804117,"filename":"image_26112025_00_06_40_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/26/eafe9a075d7a4583b5f8f87ba5c7aa42.jpg","text":"TemporaryFile(/tmp/multipartBody4324959994905316441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112804117,"filename":"image_26112025_00_06_38_4273.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/976d7e64f7f08f475a495b849c5dfdc6.jpg","text":"TemporaryFile(/tmp/multipartBody7053927266062576759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112804117,"filename":"image_26112025_00_06_48_1606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396156110","file1":"1396156072","file0":"1396156030","file4":"1396156120","file5":"1396156122","file3":"1396156118"},"map_files_photo_id_array":[{"photo_id":"1396156122","filename":"file5"},{"photo_id":"1396156110","filename":"file2"},{"photo_id":"1396156120","filename":"file4"},{"photo_id":"1396156072","filename":"file1"},{"photo_id":"1396156030","filename":"file0"},{"photo_id":"1396156118","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396156122":["hashtag1","hashtag2"]},{"1396156110":["hashtag1","hashtag2"]},{"1396156118":["hashtag1","hashtag2"]},{"1396156072":["hashtag1","hashtag2"]},{"1396156030":["hashtag1","hashtag2"]},{"1396156120":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396156122, 1396156110, 1396156118, 1396156072, 1396156030, 1396156120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79122233390808 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 00:19:42.166006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_51_1565.jpg', '/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_53_1533.jpg', '/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_55_1654.jpg', '/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_56_1656.jpg', '/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_58_1553.jpg', '/home/pi/Desktop/images/26112025/00/07/image_26112025_00_07_11_6913.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_51_1565.jpg
/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_53_1533.jpg
/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_55_1654.jpg
/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_56_1656.jpg
/home/pi/Desktop/images/26112025/00/06/image_26112025_00_06_58_1553.jpg
/home/pi/Desktop/images/26112025/00/07/image_26112025_00_07_11_6913.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":["1396156182","1396156143","1396156128","1396156130","1396156127","1396156129"],"photo_ids_order":["1396156127","1396156128","1396156129","1396156130","1396156143","1396156182"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0bb6b0f77a4814569281a23856328198.jpg","text":"TemporaryFile(/tmp/multipartBody475899912181869002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112842857,"filename":"image_26112025_00_07_11_6913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/285b0bc024b274f8ca76ce19cc755ff0.jpg","text":"TemporaryFile(/tmp/multipartBody5304046259528534234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112842857,"filename":"image_26112025_00_06_58_1553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/49d121e84b74d550be6cd8942930ff94.jpg","text":"TemporaryFile(/tmp/multipartBody7071088742298570356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112842857,"filename":"image_26112025_00_06_53_1533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/94d85c225653cda1901013a741c0d23d.jpg","text":"TemporaryFile(/tmp/multipartBody3977184867316316354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112842857,"filename":"image_26112025_00_06_56_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/26/319be9c5e60b1066a910bce0b2ec50d9.jpg","text":"TemporaryFile(/tmp/multipartBody3910971576865249531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112842857,"filename":"image_26112025_00_06_51_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/26/36cd9ed28c9c3f79297c835124688d1a.jpg","text":"TemporaryFile(/tmp/multipartBody5499332633451712354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112842857,"filename":"image_26112025_00_06_55_1654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396156129","file1":"1396156128","file0":"1396156127","file4":"1396156143","file5":"1396156182","file3":"1396156130"},"map_files_photo_id_array":[{"photo_id":"1396156182","filename":"file5"},{"photo_id":"1396156129","filename":"file2"},{"photo_id":"1396156143","filename":"file4"},{"photo_id":"1396156128","filename":"file1"},{"photo_id":"1396156127","filename":"file0"},{"photo_id":"1396156130","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396156182":["hashtag1","hashtag2"]},{"1396156143":["hashtag1","hashtag2"]},{"1396156128":["hashtag1","hashtag2"]},{"1396156130":["hashtag1","hashtag2"]},{"1396156127":["hashtag1","hashtag2"]},{"1396156129":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396156182, 1396156143, 1396156128, 1396156130, 1396156127, 1396156129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42101168632507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:20:22.268127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/07/image_26112025_00_07_14_3026.jpg', '/home/pi/Desktop/images/26112025/00/07/image_26112025_00_07_20_6364.jpg', '/home/pi/Desktop/images/26112025/00/07/image_26112025_00_07_22_1568.jpg', '/home/pi/Desktop/images/26112025/00/07/image_26112025_00_07_31_9470.jpg', '/home/pi/Desktop/images/26112025/00/07/image_26112025_00_07_33_1670.jpg', '/home/pi/Desktop/images/26112025/00/07/image_26112025_00_07_35_1685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/07/image_26112025_00_07_14_3026.jpg
/home/pi/Desktop/images/26112025/00/07/image_26112025_00_07_20_6364.jpg
/home/pi/Desktop/images/26112025/00/07/image_26112025_00_07_22_1568.jpg
/home/pi/Desktop/images/26112025/00/07/image_26112025_00_07_31_9470.jpg
/home/pi/Desktop/images/26112025/00/07/image_26112025_00_07_33_1670.jpg
/home/pi/Desktop/images/26112025/00/07/image_26112025_00_07_35_1685.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":["1396156416","1396156305","1396156355","1396156418","1396156396","1396156429"],"photo_ids_order":["1396156305","1396156355","1396156396","1396156416","1396156418","1396156429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9c0f5378797d588b9e6bb0e0652a02b3.jpg","text":"TemporaryFile(/tmp/multipartBody2359665928019549923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112882940,"filename":"image_26112025_00_07_31_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/26/48c322b6bf5c07d9af301bc6fe964b92.jpg","text":"TemporaryFile(/tmp/multipartBody4234193620532085985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112882940,"filename":"image_26112025_00_07_14_3026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/230a588bb6f521d07575ba9aa8e00164.jpg","text":"TemporaryFile(/tmp/multipartBody8394477716569008065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112882940,"filename":"image_26112025_00_07_20_6364.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1da955ed0a40387297ea93671d414ab9.jpg","text":"TemporaryFile(/tmp/multipartBody3750035626363251155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112882940,"filename":"image_26112025_00_07_33_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/26/092757c64aefb82a53fda0620455a34f.jpg","text":"TemporaryFile(/tmp/multipartBody266883006109317194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112882940,"filename":"image_26112025_00_07_22_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/26/7b0e0ef1c652518105327de9d7739f8b.jpg","text":"TemporaryFile(/tmp/multipartBody529875485848733332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112882940,"filename":"image_26112025_00_07_35_1685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396156396","file1":"1396156355","file0":"1396156305","file4":"1396156418","file5":"1396156429","file3":"1396156416"},"map_files_photo_id_array":[{"photo_id":"1396156429","filename":"file5"},{"photo_id":"1396156396","filename":"file2"},{"photo_id":"1396156418","filename":"file4"},{"photo_id":"1396156355","filename":"file1"},{"photo_id":"1396156305","filename":"file0"},{"photo_id":"1396156416","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396156416":["hashtag1","hashtag2"]},{"1396156305":["hashtag1","hashtag2"]},{"1396156355":["hashtag1","hashtag2"]},{"1396156418":["hashtag1","hashtag2"]},{"1396156396":["hashtag1","hashtag2"]},{"1396156429":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396156416, 1396156305, 1396156355, 1396156418, 1396156396, 1396156429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59788370132446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:21:03.219206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/07/image_26112025_00_07_50_1477.jpg', '/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_03_13238.jpg', '/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_13_9527.jpg', '/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_19_4256.jpg', '/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_20_1507.jpg', '/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_22_1599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/07/image_26112025_00_07_50_1477.jpg
/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_03_13238.jpg
/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_13_9527.jpg
/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_19_4256.jpg
/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_20_1507.jpg
/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_22_1599.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":["1396156542","1396156524","1396156496","1396156544","1396156546","1396156540"],"photo_ids_order":["1396156496","1396156524","1396156540","1396156542","1396156544","1396156546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/255023c3582484c6217add46338ba3cf.jpg","text":"TemporaryFile(/tmp/multipartBody5076192231966819371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112923995,"filename":"image_26112025_00_08_19_4256.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a3253343843ccf080e20407635ea86ec.jpg","text":"TemporaryFile(/tmp/multipartBody4004434776141144449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112923995,"filename":"image_26112025_00_08_03_13238.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fb0a728e9c2a9025ca016c8dec54a72b.jpg","text":"TemporaryFile(/tmp/multipartBody1999845840459334883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112923995,"filename":"image_26112025_00_07_50_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/26/222c423b719b932d754474a5008cedcc.jpg","text":"TemporaryFile(/tmp/multipartBody4855992941269473461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112923995,"filename":"image_26112025_00_08_20_1507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d3d0fda43b9270a020449d3098dc0dec.jpg","text":"TemporaryFile(/tmp/multipartBody7406102038209134704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112923995,"filename":"image_26112025_00_08_22_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/26/ca94c17e629f152a6ab7f6244a0e173c.jpg","text":"TemporaryFile(/tmp/multipartBody952727176049489260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112923995,"filename":"image_26112025_00_08_13_9527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396156540","file1":"1396156524","file0":"1396156496","file4":"1396156544","file5":"1396156546","file3":"1396156542"},"map_files_photo_id_array":[{"photo_id":"1396156546","filename":"file5"},{"photo_id":"1396156540","filename":"file2"},{"photo_id":"1396156544","filename":"file4"},{"photo_id":"1396156524","filename":"file1"},{"photo_id":"1396156496","filename":"file0"},{"photo_id":"1396156542","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396156542":["hashtag1","hashtag2"]},{"1396156524":["hashtag1","hashtag2"]},{"1396156496":["hashtag1","hashtag2"]},{"1396156544":["hashtag1","hashtag2"]},{"1396156546":["hashtag1","hashtag2"]},{"1396156540":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396156542, 1396156524, 1396156496, 1396156544, 1396156546, 1396156540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.289259910583496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 00:21:42.479230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_24_1580.jpg', '/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_28_4088.jpg', '/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_29_1606.jpg', '/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_34_1741.jpg', '/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_36_1730.jpg', '/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_38_1640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_24_1580.jpg
/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_28_4088.jpg
/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_29_1606.jpg
/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_34_1741.jpg
/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_36_1730.jpg
/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_38_1640.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":["1396156557","1396156551","1396156554","1396156553","1396156556","1396156555"],"photo_ids_order":["1396156551","1396156553","1396156554","1396156555","1396156556","1396156557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eadfd5b9b6f179210c554d4f74adc5b0.jpg","text":"TemporaryFile(/tmp/multipartBody195109777662366970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112963161,"filename":"image_26112025_00_08_38_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/26/cf09b50744f775f0d5841163a62d21c9.jpg","text":"TemporaryFile(/tmp/multipartBody664506211325661200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112963161,"filename":"image_26112025_00_08_24_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/26/c7eb298d9b936169dcf560a9700eebef.jpg","text":"TemporaryFile(/tmp/multipartBody3854537014382882818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112963161,"filename":"image_26112025_00_08_29_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a62df2fe58ab4e00113369709d5d74fb.jpg","text":"TemporaryFile(/tmp/multipartBody4262372738008268784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112963161,"filename":"image_26112025_00_08_28_4088.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/06a365d2a4fc447b5235d6c33a33e203.jpg","text":"TemporaryFile(/tmp/multipartBody3805317707433523372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112963161,"filename":"image_26112025_00_08_36_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/26/928dc1dd4f39661a039f457fd06c5d58.jpg","text":"TemporaryFile(/tmp/multipartBody2701549245415501173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764112963161,"filename":"image_26112025_00_08_34_1741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396156554","file1":"1396156553","file0":"1396156551","file4":"1396156556","file5":"1396156557","file3":"1396156555"},"map_files_photo_id_array":[{"photo_id":"1396156557","filename":"file5"},{"photo_id":"1396156554","filename":"file2"},{"photo_id":"1396156556","filename":"file4"},{"photo_id":"1396156553","filename":"file1"},{"photo_id":"1396156551","filename":"file0"},{"photo_id":"1396156555","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396156557":["hashtag1","hashtag2"]},{"1396156551":["hashtag1","hashtag2"]},{"1396156554":["hashtag1","hashtag2"]},{"1396156553":["hashtag1","hashtag2"]},{"1396156556":["hashtag1","hashtag2"]},{"1396156555":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396156557, 1396156551, 1396156554, 1396156553, 1396156556, 1396156555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.572203636169434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:22:22.758805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_47_9431.jpg', '/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_49_1530.jpg', '/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_52_1700.jpg', '/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_54_1591.jpg', '/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_55_1635.jpg', '/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_57_1669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_47_9431.jpg
/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_49_1530.jpg
/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_52_1700.jpg
/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_54_1591.jpg
/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_55_1635.jpg
/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_57_1669.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":["1396156581","1396156572","1396156583","1396156579","1396156564","1396156567"],"photo_ids_order":["1396156564","1396156567","1396156572","1396156579","1396156581","1396156583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f2498ba04e288e0ee4c94e9556e2192d.jpg","text":"TemporaryFile(/tmp/multipartBody8450278256341136551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113003413,"filename":"image_26112025_00_08_55_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/26/b6761d5ee8ffe3db6c762fe54da0d0ba.jpg","text":"TemporaryFile(/tmp/multipartBody6864313260684199767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113003413,"filename":"image_26112025_00_08_52_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/26/e357d514b64b65818e99d22c140f281d.jpg","text":"TemporaryFile(/tmp/multipartBody7023516825820733336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113003413,"filename":"image_26112025_00_08_57_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/26/8b273366d54983ae373323e7ba344158.jpg","text":"TemporaryFile(/tmp/multipartBody9127794207876961143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113003413,"filename":"image_26112025_00_08_54_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/26/e1eb68bb6b2afdd820198e60f3ddf154.jpg","text":"TemporaryFile(/tmp/multipartBody1458848089457538255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113003413,"filename":"image_26112025_00_08_47_9431.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c980aa4d29b6f440c7c6434db5f402c2.jpg","text":"TemporaryFile(/tmp/multipartBody148422254825914028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113003413,"filename":"image_26112025_00_08_49_1530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396156572","file1":"1396156567","file0":"1396156564","file4":"1396156581","file5":"1396156583","file3":"1396156579"},"map_files_photo_id_array":[{"photo_id":"1396156583","filename":"file5"},{"photo_id":"1396156572","filename":"file2"},{"photo_id":"1396156581","filename":"file4"},{"photo_id":"1396156567","filename":"file1"},{"photo_id":"1396156564","filename":"file0"},{"photo_id":"1396156579","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396156581":["hashtag1","hashtag2"]},{"1396156572":["hashtag1","hashtag2"]},{"1396156583":["hashtag1","hashtag2"]},{"1396156579":["hashtag1","hashtag2"]},{"1396156564":["hashtag1","hashtag2"]},{"1396156567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396156581, 1396156572, 1396156583, 1396156579, 1396156564, 1396156567)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.049195289611816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:23:11.855065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_59_1565.jpg', '/home/pi/Desktop/images/26112025/00/08/image_26112025_00_09_00_1741.jpg', '/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_02_1567.jpg', '/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_08_1515.jpg', '/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_10_1645.jpg', '/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_11_1582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/08/image_26112025_00_08_59_1565.jpg
/home/pi/Desktop/images/26112025/00/08/image_26112025_00_09_00_1741.jpg
/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_02_1567.jpg
/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_08_1515.jpg
/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_10_1645.jpg
/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_11_1582.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":["1396156596","1396156598","1396156589","1396156591","1396156600","1396156593"],"photo_ids_order":["1396156589","1396156591","1396156593","1396156596","1396156598","1396156600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/08c2adf16831c4d6c0cf23535fef9bd1.jpg","text":"TemporaryFile(/tmp/multipartBody4516107943011176822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113052534,"filename":"image_26112025_00_09_08_1515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/43e533317f9413a81e1eafb91b789aa1.jpg","text":"TemporaryFile(/tmp/multipartBody202112634653232334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113052534,"filename":"image_26112025_00_09_10_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d949d5c3eb94fc3fc08f71bd8d1f2244.jpg","text":"TemporaryFile(/tmp/multipartBody4048240339641332856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113052534,"filename":"image_26112025_00_08_59_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/26/987f6990182a5ef54ca1814e5f836510.jpg","text":"TemporaryFile(/tmp/multipartBody3927799010046310948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113052534,"filename":"image_26112025_00_09_00_1741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a44df03a7ed8d3a76196454861fa5486.jpg","text":"TemporaryFile(/tmp/multipartBody5548495526546185939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113052534,"filename":"image_26112025_00_09_11_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/26/652ca59d0b8542a0379fba3dfe8400d1.jpg","text":"TemporaryFile(/tmp/multipartBody7944623702891017798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113052534,"filename":"image_26112025_00_09_02_1567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396156593","file1":"1396156591","file0":"1396156589","file4":"1396156598","file5":"1396156600","file3":"1396156596"},"map_files_photo_id_array":[{"photo_id":"1396156600","filename":"file5"},{"photo_id":"1396156593","filename":"file2"},{"photo_id":"1396156598","filename":"file4"},{"photo_id":"1396156591","filename":"file1"},{"photo_id":"1396156589","filename":"file0"},{"photo_id":"1396156596","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396156596":["hashtag1","hashtag2"]},{"1396156598":["hashtag1","hashtag2"]},{"1396156589":["hashtag1","hashtag2"]},{"1396156591":["hashtag1","hashtag2"]},{"1396156600":["hashtag1","hashtag2"]},{"1396156593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396156596, 1396156598, 1396156589, 1396156591, 1396156600, 1396156593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.800607442855835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:24:02.962289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_13_1628.jpg', '/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_15_1534.jpg', '/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_16_1748.jpg', '/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_23_6911.jpg', '/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_26_3097.jpg', '/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_28_1504.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_13_1628.jpg
/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_15_1534.jpg
/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_16_1748.jpg
/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_23_6911.jpg
/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_26_3097.jpg
/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_28_1504.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":["1396156606","1396156608","1396156664","1396156604","1396156700","1396156621"],"photo_ids_order":["1396156604","1396156606","1396156608","1396156621","1396156664","1396156700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b1cb2fec525133849510a9ef7c35bbb0.jpg","text":"TemporaryFile(/tmp/multipartBody4699181726587262008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113103760,"filename":"image_26112025_00_09_15_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/26/805379609d8ae6bb6e51e1dfb84e43f1.jpg","text":"TemporaryFile(/tmp/multipartBody3059407327130512806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113103760,"filename":"image_26112025_00_09_16_1748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/75742276243fe5c15c1ebe2e0c9bab4e.jpg","text":"TemporaryFile(/tmp/multipartBody2766128812099274551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113103760,"filename":"image_26112025_00_09_26_3097.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d22c1c23412173e3ec124b0073254f8f.jpg","text":"TemporaryFile(/tmp/multipartBody7014045715141347272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113103760,"filename":"image_26112025_00_09_13_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/26/28b8866961b43c2dde5dc8badce2c214.jpg","text":"TemporaryFile(/tmp/multipartBody650257030153065046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113103760,"filename":"image_26112025_00_09_28_1504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7a0a529a71480745f1985f267902c374.jpg","text":"TemporaryFile(/tmp/multipartBody5172543075087957120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113103760,"filename":"image_26112025_00_09_23_6911.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396156608","file1":"1396156606","file0":"1396156604","file4":"1396156664","file5":"1396156700","file3":"1396156621"},"map_files_photo_id_array":[{"photo_id":"1396156700","filename":"file5"},{"photo_id":"1396156608","filename":"file2"},{"photo_id":"1396156664","filename":"file4"},{"photo_id":"1396156606","filename":"file1"},{"photo_id":"1396156604","filename":"file0"},{"photo_id":"1396156621","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396156606":["hashtag1","hashtag2"]},{"1396156608":["hashtag1","hashtag2"]},{"1396156664":["hashtag1","hashtag2"]},{"1396156604":["hashtag1","hashtag2"]},{"1396156700":["hashtag1","hashtag2"]},{"1396156621":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396156606, 1396156608, 1396156664, 1396156604, 1396156700, 1396156621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14754319190979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 00:24:42.247151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_30_1683.jpg', '/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_31_1509.jpg', '/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_45_14455.jpg', '/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_47_1545.jpg', '/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_49_1772.jpg', '/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_51_1836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_30_1683.jpg
/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_31_1509.jpg
/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_45_14455.jpg
/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_47_1545.jpg
/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_49_1772.jpg
/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_51_1836.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":["1396156976","1396157012","1396156868","1396156832","1396156939","1396156906"],"photo_ids_order":["1396156832","1396156868","1396156906","1396156939","1396156976","1396157012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3709ab00d15db63203761f2a64519cca.jpg","text":"TemporaryFile(/tmp/multipartBody7732931319921936639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113142937,"filename":"image_26112025_00_09_49_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/26/d2a9e37777665e2ff4efc842a25642d1.jpg","text":"TemporaryFile(/tmp/multipartBody6730461668215916581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113142937,"filename":"image_26112025_00_09_51_1836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3b892afbf866b4d63c7f7a3080a0fb76.jpg","text":"TemporaryFile(/tmp/multipartBody6110904114046728759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113142937,"filename":"image_26112025_00_09_31_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/26/1c35f2e95df69d76c281a39ab58e8347.jpg","text":"TemporaryFile(/tmp/multipartBody6647846613897636274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113142937,"filename":"image_26112025_00_09_30_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/26/1e2e3b04902684901bb66d89c9ce83ad.jpg","text":"TemporaryFile(/tmp/multipartBody8048768049682938192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113142937,"filename":"image_26112025_00_09_47_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/26/66a1b4f14d3cc580289442b24458b5e0.jpg","text":"TemporaryFile(/tmp/multipartBody2792995201334271716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113142937,"filename":"image_26112025_00_09_45_14455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396156906","file1":"1396156868","file0":"1396156832","file4":"1396156976","file5":"1396157012","file3":"1396156939"},"map_files_photo_id_array":[{"photo_id":"1396157012","filename":"file5"},{"photo_id":"1396156906","filename":"file2"},{"photo_id":"1396156976","filename":"file4"},{"photo_id":"1396156868","filename":"file1"},{"photo_id":"1396156832","filename":"file0"},{"photo_id":"1396156939","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396156976":["hashtag1","hashtag2"]},{"1396157012":["hashtag1","hashtag2"]},{"1396156868":["hashtag1","hashtag2"]},{"1396156832":["hashtag1","hashtag2"]},{"1396156939":["hashtag1","hashtag2"]},{"1396156906":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396156976, 1396157012, 1396156868, 1396156832, 1396156939, 1396156906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23625469207764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:25:22.376718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_52_1568.jpg', '/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_54_1600.jpg', '/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_55_1519.jpg', '/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_57_1772.jpg', '/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_59_1623.jpg', '/home/pi/Desktop/images/26112025/00/09/image_26112025_00_10_00_1617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_52_1568.jpg
/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_54_1600.jpg
/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_55_1519.jpg
/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_57_1772.jpg
/home/pi/Desktop/images/26112025/00/09/image_26112025_00_09_59_1623.jpg
/home/pi/Desktop/images/26112025/00/09/image_26112025_00_10_00_1617.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":["1396157340","1396157328","1396157291","1396157217","1396157255","1396157173"],"photo_ids_order":["1396157173","1396157217","1396157255","1396157291","1396157328","1396157340"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c2304442b1311f73f5cf562662c23806.jpg","text":"TemporaryFile(/tmp/multipartBody8115929670428094871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113183030,"filename":"image_26112025_00_10_00_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/26/a42dde974660716e9f617f380762c865.jpg","text":"TemporaryFile(/tmp/multipartBody9011261311520616681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113183030,"filename":"image_26112025_00_09_59_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/26/da1ddada8833b11b333b104b310918f5.jpg","text":"TemporaryFile(/tmp/multipartBody8442226911579167891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113183030,"filename":"image_26112025_00_09_57_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/26/b18869eb46ca54a7c33358b092d4bc9a.jpg","text":"TemporaryFile(/tmp/multipartBody7247272154609838788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113183030,"filename":"image_26112025_00_09_54_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dc94e99469848d81512f4b75df977d99.jpg","text":"TemporaryFile(/tmp/multipartBody1740871102877380288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113183030,"filename":"image_26112025_00_09_55_1519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/19856fe180ac396cb94cd676f7f33f30.jpg","text":"TemporaryFile(/tmp/multipartBody6205381622004226759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113183030,"filename":"image_26112025_00_09_52_1568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396157255","file1":"1396157217","file0":"1396157173","file4":"1396157328","file5":"1396157340","file3":"1396157291"},"map_files_photo_id_array":[{"photo_id":"1396157340","filename":"file5"},{"photo_id":"1396157255","filename":"file2"},{"photo_id":"1396157328","filename":"file4"},{"photo_id":"1396157217","filename":"file1"},{"photo_id":"1396157173","filename":"file0"},{"photo_id":"1396157291","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396157340":["hashtag1","hashtag2"]},{"1396157328":["hashtag1","hashtag2"]},{"1396157291":["hashtag1","hashtag2"]},{"1396157217":["hashtag1","hashtag2"]},{"1396157255":["hashtag1","hashtag2"]},{"1396157173":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396157340, 1396157328, 1396157291, 1396157217, 1396157255, 1396157173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.155275106430054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:26:03.183494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_02_1726.jpg', '/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_04_1629.jpg', '/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_05_1657.jpg', '/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_07_1771.jpg', '/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_09_1649.jpg', '/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_11_1750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_02_1726.jpg
/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_04_1629.jpg
/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_05_1657.jpg
/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_07_1771.jpg
/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_09_1649.jpg
/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_11_1750.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":["1396157354","1396157482","1396157461","1396157425","1396157455","1396157391"],"photo_ids_order":["1396157354","1396157391","1396157425","1396157455","1396157461","1396157482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9fe76e65ef94337d510a077b722b6354.jpg","text":"TemporaryFile(/tmp/multipartBody8045823275785910724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113223891,"filename":"image_26112025_00_10_02_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/26/a673d5858c9161692f7cb5add55c2790.jpg","text":"TemporaryFile(/tmp/multipartBody2730871677138486098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113223891,"filename":"image_26112025_00_10_11_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/26/94c221915525f619f910cef194d858a7.jpg","text":"TemporaryFile(/tmp/multipartBody2368135135513591610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113223891,"filename":"image_26112025_00_10_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/26/e5461e50e433f47858b1310926da0a4d.jpg","text":"TemporaryFile(/tmp/multipartBody6623786862579315555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113223891,"filename":"image_26112025_00_10_05_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/26/d6b1933a1b32c1e708e9abb514bcb448.jpg","text":"TemporaryFile(/tmp/multipartBody4656424647339818828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113223891,"filename":"image_26112025_00_10_07_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/26/4d9ab41335b53c15a5382a6e9fc2d57a.jpg","text":"TemporaryFile(/tmp/multipartBody8327231900012082811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113223891,"filename":"image_26112025_00_10_04_1629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396157425","file1":"1396157391","file0":"1396157354","file4":"1396157461","file5":"1396157482","file3":"1396157455"},"map_files_photo_id_array":[{"photo_id":"1396157482","filename":"file5"},{"photo_id":"1396157425","filename":"file2"},{"photo_id":"1396157461","filename":"file4"},{"photo_id":"1396157391","filename":"file1"},{"photo_id":"1396157354","filename":"file0"},{"photo_id":"1396157455","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396157354":["hashtag1","hashtag2"]},{"1396157482":["hashtag1","hashtag2"]},{"1396157461":["hashtag1","hashtag2"]},{"1396157425":["hashtag1","hashtag2"]},{"1396157455":["hashtag1","hashtag2"]},{"1396157391":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396157354, 1396157482, 1396157461, 1396157425, 1396157455, 1396157391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11747884750366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 00:26:42.774276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_12_1753.jpg', '/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_14_1572.jpg', '/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_15_1525.jpg', '/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_17_1644.jpg', '/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_21_3592.jpg', '/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_23_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_12_1753.jpg
/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_14_1572.jpg
/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_15_1525.jpg
/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_17_1644.jpg
/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_21_3592.jpg
/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_23_2680.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":["1396157498","1396157497","1396157491","1396157499","1396157493","1396157496"],"photo_ids_order":["1396157491","1396157493","1396157496","1396157497","1396157498","1396157499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d8f57017a6ea4395d0443050957dd316.jpg","text":"TemporaryFile(/tmp/multipartBody1495708604813592238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113263465,"filename":"image_26112025_00_10_21_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/26/589900aa03e4502953e6b727ff0a5f83.jpg","text":"TemporaryFile(/tmp/multipartBody2903653792556831215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113263465,"filename":"image_26112025_00_10_17_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/84b912f11fa0b32677f942acc9b829e2.jpg","text":"TemporaryFile(/tmp/multipartBody8653820987771868592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113263465,"filename":"image_26112025_00_10_12_1753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5634dafff3a2f518b3998c886e4a1f6f.jpg","text":"TemporaryFile(/tmp/multipartBody6600073958901930052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113263465,"filename":"image_26112025_00_10_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/26/4d767032895f024a054c6b113d62db05.jpg","text":"TemporaryFile(/tmp/multipartBody8609318773972002787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113263465,"filename":"image_26112025_00_10_14_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/26/779e500d0463411e296a03ef52687553.jpg","text":"TemporaryFile(/tmp/multipartBody6297470168114978945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113263465,"filename":"image_26112025_00_10_15_1525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396157496","file1":"1396157493","file0":"1396157491","file4":"1396157498","file5":"1396157499","file3":"1396157497"},"map_files_photo_id_array":[{"photo_id":"1396157499","filename":"file5"},{"photo_id":"1396157496","filename":"file2"},{"photo_id":"1396157498","filename":"file4"},{"photo_id":"1396157493","filename":"file1"},{"photo_id":"1396157491","filename":"file0"},{"photo_id":"1396157497","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396157498":["hashtag1","hashtag2"]},{"1396157497":["hashtag1","hashtag2"]},{"1396157491":["hashtag1","hashtag2"]},{"1396157499":["hashtag1","hashtag2"]},{"1396157493":["hashtag1","hashtag2"]},{"1396157496":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396157498, 1396157497, 1396157491, 1396157499, 1396157493, 1396157496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60454988479614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:27:21.980217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_27_3597.jpg', '/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_39_2627.jpg', '/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_41_2619.jpg', '/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_45_3587.jpg', '/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_48_2719.jpg', '/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_53_3252.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_27_3597.jpg
/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_39_2627.jpg
/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_41_2619.jpg
/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_45_3587.jpg
/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_48_2719.jpg
/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_53_3252.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":["1396157544","1396157514","1396157508","1396157510","1396157504","1396157512"],"photo_ids_order":["1396157504","1396157508","1396157510","1396157512","1396157514","1396157544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cae55173c5ea4cfede7692e391132ad2.jpg","text":"TemporaryFile(/tmp/multipartBody9069932926809521764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113302637,"filename":"image_26112025_00_10_53_3252.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/29d82d0657eea22b9dce61be47e761ce.jpg","text":"TemporaryFile(/tmp/multipartBody7372082142511188773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113302637,"filename":"image_26112025_00_10_48_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/26/89d28ee1cbad444c9db7641539cd7a70.jpg","text":"TemporaryFile(/tmp/multipartBody5333817055911749077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113302637,"filename":"image_26112025_00_10_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/26/b63dc95d60f850623dfcf4f76377a084.jpg","text":"TemporaryFile(/tmp/multipartBody5763109277364240445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113302637,"filename":"image_26112025_00_10_41_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/46fae2e1d98200e2377d5113cd9311e8.jpg","text":"TemporaryFile(/tmp/multipartBody6640448142762592879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113302637,"filename":"image_26112025_00_10_27_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/26/63a416a19cd9fe569cc61935ea426181.jpg","text":"TemporaryFile(/tmp/multipartBody1921248914794890756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113302637,"filename":"image_26112025_00_10_45_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396157510","file1":"1396157508","file0":"1396157504","file4":"1396157514","file5":"1396157544","file3":"1396157512"},"map_files_photo_id_array":[{"photo_id":"1396157544","filename":"file5"},{"photo_id":"1396157510","filename":"file2"},{"photo_id":"1396157514","filename":"file4"},{"photo_id":"1396157508","filename":"file1"},{"photo_id":"1396157504","filename":"file0"},{"photo_id":"1396157512","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396157544":["hashtag1","hashtag2"]},{"1396157514":["hashtag1","hashtag2"]},{"1396157508":["hashtag1","hashtag2"]},{"1396157510":["hashtag1","hashtag2"]},{"1396157504":["hashtag1","hashtag2"]},{"1396157512":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396157544, 1396157514, 1396157508, 1396157510, 1396157504, 1396157512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31695103645325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:28:02.523004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_56_2761.jpg', '/home/pi/Desktop/images/26112025/00/10/image_26112025_00_11_00_3585.jpg', '/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_02_2566.jpg', '/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_06_3605.jpg', '/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_09_2625.jpg', '/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_11_2573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/10/image_26112025_00_10_56_2761.jpg
/home/pi/Desktop/images/26112025/00/10/image_26112025_00_11_00_3585.jpg
/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_02_2566.jpg
/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_06_3605.jpg
/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_09_2625.jpg
/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_11_2573.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":["1396157838","1396157730","1396157692","1396157764","1396157877","1396157800"],"photo_ids_order":["1396157692","1396157730","1396157764","1396157800","1396157838","1396157877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/342401904760552d23b36a83ed98f6c7.jpg","text":"TemporaryFile(/tmp/multipartBody3585159204645117207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113344970,"filename":"image_26112025_00_11_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/26/892783e2bc06bf8e0713a865d9b6db2c.jpg","text":"TemporaryFile(/tmp/multipartBody6266124962230992824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113344970,"filename":"image_26112025_00_11_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/26/5cc1c34348c7757348a34a9284c1dc8d.jpg","text":"TemporaryFile(/tmp/multipartBody4273758497144087278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113344970,"filename":"image_26112025_00_10_56_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/26/31f76d1a7f8455dc35fe06cada81a8bb.jpg","text":"TemporaryFile(/tmp/multipartBody6378338046211359397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113344970,"filename":"image_26112025_00_11_02_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/26/3753fbb264214c41e25800dd7e567f0d.jpg","text":"TemporaryFile(/tmp/multipartBody6437856690353789569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113344970,"filename":"image_26112025_00_11_11_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/26/dbd3d710131615b51429b5db15cf1ff7.jpg","text":"TemporaryFile(/tmp/multipartBody1627968390783194750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113344970,"filename":"image_26112025_00_11_06_3605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396157764","file1":"1396157730","file0":"1396157692","file4":"1396157838","file5":"1396157877","file3":"1396157800"},"map_files_photo_id_array":[{"photo_id":"1396157877","filename":"file5"},{"photo_id":"1396157764","filename":"file2"},{"photo_id":"1396157838","filename":"file4"},{"photo_id":"1396157730","filename":"file1"},{"photo_id":"1396157692","filename":"file0"},{"photo_id":"1396157800","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396157838":["hashtag1","hashtag2"]},{"1396157730":["hashtag1","hashtag2"]},{"1396157692":["hashtag1","hashtag2"]},{"1396157764":["hashtag1","hashtag2"]},{"1396157877":["hashtag1","hashtag2"]},{"1396157800":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396157838, 1396157730, 1396157692, 1396157764, 1396157877, 1396157800)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.122631788253784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:29:04.321757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
2025-11-26 00:29:18.876198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
2025-11-26 00:29:39.300041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 00:30:02.983357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_15_3596.jpg', '/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_20_2645.jpg', '/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_26_2580.jpg', '/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_30_3600.jpg', '/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_32_2611.jpg', '/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_35_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_15_3596.jpg
/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_20_2645.jpg
/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_26_2580.jpg
/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_30_3600.jpg
/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_32_2611.jpg
/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_35_2749.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":["1396158521","1396158487","1396158523","1396158508","1396158519","1396158488"],"photo_ids_order":["1396158487","1396158488","1396158508","1396158519","1396158521","1396158523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/80218928f7eea9ae6d0a4e6907536445.jpg","text":"TemporaryFile(/tmp/multipartBody985598211932043901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113465812,"filename":"image_26112025_00_11_32_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/26/3593baf3d092aabc5858358496675712.jpg","text":"TemporaryFile(/tmp/multipartBody2755429633716749611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113465812,"filename":"image_26112025_00_11_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/26/bcc568bc2258614e505838c9b3a3f637.jpg","text":"TemporaryFile(/tmp/multipartBody3788592441764924187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113465812,"filename":"image_26112025_00_11_35_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/26/dc6c5ec413d54827f118cf54579754b1.jpg","text":"TemporaryFile(/tmp/multipartBody8726520784438650033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113465812,"filename":"image_26112025_00_11_26_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/26/18a73800c2d8c691225d9cc7341216b0.jpg","text":"TemporaryFile(/tmp/multipartBody6865057820440015148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113465812,"filename":"image_26112025_00_11_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/26/c77da780ec9fb5a26f933f4721a42e1c.jpg","text":"TemporaryFile(/tmp/multipartBody1018764972533617734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113465812,"filename":"image_26112025_00_11_20_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396158508","file1":"1396158488","file0":"1396158487","file4":"1396158521","file5":"1396158523","file3":"1396158519"},"map_files_photo_id_array":[{"photo_id":"1396158523","filename":"file5"},{"photo_id":"1396158508","filename":"file2"},{"photo_id":"1396158521","filename":"file4"},{"photo_id":"1396158488","filename":"file1"},{"photo_id":"1396158487","filename":"file0"},{"photo_id":"1396158519","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396158521":["hashtag1","hashtag2"]},{"1396158487":["hashtag1","hashtag2"]},{"1396158523":["hashtag1","hashtag2"]},{"1396158508":["hashtag1","hashtag2"]},{"1396158519":["hashtag1","hashtag2"]},{"1396158488":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396158521, 1396158487, 1396158523, 1396158508, 1396158519, 1396158488)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 74.87863302230835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:31:26.489176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 00:31:36.504163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:32:02.838677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 00:32:12.319193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_39_3657.jpg', '/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_41_2523.jpg', '/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_44_2794.jpg', '/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_48_3663.jpg', '/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_52_4299.jpg', '/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_54_1688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_39_3657.jpg
/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_41_2523.jpg
/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_44_2794.jpg
/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_48_3663.jpg
/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_52_4299.jpg
/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_54_1688.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":["1396158598","1396158592","1396158595","1396158589","1396158601","1396158590"],"photo_ids_order":["1396158589","1396158590","1396158592","1396158595","1396158598","1396158601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bacff746f88f4412962f30b97a29b800.jpg","text":"TemporaryFile(/tmp/multipartBody3463192881528414374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113596870,"filename":"image_26112025_00_11_52_4299.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/778791f858234f2af6c005d1ab17705f.jpg","text":"TemporaryFile(/tmp/multipartBody2028667127001521979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113596870,"filename":"image_26112025_00_11_44_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/26/d3fc267351dc736f221ec796063b3024.jpg","text":"TemporaryFile(/tmp/multipartBody5899395878341182593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113596870,"filename":"image_26112025_00_11_48_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/26/2300d3be93bd4e28fa8a819faae290f7.jpg","text":"TemporaryFile(/tmp/multipartBody2500131723022419232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113596870,"filename":"image_26112025_00_11_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/26/a5832edaaacfacf7f3aa54d580c59a8e.jpg","text":"TemporaryFile(/tmp/multipartBody6994395611706474893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113596870,"filename":"image_26112025_00_11_54_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e9f0e1314540bea691da59655a8a91ac.jpg","text":"TemporaryFile(/tmp/multipartBody2580132017064587836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113596870,"filename":"image_26112025_00_11_41_2523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396158592","file1":"1396158590","file0":"1396158589","file4":"1396158598","file5":"1396158601","file3":"1396158595"},"map_files_photo_id_array":[{"photo_id":"1396158601","filename":"file5"},{"photo_id":"1396158592","filename":"file2"},{"photo_id":"1396158598","filename":"file4"},{"photo_id":"1396158590","filename":"file1"},{"photo_id":"1396158589","filename":"file0"},{"photo_id":"1396158595","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396158598":["hashtag1","hashtag2"]},{"1396158592":["hashtag1","hashtag2"]},{"1396158595":["hashtag1","hashtag2"]},{"1396158589":["hashtag1","hashtag2"]},{"1396158601":["hashtag1","hashtag2"]},{"1396158590":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396158598, 1396158592, 1396158595, 1396158589, 1396158601, 1396158590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63155651092529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:33:02.683724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_56_2556.jpg', '/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_59_2587.jpg', '/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_03_3686.jpg', '/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_05_2574.jpg', '/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_22_17241.jpg', '/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_24_1604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_56_2556.jpg
/home/pi/Desktop/images/26112025/00/11/image_26112025_00_11_59_2587.jpg
/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_03_3686.jpg
/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_05_2574.jpg
/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_22_17241.jpg
/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_24_1604.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":["1396158683","1396158629","1396158646","1396158631","1396158633","1396158627"],"photo_ids_order":["1396158627","1396158629","1396158631","1396158633","1396158646","1396158683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6156817cccf26118109fd09a29b2cf60.jpg","text":"TemporaryFile(/tmp/multipartBody5460317021442706552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113643479,"filename":"image_26112025_00_12_24_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3027cec29d97730961fd17ae7e9b14a4.jpg","text":"TemporaryFile(/tmp/multipartBody4785075742335994260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113643479,"filename":"image_26112025_00_11_59_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/26/bac6e50fb0f823a228add40713265add.jpg","text":"TemporaryFile(/tmp/multipartBody4585832171900594915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113643479,"filename":"image_26112025_00_12_22_17241.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/db0955f578b076994388781c3b517c6f.jpg","text":"TemporaryFile(/tmp/multipartBody6991955847106994704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113643479,"filename":"image_26112025_00_12_03_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/26/2460b1ed39b87564c74d6e0e19f2efc2.jpg","text":"TemporaryFile(/tmp/multipartBody4613511048187284284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113643479,"filename":"image_26112025_00_12_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/26/b03d41df35f3347cfe233cc34704a888.jpg","text":"TemporaryFile(/tmp/multipartBody1274807068844778092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113643479,"filename":"image_26112025_00_11_56_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396158631","file1":"1396158629","file0":"1396158627","file4":"1396158646","file5":"1396158683","file3":"1396158633"},"map_files_photo_id_array":[{"photo_id":"1396158683","filename":"file5"},{"photo_id":"1396158631","filename":"file2"},{"photo_id":"1396158646","filename":"file4"},{"photo_id":"1396158629","filename":"file1"},{"photo_id":"1396158627","filename":"file0"},{"photo_id":"1396158633","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396158683":["hashtag1","hashtag2"]},{"1396158629":["hashtag1","hashtag2"]},{"1396158646":["hashtag1","hashtag2"]},{"1396158631":["hashtag1","hashtag2"]},{"1396158633":["hashtag1","hashtag2"]},{"1396158627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396158683, 1396158629, 1396158646, 1396158631, 1396158633, 1396158627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05105805397034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 00:33:42.058531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_26_1745.jpg', '/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_27_1707.jpg', '/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_31_3107.jpg', '/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_32_1622.jpg', '/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_34_1540.jpg', '/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_36_1868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_26_1745.jpg
/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_27_1707.jpg
/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_31_3107.jpg
/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_32_1622.jpg
/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_34_1540.jpg
/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_36_1868.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":["1396159007","1396158824","1396158895","1396158966","1396158861","1396158930"],"photo_ids_order":["1396158824","1396158861","1396158895","1396158930","1396158966","1396159007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b13f6889fefa5b7a6815709a953f1e4d.jpg","text":"TemporaryFile(/tmp/multipartBody2276926731689195602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113682730,"filename":"image_26112025_00_12_36_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/26/164e54643d10ff097f7709f5093dbb3b.jpg","text":"TemporaryFile(/tmp/multipartBody2703264725727764983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113682730,"filename":"image_26112025_00_12_26_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/26/71f312720f080c3f678686059fefdf02.jpg","text":"TemporaryFile(/tmp/multipartBody6792175536127374493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113682730,"filename":"image_26112025_00_12_31_3107.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/328e87102d509afcf0705d47695a0fb4.jpg","text":"TemporaryFile(/tmp/multipartBody2109608711499478621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113682730,"filename":"image_26112025_00_12_34_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/26/a7729bc6ccda49afd3f76aa16a9bae02.jpg","text":"TemporaryFile(/tmp/multipartBody5317890085140034966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113682730,"filename":"image_26112025_00_12_27_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3cba5450e3a5fd3952eabf321cb781cb.jpg","text":"TemporaryFile(/tmp/multipartBody2863371994135820630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113682730,"filename":"image_26112025_00_12_32_1622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396158895","file1":"1396158861","file0":"1396158824","file4":"1396158966","file5":"1396159007","file3":"1396158930"},"map_files_photo_id_array":[{"photo_id":"1396159007","filename":"file5"},{"photo_id":"1396158895","filename":"file2"},{"photo_id":"1396158966","filename":"file4"},{"photo_id":"1396158861","filename":"file1"},{"photo_id":"1396158824","filename":"file0"},{"photo_id":"1396158930","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396159007":["hashtag1","hashtag2"]},{"1396158824":["hashtag1","hashtag2"]},{"1396158895":["hashtag1","hashtag2"]},{"1396158966":["hashtag1","hashtag2"]},{"1396158861":["hashtag1","hashtag2"]},{"1396158930":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396159007, 1396158824, 1396158895, 1396158966, 1396158861, 1396158930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.701432943344116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:34:22.244485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_37_1582.jpg', '/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_39_1757.jpg', '/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_40_1489.jpg', '/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_42_1665.jpg', '/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_45_2611.jpg', '/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_47_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_37_1582.jpg
/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_39_1757.jpg
/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_40_1489.jpg
/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_42_1665.jpg
/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_45_2611.jpg
/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_47_2760.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":["1396159253","1396159333","1396159183","1396159219","1396159147","1396159292"],"photo_ids_order":["1396159147","1396159183","1396159219","1396159253","1396159292","1396159333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a4289e367d51885d6f4f1fe765e5552f.jpg","text":"TemporaryFile(/tmp/multipartBody9019780351658133989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113722909,"filename":"image_26112025_00_12_42_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/26/0148b2e13bd103deccb22e6eec0b82a1.jpg","text":"TemporaryFile(/tmp/multipartBody8414709300157652516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113722909,"filename":"image_26112025_00_12_47_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/26/eeb722ba86419bba96d686e26b4def97.jpg","text":"TemporaryFile(/tmp/multipartBody6232631045330725047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113722909,"filename":"image_26112025_00_12_39_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/26/ea027dfb230f54ff5754402b2b00f185.jpg","text":"TemporaryFile(/tmp/multipartBody1964766008666347276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113722909,"filename":"image_26112025_00_12_40_1489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/438ecbdf28c87f12d9f17fdac5c285c3.jpg","text":"TemporaryFile(/tmp/multipartBody4695211204522348757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113722909,"filename":"image_26112025_00_12_37_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/26/6962908e87577bb5221477be8329960a.jpg","text":"TemporaryFile(/tmp/multipartBody1425270659702173535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113722909,"filename":"image_26112025_00_12_45_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396159219","file1":"1396159183","file0":"1396159147","file4":"1396159292","file5":"1396159333","file3":"1396159253"},"map_files_photo_id_array":[{"photo_id":"1396159333","filename":"file5"},{"photo_id":"1396159219","filename":"file2"},{"photo_id":"1396159292","filename":"file4"},{"photo_id":"1396159183","filename":"file1"},{"photo_id":"1396159147","filename":"file0"},{"photo_id":"1396159253","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396159253":["hashtag1","hashtag2"]},{"1396159333":["hashtag1","hashtag2"]},{"1396159183":["hashtag1","hashtag2"]},{"1396159219":["hashtag1","hashtag2"]},{"1396159147":["hashtag1","hashtag2"]},{"1396159292":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396159253, 1396159333, 1396159183, 1396159219, 1396159147, 1396159292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.428887367248535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:35:03.089925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_53_6006.jpg', '/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_55_1664.jpg', '/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_57_1721.jpg', '/home/pi/Desktop/images/26112025/00/12/image_26112025_00_13_00_2703.jpg', '/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_02_2637.jpg', '/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_13_10714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_53_6006.jpg
/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_55_1664.jpg
/home/pi/Desktop/images/26112025/00/12/image_26112025_00_12_57_1721.jpg
/home/pi/Desktop/images/26112025/00/12/image_26112025_00_13_00_2703.jpg
/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_02_2637.jpg
/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_13_10714.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":["1396159378","1396159372","1396159381","1396159374","1396159376","1396159370"],"photo_ids_order":["1396159370","1396159372","1396159374","1396159376","1396159378","1396159381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ad9d3c97c082e0de452d8ec15947b815.jpg","text":"TemporaryFile(/tmp/multipartBody6742761022118983565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113763876,"filename":"image_26112025_00_13_02_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/26/0b7799bf562ed4c440a88439b9203f57.jpg","text":"TemporaryFile(/tmp/multipartBody6559379383212389022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113763876,"filename":"image_26112025_00_12_55_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/26/5b6371746ca5c2f7d986a30406fca1eb.jpg","text":"TemporaryFile(/tmp/multipartBody5147257193691034125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113763876,"filename":"image_26112025_00_13_13_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fe27049b86432c90d94a7be04d884987.jpg","text":"TemporaryFile(/tmp/multipartBody5971289724781889907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113763876,"filename":"image_26112025_00_12_57_1721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e3c94a1273d75fbb1ccf6ac1e177cd28.jpg","text":"TemporaryFile(/tmp/multipartBody2034103429102984898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113763876,"filename":"image_26112025_00_13_00_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/34f8d8854b2a4efd744b765856ab4904.jpg","text":"TemporaryFile(/tmp/multipartBody5424946240328858139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113763876,"filename":"image_26112025_00_12_53_6006.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396159374","file1":"1396159372","file0":"1396159370","file4":"1396159378","file5":"1396159381","file3":"1396159376"},"map_files_photo_id_array":[{"photo_id":"1396159381","filename":"file5"},{"photo_id":"1396159374","filename":"file2"},{"photo_id":"1396159378","filename":"file4"},{"photo_id":"1396159372","filename":"file1"},{"photo_id":"1396159370","filename":"file0"},{"photo_id":"1396159376","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396159378":["hashtag1","hashtag2"]},{"1396159372":["hashtag1","hashtag2"]},{"1396159381":["hashtag1","hashtag2"]},{"1396159374":["hashtag1","hashtag2"]},{"1396159376":["hashtag1","hashtag2"]},{"1396159370":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396159378, 1396159372, 1396159381, 1396159374, 1396159376, 1396159370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.400954723358154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 00:35:42.551516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_19_5888.jpg', '/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_22_3041.jpg', '/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_24_1633.jpg', '/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_25_1599.jpg', '/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_27_1650.jpg', '/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_28_1553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_19_5888.jpg
/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_22_3041.jpg
/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_24_1633.jpg
/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_25_1599.jpg
/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_27_1650.jpg
/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_28_1553.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":["1396159517","1396159439","1396159549","1396159618","1396159476","1396159584"],"photo_ids_order":["1396159439","1396159476","1396159517","1396159549","1396159584","1396159618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/54ebcbe46f9d1196dfd19b1b65269e5d.jpg","text":"TemporaryFile(/tmp/multipartBody1814325118389488371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113803222,"filename":"image_26112025_00_13_24_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/26/76e6fc19c42353c9eb578cca011a70f1.jpg","text":"TemporaryFile(/tmp/multipartBody7397445090874870761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113803222,"filename":"image_26112025_00_13_19_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/26/f48f2601d2efea7f2c1fdc02a8021894.jpg","text":"TemporaryFile(/tmp/multipartBody1878802257025048682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113803222,"filename":"image_26112025_00_13_25_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/26/9367e3192a9ba36efa6203e8ed04fc38.jpg","text":"TemporaryFile(/tmp/multipartBody3825546260409416568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113803222,"filename":"image_26112025_00_13_28_1553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c8ef749460778b3b689308fe291d5c26.jpg","text":"TemporaryFile(/tmp/multipartBody8386234867777236737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113803222,"filename":"image_26112025_00_13_22_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/26/451430465c0f79d51f1ddcca4d4ab526.jpg","text":"TemporaryFile(/tmp/multipartBody7499576037142755616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113803222,"filename":"image_26112025_00_13_27_1650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396159517","file1":"1396159476","file0":"1396159439","file4":"1396159584","file5":"1396159618","file3":"1396159549"},"map_files_photo_id_array":[{"photo_id":"1396159618","filename":"file5"},{"photo_id":"1396159517","filename":"file2"},{"photo_id":"1396159584","filename":"file4"},{"photo_id":"1396159476","filename":"file1"},{"photo_id":"1396159439","filename":"file0"},{"photo_id":"1396159549","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396159517":["hashtag1","hashtag2"]},{"1396159439":["hashtag1","hashtag2"]},{"1396159549":["hashtag1","hashtag2"]},{"1396159618":["hashtag1","hashtag2"]},{"1396159476":["hashtag1","hashtag2"]},{"1396159584":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396159517, 1396159439, 1396159549, 1396159618, 1396159476, 1396159584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.66100001335144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:36:22.712308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_30_1564.jpg', '/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_41_10757.jpg', '/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_42_1516.jpg', '/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_44_1531.jpg', '/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_46_1861.jpg', '/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_47_1727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_30_1564.jpg
/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_41_10757.jpg
/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_42_1516.jpg
/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_44_1531.jpg
/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_46_1861.jpg
/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_47_1727.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":["1396160013","1396159969","1396159831","1396159872","1396159788","1396159911"],"photo_ids_order":["1396159788","1396159831","1396159872","1396159911","1396159969","1396160013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/52cf363064ca3a0f411eea4781b0ccb0.jpg","text":"TemporaryFile(/tmp/multipartBody3221500169567285263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113843387,"filename":"image_26112025_00_13_47_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/26/4b1f301b253441670e81c5851b7b4b78.jpg","text":"TemporaryFile(/tmp/multipartBody4924252614688277741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113843387,"filename":"image_26112025_00_13_46_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/26/47592a2a73c1685767d9be38d1aac6ce.jpg","text":"TemporaryFile(/tmp/multipartBody6503737684432662849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113843387,"filename":"image_26112025_00_13_41_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/36f899c71ecf13816fb62f0bf7fe7835.jpg","text":"TemporaryFile(/tmp/multipartBody4423183799521761023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113843387,"filename":"image_26112025_00_13_42_1516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aab68ff73b6f8d116655c05bf3f23edb.jpg","text":"TemporaryFile(/tmp/multipartBody5807472626770590385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113843387,"filename":"image_26112025_00_13_30_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/26/cc325540d2c060040e9174027a283b72.jpg","text":"TemporaryFile(/tmp/multipartBody846233470009553480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113843387,"filename":"image_26112025_00_13_44_1531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396159872","file1":"1396159831","file0":"1396159788","file4":"1396159969","file5":"1396160013","file3":"1396159911"},"map_files_photo_id_array":[{"photo_id":"1396160013","filename":"file5"},{"photo_id":"1396159872","filename":"file2"},{"photo_id":"1396159969","filename":"file4"},{"photo_id":"1396159831","filename":"file1"},{"photo_id":"1396159788","filename":"file0"},{"photo_id":"1396159911","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396160013":["hashtag1","hashtag2"]},{"1396159969":["hashtag1","hashtag2"]},{"1396159831":["hashtag1","hashtag2"]},{"1396159872":["hashtag1","hashtag2"]},{"1396159788":["hashtag1","hashtag2"]},{"1396159911":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396160013, 1396159969, 1396159831, 1396159872, 1396159788, 1396159911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49351096153259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:37:02.434844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_49_1624.jpg', '/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_50_1549.jpg', '/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_52_1542.jpg', '/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_54_1647.jpg', '/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_56_2829.jpg', '/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_59_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_49_1624.jpg
/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_50_1549.jpg
/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_52_1542.jpg
/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_54_1647.jpg
/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_56_2829.jpg
/home/pi/Desktop/images/26112025/00/13/image_26112025_00_13_59_2579.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":["1396160282","1396160245","1396160163","1396160364","1396160208","1396160322"],"photo_ids_order":["1396160163","1396160208","1396160245","1396160282","1396160322","1396160364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4dc23a3d2fc0a6a6ba3506fc24e66cc2.jpg","text":"TemporaryFile(/tmp/multipartBody2304155120060742539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113883467,"filename":"image_26112025_00_13_54_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/26/d7a2a984fbc63fedfc59a3d6ecd69c19.jpg","text":"TemporaryFile(/tmp/multipartBody1109175532858419410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113883467,"filename":"image_26112025_00_13_52_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1213f1218bc7daf699ad09827e92f92b.jpg","text":"TemporaryFile(/tmp/multipartBody8848188657291589099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113883467,"filename":"image_26112025_00_13_49_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/26/d3daf665edf1919bbe56f50c76e74d32.jpg","text":"TemporaryFile(/tmp/multipartBody2539444458681210294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113883467,"filename":"image_26112025_00_13_59_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/26/8949481fff578cbc48acc397c266749e.jpg","text":"TemporaryFile(/tmp/multipartBody5747070872555961589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113883467,"filename":"image_26112025_00_13_50_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/26/d5d7857299bcf922d5336638de445762.jpg","text":"TemporaryFile(/tmp/multipartBody7806662333982420111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113883467,"filename":"image_26112025_00_13_56_2829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396160245","file1":"1396160208","file0":"1396160163","file4":"1396160322","file5":"1396160364","file3":"1396160282"},"map_files_photo_id_array":[{"photo_id":"1396160364","filename":"file5"},{"photo_id":"1396160245","filename":"file2"},{"photo_id":"1396160322","filename":"file4"},{"photo_id":"1396160208","filename":"file1"},{"photo_id":"1396160163","filename":"file0"},{"photo_id":"1396160282","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396160282":["hashtag1","hashtag2"]},{"1396160245":["hashtag1","hashtag2"]},{"1396160163":["hashtag1","hashtag2"]},{"1396160364":["hashtag1","hashtag2"]},{"1396160208":["hashtag1","hashtag2"]},{"1396160322":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396160282, 1396160245, 1396160163, 1396160364, 1396160208, 1396160322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47279739379883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 00:37:41.967987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_02_2897.jpg', '/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_05_2752.jpg', '/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_08_3560.jpg', '/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_11_2639.jpg', '/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_14_3611.jpg', '/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_17_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_02_2897.jpg
/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_05_2752.jpg
/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_08_3560.jpg
/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_11_2639.jpg
/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_14_3611.jpg
/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_17_2561.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":["1396160435","1396160423","1396160426","1396160507","1396160425","1396160469"],"photo_ids_order":["1396160423","1396160425","1396160426","1396160435","1396160469","1396160507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8054b5852a3d24bb9a342c503769b9a5.jpg","text":"TemporaryFile(/tmp/multipartBody5220879200948400878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113922639,"filename":"image_26112025_00_14_11_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/26/b161b2279fffbdd85b4ba649c098855b.jpg","text":"TemporaryFile(/tmp/multipartBody6199187441308054937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113922639,"filename":"image_26112025_00_14_02_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/26/8a9c75aa24f2e698e99e6a004862c3aa.jpg","text":"TemporaryFile(/tmp/multipartBody4768602511981240897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113922639,"filename":"image_26112025_00_14_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/26/7b3e80f1877f55c17b8ea5c2f11fb3f8.jpg","text":"TemporaryFile(/tmp/multipartBody1963393316820239120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113922639,"filename":"image_26112025_00_14_17_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/26/e762b158353cb91196e5aaaad0edd110.jpg","text":"TemporaryFile(/tmp/multipartBody1483520375073736899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113922639,"filename":"image_26112025_00_14_05_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/26/6f8e3bbb3a4b3516bcddafa9cc238aae.jpg","text":"TemporaryFile(/tmp/multipartBody1764057861535484278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113922639,"filename":"image_26112025_00_14_14_3611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396160426","file1":"1396160425","file0":"1396160423","file4":"1396160469","file5":"1396160507","file3":"1396160435"},"map_files_photo_id_array":[{"photo_id":"1396160507","filename":"file5"},{"photo_id":"1396160426","filename":"file2"},{"photo_id":"1396160469","filename":"file4"},{"photo_id":"1396160425","filename":"file1"},{"photo_id":"1396160423","filename":"file0"},{"photo_id":"1396160435","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396160435":["hashtag1","hashtag2"]},{"1396160423":["hashtag1","hashtag2"]},{"1396160426":["hashtag1","hashtag2"]},{"1396160507":["hashtag1","hashtag2"]},{"1396160425":["hashtag1","hashtag2"]},{"1396160469":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396160435, 1396160423, 1396160426, 1396160507, 1396160425, 1396160469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.162129640579224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:38:22.193357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_20_2766.jpg', '/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_23_3565.jpg', '/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_26_2721.jpg', '/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_29_2694.jpg', '/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_32_3634.jpg', '/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_35_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_20_2766.jpg
/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_23_3565.jpg
/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_26_2721.jpg
/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_29_2694.jpg
/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_32_3634.jpg
/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_35_2597.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":["1396160621","1396160593","1396160623","1396160583","1396160617","1396160619"],"photo_ids_order":["1396160583","1396160593","1396160617","1396160619","1396160621","1396160623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3fe4e3dd11ef86b70a4fcd754469d9fc.jpg","text":"TemporaryFile(/tmp/multipartBody7508311305771753582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113962857,"filename":"image_26112025_00_14_32_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/26/38a75c0f6ab49e708a8bf3b751733c3d.jpg","text":"TemporaryFile(/tmp/multipartBody1665204899712619331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113962857,"filename":"image_26112025_00_14_23_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/26/e4e153b1431c190124fa0283ecc9421a.jpg","text":"TemporaryFile(/tmp/multipartBody3320257352396937697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113962857,"filename":"image_26112025_00_14_35_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/26/cf84ca7cd73f27bb5033426899cbf84c.jpg","text":"TemporaryFile(/tmp/multipartBody1482964248622148565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113962857,"filename":"image_26112025_00_14_20_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/26/63c3b6a64a46ba8a187a8dff241fdf69.jpg","text":"TemporaryFile(/tmp/multipartBody4795784087610863972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113962857,"filename":"image_26112025_00_14_26_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/26/22a4d260693b483614591c11b65ed831.jpg","text":"TemporaryFile(/tmp/multipartBody7382326535080292591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764113962857,"filename":"image_26112025_00_14_29_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396160617","file1":"1396160593","file0":"1396160583","file4":"1396160621","file5":"1396160623","file3":"1396160619"},"map_files_photo_id_array":[{"photo_id":"1396160623","filename":"file5"},{"photo_id":"1396160617","filename":"file2"},{"photo_id":"1396160621","filename":"file4"},{"photo_id":"1396160593","filename":"file1"},{"photo_id":"1396160583","filename":"file0"},{"photo_id":"1396160619","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396160621":["hashtag1","hashtag2"]},{"1396160593":["hashtag1","hashtag2"]},{"1396160623":["hashtag1","hashtag2"]},{"1396160583":["hashtag1","hashtag2"]},{"1396160617":["hashtag1","hashtag2"]},{"1396160619":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396160621, 1396160593, 1396160623, 1396160583, 1396160617, 1396160619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54157376289368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:39:03.346552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_38_2573.jpg', '/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_41_3727.jpg', '/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_44_2550.jpg', '/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_47_2750.jpg', '/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_50_3659.jpg', '/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_53_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_38_2573.jpg
/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_41_3727.jpg
/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_44_2550.jpg
/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_47_2750.jpg
/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_50_3659.jpg
/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_53_2631.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":["1396160633","1396160627","1396160638","1396160635","1396160629","1396160631"],"photo_ids_order":["1396160627","1396160629","1396160631","1396160633","1396160635","1396160638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8d181bb2f6a52aa10f7e65dbf4a01607.jpg","text":"TemporaryFile(/tmp/multipartBody3178227550485326016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114004231,"filename":"image_26112025_00_14_47_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/26/1f2ddb771595a804cbcfee5fce3d1b1a.jpg","text":"TemporaryFile(/tmp/multipartBody6488636089363473806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114004231,"filename":"image_26112025_00_14_38_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/26/5a9d9394de020ccaa35ac8697a3d3acf.jpg","text":"TemporaryFile(/tmp/multipartBody4464434356921143996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114004231,"filename":"image_26112025_00_14_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/26/08c4b2469c37f8e9c0cfa6b780a88045.jpg","text":"TemporaryFile(/tmp/multipartBody5225018856902753406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114004231,"filename":"image_26112025_00_14_50_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/26/cae73a35bf3c241c1dc392fcdca2fbef.jpg","text":"TemporaryFile(/tmp/multipartBody8433079226968508231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114004231,"filename":"image_26112025_00_14_41_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/26/60666205b66e5173edc34fab8c89ff79.jpg","text":"TemporaryFile(/tmp/multipartBody3738980491244334019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114004231,"filename":"image_26112025_00_14_44_2550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396160631","file1":"1396160629","file0":"1396160627","file4":"1396160635","file5":"1396160638","file3":"1396160633"},"map_files_photo_id_array":[{"photo_id":"1396160638","filename":"file5"},{"photo_id":"1396160631","filename":"file2"},{"photo_id":"1396160635","filename":"file4"},{"photo_id":"1396160629","filename":"file1"},{"photo_id":"1396160627","filename":"file0"},{"photo_id":"1396160633","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396160633":["hashtag1","hashtag2"]},{"1396160627":["hashtag1","hashtag2"]},{"1396160638":["hashtag1","hashtag2"]},{"1396160635":["hashtag1","hashtag2"]},{"1396160629":["hashtag1","hashtag2"]},{"1396160631":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396160633, 1396160627, 1396160638, 1396160635, 1396160629, 1396160631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43354535102844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 00:39:42.343278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_56_2650.jpg', '/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_59_3538.jpg', '/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_02_2501.jpg', '/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_08_2869.jpg', '/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_11_3700.jpg', '/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_14_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_56_2650.jpg
/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_59_3538.jpg
/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_02_2501.jpg
/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_08_2869.jpg
/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_11_3700.jpg
/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_14_2679.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.5713918209075928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:40:03.144873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_56_2650.jpg', '/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_59_3538.jpg', '/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_02_2501.jpg', '/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_08_2869.jpg', '/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_11_3700.jpg', '/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_14_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_56_2650.jpg
/home/pi/Desktop/images/26112025/00/14/image_26112025_00_14_59_3538.jpg
/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_02_2501.jpg
/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_08_2869.jpg
/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_11_3700.jpg
/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_14_2679.jpg
 val : 1 : upload photos already in processing! 
 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":["1396160651","1396160654","1396160650","1396160661","1396160649","1396160658"],"photo_ids_order":["1396160649","1396160650","1396160651","1396160654","1396160658","1396160661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d57d5ab15c1c556bb5362a19fd288c39.jpg","text":"TemporaryFile(/tmp/multipartBody1722454945027022469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114063858,"filename":"image_26112025_00_15_02_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/26/f26af007deb774f16157cc6bd235baa6.jpg","text":"TemporaryFile(/tmp/multipartBody6942351789480577968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114063858,"filename":"image_26112025_00_15_08_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/26/b3b3692cac4df470e401597a9a98aee9.jpg","text":"TemporaryFile(/tmp/multipartBody9122407384779955949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114063858,"filename":"image_26112025_00_14_59_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/26/9fdce7f4c50dfedf94b78245ce79c6c2.jpg","text":"TemporaryFile(/tmp/multipartBody1821439079735090965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114063858,"filename":"image_26112025_00_15_14_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/26/14ece035c1512723240abbf064ae8e8b.jpg","text":"TemporaryFile(/tmp/multipartBody956021957432662737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114063858,"filename":"image_26112025_00_14_56_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/26/c3d6ec1e9146f4680c595edf258b9365.jpg","text":"TemporaryFile(/tmp/multipartBody7485603202627684972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114063858,"filename":"image_26112025_00_15_11_3700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396160651","file1":"1396160650","file0":"1396160649","file4":"1396160658","file5":"1396160661","file3":"1396160654"},"map_files_photo_id_array":[{"photo_id":"1396160661","filename":"file5"},{"photo_id":"1396160651","filename":"file2"},{"photo_id":"1396160658","filename":"file4"},{"photo_id":"1396160650","filename":"file1"},{"photo_id":"1396160649","filename":"file0"},{"photo_id":"1396160654","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396160651":["hashtag1","hashtag2"]},{"1396160654":["hashtag1","hashtag2"]},{"1396160650":["hashtag1","hashtag2"]},{"1396160661":["hashtag1","hashtag2"]},{"1396160649":["hashtag1","hashtag2"]},{"1396160658":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396160651, 1396160654, 1396160650, 1396160661, 1396160649, 1396160658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.0577175617218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:41:03.381545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 00:41:12.778278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_17_2812.jpg', '/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_20_2747.jpg', '/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_23_3685.jpg', '/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_26_2642.jpg', '/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_29_3587.jpg', '/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_33_3053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_17_2812.jpg
/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_20_2747.jpg
/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_23_3685.jpg
/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_26_2642.jpg
/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_29_3587.jpg
/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_33_3053.jpg
 val : 1 : upload photos already in processing! 
 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":["1396160926","1396161111","1396161027","1396160970","1396161071","1396161146"],"photo_ids_order":["1396160926","1396160970","1396161027","1396161071","1396161111","1396161146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/19dc966e89dd91ec9678bc1b177fd1a4.jpg","text":"TemporaryFile(/tmp/multipartBody5334695444585476662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114133444,"filename":"image_26112025_00_15_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/26/a44c24e85d524a7875cb75333aaa44a2.jpg","text":"TemporaryFile(/tmp/multipartBody5197978384038217206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114133444,"filename":"image_26112025_00_15_29_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/26/a7a52654c030d6304bdf41be7ef1503b.jpg","text":"TemporaryFile(/tmp/multipartBody5218130802710257519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114133444,"filename":"image_26112025_00_15_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/26/77daa2a59adfb139b14fb5c0360f033b.jpg","text":"TemporaryFile(/tmp/multipartBody1440732696354976830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114133444,"filename":"image_26112025_00_15_20_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/26/d2c1e35541dea9a17e022c0e9ba77070.jpg","text":"TemporaryFile(/tmp/multipartBody2368904481453476440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114133444,"filename":"image_26112025_00_15_26_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2abdab44685322bf8b1d410e393f0c5b.jpg","text":"TemporaryFile(/tmp/multipartBody3061441079914918878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114133444,"filename":"image_26112025_00_15_33_3053.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396161027","file1":"1396160970","file0":"1396160926","file4":"1396161111","file5":"1396161146","file3":"1396161071"},"map_files_photo_id_array":[{"photo_id":"1396161146","filename":"file5"},{"photo_id":"1396161027","filename":"file2"},{"photo_id":"1396161111","filename":"file4"},{"photo_id":"1396160970","filename":"file1"},{"photo_id":"1396160926","filename":"file0"},{"photo_id":"1396161071","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396160926":["hashtag1","hashtag2"]},{"1396161111":["hashtag1","hashtag2"]},{"1396161027":["hashtag1","hashtag2"]},{"1396160970":["hashtag1","hashtag2"]},{"1396161071":["hashtag1","hashtag2"]},{"1396161146":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396160926, 1396161111, 1396161027, 1396160970, 1396161071, 1396161146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.30839133262634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:42:11.990672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_35_2601.jpg', '/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_38_2571.jpg', '/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_41_3670.jpg', '/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_44_2706.jpg', '/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_47_2645.jpg', '/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_50_3645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_35_2601.jpg
/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_38_2571.jpg
/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_41_3670.jpg
/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_44_2706.jpg
/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_47_2645.jpg
/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_50_3645.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":["1396161440","1396161361","1396161328","1396161514","1396161399","1396161552"],"photo_ids_order":["1396161328","1396161361","1396161399","1396161440","1396161514","1396161552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d6364b67f65ee67c665f809c15410295.jpg","text":"TemporaryFile(/tmp/multipartBody2035491569506025863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114192663,"filename":"image_26112025_00_15_44_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/26/3929a180d68b1c3738a3b779c076efc2.jpg","text":"TemporaryFile(/tmp/multipartBody4527069361104354600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114192663,"filename":"image_26112025_00_15_38_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/26/fd9062949a46413128c9395e07536a97.jpg","text":"TemporaryFile(/tmp/multipartBody2801765391848187943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114192663,"filename":"image_26112025_00_15_35_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/26/2795342c6200fe2f86ebbfc154fd6baa.jpg","text":"TemporaryFile(/tmp/multipartBody5699613880950888361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114192663,"filename":"image_26112025_00_15_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/26/e40dacb971c3cc9045056a861dc3869e.jpg","text":"TemporaryFile(/tmp/multipartBody4188230952287603617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114192663,"filename":"image_26112025_00_15_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/26/8f1dbc99d5b6b6efeaaa9eee377d6b1e.jpg","text":"TemporaryFile(/tmp/multipartBody5345385971141955041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114192663,"filename":"image_26112025_00_15_50_3645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396161399","file1":"1396161361","file0":"1396161328","file4":"1396161514","file5":"1396161552","file3":"1396161440"},"map_files_photo_id_array":[{"photo_id":"1396161552","filename":"file5"},{"photo_id":"1396161399","filename":"file2"},{"photo_id":"1396161514","filename":"file4"},{"photo_id":"1396161361","filename":"file1"},{"photo_id":"1396161328","filename":"file0"},{"photo_id":"1396161440","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396161440":["hashtag1","hashtag2"]},{"1396161361":["hashtag1","hashtag2"]},{"1396161328":["hashtag1","hashtag2"]},{"1396161514":["hashtag1","hashtag2"]},{"1396161399":["hashtag1","hashtag2"]},{"1396161552":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396161440, 1396161361, 1396161328, 1396161514, 1396161399, 1396161552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.039029121398926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:43:02.851635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_53_2767.jpg', '/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_02_3546.jpg', '/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_05_2621.jpg', '/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_08_2768.jpg', '/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_11_3690.jpg', '/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_14_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/15/image_26112025_00_15_53_2767.jpg
/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_02_3546.jpg
/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_05_2621.jpg
/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_08_2768.jpg
/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_11_3690.jpg
/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_14_2637.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":["1396161814","1396161817","1396161783","1396161825","1396161821","1396161743"],"photo_ids_order":["1396161743","1396161783","1396161814","1396161817","1396161821","1396161825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bc9fec2654ff8e4ec67b2936e174337a.jpg","text":"TemporaryFile(/tmp/multipartBody4750075043536453905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114243640,"filename":"image_26112025_00_16_05_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/26/ae49794d3009a8b3ac05bcbba83bcfb7.jpg","text":"TemporaryFile(/tmp/multipartBody4796329187336795344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114243640,"filename":"image_26112025_00_16_08_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/26/b2a4713bdb6de8c2fc673cc43e31f311.jpg","text":"TemporaryFile(/tmp/multipartBody8842162549107969438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114243640,"filename":"image_26112025_00_16_02_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/26/76dd6732db6fc1313540e69874e91801.jpg","text":"TemporaryFile(/tmp/multipartBody5572594741902851376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114243640,"filename":"image_26112025_00_16_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/26/b94ece6c9a7bdfc93a9c82ac8dd9932e.jpg","text":"TemporaryFile(/tmp/multipartBody8492224311961176784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114243640,"filename":"image_26112025_00_16_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/26/217fa740b390dfe12471f870a56e62ff.jpg","text":"TemporaryFile(/tmp/multipartBody325832243564015713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114243640,"filename":"image_26112025_00_15_53_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396161814","file1":"1396161783","file0":"1396161743","file4":"1396161821","file5":"1396161825","file3":"1396161817"},"map_files_photo_id_array":[{"photo_id":"1396161825","filename":"file5"},{"photo_id":"1396161814","filename":"file2"},{"photo_id":"1396161821","filename":"file4"},{"photo_id":"1396161783","filename":"file1"},{"photo_id":"1396161743","filename":"file0"},{"photo_id":"1396161817","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396161814":["hashtag1","hashtag2"]},{"1396161817":["hashtag1","hashtag2"]},{"1396161783":["hashtag1","hashtag2"]},{"1396161825":["hashtag1","hashtag2"]},{"1396161821":["hashtag1","hashtag2"]},{"1396161743":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396161814, 1396161817, 1396161783, 1396161825, 1396161821, 1396161743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.669933557510376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 00:43:42.227755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_17_2614.jpg', '/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_20_3569.jpg', '/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_25_2721.jpg', '/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_29_3654.jpg', '/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_32_2585.jpg', '/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_34_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_17_2614.jpg
/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_20_3569.jpg
/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_25_2721.jpg
/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_29_3654.jpg
/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_32_2585.jpg
/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_34_2720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396161845","1396161835","1396161843","1396161837","1396161833","1396161836"],"photo_ids_order":["1396161833","1396161835","1396161836","1396161837","1396161843","1396161845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/19a38a8ef754d5d2c1720faf7b725989.jpg","text":"TemporaryFile(/tmp/multipartBody1601884858489957256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114282895,"filename":"image_26112025_00_16_34_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/67382b71f0e06a5e94b122ffb3b99074.jpg","text":"TemporaryFile(/tmp/multipartBody2192461066953832911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114282895,"filename":"image_26112025_00_16_20_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/26/b74ca9c171b291ca4b7e17f056c274a0.jpg","text":"TemporaryFile(/tmp/multipartBody2707686775472410054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114282895,"filename":"image_26112025_00_16_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/26/1849db0bab33bbfbffcbb926945d660d.jpg","text":"TemporaryFile(/tmp/multipartBody6690602619193966108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114282895,"filename":"image_26112025_00_16_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/26/2f69eb7d287a2d411a081587ca3bd0b6.jpg","text":"TemporaryFile(/tmp/multipartBody4673273852405220067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114282895,"filename":"image_26112025_00_16_17_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/26/238c703d7fc5eb47236c901915e0cdb4.jpg","text":"TemporaryFile(/tmp/multipartBody1197134021600325197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114282895,"filename":"image_26112025_00_16_25_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396161836","file1":"1396161835","file0":"1396161833","file4":"1396161843","file5":"1396161845","file3":"1396161837"},"map_files_photo_id_array":[{"photo_id":"1396161845","filename":"file5"},{"photo_id":"1396161836","filename":"file2"},{"photo_id":"1396161843","filename":"file4"},{"photo_id":"1396161835","filename":"file1"},{"photo_id":"1396161833","filename":"file0"},{"photo_id":"1396161837","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396161845":["hashtag1","hashtag2"]},{"1396161835":["hashtag1","hashtag2"]},{"1396161843":["hashtag1","hashtag2"]},{"1396161837":["hashtag1","hashtag2"]},{"1396161833":["hashtag1","hashtag2"]},{"1396161836":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396161845, 1396161835, 1396161843, 1396161837, 1396161833, 1396161836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.626107692718506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:44:22.464236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_38_3781.jpg', '/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_41_2688.jpg', '/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_44_2638.jpg', '/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_46_2901.jpg', '/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_50_3712.jpg', '/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_53_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_38_3781.jpg
/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_41_2688.jpg
/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_44_2638.jpg
/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_46_2901.jpg
/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_50_3712.jpg
/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_53_2653.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":["1396161982","1396162089","1396162053","1396161910","1396162017","1396161947"],"photo_ids_order":["1396161910","1396161947","1396161982","1396162017","1396162053","1396162089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b120c6e4bd07dada73eea764277db790.jpg","text":"TemporaryFile(/tmp/multipartBody842331145818096276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114323165,"filename":"image_26112025_00_16_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/26/633c66176155a66610a8c37175cd9c44.jpg","text":"TemporaryFile(/tmp/multipartBody1162398445064791729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114323165,"filename":"image_26112025_00_16_53_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/26/3d61c139b85c3dbb93de30bbdd10b067.jpg","text":"TemporaryFile(/tmp/multipartBody7197868064719445986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114323165,"filename":"image_26112025_00_16_50_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/26/aefcd8d9857f734d9b0372bc53f2a740.jpg","text":"TemporaryFile(/tmp/multipartBody1911361967194074558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114323165,"filename":"image_26112025_00_16_38_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/26/61c79a6e4cfa38db9893d914a5e8852a.jpg","text":"TemporaryFile(/tmp/multipartBody889984336814633441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114323165,"filename":"image_26112025_00_16_46_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/26/1da680eb81b2a5c41637d4a827a092dc.jpg","text":"TemporaryFile(/tmp/multipartBody8915960031779394451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114323165,"filename":"image_26112025_00_16_41_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396161982","file1":"1396161947","file0":"1396161910","file4":"1396162053","file5":"1396162089","file3":"1396162017"},"map_files_photo_id_array":[{"photo_id":"1396162089","filename":"file5"},{"photo_id":"1396161982","filename":"file2"},{"photo_id":"1396162053","filename":"file4"},{"photo_id":"1396161947","filename":"file1"},{"photo_id":"1396161910","filename":"file0"},{"photo_id":"1396162017","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396161982":["hashtag1","hashtag2"]},{"1396162089":["hashtag1","hashtag2"]},{"1396162053":["hashtag1","hashtag2"]},{"1396161910":["hashtag1","hashtag2"]},{"1396162017":["hashtag1","hashtag2"]},{"1396161947":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396161982, 1396162089, 1396162053, 1396161910, 1396162017, 1396161947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36228322982788 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:45:03.384057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_55_2673.jpg', '/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_59_3804.jpg', '/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_02_2904.jpg', '/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_05_2541.jpg', '/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_07_2652.jpg', '/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_11_3728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_55_2673.jpg
/home/pi/Desktop/images/26112025/00/16/image_26112025_00_16_59_3804.jpg
/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_02_2904.jpg
/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_05_2541.jpg
/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_07_2652.jpg
/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_11_3728.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":["1396162420","1396162264","1396162324","1396162197","1396162361","1396162186"],"photo_ids_order":["1396162186","1396162197","1396162264","1396162324","1396162361","1396162420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4e50b95e73b647a1d172e1346c121d14.jpg","text":"TemporaryFile(/tmp/multipartBody5020755833311537457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114364210,"filename":"image_26112025_00_17_11_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/26/acfa764237e11acc26f53003df3a3f14.jpg","text":"TemporaryFile(/tmp/multipartBody3593800402344023323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114364210,"filename":"image_26112025_00_17_02_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/26/962be3dc0068257c5da0a660d4bec903.jpg","text":"TemporaryFile(/tmp/multipartBody5622457997449170116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114364210,"filename":"image_26112025_00_17_05_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/26/eb2cd11b2683d57b2b1064b6f9c37ee4.jpg","text":"TemporaryFile(/tmp/multipartBody7135785777914923327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114364210,"filename":"image_26112025_00_16_59_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/26/1239a9d81efec3fc2a9a9a33696cd8d9.jpg","text":"TemporaryFile(/tmp/multipartBody6657491056068305772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114364210,"filename":"image_26112025_00_17_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/26/5b2912fd5250256b04ede84e574cd249.jpg","text":"TemporaryFile(/tmp/multipartBody550167330390447073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114364210,"filename":"image_26112025_00_16_55_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396162264","file1":"1396162197","file0":"1396162186","file4":"1396162361","file5":"1396162420","file3":"1396162324"},"map_files_photo_id_array":[{"photo_id":"1396162420","filename":"file5"},{"photo_id":"1396162264","filename":"file2"},{"photo_id":"1396162361","filename":"file4"},{"photo_id":"1396162197","filename":"file1"},{"photo_id":"1396162186","filename":"file0"},{"photo_id":"1396162324","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396162420":["hashtag1","hashtag2"]},{"1396162264":["hashtag1","hashtag2"]},{"1396162324":["hashtag1","hashtag2"]},{"1396162197":["hashtag1","hashtag2"]},{"1396162361":["hashtag1","hashtag2"]},{"1396162186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396162420, 1396162264, 1396162324, 1396162197, 1396162361, 1396162186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59217143058777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 00:45:42.731992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_14_2774.jpg', '/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_16_2566.jpg', '/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_20_3787.jpg', '/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_23_2771.jpg', '/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_26_2805.jpg', '/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_28_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_14_2774.jpg
/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_16_2566.jpg
/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_20_3787.jpg
/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_23_2771.jpg
/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_26_2805.jpg
/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_28_2630.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":["1396162645","1396162753","1396162605","1396162682","1396162790","1396162718"],"photo_ids_order":["1396162605","1396162645","1396162682","1396162718","1396162753","1396162790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9e2c037288ef87fb5ec7dae59281e1ad.jpg","text":"TemporaryFile(/tmp/multipartBody1511389997889131764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114403406,"filename":"image_26112025_00_17_16_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/26/a23da42b32403dbef1e61baace17c396.jpg","text":"TemporaryFile(/tmp/multipartBody699501171192055548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114403406,"filename":"image_26112025_00_17_26_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/26/2cfa72562e226491252b84559a558787.jpg","text":"TemporaryFile(/tmp/multipartBody3518044566306312894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114403406,"filename":"image_26112025_00_17_14_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/26/5f7e38eeb2a4cc30156be2b7385aba03.jpg","text":"TemporaryFile(/tmp/multipartBody2960715682315102271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114403406,"filename":"image_26112025_00_17_20_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/26/bccd7549f61b484588961edcc9dd1762.jpg","text":"TemporaryFile(/tmp/multipartBody2009441093103460612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114403406,"filename":"image_26112025_00_17_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/26/ebab4f99c6510486773e142804d4d63c.jpg","text":"TemporaryFile(/tmp/multipartBody997920849408955019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114403406,"filename":"image_26112025_00_17_23_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396162682","file1":"1396162645","file0":"1396162605","file4":"1396162753","file5":"1396162790","file3":"1396162718"},"map_files_photo_id_array":[{"photo_id":"1396162790","filename":"file5"},{"photo_id":"1396162682","filename":"file2"},{"photo_id":"1396162753","filename":"file4"},{"photo_id":"1396162645","filename":"file1"},{"photo_id":"1396162605","filename":"file0"},{"photo_id":"1396162718","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396162645":["hashtag1","hashtag2"]},{"1396162753":["hashtag1","hashtag2"]},{"1396162605":["hashtag1","hashtag2"]},{"1396162682":["hashtag1","hashtag2"]},{"1396162790":["hashtag1","hashtag2"]},{"1396162718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396162645, 1396162753, 1396162605, 1396162682, 1396162790, 1396162718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.611724615097046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:46:21.937912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_32_3574.jpg', '/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_35_2643.jpg', '/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_41_3724.jpg', '/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_44_2643.jpg', '/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_46_2698.jpg', '/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_50_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_32_3574.jpg
/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_35_2643.jpg
/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_41_3724.jpg
/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_44_2643.jpg
/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_46_2698.jpg
/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_50_3658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396163023","1396163026","1396163022","1396162943","1396163020","1396162987"],"photo_ids_order":["1396162943","1396162987","1396163020","1396163022","1396163023","1396163026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e17b5c2fa977b52d7b557f1517757fab.jpg","text":"TemporaryFile(/tmp/multipartBody3738026083052204161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114442632,"filename":"image_26112025_00_17_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/26/d69470a1d636195e74c3b2be31ed3a6f.jpg","text":"TemporaryFile(/tmp/multipartBody3493704318725288983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114442632,"filename":"image_26112025_00_17_50_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/26/1a0cdc50c078a988b9b44bac0ad0f7db.jpg","text":"TemporaryFile(/tmp/multipartBody2872488722021616681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114442632,"filename":"image_26112025_00_17_44_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/26/4e0bbaced4bb047e23c44cd45cc03794.jpg","text":"TemporaryFile(/tmp/multipartBody3289328116553125716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114442632,"filename":"image_26112025_00_17_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/26/39c61e42913144771e739637ef8da181.jpg","text":"TemporaryFile(/tmp/multipartBody345662969798478742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114442632,"filename":"image_26112025_00_17_41_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/26/699303ad404041bcbe0620144a4b02dc.jpg","text":"TemporaryFile(/tmp/multipartBody7943046109853189503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114442632,"filename":"image_26112025_00_17_35_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396163020","file1":"1396162987","file0":"1396162943","file4":"1396163023","file5":"1396163026","file3":"1396163022"},"map_files_photo_id_array":[{"photo_id":"1396163026","filename":"file5"},{"photo_id":"1396163020","filename":"file2"},{"photo_id":"1396163023","filename":"file4"},{"photo_id":"1396162987","filename":"file1"},{"photo_id":"1396162943","filename":"file0"},{"photo_id":"1396163022","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396163023":["hashtag1","hashtag2"]},{"1396163026":["hashtag1","hashtag2"]},{"1396163022":["hashtag1","hashtag2"]},{"1396162943":["hashtag1","hashtag2"]},{"1396163020":["hashtag1","hashtag2"]},{"1396162987":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396163023, 1396163026, 1396163022, 1396162943, 1396163020, 1396162987)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.86087465286255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:47:12.155592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_53_2720.jpg', '/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_55_2565.jpg', '/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_59_3688.jpg', '/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_02_2662.jpg', '/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_04_2626.jpg', '/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_08_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_53_2720.jpg
/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_55_2565.jpg
/home/pi/Desktop/images/26112025/00/17/image_26112025_00_17_59_3688.jpg
/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_02_2662.jpg
/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_04_2626.jpg
/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_08_3618.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":["1396163044","1396163139","1396163099","1396163060","1396163042","1396163179"],"photo_ids_order":["1396163042","1396163044","1396163060","1396163099","1396163139","1396163179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/73dfefcbb8986bcc02e66547c4000c45.jpg","text":"TemporaryFile(/tmp/multipartBody7076575858250931943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114492849,"filename":"image_26112025_00_17_55_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/26/ca82540aa7722d48c459732c32a044b3.jpg","text":"TemporaryFile(/tmp/multipartBody5082235976552859481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114492849,"filename":"image_26112025_00_18_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/26/fc1160e57cef88dc684e4dd9b585ceb0.jpg","text":"TemporaryFile(/tmp/multipartBody7695030176384737513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114492849,"filename":"image_26112025_00_18_02_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/26/70a9410bf46c76633190a4721c731618.jpg","text":"TemporaryFile(/tmp/multipartBody6864493093272599478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114492849,"filename":"image_26112025_00_17_59_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/26/2b63753703d1795d6af8af1a11c2491e.jpg","text":"TemporaryFile(/tmp/multipartBody1594752810152294936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114492849,"filename":"image_26112025_00_17_53_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/26/a913c3511ffc9aa70ab272f3be337854.jpg","text":"TemporaryFile(/tmp/multipartBody1945521297201765946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114492849,"filename":"image_26112025_00_18_08_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396163060","file1":"1396163044","file0":"1396163042","file4":"1396163139","file5":"1396163179","file3":"1396163099"},"map_files_photo_id_array":[{"photo_id":"1396163179","filename":"file5"},{"photo_id":"1396163060","filename":"file2"},{"photo_id":"1396163139","filename":"file4"},{"photo_id":"1396163044","filename":"file1"},{"photo_id":"1396163042","filename":"file0"},{"photo_id":"1396163099","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396163044":["hashtag1","hashtag2"]},{"1396163139":["hashtag1","hashtag2"]},{"1396163099":["hashtag1","hashtag2"]},{"1396163060":["hashtag1","hashtag2"]},{"1396163042":["hashtag1","hashtag2"]},{"1396163179":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396163044, 1396163139, 1396163099, 1396163060, 1396163042, 1396163179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.157262325286865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:48:02.821409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_11_2660.jpg', '/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_14_3569.jpg', '/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_17_2592.jpg', '/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_19_2530.jpg', '/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_23_3709.jpg', '/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_26_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_11_2660.jpg
/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_14_3569.jpg
/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_17_2592.jpg
/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_19_2530.jpg
/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_23_3709.jpg
/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_26_2595.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":["1396163305","1396163376","1396163328","1396163387","1396163356","1396163326"],"photo_ids_order":["1396163305","1396163326","1396163328","1396163356","1396163376","1396163387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ae01b87963c35406d3d0edfeee91e1df.jpg","text":"TemporaryFile(/tmp/multipartBody4491552003961134140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114543591,"filename":"image_26112025_00_18_11_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/26/34f9b177633659a3d96f96acf339d42f.jpg","text":"TemporaryFile(/tmp/multipartBody5032922587816792333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114543591,"filename":"image_26112025_00_18_23_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/715d565bda9220821ba379d8dc8852d1.jpg","text":"TemporaryFile(/tmp/multipartBody4916838299062770255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114543591,"filename":"image_26112025_00_18_17_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/26/3a374a88cc446451e3e1878d6c28a54f.jpg","text":"TemporaryFile(/tmp/multipartBody4507746487283642005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114543591,"filename":"image_26112025_00_18_26_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/26/1e96a922b694dc9c85cf7ff60a2c2f0b.jpg","text":"TemporaryFile(/tmp/multipartBody3345594413467151528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114543591,"filename":"image_26112025_00_18_19_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/26/9f9a0adbf010f4cf998d38ab56a235bc.jpg","text":"TemporaryFile(/tmp/multipartBody2124715828147201884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114543591,"filename":"image_26112025_00_18_14_3569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396163328","file1":"1396163326","file0":"1396163305","file4":"1396163376","file5":"1396163387","file3":"1396163356"},"map_files_photo_id_array":[{"photo_id":"1396163387","filename":"file5"},{"photo_id":"1396163328","filename":"file2"},{"photo_id":"1396163376","filename":"file4"},{"photo_id":"1396163326","filename":"file1"},{"photo_id":"1396163305","filename":"file0"},{"photo_id":"1396163356","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396163305":["hashtag1","hashtag2"]},{"1396163376":["hashtag1","hashtag2"]},{"1396163328":["hashtag1","hashtag2"]},{"1396163387":["hashtag1","hashtag2"]},{"1396163356":["hashtag1","hashtag2"]},{"1396163326":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396163305, 1396163376, 1396163328, 1396163387, 1396163356, 1396163326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.158085346221924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 00:48:42.371897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_28_2707.jpg', '/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_32_3771.jpg', '/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_35_2714.jpg', '/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_38_2788.jpg', '/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_41_3561.jpg', '/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_44_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_28_2707.jpg
/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_32_3771.jpg
/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_35_2714.jpg
/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_38_2788.jpg
/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_41_3561.jpg
/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_44_2613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396163404","1396163397","1396163396","1396163393","1396163414","1396163395"],"photo_ids_order":["1396163393","1396163395","1396163396","1396163397","1396163404","1396163414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f4da5294634410d5700feee8504a43a7.jpg","text":"TemporaryFile(/tmp/multipartBody6723842930099808707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114583097,"filename":"image_26112025_00_18_41_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/26/6c5f28c89892da8123a9eecd46329bac.jpg","text":"TemporaryFile(/tmp/multipartBody388631889686251467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114583097,"filename":"image_26112025_00_18_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/26/9a6fdc3510b0117300f0c190d73de585.jpg","text":"TemporaryFile(/tmp/multipartBody1590763057078218000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114583097,"filename":"image_26112025_00_18_35_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/26/6ce413b638784e8b12c86f66ece45931.jpg","text":"TemporaryFile(/tmp/multipartBody7725790276063681923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114583097,"filename":"image_26112025_00_18_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/26/adca820211b6b5861c81b5b50f18d7d1.jpg","text":"TemporaryFile(/tmp/multipartBody5058414513307241105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114583097,"filename":"image_26112025_00_18_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/26/ee3a85296b42c01353833e4e2a4cbdc8.jpg","text":"TemporaryFile(/tmp/multipartBody4700294868178902779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114583097,"filename":"image_26112025_00_18_32_3771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396163396","file1":"1396163395","file0":"1396163393","file4":"1396163404","file5":"1396163414","file3":"1396163397"},"map_files_photo_id_array":[{"photo_id":"1396163414","filename":"file5"},{"photo_id":"1396163396","filename":"file2"},{"photo_id":"1396163404","filename":"file4"},{"photo_id":"1396163395","filename":"file1"},{"photo_id":"1396163393","filename":"file0"},{"photo_id":"1396163397","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396163404":["hashtag1","hashtag2"]},{"1396163397":["hashtag1","hashtag2"]},{"1396163396":["hashtag1","hashtag2"]},{"1396163393":["hashtag1","hashtag2"]},{"1396163414":["hashtag1","hashtag2"]},{"1396163395":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396163404, 1396163397, 1396163396, 1396163393, 1396163414, 1396163395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61723589897156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:49:22.461422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_46_2729.jpg', '/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_50_3539.jpg', '/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_53_2661.jpg', '/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_59_3666.jpg', '/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_02_2656.jpg', '/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_04_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_46_2729.jpg
/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_50_3539.jpg
/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_53_2661.jpg
/home/pi/Desktop/images/26112025/00/18/image_26112025_00_18_59_3666.jpg
/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_02_2656.jpg
/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_04_2666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396163571","1396163493","1396163531","1396163447","1396163609","1396163644"],"photo_ids_order":["1396163447","1396163493","1396163531","1396163571","1396163609","1396163644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3ea778e091e940c299118cfc9ef71ca7.jpg","text":"TemporaryFile(/tmp/multipartBody2907268190359557733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114623146,"filename":"image_26112025_00_18_59_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/26/4db19b729a88bfa5083b2d7af1cbf432.jpg","text":"TemporaryFile(/tmp/multipartBody3049871292460790476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114623146,"filename":"image_26112025_00_18_50_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/26/1a83842b82b22f84346249e7332c2c05.jpg","text":"TemporaryFile(/tmp/multipartBody9100004734435443622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114623146,"filename":"image_26112025_00_18_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/26/ff4bf6d97f1105fbd99666a21f52b13a.jpg","text":"TemporaryFile(/tmp/multipartBody3472714964841515378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114623146,"filename":"image_26112025_00_18_46_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/26/57b7c810f4eaf2b2c0f47634fa4fb967.jpg","text":"TemporaryFile(/tmp/multipartBody183773761933493724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114623146,"filename":"image_26112025_00_19_02_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/26/c85fd88146a6eacd56415a7e90485659.jpg","text":"TemporaryFile(/tmp/multipartBody5286054968225599925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114623146,"filename":"image_26112025_00_19_04_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396163531","file1":"1396163493","file0":"1396163447","file4":"1396163609","file5":"1396163644","file3":"1396163571"},"map_files_photo_id_array":[{"photo_id":"1396163644","filename":"file5"},{"photo_id":"1396163531","filename":"file2"},{"photo_id":"1396163609","filename":"file4"},{"photo_id":"1396163493","filename":"file1"},{"photo_id":"1396163447","filename":"file0"},{"photo_id":"1396163571","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396163571":["hashtag1","hashtag2"]},{"1396163493":["hashtag1","hashtag2"]},{"1396163531":["hashtag1","hashtag2"]},{"1396163447":["hashtag1","hashtag2"]},{"1396163609":["hashtag1","hashtag2"]},{"1396163644":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396163571, 1396163493, 1396163531, 1396163447, 1396163609, 1396163644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.541908502578735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:50:03.128674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_08_3673.jpg', '/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_11_2700.jpg', '/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_14_3507.jpg', '/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_17_2823.jpg', '/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_20_2677.jpg', '/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_22_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_08_3673.jpg
/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_11_2700.jpg
/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_14_3507.jpg
/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_17_2823.jpg
/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_20_2677.jpg
/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_22_2596.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":["1396163994","1396163913","1396163951","1396163804","1396163761","1396163863"],"photo_ids_order":["1396163761","1396163804","1396163863","1396163913","1396163951","1396163994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/588c0c243ba1d01244e4098661d1293f.jpg","text":"TemporaryFile(/tmp/multipartBody344670699903251851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114663913,"filename":"image_26112025_00_19_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/26/51d402f0dee933bb25f99bad5cc51e49.jpg","text":"TemporaryFile(/tmp/multipartBody1756474854346293252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114663913,"filename":"image_26112025_00_19_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/26/15a29d076884476eb62541fe51d45f8d.jpg","text":"TemporaryFile(/tmp/multipartBody3368311494306949377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114663913,"filename":"image_26112025_00_19_20_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/26/baa6f40b599a7712b2379a2d078c39ba.jpg","text":"TemporaryFile(/tmp/multipartBody9130503731414143437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114663913,"filename":"image_26112025_00_19_11_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/26/92e8f000df33f4b3d72bbd54d1111e47.jpg","text":"TemporaryFile(/tmp/multipartBody2852462822930740030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114663913,"filename":"image_26112025_00_19_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/26/18ae983e64eb814e1f04beb5a88a618e.jpg","text":"TemporaryFile(/tmp/multipartBody997076189526784147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114663913,"filename":"image_26112025_00_19_14_3507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396163863","file1":"1396163804","file0":"1396163761","file4":"1396163951","file5":"1396163994","file3":"1396163913"},"map_files_photo_id_array":[{"photo_id":"1396163994","filename":"file5"},{"photo_id":"1396163863","filename":"file2"},{"photo_id":"1396163951","filename":"file4"},{"photo_id":"1396163804","filename":"file1"},{"photo_id":"1396163761","filename":"file0"},{"photo_id":"1396163913","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396163994":["hashtag1","hashtag2"]},{"1396163913":["hashtag1","hashtag2"]},{"1396163951":["hashtag1","hashtag2"]},{"1396163804":["hashtag1","hashtag2"]},{"1396163761":["hashtag1","hashtag2"]},{"1396163863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396163994, 1396163913, 1396163951, 1396163804, 1396163761, 1396163863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38272500038147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 00:50:42.700396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_26_3595.jpg', '/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_28_2658.jpg', '/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_31_2645.jpg', '/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_35_3722.jpg', '/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_38_2757.jpg', '/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_40_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_26_3595.jpg
/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_28_2658.jpg
/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_31_2645.jpg
/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_35_3722.jpg
/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_38_2757.jpg
/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_40_2600.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":["1396164258","1396164296","1396164158","1396164341","1396164212","1396164378"],"photo_ids_order":["1396164158","1396164212","1396164258","1396164296","1396164341","1396164378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a213c470abea7ebbad77e39f39b7f668.jpg","text":"TemporaryFile(/tmp/multipartBody7377477994505446552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114703459,"filename":"image_26112025_00_19_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/26/f5736fe6f528f3d7a0e17be6d4f6b300.jpg","text":"TemporaryFile(/tmp/multipartBody3491975464270701275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114703459,"filename":"image_26112025_00_19_35_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/26/07520a382b5012e924299ec829a928bf.jpg","text":"TemporaryFile(/tmp/multipartBody8756198823803897525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114703459,"filename":"image_26112025_00_19_26_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/26/8c1ffbf69336c7fb837c2ca29f8831d5.jpg","text":"TemporaryFile(/tmp/multipartBody2104751557157614091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114703459,"filename":"image_26112025_00_19_38_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/26/5f19ec2f3bc235c546b5ab72fedbc5c3.jpg","text":"TemporaryFile(/tmp/multipartBody7926863443557450995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114703459,"filename":"image_26112025_00_19_28_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/26/de20c4d9dfc23578a08b54b6f3ee6e88.jpg","text":"TemporaryFile(/tmp/multipartBody8768846252313531184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114703459,"filename":"image_26112025_00_19_40_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396164258","file1":"1396164212","file0":"1396164158","file4":"1396164341","file5":"1396164378","file3":"1396164296"},"map_files_photo_id_array":[{"photo_id":"1396164378","filename":"file5"},{"photo_id":"1396164258","filename":"file2"},{"photo_id":"1396164341","filename":"file4"},{"photo_id":"1396164212","filename":"file1"},{"photo_id":"1396164158","filename":"file0"},{"photo_id":"1396164296","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396164258":["hashtag1","hashtag2"]},{"1396164296":["hashtag1","hashtag2"]},{"1396164158":["hashtag1","hashtag2"]},{"1396164341":["hashtag1","hashtag2"]},{"1396164212":["hashtag1","hashtag2"]},{"1396164378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396164258, 1396164296, 1396164158, 1396164341, 1396164212, 1396164378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21250081062317 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:51:22.007113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_44_3602.jpg', '/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_47_2754.jpg', '/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_49_2715.jpg', '/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_53_3688.jpg', '/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_56_2776.jpg', '/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_58_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_44_3602.jpg
/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_47_2754.jpg
/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_49_2715.jpg
/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_53_3688.jpg
/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_56_2776.jpg
/home/pi/Desktop/images/26112025/00/19/image_26112025_00_19_58_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396164716","1396164595","1396164512","1396164679","1396164553","1396164643"],"photo_ids_order":["1396164512","1396164553","1396164595","1396164643","1396164679","1396164716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eb5c3f313a80626e97120816e7f31795.jpg","text":"TemporaryFile(/tmp/multipartBody2389763760596858564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114742686,"filename":"image_26112025_00_19_58_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/351f795cb7000757ffc805c90457e600.jpg","text":"TemporaryFile(/tmp/multipartBody3239541857972619451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114742686,"filename":"image_26112025_00_19_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/26/d0f588fe13b0199e36691a1e735555c4.jpg","text":"TemporaryFile(/tmp/multipartBody5175318133303577410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114742686,"filename":"image_26112025_00_19_44_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/26/5a8efc28986f398690b8b18010679594.jpg","text":"TemporaryFile(/tmp/multipartBody4431540308623604630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114742686,"filename":"image_26112025_00_19_56_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/26/186136347593dd22379e71078057d15c.jpg","text":"TemporaryFile(/tmp/multipartBody4328769893714199489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114742686,"filename":"image_26112025_00_19_47_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/26/23f2875fd881d902496ed4973b2d1738.jpg","text":"TemporaryFile(/tmp/multipartBody1974319822152535030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114742686,"filename":"image_26112025_00_19_53_3688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396164595","file1":"1396164553","file0":"1396164512","file4":"1396164679","file5":"1396164716","file3":"1396164643"},"map_files_photo_id_array":[{"photo_id":"1396164716","filename":"file5"},{"photo_id":"1396164595","filename":"file2"},{"photo_id":"1396164679","filename":"file4"},{"photo_id":"1396164553","filename":"file1"},{"photo_id":"1396164512","filename":"file0"},{"photo_id":"1396164643","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396164716":["hashtag1","hashtag2"]},{"1396164595":["hashtag1","hashtag2"]},{"1396164512":["hashtag1","hashtag2"]},{"1396164679":["hashtag1","hashtag2"]},{"1396164553":["hashtag1","hashtag2"]},{"1396164643":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396164716, 1396164595, 1396164512, 1396164679, 1396164553, 1396164643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.600924491882324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:52:02.859529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_01_2685.jpg', '/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_05_3719.jpg', '/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_07_2632.jpg', '/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_11_3564.jpg', '/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_14_2565.jpg', '/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_16_2805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_01_2685.jpg
/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_05_3719.jpg
/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_07_2632.jpg
/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_11_3564.jpg
/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_14_2565.jpg
/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_16_2805.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":["1396164896","1396164900","1396164869","1396164902","1396164898","1396164894"],"photo_ids_order":["1396164869","1396164894","1396164896","1396164898","1396164900","1396164902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9c13d723faa1c801bf2ec779aa3d3403.jpg","text":"TemporaryFile(/tmp/multipartBody3386865575330005856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114783594,"filename":"image_26112025_00_20_07_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/26/e918160bc40f43e293f60be17f602fc6.jpg","text":"TemporaryFile(/tmp/multipartBody616079354759511326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114783594,"filename":"image_26112025_00_20_14_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/26/24a2c734e8c4c0eeba9c731f40943061.jpg","text":"TemporaryFile(/tmp/multipartBody4349303310901036739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114783594,"filename":"image_26112025_00_20_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/26/1f2dd80d278330151cba7e3c1c48e335.jpg","text":"TemporaryFile(/tmp/multipartBody8252356759749718030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114783594,"filename":"image_26112025_00_20_16_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/26/d41041bcbc40dc8a1f97c29d1b91390d.jpg","text":"TemporaryFile(/tmp/multipartBody8967282801207915495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114783594,"filename":"image_26112025_00_20_11_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/26/3b2fc7e1dcb8051f9d16a6aefda960fd.jpg","text":"TemporaryFile(/tmp/multipartBody8690843848727399270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114783594,"filename":"image_26112025_00_20_05_3719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396164896","file1":"1396164894","file0":"1396164869","file4":"1396164900","file5":"1396164902","file3":"1396164898"},"map_files_photo_id_array":[{"photo_id":"1396164902","filename":"file5"},{"photo_id":"1396164896","filename":"file2"},{"photo_id":"1396164900","filename":"file4"},{"photo_id":"1396164894","filename":"file1"},{"photo_id":"1396164869","filename":"file0"},{"photo_id":"1396164898","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396164896":["hashtag1","hashtag2"]},{"1396164900":["hashtag1","hashtag2"]},{"1396164869":["hashtag1","hashtag2"]},{"1396164902":["hashtag1","hashtag2"]},{"1396164898":["hashtag1","hashtag2"]},{"1396164894":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396164896, 1396164900, 1396164869, 1396164902, 1396164898, 1396164894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32615399360657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 00:52:42.269692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_20_3519.jpg', '/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_23_2686.jpg', '/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_25_2899.jpg', '/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_28_2545.jpg', '/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_32_3737.jpg', '/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_38_3684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_20_3519.jpg
/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_23_2686.jpg
/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_25_2899.jpg
/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_28_2545.jpg
/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_32_3737.jpg
/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_38_3684.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":["1396164909","1396165010","1396164970","1396164931","1396164907","1396165053"],"photo_ids_order":["1396164907","1396164909","1396164931","1396164970","1396165010","1396165053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/48e0758da7334c5044f8c764d5c8264e.jpg","text":"TemporaryFile(/tmp/multipartBody6080711987210940174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114823045,"filename":"image_26112025_00_20_23_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/26/a6696b2d8c5e44905dc5984db589fe89.jpg","text":"TemporaryFile(/tmp/multipartBody1645855912737982727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114823045,"filename":"image_26112025_00_20_32_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/26/a0aca40fdf329ebce62e1a926a2e23a0.jpg","text":"TemporaryFile(/tmp/multipartBody7082773272395687625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114823045,"filename":"image_26112025_00_20_28_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c8b7ddcb0acddae054714093b8d09882.jpg","text":"TemporaryFile(/tmp/multipartBody5322409158101076839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114823045,"filename":"image_26112025_00_20_25_2899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/877c7b8c31d0a37f5c83bf4d65c4acd5.jpg","text":"TemporaryFile(/tmp/multipartBody1675490237195751335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114823045,"filename":"image_26112025_00_20_20_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/26/3324ce1e2db92fad8ab0ed3a9e58effd.jpg","text":"TemporaryFile(/tmp/multipartBody3607691020301289136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114823045,"filename":"image_26112025_00_20_38_3684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396164931","file1":"1396164909","file0":"1396164907","file4":"1396165010","file5":"1396165053","file3":"1396164970"},"map_files_photo_id_array":[{"photo_id":"1396165053","filename":"file5"},{"photo_id":"1396164931","filename":"file2"},{"photo_id":"1396165010","filename":"file4"},{"photo_id":"1396164909","filename":"file1"},{"photo_id":"1396164907","filename":"file0"},{"photo_id":"1396164970","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396164909":["hashtag1","hashtag2"]},{"1396165010":["hashtag1","hashtag2"]},{"1396164970":["hashtag1","hashtag2"]},{"1396164931":["hashtag1","hashtag2"]},{"1396164907":["hashtag1","hashtag2"]},{"1396165053":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396164909, 1396165010, 1396164970, 1396164931, 1396164907, 1396165053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.282501459121704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:53:22.498040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_41_2615.jpg', '/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_43_2736.jpg', '/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_47_3622.jpg', '/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_50_2572.jpg', '/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_52_2501.jpg', '/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_56_3813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_41_2615.jpg
/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_43_2736.jpg
/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_47_3622.jpg
/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_50_2572.jpg
/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_52_2501.jpg
/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_56_3813.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":["1396165206","1396165139","1396165171","1396165189","1396165191","1396165239"],"photo_ids_order":["1396165139","1396165171","1396165189","1396165191","1396165206","1396165239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ed43d4f2c2debec8a7f48ab32665c696.jpg","text":"TemporaryFile(/tmp/multipartBody341389724976419560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114863194,"filename":"image_26112025_00_20_52_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/26/c17219894e2ea98f0b69f110c7ccdd32.jpg","text":"TemporaryFile(/tmp/multipartBody4711066296643722610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114863194,"filename":"image_26112025_00_20_41_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/26/b63f439e66619d1840b6ade66f3698e2.jpg","text":"TemporaryFile(/tmp/multipartBody1328943613498405703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114863194,"filename":"image_26112025_00_20_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/26/e9762a9a945d5847301776c064483cd5.jpg","text":"TemporaryFile(/tmp/multipartBody6876142237588733715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114863194,"filename":"image_26112025_00_20_47_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/26/2f547ad28e49aa59dde8730fed9228c0.jpg","text":"TemporaryFile(/tmp/multipartBody6166180593609378031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114863194,"filename":"image_26112025_00_20_50_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/26/8c8f54f6c84543165ebee8053efddc21.jpg","text":"TemporaryFile(/tmp/multipartBody415020576668532369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114863194,"filename":"image_26112025_00_20_56_3813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396165189","file1":"1396165171","file0":"1396165139","file4":"1396165206","file5":"1396165239","file3":"1396165191"},"map_files_photo_id_array":[{"photo_id":"1396165239","filename":"file5"},{"photo_id":"1396165189","filename":"file2"},{"photo_id":"1396165206","filename":"file4"},{"photo_id":"1396165171","filename":"file1"},{"photo_id":"1396165139","filename":"file0"},{"photo_id":"1396165191","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396165206":["hashtag1","hashtag2"]},{"1396165139":["hashtag1","hashtag2"]},{"1396165171":["hashtag1","hashtag2"]},{"1396165189":["hashtag1","hashtag2"]},{"1396165191":["hashtag1","hashtag2"]},{"1396165239":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396165206, 1396165139, 1396165171, 1396165189, 1396165191, 1396165239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.750927686691284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:54:03.401166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_58_2486.jpg', '/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_02_3556.jpg', '/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_05_2775.jpg', '/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_07_2710.jpg', '/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_10_2681.jpg', '/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_14_3641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/20/image_26112025_00_20_58_2486.jpg
/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_02_3556.jpg
/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_05_2775.jpg
/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_07_2710.jpg
/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_10_2681.jpg
/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_14_3641.jpg
 val : 1 : upload photos already in processing! 
 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":["1396165250","1396165252","1396165261","1396165255","1396165249","1396165258"],"photo_ids_order":["1396165249","1396165250","1396165252","1396165255","1396165258","1396165261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/196b83ad7290034b910b5f409afb2299.jpg","text":"TemporaryFile(/tmp/multipartBody6617260858498753563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114904266,"filename":"image_26112025_00_21_02_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/26/adfdad5a18f04c7ce062f821ba28fad3.jpg","text":"TemporaryFile(/tmp/multipartBody2149874852188491502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114904266,"filename":"image_26112025_00_21_05_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/26/c0ef7910a9b152c61c21fab0fd83e708.jpg","text":"TemporaryFile(/tmp/multipartBody7501307588006378658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114904266,"filename":"image_26112025_00_21_14_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/26/2047c4b42666e1b0534022f23e684a1f.jpg","text":"TemporaryFile(/tmp/multipartBody1324801738330233531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114904266,"filename":"image_26112025_00_21_07_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/26/662fbd02a9fe36154eb8c0182b874d71.jpg","text":"TemporaryFile(/tmp/multipartBody6591152706049141274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114904266,"filename":"image_26112025_00_20_58_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/26/4bafa9dfe2bc91b1005e81ecde2f9800.jpg","text":"TemporaryFile(/tmp/multipartBody5920182899710260447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114904266,"filename":"image_26112025_00_21_10_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396165252","file1":"1396165250","file0":"1396165249","file4":"1396165258","file5":"1396165261","file3":"1396165255"},"map_files_photo_id_array":[{"photo_id":"1396165261","filename":"file5"},{"photo_id":"1396165252","filename":"file2"},{"photo_id":"1396165258","filename":"file4"},{"photo_id":"1396165250","filename":"file1"},{"photo_id":"1396165249","filename":"file0"},{"photo_id":"1396165255","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396165250":["hashtag1","hashtag2"]},{"1396165252":["hashtag1","hashtag2"]},{"1396165261":["hashtag1","hashtag2"]},{"1396165255":["hashtag1","hashtag2"]},{"1396165249":["hashtag1","hashtag2"]},{"1396165258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396165250, 1396165252, 1396165261, 1396165255, 1396165249, 1396165258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.760538816452026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:55:02.771304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_16_2604.jpg', '/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_19_2633.jpg', '/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_23_3727.jpg', '/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_25_2668.jpg', '/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_29_3546.jpg', '/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_32_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_16_2604.jpg
/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_19_2633.jpg
/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_23_3727.jpg
/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_25_2668.jpg
/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_29_3546.jpg
/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_32_2710.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":["1396165271","1396165279","1396165296","1396165281","1396165287","1396165272"],"photo_ids_order":["1396165271","1396165272","1396165279","1396165281","1396165287","1396165296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e13c32467ce6fd37c1429154416a3b7b.jpg","text":"TemporaryFile(/tmp/multipartBody7929660841966713785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114963631,"filename":"image_26112025_00_21_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/26/4939ac38d60ddc068f17ed0cc6cc6e72.jpg","text":"TemporaryFile(/tmp/multipartBody3462854853775374627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114963631,"filename":"image_26112025_00_21_23_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/26/3e14034e28f2e8ecb3d20ded5a51f72f.jpg","text":"TemporaryFile(/tmp/multipartBody1828605940646863327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114963631,"filename":"image_26112025_00_21_32_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/26/faf8045353398931da4be42a5b658116.jpg","text":"TemporaryFile(/tmp/multipartBody7837545699890820602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114963631,"filename":"image_26112025_00_21_25_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4ba3e3f4f0d1a10788c31b814be72537.jpg","text":"TemporaryFile(/tmp/multipartBody2304093716179448525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114963631,"filename":"image_26112025_00_21_29_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/26/4522ec8c0a29523091e08842c30b57a4.jpg","text":"TemporaryFile(/tmp/multipartBody2031633342418776714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764114963631,"filename":"image_26112025_00_21_19_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396165279","file1":"1396165272","file0":"1396165271","file4":"1396165287","file5":"1396165296","file3":"1396165281"},"map_files_photo_id_array":[{"photo_id":"1396165296","filename":"file5"},{"photo_id":"1396165279","filename":"file2"},{"photo_id":"1396165287","filename":"file4"},{"photo_id":"1396165272","filename":"file1"},{"photo_id":"1396165271","filename":"file0"},{"photo_id":"1396165281","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396165271":["hashtag1","hashtag2"]},{"1396165279":["hashtag1","hashtag2"]},{"1396165296":["hashtag1","hashtag2"]},{"1396165281":["hashtag1","hashtag2"]},{"1396165287":["hashtag1","hashtag2"]},{"1396165272":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396165271, 1396165279, 1396165296, 1396165281, 1396165287, 1396165272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28946852684021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 00:55:42.108800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_34_2548.jpg', '/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_38_3551.jpg', '/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_40_2806.jpg', '/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_43_2567.jpg', '/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_47_3750.jpg', '/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_50_2861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_34_2548.jpg
/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_38_3551.jpg
/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_40_2806.jpg
/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_43_2567.jpg
/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_47_3750.jpg
/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_50_2861.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":["1396165314","1396165302","1396165305","1396165307","1396165316","1396165312"],"photo_ids_order":["1396165302","1396165305","1396165307","1396165312","1396165314","1396165316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/89322f48eed00ffea71b5685020ac843.jpg","text":"TemporaryFile(/tmp/multipartBody2040614296633920735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115002860,"filename":"image_26112025_00_21_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/26/e2b9e89b8721311ee1a174b2064a40ac.jpg","text":"TemporaryFile(/tmp/multipartBody4422421632186883973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115002860,"filename":"image_26112025_00_21_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/26/3bcdce1f117b3e0da949973de7537b78.jpg","text":"TemporaryFile(/tmp/multipartBody1582483301246516089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115002860,"filename":"image_26112025_00_21_38_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/26/21b562106ae7a02ea770a2684db4b917.jpg","text":"TemporaryFile(/tmp/multipartBody386682446618056548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115002860,"filename":"image_26112025_00_21_40_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/26/2f85c12fcf198351693fafc69dc4b464.jpg","text":"TemporaryFile(/tmp/multipartBody4559229767919367439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115002860,"filename":"image_26112025_00_21_50_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/26/99924e84479596266f613a0716239edf.jpg","text":"TemporaryFile(/tmp/multipartBody5708015909003760857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115002860,"filename":"image_26112025_00_21_43_2567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396165307","file1":"1396165305","file0":"1396165302","file4":"1396165314","file5":"1396165316","file3":"1396165312"},"map_files_photo_id_array":[{"photo_id":"1396165316","filename":"file5"},{"photo_id":"1396165307","filename":"file2"},{"photo_id":"1396165314","filename":"file4"},{"photo_id":"1396165305","filename":"file1"},{"photo_id":"1396165302","filename":"file0"},{"photo_id":"1396165312","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396165314":["hashtag1","hashtag2"]},{"1396165302":["hashtag1","hashtag2"]},{"1396165305":["hashtag1","hashtag2"]},{"1396165307":["hashtag1","hashtag2"]},{"1396165316":["hashtag1","hashtag2"]},{"1396165312":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396165314, 1396165302, 1396165305, 1396165307, 1396165316, 1396165312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91000819206238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 00:56:22.379154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_52_2708.jpg', '/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_55_2490.jpg', '/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_59_3781.jpg', '/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_01_2579.jpg', '/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_05_3602.jpg', '/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_08_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_52_2708.jpg
/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_55_2490.jpg
/home/pi/Desktop/images/26112025/00/21/image_26112025_00_21_59_3781.jpg
/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_01_2579.jpg
/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_05_3602.jpg
/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_08_2679.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":["1396165320","1396165370","1396165453","1396165408","1396165321","1396165326"],"photo_ids_order":["1396165320","1396165321","1396165326","1396165370","1396165408","1396165453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4f0516acee6c211651892c5ae238a389.jpg","text":"TemporaryFile(/tmp/multipartBody5967922091668563009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115043128,"filename":"image_26112025_00_21_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/26/22e99d90e64c18a12188c75e0c12db1a.jpg","text":"TemporaryFile(/tmp/multipartBody8670321693318894322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115043128,"filename":"image_26112025_00_22_01_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/26/cb9f849192ddd7fe21e98eb0b6718d53.jpg","text":"TemporaryFile(/tmp/multipartBody3006135473699260405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115043128,"filename":"image_26112025_00_22_08_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/26/25717c2b5869db546fc438fd5982182d.jpg","text":"TemporaryFile(/tmp/multipartBody4603902892238888028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115043128,"filename":"image_26112025_00_22_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/26/3df2e4c7e9c4b6ed65fe67e1f00e25ab.jpg","text":"TemporaryFile(/tmp/multipartBody94706792492519077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115043128,"filename":"image_26112025_00_21_55_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/26/c09aaad0a8478c1c4a6b8645e310908a.jpg","text":"TemporaryFile(/tmp/multipartBody338366231426201254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115043128,"filename":"image_26112025_00_21_59_3781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396165326","file1":"1396165321","file0":"1396165320","file4":"1396165408","file5":"1396165453","file3":"1396165370"},"map_files_photo_id_array":[{"photo_id":"1396165453","filename":"file5"},{"photo_id":"1396165326","filename":"file2"},{"photo_id":"1396165408","filename":"file4"},{"photo_id":"1396165321","filename":"file1"},{"photo_id":"1396165320","filename":"file0"},{"photo_id":"1396165370","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396165320":["hashtag1","hashtag2"]},{"1396165370":["hashtag1","hashtag2"]},{"1396165453":["hashtag1","hashtag2"]},{"1396165408":["hashtag1","hashtag2"]},{"1396165321":["hashtag1","hashtag2"]},{"1396165326":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396165320, 1396165370, 1396165453, 1396165408, 1396165321, 1396165326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.768927335739136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:57:03.198964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_10_2563.jpg', '/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_14_3595.jpg', '/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_16_2577.jpg', '/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_19_2625.jpg', '/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_22_3613.jpg', '/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_25_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_10_2563.jpg
/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_14_3595.jpg
/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_16_2577.jpg
/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_19_2625.jpg
/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_22_3613.jpg
/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_25_2588.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":["1396165763","1396165802","1396165604","1396165681","1396165645","1396165722"],"photo_ids_order":["1396165604","1396165645","1396165681","1396165722","1396165763","1396165802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f6f5c50d6692a348ef9df79f10f190cc.jpg","text":"TemporaryFile(/tmp/multipartBody428931692570576654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115084099,"filename":"image_26112025_00_22_22_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/26/d05defed84dbe11961a6662d4efc153c.jpg","text":"TemporaryFile(/tmp/multipartBody537637747639634812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115084099,"filename":"image_26112025_00_22_25_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/26/0e1bee09804ec69915e392215c8e7e86.jpg","text":"TemporaryFile(/tmp/multipartBody6754022301666815989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115084099,"filename":"image_26112025_00_22_10_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/26/5bd12adcccf7778a8de439ee2df9f3b8.jpg","text":"TemporaryFile(/tmp/multipartBody1770035920386518507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115084099,"filename":"image_26112025_00_22_16_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/26/14adb9bbf7c4da3906568743a58ec0bc.jpg","text":"TemporaryFile(/tmp/multipartBody8506710920100856113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115084099,"filename":"image_26112025_00_22_14_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/26/f879ff4ba825be5036662c913b662135.jpg","text":"TemporaryFile(/tmp/multipartBody7960760320754402515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115084099,"filename":"image_26112025_00_22_19_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396165681","file1":"1396165645","file0":"1396165604","file4":"1396165763","file5":"1396165802","file3":"1396165722"},"map_files_photo_id_array":[{"photo_id":"1396165802","filename":"file5"},{"photo_id":"1396165681","filename":"file2"},{"photo_id":"1396165763","filename":"file4"},{"photo_id":"1396165645","filename":"file1"},{"photo_id":"1396165604","filename":"file0"},{"photo_id":"1396165722","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396165763":["hashtag1","hashtag2"]},{"1396165802":["hashtag1","hashtag2"]},{"1396165604":["hashtag1","hashtag2"]},{"1396165681":["hashtag1","hashtag2"]},{"1396165645":["hashtag1","hashtag2"]},{"1396165722":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396165763, 1396165802, 1396165604, 1396165681, 1396165645, 1396165722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92223620414734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 00:57:42.588767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_34_2659.jpg', '/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_38_3711.jpg', '/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_40_2594.jpg', '/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_43_2662.jpg', '/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_47_3692.jpg', '/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_49_2809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_34_2659.jpg
/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_38_3711.jpg
/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_40_2594.jpg
/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_43_2662.jpg
/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_47_3692.jpg
/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_49_2809.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396165856","1396165871","1396165853","1396165855","1396165945","1396165909"],"photo_ids_order":["1396165853","1396165855","1396165856","1396165871","1396165909","1396165945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b39fe2397256f318c9fc3bb122e79947.jpg","text":"TemporaryFile(/tmp/multipartBody595510489607659231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115123282,"filename":"image_26112025_00_22_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/26/24b5c38502cf57e13865de62be4f91c1.jpg","text":"TemporaryFile(/tmp/multipartBody117153051166648659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115123282,"filename":"image_26112025_00_22_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/26/0ab5b9aff0f1e65bd315833bc320a066.jpg","text":"TemporaryFile(/tmp/multipartBody4397989346668470627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115123282,"filename":"image_26112025_00_22_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/26/ba147d424748a175ec787089a51eb574.jpg","text":"TemporaryFile(/tmp/multipartBody2119800750119098852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115123282,"filename":"image_26112025_00_22_38_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/26/3fd6a04d057a6c42e1eeffdf5b814c2e.jpg","text":"TemporaryFile(/tmp/multipartBody2106196241243414619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115123282,"filename":"image_26112025_00_22_49_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/26/bb10ff62fd2c9d9aeddf559f320c8d10.jpg","text":"TemporaryFile(/tmp/multipartBody474174618760261075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115123282,"filename":"image_26112025_00_22_47_3692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396165856","file1":"1396165855","file0":"1396165853","file4":"1396165909","file5":"1396165945","file3":"1396165871"},"map_files_photo_id_array":[{"photo_id":"1396165945","filename":"file5"},{"photo_id":"1396165856","filename":"file2"},{"photo_id":"1396165909","filename":"file4"},{"photo_id":"1396165855","filename":"file1"},{"photo_id":"1396165853","filename":"file0"},{"photo_id":"1396165871","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396165856":["hashtag1","hashtag2"]},{"1396165871":["hashtag1","hashtag2"]},{"1396165853":["hashtag1","hashtag2"]},{"1396165855":["hashtag1","hashtag2"]},{"1396165945":["hashtag1","hashtag2"]},{"1396165909":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396165856, 1396165871, 1396165853, 1396165855, 1396165945, 1396165909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67721223831177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 00:59:02.982858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_56_3660.jpg', '/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_58_2605.jpg', '/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_01_2573.jpg', '/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_04_2818.jpg', '/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_14_3754.jpg', '/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_16_2873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_56_3660.jpg
/home/pi/Desktop/images/26112025/00/22/image_26112025_00_22_58_2605.jpg
/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_01_2573.jpg
/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_04_2818.jpg
/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_14_3754.jpg
/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_16_2873.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":["1396166294","1396166333","1396166370","1396166373","1396166367","1396166363"],"photo_ids_order":["1396166294","1396166333","1396166363","1396166367","1396166370","1396166373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d84a53f05ceefc5383ecf7839c1fe3c0.jpg","text":"TemporaryFile(/tmp/multipartBody3249239986325346304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115203880,"filename":"image_26112025_00_22_56_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/26/facf8d8cccd6877b373b455a06045249.jpg","text":"TemporaryFile(/tmp/multipartBody5470714122692842911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115203880,"filename":"image_26112025_00_22_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/26/102aa18e6370210da86622f9a8d90996.jpg","text":"TemporaryFile(/tmp/multipartBody7750064841965659044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115203880,"filename":"image_26112025_00_23_14_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/26/8baa638722e0be042b9e623558025325.jpg","text":"TemporaryFile(/tmp/multipartBody7442848389590648180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115203880,"filename":"image_26112025_00_23_16_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/26/fe39dab9961bbf9325e0aec4c6368611.jpg","text":"TemporaryFile(/tmp/multipartBody1638727047981230576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115203880,"filename":"image_26112025_00_23_04_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d6d30d045d40189e10c852ebb60a6b4a.jpg","text":"TemporaryFile(/tmp/multipartBody4313450993441766899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115203880,"filename":"image_26112025_00_23_01_2573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396166363","file1":"1396166333","file0":"1396166294","file4":"1396166370","file5":"1396166373","file3":"1396166367"},"map_files_photo_id_array":[{"photo_id":"1396166373","filename":"file5"},{"photo_id":"1396166363","filename":"file2"},{"photo_id":"1396166370","filename":"file4"},{"photo_id":"1396166333","filename":"file1"},{"photo_id":"1396166294","filename":"file0"},{"photo_id":"1396166367","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396166294":["hashtag1","hashtag2"]},{"1396166333":["hashtag1","hashtag2"]},{"1396166370":["hashtag1","hashtag2"]},{"1396166373":["hashtag1","hashtag2"]},{"1396166367":["hashtag1","hashtag2"]},{"1396166363":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396166294, 1396166333, 1396166370, 1396166373, 1396166367, 1396166363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15310072898865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 00:59:41.907137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_19_2559.jpg', '/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_23_3587.jpg', '/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_25_2528.jpg', '/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_31_3724.jpg', '/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_34_2629.jpg', '/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_38_3545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_19_2559.jpg
/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_23_3587.jpg
/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_25_2528.jpg
/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_31_3724.jpg
/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_34_2629.jpg
/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_38_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":["1396166453","1396166488","1396166542","1396166490","1396166550","1396166520"],"photo_ids_order":["1396166453","1396166488","1396166490","1396166520","1396166542","1396166550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/755949f6323dacc7510655f743ac4cd8.jpg","text":"TemporaryFile(/tmp/multipartBody3683872272469896725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115242594,"filename":"image_26112025_00_23_19_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/26/e3867bee6f85531fa6690e3a327f840a.jpg","text":"TemporaryFile(/tmp/multipartBody1299356262751083994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115242594,"filename":"image_26112025_00_23_23_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/26/892cd9c219e1aea0b6d87a224cb733ca.jpg","text":"TemporaryFile(/tmp/multipartBody6836654893678740146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115242594,"filename":"image_26112025_00_23_34_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dffc7e1695f0c37b0cd7173766405309.jpg","text":"TemporaryFile(/tmp/multipartBody2861605244489536900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115242594,"filename":"image_26112025_00_23_25_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/26/839f73307489011b59332ebbf1842572.jpg","text":"TemporaryFile(/tmp/multipartBody5449600213058253357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115242594,"filename":"image_26112025_00_23_38_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/26/3afac9c174fb2a81cc0e77b1b305f555.jpg","text":"TemporaryFile(/tmp/multipartBody8557158368462826673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115242594,"filename":"image_26112025_00_23_31_3724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396166490","file1":"1396166488","file0":"1396166453","file4":"1396166542","file5":"1396166550","file3":"1396166520"},"map_files_photo_id_array":[{"photo_id":"1396166550","filename":"file5"},{"photo_id":"1396166490","filename":"file2"},{"photo_id":"1396166542","filename":"file4"},{"photo_id":"1396166488","filename":"file1"},{"photo_id":"1396166453","filename":"file0"},{"photo_id":"1396166520","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396166453":["hashtag1","hashtag2"]},{"1396166488":["hashtag1","hashtag2"]},{"1396166542":["hashtag1","hashtag2"]},{"1396166490":["hashtag1","hashtag2"]},{"1396166550":["hashtag1","hashtag2"]},{"1396166520":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396166453, 1396166488, 1396166542, 1396166490, 1396166550, 1396166520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.211262226104736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:00:22.254007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_40_2658.jpg', '/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_43_2637.jpg', '/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_49_2663.jpg', '/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_52_2633.jpg', '/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_55_3639.jpg', '/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_58_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_40_2658.jpg
/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_43_2637.jpg
/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_49_2663.jpg
/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_52_2633.jpg
/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_55_3639.jpg
/home/pi/Desktop/images/26112025/00/23/image_26112025_00_23_58_2618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396166558","1396166560","1396166563","1396166559","1396166556","1396166561"],"photo_ids_order":["1396166556","1396166558","1396166559","1396166560","1396166561","1396166563"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/87bc0376f59147249b55574553658072.jpg","text":"TemporaryFile(/tmp/multipartBody4827960934580642772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115282946,"filename":"image_26112025_00_23_43_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/26/63ee952b1940b9ff1d597f99326d7d3a.jpg","text":"TemporaryFile(/tmp/multipartBody7381722655932956129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115282946,"filename":"image_26112025_00_23_52_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/26/5827ef51e0c3d2fff05476fb317f2f08.jpg","text":"TemporaryFile(/tmp/multipartBody8283183815223946332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115282946,"filename":"image_26112025_00_23_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/26/9c2c3744273494cc8895fa65a48bace0.jpg","text":"TemporaryFile(/tmp/multipartBody8233751764479373805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115282946,"filename":"image_26112025_00_23_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/26/f3eabf933cf7038458292ec3cd9f175a.jpg","text":"TemporaryFile(/tmp/multipartBody9122171426708378335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115282946,"filename":"image_26112025_00_23_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/26/0bcff545f765014573e028b043451996.jpg","text":"TemporaryFile(/tmp/multipartBody4885397072056042425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115282946,"filename":"image_26112025_00_23_55_3639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396166559","file1":"1396166558","file0":"1396166556","file4":"1396166561","file5":"1396166563","file3":"1396166560"},"map_files_photo_id_array":[{"photo_id":"1396166563","filename":"file5"},{"photo_id":"1396166559","filename":"file2"},{"photo_id":"1396166561","filename":"file4"},{"photo_id":"1396166558","filename":"file1"},{"photo_id":"1396166556","filename":"file0"},{"photo_id":"1396166560","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396166558":["hashtag1","hashtag2"]},{"1396166560":["hashtag1","hashtag2"]},{"1396166563":["hashtag1","hashtag2"]},{"1396166559":["hashtag1","hashtag2"]},{"1396166556":["hashtag1","hashtag2"]},{"1396166561":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396166558, 1396166560, 1396166563, 1396166559, 1396166556, 1396166561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38301396369934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:01:03.132074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_01_2702.jpg', '/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_04_3742.jpg', '/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_07_2613.jpg', '/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_10_2725.jpg', '/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_13_3613.jpg', '/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_16_2856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_01_2702.jpg
/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_04_3742.jpg
/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_07_2613.jpg
/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_10_2725.jpg
/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_13_3613.jpg
/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_16_2856.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":["1396166585","1396166584","1396166587","1396166586","1396166589","1396166580"],"photo_ids_order":["1396166580","1396166584","1396166585","1396166586","1396166587","1396166589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/18d9a6d2c96118b69475dcd746d1700b.jpg","text":"TemporaryFile(/tmp/multipartBody3971486041051845170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115323936,"filename":"image_26112025_00_24_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/26/83086cacd4dd51d6f0fb2cf9dbbd02f7.jpg","text":"TemporaryFile(/tmp/multipartBody5992067011348141373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115323936,"filename":"image_26112025_00_24_04_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/26/1d9952091fee851471bc10adebb2fd23.jpg","text":"TemporaryFile(/tmp/multipartBody8598299044279215394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115323936,"filename":"image_26112025_00_24_13_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/26/01a61403225e7042401c6ddb17eb23d3.jpg","text":"TemporaryFile(/tmp/multipartBody4555500760521579116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115323936,"filename":"image_26112025_00_24_10_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/26/ccf209ec139a9d2d2d85b57a71641208.jpg","text":"TemporaryFile(/tmp/multipartBody4686269782210284876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115323936,"filename":"image_26112025_00_24_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/26/606f3b738d08a82cd3475c0693924582.jpg","text":"TemporaryFile(/tmp/multipartBody5684855936304034545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115323936,"filename":"image_26112025_00_24_01_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396166585","file1":"1396166584","file0":"1396166580","file4":"1396166587","file5":"1396166589","file3":"1396166586"},"map_files_photo_id_array":[{"photo_id":"1396166589","filename":"file5"},{"photo_id":"1396166585","filename":"file2"},{"photo_id":"1396166587","filename":"file4"},{"photo_id":"1396166584","filename":"file1"},{"photo_id":"1396166580","filename":"file0"},{"photo_id":"1396166586","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396166585":["hashtag1","hashtag2"]},{"1396166584":["hashtag1","hashtag2"]},{"1396166587":["hashtag1","hashtag2"]},{"1396166586":["hashtag1","hashtag2"]},{"1396166589":["hashtag1","hashtag2"]},{"1396166580":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396166585, 1396166584, 1396166587, 1396166586, 1396166589, 1396166580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86936044692993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 01:01:42.406963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_19_2690.jpg', '/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_22_2678.jpg', '/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_25_3663.jpg', '/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_28_2699.jpg', '/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_37_2597.jpg', '/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_40_2758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_19_2690.jpg
/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_22_2678.jpg
/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_25_3663.jpg
/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_28_2699.jpg
/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_37_2597.jpg
/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_40_2758.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":["1396166624","1396166621","1396166620","1396166617","1396166622","1396166619"],"photo_ids_order":["1396166617","1396166619","1396166620","1396166621","1396166622","1396166624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f980320ecc72b3522992b7d4119d93c5.jpg","text":"TemporaryFile(/tmp/multipartBody7545901456689312272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115363093,"filename":"image_26112025_00_24_40_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/26/757c7f96e0e1f9eaee78724d895e9535.jpg","text":"TemporaryFile(/tmp/multipartBody7212798090563881806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115363093,"filename":"image_26112025_00_24_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/26/42916af473f298f8a2e23d11263f3b68.jpg","text":"TemporaryFile(/tmp/multipartBody602361671336833688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115363093,"filename":"image_26112025_00_24_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/26/6684daf5a97a83c05ca9e85b20f2bb67.jpg","text":"TemporaryFile(/tmp/multipartBody8466877988385342233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115363093,"filename":"image_26112025_00_24_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/26/84c0b97afe87ecbb7e8b6c6a199cf7d3.jpg","text":"TemporaryFile(/tmp/multipartBody9177141438354671363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115363093,"filename":"image_26112025_00_24_37_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8476efa91d52e9115938446b60512bf2.jpg","text":"TemporaryFile(/tmp/multipartBody4559962314431212127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115363093,"filename":"image_26112025_00_24_22_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396166620","file1":"1396166619","file0":"1396166617","file4":"1396166622","file5":"1396166624","file3":"1396166621"},"map_files_photo_id_array":[{"photo_id":"1396166624","filename":"file5"},{"photo_id":"1396166620","filename":"file2"},{"photo_id":"1396166622","filename":"file4"},{"photo_id":"1396166619","filename":"file1"},{"photo_id":"1396166617","filename":"file0"},{"photo_id":"1396166621","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396166624":["hashtag1","hashtag2"]},{"1396166621":["hashtag1","hashtag2"]},{"1396166620":["hashtag1","hashtag2"]},{"1396166617":["hashtag1","hashtag2"]},{"1396166622":["hashtag1","hashtag2"]},{"1396166619":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396166624, 1396166621, 1396166620, 1396166617, 1396166622, 1396166619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6131546497345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:02:22.633871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_43_3621.jpg', '/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_46_2888.jpg', '/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_49_2633.jpg', '/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_52_3633.jpg', '/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_55_2659.jpg', '/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_58_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_43_3621.jpg
/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_46_2888.jpg
/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_49_2633.jpg
/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_52_3633.jpg
/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_55_2659.jpg
/home/pi/Desktop/images/26112025/00/24/image_26112025_00_24_58_2640.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":["1396166639","1396166629","1396166632","1396166631","1396166640","1396166637"],"photo_ids_order":["1396166629","1396166631","1396166632","1396166637","1396166639","1396166640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/85cc996aa1bcda65e18d337ceb97dd50.jpg","text":"TemporaryFile(/tmp/multipartBody5338166375322025293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115403322,"filename":"image_26112025_00_24_55_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/26/86935b9f519954d7e24d3a3c03dbee4c.jpg","text":"TemporaryFile(/tmp/multipartBody7755512468034574505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115403322,"filename":"image_26112025_00_24_43_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/26/8a53f98fa4f8c5beb932074777164f31.jpg","text":"TemporaryFile(/tmp/multipartBody1100900428975654290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115403322,"filename":"image_26112025_00_24_49_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/26/0667c5228237240496703527c9b2a4ff.jpg","text":"TemporaryFile(/tmp/multipartBody7828741829739926162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115403322,"filename":"image_26112025_00_24_46_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/26/6c60cc0ee036e64c60129384d34ce477.jpg","text":"TemporaryFile(/tmp/multipartBody359496099392296067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115403322,"filename":"image_26112025_00_24_58_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/26/8ff3c2ccf1a9975e9eee58041683bf80.jpg","text":"TemporaryFile(/tmp/multipartBody5126681571928721341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115403322,"filename":"image_26112025_00_24_52_3633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396166632","file1":"1396166631","file0":"1396166629","file4":"1396166639","file5":"1396166640","file3":"1396166637"},"map_files_photo_id_array":[{"photo_id":"1396166640","filename":"file5"},{"photo_id":"1396166632","filename":"file2"},{"photo_id":"1396166639","filename":"file4"},{"photo_id":"1396166631","filename":"file1"},{"photo_id":"1396166629","filename":"file0"},{"photo_id":"1396166637","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396166639":["hashtag1","hashtag2"]},{"1396166629":["hashtag1","hashtag2"]},{"1396166632":["hashtag1","hashtag2"]},{"1396166631":["hashtag1","hashtag2"]},{"1396166640":["hashtag1","hashtag2"]},{"1396166637":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396166639, 1396166629, 1396166632, 1396166631, 1396166640, 1396166637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.415608406066895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:03:03.478557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/24/image_26112025_00_25_01_3499.jpg', '/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_04_2881.jpg', '/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_07_2741.jpg', '/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_11_3710.jpg', '/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_13_2664.jpg', '/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_16_2763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/24/image_26112025_00_25_01_3499.jpg
/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_04_2881.jpg
/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_07_2741.jpg
/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_11_3710.jpg
/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_13_2664.jpg
/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_16_2763.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":["1396166645","1396166779","1396166746","1396166713","1396166676","1396166817"],"photo_ids_order":["1396166645","1396166676","1396166713","1396166746","1396166779","1396166817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b5ab093d36b7fe20a560d6a8d4c07d89.jpg","text":"TemporaryFile(/tmp/multipartBody8723922270455603786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115444282,"filename":"image_26112025_00_25_01_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/26/715bac1c60eea00311d03b2c6f2de8d2.jpg","text":"TemporaryFile(/tmp/multipartBody599144402107068278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115444282,"filename":"image_26112025_00_25_13_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/26/665132d613edc75a48cf9998be94c568.jpg","text":"TemporaryFile(/tmp/multipartBody9070194265151574821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115444282,"filename":"image_26112025_00_25_11_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/26/b8b8818674bb224da796cb0861bd6972.jpg","text":"TemporaryFile(/tmp/multipartBody1399466070045083054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115444282,"filename":"image_26112025_00_25_07_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/26/a249307a8b59ed9fd59d44f5c1cfd33b.jpg","text":"TemporaryFile(/tmp/multipartBody1482423726687271255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115444282,"filename":"image_26112025_00_25_04_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/26/a465c61d81d5b7c39332182137bb3e7f.jpg","text":"TemporaryFile(/tmp/multipartBody3454203239538897879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115444282,"filename":"image_26112025_00_25_16_2763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396166713","file1":"1396166676","file0":"1396166645","file4":"1396166779","file5":"1396166817","file3":"1396166746"},"map_files_photo_id_array":[{"photo_id":"1396166817","filename":"file5"},{"photo_id":"1396166713","filename":"file2"},{"photo_id":"1396166779","filename":"file4"},{"photo_id":"1396166676","filename":"file1"},{"photo_id":"1396166645","filename":"file0"},{"photo_id":"1396166746","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396166645":["hashtag1","hashtag2"]},{"1396166779":["hashtag1","hashtag2"]},{"1396166746":["hashtag1","hashtag2"]},{"1396166713":["hashtag1","hashtag2"]},{"1396166676":["hashtag1","hashtag2"]},{"1396166817":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396166645, 1396166779, 1396166746, 1396166713, 1396166676, 1396166817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96000671386719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 01:03:42.836108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_19_2654.jpg', '/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_22_3551.jpg', '/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_25_2704.jpg', '/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_28_3571.jpg', '/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_34_2599.jpg', '/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_37_2830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_19_2654.jpg
/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_22_3551.jpg
/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_25_2704.jpg
/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_28_3571.jpg
/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_34_2599.jpg
/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_37_2830.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":["1396167118","1396166959","1396167183","1396166994","1396167033","1396167071"],"photo_ids_order":["1396166959","1396166994","1396167033","1396167071","1396167118","1396167183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b8cc477275549c80d4a8250f8323de32.jpg","text":"TemporaryFile(/tmp/multipartBody2491649998012262979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115483524,"filename":"image_26112025_00_25_34_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/74861c91f3d6610dba0291d2bd1db8e4.jpg","text":"TemporaryFile(/tmp/multipartBody506775890019289818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115483524,"filename":"image_26112025_00_25_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/26/6cb38e22a0b4216ab43e3548af340eac.jpg","text":"TemporaryFile(/tmp/multipartBody8806410569523073114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115483524,"filename":"image_26112025_00_25_37_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/26/d5fc7fe85c256bd28065ca92b3402ca1.jpg","text":"TemporaryFile(/tmp/multipartBody585694535775720755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115483524,"filename":"image_26112025_00_25_22_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/26/db4849ed2d215cfa1b867eaba1895fe3.jpg","text":"TemporaryFile(/tmp/multipartBody3355307081224490687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115483524,"filename":"image_26112025_00_25_25_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/26/da27c107e88a2b777f3f6ce2eef4fd53.jpg","text":"TemporaryFile(/tmp/multipartBody3487734899314630168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115483524,"filename":"image_26112025_00_25_28_3571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396167033","file1":"1396166994","file0":"1396166959","file4":"1396167118","file5":"1396167183","file3":"1396167071"},"map_files_photo_id_array":[{"photo_id":"1396167183","filename":"file5"},{"photo_id":"1396167033","filename":"file2"},{"photo_id":"1396167118","filename":"file4"},{"photo_id":"1396166994","filename":"file1"},{"photo_id":"1396166959","filename":"file0"},{"photo_id":"1396167071","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396167118":["hashtag1","hashtag2"]},{"1396166959":["hashtag1","hashtag2"]},{"1396167183":["hashtag1","hashtag2"]},{"1396166994":["hashtag1","hashtag2"]},{"1396167033":["hashtag1","hashtag2"]},{"1396167071":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396167118, 1396166959, 1396167183, 1396166994, 1396167033, 1396167071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84797644615173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:04:22.028801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_40_3539.jpg', '/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_43_2629.jpg', '/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_46_3611.jpg', '/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_49_2523.jpg', '/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_52_2810.jpg', '/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_55_2791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_40_3539.jpg
/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_43_2629.jpg
/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_46_3611.jpg
/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_49_2523.jpg
/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_52_2810.jpg
/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_55_2791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396167434","1396167500","1396167391","1396167487","1396167472","1396167421"],"photo_ids_order":["1396167391","1396167421","1396167434","1396167472","1396167487","1396167500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/22148ba4a2afd114b4b488c3a483698d.jpg","text":"TemporaryFile(/tmp/multipartBody4371317752248477997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115522710,"filename":"image_26112025_00_25_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/26/e0185df7a5886a04fe4539aba41a150a.jpg","text":"TemporaryFile(/tmp/multipartBody145009275891303703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115522710,"filename":"image_26112025_00_25_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/26/8eafbe0a9fdf72575d6eaa6c0daa6ef5.jpg","text":"TemporaryFile(/tmp/multipartBody5064207565356208788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115522710,"filename":"image_26112025_00_25_40_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/26/50b521171eadcecb7b1104ecac1c6431.jpg","text":"TemporaryFile(/tmp/multipartBody7937105554136904887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115522710,"filename":"image_26112025_00_25_52_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/26/87c49574a71645b45f24fab88d56b544.jpg","text":"TemporaryFile(/tmp/multipartBody3100266605071916984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115522710,"filename":"image_26112025_00_25_49_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/26/56ecd73087e1397fa4f05f09c3c561eb.jpg","text":"TemporaryFile(/tmp/multipartBody3656384022642146461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115522710,"filename":"image_26112025_00_25_43_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396167434","file1":"1396167421","file0":"1396167391","file4":"1396167487","file5":"1396167500","file3":"1396167472"},"map_files_photo_id_array":[{"photo_id":"1396167500","filename":"file5"},{"photo_id":"1396167434","filename":"file2"},{"photo_id":"1396167487","filename":"file4"},{"photo_id":"1396167421","filename":"file1"},{"photo_id":"1396167391","filename":"file0"},{"photo_id":"1396167472","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396167434":["hashtag1","hashtag2"]},{"1396167500":["hashtag1","hashtag2"]},{"1396167391":["hashtag1","hashtag2"]},{"1396167487":["hashtag1","hashtag2"]},{"1396167472":["hashtag1","hashtag2"]},{"1396167421":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396167434, 1396167500, 1396167391, 1396167487, 1396167472, 1396167421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.811752796173096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:05:02.977015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_58_3650.jpg', '/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_01_2666.jpg', '/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_04_2700.jpg', '/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_07_3671.jpg', '/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_10_2714.jpg', '/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_13_2762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/25/image_26112025_00_25_58_3650.jpg
/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_01_2666.jpg
/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_04_2700.jpg
/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_07_3671.jpg
/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_10_2714.jpg
/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_13_2762.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":["1396167699","1396167672","1396167706","1396167732","1396167705","1396167623"],"photo_ids_order":["1396167623","1396167672","1396167699","1396167705","1396167706","1396167732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4d2d56d0bdd8b7c7660cb722172cebdf.jpg","text":"TemporaryFile(/tmp/multipartBody4737699695030870543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115563787,"filename":"image_26112025_00_26_04_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/26/b09a1dec20adb95bd9c6e3d59499f046.jpg","text":"TemporaryFile(/tmp/multipartBody4356846735586548463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115563787,"filename":"image_26112025_00_26_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/26/bce9c8e99dd4fec718eaffc56c7918e0.jpg","text":"TemporaryFile(/tmp/multipartBody6436102572516710278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115563787,"filename":"image_26112025_00_26_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/26/18f867dcd567117b3e0875889589c89c.jpg","text":"TemporaryFile(/tmp/multipartBody6160012756824106663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115563787,"filename":"image_26112025_00_26_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/26/4a7ccf87e68fb218c2186feb048fbe11.jpg","text":"TemporaryFile(/tmp/multipartBody2278534136518381216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115563787,"filename":"image_26112025_00_26_07_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/26/d5b369210d99d28c9e6c28b77e96bcc6.jpg","text":"TemporaryFile(/tmp/multipartBody4793620488165401708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115563787,"filename":"image_26112025_00_25_58_3650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396167699","file1":"1396167672","file0":"1396167623","file4":"1396167706","file5":"1396167732","file3":"1396167705"},"map_files_photo_id_array":[{"photo_id":"1396167732","filename":"file5"},{"photo_id":"1396167699","filename":"file2"},{"photo_id":"1396167706","filename":"file4"},{"photo_id":"1396167672","filename":"file1"},{"photo_id":"1396167623","filename":"file0"},{"photo_id":"1396167705","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396167699":["hashtag1","hashtag2"]},{"1396167672":["hashtag1","hashtag2"]},{"1396167706":["hashtag1","hashtag2"]},{"1396167732":["hashtag1","hashtag2"]},{"1396167705":["hashtag1","hashtag2"]},{"1396167623":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396167699, 1396167672, 1396167706, 1396167732, 1396167705, 1396167623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54111838340759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 01:05:42.328739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_16_3523.jpg', '/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_19_2668.jpg', '/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_22_2684.jpg', '/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_25_3779.jpg', '/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_28_2754.jpg', '/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_31_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_16_3523.jpg
/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_19_2668.jpg
/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_22_2684.jpg
/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_25_3779.jpg
/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_28_2754.jpg
/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_31_2583.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":["1396167775","1396167769","1396167778","1396167771","1396167773","1396167767"],"photo_ids_order":["1396167767","1396167769","1396167771","1396167773","1396167775","1396167778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b13bb16bd75bfb9f66c3321819643805.jpg","text":"TemporaryFile(/tmp/multipartBody8241769623803925755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115603016,"filename":"image_26112025_00_26_28_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/26/569319aa6764425023f6613892902405.jpg","text":"TemporaryFile(/tmp/multipartBody145959643203565900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115603016,"filename":"image_26112025_00_26_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/26/1121ec0ad0ac8c0466bb9e8c5a92fd2b.jpg","text":"TemporaryFile(/tmp/multipartBody5288390636847664871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115603016,"filename":"image_26112025_00_26_31_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/26/912198e146459cd2cd9a9d2db7114c55.jpg","text":"TemporaryFile(/tmp/multipartBody1038311797102676935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115603016,"filename":"image_26112025_00_26_22_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/26/1c37ae5290c6071a2c9da97f3df43f4f.jpg","text":"TemporaryFile(/tmp/multipartBody7557794040920383424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115603016,"filename":"image_26112025_00_26_25_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/26/a045c93e6b9344b653ae6125654f021b.jpg","text":"TemporaryFile(/tmp/multipartBody4313698402343717070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115603016,"filename":"image_26112025_00_26_16_3523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396167771","file1":"1396167769","file0":"1396167767","file4":"1396167775","file5":"1396167778","file3":"1396167773"},"map_files_photo_id_array":[{"photo_id":"1396167778","filename":"file5"},{"photo_id":"1396167771","filename":"file2"},{"photo_id":"1396167775","filename":"file4"},{"photo_id":"1396167769","filename":"file1"},{"photo_id":"1396167767","filename":"file0"},{"photo_id":"1396167773","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396167775":["hashtag1","hashtag2"]},{"1396167769":["hashtag1","hashtag2"]},{"1396167778":["hashtag1","hashtag2"]},{"1396167771":["hashtag1","hashtag2"]},{"1396167773":["hashtag1","hashtag2"]},{"1396167767":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396167775, 1396167769, 1396167778, 1396167771, 1396167773, 1396167767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.71290040016174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:06:32.601805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_37_3735.jpg', '/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_40_2727.jpg', '/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_43_2609.jpg', '/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_46_3597.jpg', '/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_49_2893.jpg', '/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_52_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_37_3735.jpg
/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_40_2727.jpg
/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_43_2609.jpg
/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_46_3597.jpg
/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_49_2893.jpg
/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_52_2645.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":["1396167784","1396167786","1396167780","1396167782","1396167779","1396167788"],"photo_ids_order":["1396167779","1396167780","1396167782","1396167784","1396167786","1396167788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5f95cb71964b324ef0f7b29b5ec8fcc8.jpg","text":"TemporaryFile(/tmp/multipartBody7901813762258372777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115654273,"filename":"image_26112025_00_26_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/26/d78d78e8bd5280c0ff867f4d4c7e346d.jpg","text":"TemporaryFile(/tmp/multipartBody118189900588030546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115654273,"filename":"image_26112025_00_26_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/26/85037d4e5442527fd9e9ccf822dcf093.jpg","text":"TemporaryFile(/tmp/multipartBody6888412949208672784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115654273,"filename":"image_26112025_00_26_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/26/ec032533b508dfd812b23199bc2a07d2.jpg","text":"TemporaryFile(/tmp/multipartBody7899701585901762026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115654273,"filename":"image_26112025_00_26_43_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/26/2bad32859e75e4de68a8d30f809b6294.jpg","text":"TemporaryFile(/tmp/multipartBody4234754798618013635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115654273,"filename":"image_26112025_00_26_37_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/26/8404f6ea906154d4bc341b21bfb3d15a.jpg","text":"TemporaryFile(/tmp/multipartBody4914087918247900425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115654273,"filename":"image_26112025_00_26_52_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396167782","file1":"1396167780","file0":"1396167779","file4":"1396167786","file5":"1396167788","file3":"1396167784"},"map_files_photo_id_array":[{"photo_id":"1396167788","filename":"file5"},{"photo_id":"1396167782","filename":"file2"},{"photo_id":"1396167786","filename":"file4"},{"photo_id":"1396167780","filename":"file1"},{"photo_id":"1396167779","filename":"file0"},{"photo_id":"1396167784","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396167784":["hashtag1","hashtag2"]},{"1396167786":["hashtag1","hashtag2"]},{"1396167780":["hashtag1","hashtag2"]},{"1396167782":["hashtag1","hashtag2"]},{"1396167779":["hashtag1","hashtag2"]},{"1396167788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396167784, 1396167786, 1396167780, 1396167782, 1396167779, 1396167788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37887477874756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:07:22.822284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_54_2669.jpg', '/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_04_3617.jpg', '/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_10_2502.jpg', '/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_13_3640.jpg', '/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_16_2638.jpg', '/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_19_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/26/image_26112025_00_26_54_2669.jpg
/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_04_3617.jpg
/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_10_2502.jpg
/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_13_3640.jpg
/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_16_2638.jpg
/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_19_2760.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":["1396167818","1396167806","1396167823","1396167817","1396167819","1396167821"],"photo_ids_order":["1396167806","1396167817","1396167818","1396167819","1396167821","1396167823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5c30e9244cf97263d334986c5d96110a.jpg","text":"TemporaryFile(/tmp/multipartBody2669765354755902566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115704372,"filename":"image_26112025_00_27_10_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/26/3e559540cb14a369b824de92461aaf5e.jpg","text":"TemporaryFile(/tmp/multipartBody6329998204030876249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115704372,"filename":"image_26112025_00_26_54_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/26/6e668baedaaef2180d1a00885f1e3a4c.jpg","text":"TemporaryFile(/tmp/multipartBody4071364091250847121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115704372,"filename":"image_26112025_00_27_19_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/26/44788db326046974abce2f39ce2a2e4d.jpg","text":"TemporaryFile(/tmp/multipartBody8399743727200388476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115704372,"filename":"image_26112025_00_27_04_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/26/fd812b7065b85f7db68e2cfe951282c8.jpg","text":"TemporaryFile(/tmp/multipartBody5166877381497159615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115704372,"filename":"image_26112025_00_27_13_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/26/9291780ff7ffb9ea51269c3a37a74a44.jpg","text":"TemporaryFile(/tmp/multipartBody4133498449119359963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115704372,"filename":"image_26112025_00_27_16_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396167818","file1":"1396167817","file0":"1396167806","file4":"1396167821","file5":"1396167823","file3":"1396167819"},"map_files_photo_id_array":[{"photo_id":"1396167823","filename":"file5"},{"photo_id":"1396167818","filename":"file2"},{"photo_id":"1396167821","filename":"file4"},{"photo_id":"1396167817","filename":"file1"},{"photo_id":"1396167806","filename":"file0"},{"photo_id":"1396167819","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396167818":["hashtag1","hashtag2"]},{"1396167806":["hashtag1","hashtag2"]},{"1396167823":["hashtag1","hashtag2"]},{"1396167817":["hashtag1","hashtag2"]},{"1396167819":["hashtag1","hashtag2"]},{"1396167821":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396167818, 1396167806, 1396167823, 1396167817, 1396167819, 1396167821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.85604906082153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:08:12.124102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_21_2870.jpg', '/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_25_3790.jpg', '/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_28_2748.jpg', '/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_31_2698.jpg', '/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_34_2836.jpg', '/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_40_2540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_21_2870.jpg
/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_25_3790.jpg
/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_28_2748.jpg
/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_31_2698.jpg
/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_34_2836.jpg
/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_40_2540.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":["1396167830","1396167832","1396167829","1396167834","1396167831","1396167833"],"photo_ids_order":["1396167829","1396167830","1396167831","1396167832","1396167833","1396167834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bc7ca4af28e62e00075b083a642414c4.jpg","text":"TemporaryFile(/tmp/multipartBody8728637757272200648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115757293,"filename":"image_26112025_00_27_25_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/26/0a3659b13f62c9bf5b53135d8ddeb507.jpg","text":"TemporaryFile(/tmp/multipartBody5515328406784402792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115757293,"filename":"image_26112025_00_27_31_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/26/31417ee2900f9f79c437c943e956f955.jpg","text":"TemporaryFile(/tmp/multipartBody8075901417674596519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115757293,"filename":"image_26112025_00_27_21_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/26/af091c163155ca8bca5c4961b08dcf7f.jpg","text":"TemporaryFile(/tmp/multipartBody5304646176934102873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115757293,"filename":"image_26112025_00_27_40_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/26/8f626dbf3b9c2c919a31186901087e28.jpg","text":"TemporaryFile(/tmp/multipartBody2968952113974648266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115757293,"filename":"image_26112025_00_27_28_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/26/737a53e76319c304079e8527ef14dcbf.jpg","text":"TemporaryFile(/tmp/multipartBody1013973285299660130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115757293,"filename":"image_26112025_00_27_34_2836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396167831","file1":"1396167830","file0":"1396167829","file4":"1396167833","file5":"1396167834","file3":"1396167832"},"map_files_photo_id_array":[{"photo_id":"1396167834","filename":"file5"},{"photo_id":"1396167831","filename":"file2"},{"photo_id":"1396167833","filename":"file4"},{"photo_id":"1396167830","filename":"file1"},{"photo_id":"1396167829","filename":"file0"},{"photo_id":"1396167832","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396167830":["hashtag1","hashtag2"]},{"1396167832":["hashtag1","hashtag2"]},{"1396167829":["hashtag1","hashtag2"]},{"1396167834":["hashtag1","hashtag2"]},{"1396167831":["hashtag1","hashtag2"]},{"1396167833":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396167830, 1396167832, 1396167829, 1396167834, 1396167831, 1396167833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.90162944793701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:09:03.257809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_43_2707.jpg', '/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_46_3650.jpg', '/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_51_2569.jpg', '/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_55_3746.jpg', '/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_58_2595.jpg', '/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_01_2836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_43_2707.jpg
/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_46_3650.jpg
/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_51_2569.jpg
/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_55_3746.jpg
/home/pi/Desktop/images/26112025/00/27/image_26112025_00_27_58_2595.jpg
/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_01_2836.jpg
 val : 1 : upload photos already in processing! 
 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":["1396167877","1396168080","1396167924","1396168043","1396167998","1396167962"],"photo_ids_order":["1396167877","1396167924","1396167962","1396167998","1396168043","1396168080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ef3c9b5bc6d87df06d1cfaeb952507d1.jpg","text":"TemporaryFile(/tmp/multipartBody4890366720156764766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115804933,"filename":"image_26112025_00_27_43_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/26/baa1e43e363a07a1d8e1e3435d38895e.jpg","text":"TemporaryFile(/tmp/multipartBody4930397937461544347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115804933,"filename":"image_26112025_00_28_01_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/26/8074ea4dcc368ed77d5ffaabbf3c3878.jpg","text":"TemporaryFile(/tmp/multipartBody5900562580176906349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115804933,"filename":"image_26112025_00_27_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/26/5dc25da6e5b7ab6c69971d1910f85df6.jpg","text":"TemporaryFile(/tmp/multipartBody4895781518007621119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115804933,"filename":"image_26112025_00_27_58_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/26/d51ccb95452d3962ef299750a1ecd55a.jpg","text":"TemporaryFile(/tmp/multipartBody3322796732868553411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115804933,"filename":"image_26112025_00_27_55_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/26/9acb3c4736f6dd11181adce83e8635ca.jpg","text":"TemporaryFile(/tmp/multipartBody8293715437128499015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115804933,"filename":"image_26112025_00_27_51_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396167962","file1":"1396167924","file0":"1396167877","file4":"1396168043","file5":"1396168080","file3":"1396167998"},"map_files_photo_id_array":[{"photo_id":"1396168080","filename":"file5"},{"photo_id":"1396167962","filename":"file2"},{"photo_id":"1396168043","filename":"file4"},{"photo_id":"1396167924","filename":"file1"},{"photo_id":"1396167877","filename":"file0"},{"photo_id":"1396167998","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396167877":["hashtag1","hashtag2"]},{"1396168080":["hashtag1","hashtag2"]},{"1396167924":["hashtag1","hashtag2"]},{"1396168043":["hashtag1","hashtag2"]},{"1396167998":["hashtag1","hashtag2"]},{"1396167962":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396167877, 1396168080, 1396167924, 1396168043, 1396167998, 1396167962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.131773710250854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:10:02.975302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_07_2692.jpg', '/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_12_2857.jpg', '/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_16_3676.jpg', '/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_19_2609.jpg', '/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_21_2639.jpg', '/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_25_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_07_2692.jpg
/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_12_2857.jpg
/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_16_3676.jpg
/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_19_2609.jpg
/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_21_2639.jpg
/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_25_3629.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":["1396168426","1396168392","1396168389","1396168497","1396168461","1396168361"],"photo_ids_order":["1396168361","1396168389","1396168392","1396168426","1396168461","1396168497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/db43264de43986e9476fe37d8599771d.jpg","text":"TemporaryFile(/tmp/multipartBody8704706869107644894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115864145,"filename":"image_26112025_00_28_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/26/f8da3baf11ad285cc4a81d7572137df0.jpg","text":"TemporaryFile(/tmp/multipartBody3127912240917534969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115864145,"filename":"image_26112025_00_28_16_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/26/c95f7188b444845867f8c8f46fcbd222.jpg","text":"TemporaryFile(/tmp/multipartBody2823885379987612841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115864145,"filename":"image_26112025_00_28_12_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/26/ce345f51b5d0ef59dfc4cd9923b9b006.jpg","text":"TemporaryFile(/tmp/multipartBody2787708243889032276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115864145,"filename":"image_26112025_00_28_25_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/26/e8451819452586665689cb7757adef33.jpg","text":"TemporaryFile(/tmp/multipartBody7959793318842846862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115864145,"filename":"image_26112025_00_28_21_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/88019dc06453869ed3e8a816e9bbd6e7.jpg","text":"TemporaryFile(/tmp/multipartBody6063901826639537133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115864145,"filename":"image_26112025_00_28_07_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396168392","file1":"1396168389","file0":"1396168361","file4":"1396168461","file5":"1396168497","file3":"1396168426"},"map_files_photo_id_array":[{"photo_id":"1396168497","filename":"file5"},{"photo_id":"1396168392","filename":"file2"},{"photo_id":"1396168461","filename":"file4"},{"photo_id":"1396168389","filename":"file1"},{"photo_id":"1396168361","filename":"file0"},{"photo_id":"1396168426","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396168426":["hashtag1","hashtag2"]},{"1396168392":["hashtag1","hashtag2"]},{"1396168389":["hashtag1","hashtag2"]},{"1396168497":["hashtag1","hashtag2"]},{"1396168461":["hashtag1","hashtag2"]},{"1396168361":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396168426, 1396168392, 1396168389, 1396168497, 1396168461, 1396168361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89657235145569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 01:10:42.536214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_28_2642.jpg', '/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_30_2683.jpg', '/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_37_2698.jpg', '/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_40_3570.jpg', '/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_43_2577.jpg', '/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_52_2787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_28_2642.jpg
/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_30_2683.jpg
/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_37_2698.jpg
/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_40_3570.jpg
/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_43_2577.jpg
/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_52_2787.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":["1396168558","1396168708","1396168644","1396168605","1396168742","1396168780"],"photo_ids_order":["1396168558","1396168605","1396168644","1396168708","1396168742","1396168780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8bfa544b5ae77f69f2010fc88bb9943d.jpg","text":"TemporaryFile(/tmp/multipartBody2268563050817908081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115903248,"filename":"image_26112025_00_28_28_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/26/dafb5e0d0f736ad413fad416b02d63fa.jpg","text":"TemporaryFile(/tmp/multipartBody2911056751462939518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115903248,"filename":"image_26112025_00_28_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/26/36acaa964dae9eae8c306ac741b3948e.jpg","text":"TemporaryFile(/tmp/multipartBody704574733038355330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115903248,"filename":"image_26112025_00_28_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/26/15427fd39c7b6668da8d9ae702b99af6.jpg","text":"TemporaryFile(/tmp/multipartBody6431693203441825340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115903248,"filename":"image_26112025_00_28_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/26/27dba3216d40aa592b01314be6f480b8.jpg","text":"TemporaryFile(/tmp/multipartBody4724276041210036724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115903248,"filename":"image_26112025_00_28_43_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/26/8ebbc10243c3304e9391a09fedf70de1.jpg","text":"TemporaryFile(/tmp/multipartBody1258157804828522712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115903248,"filename":"image_26112025_00_28_52_2787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396168644","file1":"1396168605","file0":"1396168558","file4":"1396168742","file5":"1396168780","file3":"1396168708"},"map_files_photo_id_array":[{"photo_id":"1396168780","filename":"file5"},{"photo_id":"1396168644","filename":"file2"},{"photo_id":"1396168742","filename":"file4"},{"photo_id":"1396168605","filename":"file1"},{"photo_id":"1396168558","filename":"file0"},{"photo_id":"1396168708","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396168558":["hashtag1","hashtag2"]},{"1396168708":["hashtag1","hashtag2"]},{"1396168644":["hashtag1","hashtag2"]},{"1396168605":["hashtag1","hashtag2"]},{"1396168742":["hashtag1","hashtag2"]},{"1396168780":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396168558, 1396168708, 1396168644, 1396168605, 1396168742, 1396168780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70317101478577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:11:22.614225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_55_2716.jpg', '/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_03_2578.jpg', '/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_07_3559.jpg', '/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_10_2651.jpg', '/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_12_2580.jpg', '/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_25_13233.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/28/image_26112025_00_28_55_2716.jpg
/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_03_2578.jpg
/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_07_3559.jpg
/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_10_2651.jpg
/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_12_2580.jpg
/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_25_13233.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":["1396168840","1396168843","1396168878","1396168839","1396168842","1396168841"],"photo_ids_order":["1396168839","1396168840","1396168841","1396168842","1396168843","1396168878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1aa2da00d6151dfb206bae445a2df838.jpg","text":"TemporaryFile(/tmp/multipartBody7545162303440044646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115943302,"filename":"image_26112025_00_29_03_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/26/2f3277d4ff9506a91e6d94037bf75aee.jpg","text":"TemporaryFile(/tmp/multipartBody9027049611332642014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115943302,"filename":"image_26112025_00_29_12_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/26/4b1c993934fbd92f8b1bd4775bbc8d61.jpg","text":"TemporaryFile(/tmp/multipartBody905644202878062139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115943302,"filename":"image_26112025_00_29_25_13233.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4d72fd591f556607ffaa5b902580bc49.jpg","text":"TemporaryFile(/tmp/multipartBody4311219956778645370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115943302,"filename":"image_26112025_00_28_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/26/3b651829abc768f2a507879370c08ad4.jpg","text":"TemporaryFile(/tmp/multipartBody1431289110343762684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115943302,"filename":"image_26112025_00_29_10_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/26/27ca690a2ed1fd445b86df4c3471ece3.jpg","text":"TemporaryFile(/tmp/multipartBody4366737302366749564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115943302,"filename":"image_26112025_00_29_07_3559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396168841","file1":"1396168840","file0":"1396168839","file4":"1396168843","file5":"1396168878","file3":"1396168842"},"map_files_photo_id_array":[{"photo_id":"1396168878","filename":"file5"},{"photo_id":"1396168841","filename":"file2"},{"photo_id":"1396168843","filename":"file4"},{"photo_id":"1396168840","filename":"file1"},{"photo_id":"1396168839","filename":"file0"},{"photo_id":"1396168842","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396168840":["hashtag1","hashtag2"]},{"1396168843":["hashtag1","hashtag2"]},{"1396168878":["hashtag1","hashtag2"]},{"1396168839":["hashtag1","hashtag2"]},{"1396168842":["hashtag1","hashtag2"]},{"1396168841":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396168840, 1396168843, 1396168878, 1396168839, 1396168842, 1396168841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56633710861206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:12:02.328936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_32_6687.jpg', '/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_35_1648.jpg', '/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_37_1671.jpg', '/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_40_3277.jpg', '/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_42_1793.jpg', '/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_45_1626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_32_6687.jpg
/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_35_1648.jpg
/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_37_1671.jpg
/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_40_3277.jpg
/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_42_1793.jpg
/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_45_1626.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6513559818267822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:12:11.827609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_32_6687.jpg', '/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_35_1648.jpg', '/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_37_1671.jpg', '/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_40_3277.jpg', '/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_42_1793.jpg', '/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_45_1626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_32_6687.jpg
/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_35_1648.jpg
/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_37_1671.jpg
/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_40_3277.jpg
/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_42_1793.jpg
/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_45_1626.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":["1396169101","1396169008","1396169010","1396168994","1396169012","1396169206"],"photo_ids_order":["1396168994","1396169008","1396169010","1396169012","1396169101","1396169206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/24d1da6629b24d07fbf96f7976ff1791.jpg","text":"TemporaryFile(/tmp/multipartBody5876923859242641263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115992538,"filename":"image_26112025_00_29_42_1793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0d2701f48272019d1b85e221c35cd470.jpg","text":"TemporaryFile(/tmp/multipartBody1004811196775748724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115992538,"filename":"image_26112025_00_29_35_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/26/4b05e65bd583217f4f3c2086f61614cc.jpg","text":"TemporaryFile(/tmp/multipartBody5636520544195812732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115992538,"filename":"image_26112025_00_29_37_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/26/2dba0a0770b4efb6ea897c7d353fb824.jpg","text":"TemporaryFile(/tmp/multipartBody992377184084874766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115992538,"filename":"image_26112025_00_29_32_6687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b8fed1bdda9251f4252ac3b2aeee9a74.jpg","text":"TemporaryFile(/tmp/multipartBody2122987515168085115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115992538,"filename":"image_26112025_00_29_40_3277.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/50f06d265310ec4964b6a7e1edb792d7.jpg","text":"TemporaryFile(/tmp/multipartBody870996337257379841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764115992538,"filename":"image_26112025_00_29_45_1626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396169010","file1":"1396169008","file0":"1396168994","file4":"1396169101","file5":"1396169206","file3":"1396169012"},"map_files_photo_id_array":[{"photo_id":"1396169206","filename":"file5"},{"photo_id":"1396169010","filename":"file2"},{"photo_id":"1396169101","filename":"file4"},{"photo_id":"1396169008","filename":"file1"},{"photo_id":"1396168994","filename":"file0"},{"photo_id":"1396169012","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396169101":["hashtag1","hashtag2"]},{"1396169008":["hashtag1","hashtag2"]},{"1396169010":["hashtag1","hashtag2"]},{"1396168994":["hashtag1","hashtag2"]},{"1396169012":["hashtag1","hashtag2"]},{"1396169206":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396169101, 1396169008, 1396169010, 1396168994, 1396169012, 1396169206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71050047874451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:13:02.778403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_47_1646.jpg', '/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_48_1602.jpg', '/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_50_1677.jpg', '/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_54_2513.jpg', '/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_57_2769.jpg', '/home/pi/Desktop/images/26112025/00/29/image_26112025_00_30_01_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_47_1646.jpg
/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_48_1602.jpg
/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_50_1677.jpg
/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_54_2513.jpg
/home/pi/Desktop/images/26112025/00/29/image_26112025_00_29_57_2769.jpg
/home/pi/Desktop/images/26112025/00/29/image_26112025_00_30_01_3610.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":["1396170717","1396170447","1396169916","1396170303","1396170105","1396170586"],"photo_ids_order":["1396169916","1396170105","1396170303","1396170447","1396170586","1396170717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e7fd4ef58ceccc8fe745065233fed2a8.jpg","text":"TemporaryFile(/tmp/multipartBody3814065391790349193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116043561,"filename":"image_26112025_00_30_01_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/26/3cc7fcd6e153895275e0b80e24f521d9.jpg","text":"TemporaryFile(/tmp/multipartBody1847267991914239898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116043561,"filename":"image_26112025_00_29_54_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/26/39eedf9bd5d8966728359ecb81a8aa08.jpg","text":"TemporaryFile(/tmp/multipartBody4156611583399392405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116043561,"filename":"image_26112025_00_29_47_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/26/a554b961f5814da2f6771a573844c301.jpg","text":"TemporaryFile(/tmp/multipartBody583724968846776902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116043561,"filename":"image_26112025_00_29_50_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/59967cafd72e7ab2fb6603cb0115e36f.jpg","text":"TemporaryFile(/tmp/multipartBody1766681386623600091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116043561,"filename":"image_26112025_00_29_48_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/26/e623aaa5c7f9b70b85da4500bc8eb9b2.jpg","text":"TemporaryFile(/tmp/multipartBody6445271761299574810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116043561,"filename":"image_26112025_00_29_57_2769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396170303","file1":"1396170105","file0":"1396169916","file4":"1396170586","file5":"1396170717","file3":"1396170447"},"map_files_photo_id_array":[{"photo_id":"1396170717","filename":"file5"},{"photo_id":"1396170303","filename":"file2"},{"photo_id":"1396170586","filename":"file4"},{"photo_id":"1396170105","filename":"file1"},{"photo_id":"1396169916","filename":"file0"},{"photo_id":"1396170447","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396170717":["hashtag1","hashtag2"]},{"1396170447":["hashtag1","hashtag2"]},{"1396169916":["hashtag1","hashtag2"]},{"1396170303":["hashtag1","hashtag2"]},{"1396170105":["hashtag1","hashtag2"]},{"1396170586":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396170717, 1396170447, 1396169916, 1396170303, 1396170105, 1396170586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.427345275878906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 01:13:41.991235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/30/image_26112025_00_30_10_3888.jpg', '/home/pi/Desktop/images/26112025/00/30/image_26112025_00_30_25_14517.jpg', '/home/pi/Desktop/images/26112025/00/30/image_26112025_00_30_50_25586.jpg', '/home/pi/Desktop/images/26112025/00/31/image_26112025_00_31_03_1595.jpg', '/home/pi/Desktop/images/26112025/00/31/image_26112025_00_31_04_1570.jpg', '/home/pi/Desktop/images/26112025/00/31/image_26112025_00_31_09_4125.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/30/image_26112025_00_30_10_3888.jpg
/home/pi/Desktop/images/26112025/00/30/image_26112025_00_30_25_14517.jpg
/home/pi/Desktop/images/26112025/00/30/image_26112025_00_30_50_25586.jpg
/home/pi/Desktop/images/26112025/00/31/image_26112025_00_31_03_1595.jpg
/home/pi/Desktop/images/26112025/00/31/image_26112025_00_31_04_1570.jpg
/home/pi/Desktop/images/26112025/00/31/image_26112025_00_31_09_4125.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":["1396171092","1396171086","1396171089","1396171088","1396171091","1396171090"],"photo_ids_order":["1396171086","1396171088","1396171089","1396171090","1396171091","1396171092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3324d95fe6c16af5b92e315c4aa03896.jpg","text":"TemporaryFile(/tmp/multipartBody4928649862789545824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116082674,"filename":"image_26112025_00_31_09_4125.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f88213a7b76f3afc20b90a550e36063e.jpg","text":"TemporaryFile(/tmp/multipartBody4426258708734375121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116082674,"filename":"image_26112025_00_30_10_3888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a9950e634ad4d81ffe48a1e864c632d5.jpg","text":"TemporaryFile(/tmp/multipartBody7089866877228960073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116082674,"filename":"image_26112025_00_30_50_25586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7458c103c1d0d479a55922f17ad940f2.jpg","text":"TemporaryFile(/tmp/multipartBody2214064471908119753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116082674,"filename":"image_26112025_00_30_25_14517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9e7ad926d184832d20b74dcede95ad8d.jpg","text":"TemporaryFile(/tmp/multipartBody2790939473290119692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116082674,"filename":"image_26112025_00_31_04_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/26/26ceab4ee8a957e28e7e83ca68dd6386.jpg","text":"TemporaryFile(/tmp/multipartBody3389795251052764407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116082674,"filename":"image_26112025_00_31_03_1595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396171089","file1":"1396171088","file0":"1396171086","file4":"1396171091","file5":"1396171092","file3":"1396171090"},"map_files_photo_id_array":[{"photo_id":"1396171092","filename":"file5"},{"photo_id":"1396171089","filename":"file2"},{"photo_id":"1396171091","filename":"file4"},{"photo_id":"1396171088","filename":"file1"},{"photo_id":"1396171086","filename":"file0"},{"photo_id":"1396171090","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396171092":["hashtag1","hashtag2"]},{"1396171086":["hashtag1","hashtag2"]},{"1396171089":["hashtag1","hashtag2"]},{"1396171088":["hashtag1","hashtag2"]},{"1396171091":["hashtag1","hashtag2"]},{"1396171090":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396171092, 1396171086, 1396171089, 1396171088, 1396171091, 1396171090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14992332458496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:14:22.223278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/31/image_26112025_00_31_14_4168.jpg', '/home/pi/Desktop/images/26112025/00/31/image_26112025_00_31_17_2251.jpg', '/home/pi/Desktop/images/26112025/00/31/image_26112025_00_31_18_1648.jpg', '/home/pi/Desktop/images/26112025/00/31/image_26112025_00_31_20_1550.jpg', '/home/pi/Desktop/images/26112025/00/31/image_26112025_00_31_29_3882.jpg', '/home/pi/Desktop/images/26112025/00/31/image_26112025_00_31_31_1780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/31/image_26112025_00_31_14_4168.jpg
/home/pi/Desktop/images/26112025/00/31/image_26112025_00_31_17_2251.jpg
/home/pi/Desktop/images/26112025/00/31/image_26112025_00_31_18_1648.jpg
/home/pi/Desktop/images/26112025/00/31/image_26112025_00_31_20_1550.jpg
/home/pi/Desktop/images/26112025/00/31/image_26112025_00_31_29_3882.jpg
/home/pi/Desktop/images/26112025/00/31/image_26112025_00_31_31_1780.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":["1396171392","1396171287","1396171347","1396171292","1396171345","1396171300"],"photo_ids_order":["1396171287","1396171292","1396171300","1396171345","1396171347","1396171392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/208e8ef072fc2cbece5e99a8c4d9368e.jpg","text":"TemporaryFile(/tmp/multipartBody4535120664693866163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116125118,"filename":"image_26112025_00_31_31_1780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d7e859fcc271ce04bb62983acd15e7b9.jpg","text":"TemporaryFile(/tmp/multipartBody8544343827165176643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116125118,"filename":"image_26112025_00_31_14_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/26/75b1efa89b05d0774fa83b30bffec840.jpg","text":"TemporaryFile(/tmp/multipartBody69513490807734475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116125118,"filename":"image_26112025_00_31_29_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/26/3aea697d2cbbcaad3b285137ec2a43ec.jpg","text":"TemporaryFile(/tmp/multipartBody2967264610206288563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116125118,"filename":"image_26112025_00_31_17_2251.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9b307de8972100f32c1c306974530ff1.jpg","text":"TemporaryFile(/tmp/multipartBody6451019011306081869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116125118,"filename":"image_26112025_00_31_20_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/26/7f5302dfe5f7f748f8252765a07c3d33.jpg","text":"TemporaryFile(/tmp/multipartBody4490739088022181537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116125118,"filename":"image_26112025_00_31_18_1648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396171300","file1":"1396171292","file0":"1396171287","file4":"1396171347","file5":"1396171392","file3":"1396171345"},"map_files_photo_id_array":[{"photo_id":"1396171392","filename":"file5"},{"photo_id":"1396171300","filename":"file2"},{"photo_id":"1396171347","filename":"file4"},{"photo_id":"1396171292","filename":"file1"},{"photo_id":"1396171287","filename":"file0"},{"photo_id":"1396171345","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396171392":["hashtag1","hashtag2"]},{"1396171287":["hashtag1","hashtag2"]},{"1396171347":["hashtag1","hashtag2"]},{"1396171292":["hashtag1","hashtag2"]},{"1396171345":["hashtag1","hashtag2"]},{"1396171300":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396171392, 1396171287, 1396171347, 1396171292, 1396171345, 1396171300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.14458346366882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:15:03.183208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/31/image_26112025_00_31_35_1946.jpg', '/home/pi/Desktop/images/26112025/00/31/image_26112025_00_31_37_1825.jpg', '/home/pi/Desktop/images/26112025/00/31/image_26112025_00_31_38_1780.jpg', '/home/pi/Desktop/images/26112025/00/31/image_26112025_00_31_52_13887.jpg', '/home/pi/Desktop/images/26112025/00/32/image_26112025_00_32_03_1669.jpg', '/home/pi/Desktop/images/26112025/00/32/image_26112025_00_32_04_1687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/31/image_26112025_00_31_35_1946.jpg
/home/pi/Desktop/images/26112025/00/31/image_26112025_00_31_37_1825.jpg
/home/pi/Desktop/images/26112025/00/31/image_26112025_00_31_38_1780.jpg
/home/pi/Desktop/images/26112025/00/31/image_26112025_00_31_52_13887.jpg
/home/pi/Desktop/images/26112025/00/32/image_26112025_00_32_03_1669.jpg
/home/pi/Desktop/images/26112025/00/32/image_26112025_00_32_04_1687.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":["1396171395","1396171398","1396171397","1396171401","1396171396","1396171399"],"photo_ids_order":["1396171395","1396171396","1396171397","1396171398","1396171399","1396171401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/76b822ca1122c0bf7b8a4e503bc90f1f.jpg","text":"TemporaryFile(/tmp/multipartBody6625002585532527864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116164022,"filename":"image_26112025_00_31_35_1946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/daf1b181b797c5e3051b52c07d094cb9.jpg","text":"TemporaryFile(/tmp/multipartBody981589084765812170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116164022,"filename":"image_26112025_00_31_52_13887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a3b30ab0037af32cc9e4ddd634be4f0d.jpg","text":"TemporaryFile(/tmp/multipartBody1873066135961977711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116164022,"filename":"image_26112025_00_31_38_1780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/701e57be4eeb7cba257a6e57ba137ae0.jpg","text":"TemporaryFile(/tmp/multipartBody7728571072961191424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116164022,"filename":"image_26112025_00_32_04_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/26/5df0449cd8edb34d7696f1b0106ab72c.jpg","text":"TemporaryFile(/tmp/multipartBody2296993261136015161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116164022,"filename":"image_26112025_00_31_37_1825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/10d2b6171c07bf40b0b6844633cd2fc1.jpg","text":"TemporaryFile(/tmp/multipartBody1146253003840078169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116164022,"filename":"image_26112025_00_32_03_1669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396171397","file1":"1396171396","file0":"1396171395","file4":"1396171399","file5":"1396171401","file3":"1396171398"},"map_files_photo_id_array":[{"photo_id":"1396171401","filename":"file5"},{"photo_id":"1396171397","filename":"file2"},{"photo_id":"1396171399","filename":"file4"},{"photo_id":"1396171396","filename":"file1"},{"photo_id":"1396171395","filename":"file0"},{"photo_id":"1396171398","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396171395":["hashtag1","hashtag2"]},{"1396171398":["hashtag1","hashtag2"]},{"1396171397":["hashtag1","hashtag2"]},{"1396171401":["hashtag1","hashtag2"]},{"1396171396":["hashtag1","hashtag2"]},{"1396171399":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396171395, 1396171398, 1396171397, 1396171401, 1396171396, 1396171399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.514389514923096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 01:15:42.402827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/32/image_26112025_00_32_16_1650.jpg', '/home/pi/Desktop/images/26112025/00/32/image_26112025_00_32_23_1734.jpg', '/home/pi/Desktop/images/26112025/00/32/image_26112025_00_32_26_1549.jpg', '/home/pi/Desktop/images/26112025/00/32/image_26112025_00_32_27_1639.jpg', '/home/pi/Desktop/images/26112025/00/32/image_26112025_00_32_31_1676.jpg', '/home/pi/Desktop/images/26112025/00/32/image_26112025_00_32_33_1512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/32/image_26112025_00_32_16_1650.jpg
/home/pi/Desktop/images/26112025/00/32/image_26112025_00_32_23_1734.jpg
/home/pi/Desktop/images/26112025/00/32/image_26112025_00_32_26_1549.jpg
/home/pi/Desktop/images/26112025/00/32/image_26112025_00_32_27_1639.jpg
/home/pi/Desktop/images/26112025/00/32/image_26112025_00_32_31_1676.jpg
/home/pi/Desktop/images/26112025/00/32/image_26112025_00_32_33_1512.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":["1396171411","1396171410","1396171412","1396171406","1396171409","1396171408"],"photo_ids_order":["1396171406","1396171408","1396171409","1396171410","1396171411","1396171412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ec4eed85daf71a0627a121fe92cf84f5.jpg","text":"TemporaryFile(/tmp/multipartBody3448882890726130484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116203078,"filename":"image_26112025_00_32_31_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/26/44b102c3e1388e9c23555001bfe23b39.jpg","text":"TemporaryFile(/tmp/multipartBody8543241845284033141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116203078,"filename":"image_26112025_00_32_27_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/26/2614d1451f4fc674ede548d474af35e8.jpg","text":"TemporaryFile(/tmp/multipartBody7867348769478630107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116203078,"filename":"image_26112025_00_32_33_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/26/71dfda9928ad792c78eb0f2126fd139f.jpg","text":"TemporaryFile(/tmp/multipartBody9080931362341188734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116203078,"filename":"image_26112025_00_32_16_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/26/8b8b6b52ff06b2344b7127446fdbeb5e.jpg","text":"TemporaryFile(/tmp/multipartBody3718163861400799743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116203078,"filename":"image_26112025_00_32_26_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/26/84d596eda8503eee4ef2b8262becf2c1.jpg","text":"TemporaryFile(/tmp/multipartBody8854272316720006868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116203078,"filename":"image_26112025_00_32_23_1734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396171409","file1":"1396171408","file0":"1396171406","file4":"1396171411","file5":"1396171412","file3":"1396171410"},"map_files_photo_id_array":[{"photo_id":"1396171412","filename":"file5"},{"photo_id":"1396171409","filename":"file2"},{"photo_id":"1396171411","filename":"file4"},{"photo_id":"1396171408","filename":"file1"},{"photo_id":"1396171406","filename":"file0"},{"photo_id":"1396171410","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396171411":["hashtag1","hashtag2"]},{"1396171410":["hashtag1","hashtag2"]},{"1396171412":["hashtag1","hashtag2"]},{"1396171406":["hashtag1","hashtag2"]},{"1396171409":["hashtag1","hashtag2"]},{"1396171408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396171411, 1396171410, 1396171412, 1396171406, 1396171409, 1396171408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21672224998474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:16:22.722988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/32/image_26112025_00_32_34_1528.jpg', '/home/pi/Desktop/images/26112025/00/32/image_26112025_00_32_36_1648.jpg', '/home/pi/Desktop/images/26112025/00/32/image_26112025_00_32_53_17288.jpg', '/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_02_8942.jpg', '/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_04_1606.jpg', '/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_07_1515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/32/image_26112025_00_32_34_1528.jpg
/home/pi/Desktop/images/26112025/00/32/image_26112025_00_32_36_1648.jpg
/home/pi/Desktop/images/26112025/00/32/image_26112025_00_32_53_17288.jpg
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_02_8942.jpg
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_04_1606.jpg
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_07_1515.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":["1396171428","1396171416","1396171421","1396171418","1396171426","1396171414"],"photo_ids_order":["1396171414","1396171416","1396171418","1396171421","1396171426","1396171428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f2e1a676079195fc2cb7e8006a4afb09.jpg","text":"TemporaryFile(/tmp/multipartBody4581330709727175262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116243392,"filename":"image_26112025_00_33_07_1515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e5aec7f87bddcb374ad16f3a32692f0e.jpg","text":"TemporaryFile(/tmp/multipartBody2958542559403534098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116243392,"filename":"image_26112025_00_32_36_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/26/c1eb9c940b7f480c98cbc06ae4408b27.jpg","text":"TemporaryFile(/tmp/multipartBody4306030042806944419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116243392,"filename":"image_26112025_00_33_02_8942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/be8363622659fbd3077afecfe94d59c1.jpg","text":"TemporaryFile(/tmp/multipartBody6214231703397009191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116243392,"filename":"image_26112025_00_32_53_17288.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7264705f241c419d69f80ad7ff9b80f8.jpg","text":"TemporaryFile(/tmp/multipartBody4786643164342641563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116243392,"filename":"image_26112025_00_33_04_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5eb34da007b1ff99511e2f019565cb91.jpg","text":"TemporaryFile(/tmp/multipartBody1430967062336029143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116243392,"filename":"image_26112025_00_32_34_1528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396171418","file1":"1396171416","file0":"1396171414","file4":"1396171426","file5":"1396171428","file3":"1396171421"},"map_files_photo_id_array":[{"photo_id":"1396171428","filename":"file5"},{"photo_id":"1396171418","filename":"file2"},{"photo_id":"1396171426","filename":"file4"},{"photo_id":"1396171416","filename":"file1"},{"photo_id":"1396171414","filename":"file0"},{"photo_id":"1396171421","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396171428":["hashtag1","hashtag2"]},{"1396171416":["hashtag1","hashtag2"]},{"1396171421":["hashtag1","hashtag2"]},{"1396171418":["hashtag1","hashtag2"]},{"1396171426":["hashtag1","hashtag2"]},{"1396171414":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396171428, 1396171416, 1396171421, 1396171418, 1396171426, 1396171414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64003658294678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:17:02.611307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_09_1880.jpg', '/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_10_1595.jpg', '/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_12_1649.jpg', '/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_20_2982.jpg', '/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_22_2904.jpg', '/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_25_2884.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_09_1880.jpg
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_10_1595.jpg
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_12_1649.jpg
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_20_2982.jpg
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_22_2904.jpg
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_25_2884.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":["1396171440","1396171437","1396171442","1396171436","1396171439","1396171438"],"photo_ids_order":["1396171436","1396171437","1396171438","1396171439","1396171440","1396171442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9cff25caa7d568df923373fe61179cf5.jpg","text":"TemporaryFile(/tmp/multipartBody474932670941726288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116283937,"filename":"image_26112025_00_33_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/26/62702565a9b4b720cb285335a9e3f7d6.jpg","text":"TemporaryFile(/tmp/multipartBody5857801361729552952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116283937,"filename":"image_26112025_00_33_10_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/26/c83dcaa502b5ce7474148c8343131e05.jpg","text":"TemporaryFile(/tmp/multipartBody1785926144323194999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116283937,"filename":"image_26112025_00_33_25_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/26/37afec67ab61417e11b32eb930bce37f.jpg","text":"TemporaryFile(/tmp/multipartBody8007876205089062111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116283937,"filename":"image_26112025_00_33_09_1880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b9f8bbf6cd0a6d44aacb5903302f1003.jpg","text":"TemporaryFile(/tmp/multipartBody1620020712704817638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116283937,"filename":"image_26112025_00_33_20_2982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4213450c573acb1d0182524d156ae11e.jpg","text":"TemporaryFile(/tmp/multipartBody6034569499460553604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116283937,"filename":"image_26112025_00_33_12_1649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396171438","file1":"1396171437","file0":"1396171436","file4":"1396171440","file5":"1396171442","file3":"1396171439"},"map_files_photo_id_array":[{"photo_id":"1396171442","filename":"file5"},{"photo_id":"1396171438","filename":"file2"},{"photo_id":"1396171440","filename":"file4"},{"photo_id":"1396171437","filename":"file1"},{"photo_id":"1396171436","filename":"file0"},{"photo_id":"1396171439","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396171440":["hashtag1","hashtag2"]},{"1396171437":["hashtag1","hashtag2"]},{"1396171442":["hashtag1","hashtag2"]},{"1396171436":["hashtag1","hashtag2"]},{"1396171439":["hashtag1","hashtag2"]},{"1396171438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396171440, 1396171437, 1396171442, 1396171436, 1396171439, 1396171438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52734899520874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 01:17:41.816868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_27_1620.jpg', '/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_34_7059.jpg', '/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_36_1573.jpg', '/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_37_1576.jpg', '/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_39_1589.jpg', '/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_40_1615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_27_1620.jpg
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_34_7059.jpg
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_36_1573.jpg
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_37_1576.jpg
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_39_1589.jpg
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_40_1615.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":["1396171476","1396171512","1396171661","1396171591","1396171625","1396171558"],"photo_ids_order":["1396171476","1396171512","1396171558","1396171591","1396171625","1396171661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/98fe3aa30edeb4a34f66f683dfeff417.jpg","text":"TemporaryFile(/tmp/multipartBody6050632975528699733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116322488,"filename":"image_26112025_00_33_27_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/26/68ecc01cf52b49a658f80bd1e4e223cd.jpg","text":"TemporaryFile(/tmp/multipartBody970319494893227155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116322488,"filename":"image_26112025_00_33_34_7059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b51b9d0d6874742bf6ad78bcdcd4d73b.jpg","text":"TemporaryFile(/tmp/multipartBody892183643362409607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116322488,"filename":"image_26112025_00_33_40_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/26/e8912ddc1a91a3c20aa1724e929c71d1.jpg","text":"TemporaryFile(/tmp/multipartBody7654109691433433781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116322488,"filename":"image_26112025_00_33_37_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/26/0123d2bae9601334aa512949d32811b2.jpg","text":"TemporaryFile(/tmp/multipartBody220347197207850310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116322488,"filename":"image_26112025_00_33_39_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/26/5bed0e28c084784661b058e8aa27e853.jpg","text":"TemporaryFile(/tmp/multipartBody6357481675306072007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116322488,"filename":"image_26112025_00_33_36_1573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396171558","file1":"1396171512","file0":"1396171476","file4":"1396171625","file5":"1396171661","file3":"1396171591"},"map_files_photo_id_array":[{"photo_id":"1396171661","filename":"file5"},{"photo_id":"1396171558","filename":"file2"},{"photo_id":"1396171625","filename":"file4"},{"photo_id":"1396171512","filename":"file1"},{"photo_id":"1396171476","filename":"file0"},{"photo_id":"1396171591","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396171476":["hashtag1","hashtag2"]},{"1396171512":["hashtag1","hashtag2"]},{"1396171661":["hashtag1","hashtag2"]},{"1396171591":["hashtag1","hashtag2"]},{"1396171625":["hashtag1","hashtag2"]},{"1396171558":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396171476, 1396171512, 1396171661, 1396171591, 1396171625, 1396171558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.828652143478394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:18:22.016629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_42_1626.jpg', '/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_45_1636.jpg', '/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_47_1882.jpg', '/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_49_1677.jpg', '/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_50_1639.jpg', '/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_52_1647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_42_1626.jpg
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_45_1636.jpg
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_47_1882.jpg
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_49_1677.jpg
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_50_1639.jpg
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_52_1647.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.5769202709197998 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:18:32.037746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_42_1626.jpg', '/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_45_1636.jpg', '/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_47_1882.jpg', '/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_49_1677.jpg', '/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_50_1639.jpg', '/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_52_1647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_42_1626.jpg
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_45_1636.jpg
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_47_1882.jpg
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_49_1677.jpg
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_50_1639.jpg
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_52_1647.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":["1396172469","1396171881","1396172375","1396172141","1396172269","1396172009"],"photo_ids_order":["1396171881","1396172009","1396172141","1396172269","1396172375","1396172469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9020680c5ccf3e895f85e4646421b321.jpg","text":"TemporaryFile(/tmp/multipartBody1651221599258974908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116372741,"filename":"image_26112025_00_33_52_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/26/963795513a23250202da41386c28bb98.jpg","text":"TemporaryFile(/tmp/multipartBody3217628982815421996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116372741,"filename":"image_26112025_00_33_42_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/26/294f1667126ddb6a465d9af6bbe8ff87.jpg","text":"TemporaryFile(/tmp/multipartBody8818504920126111614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116372741,"filename":"image_26112025_00_33_50_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/26/b02af7ccad7dc2fc143a0b34d9915821.jpg","text":"TemporaryFile(/tmp/multipartBody3956947578126434560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116372741,"filename":"image_26112025_00_33_47_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/26/8aed26b7f5a1c0765e5d2e426ce5b6fe.jpg","text":"TemporaryFile(/tmp/multipartBody5448703405815015688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116372741,"filename":"image_26112025_00_33_49_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9194e07f87264d94b63d08edb102e020.jpg","text":"TemporaryFile(/tmp/multipartBody6945834244058967990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116372741,"filename":"image_26112025_00_33_45_1636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396172141","file1":"1396172009","file0":"1396171881","file4":"1396172375","file5":"1396172469","file3":"1396172269"},"map_files_photo_id_array":[{"photo_id":"1396172469","filename":"file5"},{"photo_id":"1396172141","filename":"file2"},{"photo_id":"1396172375","filename":"file4"},{"photo_id":"1396172009","filename":"file1"},{"photo_id":"1396171881","filename":"file0"},{"photo_id":"1396172269","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396172469":["hashtag1","hashtag2"]},{"1396171881":["hashtag1","hashtag2"]},{"1396172375":["hashtag1","hashtag2"]},{"1396172141":["hashtag1","hashtag2"]},{"1396172269":["hashtag1","hashtag2"]},{"1396172009":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396172469, 1396171881, 1396172375, 1396172141, 1396172269, 1396172009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.94073963165283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:19:12.141125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_55_1652.jpg', '/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_57_1643.jpg', '/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_59_1598.jpg', '/home/pi/Desktop/images/26112025/00/33/image_26112025_00_34_00_1557.jpg', '/home/pi/Desktop/images/26112025/00/34/image_26112025_00_34_08_1488.jpg', '/home/pi/Desktop/images/26112025/00/34/image_26112025_00_34_10_1587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_55_1652.jpg
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_57_1643.jpg
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_33_59_1598.jpg
/home/pi/Desktop/images/26112025/00/33/image_26112025_00_34_00_1557.jpg
/home/pi/Desktop/images/26112025/00/34/image_26112025_00_34_08_1488.jpg
/home/pi/Desktop/images/26112025/00/34/image_26112025_00_34_10_1587.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":["1396172871","1396172838","1396172951","1396172894","1396172915","1396172926"],"photo_ids_order":["1396172838","1396172871","1396172894","1396172915","1396172926","1396172951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/04a2f1de9388bb37b5491979222f0d78.jpg","text":"TemporaryFile(/tmp/multipartBody4479818099225206235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116412812,"filename":"image_26112025_00_33_57_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/26/f70c26c78e3f3b78a3e43e09dc34b507.jpg","text":"TemporaryFile(/tmp/multipartBody1919691922969340551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116412812,"filename":"image_26112025_00_33_55_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/26/5da1ae13ca41ada6a73c791741f7ba30.jpg","text":"TemporaryFile(/tmp/multipartBody5280263375734409603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116412812,"filename":"image_26112025_00_34_10_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/26/cb867e5bf363c9420d472c6322ccd35a.jpg","text":"TemporaryFile(/tmp/multipartBody1191969633258101962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116412812,"filename":"image_26112025_00_33_59_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/26/874a351a31e18aab108c325bedcbb77c.jpg","text":"TemporaryFile(/tmp/multipartBody8210403701218348781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116412812,"filename":"image_26112025_00_34_00_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/26/6aef2b501b011c332d415569fe776bda.jpg","text":"TemporaryFile(/tmp/multipartBody6948982074192487741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116412812,"filename":"image_26112025_00_34_08_1488.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396172894","file1":"1396172871","file0":"1396172838","file4":"1396172926","file5":"1396172951","file3":"1396172915"},"map_files_photo_id_array":[{"photo_id":"1396172951","filename":"file5"},{"photo_id":"1396172894","filename":"file2"},{"photo_id":"1396172926","filename":"file4"},{"photo_id":"1396172871","filename":"file1"},{"photo_id":"1396172838","filename":"file0"},{"photo_id":"1396172915","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396172871":["hashtag1","hashtag2"]},{"1396172838":["hashtag1","hashtag2"]},{"1396172951":["hashtag1","hashtag2"]},{"1396172894":["hashtag1","hashtag2"]},{"1396172915":["hashtag1","hashtag2"]},{"1396172926":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396172871, 1396172838, 1396172951, 1396172894, 1396172915, 1396172926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3749897480011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:20:02.989902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/34/image_26112025_00_34_12_1658.jpg', '/home/pi/Desktop/images/26112025/00/34/image_26112025_00_34_13_1609.jpg', '/home/pi/Desktop/images/26112025/00/34/image_26112025_00_34_24_2646.jpg', '/home/pi/Desktop/images/26112025/00/34/image_26112025_00_34_28_3734.jpg', '/home/pi/Desktop/images/26112025/00/34/image_26112025_00_34_30_2760.jpg', '/home/pi/Desktop/images/26112025/00/34/image_26112025_00_34_33_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/34/image_26112025_00_34_12_1658.jpg
/home/pi/Desktop/images/26112025/00/34/image_26112025_00_34_13_1609.jpg
/home/pi/Desktop/images/26112025/00/34/image_26112025_00_34_24_2646.jpg
/home/pi/Desktop/images/26112025/00/34/image_26112025_00_34_28_3734.jpg
/home/pi/Desktop/images/26112025/00/34/image_26112025_00_34_30_2760.jpg
/home/pi/Desktop/images/26112025/00/34/image_26112025_00_34_33_2650.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":["1396173114","1396173116","1396173118","1396173121","1396173115","1396173117"],"photo_ids_order":["1396173114","1396173115","1396173116","1396173117","1396173118","1396173121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/57114567c4b8db15ce59dbb5b589dc7d.jpg","text":"TemporaryFile(/tmp/multipartBody1194417627927312460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116463706,"filename":"image_26112025_00_34_12_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/26/c683a977b5dfee9063a48b2a59667ce0.jpg","text":"TemporaryFile(/tmp/multipartBody6906992291075862960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116463706,"filename":"image_26112025_00_34_24_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/26/124a7e17121da06dff9820fca39231f6.jpg","text":"TemporaryFile(/tmp/multipartBody7257394522531370842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116463706,"filename":"image_26112025_00_34_30_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/26/25f889681c9cb8bc9d8cac13880a12b0.jpg","text":"TemporaryFile(/tmp/multipartBody3863428750146130471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116463706,"filename":"image_26112025_00_34_33_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/26/9178977825949eeba376fa7a8f85865c.jpg","text":"TemporaryFile(/tmp/multipartBody4374602174306237550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116463706,"filename":"image_26112025_00_34_13_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0afcc3c0c28d6035f450e8869dd4545b.jpg","text":"TemporaryFile(/tmp/multipartBody6938506049122109351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116463706,"filename":"image_26112025_00_34_28_3734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396173116","file1":"1396173115","file0":"1396173114","file4":"1396173118","file5":"1396173121","file3":"1396173117"},"map_files_photo_id_array":[{"photo_id":"1396173121","filename":"file5"},{"photo_id":"1396173116","filename":"file2"},{"photo_id":"1396173118","filename":"file4"},{"photo_id":"1396173115","filename":"file1"},{"photo_id":"1396173114","filename":"file0"},{"photo_id":"1396173117","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396173114":["hashtag1","hashtag2"]},{"1396173116":["hashtag1","hashtag2"]},{"1396173118":["hashtag1","hashtag2"]},{"1396173121":["hashtag1","hashtag2"]},{"1396173115":["hashtag1","hashtag2"]},{"1396173117":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396173114, 1396173116, 1396173118, 1396173121, 1396173115, 1396173117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51898241043091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 01:20:42.472507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/34/image_26112025_00_34_45_2622.jpg', '/home/pi/Desktop/images/26112025/00/34/image_26112025_00_34_48_3632.jpg', '/home/pi/Desktop/images/26112025/00/34/image_26112025_00_34_51_2669.jpg', '/home/pi/Desktop/images/26112025/00/34/image_26112025_00_34_54_2667.jpg', '/home/pi/Desktop/images/26112025/00/34/image_26112025_00_34_57_3764.jpg', '/home/pi/Desktop/images/26112025/00/34/image_26112025_00_35_00_2589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/34/image_26112025_00_34_45_2622.jpg
/home/pi/Desktop/images/26112025/00/34/image_26112025_00_34_48_3632.jpg
/home/pi/Desktop/images/26112025/00/34/image_26112025_00_34_51_2669.jpg
/home/pi/Desktop/images/26112025/00/34/image_26112025_00_34_54_2667.jpg
/home/pi/Desktop/images/26112025/00/34/image_26112025_00_34_57_3764.jpg
/home/pi/Desktop/images/26112025/00/34/image_26112025_00_35_00_2589.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":["1396173132","1396173143","1396173155","1396173145","1396173129","1396173144"],"photo_ids_order":["1396173129","1396173132","1396173143","1396173144","1396173145","1396173155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1942a46cbbcb9c9a5a08014d2559f8a0.jpg","text":"TemporaryFile(/tmp/multipartBody8218266940010430584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116503175,"filename":"image_26112025_00_34_48_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/26/42c3593eb51154c79bd295c97c313f61.jpg","text":"TemporaryFile(/tmp/multipartBody8940086547711253662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116503175,"filename":"image_26112025_00_34_51_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/26/72e7c14143c776fb67c76988fdba0ec8.jpg","text":"TemporaryFile(/tmp/multipartBody3625047581044989968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116503175,"filename":"image_26112025_00_35_00_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/26/99d362b144e0a6cddfc3dcbd80dc45d0.jpg","text":"TemporaryFile(/tmp/multipartBody6294648649718198249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116503175,"filename":"image_26112025_00_34_57_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/26/7b56bddf9949c31556b3c959952b6fe5.jpg","text":"TemporaryFile(/tmp/multipartBody5223412158639673984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116503175,"filename":"image_26112025_00_34_45_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/26/8b89594a1c7b21a8020e84212a12666b.jpg","text":"TemporaryFile(/tmp/multipartBody1583917757480105095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116503175,"filename":"image_26112025_00_34_54_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396173143","file1":"1396173132","file0":"1396173129","file4":"1396173145","file5":"1396173155","file3":"1396173144"},"map_files_photo_id_array":[{"photo_id":"1396173155","filename":"file5"},{"photo_id":"1396173143","filename":"file2"},{"photo_id":"1396173145","filename":"file4"},{"photo_id":"1396173132","filename":"file1"},{"photo_id":"1396173129","filename":"file0"},{"photo_id":"1396173144","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396173132":["hashtag1","hashtag2"]},{"1396173143":["hashtag1","hashtag2"]},{"1396173155":["hashtag1","hashtag2"]},{"1396173145":["hashtag1","hashtag2"]},{"1396173129":["hashtag1","hashtag2"]},{"1396173144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396173132, 1396173143, 1396173155, 1396173145, 1396173129, 1396173144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85430383682251 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:21:22.555790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/35/image_26112025_00_35_03_2669.jpg', '/home/pi/Desktop/images/26112025/00/35/image_26112025_00_35_09_2794.jpg', '/home/pi/Desktop/images/26112025/00/35/image_26112025_00_35_18_2617.jpg', '/home/pi/Desktop/images/26112025/00/35/image_26112025_00_35_21_2658.jpg', '/home/pi/Desktop/images/26112025/00/35/image_26112025_00_35_33_2645.jpg', '/home/pi/Desktop/images/26112025/00/35/image_26112025_00_35_36_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/35/image_26112025_00_35_03_2669.jpg
/home/pi/Desktop/images/26112025/00/35/image_26112025_00_35_09_2794.jpg
/home/pi/Desktop/images/26112025/00/35/image_26112025_00_35_18_2617.jpg
/home/pi/Desktop/images/26112025/00/35/image_26112025_00_35_21_2658.jpg
/home/pi/Desktop/images/26112025/00/35/image_26112025_00_35_33_2645.jpg
/home/pi/Desktop/images/26112025/00/35/image_26112025_00_35_36_2696.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":["1396173176","1396173173","1396173193","1396173178","1396173180","1396173174"],"photo_ids_order":["1396173173","1396173174","1396173176","1396173178","1396173180","1396173193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a39cfee6f6baba16a6e9f60eac9c2bb0.jpg","text":"TemporaryFile(/tmp/multipartBody1290295835552983548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116543266,"filename":"image_26112025_00_35_18_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/26/d809e9412f721875535b0a97e5e702b8.jpg","text":"TemporaryFile(/tmp/multipartBody5120487258376185844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116543266,"filename":"image_26112025_00_35_03_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/26/cb4fa4c81d953604b92e0cf05f40fcda.jpg","text":"TemporaryFile(/tmp/multipartBody508875666756981447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116543266,"filename":"image_26112025_00_35_36_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/26/39081f31074cd0e51c7dca439c14f75e.jpg","text":"TemporaryFile(/tmp/multipartBody2468411731240245810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116543266,"filename":"image_26112025_00_35_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/26/8a47ad71bb2af50d2336475382e90f01.jpg","text":"TemporaryFile(/tmp/multipartBody7803130597882532939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116543266,"filename":"image_26112025_00_35_33_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/06c31a7da85242c006f3cd828a087ac4.jpg","text":"TemporaryFile(/tmp/multipartBody1229412724085094256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116543266,"filename":"image_26112025_00_35_09_2794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396173176","file1":"1396173174","file0":"1396173173","file4":"1396173180","file5":"1396173193","file3":"1396173178"},"map_files_photo_id_array":[{"photo_id":"1396173193","filename":"file5"},{"photo_id":"1396173176","filename":"file2"},{"photo_id":"1396173180","filename":"file4"},{"photo_id":"1396173174","filename":"file1"},{"photo_id":"1396173173","filename":"file0"},{"photo_id":"1396173178","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396173176":["hashtag1","hashtag2"]},{"1396173173":["hashtag1","hashtag2"]},{"1396173193":["hashtag1","hashtag2"]},{"1396173178":["hashtag1","hashtag2"]},{"1396173180":["hashtag1","hashtag2"]},{"1396173174":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396173176, 1396173173, 1396173193, 1396173178, 1396173180, 1396173174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.53894591331482 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:22:02.448555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/35/image_26112025_00_35_39_2844.jpg', '/home/pi/Desktop/images/26112025/00/35/image_26112025_00_35_42_3690.jpg', '/home/pi/Desktop/images/26112025/00/35/image_26112025_00_35_45_2728.jpg', '/home/pi/Desktop/images/26112025/00/35/image_26112025_00_35_48_2695.jpg', '/home/pi/Desktop/images/26112025/00/35/image_26112025_00_35_51_3712.jpg', '/home/pi/Desktop/images/26112025/00/35/image_26112025_00_35_55_3500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/35/image_26112025_00_35_39_2844.jpg
/home/pi/Desktop/images/26112025/00/35/image_26112025_00_35_42_3690.jpg
/home/pi/Desktop/images/26112025/00/35/image_26112025_00_35_45_2728.jpg
/home/pi/Desktop/images/26112025/00/35/image_26112025_00_35_48_2695.jpg
/home/pi/Desktop/images/26112025/00/35/image_26112025_00_35_51_3712.jpg
/home/pi/Desktop/images/26112025/00/35/image_26112025_00_35_55_3500.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":["1396173516","1396173479","1396173443","1396173373","1396173409","1396173337"],"photo_ids_order":["1396173337","1396173373","1396173409","1396173443","1396173479","1396173516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eb5a49259b74d2bd467839bf960b5c7c.jpg","text":"TemporaryFile(/tmp/multipartBody152138511348597135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116583196,"filename":"image_26112025_00_35_55_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/26/965fabe3a86f797ea34e0473e96ced75.jpg","text":"TemporaryFile(/tmp/multipartBody9047562549281786020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116583196,"filename":"image_26112025_00_35_51_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/26/bfc7f526b568543eddcc9c39aaafc764.jpg","text":"TemporaryFile(/tmp/multipartBody5452048783440307967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116583196,"filename":"image_26112025_00_35_48_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e1a759645620bc21a7feb6493d75c844.jpg","text":"TemporaryFile(/tmp/multipartBody3522100142819360070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116583196,"filename":"image_26112025_00_35_42_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/26/c7d8dd54f5bd815acdb538c5d664dc53.jpg","text":"TemporaryFile(/tmp/multipartBody963582400837753139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116583196,"filename":"image_26112025_00_35_45_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/99ec98204ec47949b7703d609b3fbeef.jpg","text":"TemporaryFile(/tmp/multipartBody7079245939671046569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116583196,"filename":"image_26112025_00_35_39_2844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396173409","file1":"1396173373","file0":"1396173337","file4":"1396173479","file5":"1396173516","file3":"1396173443"},"map_files_photo_id_array":[{"photo_id":"1396173516","filename":"file5"},{"photo_id":"1396173409","filename":"file2"},{"photo_id":"1396173479","filename":"file4"},{"photo_id":"1396173373","filename":"file1"},{"photo_id":"1396173337","filename":"file0"},{"photo_id":"1396173443","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396173516":["hashtag1","hashtag2"]},{"1396173479":["hashtag1","hashtag2"]},{"1396173443":["hashtag1","hashtag2"]},{"1396173373":["hashtag1","hashtag2"]},{"1396173409":["hashtag1","hashtag2"]},{"1396173337":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396173516, 1396173479, 1396173443, 1396173373, 1396173409, 1396173337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71209216117859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 01:22:42.000260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/35/image_26112025_00_35_57_1681.jpg', '/home/pi/Desktop/images/26112025/00/35/image_26112025_00_36_00_3670.jpg', '/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_03_2556.jpg', '/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_06_2745.jpg', '/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_09_3721.jpg', '/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_12_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/35/image_26112025_00_35_57_1681.jpg
/home/pi/Desktop/images/26112025/00/35/image_26112025_00_36_00_3670.jpg
/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_03_2556.jpg
/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_06_2745.jpg
/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_09_3721.jpg
/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_12_2726.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":["1396173926","1396174063","1396174318","1396174395","1396174350","1396174187"],"photo_ids_order":["1396173926","1396174063","1396174187","1396174318","1396174350","1396174395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c32cfb18c1b359a1485c8b4b2a01c618.jpg","text":"TemporaryFile(/tmp/multipartBody3237488058948976790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116622714,"filename":"image_26112025_00_35_57_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/26/b42525c50d305176d6031709c480d038.jpg","text":"TemporaryFile(/tmp/multipartBody1612493994359574898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116622714,"filename":"image_26112025_00_36_00_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/26/598ee0c2d8636b5fa9c35c62434019be.jpg","text":"TemporaryFile(/tmp/multipartBody8497103009915151508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116622714,"filename":"image_26112025_00_36_06_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/26/e0e9823a4c7a57c5d2bed6fd6c3f22c1.jpg","text":"TemporaryFile(/tmp/multipartBody663674843006229274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116622714,"filename":"image_26112025_00_36_12_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/50faadaebfad9735430e58ae2085bf64.jpg","text":"TemporaryFile(/tmp/multipartBody5241277441698174965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116622714,"filename":"image_26112025_00_36_09_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/26/6d2c5ce90e4925ebcb56831de6c8a626.jpg","text":"TemporaryFile(/tmp/multipartBody4570694926495246338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116622714,"filename":"image_26112025_00_36_03_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396174187","file1":"1396174063","file0":"1396173926","file4":"1396174350","file5":"1396174395","file3":"1396174318"},"map_files_photo_id_array":[{"photo_id":"1396174395","filename":"file5"},{"photo_id":"1396174187","filename":"file2"},{"photo_id":"1396174350","filename":"file4"},{"photo_id":"1396174063","filename":"file1"},{"photo_id":"1396173926","filename":"file0"},{"photo_id":"1396174318","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396173926":["hashtag1","hashtag2"]},{"1396174063":["hashtag1","hashtag2"]},{"1396174318":["hashtag1","hashtag2"]},{"1396174395":["hashtag1","hashtag2"]},{"1396174350":["hashtag1","hashtag2"]},{"1396174187":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396173926, 1396174063, 1396174318, 1396174395, 1396174350, 1396174187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09684133529663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:23:22.189355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_15_2515.jpg', '/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_18_3605.jpg', '/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_21_2752.jpg', '/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_24_2611.jpg', '/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_27_3714.jpg', '/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_30_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_15_2515.jpg
/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_18_3605.jpg
/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_21_2752.jpg
/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_24_2611.jpg
/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_27_3714.jpg
/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_30_2705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396174703","1396174618","1396174810","1396174764","1396174800","1396174644"],"photo_ids_order":["1396174618","1396174644","1396174703","1396174764","1396174800","1396174810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a305ef2a4dbe813516cbc13cd38f346b.jpg","text":"TemporaryFile(/tmp/multipartBody8027533222144259506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116662864,"filename":"image_26112025_00_36_21_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/26/a0d1a3354f38e08953c94ba088d64e4e.jpg","text":"TemporaryFile(/tmp/multipartBody3585148627941424382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116662864,"filename":"image_26112025_00_36_15_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/26/23b108f3c644b1f441f8b35587f7e6d3.jpg","text":"TemporaryFile(/tmp/multipartBody3316520619785421231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116662864,"filename":"image_26112025_00_36_30_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/26/35b11f2f3ec3d81da1cc627562f076cc.jpg","text":"TemporaryFile(/tmp/multipartBody1114875123585386910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116662864,"filename":"image_26112025_00_36_24_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/26/02035ce1a3121cbf08d27ba74bea4641.jpg","text":"TemporaryFile(/tmp/multipartBody8914932938921577139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116662864,"filename":"image_26112025_00_36_27_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/26/43028f447707d46f3a99b4084d5674a0.jpg","text":"TemporaryFile(/tmp/multipartBody2671558332284386220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116662864,"filename":"image_26112025_00_36_18_3605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396174703","file1":"1396174644","file0":"1396174618","file4":"1396174800","file5":"1396174810","file3":"1396174764"},"map_files_photo_id_array":[{"photo_id":"1396174810","filename":"file5"},{"photo_id":"1396174703","filename":"file2"},{"photo_id":"1396174800","filename":"file4"},{"photo_id":"1396174644","filename":"file1"},{"photo_id":"1396174618","filename":"file0"},{"photo_id":"1396174764","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396174703":["hashtag1","hashtag2"]},{"1396174618":["hashtag1","hashtag2"]},{"1396174810":["hashtag1","hashtag2"]},{"1396174764":["hashtag1","hashtag2"]},{"1396174800":["hashtag1","hashtag2"]},{"1396174644":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396174703, 1396174618, 1396174810, 1396174764, 1396174800, 1396174644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81975030899048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:24:03.071732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_33_2635.jpg', '/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_36_3666.jpg', '/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_39_2682.jpg', '/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_45_3706.jpg', '/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_48_2672.jpg', '/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_50_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_33_2635.jpg
/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_36_3666.jpg
/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_39_2682.jpg
/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_45_3706.jpg
/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_48_2672.jpg
/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_50_2600.jpg
 val : 1 : upload photos already in processing! 
 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":["1396174928","1396174963","1396175064","1396174977","1396175084","1396175030"],"photo_ids_order":["1396174928","1396174963","1396174977","1396175030","1396175064","1396175084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fdc94422a64b1e805d311d7839498762.jpg","text":"TemporaryFile(/tmp/multipartBody7685400205582257330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116703931,"filename":"image_26112025_00_36_33_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d392f714c2a02c82add607d140cd9fad.jpg","text":"TemporaryFile(/tmp/multipartBody1711759638882964607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116703931,"filename":"image_26112025_00_36_36_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/26/63a0e91c864f876626555ec449658991.jpg","text":"TemporaryFile(/tmp/multipartBody7588169299447577920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116703931,"filename":"image_26112025_00_36_48_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/798f5ff717b24a2622ccaca0efc87c5d.jpg","text":"TemporaryFile(/tmp/multipartBody976038695242065150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116703931,"filename":"image_26112025_00_36_39_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/26/ffb8b339c98334dab9a7dccd1a0c0dca.jpg","text":"TemporaryFile(/tmp/multipartBody1050891072438925030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116703931,"filename":"image_26112025_00_36_50_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/26/4c6fa1af4f353d5710996855d1d9fe2b.jpg","text":"TemporaryFile(/tmp/multipartBody2537462781124715938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116703931,"filename":"image_26112025_00_36_45_3706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396174977","file1":"1396174963","file0":"1396174928","file4":"1396175064","file5":"1396175084","file3":"1396175030"},"map_files_photo_id_array":[{"photo_id":"1396175084","filename":"file5"},{"photo_id":"1396174977","filename":"file2"},{"photo_id":"1396175064","filename":"file4"},{"photo_id":"1396174963","filename":"file1"},{"photo_id":"1396174928","filename":"file0"},{"photo_id":"1396175030","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396174928":["hashtag1","hashtag2"]},{"1396174963":["hashtag1","hashtag2"]},{"1396175064":["hashtag1","hashtag2"]},{"1396174977":["hashtag1","hashtag2"]},{"1396175084":["hashtag1","hashtag2"]},{"1396175030":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396174928, 1396174963, 1396175064, 1396174977, 1396175084, 1396175030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.57464385032654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:25:03.226930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_54_3735.jpg', '/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_57_2828.jpg', '/home/pi/Desktop/images/26112025/00/36/image_26112025_00_37_00_2822.jpg', '/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_02_2602.jpg', '/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_06_3753.jpg', '/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_11_2563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_54_3735.jpg
/home/pi/Desktop/images/26112025/00/36/image_26112025_00_36_57_2828.jpg
/home/pi/Desktop/images/26112025/00/36/image_26112025_00_37_00_2822.jpg
/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_02_2602.jpg
/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_06_3753.jpg
/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_11_2563.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":["1396175131","1396175130","1396175133","1396175132","1396175135","1396175129"],"photo_ids_order":["1396175129","1396175130","1396175131","1396175132","1396175133","1396175135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e8085d5b8a6639e9afd17759ccd7ab4a.jpg","text":"TemporaryFile(/tmp/multipartBody8398863755561698669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116764026,"filename":"image_26112025_00_37_00_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/26/a97d043ae5d62f162fa2afc6ed8220a9.jpg","text":"TemporaryFile(/tmp/multipartBody4248741838404835191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116764026,"filename":"image_26112025_00_36_57_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/26/1c87824145f9e9e768ab1ca2c56b01cf.jpg","text":"TemporaryFile(/tmp/multipartBody717923781533494237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116764026,"filename":"image_26112025_00_37_06_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/26/183943ee33986fb5a7673fa607173c02.jpg","text":"TemporaryFile(/tmp/multipartBody7894915831287782774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116764026,"filename":"image_26112025_00_37_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/26/b1a4e0d859c9c50e7f56bd44b962770c.jpg","text":"TemporaryFile(/tmp/multipartBody4278258635459575194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116764026,"filename":"image_26112025_00_37_11_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/26/84fe9e555a4d536f2f22337c65932dc5.jpg","text":"TemporaryFile(/tmp/multipartBody7086766011011451279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116764026,"filename":"image_26112025_00_36_54_3735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396175131","file1":"1396175130","file0":"1396175129","file4":"1396175133","file5":"1396175135","file3":"1396175132"},"map_files_photo_id_array":[{"photo_id":"1396175135","filename":"file5"},{"photo_id":"1396175131","filename":"file2"},{"photo_id":"1396175133","filename":"file4"},{"photo_id":"1396175130","filename":"file1"},{"photo_id":"1396175129","filename":"file0"},{"photo_id":"1396175132","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396175131":["hashtag1","hashtag2"]},{"1396175130":["hashtag1","hashtag2"]},{"1396175133":["hashtag1","hashtag2"]},{"1396175132":["hashtag1","hashtag2"]},{"1396175135":["hashtag1","hashtag2"]},{"1396175129":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396175131, 1396175130, 1396175133, 1396175132, 1396175135, 1396175129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2494912147522 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 01:25:42.536781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_18_2743.jpg', '/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_21_2692.jpg', '/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_23_2782.jpg', '/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_27_3776.jpg', '/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_32_2695.jpg', '/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_36_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_18_2743.jpg
/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_21_2692.jpg
/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_23_2782.jpg
/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_27_3776.jpg
/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_32_2695.jpg
/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_36_3591.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":["1396175362","1396175173","1396175140","1396175314","1396175262","1396175214"],"photo_ids_order":["1396175140","1396175173","1396175214","1396175262","1396175314","1396175362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b8470db698101e30ec5a02cf2622c393.jpg","text":"TemporaryFile(/tmp/multipartBody2736695662403032305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116803228,"filename":"image_26112025_00_37_36_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/26/f61bce028b9974c9b201a31d5a45ebc0.jpg","text":"TemporaryFile(/tmp/multipartBody7300735502849678981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116803228,"filename":"image_26112025_00_37_21_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/26/d2281c731326e362ffbaced2a4ab71ac.jpg","text":"TemporaryFile(/tmp/multipartBody2907851196141054107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116803228,"filename":"image_26112025_00_37_18_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/26/df990e7d4c8d6141269a703f605e681f.jpg","text":"TemporaryFile(/tmp/multipartBody5353640830364098778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116803228,"filename":"image_26112025_00_37_32_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/26/010b78731e772b9e1e827fbbcfc38d3d.jpg","text":"TemporaryFile(/tmp/multipartBody8667265591930005229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116803228,"filename":"image_26112025_00_37_27_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/26/1d52afb9ca6e321f99793c11ba4892f9.jpg","text":"TemporaryFile(/tmp/multipartBody4099664842281404458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116803228,"filename":"image_26112025_00_37_23_2782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396175214","file1":"1396175173","file0":"1396175140","file4":"1396175314","file5":"1396175362","file3":"1396175262"},"map_files_photo_id_array":[{"photo_id":"1396175362","filename":"file5"},{"photo_id":"1396175214","filename":"file2"},{"photo_id":"1396175314","filename":"file4"},{"photo_id":"1396175173","filename":"file1"},{"photo_id":"1396175140","filename":"file0"},{"photo_id":"1396175262","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396175362":["hashtag1","hashtag2"]},{"1396175173":["hashtag1","hashtag2"]},{"1396175140":["hashtag1","hashtag2"]},{"1396175314":["hashtag1","hashtag2"]},{"1396175262":["hashtag1","hashtag2"]},{"1396175214":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396175362, 1396175173, 1396175140, 1396175314, 1396175262, 1396175214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96525573730469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:26:23.599707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_39_2959.jpg', '/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_45_3698.jpg', '/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_48_2671.jpg', '/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_51_2802.jpg', '/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_57_3568.jpg', '/home/pi/Desktop/images/26112025/00/37/image_26112025_00_38_00_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_39_2959.jpg
/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_45_3698.jpg
/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_48_2671.jpg
/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_51_2802.jpg
/home/pi/Desktop/images/26112025/00/37/image_26112025_00_37_57_3568.jpg
/home/pi/Desktop/images/26112025/00/37/image_26112025_00_38_00_2730.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":["1396175590","1396175668","1396175710","1396175512","1396175625","1396175552"],"photo_ids_order":["1396175512","1396175552","1396175590","1396175625","1396175668","1396175710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9d0b29ce9d8043d0ee9d9e175a296fbb.jpg","text":"TemporaryFile(/tmp/multipartBody4564075127730436418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116844272,"filename":"image_26112025_00_37_48_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/26/b8286b8e134c1516af4664d001d9bddd.jpg","text":"TemporaryFile(/tmp/multipartBody6279263064959397298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116844272,"filename":"image_26112025_00_37_57_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/26/3b6830d67b88906396470a393e43cec9.jpg","text":"TemporaryFile(/tmp/multipartBody8895749283712560102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116844272,"filename":"image_26112025_00_38_00_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/26/c307ad20aa38fad7ac3bc382f2917418.jpg","text":"TemporaryFile(/tmp/multipartBody470936740743628477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116844272,"filename":"image_26112025_00_37_39_2959.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/515e4daaa771830af139e473da891f76.jpg","text":"TemporaryFile(/tmp/multipartBody6873615130103168554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116844272,"filename":"image_26112025_00_37_51_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/26/f6a6a3db271f083edc3f8755d7a4a631.jpg","text":"TemporaryFile(/tmp/multipartBody416722590494714413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116844272,"filename":"image_26112025_00_37_45_3698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396175590","file1":"1396175552","file0":"1396175512","file4":"1396175668","file5":"1396175710","file3":"1396175625"},"map_files_photo_id_array":[{"photo_id":"1396175710","filename":"file5"},{"photo_id":"1396175590","filename":"file2"},{"photo_id":"1396175668","filename":"file4"},{"photo_id":"1396175552","filename":"file1"},{"photo_id":"1396175512","filename":"file0"},{"photo_id":"1396175625","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396175590":["hashtag1","hashtag2"]},{"1396175668":["hashtag1","hashtag2"]},{"1396175710":["hashtag1","hashtag2"]},{"1396175512":["hashtag1","hashtag2"]},{"1396175625":["hashtag1","hashtag2"]},{"1396175552":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396175590, 1396175668, 1396175710, 1396175512, 1396175625, 1396175552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29641056060791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:27:02.487404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_02_2696.jpg', '/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_06_3643.jpg', '/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_15_3587.jpg', '/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_18_2813.jpg', '/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_20_2561.jpg', '/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_24_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_02_2696.jpg
/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_06_3643.jpg
/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_15_3587.jpg
/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_18_2813.jpg
/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_20_2561.jpg
/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_24_3623.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":["1396175974","1396175938","1396175866","1396176048","1396175901","1396176011"],"photo_ids_order":["1396175866","1396175901","1396175938","1396175974","1396176011","1396176048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ee956c51a4555b7c5b3364593dc814ad.jpg","text":"TemporaryFile(/tmp/multipartBody6770592508841171175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116883275,"filename":"image_26112025_00_38_18_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/26/9b5950f57db2423d76a5cbd354e8c005.jpg","text":"TemporaryFile(/tmp/multipartBody6576605629813977494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116883275,"filename":"image_26112025_00_38_15_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/26/afc4ccfddb583bf8cea5492a5f9b6c3d.jpg","text":"TemporaryFile(/tmp/multipartBody6593560873037162841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116883275,"filename":"image_26112025_00_38_02_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/26/c1da26710b785d64d24e76b5daf59589.jpg","text":"TemporaryFile(/tmp/multipartBody963023926924605666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116883275,"filename":"image_26112025_00_38_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/26/a13123b6701c09a764f8dc88aedbf2d0.jpg","text":"TemporaryFile(/tmp/multipartBody8527732332955259531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116883275,"filename":"image_26112025_00_38_06_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/26/23068e91d3298632808e580473d3d617.jpg","text":"TemporaryFile(/tmp/multipartBody1085088664520408124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116883275,"filename":"image_26112025_00_38_20_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396175938","file1":"1396175901","file0":"1396175866","file4":"1396176011","file5":"1396176048","file3":"1396175974"},"map_files_photo_id_array":[{"photo_id":"1396176048","filename":"file5"},{"photo_id":"1396175938","filename":"file2"},{"photo_id":"1396176011","filename":"file4"},{"photo_id":"1396175901","filename":"file1"},{"photo_id":"1396175866","filename":"file0"},{"photo_id":"1396175974","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396175974":["hashtag1","hashtag2"]},{"1396175938":["hashtag1","hashtag2"]},{"1396175866":["hashtag1","hashtag2"]},{"1396176048":["hashtag1","hashtag2"]},{"1396175901":["hashtag1","hashtag2"]},{"1396176011":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396175974, 1396175938, 1396175866, 1396176048, 1396175901, 1396176011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.890942335128784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 01:27:41.851443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_27_2528.jpg', '/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_29_2727.jpg', '/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_36_2681.jpg', '/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_38_2736.jpg', '/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_42_3667.jpg', '/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_45_2552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_27_2528.jpg
/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_29_2727.jpg
/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_36_2681.jpg
/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_38_2736.jpg
/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_42_3667.jpg
/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_45_2552.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":["1396176217","1396176198","1396176216","1396176219","1396176218","1396176196"],"photo_ids_order":["1396176196","1396176198","1396176216","1396176217","1396176218","1396176219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/82d29ae9f637188806ffe035daa7bda6.jpg","text":"TemporaryFile(/tmp/multipartBody4270877035271803117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116922525,"filename":"image_26112025_00_38_38_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/26/9f885f18c93188e062ab6b04667f07c0.jpg","text":"TemporaryFile(/tmp/multipartBody7340848958595034242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116922525,"filename":"image_26112025_00_38_29_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/26/4682414ed544d2ab191d49ce52a54377.jpg","text":"TemporaryFile(/tmp/multipartBody2750986897954215344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116922525,"filename":"image_26112025_00_38_36_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/26/6a143124cb5b45d88c397bba648fafff.jpg","text":"TemporaryFile(/tmp/multipartBody15751648835015745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116922525,"filename":"image_26112025_00_38_45_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/26/db2195e8bcf9508e06e03facc1158399.jpg","text":"TemporaryFile(/tmp/multipartBody6199872083153981616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116922525,"filename":"image_26112025_00_38_42_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/26/200baa4e99908e92d4e7473d6c727e29.jpg","text":"TemporaryFile(/tmp/multipartBody7429677429608871280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116922525,"filename":"image_26112025_00_38_27_2528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396176216","file1":"1396176198","file0":"1396176196","file4":"1396176218","file5":"1396176219","file3":"1396176217"},"map_files_photo_id_array":[{"photo_id":"1396176219","filename":"file5"},{"photo_id":"1396176216","filename":"file2"},{"photo_id":"1396176218","filename":"file4"},{"photo_id":"1396176198","filename":"file1"},{"photo_id":"1396176196","filename":"file0"},{"photo_id":"1396176217","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396176217":["hashtag1","hashtag2"]},{"1396176198":["hashtag1","hashtag2"]},{"1396176216":["hashtag1","hashtag2"]},{"1396176219":["hashtag1","hashtag2"]},{"1396176218":["hashtag1","hashtag2"]},{"1396176196":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396176217, 1396176198, 1396176216, 1396176219, 1396176218, 1396176196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.829275608062744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:28:22.075681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_47_2573.jpg', '/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_51_3763.jpg', '/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_54_2558.jpg', '/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_03_2552.jpg', '/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_06_3538.jpg', '/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_09_2507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_47_2573.jpg
/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_51_3763.jpg
/home/pi/Desktop/images/26112025/00/38/image_26112025_00_38_54_2558.jpg
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_03_2552.jpg
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_06_3538.jpg
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_09_2507.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":["1396176376","1396176220","1396176232","1396176339","1396176267","1396176303"],"photo_ids_order":["1396176220","1396176232","1396176267","1396176303","1396176339","1396176376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4e268e298661f12d978ef3be15c8bd05.jpg","text":"TemporaryFile(/tmp/multipartBody7153873208823553482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116962743,"filename":"image_26112025_00_39_09_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/26/4a93dfa25fd946ca7048c397c12d0580.jpg","text":"TemporaryFile(/tmp/multipartBody4471175495355610673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116962743,"filename":"image_26112025_00_38_47_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fad81d034491fe3c0d1ab3f0762a1766.jpg","text":"TemporaryFile(/tmp/multipartBody5306648116099903142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116962743,"filename":"image_26112025_00_38_51_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/26/1695f02b6a801f68fa284adfb6506cfb.jpg","text":"TemporaryFile(/tmp/multipartBody3021131782641361575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116962743,"filename":"image_26112025_00_39_06_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/26/45113956b08896f415000c42d95ca5fa.jpg","text":"TemporaryFile(/tmp/multipartBody4744059056253115048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116962743,"filename":"image_26112025_00_38_54_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/26/b3602ca01c75245d12496124023248e4.jpg","text":"TemporaryFile(/tmp/multipartBody4282058481917859582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764116962743,"filename":"image_26112025_00_39_03_2552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396176267","file1":"1396176232","file0":"1396176220","file4":"1396176339","file5":"1396176376","file3":"1396176303"},"map_files_photo_id_array":[{"photo_id":"1396176376","filename":"file5"},{"photo_id":"1396176267","filename":"file2"},{"photo_id":"1396176339","filename":"file4"},{"photo_id":"1396176232","filename":"file1"},{"photo_id":"1396176220","filename":"file0"},{"photo_id":"1396176303","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396176376":["hashtag1","hashtag2"]},{"1396176220":["hashtag1","hashtag2"]},{"1396176232":["hashtag1","hashtag2"]},{"1396176339":["hashtag1","hashtag2"]},{"1396176267":["hashtag1","hashtag2"]},{"1396176303":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396176376, 1396176220, 1396176232, 1396176339, 1396176267, 1396176303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.897011041641235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:29:03.443456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_18_2592.jpg', '/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_20_2767.jpg', '/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_27_2589.jpg', '/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_29_2591.jpg', '/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_33_3598.jpg', '/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_36_2894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_18_2592.jpg
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_20_2767.jpg
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_27_2589.jpg
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_29_2591.jpg
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_33_3598.jpg
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_36_2894.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":["1396176826","1396177050","1396176721","1396176945","1396177331","1396177180"],"photo_ids_order":["1396176721","1396176826","1396176945","1396177050","1396177180","1396177331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0aab7a8679ce7475db9a376d34c69a01.jpg","text":"TemporaryFile(/tmp/multipartBody4406886974488350044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117004325,"filename":"image_26112025_00_39_20_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/26/48a692f938078289730de43bd1da31d9.jpg","text":"TemporaryFile(/tmp/multipartBody4189237399333246767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117004325,"filename":"image_26112025_00_39_29_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/95adea5870b6df84ae51552f0192642c.jpg","text":"TemporaryFile(/tmp/multipartBody879796913825166015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117004325,"filename":"image_26112025_00_39_18_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/26/5e7e80e900f9f58e2402997ffd349f14.jpg","text":"TemporaryFile(/tmp/multipartBody3261521647569073952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117004325,"filename":"image_26112025_00_39_27_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/26/5f5691890514cd9c151cac8acd7d4817.jpg","text":"TemporaryFile(/tmp/multipartBody8989547572591622831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117004325,"filename":"image_26112025_00_39_36_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/26/6a12b51c192aa532279625bc80e60efc.jpg","text":"TemporaryFile(/tmp/multipartBody4444291684718395375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117004325,"filename":"image_26112025_00_39_33_3598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396176945","file1":"1396176826","file0":"1396176721","file4":"1396177180","file5":"1396177331","file3":"1396177050"},"map_files_photo_id_array":[{"photo_id":"1396177331","filename":"file5"},{"photo_id":"1396176945","filename":"file2"},{"photo_id":"1396177180","filename":"file4"},{"photo_id":"1396176826","filename":"file1"},{"photo_id":"1396176721","filename":"file0"},{"photo_id":"1396177050","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396176826":["hashtag1","hashtag2"]},{"1396177050":["hashtag1","hashtag2"]},{"1396176721":["hashtag1","hashtag2"]},{"1396176945":["hashtag1","hashtag2"]},{"1396177331":["hashtag1","hashtag2"]},{"1396177180":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396176826, 1396177050, 1396176721, 1396176945, 1396177331, 1396177180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4370276927948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 01:29:42.372884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_38_2621.jpg', '/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_42_3689.jpg', '/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_45_2566.jpg', '/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_47_2738.jpg', '/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_51_3714.jpg', '/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_54_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_38_2621.jpg
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_42_3689.jpg
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_45_2566.jpg
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_47_2738.jpg
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_51_3714.jpg
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_54_2692.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 [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>8bghd4lo4</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>8bghd4lo4</strong>.
uploaded 0 photos
time to upload: 47.84590244293213 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:30:34.032891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_38_2621.jpg', '/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_42_3689.jpg', '/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_45_2566.jpg', '/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_47_2738.jpg', '/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_51_3714.jpg', '/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_54_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_38_2621.jpg
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_42_3689.jpg
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_45_2566.jpg
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_47_2738.jpg
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_51_3714.jpg
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_54_2692.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6186769008636475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 01:30:44.000932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_38_2621.jpg', '/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_42_3689.jpg', '/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_45_2566.jpg', '/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_47_2738.jpg', '/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_51_3714.jpg', '/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_54_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_38_2621.jpg
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_42_3689.jpg
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_45_2566.jpg
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_47_2738.jpg
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_51_3714.jpg
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_39_54_2692.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":["1396177881","1396177878","1396177871","1396177874","1396177877","1396177876"],"photo_ids_order":["1396177871","1396177874","1396177876","1396177877","1396177878","1396177881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0345a4da4d55ddebfc7f6cc8cca355fe.jpg","text":"TemporaryFile(/tmp/multipartBody6444252578770421212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117104710,"filename":"image_26112025_00_39_54_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/26/92d8c1714e9383f51d531af18511a416.jpg","text":"TemporaryFile(/tmp/multipartBody4307736342214251269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117104710,"filename":"image_26112025_00_39_51_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/26/bdec1bf567711b8970cc47d4d4f80107.jpg","text":"TemporaryFile(/tmp/multipartBody6373521685579052003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117104710,"filename":"image_26112025_00_39_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/26/9d420f327abea9775261890b64e6d148.jpg","text":"TemporaryFile(/tmp/multipartBody8378282823653623787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117104710,"filename":"image_26112025_00_39_42_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/26/94004217d5c2c4802f28b6076ac84b0c.jpg","text":"TemporaryFile(/tmp/multipartBody1037315862735415055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117104710,"filename":"image_26112025_00_39_47_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/26/db4e44fc626477915de1a7e86dc9ecd0.jpg","text":"TemporaryFile(/tmp/multipartBody1399030444585922731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117104710,"filename":"image_26112025_00_39_45_2566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396177876","file1":"1396177874","file0":"1396177871","file4":"1396177878","file5":"1396177881","file3":"1396177877"},"map_files_photo_id_array":[{"photo_id":"1396177881","filename":"file5"},{"photo_id":"1396177876","filename":"file2"},{"photo_id":"1396177878","filename":"file4"},{"photo_id":"1396177874","filename":"file1"},{"photo_id":"1396177871","filename":"file0"},{"photo_id":"1396177877","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396177881":["hashtag1","hashtag2"]},{"1396177878":["hashtag1","hashtag2"]},{"1396177871":["hashtag1","hashtag2"]},{"1396177874":["hashtag1","hashtag2"]},{"1396177877":["hashtag1","hashtag2"]},{"1396177876":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396177881, 1396177878, 1396177871, 1396177874, 1396177877, 1396177876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.488759994506836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:31:32.185835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/39/image_26112025_00_40_00_3499.jpg', '/home/pi/Desktop/images/26112025/00/40/image_26112025_00_40_03_2635.jpg', '/home/pi/Desktop/images/26112025/00/40/image_26112025_00_40_14_2800.jpg', '/home/pi/Desktop/images/26112025/00/40/image_26112025_00_40_18_3545.jpg', '/home/pi/Desktop/images/26112025/00/40/image_26112025_00_40_20_2497.jpg', '/home/pi/Desktop/images/26112025/00/40/image_26112025_00_40_24_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/39/image_26112025_00_40_00_3499.jpg
/home/pi/Desktop/images/26112025/00/40/image_26112025_00_40_03_2635.jpg
/home/pi/Desktop/images/26112025/00/40/image_26112025_00_40_14_2800.jpg
/home/pi/Desktop/images/26112025/00/40/image_26112025_00_40_18_3545.jpg
/home/pi/Desktop/images/26112025/00/40/image_26112025_00_40_20_2497.jpg
/home/pi/Desktop/images/26112025/00/40/image_26112025_00_40_24_3632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396177890","1396177892","1396177895","1396177894","1396177888","1396177893"],"photo_ids_order":["1396177888","1396177890","1396177892","1396177893","1396177894","1396177895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/78d7b9c55a593308035e4acabbc51a99.jpg","text":"TemporaryFile(/tmp/multipartBody6563351027874237958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117152852,"filename":"image_26112025_00_40_03_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/26/33accac82a83cf6901e09f9e3269f643.jpg","text":"TemporaryFile(/tmp/multipartBody3130206667069109696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117152852,"filename":"image_26112025_00_40_14_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/26/123d14a57e79bacdc293b9d01f7e7816.jpg","text":"TemporaryFile(/tmp/multipartBody7143247204984964026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117152852,"filename":"image_26112025_00_40_24_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/26/49fa81a2589602b1a0cbe19d05ff930b.jpg","text":"TemporaryFile(/tmp/multipartBody37115934106994144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117152852,"filename":"image_26112025_00_40_20_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/26/ffc646f80b7b522d369799163ad910d6.jpg","text":"TemporaryFile(/tmp/multipartBody7178658265794369750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117152852,"filename":"image_26112025_00_40_00_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/26/401a3592b0b6a1a29deef287c05c2dc9.jpg","text":"TemporaryFile(/tmp/multipartBody4483042124856290018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117152852,"filename":"image_26112025_00_40_18_3545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396177892","file1":"1396177890","file0":"1396177888","file4":"1396177894","file5":"1396177895","file3":"1396177893"},"map_files_photo_id_array":[{"photo_id":"1396177895","filename":"file5"},{"photo_id":"1396177892","filename":"file2"},{"photo_id":"1396177894","filename":"file4"},{"photo_id":"1396177890","filename":"file1"},{"photo_id":"1396177888","filename":"file0"},{"photo_id":"1396177893","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396177890":["hashtag1","hashtag2"]},{"1396177892":["hashtag1","hashtag2"]},{"1396177895":["hashtag1","hashtag2"]},{"1396177894":["hashtag1","hashtag2"]},{"1396177888":["hashtag1","hashtag2"]},{"1396177893":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396177890, 1396177892, 1396177895, 1396177894, 1396177888, 1396177893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.83380651473999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:32:12.402122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/40/image_26112025_00_40_36_3553.jpg', '/home/pi/Desktop/images/26112025/00/40/image_26112025_00_40_38_2658.jpg', '/home/pi/Desktop/images/26112025/00/40/image_26112025_00_40_42_3631.jpg', '/home/pi/Desktop/images/26112025/00/40/image_26112025_00_40_44_2529.jpg', '/home/pi/Desktop/images/26112025/00/40/image_26112025_00_40_47_2694.jpg', '/home/pi/Desktop/images/26112025/00/40/image_26112025_00_40_54_3697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/40/image_26112025_00_40_36_3553.jpg
/home/pi/Desktop/images/26112025/00/40/image_26112025_00_40_38_2658.jpg
/home/pi/Desktop/images/26112025/00/40/image_26112025_00_40_42_3631.jpg
/home/pi/Desktop/images/26112025/00/40/image_26112025_00_40_44_2529.jpg
/home/pi/Desktop/images/26112025/00/40/image_26112025_00_40_47_2694.jpg
/home/pi/Desktop/images/26112025/00/40/image_26112025_00_40_54_3697.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":["1396177906","1396177899","1396177908","1396177902","1396177904","1396177901"],"photo_ids_order":["1396177899","1396177901","1396177902","1396177904","1396177906","1396177908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d70fa32f0f12721b2d20f8a5fb5e843c.jpg","text":"TemporaryFile(/tmp/multipartBody6249338530369319898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117193073,"filename":"image_26112025_00_40_47_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/26/b14158a5fff2e053793fd76dbf868c39.jpg","text":"TemporaryFile(/tmp/multipartBody2798105918173477181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117193073,"filename":"image_26112025_00_40_36_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/26/876bc570dbdf65f8ca2fe3a47ee9fff6.jpg","text":"TemporaryFile(/tmp/multipartBody5652749989579069964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117193073,"filename":"image_26112025_00_40_54_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/26/9a2514d2f1333c6387d464b598e379c1.jpg","text":"TemporaryFile(/tmp/multipartBody6704633995614181874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117193073,"filename":"image_26112025_00_40_42_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/26/a7ff4a32c87f964eb28e3b92e6dae725.jpg","text":"TemporaryFile(/tmp/multipartBody177418958979401399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117193073,"filename":"image_26112025_00_40_44_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/26/c4e90e0126fc9f74ebada7f6ca336f0c.jpg","text":"TemporaryFile(/tmp/multipartBody7869032016769934167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117193073,"filename":"image_26112025_00_40_38_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396177902","file1":"1396177901","file0":"1396177899","file4":"1396177906","file5":"1396177908","file3":"1396177904"},"map_files_photo_id_array":[{"photo_id":"1396177908","filename":"file5"},{"photo_id":"1396177902","filename":"file2"},{"photo_id":"1396177906","filename":"file4"},{"photo_id":"1396177901","filename":"file1"},{"photo_id":"1396177899","filename":"file0"},{"photo_id":"1396177904","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396177906":["hashtag1","hashtag2"]},{"1396177899":["hashtag1","hashtag2"]},{"1396177908":["hashtag1","hashtag2"]},{"1396177902":["hashtag1","hashtag2"]},{"1396177904":["hashtag1","hashtag2"]},{"1396177901":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396177906, 1396177899, 1396177908, 1396177902, 1396177904, 1396177901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19924521446228 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:33:03.284950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/40/image_26112025_00_40_59_2670.jpg', '/home/pi/Desktop/images/26112025/00/41/image_26112025_00_41_03_3548.jpg', '/home/pi/Desktop/images/26112025/00/41/image_26112025_00_41_08_2629.jpg', '/home/pi/Desktop/images/26112025/00/41/image_26112025_00_41_12_3870.jpg', '/home/pi/Desktop/images/26112025/00/41/image_26112025_00_41_14_2563.jpg', '/home/pi/Desktop/images/26112025/00/41/image_26112025_00_41_21_3708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/40/image_26112025_00_40_59_2670.jpg
/home/pi/Desktop/images/26112025/00/41/image_26112025_00_41_03_3548.jpg
/home/pi/Desktop/images/26112025/00/41/image_26112025_00_41_08_2629.jpg
/home/pi/Desktop/images/26112025/00/41/image_26112025_00_41_12_3870.jpg
/home/pi/Desktop/images/26112025/00/41/image_26112025_00_41_14_2563.jpg
/home/pi/Desktop/images/26112025/00/41/image_26112025_00_41_21_3708.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":["1396178448","1396178064","1396178159","1396178255","1396178035","1396178352"],"photo_ids_order":["1396178035","1396178064","1396178159","1396178255","1396178352","1396178448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/07dceba6d75ac69848b263216ac3bb1b.jpg","text":"TemporaryFile(/tmp/multipartBody5699103719910151300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117244056,"filename":"image_26112025_00_41_21_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/26/35c58d55f8a00af970177b7f798ab9bf.jpg","text":"TemporaryFile(/tmp/multipartBody8048611228922763149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117244056,"filename":"image_26112025_00_41_03_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/26/8cd25342ac8434cce4f5751344bbe9f1.jpg","text":"TemporaryFile(/tmp/multipartBody1137480455481278852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117244056,"filename":"image_26112025_00_41_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/26/895388f203e5824c3c0578304579b722.jpg","text":"TemporaryFile(/tmp/multipartBody4514686161154502190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117244056,"filename":"image_26112025_00_41_12_3870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9e742f4dbfb3dbca64c278d8d0115f91.jpg","text":"TemporaryFile(/tmp/multipartBody3220606210694604384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117244056,"filename":"image_26112025_00_40_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/26/96d8e47fd8df2f8c82ae50e6063b0391.jpg","text":"TemporaryFile(/tmp/multipartBody1756564714849920067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117244056,"filename":"image_26112025_00_41_14_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396178159","file1":"1396178064","file0":"1396178035","file4":"1396178352","file5":"1396178448","file3":"1396178255"},"map_files_photo_id_array":[{"photo_id":"1396178448","filename":"file5"},{"photo_id":"1396178159","filename":"file2"},{"photo_id":"1396178352","filename":"file4"},{"photo_id":"1396178064","filename":"file1"},{"photo_id":"1396178035","filename":"file0"},{"photo_id":"1396178255","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396178448":["hashtag1","hashtag2"]},{"1396178064":["hashtag1","hashtag2"]},{"1396178159":["hashtag1","hashtag2"]},{"1396178255":["hashtag1","hashtag2"]},{"1396178035":["hashtag1","hashtag2"]},{"1396178352":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396178448, 1396178064, 1396178159, 1396178255, 1396178035, 1396178352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63901686668396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 01:33:42.739335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/41/image_26112025_00_41_23_2761.jpg', '/home/pi/Desktop/images/26112025/00/41/image_26112025_00_41_26_2589.jpg', '/home/pi/Desktop/images/26112025/00/41/image_26112025_00_41_32_2577.jpg', '/home/pi/Desktop/images/26112025/00/41/image_26112025_00_41_35_2689.jpg', '/home/pi/Desktop/images/26112025/00/41/image_26112025_00_41_39_3539.jpg', '/home/pi/Desktop/images/26112025/00/41/image_26112025_00_41_41_2547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/41/image_26112025_00_41_23_2761.jpg
/home/pi/Desktop/images/26112025/00/41/image_26112025_00_41_26_2589.jpg
/home/pi/Desktop/images/26112025/00/41/image_26112025_00_41_32_2577.jpg
/home/pi/Desktop/images/26112025/00/41/image_26112025_00_41_35_2689.jpg
/home/pi/Desktop/images/26112025/00/41/image_26112025_00_41_39_3539.jpg
/home/pi/Desktop/images/26112025/00/41/image_26112025_00_41_41_2547.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":["1396178718","1396178721","1396178720","1396178744","1396178717","1396178719"],"photo_ids_order":["1396178717","1396178718","1396178719","1396178720","1396178721","1396178744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6e339ec0c4dc46b9f77a05005e7752a0.jpg","text":"TemporaryFile(/tmp/multipartBody8139019222355231541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117283406,"filename":"image_26112025_00_41_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/26/d0e2f1b0fa05f495f6aaa3751acfed40.jpg","text":"TemporaryFile(/tmp/multipartBody3476423934451175311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117283406,"filename":"image_26112025_00_41_39_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/26/42d50225fe8185acf476bea827c241b2.jpg","text":"TemporaryFile(/tmp/multipartBody1337350737148034263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117283406,"filename":"image_26112025_00_41_35_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/26/a41d14137ff8394e01944d44259131fb.jpg","text":"TemporaryFile(/tmp/multipartBody6169351177529358605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117283406,"filename":"image_26112025_00_41_41_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/26/8faee35bc956f297b629666323d26675.jpg","text":"TemporaryFile(/tmp/multipartBody5281412282464509783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117283406,"filename":"image_26112025_00_41_23_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/26/a01c60340d51a52f7f22f679a7afdbe5.jpg","text":"TemporaryFile(/tmp/multipartBody5582821326787090718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117283406,"filename":"image_26112025_00_41_32_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396178719","file1":"1396178718","file0":"1396178717","file4":"1396178721","file5":"1396178744","file3":"1396178720"},"map_files_photo_id_array":[{"photo_id":"1396178744","filename":"file5"},{"photo_id":"1396178719","filename":"file2"},{"photo_id":"1396178721","filename":"file4"},{"photo_id":"1396178718","filename":"file1"},{"photo_id":"1396178717","filename":"file0"},{"photo_id":"1396178720","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396178718":["hashtag1","hashtag2"]},{"1396178721":["hashtag1","hashtag2"]},{"1396178720":["hashtag1","hashtag2"]},{"1396178744":["hashtag1","hashtag2"]},{"1396178717":["hashtag1","hashtag2"]},{"1396178719":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396178718, 1396178721, 1396178720, 1396178744, 1396178717, 1396178719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.19631338119507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:34:32.161305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/41/image_26112025_00_41_45_3564.jpg', '/home/pi/Desktop/images/26112025/00/41/image_26112025_00_42_00_3572.jpg', '/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_02_2649.jpg', '/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_11_1639.jpg', '/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_14_2779.jpg', '/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_18_3725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/41/image_26112025_00_41_45_3564.jpg
/home/pi/Desktop/images/26112025/00/41/image_26112025_00_42_00_3572.jpg
/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_02_2649.jpg
/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_11_1639.jpg
/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_14_2779.jpg
/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_18_3725.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":["1396178922","1396178927","1396178924","1396178926","1396178929","1396178928"],"photo_ids_order":["1396178922","1396178924","1396178926","1396178927","1396178928","1396178929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/90b24d5755406f4b3c5f578d673fcc60.jpg","text":"TemporaryFile(/tmp/multipartBody4106263614983227033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117332873,"filename":"image_26112025_00_41_45_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/26/8051ef3e6befe64a611433c07fac1de1.jpg","text":"TemporaryFile(/tmp/multipartBody7824244716711974884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117332873,"filename":"image_26112025_00_42_11_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/26/8c146f12618af3fd9949754966f27aeb.jpg","text":"TemporaryFile(/tmp/multipartBody1882378570891044162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117332873,"filename":"image_26112025_00_42_00_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/26/2055ff75af24dd467116b4c5c9048ad4.jpg","text":"TemporaryFile(/tmp/multipartBody1083112472642458425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117332873,"filename":"image_26112025_00_42_02_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/26/0f701d3a87e2f776aa3ae29da91180d7.jpg","text":"TemporaryFile(/tmp/multipartBody1493449729875148459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117332873,"filename":"image_26112025_00_42_18_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/26/1544a655004e5436aa58522ecefbc32a.jpg","text":"TemporaryFile(/tmp/multipartBody4117722102163779973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117332873,"filename":"image_26112025_00_42_14_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396178926","file1":"1396178924","file0":"1396178922","file4":"1396178928","file5":"1396178929","file3":"1396178927"},"map_files_photo_id_array":[{"photo_id":"1396178929","filename":"file5"},{"photo_id":"1396178926","filename":"file2"},{"photo_id":"1396178928","filename":"file4"},{"photo_id":"1396178924","filename":"file1"},{"photo_id":"1396178922","filename":"file0"},{"photo_id":"1396178927","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396178922":["hashtag1","hashtag2"]},{"1396178927":["hashtag1","hashtag2"]},{"1396178924":["hashtag1","hashtag2"]},{"1396178926":["hashtag1","hashtag2"]},{"1396178929":["hashtag1","hashtag2"]},{"1396178928":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396178922, 1396178927, 1396178924, 1396178926, 1396178929, 1396178928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.367790937423706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:35:12.205727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_21_2686.jpg', '/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_23_2673.jpg', '/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_26_2646.jpg', '/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_29_3670.jpg', '/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_32_2596.jpg', '/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_36_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_21_2686.jpg
/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_23_2673.jpg
/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_26_2646.jpg
/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_29_3670.jpg
/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_32_2596.jpg
/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_36_3676.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":["1396178943","1396178945","1396178950","1396178953","1396178947","1396178955"],"photo_ids_order":["1396178943","1396178945","1396178947","1396178950","1396178953","1396178955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/50c5ce7066fc98db72f5668ccabb00a0.jpg","text":"TemporaryFile(/tmp/multipartBody790105050836413564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117372870,"filename":"image_26112025_00_42_21_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/26/47b5b38feea70eae15be10c1b1f781d5.jpg","text":"TemporaryFile(/tmp/multipartBody2343133924049338761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117372870,"filename":"image_26112025_00_42_23_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/26/7813c7f74cbc6321f6c41543f57d99b2.jpg","text":"TemporaryFile(/tmp/multipartBody1200583791044811736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117372870,"filename":"image_26112025_00_42_29_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/26/4e86d4699a26c3bed99ec0ef40aff531.jpg","text":"TemporaryFile(/tmp/multipartBody3513743988705832324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117372870,"filename":"image_26112025_00_42_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/26/b4902b9fe90f5945432933a38c234966.jpg","text":"TemporaryFile(/tmp/multipartBody5096688845533278012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117372870,"filename":"image_26112025_00_42_26_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/26/3357774803647dc487345284dc28260a.jpg","text":"TemporaryFile(/tmp/multipartBody6953000124052401989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117372870,"filename":"image_26112025_00_42_36_3676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396178947","file1":"1396178945","file0":"1396178943","file4":"1396178953","file5":"1396178955","file3":"1396178950"},"map_files_photo_id_array":[{"photo_id":"1396178955","filename":"file5"},{"photo_id":"1396178947","filename":"file2"},{"photo_id":"1396178953","filename":"file4"},{"photo_id":"1396178945","filename":"file1"},{"photo_id":"1396178943","filename":"file0"},{"photo_id":"1396178950","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396178943":["hashtag1","hashtag2"]},{"1396178945":["hashtag1","hashtag2"]},{"1396178950":["hashtag1","hashtag2"]},{"1396178953":["hashtag1","hashtag2"]},{"1396178947":["hashtag1","hashtag2"]},{"1396178955":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396178943, 1396178945, 1396178950, 1396178953, 1396178947, 1396178955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.165895223617554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:36:03.081566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_38_2708.jpg', '/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_41_2602.jpg', '/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_45_3678.jpg', '/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_54_3616.jpg', '/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_56_2668.jpg', '/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_03_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_38_2708.jpg
/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_41_2602.jpg
/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_45_3678.jpg
/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_54_3616.jpg
/home/pi/Desktop/images/26112025/00/42/image_26112025_00_42_56_2668.jpg
/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_03_3633.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":["1396178975","1396178984","1396178969","1396178983","1396178971","1396178982"],"photo_ids_order":["1396178969","1396178971","1396178975","1396178982","1396178983","1396178984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ccca096664e62fb764e8144d903ad46a.jpg","text":"TemporaryFile(/tmp/multipartBody602094352181451433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117423964,"filename":"image_26112025_00_42_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/26/fb1f9aeb61a0447e482282e27b86f1e8.jpg","text":"TemporaryFile(/tmp/multipartBody855779999249134947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117423964,"filename":"image_26112025_00_43_03_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/26/57fb737b827f2e5eaf133f9af8b836a5.jpg","text":"TemporaryFile(/tmp/multipartBody3588237120227756464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117423964,"filename":"image_26112025_00_42_38_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/007fb4d4a1077c527484ee0e5ea58315.jpg","text":"TemporaryFile(/tmp/multipartBody7287035986239644417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117423964,"filename":"image_26112025_00_42_56_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/26/69e605c7758ac6b73588cd8b02121f8e.jpg","text":"TemporaryFile(/tmp/multipartBody8047682984193141310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117423964,"filename":"image_26112025_00_42_41_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/26/a93495f76367a6cdd0e2acc30374157a.jpg","text":"TemporaryFile(/tmp/multipartBody4350057566373656689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117423964,"filename":"image_26112025_00_42_54_3616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396178975","file1":"1396178971","file0":"1396178969","file4":"1396178983","file5":"1396178984","file3":"1396178982"},"map_files_photo_id_array":[{"photo_id":"1396178984","filename":"file5"},{"photo_id":"1396178975","filename":"file2"},{"photo_id":"1396178983","filename":"file4"},{"photo_id":"1396178971","filename":"file1"},{"photo_id":"1396178969","filename":"file0"},{"photo_id":"1396178982","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396178975":["hashtag1","hashtag2"]},{"1396178984":["hashtag1","hashtag2"]},{"1396178969":["hashtag1","hashtag2"]},{"1396178983":["hashtag1","hashtag2"]},{"1396178971":["hashtag1","hashtag2"]},{"1396178982":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396178975, 1396178984, 1396178969, 1396178983, 1396178971, 1396178982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.012927293777466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 01:36:42.483567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_05_2561.jpg', '/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_08_2800.jpg', '/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_12_3517.jpg', '/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_14_2820.jpg', '/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_17_2532.jpg', '/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_21_3787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_05_2561.jpg
/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_08_2800.jpg
/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_12_3517.jpg
/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_14_2820.jpg
/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_17_2532.jpg
/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_21_3787.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":["1396179000","1396179002","1396178992","1396178995","1396178989","1396179003"],"photo_ids_order":["1396178989","1396178992","1396178995","1396179000","1396179002","1396179003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4b48fd1ab5cd8525a1cc5f879325742e.jpg","text":"TemporaryFile(/tmp/multipartBody396275952919726926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117463292,"filename":"image_26112025_00_43_14_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/26/717ee684f5a154f7a50295b004432876.jpg","text":"TemporaryFile(/tmp/multipartBody5726752280937118667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117463292,"filename":"image_26112025_00_43_17_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/26/a569cb20150e243f9c936a915a07c2bf.jpg","text":"TemporaryFile(/tmp/multipartBody3648864258363752179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117463292,"filename":"image_26112025_00_43_08_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/26/fe8723647d8dbc9b5e39f02e22966a35.jpg","text":"TemporaryFile(/tmp/multipartBody3978106929334167263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117463292,"filename":"image_26112025_00_43_12_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/26/b86c72728aef8f1403e569ae0f92791a.jpg","text":"TemporaryFile(/tmp/multipartBody5931657548506258673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117463292,"filename":"image_26112025_00_43_05_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/26/c0cd0235d8462b70d3e9d981b9749e6f.jpg","text":"TemporaryFile(/tmp/multipartBody8905684006123507224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117463292,"filename":"image_26112025_00_43_21_3787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396178995","file1":"1396178992","file0":"1396178989","file4":"1396179002","file5":"1396179003","file3":"1396179000"},"map_files_photo_id_array":[{"photo_id":"1396179003","filename":"file5"},{"photo_id":"1396178995","filename":"file2"},{"photo_id":"1396179002","filename":"file4"},{"photo_id":"1396178992","filename":"file1"},{"photo_id":"1396178989","filename":"file0"},{"photo_id":"1396179000","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396179000":["hashtag1","hashtag2"]},{"1396179002":["hashtag1","hashtag2"]},{"1396178992":["hashtag1","hashtag2"]},{"1396178995":["hashtag1","hashtag2"]},{"1396178989":["hashtag1","hashtag2"]},{"1396179003":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396179000, 1396179002, 1396178992, 1396178995, 1396178989, 1396179003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64260268211365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:37:22.569059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_23_2596.jpg', '/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_26_2623.jpg', '/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_30_3638.jpg', '/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_35_2608.jpg', '/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_39_3912.jpg', '/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_41_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_23_2596.jpg
/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_26_2623.jpg
/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_30_3638.jpg
/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_35_2608.jpg
/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_39_3912.jpg
/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_41_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.6303412914276123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:37:32.634486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_23_2596.jpg', '/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_26_2623.jpg', '/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_30_3638.jpg', '/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_35_2608.jpg', '/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_39_3912.jpg', '/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_41_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_23_2596.jpg
/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_26_2623.jpg
/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_30_3638.jpg
/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_35_2608.jpg
/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_39_3912.jpg
/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_41_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":["1396179040","1396179013","1396179033","1396179015","1396179039","1396179018"],"photo_ids_order":["1396179013","1396179015","1396179018","1396179033","1396179039","1396179040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/da6c05203ef5a033a8b4ac75c24e9dd8.jpg","text":"TemporaryFile(/tmp/multipartBody7184936950546940019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117513296,"filename":"image_26112025_00_43_41_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a9e166ae357352c9eac481a0ed6042c9.jpg","text":"TemporaryFile(/tmp/multipartBody5829192054114026188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117513296,"filename":"image_26112025_00_43_23_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/26/5b15b3d136c51cff9a9dbc9c00d61c93.jpg","text":"TemporaryFile(/tmp/multipartBody14171540712185837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117513296,"filename":"image_26112025_00_43_35_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/26/f14e875f37b7d2faf3011c69154627ae.jpg","text":"TemporaryFile(/tmp/multipartBody8259463443073841499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117513296,"filename":"image_26112025_00_43_26_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/26/9750e1de5f77b72bd3759011625236d4.jpg","text":"TemporaryFile(/tmp/multipartBody8287044056801903814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117513296,"filename":"image_26112025_00_43_39_3912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/944f809437481c20bcd108eb04897a87.jpg","text":"TemporaryFile(/tmp/multipartBody3879863758227600164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117513296,"filename":"image_26112025_00_43_30_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396179018","file1":"1396179015","file0":"1396179013","file4":"1396179039","file5":"1396179040","file3":"1396179033"},"map_files_photo_id_array":[{"photo_id":"1396179040","filename":"file5"},{"photo_id":"1396179018","filename":"file2"},{"photo_id":"1396179039","filename":"file4"},{"photo_id":"1396179015","filename":"file1"},{"photo_id":"1396179013","filename":"file0"},{"photo_id":"1396179033","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396179040":["hashtag1","hashtag2"]},{"1396179013":["hashtag1","hashtag2"]},{"1396179033":["hashtag1","hashtag2"]},{"1396179015":["hashtag1","hashtag2"]},{"1396179039":["hashtag1","hashtag2"]},{"1396179018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396179040, 1396179013, 1396179033, 1396179015, 1396179039, 1396179018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.07666993141174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:38:11.908998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_48_3675.jpg', '/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_53_2667.jpg', '/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_57_3824.jpg', '/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_59_2787.jpg', '/home/pi/Desktop/images/26112025/00/44/image_26112025_00_44_05_2634.jpg', '/home/pi/Desktop/images/26112025/00/44/image_26112025_00_44_11_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_48_3675.jpg
/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_53_2667.jpg
/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_57_3824.jpg
/home/pi/Desktop/images/26112025/00/43/image_26112025_00_43_59_2787.jpg
/home/pi/Desktop/images/26112025/00/44/image_26112025_00_44_05_2634.jpg
/home/pi/Desktop/images/26112025/00/44/image_26112025_00_44_11_2665.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":["1396179053","1396179047","1396179049","1396179043","1396179051","1396179045"],"photo_ids_order":["1396179043","1396179045","1396179047","1396179049","1396179051","1396179053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/da14e2b7b5ae515b858a341766658013.jpg","text":"TemporaryFile(/tmp/multipartBody3694735772882012108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117552573,"filename":"image_26112025_00_44_11_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/26/b321f25c49014787aa968db577202b8a.jpg","text":"TemporaryFile(/tmp/multipartBody5743307142936136859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117552573,"filename":"image_26112025_00_43_57_3824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6e3f6e1b76495db3ab0d9cc5dcd2f036.jpg","text":"TemporaryFile(/tmp/multipartBody918241618224932265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117552573,"filename":"image_26112025_00_43_59_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/26/7a371b0b46e7896cc40cb279a51f95c6.jpg","text":"TemporaryFile(/tmp/multipartBody3389732865015591545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117552573,"filename":"image_26112025_00_43_48_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/26/f0dcdce1cf6d1a8056d69169b640b489.jpg","text":"TemporaryFile(/tmp/multipartBody5491179561933314676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117552573,"filename":"image_26112025_00_44_05_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/26/d4a935ec71a9d0d08491f209fed136da.jpg","text":"TemporaryFile(/tmp/multipartBody3015147701040996326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117552573,"filename":"image_26112025_00_43_53_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396179047","file1":"1396179045","file0":"1396179043","file4":"1396179051","file5":"1396179053","file3":"1396179049"},"map_files_photo_id_array":[{"photo_id":"1396179053","filename":"file5"},{"photo_id":"1396179047","filename":"file2"},{"photo_id":"1396179051","filename":"file4"},{"photo_id":"1396179045","filename":"file1"},{"photo_id":"1396179043","filename":"file0"},{"photo_id":"1396179049","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396179053":["hashtag1","hashtag2"]},{"1396179047":["hashtag1","hashtag2"]},{"1396179049":["hashtag1","hashtag2"]},{"1396179043":["hashtag1","hashtag2"]},{"1396179051":["hashtag1","hashtag2"]},{"1396179045":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396179053, 1396179047, 1396179049, 1396179043, 1396179051, 1396179045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.595906019210815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:39:03.168424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/44/image_26112025_00_44_17_3734.jpg', '/home/pi/Desktop/images/26112025/00/44/image_26112025_00_44_20_2617.jpg', '/home/pi/Desktop/images/26112025/00/44/image_26112025_00_44_38_2677.jpg', '/home/pi/Desktop/images/26112025/00/44/image_26112025_00_44_41_2736.jpg', '/home/pi/Desktop/images/26112025/00/44/image_26112025_00_44_44_3641.jpg', '/home/pi/Desktop/images/26112025/00/44/image_26112025_00_44_47_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/44/image_26112025_00_44_17_3734.jpg
/home/pi/Desktop/images/26112025/00/44/image_26112025_00_44_20_2617.jpg
/home/pi/Desktop/images/26112025/00/44/image_26112025_00_44_38_2677.jpg
/home/pi/Desktop/images/26112025/00/44/image_26112025_00_44_41_2736.jpg
/home/pi/Desktop/images/26112025/00/44/image_26112025_00_44_44_3641.jpg
/home/pi/Desktop/images/26112025/00/44/image_26112025_00_44_47_2626.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":["1396179083","1396179635","1396179163","1396179786","1396179307","1396179471"],"photo_ids_order":["1396179083","1396179163","1396179307","1396179471","1396179635","1396179786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ec84c6521646d3391c4a62dd71bf4dc7.jpg","text":"TemporaryFile(/tmp/multipartBody8281690449609717731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117604146,"filename":"image_26112025_00_44_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/26/36043bf2d874cd60c707a559143b30ba.jpg","text":"TemporaryFile(/tmp/multipartBody6597754956533137688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117604146,"filename":"image_26112025_00_44_44_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/26/7fa0733842edbc7f5b9562159a1cd145.jpg","text":"TemporaryFile(/tmp/multipartBody3470047999363739781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117604146,"filename":"image_26112025_00_44_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/26/8e05c57c085183427223f448e500f4dc.jpg","text":"TemporaryFile(/tmp/multipartBody8197302171660666947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117604146,"filename":"image_26112025_00_44_47_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/26/6e2c8c82ec23d9367537c6879d078a0e.jpg","text":"TemporaryFile(/tmp/multipartBody6832334672674369708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117604146,"filename":"image_26112025_00_44_38_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/26/8f340ee6c656b64d51ac746c6eb2a9c1.jpg","text":"TemporaryFile(/tmp/multipartBody5258453102401678753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117604146,"filename":"image_26112025_00_44_41_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396179307","file1":"1396179163","file0":"1396179083","file4":"1396179635","file5":"1396179786","file3":"1396179471"},"map_files_photo_id_array":[{"photo_id":"1396179786","filename":"file5"},{"photo_id":"1396179307","filename":"file2"},{"photo_id":"1396179635","filename":"file4"},{"photo_id":"1396179163","filename":"file1"},{"photo_id":"1396179083","filename":"file0"},{"photo_id":"1396179471","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396179083":["hashtag1","hashtag2"]},{"1396179635":["hashtag1","hashtag2"]},{"1396179163":["hashtag1","hashtag2"]},{"1396179786":["hashtag1","hashtag2"]},{"1396179307":["hashtag1","hashtag2"]},{"1396179471":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396179083, 1396179635, 1396179163, 1396179786, 1396179307, 1396179471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4398307800293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 01:39:42.127168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/44/image_26112025_00_44_53_3700.jpg', '/home/pi/Desktop/images/26112025/00/44/image_26112025_00_44_59_2731.jpg', '/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_02_3580.jpg', '/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_05_2718.jpg', '/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_08_2640.jpg', '/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_11_3662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/44/image_26112025_00_44_53_3700.jpg
/home/pi/Desktop/images/26112025/00/44/image_26112025_00_44_59_2731.jpg
/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_02_3580.jpg
/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_05_2718.jpg
/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_08_2640.jpg
/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_11_3662.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":["1396180224","1396180302","1396180339","1396180188","1396180374","1396180263"],"photo_ids_order":["1396180188","1396180224","1396180263","1396180302","1396180339","1396180374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/233a57ffe4cee6b746ab8e334aaca563.jpg","text":"TemporaryFile(/tmp/multipartBody3116821057044332159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117642791,"filename":"image_26112025_00_44_59_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/26/89e968876e359b194a46b5d8ae02b97b.jpg","text":"TemporaryFile(/tmp/multipartBody5031301024328865286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117642791,"filename":"image_26112025_00_45_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/26/197996a4e7f34a6397a015f71ef0f1dd.jpg","text":"TemporaryFile(/tmp/multipartBody6849299447860297253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117642791,"filename":"image_26112025_00_45_08_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/26/ece191c0833f21843d7ee122d479b952.jpg","text":"TemporaryFile(/tmp/multipartBody8047362042797538007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117642791,"filename":"image_26112025_00_44_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/26/cde3294c4159946b9730bcd9047ae604.jpg","text":"TemporaryFile(/tmp/multipartBody2315443800282785201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117642791,"filename":"image_26112025_00_45_11_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f0e2fe9bc062957a657cee646ebe8143.jpg","text":"TemporaryFile(/tmp/multipartBody6638204145812016549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117642791,"filename":"image_26112025_00_45_02_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396180263","file1":"1396180224","file0":"1396180188","file4":"1396180339","file5":"1396180374","file3":"1396180302"},"map_files_photo_id_array":[{"photo_id":"1396180374","filename":"file5"},{"photo_id":"1396180263","filename":"file2"},{"photo_id":"1396180339","filename":"file4"},{"photo_id":"1396180224","filename":"file1"},{"photo_id":"1396180188","filename":"file0"},{"photo_id":"1396180302","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396180224":["hashtag1","hashtag2"]},{"1396180302":["hashtag1","hashtag2"]},{"1396180339":["hashtag1","hashtag2"]},{"1396180188":["hashtag1","hashtag2"]},{"1396180374":["hashtag1","hashtag2"]},{"1396180263":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396180224, 1396180302, 1396180339, 1396180188, 1396180374, 1396180263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39619708061218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:40:22.362748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_14_2590.jpg', '/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_17_2808.jpg', '/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_26_2756.jpg', '/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_29_2550.jpg', '/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_32_3584.jpg', '/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_35_3235.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_14_2590.jpg
/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_17_2808.jpg
/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_26_2756.jpg
/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_29_2550.jpg
/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_32_3584.jpg
/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_35_3235.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":["1396180902","1396180736","1396180802","1396180900","1396180683","1396180863"],"photo_ids_order":["1396180683","1396180736","1396180802","1396180863","1396180900","1396180902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d02887651a0cf3d593720ae3f23f8ce3.jpg","text":"TemporaryFile(/tmp/multipartBody579002292614494960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117683046,"filename":"image_26112025_00_45_35_3235.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dcf7612fe3b79bcf6bb02548873bec63.jpg","text":"TemporaryFile(/tmp/multipartBody2628831952525612676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117683046,"filename":"image_26112025_00_45_17_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/26/f24d5853ac9eb1770df215c29a4cdefa.jpg","text":"TemporaryFile(/tmp/multipartBody2268920958506232460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117683046,"filename":"image_26112025_00_45_26_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/26/f4fe8f93b0d50fd3e4bad825c571e85f.jpg","text":"TemporaryFile(/tmp/multipartBody1572305334599862587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117683046,"filename":"image_26112025_00_45_32_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/26/0f4bc5f67d74c7cf7c4d475d7a84006c.jpg","text":"TemporaryFile(/tmp/multipartBody7106161806204912273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117683046,"filename":"image_26112025_00_45_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/26/ba245505ca0cefede1423d794a2deab2.jpg","text":"TemporaryFile(/tmp/multipartBody6025539068547884332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117683046,"filename":"image_26112025_00_45_29_2550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396180802","file1":"1396180736","file0":"1396180683","file4":"1396180900","file5":"1396180902","file3":"1396180863"},"map_files_photo_id_array":[{"photo_id":"1396180902","filename":"file5"},{"photo_id":"1396180802","filename":"file2"},{"photo_id":"1396180900","filename":"file4"},{"photo_id":"1396180736","filename":"file1"},{"photo_id":"1396180683","filename":"file0"},{"photo_id":"1396180863","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396180902":["hashtag1","hashtag2"]},{"1396180736":["hashtag1","hashtag2"]},{"1396180802":["hashtag1","hashtag2"]},{"1396180900":["hashtag1","hashtag2"]},{"1396180683":["hashtag1","hashtag2"]},{"1396180863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396180902, 1396180736, 1396180802, 1396180900, 1396180683, 1396180863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6483051776886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:41:03.271841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_38_2660.jpg', '/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_41_2496.jpg', '/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_44_3599.jpg', '/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_47_2595.jpg', '/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_50_3614.jpg', '/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_53_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_38_2660.jpg
/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_41_2496.jpg
/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_44_3599.jpg
/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_47_2595.jpg
/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_50_3614.jpg
/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_53_2581.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":["1396181069","1396180994","1396180919","1396180904","1396181037","1396180956"],"photo_ids_order":["1396180904","1396180919","1396180956","1396180994","1396181037","1396181069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/acdd7468c03950ef40b6d594903192de.jpg","text":"TemporaryFile(/tmp/multipartBody3599311160007412316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117724044,"filename":"image_26112025_00_45_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/26/ea1ca0105908d7afa552ac4968960a0d.jpg","text":"TemporaryFile(/tmp/multipartBody7937875703178710966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117724044,"filename":"image_26112025_00_45_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/26/f7731af43a03122834c097d43c855dfb.jpg","text":"TemporaryFile(/tmp/multipartBody6151292043532699448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117724044,"filename":"image_26112025_00_45_41_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/26/2c047e81fff9ed77aaa03ae0b16f1949.jpg","text":"TemporaryFile(/tmp/multipartBody8442985639899974300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117724044,"filename":"image_26112025_00_45_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/26/097e45439630fd13080c1352dcb752f4.jpg","text":"TemporaryFile(/tmp/multipartBody7965564476649389338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117724044,"filename":"image_26112025_00_45_50_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/26/6af1ab7f632e7c0bd0250c1302c31a39.jpg","text":"TemporaryFile(/tmp/multipartBody4548647200378678610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117724044,"filename":"image_26112025_00_45_44_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396180956","file1":"1396180919","file0":"1396180904","file4":"1396181037","file5":"1396181069","file3":"1396180994"},"map_files_photo_id_array":[{"photo_id":"1396181069","filename":"file5"},{"photo_id":"1396180956","filename":"file2"},{"photo_id":"1396181037","filename":"file4"},{"photo_id":"1396180919","filename":"file1"},{"photo_id":"1396180904","filename":"file0"},{"photo_id":"1396180994","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396181069":["hashtag1","hashtag2"]},{"1396180994":["hashtag1","hashtag2"]},{"1396180919":["hashtag1","hashtag2"]},{"1396180904":["hashtag1","hashtag2"]},{"1396181037":["hashtag1","hashtag2"]},{"1396180956":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396181069, 1396180994, 1396180919, 1396180904, 1396181037, 1396180956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.192771911621094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 01:41:42.440172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_56_2683.jpg', '/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_02_2589.jpg', '/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_05_2673.jpg', '/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_08_3687.jpg', '/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_16_2799.jpg', '/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_23_2521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/45/image_26112025_00_45_56_2683.jpg
/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_02_2589.jpg
/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_05_2673.jpg
/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_08_3687.jpg
/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_16_2799.jpg
/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_23_2521.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":["1396181174","1396181164","1396181125","1396181149","1396181166","1396181127"],"photo_ids_order":["1396181125","1396181127","1396181149","1396181164","1396181166","1396181174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3c33a903339225a29832ac8f277f4909.jpg","text":"TemporaryFile(/tmp/multipartBody3156183607013944591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117763136,"filename":"image_26112025_00_46_23_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/26/910824fbaf6784b6ca5e4a0b396c7e0f.jpg","text":"TemporaryFile(/tmp/multipartBody2795941921376304401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117763136,"filename":"image_26112025_00_46_08_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/26/c2d39d7f08b0b24b6a2e35e0ed393709.jpg","text":"TemporaryFile(/tmp/multipartBody1374823151118881393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117763136,"filename":"image_26112025_00_45_56_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0088e767d9ee85b798d8f05b84f778ab.jpg","text":"TemporaryFile(/tmp/multipartBody8369243011424808890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117763136,"filename":"image_26112025_00_46_05_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/26/a7884e138af5f25f26b738ea15e061ab.jpg","text":"TemporaryFile(/tmp/multipartBody2454866040186836862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117763136,"filename":"image_26112025_00_46_16_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9b0097588442f7d8adcf83d79f34643d.jpg","text":"TemporaryFile(/tmp/multipartBody3206903322856200515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117763136,"filename":"image_26112025_00_46_02_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396181149","file1":"1396181127","file0":"1396181125","file4":"1396181166","file5":"1396181174","file3":"1396181164"},"map_files_photo_id_array":[{"photo_id":"1396181174","filename":"file5"},{"photo_id":"1396181149","filename":"file2"},{"photo_id":"1396181166","filename":"file4"},{"photo_id":"1396181127","filename":"file1"},{"photo_id":"1396181125","filename":"file0"},{"photo_id":"1396181164","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396181174":["hashtag1","hashtag2"]},{"1396181164":["hashtag1","hashtag2"]},{"1396181125":["hashtag1","hashtag2"]},{"1396181149":["hashtag1","hashtag2"]},{"1396181166":["hashtag1","hashtag2"]},{"1396181127":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396181174, 1396181164, 1396181125, 1396181149, 1396181166, 1396181127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.163973808288574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:42:22.623096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_26_3642.jpg', '/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_29_2546.jpg', '/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_32_3569.jpg', '/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_35_2646.jpg', '/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_38_2604.jpg', '/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_41_3727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_26_3642.jpg
/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_29_2546.jpg
/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_32_3569.jpg
/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_35_2646.jpg
/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_38_2604.jpg
/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_41_3727.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":["1396181313","1396181324","1396181309","1396181317","1396181320","1396181322"],"photo_ids_order":["1396181309","1396181313","1396181317","1396181320","1396181322","1396181324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ad224454a47a83bc215543082693079b.jpg","text":"TemporaryFile(/tmp/multipartBody5455979888165084956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117803286,"filename":"image_26112025_00_46_29_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/26/7c3ee4cd40e5817efa1232feb84a02f1.jpg","text":"TemporaryFile(/tmp/multipartBody1792071438439074633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117803286,"filename":"image_26112025_00_46_41_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/26/6c0a0c80259c39b007c4bfcc42d1dad8.jpg","text":"TemporaryFile(/tmp/multipartBody4922694339564073284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117803286,"filename":"image_26112025_00_46_26_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/26/4a5ba41053cf331e2a415965fa12e9e9.jpg","text":"TemporaryFile(/tmp/multipartBody1446989524670440064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117803286,"filename":"image_26112025_00_46_32_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/26/0ecedf14a446ee66f2766104e8b98634.jpg","text":"TemporaryFile(/tmp/multipartBody2719218719807710217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117803286,"filename":"image_26112025_00_46_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/26/57487838a8392a6d6c1261df82429ea0.jpg","text":"TemporaryFile(/tmp/multipartBody2828996899813190386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117803286,"filename":"image_26112025_00_46_38_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396181317","file1":"1396181313","file0":"1396181309","file4":"1396181322","file5":"1396181324","file3":"1396181320"},"map_files_photo_id_array":[{"photo_id":"1396181324","filename":"file5"},{"photo_id":"1396181317","filename":"file2"},{"photo_id":"1396181322","filename":"file4"},{"photo_id":"1396181313","filename":"file1"},{"photo_id":"1396181309","filename":"file0"},{"photo_id":"1396181320","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396181313":["hashtag1","hashtag2"]},{"1396181324":["hashtag1","hashtag2"]},{"1396181309":["hashtag1","hashtag2"]},{"1396181317":["hashtag1","hashtag2"]},{"1396181320":["hashtag1","hashtag2"]},{"1396181322":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396181313, 1396181324, 1396181309, 1396181317, 1396181320, 1396181322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.539947271347046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:43:02.557744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_50_2882.jpg', '/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_53_3751.jpg', '/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_56_2764.jpg', '/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_59_2569.jpg', '/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_02_3582.jpg', '/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_05_2539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_50_2882.jpg
/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_53_3751.jpg
/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_56_2764.jpg
/home/pi/Desktop/images/26112025/00/46/image_26112025_00_46_59_2569.jpg
/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_02_3582.jpg
/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_05_2539.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":["1396181327","1396181344","1396181329","1396181340","1396181331","1396181325"],"photo_ids_order":["1396181325","1396181327","1396181329","1396181331","1396181340","1396181344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/56d97a99592612f7e7b24b901cfa679f.jpg","text":"TemporaryFile(/tmp/multipartBody8106803176612950808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117843401,"filename":"image_26112025_00_46_53_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/26/7f7d239f9c49135c090719406e10e6c3.jpg","text":"TemporaryFile(/tmp/multipartBody554219029972494476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117843401,"filename":"image_26112025_00_47_05_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/26/20d3ddaa285aea34c40feace70b25541.jpg","text":"TemporaryFile(/tmp/multipartBody1486013865396620928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117843401,"filename":"image_26112025_00_46_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/26/110f2b698ac4aff545ddb8349b01a431.jpg","text":"TemporaryFile(/tmp/multipartBody8898968363909421721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117843401,"filename":"image_26112025_00_47_02_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/26/d3082697f0356d156f540c2897c3b1d3.jpg","text":"TemporaryFile(/tmp/multipartBody6411996037079197968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117843401,"filename":"image_26112025_00_46_59_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/128d6088a6dd257efe7966e60e30ad19.jpg","text":"TemporaryFile(/tmp/multipartBody6988756690652572398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117843401,"filename":"image_26112025_00_46_50_2882.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396181329","file1":"1396181327","file0":"1396181325","file4":"1396181340","file5":"1396181344","file3":"1396181331"},"map_files_photo_id_array":[{"photo_id":"1396181344","filename":"file5"},{"photo_id":"1396181329","filename":"file2"},{"photo_id":"1396181340","filename":"file4"},{"photo_id":"1396181327","filename":"file1"},{"photo_id":"1396181325","filename":"file0"},{"photo_id":"1396181331","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396181327":["hashtag1","hashtag2"]},{"1396181344":["hashtag1","hashtag2"]},{"1396181329":["hashtag1","hashtag2"]},{"1396181340":["hashtag1","hashtag2"]},{"1396181331":["hashtag1","hashtag2"]},{"1396181325":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396181327, 1396181344, 1396181329, 1396181340, 1396181331, 1396181325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.104682207107544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 01:43:41.987112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_07_2675.jpg', '/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_11_3639.jpg', '/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_14_2636.jpg', '/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_17_3598.jpg', '/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_23_2646.jpg', '/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_25_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_07_2675.jpg
/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_11_3639.jpg
/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_14_2636.jpg
/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_17_3598.jpg
/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_23_2646.jpg
/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_25_2690.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":["1396181648","1396181584","1396181374","1396181443","1396181349","1396181514"],"photo_ids_order":["1396181349","1396181374","1396181443","1396181514","1396181584","1396181648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7b47dfd8827edef9bc4e31f5d63260b4.jpg","text":"TemporaryFile(/tmp/multipartBody5746502152025830451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117882652,"filename":"image_26112025_00_47_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/26/b12caa58751463deec9c9152933b3072.jpg","text":"TemporaryFile(/tmp/multipartBody6729584240219620707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117882652,"filename":"image_26112025_00_47_23_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/26/7e311cf114b17e66cd1168b730089fb2.jpg","text":"TemporaryFile(/tmp/multipartBody3815067046956208186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117882652,"filename":"image_26112025_00_47_11_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/26/29094a35a7efc0cfbc9d3645dfe61f3f.jpg","text":"TemporaryFile(/tmp/multipartBody701518542108079509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117882652,"filename":"image_26112025_00_47_14_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/26/11d2f4cf5e7f32c0e66aba68751c6570.jpg","text":"TemporaryFile(/tmp/multipartBody7399349221498635102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117882652,"filename":"image_26112025_00_47_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/26/d92eb1655e56f6535955eda1031125d9.jpg","text":"TemporaryFile(/tmp/multipartBody2243712419050304624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117882652,"filename":"image_26112025_00_47_17_3598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396181443","file1":"1396181374","file0":"1396181349","file4":"1396181584","file5":"1396181648","file3":"1396181514"},"map_files_photo_id_array":[{"photo_id":"1396181648","filename":"file5"},{"photo_id":"1396181443","filename":"file2"},{"photo_id":"1396181584","filename":"file4"},{"photo_id":"1396181374","filename":"file1"},{"photo_id":"1396181349","filename":"file0"},{"photo_id":"1396181514","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396181648":["hashtag1","hashtag2"]},{"1396181584":["hashtag1","hashtag2"]},{"1396181374":["hashtag1","hashtag2"]},{"1396181443":["hashtag1","hashtag2"]},{"1396181349":["hashtag1","hashtag2"]},{"1396181514":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396181648, 1396181584, 1396181374, 1396181443, 1396181349, 1396181514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2930953502655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:44:22.175826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_29_3531.jpg', '/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_32_2601.jpg', '/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_35_3672.jpg', '/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_38_2708.jpg', '/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_45_4228.jpg', '/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_46_1606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_29_3531.jpg
/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_32_2601.jpg
/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_35_3672.jpg
/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_38_2708.jpg
/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_45_4228.jpg
/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_46_1606.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":["1396181921","1396182049","1396182139","1396181868","1396182089","1396181993"],"photo_ids_order":["1396181868","1396181921","1396181993","1396182049","1396182089","1396182139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/94785c910fa6f3e8d88ed09a5866d9e8.jpg","text":"TemporaryFile(/tmp/multipartBody719457613085311744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117922835,"filename":"image_26112025_00_47_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/26/a246a5477457ecc71ec4051d942e29f8.jpg","text":"TemporaryFile(/tmp/multipartBody1894904929182457115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117922835,"filename":"image_26112025_00_47_38_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0bce9d8fce72488ff4aa8424a1afcdd9.jpg","text":"TemporaryFile(/tmp/multipartBody2365663353016193692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117922835,"filename":"image_26112025_00_47_46_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a7cb9e9d9adf1c9aae81d26ab6bde221.jpg","text":"TemporaryFile(/tmp/multipartBody5289347678538576647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117922835,"filename":"image_26112025_00_47_29_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/26/3beed2aaf3c17e7e15285ac53ba4829a.jpg","text":"TemporaryFile(/tmp/multipartBody5165194679050222171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117922835,"filename":"image_26112025_00_47_45_4228.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3af76dfecea3abf9b0b45c53c9b9e1ed.jpg","text":"TemporaryFile(/tmp/multipartBody7684216439460156090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117922835,"filename":"image_26112025_00_47_35_3672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396181993","file1":"1396181921","file0":"1396181868","file4":"1396182089","file5":"1396182139","file3":"1396182049"},"map_files_photo_id_array":[{"photo_id":"1396182139","filename":"file5"},{"photo_id":"1396181993","filename":"file2"},{"photo_id":"1396182089","filename":"file4"},{"photo_id":"1396181921","filename":"file1"},{"photo_id":"1396181868","filename":"file0"},{"photo_id":"1396182049","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396181921":["hashtag1","hashtag2"]},{"1396182049":["hashtag1","hashtag2"]},{"1396182139":["hashtag1","hashtag2"]},{"1396181868":["hashtag1","hashtag2"]},{"1396182089":["hashtag1","hashtag2"]},{"1396181993":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396181921, 1396182049, 1396182139, 1396181868, 1396182089, 1396181993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88075923919678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:45:03.109022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_53_2681.jpg', '/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_55_2845.jpg', '/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_59_3591.jpg', '/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_08_2571.jpg', '/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_10_2512.jpg', '/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_14_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_53_2681.jpg
/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_55_2845.jpg
/home/pi/Desktop/images/26112025/00/47/image_26112025_00_47_59_3591.jpg
/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_08_2571.jpg
/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_10_2512.jpg
/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_14_3676.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":["1396182332","1396182406","1396182543","1396182366","1396182609","1396182467"],"photo_ids_order":["1396182332","1396182366","1396182406","1396182467","1396182543","1396182609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3c65331ed0a6b3c9de00caa802973762.jpg","text":"TemporaryFile(/tmp/multipartBody8149985455973640957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117963907,"filename":"image_26112025_00_47_53_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/26/dca4bb9a9de857ec990fa84d5445c7dd.jpg","text":"TemporaryFile(/tmp/multipartBody8604468585829346225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117963907,"filename":"image_26112025_00_47_59_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/26/9eab8deedaa54627f3d612074c13828a.jpg","text":"TemporaryFile(/tmp/multipartBody5383995274266372797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117963907,"filename":"image_26112025_00_48_10_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/26/15f58da52ca9694c1bb5c6322bfae7d5.jpg","text":"TemporaryFile(/tmp/multipartBody8798911583272690534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117963907,"filename":"image_26112025_00_47_55_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/26/a47f76244684b6c82d003cbbf04f5f45.jpg","text":"TemporaryFile(/tmp/multipartBody1567142287339065480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117963907,"filename":"image_26112025_00_48_14_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/26/0b46ceb98d79e30a825d60b715dfa1b2.jpg","text":"TemporaryFile(/tmp/multipartBody4102196505935834999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764117963907,"filename":"image_26112025_00_48_08_2571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396182406","file1":"1396182366","file0":"1396182332","file4":"1396182543","file5":"1396182609","file3":"1396182467"},"map_files_photo_id_array":[{"photo_id":"1396182609","filename":"file5"},{"photo_id":"1396182406","filename":"file2"},{"photo_id":"1396182543","filename":"file4"},{"photo_id":"1396182366","filename":"file1"},{"photo_id":"1396182332","filename":"file0"},{"photo_id":"1396182467","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396182332":["hashtag1","hashtag2"]},{"1396182406":["hashtag1","hashtag2"]},{"1396182543":["hashtag1","hashtag2"]},{"1396182366":["hashtag1","hashtag2"]},{"1396182609":["hashtag1","hashtag2"]},{"1396182467":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396182332, 1396182406, 1396182543, 1396182366, 1396182609, 1396182467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49787998199463 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 01:45:42.415392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_17_2780.jpg', '/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_23_3693.jpg', '/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_26_2775.jpg', '/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_29_2795.jpg', '/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_31_2649.jpg', '/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_35_3622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_17_2780.jpg
/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_23_3693.jpg
/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_26_2775.jpg
/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_29_2795.jpg
/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_31_2649.jpg
/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_35_3622.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":["1396182781","1396182826","1396182747","1396182816","1396182825","1396182824"],"photo_ids_order":["1396182747","1396182781","1396182816","1396182824","1396182825","1396182826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/094f584f45ab79483faa664e83c850c8.jpg","text":"TemporaryFile(/tmp/multipartBody3719133037124195659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118003076,"filename":"image_26112025_00_48_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/26/2f3db8397ecce3eebbb169fdc458ef59.jpg","text":"TemporaryFile(/tmp/multipartBody1249628771619535231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118003076,"filename":"image_26112025_00_48_35_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/26/b57e11d061ba1bed0152618216d3fdca.jpg","text":"TemporaryFile(/tmp/multipartBody1809886316038299559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118003076,"filename":"image_26112025_00_48_17_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/26/61fc363ed3d3975d10dc92a16f7310c6.jpg","text":"TemporaryFile(/tmp/multipartBody3214873260773966893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118003076,"filename":"image_26112025_00_48_26_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/26/1e51513b13d63b6bcd601e5bb7da3006.jpg","text":"TemporaryFile(/tmp/multipartBody3493036648628892007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118003076,"filename":"image_26112025_00_48_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/26/cc32e179570143004232f844ffa46ad8.jpg","text":"TemporaryFile(/tmp/multipartBody4780154768752284266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118003076,"filename":"image_26112025_00_48_29_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396182816","file1":"1396182781","file0":"1396182747","file4":"1396182825","file5":"1396182826","file3":"1396182824"},"map_files_photo_id_array":[{"photo_id":"1396182826","filename":"file5"},{"photo_id":"1396182816","filename":"file2"},{"photo_id":"1396182825","filename":"file4"},{"photo_id":"1396182781","filename":"file1"},{"photo_id":"1396182747","filename":"file0"},{"photo_id":"1396182824","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396182781":["hashtag1","hashtag2"]},{"1396182826":["hashtag1","hashtag2"]},{"1396182747":["hashtag1","hashtag2"]},{"1396182816":["hashtag1","hashtag2"]},{"1396182825":["hashtag1","hashtag2"]},{"1396182824":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396182781, 1396182826, 1396182747, 1396182816, 1396182825, 1396182824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27586507797241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:46:22.597925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_37_2536.jpg', '/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_44_2664.jpg', '/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_50_3589.jpg', '/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_53_2624.jpg', '/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_59_3648.jpg', '/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_02_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_37_2536.jpg
/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_44_2664.jpg
/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_50_3589.jpg
/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_53_2624.jpg
/home/pi/Desktop/images/26112025/00/48/image_26112025_00_48_59_3648.jpg
/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_02_2565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396182835","1396182943","1396182832","1396182990","1396182906","1396182869"],"photo_ids_order":["1396182832","1396182835","1396182869","1396182906","1396182943","1396182990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0c8492efe16e64ccd310d8ea3ad0b9b9.jpg","text":"TemporaryFile(/tmp/multipartBody2584391406406029968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118043254,"filename":"image_26112025_00_48_44_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/26/0ea53c7b6a6916d32dab87d595bd1abc.jpg","text":"TemporaryFile(/tmp/multipartBody5303434435360800764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118043254,"filename":"image_26112025_00_48_59_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/26/7995206f8202a84487c3f9eab510ef87.jpg","text":"TemporaryFile(/tmp/multipartBody5275780710980674925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118043254,"filename":"image_26112025_00_48_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/26/d676870eb03b24c98125611d6f817976.jpg","text":"TemporaryFile(/tmp/multipartBody6118333408696564033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118043254,"filename":"image_26112025_00_49_02_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/26/910168132a55bb79305aa75a791f815d.jpg","text":"TemporaryFile(/tmp/multipartBody756777492409642639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118043254,"filename":"image_26112025_00_48_53_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/26/a5b15679f1aa0619a3212e4fda9a1c96.jpg","text":"TemporaryFile(/tmp/multipartBody8074568104631145568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118043254,"filename":"image_26112025_00_48_50_3589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396182869","file1":"1396182835","file0":"1396182832","file4":"1396182943","file5":"1396182990","file3":"1396182906"},"map_files_photo_id_array":[{"photo_id":"1396182990","filename":"file5"},{"photo_id":"1396182869","filename":"file2"},{"photo_id":"1396182943","filename":"file4"},{"photo_id":"1396182835","filename":"file1"},{"photo_id":"1396182832","filename":"file0"},{"photo_id":"1396182906","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396182835":["hashtag1","hashtag2"]},{"1396182943":["hashtag1","hashtag2"]},{"1396182832":["hashtag1","hashtag2"]},{"1396182990":["hashtag1","hashtag2"]},{"1396182906":["hashtag1","hashtag2"]},{"1396182869":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396182835, 1396182943, 1396182832, 1396182990, 1396182906, 1396182869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28988575935364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:47:02.539217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_04_2658.jpg', '/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_08_3578.jpg', '/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_10_2535.jpg', '/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_13_2808.jpg', '/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_19_2714.jpg', '/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_23_3641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_04_2658.jpg
/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_08_3578.jpg
/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_10_2535.jpg
/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_13_2808.jpg
/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_19_2714.jpg
/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_23_3641.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":["1396183109","1396183078","1396183135","1396183120","1396183042","1396183034"],"photo_ids_order":["1396183034","1396183042","1396183078","1396183109","1396183120","1396183135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/caaf012ef2f23b165c0a6d42f1392c4e.jpg","text":"TemporaryFile(/tmp/multipartBody8657921106623361812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118083483,"filename":"image_26112025_00_49_13_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/26/18ee0079c965e24b5d0ce5ce77f9a357.jpg","text":"TemporaryFile(/tmp/multipartBody1626538190464897192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118083483,"filename":"image_26112025_00_49_10_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/26/7c32175779e5da8ebbf13f1f1a61bd20.jpg","text":"TemporaryFile(/tmp/multipartBody937027396640583157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118083483,"filename":"image_26112025_00_49_23_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/26/c5d591d2085f08fddc6e5b1388579c16.jpg","text":"TemporaryFile(/tmp/multipartBody7765326131135113824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118083483,"filename":"image_26112025_00_49_19_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/26/7450599d35e3ee8d71794a859234c748.jpg","text":"TemporaryFile(/tmp/multipartBody8290790560841659520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118083483,"filename":"image_26112025_00_49_08_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/26/5ef11166ae8be220065ad3f96831121d.jpg","text":"TemporaryFile(/tmp/multipartBody3682906677344260605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118083483,"filename":"image_26112025_00_49_04_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396183078","file1":"1396183042","file0":"1396183034","file4":"1396183120","file5":"1396183135","file3":"1396183109"},"map_files_photo_id_array":[{"photo_id":"1396183135","filename":"file5"},{"photo_id":"1396183078","filename":"file2"},{"photo_id":"1396183120","filename":"file4"},{"photo_id":"1396183042","filename":"file1"},{"photo_id":"1396183034","filename":"file0"},{"photo_id":"1396183109","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396183109":["hashtag1","hashtag2"]},{"1396183078":["hashtag1","hashtag2"]},{"1396183135":["hashtag1","hashtag2"]},{"1396183120":["hashtag1","hashtag2"]},{"1396183042":["hashtag1","hashtag2"]},{"1396183034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396183109, 1396183078, 1396183135, 1396183120, 1396183042, 1396183034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30057954788208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 01:47:41.920843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_26_2681.jpg', '/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_28_2663.jpg', '/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_32_3588.jpg', '/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_35_2861.jpg', '/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_37_2568.jpg', '/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_44_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_26_2681.jpg
/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_28_2663.jpg
/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_32_3588.jpg
/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_35_2861.jpg
/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_37_2568.jpg
/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_44_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.6168267726898193 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:48:02.571181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_26_2681.jpg', '/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_28_2663.jpg', '/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_32_3588.jpg', '/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_35_2861.jpg', '/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_37_2568.jpg', '/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_44_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_26_2681.jpg
/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_28_2663.jpg
/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_32_3588.jpg
/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_35_2861.jpg
/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_37_2568.jpg
/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_44_2693.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":["1396183159","1396183156","1396183194","1396183155","1396183190","1396183184"],"photo_ids_order":["1396183155","1396183156","1396183159","1396183184","1396183190","1396183194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1cfeefaf614f1a66eeb8f5a97a87afa1.jpg","text":"TemporaryFile(/tmp/multipartBody8978938772195936870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118143319,"filename":"image_26112025_00_49_32_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/26/3423d6d3ef4ea03b72e328a8dfcd38d0.jpg","text":"TemporaryFile(/tmp/multipartBody5747776845919015504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118143319,"filename":"image_26112025_00_49_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/26/c63e90f5703a00b77a156796f0f85450.jpg","text":"TemporaryFile(/tmp/multipartBody5205551609513377951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118143319,"filename":"image_26112025_00_49_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/26/1a68fd210c03149304cc67aa700bafc7.jpg","text":"TemporaryFile(/tmp/multipartBody5003517556357060373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118143319,"filename":"image_26112025_00_49_26_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/26/d1b5d0aa5bd03e912a726512f2a152e8.jpg","text":"TemporaryFile(/tmp/multipartBody1625517243403623491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118143319,"filename":"image_26112025_00_49_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/26/267370af84557593d9638c1e803e0046.jpg","text":"TemporaryFile(/tmp/multipartBody7838807391508436253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118143319,"filename":"image_26112025_00_49_35_2861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396183159","file1":"1396183156","file0":"1396183155","file4":"1396183190","file5":"1396183194","file3":"1396183184"},"map_files_photo_id_array":[{"photo_id":"1396183194","filename":"file5"},{"photo_id":"1396183159","filename":"file2"},{"photo_id":"1396183190","filename":"file4"},{"photo_id":"1396183156","filename":"file1"},{"photo_id":"1396183155","filename":"file0"},{"photo_id":"1396183184","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396183159":["hashtag1","hashtag2"]},{"1396183156":["hashtag1","hashtag2"]},{"1396183194":["hashtag1","hashtag2"]},{"1396183155":["hashtag1","hashtag2"]},{"1396183190":["hashtag1","hashtag2"]},{"1396183184":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396183159, 1396183156, 1396183194, 1396183155, 1396183190, 1396183184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44181489944458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 01:48:42.213726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_47_2840.jpg', '/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_49_2547.jpg', '/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_53_3595.jpg', '/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_55_2606.jpg', '/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_58_2718.jpg', '/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_02_3657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_47_2840.jpg
/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_49_2547.jpg
/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_53_3595.jpg
/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_55_2606.jpg
/home/pi/Desktop/images/26112025/00/49/image_26112025_00_49_58_2718.jpg
/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_02_3657.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":["1396183204","1396183206","1396183200","1396183203","1396183202","1396183205"],"photo_ids_order":["1396183200","1396183202","1396183203","1396183204","1396183205","1396183206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/892b84f481c6a17a2ca2b3849a6fb31b.jpg","text":"TemporaryFile(/tmp/multipartBody4949140532331023338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118182940,"filename":"image_26112025_00_49_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/26/22e1970e2c8901f12a2faf63b7906f7c.jpg","text":"TemporaryFile(/tmp/multipartBody4823879303236335886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118182940,"filename":"image_26112025_00_50_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/26/372cea8088dd085ddaa8ad74658a702a.jpg","text":"TemporaryFile(/tmp/multipartBody3541245753332954986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118182940,"filename":"image_26112025_00_49_47_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/26/2edaebecd1b4e452ac5c727ff9a01284.jpg","text":"TemporaryFile(/tmp/multipartBody1892666293250863655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118182940,"filename":"image_26112025_00_49_53_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/26/87024a3c725bedd83b39aafa8023798c.jpg","text":"TemporaryFile(/tmp/multipartBody355155020056757986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118182940,"filename":"image_26112025_00_49_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/26/91f08304f44cd79897ee161f204f442d.jpg","text":"TemporaryFile(/tmp/multipartBody5692988941382456295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118182940,"filename":"image_26112025_00_49_58_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396183203","file1":"1396183202","file0":"1396183200","file4":"1396183205","file5":"1396183206","file3":"1396183204"},"map_files_photo_id_array":[{"photo_id":"1396183206","filename":"file5"},{"photo_id":"1396183203","filename":"file2"},{"photo_id":"1396183205","filename":"file4"},{"photo_id":"1396183202","filename":"file1"},{"photo_id":"1396183200","filename":"file0"},{"photo_id":"1396183204","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396183204":["hashtag1","hashtag2"]},{"1396183206":["hashtag1","hashtag2"]},{"1396183200":["hashtag1","hashtag2"]},{"1396183203":["hashtag1","hashtag2"]},{"1396183202":["hashtag1","hashtag2"]},{"1396183205":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396183204, 1396183206, 1396183200, 1396183203, 1396183202, 1396183205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74730396270752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:49:22.352162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_04_2675.jpg', '/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_07_2706.jpg', '/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_11_3649.jpg', '/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_17_3509.jpg', '/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_20_2615.jpg', '/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_22_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_04_2675.jpg
/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_07_2706.jpg
/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_11_3649.jpg
/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_17_3509.jpg
/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_20_2615.jpg
/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_22_2593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396183228","1396183213","1396183216","1396183218","1396183220","1396183226"],"photo_ids_order":["1396183213","1396183216","1396183218","1396183220","1396183226","1396183228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/973521565b45cb0ea0f33c0763bdc9a0.jpg","text":"TemporaryFile(/tmp/multipartBody3397067099193411012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118223011,"filename":"image_26112025_00_50_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/26/f278ca18e9bb8216f919a9436a6e8206.jpg","text":"TemporaryFile(/tmp/multipartBody241843680369445996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118223011,"filename":"image_26112025_00_50_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/26/2a4e6bc0fd1127fbbea8291b73332035.jpg","text":"TemporaryFile(/tmp/multipartBody2072589692580634365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118223011,"filename":"image_26112025_00_50_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/26/22d9bfcb4352f9260fe4d4608ef56f78.jpg","text":"TemporaryFile(/tmp/multipartBody6224223422372728653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118223011,"filename":"image_26112025_00_50_11_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/26/21b9d668a3adbe30e6bc0fc1a9a93925.jpg","text":"TemporaryFile(/tmp/multipartBody4712062417769280927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118223011,"filename":"image_26112025_00_50_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/26/fd749e580f13f2eb3f70ec32e6c521d3.jpg","text":"TemporaryFile(/tmp/multipartBody8561172985964915964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118223011,"filename":"image_26112025_00_50_20_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396183218","file1":"1396183216","file0":"1396183213","file4":"1396183226","file5":"1396183228","file3":"1396183220"},"map_files_photo_id_array":[{"photo_id":"1396183228","filename":"file5"},{"photo_id":"1396183218","filename":"file2"},{"photo_id":"1396183226","filename":"file4"},{"photo_id":"1396183216","filename":"file1"},{"photo_id":"1396183213","filename":"file0"},{"photo_id":"1396183220","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396183228":["hashtag1","hashtag2"]},{"1396183213":["hashtag1","hashtag2"]},{"1396183216":["hashtag1","hashtag2"]},{"1396183218":["hashtag1","hashtag2"]},{"1396183220":["hashtag1","hashtag2"]},{"1396183226":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396183228, 1396183213, 1396183216, 1396183218, 1396183220, 1396183226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.55443501472473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:50:03.066118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_26_3575.jpg', '/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_29_2821.jpg', '/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_31_2762.jpg', '/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_34_2759.jpg', '/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_38_3537.jpg', '/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_40_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_26_3575.jpg
/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_29_2821.jpg
/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_31_2762.jpg
/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_34_2759.jpg
/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_38_3537.jpg
/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_40_2672.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":["1396183327","1396183234","1396183397","1396183289","1396183253","1396183361"],"photo_ids_order":["1396183234","1396183253","1396183289","1396183327","1396183361","1396183397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ec5f7cd54c85f58d87d6c2216a38395b.jpg","text":"TemporaryFile(/tmp/multipartBody6160046959590753232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118263814,"filename":"image_26112025_00_50_34_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/26/33a4bb493e56a41948b00636240800d7.jpg","text":"TemporaryFile(/tmp/multipartBody2002580886632507960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118263814,"filename":"image_26112025_00_50_26_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/26/3fc6d8549b0d87f09bd3e8cb606e6a31.jpg","text":"TemporaryFile(/tmp/multipartBody4043551127025950515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118263814,"filename":"image_26112025_00_50_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/26/53cf34adae4a700e80515a0f56b45855.jpg","text":"TemporaryFile(/tmp/multipartBody6948497728317883026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118263814,"filename":"image_26112025_00_50_31_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/26/59a01bdf3cb7a512f4a9c0fd3db04fcb.jpg","text":"TemporaryFile(/tmp/multipartBody6838806736248365178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118263814,"filename":"image_26112025_00_50_29_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/26/bfd880d02320598723bec8822c923abf.jpg","text":"TemporaryFile(/tmp/multipartBody5996897543746138064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118263814,"filename":"image_26112025_00_50_38_3537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396183289","file1":"1396183253","file0":"1396183234","file4":"1396183361","file5":"1396183397","file3":"1396183327"},"map_files_photo_id_array":[{"photo_id":"1396183397","filename":"file5"},{"photo_id":"1396183289","filename":"file2"},{"photo_id":"1396183361","filename":"file4"},{"photo_id":"1396183253","filename":"file1"},{"photo_id":"1396183234","filename":"file0"},{"photo_id":"1396183327","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396183327":["hashtag1","hashtag2"]},{"1396183234":["hashtag1","hashtag2"]},{"1396183397":["hashtag1","hashtag2"]},{"1396183289":["hashtag1","hashtag2"]},{"1396183253":["hashtag1","hashtag2"]},{"1396183361":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396183327, 1396183234, 1396183397, 1396183289, 1396183253, 1396183361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.8087203502655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 01:50:42.683454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_44_3679.jpg', '/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_47_2694.jpg', '/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_52_2621.jpg', '/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_01_2720.jpg', '/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_07_2612.jpg', '/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_10_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_44_3679.jpg
/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_47_2694.jpg
/home/pi/Desktop/images/26112025/00/50/image_26112025_00_50_52_2621.jpg
/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_01_2720.jpg
/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_07_2612.jpg
/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_10_2636.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":["1396183626","1396183580","1396183544","1396183718","1396183631","1396183613"],"photo_ids_order":["1396183544","1396183580","1396183613","1396183626","1396183631","1396183718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7081eacc4f207b5c9c2f1cb9e37bdc02.jpg","text":"TemporaryFile(/tmp/multipartBody618369341032612152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118303442,"filename":"image_26112025_00_51_01_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/26/f26580b9e82474202d47c2ec771b2ba6.jpg","text":"TemporaryFile(/tmp/multipartBody3987976476966454096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118303442,"filename":"image_26112025_00_50_47_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/26/75acbfa5c385e3dd3c69344373a69aa6.jpg","text":"TemporaryFile(/tmp/multipartBody8347269754090110698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118303442,"filename":"image_26112025_00_50_44_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/26/55b9083bf163a077c9ea7dacffffcb02.jpg","text":"TemporaryFile(/tmp/multipartBody1065720729746709156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118303442,"filename":"image_26112025_00_51_10_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7044dfa686afb67019ca8f0bc0064730.jpg","text":"TemporaryFile(/tmp/multipartBody4032918362314039311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118303442,"filename":"image_26112025_00_51_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/26/11150f982b8091b360ab036717f17a3c.jpg","text":"TemporaryFile(/tmp/multipartBody3638323871560888448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118303442,"filename":"image_26112025_00_50_52_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396183613","file1":"1396183580","file0":"1396183544","file4":"1396183631","file5":"1396183718","file3":"1396183626"},"map_files_photo_id_array":[{"photo_id":"1396183718","filename":"file5"},{"photo_id":"1396183613","filename":"file2"},{"photo_id":"1396183631","filename":"file4"},{"photo_id":"1396183580","filename":"file1"},{"photo_id":"1396183544","filename":"file0"},{"photo_id":"1396183626","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396183626":["hashtag1","hashtag2"]},{"1396183580":["hashtag1","hashtag2"]},{"1396183544":["hashtag1","hashtag2"]},{"1396183718":["hashtag1","hashtag2"]},{"1396183631":["hashtag1","hashtag2"]},{"1396183613":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396183626, 1396183580, 1396183544, 1396183718, 1396183631, 1396183613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.29934239387512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:51:31.789957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_14_3645.jpg', '/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_16_2676.jpg', '/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_19_2661.jpg', '/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_23_3630.jpg', '/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_25_2549.jpg', '/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_29_3710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_14_3645.jpg
/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_16_2676.jpg
/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_19_2661.jpg
/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_23_3630.jpg
/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_25_2549.jpg
/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_29_3710.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":["1396183900","1396183941","1396183920","1396183898","1396183892","1396183940"],"photo_ids_order":["1396183892","1396183898","1396183900","1396183920","1396183940","1396183941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fe25b7f2c82f30b88006096720437ab8.jpg","text":"TemporaryFile(/tmp/multipartBody2191111921200049062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118352457,"filename":"image_26112025_00_51_19_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/26/75847bda7629b69a357166d24a3115a8.jpg","text":"TemporaryFile(/tmp/multipartBody8123183634951851840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118352457,"filename":"image_26112025_00_51_29_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/26/70c3bf227e5bfad3fb3b19eccd61333e.jpg","text":"TemporaryFile(/tmp/multipartBody7422365010591002749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118352457,"filename":"image_26112025_00_51_23_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/26/5d4a561f3fae35c1eb2592e855f71d23.jpg","text":"TemporaryFile(/tmp/multipartBody3911578483139449397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118352457,"filename":"image_26112025_00_51_16_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/26/ced79d853d18aa940753afbc73f858f4.jpg","text":"TemporaryFile(/tmp/multipartBody3098561702172386194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118352457,"filename":"image_26112025_00_51_14_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/26/583dcccff9ea4d6b1834cdbd116bb9b6.jpg","text":"TemporaryFile(/tmp/multipartBody4596493723371621348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118352457,"filename":"image_26112025_00_51_25_2549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396183900","file1":"1396183898","file0":"1396183892","file4":"1396183940","file5":"1396183941","file3":"1396183920"},"map_files_photo_id_array":[{"photo_id":"1396183941","filename":"file5"},{"photo_id":"1396183900","filename":"file2"},{"photo_id":"1396183940","filename":"file4"},{"photo_id":"1396183898","filename":"file1"},{"photo_id":"1396183892","filename":"file0"},{"photo_id":"1396183920","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396183900":["hashtag1","hashtag2"]},{"1396183941":["hashtag1","hashtag2"]},{"1396183920":["hashtag1","hashtag2"]},{"1396183898":["hashtag1","hashtag2"]},{"1396183892":["hashtag1","hashtag2"]},{"1396183940":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396183900, 1396183941, 1396183920, 1396183898, 1396183892, 1396183940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.25833010673523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:52:11.983393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_31_2562.jpg', '/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_34_3081.jpg', '/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_41_3632.jpg', '/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_44_2836.jpg', '/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_46_2603.jpg', '/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_52_3548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_31_2562.jpg
/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_34_3081.jpg
/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_41_3632.jpg
/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_44_2836.jpg
/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_46_2603.jpg
/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_52_3548.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":["1396184082","1396184124","1396184112","1396184084","1396184141","1396184143"],"photo_ids_order":["1396184082","1396184084","1396184112","1396184124","1396184141","1396184143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e279c1173d71397ed4724bd6e313ae0b.jpg","text":"TemporaryFile(/tmp/multipartBody4712181089550868973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118392604,"filename":"image_26112025_00_51_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/26/8af8bc0c631c9d9af40ca2fe00978ef1.jpg","text":"TemporaryFile(/tmp/multipartBody4102072741300629537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118392604,"filename":"image_26112025_00_51_44_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/26/602ea64c12d6d3032f948fb98b57ddae.jpg","text":"TemporaryFile(/tmp/multipartBody8242856277029581962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118392604,"filename":"image_26112025_00_51_41_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/26/a54cdc3e5be65474a57cca02b9154754.jpg","text":"TemporaryFile(/tmp/multipartBody5616520953433576460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118392604,"filename":"image_26112025_00_51_34_3081.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6454d6082960a81b2509f483af41dd65.jpg","text":"TemporaryFile(/tmp/multipartBody1694385442182658884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118392604,"filename":"image_26112025_00_51_46_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/26/5907b72b327c301462d6690d9dbb5589.jpg","text":"TemporaryFile(/tmp/multipartBody3280729625822618237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118392604,"filename":"image_26112025_00_51_52_3548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396184112","file1":"1396184084","file0":"1396184082","file4":"1396184141","file5":"1396184143","file3":"1396184124"},"map_files_photo_id_array":[{"photo_id":"1396184143","filename":"file5"},{"photo_id":"1396184112","filename":"file2"},{"photo_id":"1396184141","filename":"file4"},{"photo_id":"1396184084","filename":"file1"},{"photo_id":"1396184082","filename":"file0"},{"photo_id":"1396184124","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396184082":["hashtag1","hashtag2"]},{"1396184124":["hashtag1","hashtag2"]},{"1396184112":["hashtag1","hashtag2"]},{"1396184084":["hashtag1","hashtag2"]},{"1396184141":["hashtag1","hashtag2"]},{"1396184143":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396184082, 1396184124, 1396184112, 1396184084, 1396184141, 1396184143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.247252464294434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:53:02.721465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_55_2490.jpg', '/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_58_3526.jpg', '/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_01_2573.jpg', '/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_05_3589.jpg', '/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_07_2662.jpg', '/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_10_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_55_2490.jpg
/home/pi/Desktop/images/26112025/00/51/image_26112025_00_51_58_3526.jpg
/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_01_2573.jpg
/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_05_3589.jpg
/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_07_2662.jpg
/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_10_2653.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":["1396184196","1396184200","1396184190","1396184198","1396184192","1396184194"],"photo_ids_order":["1396184190","1396184192","1396184194","1396184196","1396184198","1396184200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1bef37323bb8f38965a5cf7079443b33.jpg","text":"TemporaryFile(/tmp/multipartBody9206003671451495106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118443695,"filename":"image_26112025_00_52_05_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/26/5055c0f15654a8fac5185e4161fc16be.jpg","text":"TemporaryFile(/tmp/multipartBody9032112616114574898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118443695,"filename":"image_26112025_00_52_10_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3ce0f5646fb7e4c9298a369e94b56736.jpg","text":"TemporaryFile(/tmp/multipartBody3007957206725059150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118443695,"filename":"image_26112025_00_51_55_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/26/845da83fa51bf3ebfe104d87abbc7d10.jpg","text":"TemporaryFile(/tmp/multipartBody4132578564031940679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118443695,"filename":"image_26112025_00_52_07_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/26/7ed84f1e5198ca55af06bd85ffe984f0.jpg","text":"TemporaryFile(/tmp/multipartBody571065101050763301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118443695,"filename":"image_26112025_00_51_58_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/26/fd71b6523f4450822d3caaacba7cd127.jpg","text":"TemporaryFile(/tmp/multipartBody6011815075995801536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118443695,"filename":"image_26112025_00_52_01_2573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396184194","file1":"1396184192","file0":"1396184190","file4":"1396184198","file5":"1396184200","file3":"1396184196"},"map_files_photo_id_array":[{"photo_id":"1396184200","filename":"file5"},{"photo_id":"1396184194","filename":"file2"},{"photo_id":"1396184198","filename":"file4"},{"photo_id":"1396184192","filename":"file1"},{"photo_id":"1396184190","filename":"file0"},{"photo_id":"1396184196","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396184196":["hashtag1","hashtag2"]},{"1396184200":["hashtag1","hashtag2"]},{"1396184190":["hashtag1","hashtag2"]},{"1396184198":["hashtag1","hashtag2"]},{"1396184192":["hashtag1","hashtag2"]},{"1396184194":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396184196, 1396184200, 1396184190, 1396184198, 1396184192, 1396184194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.222697019577026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 01:53:42.264755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_16_2557.jpg', '/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_19_2818.jpg', '/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_23_3673.jpg', '/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_25_2575.jpg', '/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_29_3574.jpg', '/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_31_2574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_16_2557.jpg
/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_19_2818.jpg
/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_23_3673.jpg
/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_25_2575.jpg
/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_29_3574.jpg
/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_31_2574.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":["1396184206","1396184209","1396184205","1396184208","1396184207","1396184210"],"photo_ids_order":["1396184205","1396184206","1396184207","1396184208","1396184209","1396184210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0876032ae9d1cc37866342f2d784341c.jpg","text":"TemporaryFile(/tmp/multipartBody6325772302487368986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118482948,"filename":"image_26112025_00_52_19_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/26/0dec17635aa7ee474785fe64ab43af84.jpg","text":"TemporaryFile(/tmp/multipartBody1815829137800272272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118482948,"filename":"image_26112025_00_52_29_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/26/b58111c46039040ea2b14652840c6e5e.jpg","text":"TemporaryFile(/tmp/multipartBody1039528525593274709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118482948,"filename":"image_26112025_00_52_16_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/26/e2e2ae99998293ca69b0cbeb1bb4e0b4.jpg","text":"TemporaryFile(/tmp/multipartBody7921429123782216878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118482948,"filename":"image_26112025_00_52_25_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/26/b0c16299d3c0d42ea9e73fdce2308d58.jpg","text":"TemporaryFile(/tmp/multipartBody2445144203608514921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118482948,"filename":"image_26112025_00_52_23_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/26/dec87e4b58943a857bbab61447858e8f.jpg","text":"TemporaryFile(/tmp/multipartBody1581644598294628521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118482948,"filename":"image_26112025_00_52_31_2574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396184207","file1":"1396184206","file0":"1396184205","file4":"1396184209","file5":"1396184210","file3":"1396184208"},"map_files_photo_id_array":[{"photo_id":"1396184210","filename":"file5"},{"photo_id":"1396184207","filename":"file2"},{"photo_id":"1396184209","filename":"file4"},{"photo_id":"1396184206","filename":"file1"},{"photo_id":"1396184205","filename":"file0"},{"photo_id":"1396184208","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396184206":["hashtag1","hashtag2"]},{"1396184209":["hashtag1","hashtag2"]},{"1396184205":["hashtag1","hashtag2"]},{"1396184208":["hashtag1","hashtag2"]},{"1396184207":["hashtag1","hashtag2"]},{"1396184210":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396184206, 1396184209, 1396184205, 1396184208, 1396184207, 1396184210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.07934904098511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:54:22.580202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_34_2637.jpg', '/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_38_3600.jpg', '/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_44_3563.jpg', '/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_46_2670.jpg', '/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_49_2611.jpg', '/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_53_3585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_34_2637.jpg
/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_38_3600.jpg
/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_44_3563.jpg
/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_46_2670.jpg
/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_49_2611.jpg
/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_53_3585.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":["1396184224","1396184218","1396184220","1396184214","1396184222","1396184216"],"photo_ids_order":["1396184214","1396184216","1396184218","1396184220","1396184222","1396184224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/681333d7265f26bdff6bc7b5bfcbbc7c.jpg","text":"TemporaryFile(/tmp/multipartBody6409369182636502058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118523239,"filename":"image_26112025_00_52_53_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/26/6323a2c473682dc31ca82708232ee2c2.jpg","text":"TemporaryFile(/tmp/multipartBody5155351352184296544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118523239,"filename":"image_26112025_00_52_44_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/26/125062884244a773cfe88ea5d541e9c1.jpg","text":"TemporaryFile(/tmp/multipartBody8088178749991469354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118523239,"filename":"image_26112025_00_52_46_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/26/7d39cd140ca8d56b6b69b7538a170a6f.jpg","text":"TemporaryFile(/tmp/multipartBody2420661319494410283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118523239,"filename":"image_26112025_00_52_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/26/7744c913277f304b95d91891371852bc.jpg","text":"TemporaryFile(/tmp/multipartBody7219307745122894546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118523239,"filename":"image_26112025_00_52_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/26/5af2de429382b0f89c95d2c3242eafbe.jpg","text":"TemporaryFile(/tmp/multipartBody6076708129987632387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118523239,"filename":"image_26112025_00_52_38_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396184218","file1":"1396184216","file0":"1396184214","file4":"1396184222","file5":"1396184224","file3":"1396184220"},"map_files_photo_id_array":[{"photo_id":"1396184224","filename":"file5"},{"photo_id":"1396184218","filename":"file2"},{"photo_id":"1396184222","filename":"file4"},{"photo_id":"1396184216","filename":"file1"},{"photo_id":"1396184214","filename":"file0"},{"photo_id":"1396184220","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396184224":["hashtag1","hashtag2"]},{"1396184218":["hashtag1","hashtag2"]},{"1396184220":["hashtag1","hashtag2"]},{"1396184214":["hashtag1","hashtag2"]},{"1396184222":["hashtag1","hashtag2"]},{"1396184216":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396184224, 1396184218, 1396184220, 1396184214, 1396184222, 1396184216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13578462600708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:55:03.183162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_55_2633.jpg', '/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_58_2691.jpg', '/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_02_3684.jpg', '/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_04_2813.jpg', '/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_07_2550.jpg', '/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_11_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_55_2633.jpg
/home/pi/Desktop/images/26112025/00/52/image_26112025_00_52_58_2691.jpg
/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_02_3684.jpg
/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_04_2813.jpg
/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_07_2550.jpg
/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_11_3649.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":["1396184241","1396184229","1396184244","1396184238","1396184240","1396184242"],"photo_ids_order":["1396184229","1396184238","1396184240","1396184241","1396184242","1396184244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fffac9c24a7d2ae6ff8b05c0f6e888b6.jpg","text":"TemporaryFile(/tmp/multipartBody3208483661909485530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118563989,"filename":"image_26112025_00_53_04_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/26/c6274139a3277a5320400524814f7e6c.jpg","text":"TemporaryFile(/tmp/multipartBody2076494943696952251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118563989,"filename":"image_26112025_00_52_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/26/eb7d2ff5ca2325799ee5cf7cfce9f579.jpg","text":"TemporaryFile(/tmp/multipartBody3157078453709897867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118563989,"filename":"image_26112025_00_53_11_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/26/c0a0893d1f8fc36ecd373e3fe5420c44.jpg","text":"TemporaryFile(/tmp/multipartBody5853273835774312375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118563989,"filename":"image_26112025_00_52_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/26/292ad7350d3cbc64299762ba59cbd8eb.jpg","text":"TemporaryFile(/tmp/multipartBody63205690326231314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118563989,"filename":"image_26112025_00_53_02_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/26/1abaa29e9f3d8998890710d23d8aad50.jpg","text":"TemporaryFile(/tmp/multipartBody4481218617773204259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118563989,"filename":"image_26112025_00_53_07_2550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396184240","file1":"1396184238","file0":"1396184229","file4":"1396184242","file5":"1396184244","file3":"1396184241"},"map_files_photo_id_array":[{"photo_id":"1396184244","filename":"file5"},{"photo_id":"1396184240","filename":"file2"},{"photo_id":"1396184242","filename":"file4"},{"photo_id":"1396184238","filename":"file1"},{"photo_id":"1396184229","filename":"file0"},{"photo_id":"1396184241","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396184241":["hashtag1","hashtag2"]},{"1396184229":["hashtag1","hashtag2"]},{"1396184244":["hashtag1","hashtag2"]},{"1396184238":["hashtag1","hashtag2"]},{"1396184240":["hashtag1","hashtag2"]},{"1396184242":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396184241, 1396184229, 1396184244, 1396184238, 1396184240, 1396184242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46097540855408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 01:55:42.624630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_13_2579.jpg', '/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_16_2610.jpg', '/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_20_3784.jpg', '/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_22_2710.jpg', '/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_25_2685.jpg', '/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_29_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_13_2579.jpg
/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_16_2610.jpg
/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_20_3784.jpg
/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_22_2710.jpg
/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_25_2685.jpg
/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_29_3640.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.6026730537414551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:56:03.245188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_13_2579.jpg', '/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_16_2610.jpg', '/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_20_3784.jpg', '/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_22_2710.jpg', '/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_25_2685.jpg', '/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_29_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_13_2579.jpg
/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_16_2610.jpg
/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_20_3784.jpg
/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_22_2710.jpg
/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_25_2685.jpg
/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_29_3640.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":["1396184323","1396184286","1396184424","1396184378","1396184479","1396184272"],"photo_ids_order":["1396184272","1396184286","1396184323","1396184378","1396184424","1396184479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3a290c6b3db63f7438d9b3bf4781dc70.jpg","text":"TemporaryFile(/tmp/multipartBody7211615777305807695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118624008,"filename":"image_26112025_00_53_20_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/26/50ed2fdb2e35804468586d994810c913.jpg","text":"TemporaryFile(/tmp/multipartBody2762799580141859112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118624008,"filename":"image_26112025_00_53_16_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/26/f3cbd2c256f468bfb120f1bedb9c8433.jpg","text":"TemporaryFile(/tmp/multipartBody171802029987702426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118624008,"filename":"image_26112025_00_53_25_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/26/2ddfd0b8d2dc4636d5ffbc5c558fb7bb.jpg","text":"TemporaryFile(/tmp/multipartBody8902188627166172711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118624008,"filename":"image_26112025_00_53_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/26/6bffe73335d0d2fc65dd4c1e01760436.jpg","text":"TemporaryFile(/tmp/multipartBody3259466192137485934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118624008,"filename":"image_26112025_00_53_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/26/d0b491649bbc07a96d093d9e1f33a893.jpg","text":"TemporaryFile(/tmp/multipartBody228405312396595580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118624008,"filename":"image_26112025_00_53_13_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396184323","file1":"1396184286","file0":"1396184272","file4":"1396184424","file5":"1396184479","file3":"1396184378"},"map_files_photo_id_array":[{"photo_id":"1396184479","filename":"file5"},{"photo_id":"1396184323","filename":"file2"},{"photo_id":"1396184424","filename":"file4"},{"photo_id":"1396184286","filename":"file1"},{"photo_id":"1396184272","filename":"file0"},{"photo_id":"1396184378","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396184323":["hashtag1","hashtag2"]},{"1396184286":["hashtag1","hashtag2"]},{"1396184424":["hashtag1","hashtag2"]},{"1396184378":["hashtag1","hashtag2"]},{"1396184479":["hashtag1","hashtag2"]},{"1396184272":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396184323, 1396184286, 1396184424, 1396184378, 1396184479, 1396184272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.853527784347534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 01:56:42.909193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_31_2554.jpg', '/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_38_3783.jpg', '/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_40_2754.jpg', '/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_43_2561.jpg', '/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_47_3672.jpg', '/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_49_2507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_31_2554.jpg
/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_38_3783.jpg
/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_40_2754.jpg
/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_43_2561.jpg
/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_47_3672.jpg
/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_49_2507.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":["1396184673","1396184672","1396184675","1396184660","1396184624","1396184674"],"photo_ids_order":["1396184624","1396184660","1396184672","1396184673","1396184674","1396184675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/515130faf493944754b12f37f4d6ccbd.jpg","text":"TemporaryFile(/tmp/multipartBody431629435402049845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118663585,"filename":"image_26112025_00_53_43_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/26/20e72ead844f953268932ce82d062457.jpg","text":"TemporaryFile(/tmp/multipartBody8906511720427584339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118663585,"filename":"image_26112025_00_53_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/26/121cf4d37d36575617729d5c6916e9de.jpg","text":"TemporaryFile(/tmp/multipartBody3103722841754058498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118663585,"filename":"image_26112025_00_53_49_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/26/963db9258cb43799ee4dca794020b63a.jpg","text":"TemporaryFile(/tmp/multipartBody1781540981466934422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118663585,"filename":"image_26112025_00_53_38_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/26/6b37c710cf2b0c6a8d6a6496b685ba83.jpg","text":"TemporaryFile(/tmp/multipartBody169132156819976293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118663585,"filename":"image_26112025_00_53_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/26/6259bebe0cf230df3ebadebff0193699.jpg","text":"TemporaryFile(/tmp/multipartBody9178898342170387776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118663585,"filename":"image_26112025_00_53_47_3672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396184672","file1":"1396184660","file0":"1396184624","file4":"1396184674","file5":"1396184675","file3":"1396184673"},"map_files_photo_id_array":[{"photo_id":"1396184675","filename":"file5"},{"photo_id":"1396184672","filename":"file2"},{"photo_id":"1396184674","filename":"file4"},{"photo_id":"1396184660","filename":"file1"},{"photo_id":"1396184624","filename":"file0"},{"photo_id":"1396184673","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396184673":["hashtag1","hashtag2"]},{"1396184672":["hashtag1","hashtag2"]},{"1396184675":["hashtag1","hashtag2"]},{"1396184660":["hashtag1","hashtag2"]},{"1396184624":["hashtag1","hashtag2"]},{"1396184674":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396184673, 1396184672, 1396184675, 1396184660, 1396184624, 1396184674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31939196586609 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 01:57:22.157065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_52_2641.jpg', '/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_55_3674.jpg', '/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_58_2791.jpg', '/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_01_2616.jpg', '/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_04_3615.jpg', '/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_07_2537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_52_2641.jpg
/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_55_3674.jpg
/home/pi/Desktop/images/26112025/00/53/image_26112025_00_53_58_2791.jpg
/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_01_2616.jpg
/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_04_3615.jpg
/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_07_2537.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":["1396185051","1396184856","1396184925","1396184783","1396185097","1396184998"],"photo_ids_order":["1396184783","1396184856","1396184925","1396184998","1396185051","1396185097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aaeb1171960936feb494b649305dadc4.jpg","text":"TemporaryFile(/tmp/multipartBody553012629886719635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118702815,"filename":"image_26112025_00_54_04_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/26/695e84d2f4d3b579c93360e42f9b3c02.jpg","text":"TemporaryFile(/tmp/multipartBody817699188707712549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118702815,"filename":"image_26112025_00_53_55_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/26/df98ae3ddce9688f69cf4481bf73e10e.jpg","text":"TemporaryFile(/tmp/multipartBody356706282295961616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118702815,"filename":"image_26112025_00_53_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/26/da64152847a6e91bce1d0c724dbe79d5.jpg","text":"TemporaryFile(/tmp/multipartBody2826675024611275381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118702815,"filename":"image_26112025_00_53_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/26/4acd09842416d79198a46b829cf752d9.jpg","text":"TemporaryFile(/tmp/multipartBody3486701548055489805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118702815,"filename":"image_26112025_00_54_07_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/26/864988428aa159adaa7a90200477e952.jpg","text":"TemporaryFile(/tmp/multipartBody8796115980031988344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118702815,"filename":"image_26112025_00_54_01_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396184925","file1":"1396184856","file0":"1396184783","file4":"1396185051","file5":"1396185097","file3":"1396184998"},"map_files_photo_id_array":[{"photo_id":"1396185097","filename":"file5"},{"photo_id":"1396184925","filename":"file2"},{"photo_id":"1396185051","filename":"file4"},{"photo_id":"1396184856","filename":"file1"},{"photo_id":"1396184783","filename":"file0"},{"photo_id":"1396184998","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396185051":["hashtag1","hashtag2"]},{"1396184856":["hashtag1","hashtag2"]},{"1396184925":["hashtag1","hashtag2"]},{"1396184783":["hashtag1","hashtag2"]},{"1396185097":["hashtag1","hashtag2"]},{"1396184998":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396185051, 1396184856, 1396184925, 1396184783, 1396185097, 1396184998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11064171791077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 01:59:03.374841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_11_3603.jpg', '/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_13_2644.jpg', '/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_16_2698.jpg', '/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_20_3669.jpg', '/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_22_2584.jpg', '/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_25_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_11_3603.jpg
/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_13_2644.jpg
/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_16_2698.jpg
/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_20_3669.jpg
/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_22_2584.jpg
/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_25_2698.jpg
 val : 1 : upload photos already in processing! 
 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":["1396185843","1396185945","1396186058","1396185896","1396186019","1396185983"],"photo_ids_order":["1396185843","1396185896","1396185945","1396185983","1396186019","1396186058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/527ed8a17a9cc3ec881f8813c47358d5.jpg","text":"TemporaryFile(/tmp/multipartBody6415498755366348163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118804206,"filename":"image_26112025_00_54_11_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/26/99ffb1e6287e68a119930b3cdb535557.jpg","text":"TemporaryFile(/tmp/multipartBody5218576912726105335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118804206,"filename":"image_26112025_00_54_16_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cb735a25c7e68177608e06c13be3772f.jpg","text":"TemporaryFile(/tmp/multipartBody7463520312129208368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118804206,"filename":"image_26112025_00_54_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/26/f5742797b2c2aa7177ea88188e0403f7.jpg","text":"TemporaryFile(/tmp/multipartBody1573350604232509539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118804206,"filename":"image_26112025_00_54_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/26/deee6e66009e5cc865d33210d8daa959.jpg","text":"TemporaryFile(/tmp/multipartBody331250152581885184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118804206,"filename":"image_26112025_00_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/26/ccc89ef3884ace5610a42764118aa031.jpg","text":"TemporaryFile(/tmp/multipartBody957903567811517980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118804206,"filename":"image_26112025_00_54_20_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396185945","file1":"1396185896","file0":"1396185843","file4":"1396186019","file5":"1396186058","file3":"1396185983"},"map_files_photo_id_array":[{"photo_id":"1396186058","filename":"file5"},{"photo_id":"1396185945","filename":"file2"},{"photo_id":"1396186019","filename":"file4"},{"photo_id":"1396185896","filename":"file1"},{"photo_id":"1396185843","filename":"file0"},{"photo_id":"1396185983","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396185843":["hashtag1","hashtag2"]},{"1396185945":["hashtag1","hashtag2"]},{"1396186058":["hashtag1","hashtag2"]},{"1396185896":["hashtag1","hashtag2"]},{"1396186019":["hashtag1","hashtag2"]},{"1396185983":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396185843, 1396185945, 1396186058, 1396185896, 1396186019, 1396185983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.05753517150879 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:00:02.943561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_28_3603.jpg', '/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_31_2726.jpg', '/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_38_3778.jpg', '/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_40_2746.jpg', '/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_43_2509.jpg', '/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_46_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_28_3603.jpg
/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_31_2726.jpg
/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_38_3778.jpg
/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_40_2746.jpg
/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_43_2509.jpg
/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_46_3629.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":["1396186302","1396186305","1396186295","1396186298","1396186300","1396186341"],"photo_ids_order":["1396186295","1396186298","1396186300","1396186302","1396186305","1396186341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/054b4b4cf1cc5c1fc859a54c7ae3434d.jpg","text":"TemporaryFile(/tmp/multipartBody5959141668203767151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118863694,"filename":"image_26112025_00_54_40_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/26/6f39714d724586f1eff270e54ce9bc5b.jpg","text":"TemporaryFile(/tmp/multipartBody6060133109112331350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118863694,"filename":"image_26112025_00_54_43_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/26/7566df47561484afa4cd2b342054f609.jpg","text":"TemporaryFile(/tmp/multipartBody4662420328290753729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118863694,"filename":"image_26112025_00_54_28_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/26/24dd1c1da99c5c8d24c80f01cd5c0311.jpg","text":"TemporaryFile(/tmp/multipartBody1274958830822911568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118863694,"filename":"image_26112025_00_54_31_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/26/a5c6bd0d5f0dfa7366e7a2e510488200.jpg","text":"TemporaryFile(/tmp/multipartBody2145908243230125684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118863694,"filename":"image_26112025_00_54_38_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/26/7ab64a9a4ca2d3544e7e1ca063b4074f.jpg","text":"TemporaryFile(/tmp/multipartBody373280684445000097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118863694,"filename":"image_26112025_00_54_46_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396186300","file1":"1396186298","file0":"1396186295","file4":"1396186305","file5":"1396186341","file3":"1396186302"},"map_files_photo_id_array":[{"photo_id":"1396186341","filename":"file5"},{"photo_id":"1396186300","filename":"file2"},{"photo_id":"1396186305","filename":"file4"},{"photo_id":"1396186298","filename":"file1"},{"photo_id":"1396186295","filename":"file0"},{"photo_id":"1396186302","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396186302":["hashtag1","hashtag2"]},{"1396186305":["hashtag1","hashtag2"]},{"1396186295":["hashtag1","hashtag2"]},{"1396186298":["hashtag1","hashtag2"]},{"1396186300":["hashtag1","hashtag2"]},{"1396186341":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396186302, 1396186305, 1396186295, 1396186298, 1396186300, 1396186341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.269638776779175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 02:00:42.604802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_49_2769.jpg', '/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_52_2584.jpg', '/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_56_3737.jpg', '/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_58_2571.jpg', '/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_01_2697.jpg', '/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_05_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_49_2769.jpg
/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_52_2584.jpg
/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_56_3737.jpg
/home/pi/Desktop/images/26112025/00/54/image_26112025_00_54_58_2571.jpg
/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_01_2697.jpg
/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_05_3682.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":["1396186443","1396186454","1396186453","1396186456","1396186417","1396186455"],"photo_ids_order":["1396186417","1396186443","1396186453","1396186454","1396186455","1396186456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/53e54cf4bd35ace208ab543917b11d52.jpg","text":"TemporaryFile(/tmp/multipartBody1672405926426529559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118903296,"filename":"image_26112025_00_54_52_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/26/db45b91b57c761d1c9600af1e97581f8.jpg","text":"TemporaryFile(/tmp/multipartBody7502020029511519575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118903296,"filename":"image_26112025_00_54_58_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/26/e4f2e2696d5fe74453a9bd503a7206ed.jpg","text":"TemporaryFile(/tmp/multipartBody2030774987918316437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118903296,"filename":"image_26112025_00_54_56_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/26/48996a48e5078ff29e7cd0b10adc9322.jpg","text":"TemporaryFile(/tmp/multipartBody7421822434959294114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118903296,"filename":"image_26112025_00_55_05_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/26/49a8f4eb9dd5ca60df50197a01164da1.jpg","text":"TemporaryFile(/tmp/multipartBody4652390968388993474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118903296,"filename":"image_26112025_00_54_49_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/26/b7a9f7af992ac2f48afb6181a6a0d4d8.jpg","text":"TemporaryFile(/tmp/multipartBody7997658349066724513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118903296,"filename":"image_26112025_00_55_01_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396186453","file1":"1396186443","file0":"1396186417","file4":"1396186455","file5":"1396186456","file3":"1396186454"},"map_files_photo_id_array":[{"photo_id":"1396186456","filename":"file5"},{"photo_id":"1396186453","filename":"file2"},{"photo_id":"1396186455","filename":"file4"},{"photo_id":"1396186443","filename":"file1"},{"photo_id":"1396186417","filename":"file0"},{"photo_id":"1396186454","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396186443":["hashtag1","hashtag2"]},{"1396186454":["hashtag1","hashtag2"]},{"1396186453":["hashtag1","hashtag2"]},{"1396186456":["hashtag1","hashtag2"]},{"1396186417":["hashtag1","hashtag2"]},{"1396186455":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396186443, 1396186454, 1396186453, 1396186456, 1396186417, 1396186455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26575493812561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 02:01:22.863133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_07_2779.jpg', '/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_14_3727.jpg', '/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_16_2664.jpg', '/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_19_2802.jpg', '/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_22_2549.jpg', '/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_25_3786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_07_2779.jpg
/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_14_3727.jpg
/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_16_2664.jpg
/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_19_2802.jpg
/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_22_2549.jpg
/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_25_3786.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.5850703716278076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 02:01:32.709351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_07_2779.jpg', '/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_14_3727.jpg', '/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_16_2664.jpg', '/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_19_2802.jpg', '/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_22_2549.jpg', '/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_25_3786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_07_2779.jpg
/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_14_3727.jpg
/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_16_2664.jpg
/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_19_2802.jpg
/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_22_2549.jpg
/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_25_3786.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":["1396186475","1396186471","1396186474","1396186465","1396186473","1396186467"],"photo_ids_order":["1396186465","1396186467","1396186471","1396186473","1396186474","1396186475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e3306811743c121fb78516cc7a253e8d.jpg","text":"TemporaryFile(/tmp/multipartBody7895340660309662753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118953397,"filename":"image_26112025_00_55_25_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/26/b6dc0d62685f5692420e276f042f630e.jpg","text":"TemporaryFile(/tmp/multipartBody3538836594773262096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118953397,"filename":"image_26112025_00_55_16_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/26/3ae79b1d743953a2c3dbaa909ccf1ec5.jpg","text":"TemporaryFile(/tmp/multipartBody381019260676154251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118953397,"filename":"image_26112025_00_55_22_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/26/ea32cd6a513b7ef6cfaf0fb1b81ae86f.jpg","text":"TemporaryFile(/tmp/multipartBody3355807711072003392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118953397,"filename":"image_26112025_00_55_07_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/26/9a19acdd716074fa7534922c91805e32.jpg","text":"TemporaryFile(/tmp/multipartBody7040607581690198131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118953397,"filename":"image_26112025_00_55_19_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/26/0ea4a3a0e644a2c0856fb7ca41b6213b.jpg","text":"TemporaryFile(/tmp/multipartBody418819378304763129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118953397,"filename":"image_26112025_00_55_14_3727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396186471","file1":"1396186467","file0":"1396186465","file4":"1396186474","file5":"1396186475","file3":"1396186473"},"map_files_photo_id_array":[{"photo_id":"1396186475","filename":"file5"},{"photo_id":"1396186471","filename":"file2"},{"photo_id":"1396186474","filename":"file4"},{"photo_id":"1396186467","filename":"file1"},{"photo_id":"1396186465","filename":"file0"},{"photo_id":"1396186473","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396186475":["hashtag1","hashtag2"]},{"1396186471":["hashtag1","hashtag2"]},{"1396186474":["hashtag1","hashtag2"]},{"1396186465":["hashtag1","hashtag2"]},{"1396186473":["hashtag1","hashtag2"]},{"1396186467":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396186475, 1396186471, 1396186474, 1396186465, 1396186473, 1396186467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42090678215027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 02:02:11.963467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_28_2591.jpg', '/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_31_2686.jpg', '/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_34_3611.jpg', '/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_37_2731.jpg', '/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_40_2663.jpg', '/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_43_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_28_2591.jpg
/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_31_2686.jpg
/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_34_3611.jpg
/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_37_2731.jpg
/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_40_2663.jpg
/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_43_3620.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":["1396186490","1396186484","1396186478","1396186486","1396186480","1396186482"],"photo_ids_order":["1396186478","1396186480","1396186482","1396186484","1396186486","1396186490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5d9c0ae1049cdb26b60682670870e71d.jpg","text":"TemporaryFile(/tmp/multipartBody3018140987550291839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118992617,"filename":"image_26112025_00_55_43_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/26/9544a4c3a0294b30ebd34f6bf86ee051.jpg","text":"TemporaryFile(/tmp/multipartBody1680556016429468394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118992617,"filename":"image_26112025_00_55_37_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/26/d209e1f88a2dd9facc53114549f96f57.jpg","text":"TemporaryFile(/tmp/multipartBody6774100637311753420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118992617,"filename":"image_26112025_00_55_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/26/550a7bdd2d5432ddf73c6d147176da13.jpg","text":"TemporaryFile(/tmp/multipartBody3685398037862018225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118992617,"filename":"image_26112025_00_55_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/26/bb8b58020ec9e563395bf5c590bc38f2.jpg","text":"TemporaryFile(/tmp/multipartBody4538318994877966203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118992617,"filename":"image_26112025_00_55_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/26/eeafab26c761c79b3ccf938410936f96.jpg","text":"TemporaryFile(/tmp/multipartBody4773462219914864543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764118992617,"filename":"image_26112025_00_55_34_3611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396186482","file1":"1396186480","file0":"1396186478","file4":"1396186486","file5":"1396186490","file3":"1396186484"},"map_files_photo_id_array":[{"photo_id":"1396186490","filename":"file5"},{"photo_id":"1396186482","filename":"file2"},{"photo_id":"1396186486","filename":"file4"},{"photo_id":"1396186480","filename":"file1"},{"photo_id":"1396186478","filename":"file0"},{"photo_id":"1396186484","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396186490":["hashtag1","hashtag2"]},{"1396186484":["hashtag1","hashtag2"]},{"1396186478":["hashtag1","hashtag2"]},{"1396186486":["hashtag1","hashtag2"]},{"1396186480":["hashtag1","hashtag2"]},{"1396186482":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396186490, 1396186484, 1396186478, 1396186486, 1396186480, 1396186482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.052734375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:03:02.804346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_49_2683.jpg', '/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_52_3728.jpg', '/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_55_2960.jpg', '/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_58_2972.jpg', '/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_07_2547.jpg', '/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_10_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_49_2683.jpg
/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_52_3728.jpg
/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_55_2960.jpg
/home/pi/Desktop/images/26112025/00/55/image_26112025_00_55_58_2972.jpg
/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_07_2547.jpg
/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_10_2629.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":["1396186635","1396186672","1396186558","1396186525","1396186494","1396186600"],"photo_ids_order":["1396186494","1396186525","1396186558","1396186600","1396186635","1396186672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/92a6c69bfe71a2cae605f87bc0904da6.jpg","text":"TemporaryFile(/tmp/multipartBody5385995070184878319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119043591,"filename":"image_26112025_00_56_07_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/26/a2ad7b43b3c5f30a789439147a0f853f.jpg","text":"TemporaryFile(/tmp/multipartBody1875129703556995008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119043591,"filename":"image_26112025_00_56_10_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/26/e7056d8380d137dd4e9e470178b75f25.jpg","text":"TemporaryFile(/tmp/multipartBody3944997119993405912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119043591,"filename":"image_26112025_00_55_55_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/26/b4d42ede406a9135870b0bc63d449f25.jpg","text":"TemporaryFile(/tmp/multipartBody3356773426659608910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119043591,"filename":"image_26112025_00_55_52_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/26/844c1bf6978528bac6bb708379a777dc.jpg","text":"TemporaryFile(/tmp/multipartBody8629620514615156524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119043591,"filename":"image_26112025_00_55_49_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/26/74df901bbed0099026d7cea5e1a479cb.jpg","text":"TemporaryFile(/tmp/multipartBody612061027337592890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119043591,"filename":"image_26112025_00_55_58_2972.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396186558","file1":"1396186525","file0":"1396186494","file4":"1396186635","file5":"1396186672","file3":"1396186600"},"map_files_photo_id_array":[{"photo_id":"1396186672","filename":"file5"},{"photo_id":"1396186558","filename":"file2"},{"photo_id":"1396186635","filename":"file4"},{"photo_id":"1396186525","filename":"file1"},{"photo_id":"1396186494","filename":"file0"},{"photo_id":"1396186600","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396186635":["hashtag1","hashtag2"]},{"1396186672":["hashtag1","hashtag2"]},{"1396186558":["hashtag1","hashtag2"]},{"1396186525":["hashtag1","hashtag2"]},{"1396186494":["hashtag1","hashtag2"]},{"1396186600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396186635, 1396186672, 1396186558, 1396186525, 1396186494, 1396186600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88001585006714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 02:03:42.072612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_13_3629.jpg', '/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_16_2584.jpg', '/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_18_2727.jpg', '/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_22_3720.jpg', '/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_28_2766.jpg', '/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_31_3594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_13_3629.jpg
/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_16_2584.jpg
/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_18_2727.jpg
/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_22_3720.jpg
/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_28_2766.jpg
/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_31_3594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396186987","1396186919","1396186810","1396186953","1396186878","1396186845"],"photo_ids_order":["1396186810","1396186845","1396186878","1396186919","1396186953","1396186987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cff3837253acc3b041bb50dd6d62c4c0.jpg","text":"TemporaryFile(/tmp/multipartBody4068347833708448203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119082739,"filename":"image_26112025_00_56_31_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/26/79e19c0ac403e7f8134348e1c752f5b9.jpg","text":"TemporaryFile(/tmp/multipartBody3293164506318993992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119082739,"filename":"image_26112025_00_56_22_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/26/ad7cfc5cb636d824b6a4eacd0ea73183.jpg","text":"TemporaryFile(/tmp/multipartBody5868043160809231882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119082739,"filename":"image_26112025_00_56_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/26/d0d3c34ddd06af339109d11efc494eb4.jpg","text":"TemporaryFile(/tmp/multipartBody727935565251550970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119082739,"filename":"image_26112025_00_56_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/26/ef17bd787bd14e866504ed16b9bc962e.jpg","text":"TemporaryFile(/tmp/multipartBody2250538937347982047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119082739,"filename":"image_26112025_00_56_18_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/26/3c62bc76ac8b5d8abfffef410759a121.jpg","text":"TemporaryFile(/tmp/multipartBody6498328771754691286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119082739,"filename":"image_26112025_00_56_16_2584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396186878","file1":"1396186845","file0":"1396186810","file4":"1396186953","file5":"1396186987","file3":"1396186919"},"map_files_photo_id_array":[{"photo_id":"1396186987","filename":"file5"},{"photo_id":"1396186878","filename":"file2"},{"photo_id":"1396186953","filename":"file4"},{"photo_id":"1396186845","filename":"file1"},{"photo_id":"1396186810","filename":"file0"},{"photo_id":"1396186919","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396186987":["hashtag1","hashtag2"]},{"1396186919":["hashtag1","hashtag2"]},{"1396186810":["hashtag1","hashtag2"]},{"1396186953":["hashtag1","hashtag2"]},{"1396186878":["hashtag1","hashtag2"]},{"1396186845":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396186987, 1396186919, 1396186810, 1396186953, 1396186878, 1396186845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.94647240638733 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 02:04:22.315086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_34_2784.jpg', '/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_37_2692.jpg', '/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_40_3670.jpg', '/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_43_2672.jpg', '/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_46_2744.jpg', '/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_48_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_34_2784.jpg
/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_37_2692.jpg
/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_40_3670.jpg
/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_43_2672.jpg
/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_46_2744.jpg
/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_48_2669.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":["1396187162","1396187135","1396187170","1396187158","1396187172","1396187160"],"photo_ids_order":["1396187135","1396187158","1396187160","1396187162","1396187170","1396187172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b1a5d82f97f64cd67931faba44604b5e.jpg","text":"TemporaryFile(/tmp/multipartBody1192528177721623176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119122982,"filename":"image_26112025_00_56_43_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/26/081720a983024196515acb871d386691.jpg","text":"TemporaryFile(/tmp/multipartBody5306557111536616478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119122982,"filename":"image_26112025_00_56_34_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/26/a91fd6adfba6a471d92f4dd79f2eb9d5.jpg","text":"TemporaryFile(/tmp/multipartBody814333591996670350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119122982,"filename":"image_26112025_00_56_46_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/26/cdc839f52bb2e5544bc925ed112de96e.jpg","text":"TemporaryFile(/tmp/multipartBody386747981359574003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119122982,"filename":"image_26112025_00_56_37_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/26/e0b9236a77bb771d1de28d09deb94b1f.jpg","text":"TemporaryFile(/tmp/multipartBody3100031103235162655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119122982,"filename":"image_26112025_00_56_48_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/26/c74026a7473812c79d279437ebb16f5a.jpg","text":"TemporaryFile(/tmp/multipartBody1064159252503208860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119122982,"filename":"image_26112025_00_56_40_3670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396187160","file1":"1396187158","file0":"1396187135","file4":"1396187170","file5":"1396187172","file3":"1396187162"},"map_files_photo_id_array":[{"photo_id":"1396187172","filename":"file5"},{"photo_id":"1396187160","filename":"file2"},{"photo_id":"1396187170","filename":"file4"},{"photo_id":"1396187158","filename":"file1"},{"photo_id":"1396187135","filename":"file0"},{"photo_id":"1396187162","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396187162":["hashtag1","hashtag2"]},{"1396187135":["hashtag1","hashtag2"]},{"1396187170":["hashtag1","hashtag2"]},{"1396187158":["hashtag1","hashtag2"]},{"1396187172":["hashtag1","hashtag2"]},{"1396187160":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396187162, 1396187135, 1396187170, 1396187158, 1396187172, 1396187160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83610963821411 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:05:03.234765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_52_3696.jpg', '/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_55_2585.jpg', '/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_58_3624.jpg', '/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_01_2540.jpg', '/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_04_2720.jpg', '/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_07_3541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_52_3696.jpg
/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_55_2585.jpg
/home/pi/Desktop/images/26112025/00/56/image_26112025_00_56_58_3624.jpg
/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_01_2540.jpg
/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_04_2720.jpg
/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_07_3541.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":["1396187339","1396187246","1396187284","1396187320","1396187379","1396187211"],"photo_ids_order":["1396187211","1396187246","1396187284","1396187320","1396187339","1396187379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8e2b2ac691ca26c58381fd7189db93c2.jpg","text":"TemporaryFile(/tmp/multipartBody6926188021868460269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119164006,"filename":"image_26112025_00_57_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/26/fc46424fba594f19c5e77eeb7c6de63d.jpg","text":"TemporaryFile(/tmp/multipartBody1244748690569483855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119164006,"filename":"image_26112025_00_56_55_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c4f0de9300db97a86d93563b527a3b67.jpg","text":"TemporaryFile(/tmp/multipartBody7262153032750925219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119164006,"filename":"image_26112025_00_56_58_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/26/6e089b87292f0b5ef02afc1fe3bc814e.jpg","text":"TemporaryFile(/tmp/multipartBody2953671386495361680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119164006,"filename":"image_26112025_00_57_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/26/b44d03acac0e1d2c363abcdee5e20963.jpg","text":"TemporaryFile(/tmp/multipartBody7374048791760713725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119164006,"filename":"image_26112025_00_57_07_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8ab478798f4b400fea00921e30652a1c.jpg","text":"TemporaryFile(/tmp/multipartBody2129425613449025538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119164006,"filename":"image_26112025_00_56_52_3696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396187284","file1":"1396187246","file0":"1396187211","file4":"1396187339","file5":"1396187379","file3":"1396187320"},"map_files_photo_id_array":[{"photo_id":"1396187379","filename":"file5"},{"photo_id":"1396187284","filename":"file2"},{"photo_id":"1396187339","filename":"file4"},{"photo_id":"1396187246","filename":"file1"},{"photo_id":"1396187211","filename":"file0"},{"photo_id":"1396187320","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396187339":["hashtag1","hashtag2"]},{"1396187246":["hashtag1","hashtag2"]},{"1396187284":["hashtag1","hashtag2"]},{"1396187320":["hashtag1","hashtag2"]},{"1396187379":["hashtag1","hashtag2"]},{"1396187211":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396187339, 1396187246, 1396187284, 1396187320, 1396187379, 1396187211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90635704994202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 02:05:42.440211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_10_2643.jpg', '/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_13_2754.jpg', '/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_16_3697.jpg', '/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_19_2662.jpg', '/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_21_2563.jpg', '/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_25_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_10_2643.jpg
/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_13_2754.jpg
/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_16_3697.jpg
/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_19_2662.jpg
/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_21_2563.jpg
/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_25_3647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396187693","1396187738","1396187655","1396187583","1396187619","1396187780"],"photo_ids_order":["1396187583","1396187619","1396187655","1396187693","1396187738","1396187780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d9a7a93fc5d39c2eb49dcc6140782323.jpg","text":"TemporaryFile(/tmp/multipartBody2179797503792625317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119203128,"filename":"image_26112025_00_57_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/26/e9d83cb3506a9097f46dee807ece3bc7.jpg","text":"TemporaryFile(/tmp/multipartBody6943281945901766478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119203128,"filename":"image_26112025_00_57_21_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/26/00fc2370f6999b142ca5e7c671bb7e35.jpg","text":"TemporaryFile(/tmp/multipartBody4130371996197879818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119203128,"filename":"image_26112025_00_57_16_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/26/e7b7cdbb5c9ec84e6ef14215d8a76494.jpg","text":"TemporaryFile(/tmp/multipartBody3642415102961252016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119203128,"filename":"image_26112025_00_57_10_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/26/aaff5ab925611e9cc9e98db2e7ba5ded.jpg","text":"TemporaryFile(/tmp/multipartBody8558416533079865601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119203128,"filename":"image_26112025_00_57_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/26/5711742bff49d38dc1eeea901fb6cdf3.jpg","text":"TemporaryFile(/tmp/multipartBody1842930481461441690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119203128,"filename":"image_26112025_00_57_25_3647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396187655","file1":"1396187619","file0":"1396187583","file4":"1396187738","file5":"1396187780","file3":"1396187693"},"map_files_photo_id_array":[{"photo_id":"1396187780","filename":"file5"},{"photo_id":"1396187655","filename":"file2"},{"photo_id":"1396187738","filename":"file4"},{"photo_id":"1396187619","filename":"file1"},{"photo_id":"1396187583","filename":"file0"},{"photo_id":"1396187693","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396187693":["hashtag1","hashtag2"]},{"1396187738":["hashtag1","hashtag2"]},{"1396187655":["hashtag1","hashtag2"]},{"1396187583":["hashtag1","hashtag2"]},{"1396187619":["hashtag1","hashtag2"]},{"1396187780":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396187693, 1396187738, 1396187655, 1396187583, 1396187619, 1396187780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.791308641433716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 02:06:22.618414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_31_3632.jpg', '/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_34_2729.jpg', '/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_37_2717.jpg', '/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_39_2670.jpg', '/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_43_3604.jpg', '/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_46_2536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_31_3632.jpg
/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_34_2729.jpg
/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_37_2717.jpg
/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_39_2670.jpg
/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_43_3604.jpg
/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_46_2536.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":["1396187884","1396187887","1396187920","1396187985","1396187958","1396187889"],"photo_ids_order":["1396187884","1396187887","1396187889","1396187920","1396187958","1396187985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4f2a70ffe2ee18bc5cd876c2a41fa88f.jpg","text":"TemporaryFile(/tmp/multipartBody6531882243216489564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119243285,"filename":"image_26112025_00_57_31_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/26/58d85b374a031a49ed1c382b91756c78.jpg","text":"TemporaryFile(/tmp/multipartBody3299045205514102249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119243285,"filename":"image_26112025_00_57_34_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/26/db7b13a9cdd2b7fa52b7560429afb77c.jpg","text":"TemporaryFile(/tmp/multipartBody4312867008005623527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119243285,"filename":"image_26112025_00_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/26/b3dca1490e1c6aabe0917de40b9cd759.jpg","text":"TemporaryFile(/tmp/multipartBody6577584377019250905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119243285,"filename":"image_26112025_00_57_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/26/e137d2a008db9d4080061c8a621b2e62.jpg","text":"TemporaryFile(/tmp/multipartBody534251482056985567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119243285,"filename":"image_26112025_00_57_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/26/8814bf602fdf13cc2bc6970aeffd15fd.jpg","text":"TemporaryFile(/tmp/multipartBody578346426480360093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119243285,"filename":"image_26112025_00_57_37_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396187889","file1":"1396187887","file0":"1396187884","file4":"1396187958","file5":"1396187985","file3":"1396187920"},"map_files_photo_id_array":[{"photo_id":"1396187985","filename":"file5"},{"photo_id":"1396187889","filename":"file2"},{"photo_id":"1396187958","filename":"file4"},{"photo_id":"1396187887","filename":"file1"},{"photo_id":"1396187884","filename":"file0"},{"photo_id":"1396187920","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396187884":["hashtag1","hashtag2"]},{"1396187887":["hashtag1","hashtag2"]},{"1396187920":["hashtag1","hashtag2"]},{"1396187985":["hashtag1","hashtag2"]},{"1396187958":["hashtag1","hashtag2"]},{"1396187889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396187884, 1396187887, 1396187920, 1396187985, 1396187958, 1396187889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.741251945495605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:07:03.503580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_49_3545.jpg', '/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_52_2651.jpg', '/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_54_2620.jpg', '/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_58_3685.jpg', '/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_01_2805.jpg', '/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_03_2550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_49_3545.jpg
/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_52_2651.jpg
/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_54_2620.jpg
/home/pi/Desktop/images/26112025/00/57/image_26112025_00_57_58_3685.jpg
/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_01_2805.jpg
/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_03_2550.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":["1396188026","1396188028","1396188022","1396188030","1396188033","1396188024"],"photo_ids_order":["1396188022","1396188024","1396188026","1396188028","1396188030","1396188033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2ad3e3e4dcda820a8cbda6def6b92525.jpg","text":"TemporaryFile(/tmp/multipartBody2448253114854668144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119284310,"filename":"image_26112025_00_57_54_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/26/7b4866e2e70b03fa7f49937b59bcc886.jpg","text":"TemporaryFile(/tmp/multipartBody4762712463769444270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119284310,"filename":"image_26112025_00_57_58_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/26/b6b5399631273d55d62952c81fed6c1c.jpg","text":"TemporaryFile(/tmp/multipartBody3169907755739224786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119284310,"filename":"image_26112025_00_57_49_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/26/bac58f665561768db73b0055f26d6661.jpg","text":"TemporaryFile(/tmp/multipartBody6881005949734909878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119284310,"filename":"image_26112025_00_58_01_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/26/29fa8a067952441a46c7cc90221c4cb9.jpg","text":"TemporaryFile(/tmp/multipartBody1960454481686418927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119284310,"filename":"image_26112025_00_58_03_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/26/6ce85999fab5fc724d5da2f6d531009e.jpg","text":"TemporaryFile(/tmp/multipartBody3563733372869093027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119284310,"filename":"image_26112025_00_57_52_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188026","file1":"1396188024","file0":"1396188022","file4":"1396188030","file5":"1396188033","file3":"1396188028"},"map_files_photo_id_array":[{"photo_id":"1396188033","filename":"file5"},{"photo_id":"1396188026","filename":"file2"},{"photo_id":"1396188030","filename":"file4"},{"photo_id":"1396188024","filename":"file1"},{"photo_id":"1396188022","filename":"file0"},{"photo_id":"1396188028","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188026":["hashtag1","hashtag2"]},{"1396188028":["hashtag1","hashtag2"]},{"1396188022":["hashtag1","hashtag2"]},{"1396188030":["hashtag1","hashtag2"]},{"1396188033":["hashtag1","hashtag2"]},{"1396188024":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188026, 1396188028, 1396188022, 1396188030, 1396188033, 1396188024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05797505378723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 02:07:42.806073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_07_3648.jpg', '/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_10_2795.jpg', '/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_12_2576.jpg', '/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_16_3695.jpg', '/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_19_2759.jpg', '/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_22_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_07_3648.jpg
/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_10_2795.jpg
/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_12_2576.jpg
/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_16_3695.jpg
/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_19_2759.jpg
/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_22_2695.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":["1396188047","1396188046","1396188045","1396188048","1396188042","1396188044"],"photo_ids_order":["1396188042","1396188044","1396188045","1396188046","1396188047","1396188048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b4ae9a12816435bffe375d581864da89.jpg","text":"TemporaryFile(/tmp/multipartBody4681932065563201003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119323506,"filename":"image_26112025_00_58_19_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/26/ba9bad70ecc8fb0e55f26fda48100ea0.jpg","text":"TemporaryFile(/tmp/multipartBody1024551991692710067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119323506,"filename":"image_26112025_00_58_16_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/26/737e70cf4de66564cfe18ba9f203cd08.jpg","text":"TemporaryFile(/tmp/multipartBody4504408983820739762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119323506,"filename":"image_26112025_00_58_12_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e7df4e19fae558f1fc7a50d7dedc1340.jpg","text":"TemporaryFile(/tmp/multipartBody8665892301767891773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119323506,"filename":"image_26112025_00_58_22_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ac399375b74091309e2d1ca9a344b7b8.jpg","text":"TemporaryFile(/tmp/multipartBody2528502047300489319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119323506,"filename":"image_26112025_00_58_07_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/26/b9989a30ef3eb2f4d6445dade5b9ba13.jpg","text":"TemporaryFile(/tmp/multipartBody3328305258354804010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119323506,"filename":"image_26112025_00_58_10_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188045","file1":"1396188044","file0":"1396188042","file4":"1396188047","file5":"1396188048","file3":"1396188046"},"map_files_photo_id_array":[{"photo_id":"1396188048","filename":"file5"},{"photo_id":"1396188045","filename":"file2"},{"photo_id":"1396188047","filename":"file4"},{"photo_id":"1396188044","filename":"file1"},{"photo_id":"1396188042","filename":"file0"},{"photo_id":"1396188046","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188047":["hashtag1","hashtag2"]},{"1396188046":["hashtag1","hashtag2"]},{"1396188045":["hashtag1","hashtag2"]},{"1396188048":["hashtag1","hashtag2"]},{"1396188042":["hashtag1","hashtag2"]},{"1396188044":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188047, 1396188046, 1396188045, 1396188048, 1396188042, 1396188044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97466063499451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 02:08:22.014939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_25_3646.jpg', '/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_28_2625.jpg', '/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_31_2770.jpg', '/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_33_2700.jpg', '/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_37_3570.jpg', '/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_40_2742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_25_3646.jpg
/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_28_2625.jpg
/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_31_2770.jpg
/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_33_2700.jpg
/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_37_3570.jpg
/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_40_2742.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":["1396188067","1396188052","1396188055","1396188058","1396188069","1396188062"],"photo_ids_order":["1396188052","1396188055","1396188058","1396188062","1396188067","1396188069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/14af1ec409ba1e7b009bb92e07d96818.jpg","text":"TemporaryFile(/tmp/multipartBody4203858768403836131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119362674,"filename":"image_26112025_00_58_37_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/26/39653624e773abb8f6db5119f9de09d4.jpg","text":"TemporaryFile(/tmp/multipartBody7579673221636800645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119362674,"filename":"image_26112025_00_58_25_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/26/99d71178b14c4ae0e9b73b06d1ac8e86.jpg","text":"TemporaryFile(/tmp/multipartBody6250375616379083012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119362674,"filename":"image_26112025_00_58_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/26/504e29e39323d7c0afe69c2842177c5c.jpg","text":"TemporaryFile(/tmp/multipartBody1121404679251881507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119362674,"filename":"image_26112025_00_58_31_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/26/93563ef05e14ec3c1b33d3b96ba804c8.jpg","text":"TemporaryFile(/tmp/multipartBody6033977913315775146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119362674,"filename":"image_26112025_00_58_40_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/26/fe52984e4487060c5c166df77f7b26a3.jpg","text":"TemporaryFile(/tmp/multipartBody4472324229711569011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119362674,"filename":"image_26112025_00_58_33_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188058","file1":"1396188055","file0":"1396188052","file4":"1396188067","file5":"1396188069","file3":"1396188062"},"map_files_photo_id_array":[{"photo_id":"1396188069","filename":"file5"},{"photo_id":"1396188058","filename":"file2"},{"photo_id":"1396188067","filename":"file4"},{"photo_id":"1396188055","filename":"file1"},{"photo_id":"1396188052","filename":"file0"},{"photo_id":"1396188062","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188067":["hashtag1","hashtag2"]},{"1396188052":["hashtag1","hashtag2"]},{"1396188055":["hashtag1","hashtag2"]},{"1396188058":["hashtag1","hashtag2"]},{"1396188069":["hashtag1","hashtag2"]},{"1396188062":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188067, 1396188052, 1396188055, 1396188058, 1396188069, 1396188062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.873172998428345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:09:03.163175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_43_3541.jpg', '/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_46_2665.jpg', '/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_48_2653.jpg', '/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_52_3616.jpg', '/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_55_2689.jpg', '/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_57_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_43_3541.jpg
/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_46_2665.jpg
/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_48_2653.jpg
/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_52_3616.jpg
/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_55_2689.jpg
/home/pi/Desktop/images/26112025/00/58/image_26112025_00_58_57_2564.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":["1396188082","1396188078","1396188086","1396188080","1396188083","1396188077"],"photo_ids_order":["1396188077","1396188078","1396188080","1396188082","1396188083","1396188086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9e8506d86106b9cbb9be443b594516fd.jpg","text":"TemporaryFile(/tmp/multipartBody1451691583605239731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119404147,"filename":"image_26112025_00_58_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/26/665b19e50e3dcd815bd5319bf9c952b4.jpg","text":"TemporaryFile(/tmp/multipartBody3678167698854518443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119404147,"filename":"image_26112025_00_58_46_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/26/9194542df1f520ac346c618c1f5418e8.jpg","text":"TemporaryFile(/tmp/multipartBody4030080496331421117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119404147,"filename":"image_26112025_00_58_57_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/26/c10ff3a979ab003cfa396d19b2d68612.jpg","text":"TemporaryFile(/tmp/multipartBody1805390804741967779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119404147,"filename":"image_26112025_00_58_48_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/26/291f82e99324b7fb2445c69ea9ada373.jpg","text":"TemporaryFile(/tmp/multipartBody1871462741782664550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119404147,"filename":"image_26112025_00_58_55_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/26/55d6545672adf18e8a0d30a4d0fd8920.jpg","text":"TemporaryFile(/tmp/multipartBody7984033517917523713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119404147,"filename":"image_26112025_00_58_43_3541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188080","file1":"1396188078","file0":"1396188077","file4":"1396188083","file5":"1396188086","file3":"1396188082"},"map_files_photo_id_array":[{"photo_id":"1396188086","filename":"file5"},{"photo_id":"1396188080","filename":"file2"},{"photo_id":"1396188083","filename":"file4"},{"photo_id":"1396188078","filename":"file1"},{"photo_id":"1396188077","filename":"file0"},{"photo_id":"1396188082","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188082":["hashtag1","hashtag2"]},{"1396188078":["hashtag1","hashtag2"]},{"1396188086":["hashtag1","hashtag2"]},{"1396188080":["hashtag1","hashtag2"]},{"1396188083":["hashtag1","hashtag2"]},{"1396188077":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188082, 1396188078, 1396188086, 1396188080, 1396188083, 1396188077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43015193939209 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 02:09:42.345579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/58/image_26112025_00_59_01_3683.jpg', '/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_04_2564.jpg', '/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_06_2799.jpg', '/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_10_3638.jpg', '/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_13_2618.jpg', '/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_15_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/58/image_26112025_00_59_01_3683.jpg
/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_04_2564.jpg
/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_06_2799.jpg
/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_10_3638.jpg
/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_13_2618.jpg
/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_15_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.5748624801635742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:10:03.183126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/58/image_26112025_00_59_01_3683.jpg', '/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_04_2564.jpg', '/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_06_2799.jpg', '/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_10_3638.jpg', '/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_13_2618.jpg', '/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_15_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/58/image_26112025_00_59_01_3683.jpg
/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_04_2564.jpg
/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_06_2799.jpg
/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_10_3638.jpg
/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_13_2618.jpg
/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_15_2675.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":["1396188107","1396188097","1396188101","1396188103","1396188099","1396188105"],"photo_ids_order":["1396188097","1396188099","1396188101","1396188103","1396188105","1396188107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/80a5d296ef46fa732142ca155703e4e9.jpg","text":"TemporaryFile(/tmp/multipartBody7009536144406451460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119463903,"filename":"image_26112025_00_59_15_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/26/1dbc8a7d5ae6eb814892cee4f397bf31.jpg","text":"TemporaryFile(/tmp/multipartBody8771844998306738130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119463903,"filename":"image_26112025_00_59_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/26/2407d153e47727ab46065f380b191a10.jpg","text":"TemporaryFile(/tmp/multipartBody7584474261854745426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119463903,"filename":"image_26112025_00_59_06_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/26/dc5976c2d4903b5cb58ac5db9da85f8c.jpg","text":"TemporaryFile(/tmp/multipartBody4335876858107925697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119463903,"filename":"image_26112025_00_59_10_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/26/b27906f6690c5ee00f4b9556caee799f.jpg","text":"TemporaryFile(/tmp/multipartBody7871515700396920699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119463903,"filename":"image_26112025_00_59_04_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/26/3147a3fc92694cdea0878e5a0f8f97f7.jpg","text":"TemporaryFile(/tmp/multipartBody3051739764880240601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119463903,"filename":"image_26112025_00_59_13_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188101","file1":"1396188099","file0":"1396188097","file4":"1396188105","file5":"1396188107","file3":"1396188103"},"map_files_photo_id_array":[{"photo_id":"1396188107","filename":"file5"},{"photo_id":"1396188101","filename":"file2"},{"photo_id":"1396188105","filename":"file4"},{"photo_id":"1396188099","filename":"file1"},{"photo_id":"1396188097","filename":"file0"},{"photo_id":"1396188103","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188107":["hashtag1","hashtag2"]},{"1396188097":["hashtag1","hashtag2"]},{"1396188101":["hashtag1","hashtag2"]},{"1396188103":["hashtag1","hashtag2"]},{"1396188099":["hashtag1","hashtag2"]},{"1396188105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188107, 1396188097, 1396188101, 1396188103, 1396188099, 1396188105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.10451817512512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 02:10:42.735977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_19_3749.jpg', '/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_22_2492.jpg', '/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_24_2690.jpg', '/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_28_3571.jpg', '/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_31_2828.jpg', '/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_33_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_19_3749.jpg
/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_22_2492.jpg
/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_24_2690.jpg
/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_28_3571.jpg
/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_31_2828.jpg
/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_33_2592.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":["1396188128","1396188127","1396188115","1396188112","1396188114","1396188123"],"photo_ids_order":["1396188112","1396188114","1396188115","1396188123","1396188127","1396188128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1e9f0974dc9b26faac3b256a9613925e.jpg","text":"TemporaryFile(/tmp/multipartBody3482639713054245880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119503441,"filename":"image_26112025_00_59_33_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/26/f402e1f2986f2761536153a87c83de07.jpg","text":"TemporaryFile(/tmp/multipartBody3070629442904817053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119503441,"filename":"image_26112025_00_59_31_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/26/309d0e22993f5b7c62fc6b07ada3b03b.jpg","text":"TemporaryFile(/tmp/multipartBody268740464946629505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119503441,"filename":"image_26112025_00_59_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/26/48340f248c4daf7739326a3cb1318c99.jpg","text":"TemporaryFile(/tmp/multipartBody5702063462293339267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119503441,"filename":"image_26112025_00_59_19_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/26/907a3b7e63e12009a2b7551b70ab9e5b.jpg","text":"TemporaryFile(/tmp/multipartBody7273092528571078224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119503441,"filename":"image_26112025_00_59_22_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/26/7bd73093b43f12c262eefbf1a5465c2a.jpg","text":"TemporaryFile(/tmp/multipartBody2725564329019432232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119503441,"filename":"image_26112025_00_59_28_3571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188115","file1":"1396188114","file0":"1396188112","file4":"1396188127","file5":"1396188128","file3":"1396188123"},"map_files_photo_id_array":[{"photo_id":"1396188128","filename":"file5"},{"photo_id":"1396188115","filename":"file2"},{"photo_id":"1396188127","filename":"file4"},{"photo_id":"1396188114","filename":"file1"},{"photo_id":"1396188112","filename":"file0"},{"photo_id":"1396188123","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188128":["hashtag1","hashtag2"]},{"1396188127":["hashtag1","hashtag2"]},{"1396188115":["hashtag1","hashtag2"]},{"1396188112":["hashtag1","hashtag2"]},{"1396188114":["hashtag1","hashtag2"]},{"1396188123":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188128, 1396188127, 1396188115, 1396188112, 1396188114, 1396188123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.501285552978516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 02:11:21.947369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_37_3533.jpg', '/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_40_2781.jpg', '/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_46_3536.jpg', '/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_49_2712.jpg', '/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_51_2648.jpg', '/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_55_3726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_37_3533.jpg
/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_40_2781.jpg
/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_46_3536.jpg
/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_49_2712.jpg
/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_51_2648.jpg
/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_55_3726.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":["1396188181","1396188154","1396188177","1396188141","1396188179","1396188164"],"photo_ids_order":["1396188141","1396188154","1396188164","1396188177","1396188179","1396188181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/69f67d5050ddb85b82af2708f127596d.jpg","text":"TemporaryFile(/tmp/multipartBody902663957202966356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119542614,"filename":"image_26112025_00_59_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/26/398593e9a98a75fb40a25677e3efffc9.jpg","text":"TemporaryFile(/tmp/multipartBody6566292116466722751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119542614,"filename":"image_26112025_00_59_40_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1b51e5cd03c1d2b0cb30cb0149c94e9e.jpg","text":"TemporaryFile(/tmp/multipartBody8441680765593198190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119542614,"filename":"image_26112025_00_59_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/26/dd2874884979d2cbe05edd0abf9db427.jpg","text":"TemporaryFile(/tmp/multipartBody8012915093843587936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119542614,"filename":"image_26112025_00_59_37_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/26/1a6f4f881e426ecf1b2ab2cda0f3ce3f.jpg","text":"TemporaryFile(/tmp/multipartBody1179310164171923011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119542614,"filename":"image_26112025_00_59_51_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/26/dbd8e6d72c28aadd6d9c820254bd06ea.jpg","text":"TemporaryFile(/tmp/multipartBody3037563468889068979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119542614,"filename":"image_26112025_00_59_46_3536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188164","file1":"1396188154","file0":"1396188141","file4":"1396188179","file5":"1396188181","file3":"1396188177"},"map_files_photo_id_array":[{"photo_id":"1396188181","filename":"file5"},{"photo_id":"1396188164","filename":"file2"},{"photo_id":"1396188179","filename":"file4"},{"photo_id":"1396188154","filename":"file1"},{"photo_id":"1396188141","filename":"file0"},{"photo_id":"1396188177","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188181":["hashtag1","hashtag2"]},{"1396188154":["hashtag1","hashtag2"]},{"1396188177":["hashtag1","hashtag2"]},{"1396188141":["hashtag1","hashtag2"]},{"1396188179":["hashtag1","hashtag2"]},{"1396188164":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188181, 1396188154, 1396188177, 1396188141, 1396188179, 1396188164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30540490150452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:12:02.713175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_58_2630.jpg', '/home/pi/Desktop/images/26112025/00/59/image_26112025_01_00_00_2694.jpg', '/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_07_2651.jpg', '/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_09_2733.jpg', '/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_13_3627.jpg', '/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_16_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/00/59/image_26112025_00_59_58_2630.jpg
/home/pi/Desktop/images/26112025/00/59/image_26112025_01_00_00_2694.jpg
/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_07_2651.jpg
/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_09_2733.jpg
/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_13_3627.jpg
/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_16_2601.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":["1396188190","1396188193","1396188183","1396188186","1396188188","1396188182"],"photo_ids_order":["1396188182","1396188183","1396188186","1396188188","1396188190","1396188193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4c23975d4a9ad17212cfccf106093536.jpg","text":"TemporaryFile(/tmp/multipartBody8750830745239435347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119583438,"filename":"image_26112025_01_00_13_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/26/afb98410c2fdb6f4d15291a29e22abc5.jpg","text":"TemporaryFile(/tmp/multipartBody2985577499589847679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119583438,"filename":"image_26112025_01_00_16_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/26/ebea5af7e15b2c64702817fe93ab7adf.jpg","text":"TemporaryFile(/tmp/multipartBody1741447139016639519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119583438,"filename":"image_26112025_01_00_00_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cc3f1808600eb5c1805d70192d939d61.jpg","text":"TemporaryFile(/tmp/multipartBody1202875083573351995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119583438,"filename":"image_26112025_01_00_07_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/26/78b6f6df1f05135ebcae17c711e90d52.jpg","text":"TemporaryFile(/tmp/multipartBody3563012333494533812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119583438,"filename":"image_26112025_01_00_09_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/26/36c8ce2039b4c5fbf05c413c09cba000.jpg","text":"TemporaryFile(/tmp/multipartBody4405809576245422437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119583438,"filename":"image_26112025_00_59_58_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188186","file1":"1396188183","file0":"1396188182","file4":"1396188190","file5":"1396188193","file3":"1396188188"},"map_files_photo_id_array":[{"photo_id":"1396188193","filename":"file5"},{"photo_id":"1396188186","filename":"file2"},{"photo_id":"1396188190","filename":"file4"},{"photo_id":"1396188183","filename":"file1"},{"photo_id":"1396188182","filename":"file0"},{"photo_id":"1396188188","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188190":["hashtag1","hashtag2"]},{"1396188193":["hashtag1","hashtag2"]},{"1396188183":["hashtag1","hashtag2"]},{"1396188186":["hashtag1","hashtag2"]},{"1396188188":["hashtag1","hashtag2"]},{"1396188182":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188190, 1396188193, 1396188183, 1396188186, 1396188188, 1396188182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95347595214844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 02:12:42.182173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_18_2841.jpg', '/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_21_2665.jpg', '/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_25_3617.jpg', '/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_27_2586.jpg', '/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_31_3670.jpg', '/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_34_2715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_18_2841.jpg
/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_21_2665.jpg
/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_25_3617.jpg
/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_27_2586.jpg
/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_31_3670.jpg
/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_34_2715.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":["1396188206","1396188200","1396188205","1396188198","1396188207","1396188201"],"photo_ids_order":["1396188198","1396188200","1396188201","1396188205","1396188206","1396188207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e8228cbdac2d5b34e571cd639eac5fb0.jpg","text":"TemporaryFile(/tmp/multipartBody1426498137048322016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119622953,"filename":"image_26112025_01_00_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/26/808c72feecb4c750e601eae23611e3cc.jpg","text":"TemporaryFile(/tmp/multipartBody7963808269032567165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119622953,"filename":"image_26112025_01_00_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/26/bda63044595d5f7ed4c13402a4670c07.jpg","text":"TemporaryFile(/tmp/multipartBody6677439695739350476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119622953,"filename":"image_26112025_01_00_27_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/26/e2201dd6850793d7d603e4f37babfbad.jpg","text":"TemporaryFile(/tmp/multipartBody3518823703481427607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119622953,"filename":"image_26112025_01_00_18_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/26/64ed21cf1c03476f459108384644e677.jpg","text":"TemporaryFile(/tmp/multipartBody2957222713754677652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119622953,"filename":"image_26112025_01_00_34_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/26/8b4a50009207de1322e8b9b5219a6323.jpg","text":"TemporaryFile(/tmp/multipartBody7789339576839358782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119622953,"filename":"image_26112025_01_00_25_3617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188201","file1":"1396188200","file0":"1396188198","file4":"1396188206","file5":"1396188207","file3":"1396188205"},"map_files_photo_id_array":[{"photo_id":"1396188207","filename":"file5"},{"photo_id":"1396188201","filename":"file2"},{"photo_id":"1396188206","filename":"file4"},{"photo_id":"1396188200","filename":"file1"},{"photo_id":"1396188198","filename":"file0"},{"photo_id":"1396188205","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188206":["hashtag1","hashtag2"]},{"1396188200":["hashtag1","hashtag2"]},{"1396188205":["hashtag1","hashtag2"]},{"1396188198":["hashtag1","hashtag2"]},{"1396188207":["hashtag1","hashtag2"]},{"1396188201":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188206, 1396188200, 1396188205, 1396188198, 1396188207, 1396188201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15776181221008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 02:13:22.383930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_36_2793.jpg', '/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_39_2622.jpg', '/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_43_3571.jpg', '/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_45_2703.jpg', '/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_49_3497.jpg', '/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_51_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_36_2793.jpg
/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_39_2622.jpg
/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_43_3571.jpg
/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_45_2703.jpg
/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_49_3497.jpg
/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_51_2630.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":["1396188218","1396188212","1396188220","1396188214","1396188216","1396188221"],"photo_ids_order":["1396188212","1396188214","1396188216","1396188218","1396188220","1396188221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/43a8b809dead63550eb76ab4924c5a80.jpg","text":"TemporaryFile(/tmp/multipartBody8153342882401733954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119663051,"filename":"image_26112025_01_00_45_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/26/1b3bc1a1fbaf39254acc4d9d22ba8f05.jpg","text":"TemporaryFile(/tmp/multipartBody6809836250372786376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119663051,"filename":"image_26112025_01_00_36_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/26/31520d66d881bf8fc35089aebd648da0.jpg","text":"TemporaryFile(/tmp/multipartBody2112611560593281535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119663051,"filename":"image_26112025_01_00_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/26/a0eb7886b111f6b9e6d70737eb803a2b.jpg","text":"TemporaryFile(/tmp/multipartBody934878254858349050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119663051,"filename":"image_26112025_01_00_39_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/26/3be18960543f1a8777d5032a0cc6f708.jpg","text":"TemporaryFile(/tmp/multipartBody7764315879548584438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119663051,"filename":"image_26112025_01_00_43_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/26/515efcae9bea3cedf881f13852263b40.jpg","text":"TemporaryFile(/tmp/multipartBody5697984349105865014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119663051,"filename":"image_26112025_01_00_51_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188216","file1":"1396188214","file0":"1396188212","file4":"1396188220","file5":"1396188221","file3":"1396188218"},"map_files_photo_id_array":[{"photo_id":"1396188221","filename":"file5"},{"photo_id":"1396188216","filename":"file2"},{"photo_id":"1396188220","filename":"file4"},{"photo_id":"1396188214","filename":"file1"},{"photo_id":"1396188212","filename":"file0"},{"photo_id":"1396188218","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188218":["hashtag1","hashtag2"]},{"1396188212":["hashtag1","hashtag2"]},{"1396188220":["hashtag1","hashtag2"]},{"1396188214":["hashtag1","hashtag2"]},{"1396188216":["hashtag1","hashtag2"]},{"1396188221":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188218, 1396188212, 1396188220, 1396188214, 1396188216, 1396188221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.144489765167236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:14:03.401194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_54_2603.jpg', '/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_58_3561.jpg', '/home/pi/Desktop/images/26112025/01/00/image_26112025_01_01_00_2614.jpg', '/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_04_3633.jpg', '/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_06_2615.jpg', '/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_09_2805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_54_2603.jpg
/home/pi/Desktop/images/26112025/01/00/image_26112025_01_00_58_3561.jpg
/home/pi/Desktop/images/26112025/01/00/image_26112025_01_01_00_2614.jpg
/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_04_3633.jpg
/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_06_2615.jpg
/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_09_2805.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":["1396188230","1396188232","1396188226","1396188235","1396188223","1396188228"],"photo_ids_order":["1396188223","1396188226","1396188228","1396188230","1396188232","1396188235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a6b4d49292945b2a3fab4d1b29df363f.jpg","text":"TemporaryFile(/tmp/multipartBody8236162073538799270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119704243,"filename":"image_26112025_01_01_04_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/26/89e91183b8aa86e233948cccb29567ae.jpg","text":"TemporaryFile(/tmp/multipartBody5059787772566898342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119704243,"filename":"image_26112025_01_01_06_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/26/6b173e34729756f05a3df63fcd90b5ca.jpg","text":"TemporaryFile(/tmp/multipartBody4775232327821873449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119704243,"filename":"image_26112025_01_00_58_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/26/d542889bb6a1a86b08ad2f96e625da69.jpg","text":"TemporaryFile(/tmp/multipartBody610538668837291830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119704243,"filename":"image_26112025_01_01_09_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/26/fb11cc9f04c1f7d9f2dbed85a307ebe9.jpg","text":"TemporaryFile(/tmp/multipartBody933747594247617651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119704243,"filename":"image_26112025_01_00_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/26/993d33f379bdeef7c95e9dd39b446096.jpg","text":"TemporaryFile(/tmp/multipartBody3812597941757894462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119704243,"filename":"image_26112025_01_01_00_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188228","file1":"1396188226","file0":"1396188223","file4":"1396188232","file5":"1396188235","file3":"1396188230"},"map_files_photo_id_array":[{"photo_id":"1396188235","filename":"file5"},{"photo_id":"1396188228","filename":"file2"},{"photo_id":"1396188232","filename":"file4"},{"photo_id":"1396188226","filename":"file1"},{"photo_id":"1396188223","filename":"file0"},{"photo_id":"1396188230","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188230":["hashtag1","hashtag2"]},{"1396188232":["hashtag1","hashtag2"]},{"1396188226":["hashtag1","hashtag2"]},{"1396188235":["hashtag1","hashtag2"]},{"1396188223":["hashtag1","hashtag2"]},{"1396188228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188230, 1396188232, 1396188226, 1396188235, 1396188223, 1396188228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.68964195251465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 02:14:42.695311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_12_2706.jpg', '/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_16_3680.jpg', '/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_18_2647.jpg', '/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_21_2760.jpg', '/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_25_3649.jpg', '/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_27_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_12_2706.jpg
/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_16_3680.jpg
/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_18_2647.jpg
/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_21_2760.jpg
/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_25_3649.jpg
/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_27_2723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396188259","1396188250","1396188258","1396188252","1396188251","1396188248"],"photo_ids_order":["1396188248","1396188250","1396188251","1396188252","1396188258","1396188259"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/82b9fc105b9907b9777b6b5b2ee3cf0b.jpg","text":"TemporaryFile(/tmp/multipartBody703681497448351359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119743397,"filename":"image_26112025_01_01_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/26/9318fa425c69d5498a59a97ac15440de.jpg","text":"TemporaryFile(/tmp/multipartBody5239925310528060251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119743397,"filename":"image_26112025_01_01_16_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/26/d7037991c52832be27201a95cd743944.jpg","text":"TemporaryFile(/tmp/multipartBody965958079852172678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119743397,"filename":"image_26112025_01_01_25_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/26/c36765e17cf59e990fcd137827b20dd9.jpg","text":"TemporaryFile(/tmp/multipartBody2789464671110000033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119743397,"filename":"image_26112025_01_01_21_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/26/05a407649e70268e9cc6eefe229ca504.jpg","text":"TemporaryFile(/tmp/multipartBody5467021214817412977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119743397,"filename":"image_26112025_01_01_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/26/83f88e6761db2ae2c349fd5d4c84d880.jpg","text":"TemporaryFile(/tmp/multipartBody796083681991842672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119743397,"filename":"image_26112025_01_01_12_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188251","file1":"1396188250","file0":"1396188248","file4":"1396188258","file5":"1396188259","file3":"1396188252"},"map_files_photo_id_array":[{"photo_id":"1396188259","filename":"file5"},{"photo_id":"1396188251","filename":"file2"},{"photo_id":"1396188258","filename":"file4"},{"photo_id":"1396188250","filename":"file1"},{"photo_id":"1396188248","filename":"file0"},{"photo_id":"1396188252","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188259":["hashtag1","hashtag2"]},{"1396188250":["hashtag1","hashtag2"]},{"1396188258":["hashtag1","hashtag2"]},{"1396188252":["hashtag1","hashtag2"]},{"1396188251":["hashtag1","hashtag2"]},{"1396188248":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188259, 1396188250, 1396188258, 1396188252, 1396188251, 1396188248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.833972692489624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 02:15:21.803369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_30_2638.jpg', '/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_34_3685.jpg', '/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_36_2589.jpg', '/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_39_2564.jpg', '/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_43_3629.jpg', '/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_45_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_30_2638.jpg
/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_34_3685.jpg
/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_36_2589.jpg
/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_39_2564.jpg
/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_43_3629.jpg
/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_45_2745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396188271","1396188273","1396188267","1396188264","1396188275","1396188269"],"photo_ids_order":["1396188264","1396188267","1396188269","1396188271","1396188273","1396188275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/34a42b4dede8b7de5bd45481561ff556.jpg","text":"TemporaryFile(/tmp/multipartBody5865994928677635953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119782498,"filename":"image_26112025_01_01_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/26/4aea1d5c0bec527cde4b854db76eca81.jpg","text":"TemporaryFile(/tmp/multipartBody2642519448355777759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119782498,"filename":"image_26112025_01_01_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/26/b4c289ee18bc4d2e1f0f31e8e3972596.jpg","text":"TemporaryFile(/tmp/multipartBody1845993537309962633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119782498,"filename":"image_26112025_01_01_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/26/f60b4b14987889808471379250da7f39.jpg","text":"TemporaryFile(/tmp/multipartBody9079545536807305095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119782498,"filename":"image_26112025_01_01_30_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/26/d69a082482e8e8d8dc1d1002a0533cf8.jpg","text":"TemporaryFile(/tmp/multipartBody2271451598187280149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119782498,"filename":"image_26112025_01_01_45_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/26/c2b9397a9af9e199ab7b79ec5c1b9ab9.jpg","text":"TemporaryFile(/tmp/multipartBody8312459666289510008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119782498,"filename":"image_26112025_01_01_36_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188269","file1":"1396188267","file0":"1396188264","file4":"1396188273","file5":"1396188275","file3":"1396188271"},"map_files_photo_id_array":[{"photo_id":"1396188275","filename":"file5"},{"photo_id":"1396188269","filename":"file2"},{"photo_id":"1396188273","filename":"file4"},{"photo_id":"1396188267","filename":"file1"},{"photo_id":"1396188264","filename":"file0"},{"photo_id":"1396188271","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188271":["hashtag1","hashtag2"]},{"1396188273":["hashtag1","hashtag2"]},{"1396188267":["hashtag1","hashtag2"]},{"1396188264":["hashtag1","hashtag2"]},{"1396188275":["hashtag1","hashtag2"]},{"1396188269":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188271, 1396188273, 1396188267, 1396188264, 1396188275, 1396188269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49573540687561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:16:02.607093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_48_2638.jpg', '/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_52_3613.jpg', '/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_54_2601.jpg', '/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_58_3526.jpg', '/home/pi/Desktop/images/26112025/01/01/image_26112025_01_02_00_2623.jpg', '/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_03_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_48_2638.jpg
/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_52_3613.jpg
/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_54_2601.jpg
/home/pi/Desktop/images/26112025/01/01/image_26112025_01_01_58_3526.jpg
/home/pi/Desktop/images/26112025/01/01/image_26112025_01_02_00_2623.jpg
/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_03_2675.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":["1396188302","1396188286","1396188291","1396188296","1396188300","1396188299"],"photo_ids_order":["1396188286","1396188291","1396188296","1396188299","1396188300","1396188302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cf1f0d81380731bf937d25758d371d42.jpg","text":"TemporaryFile(/tmp/multipartBody3871799127721357554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119823338,"filename":"image_26112025_01_02_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/26/1a07ddcd5a007e27c8ec8e1258ea41d3.jpg","text":"TemporaryFile(/tmp/multipartBody1055970718407732639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119823338,"filename":"image_26112025_01_01_48_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/26/c5b1a0c73651539e6370767611030b09.jpg","text":"TemporaryFile(/tmp/multipartBody6627713351494189806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119823338,"filename":"image_26112025_01_01_52_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/26/9b1a2fb92e2c573bf798a28f5d5511b8.jpg","text":"TemporaryFile(/tmp/multipartBody2218018763706657926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119823338,"filename":"image_26112025_01_01_54_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/26/71189ebcedff13889601cf0922ec4f2c.jpg","text":"TemporaryFile(/tmp/multipartBody8526690662036935722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119823338,"filename":"image_26112025_01_02_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/26/fc44c4cfa8e696ad9b65799a1d9ac95f.jpg","text":"TemporaryFile(/tmp/multipartBody1656905998625733394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119823338,"filename":"image_26112025_01_01_58_3526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188296","file1":"1396188291","file0":"1396188286","file4":"1396188300","file5":"1396188302","file3":"1396188299"},"map_files_photo_id_array":[{"photo_id":"1396188302","filename":"file5"},{"photo_id":"1396188296","filename":"file2"},{"photo_id":"1396188300","filename":"file4"},{"photo_id":"1396188291","filename":"file1"},{"photo_id":"1396188286","filename":"file0"},{"photo_id":"1396188299","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188302":["hashtag1","hashtag2"]},{"1396188286":["hashtag1","hashtag2"]},{"1396188291":["hashtag1","hashtag2"]},{"1396188296":["hashtag1","hashtag2"]},{"1396188300":["hashtag1","hashtag2"]},{"1396188299":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188302, 1396188286, 1396188291, 1396188296, 1396188300, 1396188299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.563973903656006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 02:16:42.152770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_07_3623.jpg', '/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_13_3626.jpg', '/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_15_2566.jpg', '/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_18_2695.jpg', '/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_22_3615.jpg', '/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_24_2721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_07_3623.jpg
/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_13_3626.jpg
/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_15_2566.jpg
/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_18_2695.jpg
/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_22_3615.jpg
/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_24_2721.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":["1396188311","1396188307","1396188316","1396188310","1396188315","1396188309"],"photo_ids_order":["1396188307","1396188309","1396188310","1396188311","1396188315","1396188316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/38f5a6188f381ef8ce20af01f19f51c5.jpg","text":"TemporaryFile(/tmp/multipartBody2606164581734615104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119862859,"filename":"image_26112025_01_02_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/26/716e1797e40216fa6fe09f43961b55dc.jpg","text":"TemporaryFile(/tmp/multipartBody5689191238036416592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119862859,"filename":"image_26112025_01_02_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/26/7728c48f1352d761de10f23135101971.jpg","text":"TemporaryFile(/tmp/multipartBody3640275816407625476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119862859,"filename":"image_26112025_01_02_24_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/26/3783508d01915263b2fac8ada239d83f.jpg","text":"TemporaryFile(/tmp/multipartBody6035742026513202138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119862859,"filename":"image_26112025_01_02_15_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/26/7370ad1d885b35653d5594859ce56219.jpg","text":"TemporaryFile(/tmp/multipartBody258485453867555409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119862859,"filename":"image_26112025_01_02_22_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/26/68f1b7deb65c49be57a025ee7411b091.jpg","text":"TemporaryFile(/tmp/multipartBody2224951887064202126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119862859,"filename":"image_26112025_01_02_13_3626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188310","file1":"1396188309","file0":"1396188307","file4":"1396188315","file5":"1396188316","file3":"1396188311"},"map_files_photo_id_array":[{"photo_id":"1396188316","filename":"file5"},{"photo_id":"1396188310","filename":"file2"},{"photo_id":"1396188315","filename":"file4"},{"photo_id":"1396188309","filename":"file1"},{"photo_id":"1396188307","filename":"file0"},{"photo_id":"1396188311","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188311":["hashtag1","hashtag2"]},{"1396188307":["hashtag1","hashtag2"]},{"1396188316":["hashtag1","hashtag2"]},{"1396188310":["hashtag1","hashtag2"]},{"1396188315":["hashtag1","hashtag2"]},{"1396188309":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188311, 1396188307, 1396188316, 1396188310, 1396188315, 1396188309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.833914279937744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 02:17:22.268130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_27_2645.jpg', '/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_31_3567.jpg', '/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_33_2629.jpg', '/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_36_2597.jpg', '/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_39_3573.jpg', '/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_42_2624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_27_2645.jpg
/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_31_3567.jpg
/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_33_2629.jpg
/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_36_2597.jpg
/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_39_3573.jpg
/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_42_2624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396188326","1396188328","1396188330","1396188324","1396188333","1396188321"],"photo_ids_order":["1396188321","1396188324","1396188326","1396188328","1396188330","1396188333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3a93136f2dab9606d5bd3a910c421cf2.jpg","text":"TemporaryFile(/tmp/multipartBody2432172837304284732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119902932,"filename":"image_26112025_01_02_33_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/26/b2172865198d9a751fc8715ee9374a73.jpg","text":"TemporaryFile(/tmp/multipartBody1013233220362998035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119902932,"filename":"image_26112025_01_02_36_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/26/9fed290bf03cf2aba1f81fa66867ba01.jpg","text":"TemporaryFile(/tmp/multipartBody367215084336519620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119902932,"filename":"image_26112025_01_02_39_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/26/01329634d161d8de8194112a60f27a2c.jpg","text":"TemporaryFile(/tmp/multipartBody8416226929598761616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119902932,"filename":"image_26112025_01_02_31_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/26/15801e5e78dbcc7470c3fd8282e4e2df.jpg","text":"TemporaryFile(/tmp/multipartBody6952995875130684754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119902932,"filename":"image_26112025_01_02_42_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/26/ed5e42399e2965b4f9ec4a583282646f.jpg","text":"TemporaryFile(/tmp/multipartBody3243230733419243807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119902932,"filename":"image_26112025_01_02_27_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188326","file1":"1396188324","file0":"1396188321","file4":"1396188330","file5":"1396188333","file3":"1396188328"},"map_files_photo_id_array":[{"photo_id":"1396188333","filename":"file5"},{"photo_id":"1396188326","filename":"file2"},{"photo_id":"1396188330","filename":"file4"},{"photo_id":"1396188324","filename":"file1"},{"photo_id":"1396188321","filename":"file0"},{"photo_id":"1396188328","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188326":["hashtag1","hashtag2"]},{"1396188328":["hashtag1","hashtag2"]},{"1396188330":["hashtag1","hashtag2"]},{"1396188324":["hashtag1","hashtag2"]},{"1396188333":["hashtag1","hashtag2"]},{"1396188321":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188326, 1396188328, 1396188330, 1396188324, 1396188333, 1396188321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.31573820114136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:18:03.085696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_46_3574.jpg', '/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_48_2623.jpg', '/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_55_3586.jpg', '/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_57_2674.jpg', '/home/pi/Desktop/images/26112025/01/02/image_26112025_01_03_00_2793.jpg', '/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_04_3645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_46_3574.jpg
/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_48_2623.jpg
/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_55_3586.jpg
/home/pi/Desktop/images/26112025/01/02/image_26112025_01_02_57_2674.jpg
/home/pi/Desktop/images/26112025/01/02/image_26112025_01_03_00_2793.jpg
/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_04_3645.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":["1396188344","1396188346","1396188348","1396188342","1396188351","1396188339"],"photo_ids_order":["1396188339","1396188342","1396188344","1396188346","1396188348","1396188351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4d7b500f044daee15389d895ef631d64.jpg","text":"TemporaryFile(/tmp/multipartBody6592412592894882131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119943811,"filename":"image_26112025_01_02_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/26/deef5b2562bcf88a89f3cb4e3e5be78c.jpg","text":"TemporaryFile(/tmp/multipartBody1677487703462605553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119943811,"filename":"image_26112025_01_02_57_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/26/decc9e64064da1be8c2fe6663fd1faa9.jpg","text":"TemporaryFile(/tmp/multipartBody5358020932922279590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119943811,"filename":"image_26112025_01_03_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/26/a613f0f5a1e446083d6a1ceb59cc0814.jpg","text":"TemporaryFile(/tmp/multipartBody4846347567354330124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119943811,"filename":"image_26112025_01_02_48_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/26/5a0ac10669f1800537ba460a00cfed6f.jpg","text":"TemporaryFile(/tmp/multipartBody4070887914582465355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119943811,"filename":"image_26112025_01_03_04_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/26/144e5d0b5274ee8d75deb1656d297dbb.jpg","text":"TemporaryFile(/tmp/multipartBody8085779110689997259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119943811,"filename":"image_26112025_01_02_46_3574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188344","file1":"1396188342","file0":"1396188339","file4":"1396188348","file5":"1396188351","file3":"1396188346"},"map_files_photo_id_array":[{"photo_id":"1396188351","filename":"file5"},{"photo_id":"1396188344","filename":"file2"},{"photo_id":"1396188348","filename":"file4"},{"photo_id":"1396188342","filename":"file1"},{"photo_id":"1396188339","filename":"file0"},{"photo_id":"1396188346","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188344":["hashtag1","hashtag2"]},{"1396188346":["hashtag1","hashtag2"]},{"1396188348":["hashtag1","hashtag2"]},{"1396188342":["hashtag1","hashtag2"]},{"1396188351":["hashtag1","hashtag2"]},{"1396188339":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188344, 1396188346, 1396188348, 1396188342, 1396188351, 1396188339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89358878135681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 02:18:42.671322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_06_2551.jpg', '/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_09_2551.jpg', '/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_12_3555.jpg', '/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_19_3645.jpg', '/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_21_2697.jpg', '/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_28_3707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_06_2551.jpg
/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_09_2551.jpg
/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_12_3555.jpg
/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_19_3645.jpg
/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_21_2697.jpg
/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_28_3707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396188361","1396188358","1396188360","1396188359","1396188362","1396188356"],"photo_ids_order":["1396188356","1396188358","1396188359","1396188360","1396188361","1396188362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ad91605d6200bd9dc4fb760025913f56.jpg","text":"TemporaryFile(/tmp/multipartBody1508559511253779923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119983368,"filename":"image_26112025_01_03_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/26/b20a5493e8990ea479245434b0d268d9.jpg","text":"TemporaryFile(/tmp/multipartBody6933345275761399555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119983368,"filename":"image_26112025_01_03_09_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/26/30d5bcffb6e6195626b87cb9bbee7a79.jpg","text":"TemporaryFile(/tmp/multipartBody4243435435366562452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119983368,"filename":"image_26112025_01_03_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/26/45519a2083f8b06e3d3bb345b5dfc8fd.jpg","text":"TemporaryFile(/tmp/multipartBody7498693837362148621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119983368,"filename":"image_26112025_01_03_12_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/26/5492f79851fd0bcef79a68833dc543be.jpg","text":"TemporaryFile(/tmp/multipartBody3335294120080292731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119983368,"filename":"image_26112025_01_03_28_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/26/8fca0bddf489110847165740946ebf09.jpg","text":"TemporaryFile(/tmp/multipartBody1346016187921724346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764119983368,"filename":"image_26112025_01_03_06_2551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188359","file1":"1396188358","file0":"1396188356","file4":"1396188361","file5":"1396188362","file3":"1396188360"},"map_files_photo_id_array":[{"photo_id":"1396188362","filename":"file5"},{"photo_id":"1396188359","filename":"file2"},{"photo_id":"1396188361","filename":"file4"},{"photo_id":"1396188358","filename":"file1"},{"photo_id":"1396188356","filename":"file0"},{"photo_id":"1396188360","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188361":["hashtag1","hashtag2"]},{"1396188358":["hashtag1","hashtag2"]},{"1396188360":["hashtag1","hashtag2"]},{"1396188359":["hashtag1","hashtag2"]},{"1396188362":["hashtag1","hashtag2"]},{"1396188356":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188361, 1396188358, 1396188360, 1396188359, 1396188362, 1396188356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.181049823760986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 02:19:21.842181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_30_2711.jpg', '/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_33_2728.jpg', '/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_36_2761.jpg', '/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_42_2620.jpg', '/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_46_3613.jpg', '/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_48_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_30_2711.jpg
/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_33_2728.jpg
/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_36_2761.jpg
/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_42_2620.jpg
/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_46_3613.jpg
/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_48_2582.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":["1396188370","1396188364","1396188372","1396188366","1396188374","1396188368"],"photo_ids_order":["1396188364","1396188366","1396188368","1396188370","1396188372","1396188374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/484f3597ecff4041735c0b94b3d8ad43.jpg","text":"TemporaryFile(/tmp/multipartBody5113425227654891276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120022511,"filename":"image_26112025_01_03_42_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/26/2947ba926eaa6995249698150c55caad.jpg","text":"TemporaryFile(/tmp/multipartBody6277792959118277525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120022511,"filename":"image_26112025_01_03_30_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/26/0e7c544694efebb7e6239da656a67015.jpg","text":"TemporaryFile(/tmp/multipartBody1879492252082002169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120022511,"filename":"image_26112025_01_03_46_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/87549edf9cb59efd77a89a13967fd061.jpg","text":"TemporaryFile(/tmp/multipartBody6922759221182244377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120022511,"filename":"image_26112025_01_03_33_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/26/87748654eaf7fe41b79b29befe9577ef.jpg","text":"TemporaryFile(/tmp/multipartBody8921010642633940491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120022511,"filename":"image_26112025_01_03_48_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/26/44937ebefe8d6fa55834eba373cc35df.jpg","text":"TemporaryFile(/tmp/multipartBody6248394327377882497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120022511,"filename":"image_26112025_01_03_36_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188368","file1":"1396188366","file0":"1396188364","file4":"1396188372","file5":"1396188374","file3":"1396188370"},"map_files_photo_id_array":[{"photo_id":"1396188374","filename":"file5"},{"photo_id":"1396188368","filename":"file2"},{"photo_id":"1396188372","filename":"file4"},{"photo_id":"1396188366","filename":"file1"},{"photo_id":"1396188364","filename":"file0"},{"photo_id":"1396188370","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188370":["hashtag1","hashtag2"]},{"1396188364":["hashtag1","hashtag2"]},{"1396188372":["hashtag1","hashtag2"]},{"1396188366":["hashtag1","hashtag2"]},{"1396188374":["hashtag1","hashtag2"]},{"1396188368":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188370, 1396188364, 1396188372, 1396188366, 1396188374, 1396188368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42984628677368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:20:02.510942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_51_2629.jpg', '/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_54_3734.jpg', '/home/pi/Desktop/images/26112025/01/03/image_26112025_01_04_01_3533.jpg', '/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_03_2677.jpg', '/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_06_2728.jpg', '/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_09_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_51_2629.jpg
/home/pi/Desktop/images/26112025/01/03/image_26112025_01_03_54_3734.jpg
/home/pi/Desktop/images/26112025/01/03/image_26112025_01_04_01_3533.jpg
/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_03_2677.jpg
/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_06_2728.jpg
/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_09_2713.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":["1396188425","1396188391","1396188406","1396188400","1396188403","1396188393"],"photo_ids_order":["1396188391","1396188393","1396188400","1396188403","1396188406","1396188425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/85ef8ae7780cc7ee638cdd07b0961e6e.jpg","text":"TemporaryFile(/tmp/multipartBody6132165478178338851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120063296,"filename":"image_26112025_01_04_09_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/26/260fa4efd27a462235f039287287f818.jpg","text":"TemporaryFile(/tmp/multipartBody1309779791853100194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120063296,"filename":"image_26112025_01_03_51_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/26/36bf53923e5f8b2a4bc65ee266bedd73.jpg","text":"TemporaryFile(/tmp/multipartBody9173083560462571215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120063296,"filename":"image_26112025_01_04_06_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/26/be4f42d46a554a300b35455db97db020.jpg","text":"TemporaryFile(/tmp/multipartBody5489697899882025802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120063296,"filename":"image_26112025_01_04_01_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/26/94769588925786f90c3325fda0396f24.jpg","text":"TemporaryFile(/tmp/multipartBody8767252743515957826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120063296,"filename":"image_26112025_01_04_03_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/26/7b5ca43946c676f88c5e9177d22c7815.jpg","text":"TemporaryFile(/tmp/multipartBody6372020207688643836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120063296,"filename":"image_26112025_01_03_54_3734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188400","file1":"1396188393","file0":"1396188391","file4":"1396188406","file5":"1396188425","file3":"1396188403"},"map_files_photo_id_array":[{"photo_id":"1396188425","filename":"file5"},{"photo_id":"1396188400","filename":"file2"},{"photo_id":"1396188406","filename":"file4"},{"photo_id":"1396188393","filename":"file1"},{"photo_id":"1396188391","filename":"file0"},{"photo_id":"1396188403","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188425":["hashtag1","hashtag2"]},{"1396188391":["hashtag1","hashtag2"]},{"1396188406":["hashtag1","hashtag2"]},{"1396188400":["hashtag1","hashtag2"]},{"1396188403":["hashtag1","hashtag2"]},{"1396188393":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188425, 1396188391, 1396188406, 1396188400, 1396188403, 1396188393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88863730430603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 02:20:42.026512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_12_3665.jpg', '/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_15_2549.jpg', '/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_19_3624.jpg', '/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_21_2573.jpg', '/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_24_2622.jpg', '/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_27_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_12_3665.jpg
/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_15_2549.jpg
/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_19_3624.jpg
/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_21_2573.jpg
/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_24_2622.jpg
/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_27_3629.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.6091265678405762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:21:02.984352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_12_3665.jpg', '/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_15_2549.jpg', '/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_19_3624.jpg', '/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_21_2573.jpg', '/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_24_2622.jpg', '/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_27_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_12_3665.jpg
/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_15_2549.jpg
/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_19_3624.jpg
/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_21_2573.jpg
/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_24_2622.jpg
/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_27_3629.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":["1396188443","1396188445","1396188439","1396188447","1396188441","1396188450"],"photo_ids_order":["1396188439","1396188441","1396188443","1396188445","1396188447","1396188450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bb68106a5db42d4d623442f95f8a11a4.jpg","text":"TemporaryFile(/tmp/multipartBody7124198935017548176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120123758,"filename":"image_26112025_01_04_19_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/26/a5e6ca2630518cb04fe3e922a0e1ce64.jpg","text":"TemporaryFile(/tmp/multipartBody3136627507228644021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120123758,"filename":"image_26112025_01_04_21_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/26/897b08096bd966e21b7c481f8280222e.jpg","text":"TemporaryFile(/tmp/multipartBody1637197083259178070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120123758,"filename":"image_26112025_01_04_12_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/26/65e93062ed5033bfcd884479a557cce8.jpg","text":"TemporaryFile(/tmp/multipartBody3467510232950653057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120123758,"filename":"image_26112025_01_04_24_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/26/2c50a738911524c533f5e8aa7ffb1d8d.jpg","text":"TemporaryFile(/tmp/multipartBody5180608489708380722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120123758,"filename":"image_26112025_01_04_15_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/26/16fc6524fe0c365e3bd8e4268ba04456.jpg","text":"TemporaryFile(/tmp/multipartBody3560532496037908987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120123758,"filename":"image_26112025_01_04_27_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188443","file1":"1396188441","file0":"1396188439","file4":"1396188447","file5":"1396188450","file3":"1396188445"},"map_files_photo_id_array":[{"photo_id":"1396188450","filename":"file5"},{"photo_id":"1396188443","filename":"file2"},{"photo_id":"1396188447","filename":"file4"},{"photo_id":"1396188441","filename":"file1"},{"photo_id":"1396188439","filename":"file0"},{"photo_id":"1396188445","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188443":["hashtag1","hashtag2"]},{"1396188445":["hashtag1","hashtag2"]},{"1396188439":["hashtag1","hashtag2"]},{"1396188447":["hashtag1","hashtag2"]},{"1396188441":["hashtag1","hashtag2"]},{"1396188450":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188443, 1396188445, 1396188439, 1396188447, 1396188441, 1396188450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71862077713013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 02:21:42.234576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_30_2793.jpg', '/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_33_2615.jpg', '/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_36_3524.jpg', '/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_39_2488.jpg', '/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_42_3642.jpg', '/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_45_2509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_30_2793.jpg
/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_33_2615.jpg
/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_36_3524.jpg
/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_39_2488.jpg
/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_42_3642.jpg
/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_45_2509.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":["1396188460","1396188462","1396188456","1396188459","1396188458","1396188461"],"photo_ids_order":["1396188456","1396188458","1396188459","1396188460","1396188461","1396188462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dbcfacb90c69a2b633c4f91ab8a5b037.jpg","text":"TemporaryFile(/tmp/multipartBody1209672147559350468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120162909,"filename":"image_26112025_01_04_39_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/26/e4f5a51f701c9f97b272144797a07000.jpg","text":"TemporaryFile(/tmp/multipartBody4134767407711578858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120162909,"filename":"image_26112025_01_04_45_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/26/997adadb69b963eaf98362df7ff5df53.jpg","text":"TemporaryFile(/tmp/multipartBody1477190183394822401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120162909,"filename":"image_26112025_01_04_30_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/26/a45a3129f2ed96692f6281aa1b1bd708.jpg","text":"TemporaryFile(/tmp/multipartBody6889655681557920355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120162909,"filename":"image_26112025_01_04_36_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/26/6687f3833ddedd2bdba3b64374fcf2f4.jpg","text":"TemporaryFile(/tmp/multipartBody3824932939207113185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120162909,"filename":"image_26112025_01_04_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/26/10f68242a96b67df4d695c2f7c2f4abb.jpg","text":"TemporaryFile(/tmp/multipartBody4012122154820684726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120162909,"filename":"image_26112025_01_04_42_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188459","file1":"1396188458","file0":"1396188456","file4":"1396188461","file5":"1396188462","file3":"1396188460"},"map_files_photo_id_array":[{"photo_id":"1396188462","filename":"file5"},{"photo_id":"1396188459","filename":"file2"},{"photo_id":"1396188461","filename":"file4"},{"photo_id":"1396188458","filename":"file1"},{"photo_id":"1396188456","filename":"file0"},{"photo_id":"1396188460","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188460":["hashtag1","hashtag2"]},{"1396188462":["hashtag1","hashtag2"]},{"1396188456":["hashtag1","hashtag2"]},{"1396188459":["hashtag1","hashtag2"]},{"1396188458":["hashtag1","hashtag2"]},{"1396188461":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188460, 1396188462, 1396188456, 1396188459, 1396188458, 1396188461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.532737255096436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 02:22:22.386825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_48_2670.jpg', '/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_51_3589.jpg', '/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_54_2572.jpg', '/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_57_3627.jpg', '/home/pi/Desktop/images/26112025/01/04/image_26112025_01_05_00_2645.jpg', '/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_03_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_48_2670.jpg
/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_51_3589.jpg
/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_54_2572.jpg
/home/pi/Desktop/images/26112025/01/04/image_26112025_01_04_57_3627.jpg
/home/pi/Desktop/images/26112025/01/04/image_26112025_01_05_00_2645.jpg
/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_03_2645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396188469","1396188484","1396188471","1396188482","1396188485","1396188473"],"photo_ids_order":["1396188469","1396188471","1396188473","1396188482","1396188484","1396188485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dfbef18c41ac4d603fe7bdbceffe9c7d.jpg","text":"TemporaryFile(/tmp/multipartBody3444663316197157694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120208508,"filename":"image_26112025_01_04_48_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/26/d3f7f394c246b88418847a260a1646a3.jpg","text":"TemporaryFile(/tmp/multipartBody85237598357057072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120208508,"filename":"image_26112025_01_05_00_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4b0990f524d1a87cba44bd3ac54706d7.jpg","text":"TemporaryFile(/tmp/multipartBody8942456227477806282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120208508,"filename":"image_26112025_01_04_51_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f2e03876d8e7f52eedfe4c621209468f.jpg","text":"TemporaryFile(/tmp/multipartBody4010075979102506724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120208508,"filename":"image_26112025_01_04_57_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/26/472769bf5c798daab65c736514746b1e.jpg","text":"TemporaryFile(/tmp/multipartBody2083806232755773325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120208508,"filename":"image_26112025_01_05_03_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/26/3230cce7bb082b5f9d623428b4ba5bce.jpg","text":"TemporaryFile(/tmp/multipartBody9032546041661183953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120208508,"filename":"image_26112025_01_04_54_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188473","file1":"1396188471","file0":"1396188469","file4":"1396188484","file5":"1396188485","file3":"1396188482"},"map_files_photo_id_array":[{"photo_id":"1396188485","filename":"file5"},{"photo_id":"1396188473","filename":"file2"},{"photo_id":"1396188484","filename":"file4"},{"photo_id":"1396188471","filename":"file1"},{"photo_id":"1396188469","filename":"file0"},{"photo_id":"1396188482","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188469":["hashtag1","hashtag2"]},{"1396188484":["hashtag1","hashtag2"]},{"1396188471":["hashtag1","hashtag2"]},{"1396188482":["hashtag1","hashtag2"]},{"1396188485":["hashtag1","hashtag2"]},{"1396188473":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188469, 1396188484, 1396188471, 1396188482, 1396188485, 1396188473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54070162773132 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-26 02:23:12.512449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_06_3632.jpg', '/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_09_2592.jpg', '/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_12_3575.jpg', '/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_15_2600.jpg', '/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_24_2773.jpg', '/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_27_3529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_06_3632.jpg
/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_09_2592.jpg
/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_12_3575.jpg
/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_15_2600.jpg
/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_24_2773.jpg
/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_27_3529.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":["1396188506","1396188514","1396188508","1396188510","1396188504","1396188512"],"photo_ids_order":["1396188504","1396188506","1396188508","1396188510","1396188512","1396188514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6e2c0367aaacf9ad3cce6a9db2e2e3c0.jpg","text":"TemporaryFile(/tmp/multipartBody2236178789424153425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120253181,"filename":"image_26112025_01_05_09_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/26/7c6f4fea6ed77fb7c91a82c88bd7806a.jpg","text":"TemporaryFile(/tmp/multipartBody8215974151682031975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120253181,"filename":"image_26112025_01_05_27_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/26/843cc9a1247e8531e750a66c644b5a52.jpg","text":"TemporaryFile(/tmp/multipartBody9111016161876198300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120253181,"filename":"image_26112025_01_05_12_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/26/b3f2e5156127a7cbb248d9346575d0c8.jpg","text":"TemporaryFile(/tmp/multipartBody5238421444779090568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120253181,"filename":"image_26112025_01_05_15_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/26/dc00448096f0a98789240ee870f7e662.jpg","text":"TemporaryFile(/tmp/multipartBody6939823655862243795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120253181,"filename":"image_26112025_01_05_06_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/26/1174d563ca8c87e6bf2b951f558e8fbe.jpg","text":"TemporaryFile(/tmp/multipartBody2424770442755642119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120253181,"filename":"image_26112025_01_05_24_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188508","file1":"1396188506","file0":"1396188504","file4":"1396188512","file5":"1396188514","file3":"1396188510"},"map_files_photo_id_array":[{"photo_id":"1396188514","filename":"file5"},{"photo_id":"1396188508","filename":"file2"},{"photo_id":"1396188512","filename":"file4"},{"photo_id":"1396188506","filename":"file1"},{"photo_id":"1396188504","filename":"file0"},{"photo_id":"1396188510","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188506":["hashtag1","hashtag2"]},{"1396188514":["hashtag1","hashtag2"]},{"1396188508":["hashtag1","hashtag2"]},{"1396188510":["hashtag1","hashtag2"]},{"1396188504":["hashtag1","hashtag2"]},{"1396188512":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188506, 1396188514, 1396188508, 1396188510, 1396188504, 1396188512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45058512687683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:24:03.547232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_30_2688.jpg', '/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_36_3612.jpg', '/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_39_2670.jpg', '/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_42_2750.jpg', '/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_44_2691.jpg', '/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_48_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_30_2688.jpg
/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_36_3612.jpg
/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_39_2670.jpg
/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_42_2750.jpg
/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_44_2691.jpg
/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_48_3592.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.7019028663635254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 02:24:12.777665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_30_2688.jpg', '/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_36_3612.jpg', '/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_39_2670.jpg', '/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_42_2750.jpg', '/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_44_2691.jpg', '/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_48_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_30_2688.jpg
/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_36_3612.jpg
/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_39_2670.jpg
/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_42_2750.jpg
/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_44_2691.jpg
/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_48_3592.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":["1396188523","1396188540","1396188543","1396188531","1396188525","1396188545"],"photo_ids_order":["1396188523","1396188525","1396188531","1396188540","1396188543","1396188545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8dd05fe2f0e69e03648a75f592507dee.jpg","text":"TemporaryFile(/tmp/multipartBody5893594912089600235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120313412,"filename":"image_26112025_01_05_30_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/26/25ac85b830b4d14ecf1d85ae4001714e.jpg","text":"TemporaryFile(/tmp/multipartBody444594509133941031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120313412,"filename":"image_26112025_01_05_42_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/26/8f81a18c974f3871a7f757fce2115de7.jpg","text":"TemporaryFile(/tmp/multipartBody8661109109358781741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120313412,"filename":"image_26112025_01_05_44_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/26/e80112828ef063a208af26bb459dca03.jpg","text":"TemporaryFile(/tmp/multipartBody719058686557576186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120313412,"filename":"image_26112025_01_05_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/26/493b96f8e66178ad43135e5bc41ab115.jpg","text":"TemporaryFile(/tmp/multipartBody8588251840577357821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120313412,"filename":"image_26112025_01_05_36_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/26/023ec3fef536bd01f9ce6f97cd3306f7.jpg","text":"TemporaryFile(/tmp/multipartBody8454714097520174856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120313412,"filename":"image_26112025_01_05_48_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188531","file1":"1396188525","file0":"1396188523","file4":"1396188543","file5":"1396188545","file3":"1396188540"},"map_files_photo_id_array":[{"photo_id":"1396188545","filename":"file5"},{"photo_id":"1396188531","filename":"file2"},{"photo_id":"1396188543","filename":"file4"},{"photo_id":"1396188525","filename":"file1"},{"photo_id":"1396188523","filename":"file0"},{"photo_id":"1396188540","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188523":["hashtag1","hashtag2"]},{"1396188540":["hashtag1","hashtag2"]},{"1396188543":["hashtag1","hashtag2"]},{"1396188531":["hashtag1","hashtag2"]},{"1396188525":["hashtag1","hashtag2"]},{"1396188545":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188523, 1396188540, 1396188543, 1396188531, 1396188525, 1396188545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73765993118286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:25:02.605281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_51_2781.jpg', '/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_53_2627.jpg', '/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_57_3578.jpg', '/home/pi/Desktop/images/26112025/01/05/image_26112025_01_06_00_2657.jpg', '/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_06_2579.jpg', '/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_09_2884.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_51_2781.jpg
/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_53_2627.jpg
/home/pi/Desktop/images/26112025/01/05/image_26112025_01_05_57_3578.jpg
/home/pi/Desktop/images/26112025/01/05/image_26112025_01_06_00_2657.jpg
/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_06_2579.jpg
/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_09_2884.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":["1396188580","1396188574","1396188583","1396188576","1396188578","1396188572"],"photo_ids_order":["1396188572","1396188574","1396188576","1396188578","1396188580","1396188583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eb78140d1930f51c5e310bc79e8f35d1.jpg","text":"TemporaryFile(/tmp/multipartBody1624881739165588540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120363391,"filename":"image_26112025_01_06_06_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/26/bdae787042f175cb804776b25a48498b.jpg","text":"TemporaryFile(/tmp/multipartBody2960786613116557722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120363391,"filename":"image_26112025_01_05_53_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/26/f8790527250ab07a942faaf9593e380f.jpg","text":"TemporaryFile(/tmp/multipartBody157875338493212461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120363391,"filename":"image_26112025_01_06_09_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/26/955a6fe90c6ce717c97e0add43470d9e.jpg","text":"TemporaryFile(/tmp/multipartBody4103020649424280373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120363391,"filename":"image_26112025_01_05_57_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/26/151bea86ceec1c311ad8d322b1301439.jpg","text":"TemporaryFile(/tmp/multipartBody723164676967368743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120363391,"filename":"image_26112025_01_06_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/26/2f796b7beb41ccc7381f6dae98f1e523.jpg","text":"TemporaryFile(/tmp/multipartBody2122670388852185452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120363391,"filename":"image_26112025_01_05_51_2781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188576","file1":"1396188574","file0":"1396188572","file4":"1396188580","file5":"1396188583","file3":"1396188578"},"map_files_photo_id_array":[{"photo_id":"1396188583","filename":"file5"},{"photo_id":"1396188576","filename":"file2"},{"photo_id":"1396188580","filename":"file4"},{"photo_id":"1396188574","filename":"file1"},{"photo_id":"1396188572","filename":"file0"},{"photo_id":"1396188578","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188580":["hashtag1","hashtag2"]},{"1396188574":["hashtag1","hashtag2"]},{"1396188583":["hashtag1","hashtag2"]},{"1396188576":["hashtag1","hashtag2"]},{"1396188578":["hashtag1","hashtag2"]},{"1396188572":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188580, 1396188574, 1396188583, 1396188576, 1396188578, 1396188572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67682766914368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 02:25:42.001338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_12_3567.jpg', '/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_15_2622.jpg', '/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_18_2692.jpg', '/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_21_3638.jpg', '/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_24_2588.jpg', '/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_30_3760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_12_3567.jpg
/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_15_2622.jpg
/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_18_2692.jpg
/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_21_3638.jpg
/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_24_2588.jpg
/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_30_3760.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":["1396188592","1396188595","1396188589","1396188591","1396188594","1396188593"],"photo_ids_order":["1396188589","1396188591","1396188592","1396188593","1396188594","1396188595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7616436f9ef5dfcc2fbe0ca45e6e1fb0.jpg","text":"TemporaryFile(/tmp/multipartBody8659344953354363224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120402737,"filename":"image_26112025_01_06_18_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/26/0306b68a87962865ddf92402e4572d60.jpg","text":"TemporaryFile(/tmp/multipartBody702930510319982247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120402737,"filename":"image_26112025_01_06_30_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/26/d8fd1b7766d2ccd2386aee7098722e45.jpg","text":"TemporaryFile(/tmp/multipartBody6934597423677041264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120402737,"filename":"image_26112025_01_06_12_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/26/fcf902efacddcb2fe5ded53e362ed25e.jpg","text":"TemporaryFile(/tmp/multipartBody8554237651694425337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120402737,"filename":"image_26112025_01_06_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/26/3170c1a86ca739fefb93e620a8a0f3cb.jpg","text":"TemporaryFile(/tmp/multipartBody8712754416806772885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120402737,"filename":"image_26112025_01_06_24_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/26/9bd2c0e3cdf6c65e2fa4e76e30d17b17.jpg","text":"TemporaryFile(/tmp/multipartBody8197873521928308431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120402737,"filename":"image_26112025_01_06_21_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188592","file1":"1396188591","file0":"1396188589","file4":"1396188594","file5":"1396188595","file3":"1396188593"},"map_files_photo_id_array":[{"photo_id":"1396188595","filename":"file5"},{"photo_id":"1396188592","filename":"file2"},{"photo_id":"1396188594","filename":"file4"},{"photo_id":"1396188591","filename":"file1"},{"photo_id":"1396188589","filename":"file0"},{"photo_id":"1396188593","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188592":["hashtag1","hashtag2"]},{"1396188595":["hashtag1","hashtag2"]},{"1396188589":["hashtag1","hashtag2"]},{"1396188591":["hashtag1","hashtag2"]},{"1396188594":["hashtag1","hashtag2"]},{"1396188593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188592, 1396188595, 1396188589, 1396188591, 1396188594, 1396188593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.664000272750854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 02:26:24.253757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_33_2605.jpg', '/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_35_2566.jpg', '/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_39_3600.jpg', '/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_42_2657.jpg', '/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_44_2711.jpg', '/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_48_3690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_33_2605.jpg
/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_35_2566.jpg
/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_39_3600.jpg
/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_42_2657.jpg
/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_44_2711.jpg
/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_48_3690.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":["1396188608","1396188602","1396188610","1396188604","1396188600","1396188606"],"photo_ids_order":["1396188600","1396188602","1396188604","1396188606","1396188608","1396188610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4e271c485484d079af104fc67309c068.jpg","text":"TemporaryFile(/tmp/multipartBody1731162694121597859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120444950,"filename":"image_26112025_01_06_44_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/26/0a8bd433779dd7a1ce0363a1177540a9.jpg","text":"TemporaryFile(/tmp/multipartBody1317341481857757789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120444950,"filename":"image_26112025_01_06_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/26/1defc0e67dc0768b951dc0c0e962c7d2.jpg","text":"TemporaryFile(/tmp/multipartBody708894120520991826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120444950,"filename":"image_26112025_01_06_48_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/26/bc5d1a468d961b47ba07dc6ba22d3ceb.jpg","text":"TemporaryFile(/tmp/multipartBody1615214204770328405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120444950,"filename":"image_26112025_01_06_39_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/26/2cb57c9f7ece74c83b2589a67420b8c6.jpg","text":"TemporaryFile(/tmp/multipartBody6290405726617287631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120444950,"filename":"image_26112025_01_06_33_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/26/4a8cdb52ce250fcf87552f8e1057dcca.jpg","text":"TemporaryFile(/tmp/multipartBody2743609204984466030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120444950,"filename":"image_26112025_01_06_42_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188604","file1":"1396188602","file0":"1396188600","file4":"1396188608","file5":"1396188610","file3":"1396188606"},"map_files_photo_id_array":[{"photo_id":"1396188610","filename":"file5"},{"photo_id":"1396188604","filename":"file2"},{"photo_id":"1396188608","filename":"file4"},{"photo_id":"1396188602","filename":"file1"},{"photo_id":"1396188600","filename":"file0"},{"photo_id":"1396188606","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188608":["hashtag1","hashtag2"]},{"1396188602":["hashtag1","hashtag2"]},{"1396188610":["hashtag1","hashtag2"]},{"1396188604":["hashtag1","hashtag2"]},{"1396188600":["hashtag1","hashtag2"]},{"1396188606":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188608, 1396188602, 1396188610, 1396188604, 1396188600, 1396188606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.345969438552856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:27:03.096575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_51_2901.jpg', '/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_54_2849.jpg', '/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_56_2569.jpg', '/home/pi/Desktop/images/26112025/01/06/image_26112025_01_07_00_3664.jpg', '/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_03_2591.jpg', '/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_06_3626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_51_2901.jpg
/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_54_2849.jpg
/home/pi/Desktop/images/26112025/01/06/image_26112025_01_06_56_2569.jpg
/home/pi/Desktop/images/26112025/01/06/image_26112025_01_07_00_3664.jpg
/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_03_2591.jpg
/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_06_3626.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":["1396188635","1396188629","1396188617","1396188640","1396188637","1396188633"],"photo_ids_order":["1396188617","1396188629","1396188633","1396188635","1396188637","1396188640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/83cd02e72e6abce2de267208f1a8d0b6.jpg","text":"TemporaryFile(/tmp/multipartBody4052048138713268039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120483915,"filename":"image_26112025_01_07_00_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/26/598bed51baec362377fbad5b37f301fc.jpg","text":"TemporaryFile(/tmp/multipartBody856837610516655563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120483915,"filename":"image_26112025_01_06_54_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/26/0a725426745d8e9d4c636015df707483.jpg","text":"TemporaryFile(/tmp/multipartBody2116113663565403701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120483915,"filename":"image_26112025_01_06_51_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/26/afc8687d0b35f0aaa93674e691f83d4f.jpg","text":"TemporaryFile(/tmp/multipartBody5139474242469495870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120483915,"filename":"image_26112025_01_07_06_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/26/4b96f3ad638716db9732f703bfa26383.jpg","text":"TemporaryFile(/tmp/multipartBody5017084504347590686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120483915,"filename":"image_26112025_01_07_03_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/26/cae5148e81e033dbacf4b7809e2aeb94.jpg","text":"TemporaryFile(/tmp/multipartBody688267716505103269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120483915,"filename":"image_26112025_01_06_56_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188633","file1":"1396188629","file0":"1396188617","file4":"1396188637","file5":"1396188640","file3":"1396188635"},"map_files_photo_id_array":[{"photo_id":"1396188640","filename":"file5"},{"photo_id":"1396188633","filename":"file2"},{"photo_id":"1396188637","filename":"file4"},{"photo_id":"1396188629","filename":"file1"},{"photo_id":"1396188617","filename":"file0"},{"photo_id":"1396188635","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188635":["hashtag1","hashtag2"]},{"1396188629":["hashtag1","hashtag2"]},{"1396188617":["hashtag1","hashtag2"]},{"1396188640":["hashtag1","hashtag2"]},{"1396188637":["hashtag1","hashtag2"]},{"1396188633":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188635, 1396188629, 1396188617, 1396188640, 1396188637, 1396188633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04822540283203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 02:27:42.549121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_09_2610.jpg', '/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_12_2676.jpg', '/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_14_2745.jpg', '/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_24_3603.jpg', '/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_27_2835.jpg', '/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_30_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_09_2610.jpg
/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_12_2676.jpg
/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_14_2745.jpg
/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_24_3603.jpg
/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_27_2835.jpg
/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_30_2632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396188652","1396188649","1396188646","1396188651","1396188648","1396188650"],"photo_ids_order":["1396188646","1396188648","1396188649","1396188650","1396188651","1396188652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ada1ed09f89ce485ee977efd6072fe5e.jpg","text":"TemporaryFile(/tmp/multipartBody8960286972156235330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120523262,"filename":"image_26112025_01_07_30_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/26/580236282d15eeb37821a36301d6d8e5.jpg","text":"TemporaryFile(/tmp/multipartBody3715752581748213180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120523262,"filename":"image_26112025_01_07_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/26/1e7826290193feb0dc95afebaae1d17e.jpg","text":"TemporaryFile(/tmp/multipartBody137964495048944161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120523262,"filename":"image_26112025_01_07_09_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/26/8c3d2c03b8c4a0fa76ca19480c240efe.jpg","text":"TemporaryFile(/tmp/multipartBody947796929901651223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120523262,"filename":"image_26112025_01_07_27_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/26/445783c7d51a70431c7ffb27e5a5fbe1.jpg","text":"TemporaryFile(/tmp/multipartBody4439766207222167996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120523262,"filename":"image_26112025_01_07_12_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/26/50676a5f6303d79114bfd01656bbbfcf.jpg","text":"TemporaryFile(/tmp/multipartBody6405367511336402911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120523262,"filename":"image_26112025_01_07_24_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188649","file1":"1396188648","file0":"1396188646","file4":"1396188651","file5":"1396188652","file3":"1396188650"},"map_files_photo_id_array":[{"photo_id":"1396188652","filename":"file5"},{"photo_id":"1396188649","filename":"file2"},{"photo_id":"1396188651","filename":"file4"},{"photo_id":"1396188648","filename":"file1"},{"photo_id":"1396188646","filename":"file0"},{"photo_id":"1396188650","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188652":["hashtag1","hashtag2"]},{"1396188649":["hashtag1","hashtag2"]},{"1396188646":["hashtag1","hashtag2"]},{"1396188651":["hashtag1","hashtag2"]},{"1396188648":["hashtag1","hashtag2"]},{"1396188650":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188652, 1396188649, 1396188646, 1396188651, 1396188648, 1396188650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94488453865051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 02:28:22.622018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_36_3581.jpg', '/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_39_2683.jpg', '/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_42_3499.jpg', '/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_45_2576.jpg', '/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_48_2870.jpg', '/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_50_2821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_36_3581.jpg
/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_39_2683.jpg
/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_42_3499.jpg
/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_45_2576.jpg
/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_48_2870.jpg
/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_50_2821.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":["1396188670","1396188667","1396188678","1396188663","1396188660","1396188668"],"photo_ids_order":["1396188660","1396188663","1396188667","1396188668","1396188670","1396188678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eb90a4fe9a20935b17a651e0747ea2de.jpg","text":"TemporaryFile(/tmp/multipartBody6859323137386512735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120563402,"filename":"image_26112025_01_07_48_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/26/9cedb4c04dbdfadd092ae5762ebd10d4.jpg","text":"TemporaryFile(/tmp/multipartBody8985276074120263224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120563402,"filename":"image_26112025_01_07_42_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/26/52a24c052bca9b007110321709bf5505.jpg","text":"TemporaryFile(/tmp/multipartBody6116413995048048973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120563402,"filename":"image_26112025_01_07_50_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/26/4b211de730fc562ff58e3d95086b9ef8.jpg","text":"TemporaryFile(/tmp/multipartBody3956318592368310433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120563402,"filename":"image_26112025_01_07_39_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/943a9c4496e6743d8b0be57ae9cde310.jpg","text":"TemporaryFile(/tmp/multipartBody7871536680302898840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120563402,"filename":"image_26112025_01_07_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/26/b1b5b203b18eb17decbef6be2b357fd5.jpg","text":"TemporaryFile(/tmp/multipartBody7010750201552490701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120563402,"filename":"image_26112025_01_07_45_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188667","file1":"1396188663","file0":"1396188660","file4":"1396188670","file5":"1396188678","file3":"1396188668"},"map_files_photo_id_array":[{"photo_id":"1396188678","filename":"file5"},{"photo_id":"1396188667","filename":"file2"},{"photo_id":"1396188670","filename":"file4"},{"photo_id":"1396188663","filename":"file1"},{"photo_id":"1396188660","filename":"file0"},{"photo_id":"1396188668","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188670":["hashtag1","hashtag2"]},{"1396188667":["hashtag1","hashtag2"]},{"1396188678":["hashtag1","hashtag2"]},{"1396188663":["hashtag1","hashtag2"]},{"1396188660":["hashtag1","hashtag2"]},{"1396188668":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188670, 1396188667, 1396188678, 1396188663, 1396188660, 1396188668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71674942970276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:29:02.716389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_54_3690.jpg', '/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_57_2619.jpg', '/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_59_2702.jpg', '/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_03_3531.jpg', '/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_06_2657.jpg', '/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_08_2815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_54_3690.jpg
/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_57_2619.jpg
/home/pi/Desktop/images/26112025/01/07/image_26112025_01_07_59_2702.jpg
/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_03_3531.jpg
/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_06_2657.jpg
/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_08_2815.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":["1396188701","1396188696","1396188699","1396188705","1396188695","1396188698"],"photo_ids_order":["1396188695","1396188696","1396188698","1396188699","1396188701","1396188705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3ffb8ab0391547e6e2d6ecc1eb4e6d8f.jpg","text":"TemporaryFile(/tmp/multipartBody2549865126437234006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120603744,"filename":"image_26112025_01_08_06_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/26/61151f4f698036cf48cb03fa58e7643d.jpg","text":"TemporaryFile(/tmp/multipartBody7091067892531881545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120603744,"filename":"image_26112025_01_07_57_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/26/fdd72caf28088876fb73eb56f6e69ef8.jpg","text":"TemporaryFile(/tmp/multipartBody22093440698057694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120603744,"filename":"image_26112025_01_08_03_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/26/ac0a0f8f854813cba3f884e8e7e2611a.jpg","text":"TemporaryFile(/tmp/multipartBody3684566361478611424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120603744,"filename":"image_26112025_01_08_08_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/26/b397ef621776e984bd1a661d9d9008df.jpg","text":"TemporaryFile(/tmp/multipartBody427613997420730434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120603744,"filename":"image_26112025_01_07_54_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/26/f7670877a54d78534340b624b97d1804.jpg","text":"TemporaryFile(/tmp/multipartBody4141231327038800325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120603744,"filename":"image_26112025_01_07_59_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188698","file1":"1396188696","file0":"1396188695","file4":"1396188701","file5":"1396188705","file3":"1396188699"},"map_files_photo_id_array":[{"photo_id":"1396188705","filename":"file5"},{"photo_id":"1396188698","filename":"file2"},{"photo_id":"1396188701","filename":"file4"},{"photo_id":"1396188696","filename":"file1"},{"photo_id":"1396188695","filename":"file0"},{"photo_id":"1396188699","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188701":["hashtag1","hashtag2"]},{"1396188696":["hashtag1","hashtag2"]},{"1396188699":["hashtag1","hashtag2"]},{"1396188705":["hashtag1","hashtag2"]},{"1396188695":["hashtag1","hashtag2"]},{"1396188698":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188701, 1396188696, 1396188699, 1396188705, 1396188695, 1396188698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60662221908569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 02:29:41.915641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_12_3601.jpg', '/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_15_2742.jpg', '/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_17_2635.jpg', '/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_21_3693.jpg', '/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_24_2562.jpg', '/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_26_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_12_3601.jpg
/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_15_2742.jpg
/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_17_2635.jpg
/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_21_3693.jpg
/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_24_2562.jpg
/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_26_2617.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":["1396188722","1396188716","1396188721","1396188714","1396188717","1396188719"],"photo_ids_order":["1396188714","1396188716","1396188717","1396188719","1396188721","1396188722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a4283d306b1d59e5cc26fc05474690af.jpg","text":"TemporaryFile(/tmp/multipartBody6102030838427229729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120642626,"filename":"image_26112025_01_08_26_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/26/7f376bcf01734fec0285658740f77452.jpg","text":"TemporaryFile(/tmp/multipartBody5677514054295834358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120642626,"filename":"image_26112025_01_08_15_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/26/a9ef664e044d8ec0852b33c2cd01ae99.jpg","text":"TemporaryFile(/tmp/multipartBody6629933783168412816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120642626,"filename":"image_26112025_01_08_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/26/63f8a53cfc796e7a3b675f90cd5f0305.jpg","text":"TemporaryFile(/tmp/multipartBody4632427694964748858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120642626,"filename":"image_26112025_01_08_12_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/26/f691dcbd3847e1aaf75375e3d08b7cca.jpg","text":"TemporaryFile(/tmp/multipartBody4994681559667941915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120642626,"filename":"image_26112025_01_08_17_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/26/dce9aaf5b148a6c2a565307d1283aa9d.jpg","text":"TemporaryFile(/tmp/multipartBody5453497213849901162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120642626,"filename":"image_26112025_01_08_21_3693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188717","file1":"1396188716","file0":"1396188714","file4":"1396188721","file5":"1396188722","file3":"1396188719"},"map_files_photo_id_array":[{"photo_id":"1396188722","filename":"file5"},{"photo_id":"1396188717","filename":"file2"},{"photo_id":"1396188721","filename":"file4"},{"photo_id":"1396188716","filename":"file1"},{"photo_id":"1396188714","filename":"file0"},{"photo_id":"1396188719","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188722":["hashtag1","hashtag2"]},{"1396188716":["hashtag1","hashtag2"]},{"1396188721":["hashtag1","hashtag2"]},{"1396188714":["hashtag1","hashtag2"]},{"1396188717":["hashtag1","hashtag2"]},{"1396188719":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188722, 1396188716, 1396188721, 1396188714, 1396188717, 1396188719)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 62.567859172821045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:31:02.976509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_29_2968.jpg', '/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_33_3712.jpg', '/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_36_2599.jpg', '/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_38_2919.jpg', '/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_42_3612.jpg', '/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_45_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_29_2968.jpg
/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_33_3712.jpg
/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_36_2599.jpg
/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_38_2919.jpg
/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_42_3612.jpg
/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_45_2568.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":["1396188754","1396188757","1396188759","1396188756","1396188749","1396188752"],"photo_ids_order":["1396188749","1396188752","1396188754","1396188756","1396188757","1396188759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/32900b54daff60ed3841ba6e5cb3d21c.jpg","text":"TemporaryFile(/tmp/multipartBody5699349107336424083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120723834,"filename":"image_26112025_01_08_36_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/26/d38abf8c47e2ce35f59ca74dd792e256.jpg","text":"TemporaryFile(/tmp/multipartBody1557642894200660653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120723834,"filename":"image_26112025_01_08_42_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/26/161a0de91aa3aff0f9db83c649770ede.jpg","text":"TemporaryFile(/tmp/multipartBody5158386332247056616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120723834,"filename":"image_26112025_01_08_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/26/290f5be2adffb2a38e617d74297c73b2.jpg","text":"TemporaryFile(/tmp/multipartBody7082173024323761386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120723834,"filename":"image_26112025_01_08_38_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/26/96ddd726a91dc6f9449515153f6ba665.jpg","text":"TemporaryFile(/tmp/multipartBody125679141954701112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120723834,"filename":"image_26112025_01_08_29_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/26/617581272a30f75a3ed16f006668e32d.jpg","text":"TemporaryFile(/tmp/multipartBody6612562535673945402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120723834,"filename":"image_26112025_01_08_33_3712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188754","file1":"1396188752","file0":"1396188749","file4":"1396188757","file5":"1396188759","file3":"1396188756"},"map_files_photo_id_array":[{"photo_id":"1396188759","filename":"file5"},{"photo_id":"1396188754","filename":"file2"},{"photo_id":"1396188757","filename":"file4"},{"photo_id":"1396188752","filename":"file1"},{"photo_id":"1396188749","filename":"file0"},{"photo_id":"1396188756","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188754":["hashtag1","hashtag2"]},{"1396188757":["hashtag1","hashtag2"]},{"1396188759":["hashtag1","hashtag2"]},{"1396188756":["hashtag1","hashtag2"]},{"1396188749":["hashtag1","hashtag2"]},{"1396188752":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188754, 1396188757, 1396188759, 1396188756, 1396188749, 1396188752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13229155540466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 02:31:42.328231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_47_2598.jpg', '/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_51_3525.jpg', '/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_53_2540.jpg', '/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_57_3645.jpg', '/home/pi/Desktop/images/26112025/01/08/image_26112025_01_09_00_2733.jpg', '/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_03_2933.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_47_2598.jpg
/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_51_3525.jpg
/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_53_2540.jpg
/home/pi/Desktop/images/26112025/01/08/image_26112025_01_08_57_3645.jpg
/home/pi/Desktop/images/26112025/01/08/image_26112025_01_09_00_2733.jpg
/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_03_2933.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":["1396188766","1396188769","1396188765","1396188768","1396188767","1396188764"],"photo_ids_order":["1396188764","1396188765","1396188766","1396188767","1396188768","1396188769"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/37780fd469e2e4519ee91099dfa2e80a.jpg","text":"TemporaryFile(/tmp/multipartBody178792078249731573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120763033,"filename":"image_26112025_01_08_53_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/26/13303e063f80efcc30995957e6e8397c.jpg","text":"TemporaryFile(/tmp/multipartBody1712933856610990783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120763033,"filename":"image_26112025_01_09_03_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/26/b332cee79efae01033215958c15f41dd.jpg","text":"TemporaryFile(/tmp/multipartBody7221920317063608223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120763033,"filename":"image_26112025_01_08_51_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/26/856038d0e07624edb3333d77b7a061a6.jpg","text":"TemporaryFile(/tmp/multipartBody3824777268396281493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120763033,"filename":"image_26112025_01_09_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/26/af97433a278c87768b75f99c9a80c12a.jpg","text":"TemporaryFile(/tmp/multipartBody1848582060101852303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120763033,"filename":"image_26112025_01_08_57_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/26/7acd67ebc799bf0d2827bbb2ef75eebe.jpg","text":"TemporaryFile(/tmp/multipartBody6267070887745846541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120763033,"filename":"image_26112025_01_08_47_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188766","file1":"1396188765","file0":"1396188764","file4":"1396188768","file5":"1396188769","file3":"1396188767"},"map_files_photo_id_array":[{"photo_id":"1396188769","filename":"file5"},{"photo_id":"1396188766","filename":"file2"},{"photo_id":"1396188768","filename":"file4"},{"photo_id":"1396188765","filename":"file1"},{"photo_id":"1396188764","filename":"file0"},{"photo_id":"1396188767","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188766":["hashtag1","hashtag2"]},{"1396188769":["hashtag1","hashtag2"]},{"1396188765":["hashtag1","hashtag2"]},{"1396188768":["hashtag1","hashtag2"]},{"1396188767":["hashtag1","hashtag2"]},{"1396188764":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188766, 1396188769, 1396188765, 1396188768, 1396188767, 1396188764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70116138458252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 02:32:22.469948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_05_2599.jpg', '/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_12_2939.jpg', '/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_15_2640.jpg', '/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_21_3614.jpg', '/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_24_2697.jpg', '/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_26_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_05_2599.jpg
/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_12_2939.jpg
/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_15_2640.jpg
/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_21_3614.jpg
/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_24_2697.jpg
/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_26_2664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396188784","1396188778","1396188781","1396188775","1396188786","1396188788"],"photo_ids_order":["1396188775","1396188778","1396188781","1396188784","1396188786","1396188788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/72e628aae9668a3487fd4b408754058d.jpg","text":"TemporaryFile(/tmp/multipartBody6375241729563262907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120803172,"filename":"image_26112025_01_09_21_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/26/ede95bc4809093aa3c3c422a93140854.jpg","text":"TemporaryFile(/tmp/multipartBody8021412654687860821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120803172,"filename":"image_26112025_01_09_12_2939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a857f003ab6a3d43b0d88ee42089bead.jpg","text":"TemporaryFile(/tmp/multipartBody6032987720585708174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120803172,"filename":"image_26112025_01_09_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/26/09c761a04514e42c1dc35f72e0d84f36.jpg","text":"TemporaryFile(/tmp/multipartBody6649777299130729455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120803172,"filename":"image_26112025_01_09_05_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/26/48551c007a588af90483823ffe00d9b3.jpg","text":"TemporaryFile(/tmp/multipartBody2240248348208182866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120803172,"filename":"image_26112025_01_09_24_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/26/ca23b056e2fe6e8c79f6ff343c98b0df.jpg","text":"TemporaryFile(/tmp/multipartBody892369391296645545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120803172,"filename":"image_26112025_01_09_26_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188781","file1":"1396188778","file0":"1396188775","file4":"1396188786","file5":"1396188788","file3":"1396188784"},"map_files_photo_id_array":[{"photo_id":"1396188788","filename":"file5"},{"photo_id":"1396188781","filename":"file2"},{"photo_id":"1396188786","filename":"file4"},{"photo_id":"1396188778","filename":"file1"},{"photo_id":"1396188775","filename":"file0"},{"photo_id":"1396188784","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188784":["hashtag1","hashtag2"]},{"1396188778":["hashtag1","hashtag2"]},{"1396188781":["hashtag1","hashtag2"]},{"1396188775":["hashtag1","hashtag2"]},{"1396188786":["hashtag1","hashtag2"]},{"1396188788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188784, 1396188778, 1396188781, 1396188775, 1396188786, 1396188788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53983736038208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:33:03.213258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_30_3627.jpg', '/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_32_2644.jpg', '/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_36_3565.jpg', '/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_39_2589.jpg', '/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_42_2881.jpg', '/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_45_3243.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_30_3627.jpg
/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_32_2644.jpg
/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_36_3565.jpg
/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_39_2589.jpg
/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_42_2881.jpg
/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_45_3243.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":["1396188800","1396188802","1396188805","1396188807","1396188810","1396188803"],"photo_ids_order":["1396188800","1396188802","1396188803","1396188805","1396188807","1396188810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/97893a4fecd5a5dc00a0c40fb514ccf4.jpg","text":"TemporaryFile(/tmp/multipartBody5426405993337418142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120844002,"filename":"image_26112025_01_09_30_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/26/5025668d685c9b9254e98fd3accbef7b.jpg","text":"TemporaryFile(/tmp/multipartBody3141656559734365772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120844002,"filename":"image_26112025_01_09_32_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/26/6a0ad8b62cb9eae67685edc6bff7d590.jpg","text":"TemporaryFile(/tmp/multipartBody4882007606726029334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120844002,"filename":"image_26112025_01_09_39_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/26/06ade9b5eeb30e2953fcf06c560837a1.jpg","text":"TemporaryFile(/tmp/multipartBody3355027628990435398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120844002,"filename":"image_26112025_01_09_42_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/26/31e34a7be144bd815a63c05d7b852124.jpg","text":"TemporaryFile(/tmp/multipartBody7822190818938909761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120844002,"filename":"image_26112025_01_09_45_3243.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a20e684cdd9d435f7baa77c063f8f61c.jpg","text":"TemporaryFile(/tmp/multipartBody5383212650616775060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120844002,"filename":"image_26112025_01_09_36_3565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188803","file1":"1396188802","file0":"1396188800","file4":"1396188807","file5":"1396188810","file3":"1396188805"},"map_files_photo_id_array":[{"photo_id":"1396188810","filename":"file5"},{"photo_id":"1396188803","filename":"file2"},{"photo_id":"1396188807","filename":"file4"},{"photo_id":"1396188802","filename":"file1"},{"photo_id":"1396188800","filename":"file0"},{"photo_id":"1396188805","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188800":["hashtag1","hashtag2"]},{"1396188802":["hashtag1","hashtag2"]},{"1396188805":["hashtag1","hashtag2"]},{"1396188807":["hashtag1","hashtag2"]},{"1396188810":["hashtag1","hashtag2"]},{"1396188803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188800, 1396188802, 1396188805, 1396188807, 1396188810, 1396188803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56398940086365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 02:33:42.631892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_47_2604.jpg', '/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_50_2751.jpg', '/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_54_3624.jpg', '/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_56_2627.jpg', '/home/pi/Desktop/images/26112025/01/09/image_26112025_01_10_00_3648.jpg', '/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_05_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_47_2604.jpg
/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_50_2751.jpg
/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_54_3624.jpg
/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_56_2627.jpg
/home/pi/Desktop/images/26112025/01/09/image_26112025_01_10_00_3648.jpg
/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_05_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.6108455657958984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:34:03.449386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_47_2604.jpg', '/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_50_2751.jpg', '/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_54_3624.jpg', '/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_56_2627.jpg', '/home/pi/Desktop/images/26112025/01/09/image_26112025_01_10_00_3648.jpg', '/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_05_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_47_2604.jpg
/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_50_2751.jpg
/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_54_3624.jpg
/home/pi/Desktop/images/26112025/01/09/image_26112025_01_09_56_2627.jpg
/home/pi/Desktop/images/26112025/01/09/image_26112025_01_10_00_3648.jpg
/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_05_2782.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":["1396188835","1396188829","1396188823","1396188825","1396188821","1396188839"],"photo_ids_order":["1396188821","1396188823","1396188825","1396188829","1396188835","1396188839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e4ab1fce6c63d72997e213450e77db87.jpg","text":"TemporaryFile(/tmp/multipartBody9218034460857997324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120904368,"filename":"image_26112025_01_10_00_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/26/a82a400da118f357ea6178f9cf0d589e.jpg","text":"TemporaryFile(/tmp/multipartBody3355200037645770629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120904368,"filename":"image_26112025_01_09_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/26/48b7baa4fafedd77384671db5742563b.jpg","text":"TemporaryFile(/tmp/multipartBody6316064556422986245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120904368,"filename":"image_26112025_01_09_50_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/26/261fcbd4640da71df12768d08ca1a17c.jpg","text":"TemporaryFile(/tmp/multipartBody2756937795069009040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120904368,"filename":"image_26112025_01_09_54_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/26/235c3b3b634aeee487e35d4231f9b55e.jpg","text":"TemporaryFile(/tmp/multipartBody4130033531049368875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120904368,"filename":"image_26112025_01_09_47_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/26/0614202e355323f068db3999ea38b702.jpg","text":"TemporaryFile(/tmp/multipartBody4486376486708389684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120904368,"filename":"image_26112025_01_10_05_2782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188825","file1":"1396188823","file0":"1396188821","file4":"1396188835","file5":"1396188839","file3":"1396188829"},"map_files_photo_id_array":[{"photo_id":"1396188839","filename":"file5"},{"photo_id":"1396188825","filename":"file2"},{"photo_id":"1396188835","filename":"file4"},{"photo_id":"1396188823","filename":"file1"},{"photo_id":"1396188821","filename":"file0"},{"photo_id":"1396188829","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188835":["hashtag1","hashtag2"]},{"1396188829":["hashtag1","hashtag2"]},{"1396188823":["hashtag1","hashtag2"]},{"1396188825":["hashtag1","hashtag2"]},{"1396188821":["hashtag1","hashtag2"]},{"1396188839":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188835, 1396188829, 1396188823, 1396188825, 1396188821, 1396188839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.154380083084106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 02:34:42.700205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_08_2688.jpg', '/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_12_3601.jpg', '/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_14_2529.jpg', '/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_18_3624.jpg', '/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_21_2702.jpg', '/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_23_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_08_2688.jpg
/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_12_3601.jpg
/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_14_2529.jpg
/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_18_3624.jpg
/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_21_2702.jpg
/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_23_2617.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":["1396188850","1396188847","1396188844","1396188846","1396188849","1396188848"],"photo_ids_order":["1396188844","1396188846","1396188847","1396188848","1396188849","1396188850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4f484e764eb8a28a310329b086dbb9e0.jpg","text":"TemporaryFile(/tmp/multipartBody805717201189918797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120943376,"filename":"image_26112025_01_10_23_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/26/b6c027fe6574d91de964ae4867f63e45.jpg","text":"TemporaryFile(/tmp/multipartBody7085323737721959037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120943376,"filename":"image_26112025_01_10_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/26/2f995e01a30af9b611b7e17c684a77f4.jpg","text":"TemporaryFile(/tmp/multipartBody8085995380497251825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120943376,"filename":"image_26112025_01_10_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/26/9d6207a60b895ad902f977e7787a8ea0.jpg","text":"TemporaryFile(/tmp/multipartBody7241808043657015881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120943376,"filename":"image_26112025_01_10_12_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/26/ab9667c0eae1aa31c7d55dba7cec7abd.jpg","text":"TemporaryFile(/tmp/multipartBody786263631799568654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120943376,"filename":"image_26112025_01_10_21_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/26/61f8edb8681061d6a90522d092b58750.jpg","text":"TemporaryFile(/tmp/multipartBody3105173268277472623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120943376,"filename":"image_26112025_01_10_18_3624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188847","file1":"1396188846","file0":"1396188844","file4":"1396188849","file5":"1396188850","file3":"1396188848"},"map_files_photo_id_array":[{"photo_id":"1396188850","filename":"file5"},{"photo_id":"1396188847","filename":"file2"},{"photo_id":"1396188849","filename":"file4"},{"photo_id":"1396188846","filename":"file1"},{"photo_id":"1396188844","filename":"file0"},{"photo_id":"1396188848","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188850":["hashtag1","hashtag2"]},{"1396188847":["hashtag1","hashtag2"]},{"1396188844":["hashtag1","hashtag2"]},{"1396188846":["hashtag1","hashtag2"]},{"1396188849":["hashtag1","hashtag2"]},{"1396188848":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188850, 1396188847, 1396188844, 1396188846, 1396188849, 1396188848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49217104911804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 02:35:21.919172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_27_3764.jpg', '/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_30_2617.jpg', '/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_32_2586.jpg', '/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_36_3689.jpg', '/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_38_2566.jpg', '/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_41_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_27_3764.jpg
/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_30_2617.jpg
/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_32_2586.jpg
/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_36_3689.jpg
/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_38_2566.jpg
/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_41_2790.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":["1396188877","1396188889","1396188874","1396188879","1396188912","1396188881"],"photo_ids_order":["1396188874","1396188877","1396188879","1396188881","1396188889","1396188912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c9c361497ac1b55addcda2d2c8c91f79.jpg","text":"TemporaryFile(/tmp/multipartBody10375915066564194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120982610,"filename":"image_26112025_01_10_30_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/26/245e3be56c22e53f2a70447211cd990e.jpg","text":"TemporaryFile(/tmp/multipartBody3155153679098258361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120982610,"filename":"image_26112025_01_10_38_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/26/f54db53e5ee251772bc6737dee72d855.jpg","text":"TemporaryFile(/tmp/multipartBody3180903317430973427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120982610,"filename":"image_26112025_01_10_27_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/26/341d4000325fc8447e9aad67f38be583.jpg","text":"TemporaryFile(/tmp/multipartBody4014810940547879015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120982610,"filename":"image_26112025_01_10_32_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/26/a877de07793db52aebdc6a9fa6a67506.jpg","text":"TemporaryFile(/tmp/multipartBody636439473644691103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120982610,"filename":"image_26112025_01_10_41_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/26/20a861093c33ea1238472f84f4af009a.jpg","text":"TemporaryFile(/tmp/multipartBody4903097231830053450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764120982610,"filename":"image_26112025_01_10_36_3689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188879","file1":"1396188877","file0":"1396188874","file4":"1396188889","file5":"1396188912","file3":"1396188881"},"map_files_photo_id_array":[{"photo_id":"1396188912","filename":"file5"},{"photo_id":"1396188879","filename":"file2"},{"photo_id":"1396188889","filename":"file4"},{"photo_id":"1396188877","filename":"file1"},{"photo_id":"1396188874","filename":"file0"},{"photo_id":"1396188881","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188877":["hashtag1","hashtag2"]},{"1396188889":["hashtag1","hashtag2"]},{"1396188874":["hashtag1","hashtag2"]},{"1396188879":["hashtag1","hashtag2"]},{"1396188912":["hashtag1","hashtag2"]},{"1396188881":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188877, 1396188889, 1396188874, 1396188879, 1396188912, 1396188881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.909759759902954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:36:02.690717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_44_2790.jpg', '/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_48_3754.jpg', '/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_50_2514.jpg', '/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_53_2698.jpg', '/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_57_3721.jpg', '/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_59_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_44_2790.jpg
/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_48_3754.jpg
/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_50_2514.jpg
/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_53_2698.jpg
/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_57_3721.jpg
/home/pi/Desktop/images/26112025/01/10/image_26112025_01_10_59_2704.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":["1396188914","1396188913","1396188922","1396188925","1396188919","1396188917"],"photo_ids_order":["1396188913","1396188914","1396188917","1396188919","1396188922","1396188925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/33a93e8beda877e2e0bf4505745c4ee7.jpg","text":"TemporaryFile(/tmp/multipartBody1834343445072874783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121023404,"filename":"image_26112025_01_10_48_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/26/fca83ba46e964204255adeb49409a2bd.jpg","text":"TemporaryFile(/tmp/multipartBody6135998134197213096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121023404,"filename":"image_26112025_01_10_44_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/26/453bfd36ea3d18508a15af3be181d767.jpg","text":"TemporaryFile(/tmp/multipartBody5882007681224932803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121023404,"filename":"image_26112025_01_10_57_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/26/ffbd67a830a60215d1228c61c08123ed.jpg","text":"TemporaryFile(/tmp/multipartBody1680594143791383694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121023404,"filename":"image_26112025_01_10_59_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/26/fde19fa93d7a00a55e6f3c39e2bde816.jpg","text":"TemporaryFile(/tmp/multipartBody4038424875135806944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121023404,"filename":"image_26112025_01_10_53_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/26/00986f9724d83b8a6804c98afcd99d43.jpg","text":"TemporaryFile(/tmp/multipartBody7863090156259616754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121023404,"filename":"image_26112025_01_10_50_2514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188917","file1":"1396188914","file0":"1396188913","file4":"1396188922","file5":"1396188925","file3":"1396188919"},"map_files_photo_id_array":[{"photo_id":"1396188925","filename":"file5"},{"photo_id":"1396188917","filename":"file2"},{"photo_id":"1396188922","filename":"file4"},{"photo_id":"1396188914","filename":"file1"},{"photo_id":"1396188913","filename":"file0"},{"photo_id":"1396188919","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188914":["hashtag1","hashtag2"]},{"1396188913":["hashtag1","hashtag2"]},{"1396188922":["hashtag1","hashtag2"]},{"1396188925":["hashtag1","hashtag2"]},{"1396188919":["hashtag1","hashtag2"]},{"1396188917":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188914, 1396188913, 1396188922, 1396188925, 1396188919, 1396188917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17119097709656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 02:36:42.155195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_02_2630.jpg', '/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_06_3638.jpg', '/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_08_2668.jpg', '/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_11_2663.jpg', '/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_15_3744.jpg', '/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_17_2529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_02_2630.jpg
/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_06_3638.jpg
/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_08_2668.jpg
/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_11_2663.jpg
/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_15_3744.jpg
/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_17_2529.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":["1396188943","1396188942","1396188939","1396188953","1396188941","1396188950"],"photo_ids_order":["1396188939","1396188941","1396188942","1396188943","1396188950","1396188953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/93dee8c8468b1ebe6d982b54eaf533c7.jpg","text":"TemporaryFile(/tmp/multipartBody2327851383639608121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121062877,"filename":"image_26112025_01_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/26/d90d9a07141552d8dbcd78b499abf1cb.jpg","text":"TemporaryFile(/tmp/multipartBody2651480199319199823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121062877,"filename":"image_26112025_01_11_08_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ec6306d3cbce5da9561bea654a33eb85.jpg","text":"TemporaryFile(/tmp/multipartBody6088487483972989877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121062877,"filename":"image_26112025_01_11_02_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/26/ce6facade891113257bba103b7845eb7.jpg","text":"TemporaryFile(/tmp/multipartBody2521597912601321272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121062877,"filename":"image_26112025_01_11_17_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/26/a451b8e56085be197f51e6828f96148e.jpg","text":"TemporaryFile(/tmp/multipartBody3680504434326933617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121062877,"filename":"image_26112025_01_11_06_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/26/252add76d831983ff7f45da27059a22a.jpg","text":"TemporaryFile(/tmp/multipartBody7270563482645915679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121062877,"filename":"image_26112025_01_11_15_3744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188942","file1":"1396188941","file0":"1396188939","file4":"1396188950","file5":"1396188953","file3":"1396188943"},"map_files_photo_id_array":[{"photo_id":"1396188953","filename":"file5"},{"photo_id":"1396188942","filename":"file2"},{"photo_id":"1396188950","filename":"file4"},{"photo_id":"1396188941","filename":"file1"},{"photo_id":"1396188939","filename":"file0"},{"photo_id":"1396188943","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188943":["hashtag1","hashtag2"]},{"1396188942":["hashtag1","hashtag2"]},{"1396188939":["hashtag1","hashtag2"]},{"1396188953":["hashtag1","hashtag2"]},{"1396188941":["hashtag1","hashtag2"]},{"1396188950":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188943, 1396188942, 1396188939, 1396188953, 1396188941, 1396188950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46601390838623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 02:37:22.337774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_20_2739.jpg', '/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_24_3720.jpg', '/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_26_2643.jpg', '/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_29_2666.jpg', '/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_33_3604.jpg', '/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_35_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_20_2739.jpg
/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_24_3720.jpg
/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_26_2643.jpg
/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_29_2666.jpg
/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_33_3604.jpg
/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_35_2637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396188967","1396188961","1396188963","1396188957","1396188965","1396188959"],"photo_ids_order":["1396188957","1396188959","1396188961","1396188963","1396188965","1396188967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4dfc725d6031db2432673fe2b4067c10.jpg","text":"TemporaryFile(/tmp/multipartBody3396581190156727783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121103024,"filename":"image_26112025_01_11_35_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/26/1b54c1d40fea96153dda3173fbdd4002.jpg","text":"TemporaryFile(/tmp/multipartBody7326336200681711003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121103024,"filename":"image_26112025_01_11_26_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/26/7ff4cb37cb07b63fef0167be60188cce.jpg","text":"TemporaryFile(/tmp/multipartBody5379796886003612959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121103024,"filename":"image_26112025_01_11_29_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/26/8c00630be815cc1f1897d5d391bbd15c.jpg","text":"TemporaryFile(/tmp/multipartBody6911114910745003821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121103024,"filename":"image_26112025_01_11_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/26/0f1ce8320e63e181eb9022975b4512d3.jpg","text":"TemporaryFile(/tmp/multipartBody3067367230207384818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121103024,"filename":"image_26112025_01_11_33_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/26/33bf5ed458773911629a85674aa7f4bb.jpg","text":"TemporaryFile(/tmp/multipartBody1549094293741977504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121103024,"filename":"image_26112025_01_11_24_3720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188961","file1":"1396188959","file0":"1396188957","file4":"1396188965","file5":"1396188967","file3":"1396188963"},"map_files_photo_id_array":[{"photo_id":"1396188967","filename":"file5"},{"photo_id":"1396188961","filename":"file2"},{"photo_id":"1396188965","filename":"file4"},{"photo_id":"1396188959","filename":"file1"},{"photo_id":"1396188957","filename":"file0"},{"photo_id":"1396188963","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188967":["hashtag1","hashtag2"]},{"1396188961":["hashtag1","hashtag2"]},{"1396188963":["hashtag1","hashtag2"]},{"1396188957":["hashtag1","hashtag2"]},{"1396188965":["hashtag1","hashtag2"]},{"1396188959":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188967, 1396188961, 1396188963, 1396188957, 1396188965, 1396188959)","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: 56.874672412872314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 02:38:27.527206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_38_2646.jpg', '/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_42_3563.jpg', '/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_44_2629.jpg', '/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_48_3699.jpg', '/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_51_2734.jpg', '/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_53_2545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_38_2646.jpg
/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_42_3563.jpg
/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_44_2629.jpg
/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_48_3699.jpg
/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_51_2734.jpg
/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_53_2545.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":["1396188991","1396188985","1396189000","1396188987","1396189011","1396188998"],"photo_ids_order":["1396188985","1396188987","1396188991","1396188998","1396189000","1396189011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/46f1b7b204af7278db2c6784681edb3c.jpg","text":"TemporaryFile(/tmp/multipartBody4556345384693566848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121168237,"filename":"image_26112025_01_11_44_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/26/5c38c6756345f89db035f96680d7673c.jpg","text":"TemporaryFile(/tmp/multipartBody6780457099868023899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121168237,"filename":"image_26112025_01_11_38_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d711d3d38a8023d67dfb912c59e0cab6.jpg","text":"TemporaryFile(/tmp/multipartBody273141771699665933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121168237,"filename":"image_26112025_01_11_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/26/075ddebcc3f27ab1397a56120c160bfa.jpg","text":"TemporaryFile(/tmp/multipartBody7173024453545422936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121168237,"filename":"image_26112025_01_11_42_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/26/5d3d264b8833f0ba87d455a1d71615e0.jpg","text":"TemporaryFile(/tmp/multipartBody9147152741064814769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121168237,"filename":"image_26112025_01_11_53_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/26/7578b833b63e69a73c2736b1debf9496.jpg","text":"TemporaryFile(/tmp/multipartBody2710797008826010951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121168237,"filename":"image_26112025_01_11_48_3699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396188991","file1":"1396188987","file0":"1396188985","file4":"1396189000","file5":"1396189011","file3":"1396188998"},"map_files_photo_id_array":[{"photo_id":"1396189011","filename":"file5"},{"photo_id":"1396188991","filename":"file2"},{"photo_id":"1396189000","filename":"file4"},{"photo_id":"1396188987","filename":"file1"},{"photo_id":"1396188985","filename":"file0"},{"photo_id":"1396188998","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396188991":["hashtag1","hashtag2"]},{"1396188985":["hashtag1","hashtag2"]},{"1396189000":["hashtag1","hashtag2"]},{"1396188987":["hashtag1","hashtag2"]},{"1396189011":["hashtag1","hashtag2"]},{"1396188998":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396188991, 1396188985, 1396189000, 1396188987, 1396189011, 1396188998)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.387277364730835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 02:39:13.661323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_57_3666.jpg', '/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_02_2552.jpg', '/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_08_2651.jpg', '/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_13_4957.jpg', '/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_15_1683.jpg', '/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_18_2856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/11/image_26112025_01_11_57_3666.jpg
/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_02_2552.jpg
/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_08_2651.jpg
/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_13_4957.jpg
/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_15_1683.jpg
/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_18_2856.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":["1396189033","1396189020","1396189028","1396189022","1396189031","1396189025"],"photo_ids_order":["1396189020","1396189022","1396189025","1396189028","1396189031","1396189033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b2583b05f9dea0250d0c368a9a7c0b2c.jpg","text":"TemporaryFile(/tmp/multipartBody4583110728852619811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121214335,"filename":"image_26112025_01_12_18_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/26/e21ab3727df6ba15a4efc1ad80e82999.jpg","text":"TemporaryFile(/tmp/multipartBody8591030375645441644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121214335,"filename":"image_26112025_01_11_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/26/7c38a5796beaea1f3b4dc04e7a9dd173.jpg","text":"TemporaryFile(/tmp/multipartBody8195969301760191773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121214335,"filename":"image_26112025_01_12_13_4957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/12397576b5f4edec66acd6a357284711.jpg","text":"TemporaryFile(/tmp/multipartBody983175001183985709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121214335,"filename":"image_26112025_01_12_02_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/26/acd46f00e5d2e1a4dbaf3ee3baf9ebdf.jpg","text":"TemporaryFile(/tmp/multipartBody500110389712654387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121214335,"filename":"image_26112025_01_12_15_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/26/3cca9bc478fc83316031410742a464ce.jpg","text":"TemporaryFile(/tmp/multipartBody3316547762312137114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121214335,"filename":"image_26112025_01_12_08_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396189025","file1":"1396189022","file0":"1396189020","file4":"1396189031","file5":"1396189033","file3":"1396189028"},"map_files_photo_id_array":[{"photo_id":"1396189033","filename":"file5"},{"photo_id":"1396189025","filename":"file2"},{"photo_id":"1396189031","filename":"file4"},{"photo_id":"1396189022","filename":"file1"},{"photo_id":"1396189020","filename":"file0"},{"photo_id":"1396189028","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396189033":["hashtag1","hashtag2"]},{"1396189020":["hashtag1","hashtag2"]},{"1396189028":["hashtag1","hashtag2"]},{"1396189022":["hashtag1","hashtag2"]},{"1396189031":["hashtag1","hashtag2"]},{"1396189025":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396189033, 1396189020, 1396189028, 1396189022, 1396189031, 1396189025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47754502296448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:40:02.490683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_20_2541.jpg', '/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_23_2650.jpg', '/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_27_3850.jpg', '/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_32_2588.jpg', '/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_36_3672.jpg', '/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_38_2769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_20_2541.jpg
/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_23_2650.jpg
/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_27_3850.jpg
/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_32_2588.jpg
/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_36_3672.jpg
/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_38_2769.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":["1396189042","1396189036","1396189044","1396189046","1396189040","1396189037"],"photo_ids_order":["1396189036","1396189037","1396189040","1396189042","1396189044","1396189046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/37fcfffdbf5cefff7cd65d3055cc16b9.jpg","text":"TemporaryFile(/tmp/multipartBody82846352456949161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121263181,"filename":"image_26112025_01_12_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/26/a3169bdaf080edbc4fa1663ca5710311.jpg","text":"TemporaryFile(/tmp/multipartBody4638230697494451652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121263181,"filename":"image_26112025_01_12_20_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/26/b9327299c9c71f09697bb1f25d360284.jpg","text":"TemporaryFile(/tmp/multipartBody7885739992604761673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121263181,"filename":"image_26112025_01_12_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/26/1a08cac9d81ad48de859bd452d4a199d.jpg","text":"TemporaryFile(/tmp/multipartBody8261394795307454188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121263181,"filename":"image_26112025_01_12_38_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/26/522f33761eaadbeb9c99e670905b479f.jpg","text":"TemporaryFile(/tmp/multipartBody1275541555292557342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121263181,"filename":"image_26112025_01_12_27_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/26/b5a15c93c329eee0565821622064ae64.jpg","text":"TemporaryFile(/tmp/multipartBody4817461998444958830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121263181,"filename":"image_26112025_01_12_23_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396189040","file1":"1396189037","file0":"1396189036","file4":"1396189044","file5":"1396189046","file3":"1396189042"},"map_files_photo_id_array":[{"photo_id":"1396189046","filename":"file5"},{"photo_id":"1396189040","filename":"file2"},{"photo_id":"1396189044","filename":"file4"},{"photo_id":"1396189037","filename":"file1"},{"photo_id":"1396189036","filename":"file0"},{"photo_id":"1396189042","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396189042":["hashtag1","hashtag2"]},{"1396189036":["hashtag1","hashtag2"]},{"1396189044":["hashtag1","hashtag2"]},{"1396189046":["hashtag1","hashtag2"]},{"1396189040":["hashtag1","hashtag2"]},{"1396189037":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396189042, 1396189036, 1396189044, 1396189046, 1396189040, 1396189037)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.05623650550842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:41:05.074133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 02:41:12.066893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_41_2739.jpg', '/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_44_2687.jpg', '/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_48_3712.jpg', '/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_53_2788.jpg', '/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_57_3773.jpg', '/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_59_2521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_41_2739.jpg
/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_44_2687.jpg
/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_48_3712.jpg
/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_53_2788.jpg
/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_57_3773.jpg
/home/pi/Desktop/images/26112025/01/12/image_26112025_01_12_59_2521.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":["1396189092","1396189083","1396189094","1396189073","1396189067","1396189096"],"photo_ids_order":["1396189067","1396189073","1396189083","1396189092","1396189094","1396189096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/090703c80d4e877e2fb3f7127f2fef5d.jpg","text":"TemporaryFile(/tmp/multipartBody930976777509736248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121332713,"filename":"image_26112025_01_12_53_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/26/706aa01f9f34d650786010ba6c014504.jpg","text":"TemporaryFile(/tmp/multipartBody1802325214865793337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121332713,"filename":"image_26112025_01_12_48_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/26/6557a424644bc96cf56fa06d4bac569b.jpg","text":"TemporaryFile(/tmp/multipartBody3218377708712116634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121332713,"filename":"image_26112025_01_12_57_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4593fe9d2b481d1eaeb7b7fac093eab1.jpg","text":"TemporaryFile(/tmp/multipartBody6117602178755337095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121332713,"filename":"image_26112025_01_12_44_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/26/63eee2b89d4d1030d5bec6fe3a45a5df.jpg","text":"TemporaryFile(/tmp/multipartBody488455051621398445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121332713,"filename":"image_26112025_01_12_41_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/26/3f4e7ea4ec6fc85e078d49360eb4e81e.jpg","text":"TemporaryFile(/tmp/multipartBody7429176121467336345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121332713,"filename":"image_26112025_01_12_59_2521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396189083","file1":"1396189073","file0":"1396189067","file4":"1396189094","file5":"1396189096","file3":"1396189092"},"map_files_photo_id_array":[{"photo_id":"1396189096","filename":"file5"},{"photo_id":"1396189083","filename":"file2"},{"photo_id":"1396189094","filename":"file4"},{"photo_id":"1396189073","filename":"file1"},{"photo_id":"1396189067","filename":"file0"},{"photo_id":"1396189092","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396189092":["hashtag1","hashtag2"]},{"1396189083":["hashtag1","hashtag2"]},{"1396189094":["hashtag1","hashtag2"]},{"1396189073":["hashtag1","hashtag2"]},{"1396189067":["hashtag1","hashtag2"]},{"1396189096":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396189092, 1396189083, 1396189094, 1396189073, 1396189067, 1396189096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83129906654358 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:42:02.650565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_02_2544.jpg', '/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_05_3646.jpg', '/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_08_2509.jpg', '/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_12_3673.jpg', '/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_14_2700.jpg', '/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_17_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_02_2544.jpg
/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_05_3646.jpg
/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_08_2509.jpg
/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_12_3673.jpg
/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_14_2700.jpg
/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_17_2614.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":["1396189135","1396189134","1396189137","1396189116","1396189127","1396189109"],"photo_ids_order":["1396189109","1396189116","1396189127","1396189134","1396189135","1396189137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/75e4a9d4b6538291705fa2d9ae95bd4d.jpg","text":"TemporaryFile(/tmp/multipartBody4928441183816754112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121383409,"filename":"image_26112025_01_13_14_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/26/a4c06aea80aeda7455f6af629d646ee4.jpg","text":"TemporaryFile(/tmp/multipartBody1040331884231391332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121383409,"filename":"image_26112025_01_13_12_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/26/22545733b7672a435b81146a20b1b3ff.jpg","text":"TemporaryFile(/tmp/multipartBody4787081366650741211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121383409,"filename":"image_26112025_01_13_17_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/26/d5844a148d89d3f9d791c1186b273577.jpg","text":"TemporaryFile(/tmp/multipartBody4765825981320806891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121383409,"filename":"image_26112025_01_13_05_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/26/1f35dc548ca177715e28f9ae84782c92.jpg","text":"TemporaryFile(/tmp/multipartBody9025430049706223157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121383409,"filename":"image_26112025_01_13_08_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b0a3b3cab9a519d34dc103b0f714f42e.jpg","text":"TemporaryFile(/tmp/multipartBody7115940489534198603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121383409,"filename":"image_26112025_01_13_02_2544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396189127","file1":"1396189116","file0":"1396189109","file4":"1396189135","file5":"1396189137","file3":"1396189134"},"map_files_photo_id_array":[{"photo_id":"1396189137","filename":"file5"},{"photo_id":"1396189127","filename":"file2"},{"photo_id":"1396189135","filename":"file4"},{"photo_id":"1396189116","filename":"file1"},{"photo_id":"1396189109","filename":"file0"},{"photo_id":"1396189134","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396189135":["hashtag1","hashtag2"]},{"1396189134":["hashtag1","hashtag2"]},{"1396189137":["hashtag1","hashtag2"]},{"1396189116":["hashtag1","hashtag2"]},{"1396189127":["hashtag1","hashtag2"]},{"1396189109":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396189135, 1396189134, 1396189137, 1396189116, 1396189127, 1396189109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.072972536087036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 02:42:42.188848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_21_3629.jpg', '/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_23_2669.jpg', '/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_26_2588.jpg', '/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_29_3655.jpg', '/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_32_2500.jpg', '/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_36_3711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_21_3629.jpg
/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_23_2669.jpg
/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_26_2588.jpg
/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_29_3655.jpg
/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_32_2500.jpg
/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_36_3711.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.5724682807922363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:43:03.089767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_21_3629.jpg', '/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_23_2669.jpg', '/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_26_2588.jpg', '/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_29_3655.jpg', '/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_32_2500.jpg', '/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_36_3711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_21_3629.jpg
/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_23_2669.jpg
/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_26_2588.jpg
/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_29_3655.jpg
/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_32_2500.jpg
/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_36_3711.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":["1396189395","1396189507","1396189428","1396189544","1396189579","1396189471"],"photo_ids_order":["1396189395","1396189428","1396189471","1396189507","1396189544","1396189579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d1dac182164740b69c0035a9e802a5b3.jpg","text":"TemporaryFile(/tmp/multipartBody6293883088223944197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121443846,"filename":"image_26112025_01_13_21_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/26/53d889680ef1f65ec3587b3862a93df0.jpg","text":"TemporaryFile(/tmp/multipartBody2457158047701354151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121443846,"filename":"image_26112025_01_13_29_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/26/b718b0b595ac4bb2787949759e3e7e0b.jpg","text":"TemporaryFile(/tmp/multipartBody7961798897936882769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121443846,"filename":"image_26112025_01_13_23_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/26/d97780535ed484d2f04cb801a591e808.jpg","text":"TemporaryFile(/tmp/multipartBody8553935145995942122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121443846,"filename":"image_26112025_01_13_32_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/26/0d78ebb4d60bd8a74c855736b145238f.jpg","text":"TemporaryFile(/tmp/multipartBody6430955869636946710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121443846,"filename":"image_26112025_01_13_36_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/76d29e1de703bb250373d91ebced0efc.jpg","text":"TemporaryFile(/tmp/multipartBody936890629014917624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121443846,"filename":"image_26112025_01_13_26_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396189471","file1":"1396189428","file0":"1396189395","file4":"1396189544","file5":"1396189579","file3":"1396189507"},"map_files_photo_id_array":[{"photo_id":"1396189579","filename":"file5"},{"photo_id":"1396189471","filename":"file2"},{"photo_id":"1396189544","filename":"file4"},{"photo_id":"1396189428","filename":"file1"},{"photo_id":"1396189395","filename":"file0"},{"photo_id":"1396189507","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396189395":["hashtag1","hashtag2"]},{"1396189507":["hashtag1","hashtag2"]},{"1396189428":["hashtag1","hashtag2"]},{"1396189544":["hashtag1","hashtag2"]},{"1396189579":["hashtag1","hashtag2"]},{"1396189471":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396189395, 1396189507, 1396189428, 1396189544, 1396189579, 1396189471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76018834114075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 02:43:42.467002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_39_2837.jpg', '/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_41_2638.jpg', '/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_44_2658.jpg', '/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_47_3595.jpg', '/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_50_2749.jpg', '/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_53_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_39_2837.jpg
/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_41_2638.jpg
/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_44_2658.jpg
/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_47_3595.jpg
/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_50_2749.jpg
/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_53_2594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396189750","1396189819","1396189714","1396189785","1396189896","1396189856"],"photo_ids_order":["1396189714","1396189750","1396189785","1396189819","1396189856","1396189896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a3be3e3e6925a52f5c0ef1662cc659fd.jpg","text":"TemporaryFile(/tmp/multipartBody3486875654744484448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121483175,"filename":"image_26112025_01_13_41_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c788ff36f65d51245635207102c40c34.jpg","text":"TemporaryFile(/tmp/multipartBody361375091969880415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121483175,"filename":"image_26112025_01_13_47_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/26/ed5e53e2a6c63101a69b864ea1d745e5.jpg","text":"TemporaryFile(/tmp/multipartBody8784250557025038508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121483175,"filename":"image_26112025_01_13_39_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/26/3f5e2b152062baade8729495f27aa979.jpg","text":"TemporaryFile(/tmp/multipartBody100514338328890222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121483175,"filename":"image_26112025_01_13_44_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/26/c3859bad57340b37565e0b0b5a35b3fd.jpg","text":"TemporaryFile(/tmp/multipartBody5528515829081135849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121483175,"filename":"image_26112025_01_13_53_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/26/9c69c0fd2861989a44d9e9f99f600774.jpg","text":"TemporaryFile(/tmp/multipartBody3066863808606737855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121483175,"filename":"image_26112025_01_13_50_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396189785","file1":"1396189750","file0":"1396189714","file4":"1396189856","file5":"1396189896","file3":"1396189819"},"map_files_photo_id_array":[{"photo_id":"1396189896","filename":"file5"},{"photo_id":"1396189785","filename":"file2"},{"photo_id":"1396189856","filename":"file4"},{"photo_id":"1396189750","filename":"file1"},{"photo_id":"1396189714","filename":"file0"},{"photo_id":"1396189819","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396189750":["hashtag1","hashtag2"]},{"1396189819":["hashtag1","hashtag2"]},{"1396189714":["hashtag1","hashtag2"]},{"1396189785":["hashtag1","hashtag2"]},{"1396189896":["hashtag1","hashtag2"]},{"1396189856":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396189750, 1396189819, 1396189714, 1396189785, 1396189896, 1396189856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98250412940979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 02:44:22.596865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_56_3606.jpg', '/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_59_2643.jpg', '/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_02_2754.jpg', '/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_05_3543.jpg', '/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_08_2635.jpg', '/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_11_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_56_3606.jpg
/home/pi/Desktop/images/26112025/01/13/image_26112025_01_13_59_2643.jpg
/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_02_2754.jpg
/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_05_3543.jpg
/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_08_2635.jpg
/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_11_2733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396190000","1396189957","1396189965","1396190035","1396189962","1396189959"],"photo_ids_order":["1396189957","1396189959","1396189962","1396189965","1396190000","1396190035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1cb3f48da79513d25f5ddac011275c3d.jpg","text":"TemporaryFile(/tmp/multipartBody991199601041746511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121523264,"filename":"image_26112025_01_14_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/26/6b3523fb63ab576f687a86a8ba989d16.jpg","text":"TemporaryFile(/tmp/multipartBody6070608436730870826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121523264,"filename":"image_26112025_01_13_56_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d7133b33017b8318206b696d2fed31d5.jpg","text":"TemporaryFile(/tmp/multipartBody3861528650784475312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121523264,"filename":"image_26112025_01_14_05_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cd741bca28a85621fb7d6ff3919f5b0e.jpg","text":"TemporaryFile(/tmp/multipartBody4768319122729432832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121523264,"filename":"image_26112025_01_14_11_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/26/b456ed1f01425aec9e1fea333dcd33dd.jpg","text":"TemporaryFile(/tmp/multipartBody5470411978079042064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121523264,"filename":"image_26112025_01_14_02_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/26/c150b401cc7fe619c65d01e305067caa.jpg","text":"TemporaryFile(/tmp/multipartBody16510413885122341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121523264,"filename":"image_26112025_01_13_59_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396189962","file1":"1396189959","file0":"1396189957","file4":"1396190000","file5":"1396190035","file3":"1396189965"},"map_files_photo_id_array":[{"photo_id":"1396190035","filename":"file5"},{"photo_id":"1396189962","filename":"file2"},{"photo_id":"1396190000","filename":"file4"},{"photo_id":"1396189959","filename":"file1"},{"photo_id":"1396189957","filename":"file0"},{"photo_id":"1396189965","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396190000":["hashtag1","hashtag2"]},{"1396189957":["hashtag1","hashtag2"]},{"1396189965":["hashtag1","hashtag2"]},{"1396190035":["hashtag1","hashtag2"]},{"1396189962":["hashtag1","hashtag2"]},{"1396189959":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396190000, 1396189957, 1396189965, 1396190035, 1396189962, 1396189959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57572841644287 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:45:03.287209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_14_3641.jpg', '/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_17_2818.jpg', '/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_20_2544.jpg', '/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_23_3506.jpg', '/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_27_4039.jpg', '/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_29_1566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_14_3641.jpg
/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_17_2818.jpg
/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_20_2544.jpg
/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_23_3506.jpg
/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_27_4039.jpg
/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_29_1566.jpg
 val : 1 : upload photos already in processing! 
 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":["1396190161","1396190164","1396190158","1396190156","1396190165","1396190153"],"photo_ids_order":["1396190153","1396190156","1396190158","1396190161","1396190164","1396190165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1a4c3ae166f2d403cb2d801f1de69f34.jpg","text":"TemporaryFile(/tmp/multipartBody3703127724300210486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121569832,"filename":"image_26112025_01_14_23_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/26/6a112e621be04f4c506de0f17dd818d9.jpg","text":"TemporaryFile(/tmp/multipartBody7875819994227555411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121569832,"filename":"image_26112025_01_14_27_4039.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5fa3f370b18b0c0548e2220398aa67de.jpg","text":"TemporaryFile(/tmp/multipartBody8515057556827504410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121569832,"filename":"image_26112025_01_14_20_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/26/4af14dde4440bf205fcba448a1bbe499.jpg","text":"TemporaryFile(/tmp/multipartBody1907268051207418853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121569832,"filename":"image_26112025_01_14_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/26/aa90a68534feab6299d1d4c0d5423532.jpg","text":"TemporaryFile(/tmp/multipartBody7797726769112058193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121569832,"filename":"image_26112025_01_14_29_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/26/3e3c524ea60f5bd1e26f92c41e041a01.jpg","text":"TemporaryFile(/tmp/multipartBody6117200231203641962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121569832,"filename":"image_26112025_01_14_14_3641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396190158","file1":"1396190156","file0":"1396190153","file4":"1396190164","file5":"1396190165","file3":"1396190161"},"map_files_photo_id_array":[{"photo_id":"1396190165","filename":"file5"},{"photo_id":"1396190158","filename":"file2"},{"photo_id":"1396190164","filename":"file4"},{"photo_id":"1396190156","filename":"file1"},{"photo_id":"1396190153","filename":"file0"},{"photo_id":"1396190161","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396190161":["hashtag1","hashtag2"]},{"1396190164":["hashtag1","hashtag2"]},{"1396190158":["hashtag1","hashtag2"]},{"1396190156":["hashtag1","hashtag2"]},{"1396190165":["hashtag1","hashtag2"]},{"1396190153":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396190161, 1396190164, 1396190158, 1396190156, 1396190165, 1396190153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.17009234428406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:46:02.345576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_32_3660.jpg', '/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_35_2592.jpg', '/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_38_2719.jpg', '/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_44_2675.jpg', '/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_47_2681.jpg', '/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_51_3625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_32_3660.jpg
/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_35_2592.jpg
/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_38_2719.jpg
/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_44_2675.jpg
/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_47_2681.jpg
/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_51_3625.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":["1396190173","1396190182","1396190170","1396190184","1396190186","1396190171"],"photo_ids_order":["1396190170","1396190171","1396190173","1396190182","1396190184","1396190186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0ca089ed86fc2d57601b7ff98fa7f525.jpg","text":"TemporaryFile(/tmp/multipartBody7849642613847064288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121623076,"filename":"image_26112025_01_14_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/26/f32d7415f39f67beca3f2a54b4ec3a8a.jpg","text":"TemporaryFile(/tmp/multipartBody7587659365739622896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121623076,"filename":"image_26112025_01_14_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/26/ceaf56006e947b05e8c29f8b67ca374f.jpg","text":"TemporaryFile(/tmp/multipartBody4222425658826062230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121623076,"filename":"image_26112025_01_14_32_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/26/e9855c31b8c32701a1fcf201d2698332.jpg","text":"TemporaryFile(/tmp/multipartBody5142743294004107865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121623076,"filename":"image_26112025_01_14_47_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/26/9ec1b5db1e1dcc2b50e163d0a51624c4.jpg","text":"TemporaryFile(/tmp/multipartBody7502230019064014873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121623076,"filename":"image_26112025_01_14_51_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/26/a54f540121e9a374c7f69c4d6fef970e.jpg","text":"TemporaryFile(/tmp/multipartBody726583303578847279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121623076,"filename":"image_26112025_01_14_35_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396190173","file1":"1396190171","file0":"1396190170","file4":"1396190184","file5":"1396190186","file3":"1396190182"},"map_files_photo_id_array":[{"photo_id":"1396190186","filename":"file5"},{"photo_id":"1396190173","filename":"file2"},{"photo_id":"1396190184","filename":"file4"},{"photo_id":"1396190171","filename":"file1"},{"photo_id":"1396190170","filename":"file0"},{"photo_id":"1396190182","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396190173":["hashtag1","hashtag2"]},{"1396190182":["hashtag1","hashtag2"]},{"1396190170":["hashtag1","hashtag2"]},{"1396190184":["hashtag1","hashtag2"]},{"1396190186":["hashtag1","hashtag2"]},{"1396190171":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396190173, 1396190182, 1396190170, 1396190184, 1396190186, 1396190171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11742544174194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 02:46:41.941221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_53_2581.jpg', '/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_56_2822.jpg', '/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_59_2706.jpg', '/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_02_3774.jpg', '/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_05_2777.jpg', '/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_08_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_53_2581.jpg
/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_56_2822.jpg
/home/pi/Desktop/images/26112025/01/14/image_26112025_01_14_59_2706.jpg
/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_02_3774.jpg
/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_05_2777.jpg
/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_08_2662.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":["1396190194","1396190197","1396190196","1396190200","1396190199","1396190198"],"photo_ids_order":["1396190194","1396190196","1396190197","1396190198","1396190199","1396190200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7ebdb82ccc69554e793aed85ae370fbe.jpg","text":"TemporaryFile(/tmp/multipartBody7896030428190393952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121662641,"filename":"image_26112025_01_14_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/26/c728e6e3c56a6ac936f561cbe3b714a9.jpg","text":"TemporaryFile(/tmp/multipartBody6024248159342989716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121662641,"filename":"image_26112025_01_14_59_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/26/5e1a22ccb33af98b4ec03ff74ea6c4b6.jpg","text":"TemporaryFile(/tmp/multipartBody3219923504878347852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121662641,"filename":"image_26112025_01_14_56_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/26/eec319123282c0068b375edd3da469ca.jpg","text":"TemporaryFile(/tmp/multipartBody61658035199797702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121662641,"filename":"image_26112025_01_15_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/26/ff7d76426191225268590e2adac14327.jpg","text":"TemporaryFile(/tmp/multipartBody5643705136049677842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121662641,"filename":"image_26112025_01_15_05_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2c46caf2d78be151ef8f10d42134c312.jpg","text":"TemporaryFile(/tmp/multipartBody8122714163151750070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121662641,"filename":"image_26112025_01_15_02_3774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396190197","file1":"1396190196","file0":"1396190194","file4":"1396190199","file5":"1396190200","file3":"1396190198"},"map_files_photo_id_array":[{"photo_id":"1396190200","filename":"file5"},{"photo_id":"1396190197","filename":"file2"},{"photo_id":"1396190199","filename":"file4"},{"photo_id":"1396190196","filename":"file1"},{"photo_id":"1396190194","filename":"file0"},{"photo_id":"1396190198","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396190194":["hashtag1","hashtag2"]},{"1396190197":["hashtag1","hashtag2"]},{"1396190196":["hashtag1","hashtag2"]},{"1396190200":["hashtag1","hashtag2"]},{"1396190199":["hashtag1","hashtag2"]},{"1396190198":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396190194, 1396190197, 1396190196, 1396190200, 1396190199, 1396190198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04910922050476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 02:47:22.087398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_11_2827.jpg', '/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_14_3603.jpg', '/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_17_2588.jpg', '/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_20_2691.jpg', '/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_23_3675.jpg', '/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_26_2965.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_11_2827.jpg
/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_14_3603.jpg
/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_17_2588.jpg
/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_20_2691.jpg
/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_23_3675.jpg
/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_26_2965.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":["1396190213","1396190206","1396190215","1396190209","1396190208","1396190211"],"photo_ids_order":["1396190206","1396190208","1396190209","1396190211","1396190213","1396190215"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/609b929f491c21ade8c98416fd84c002.jpg","text":"TemporaryFile(/tmp/multipartBody959987040585693023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121702780,"filename":"image_26112025_01_15_23_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/26/2f6032f72916631c2a2d9c84c6ddfaad.jpg","text":"TemporaryFile(/tmp/multipartBody6993912476495941498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121702780,"filename":"image_26112025_01_15_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/26/3ded95ea8408be3b69efa578aa598caa.jpg","text":"TemporaryFile(/tmp/multipartBody9095289288556289685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121702780,"filename":"image_26112025_01_15_26_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/26/cf4b63ab3b81c8d9eb3a93d340d767e3.jpg","text":"TemporaryFile(/tmp/multipartBody9219689816825786755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121702780,"filename":"image_26112025_01_15_17_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/26/453bd8fcb3ef350b19b6b4f3de898ffe.jpg","text":"TemporaryFile(/tmp/multipartBody379362052225390818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121702780,"filename":"image_26112025_01_15_14_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/26/d5e4332eed8003cfb9e957e43d057532.jpg","text":"TemporaryFile(/tmp/multipartBody6849764296239848994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121702780,"filename":"image_26112025_01_15_20_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396190209","file1":"1396190208","file0":"1396190206","file4":"1396190213","file5":"1396190215","file3":"1396190211"},"map_files_photo_id_array":[{"photo_id":"1396190215","filename":"file5"},{"photo_id":"1396190209","filename":"file2"},{"photo_id":"1396190213","filename":"file4"},{"photo_id":"1396190208","filename":"file1"},{"photo_id":"1396190206","filename":"file0"},{"photo_id":"1396190211","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396190213":["hashtag1","hashtag2"]},{"1396190206":["hashtag1","hashtag2"]},{"1396190215":["hashtag1","hashtag2"]},{"1396190209":["hashtag1","hashtag2"]},{"1396190208":["hashtag1","hashtag2"]},{"1396190211":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396190213, 1396190206, 1396190215, 1396190209, 1396190208, 1396190211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5196795463562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:48:02.826130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_29_2685.jpg', '/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_32_2660.jpg', '/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_35_3663.jpg', '/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_38_2703.jpg', '/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_41_2576.jpg', '/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_44_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_29_2685.jpg
/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_32_2660.jpg
/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_35_3663.jpg
/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_38_2703.jpg
/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_41_2576.jpg
/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_44_3610.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":["1396190221","1396190218","1396190227","1396190220","1396190223","1396190219"],"photo_ids_order":["1396190218","1396190219","1396190220","1396190221","1396190223","1396190227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7c0ca60e71bc5c8408f8886cfaddfba9.jpg","text":"TemporaryFile(/tmp/multipartBody6145387507326278696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121743536,"filename":"image_26112025_01_15_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/26/0c04b19a2ba5ba01a3a134badfcbe3c5.jpg","text":"TemporaryFile(/tmp/multipartBody199892785469588325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121743536,"filename":"image_26112025_01_15_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/26/4c147e5ff714a07b5f7b366f138b57de.jpg","text":"TemporaryFile(/tmp/multipartBody4319415214135650389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121743536,"filename":"image_26112025_01_15_44_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/26/41d648d44c7de8b4018e2b324e8c6017.jpg","text":"TemporaryFile(/tmp/multipartBody190626520955111830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121743536,"filename":"image_26112025_01_15_35_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/26/82121c0ddedf7e163c2ef77e0e1073a5.jpg","text":"TemporaryFile(/tmp/multipartBody1519092628200318135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121743536,"filename":"image_26112025_01_15_41_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1f01d601acbdccd5991e610ff22dd245.jpg","text":"TemporaryFile(/tmp/multipartBody2821090065385510953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121743536,"filename":"image_26112025_01_15_32_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396190220","file1":"1396190219","file0":"1396190218","file4":"1396190223","file5":"1396190227","file3":"1396190221"},"map_files_photo_id_array":[{"photo_id":"1396190227","filename":"file5"},{"photo_id":"1396190220","filename":"file2"},{"photo_id":"1396190223","filename":"file4"},{"photo_id":"1396190219","filename":"file1"},{"photo_id":"1396190218","filename":"file0"},{"photo_id":"1396190221","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396190221":["hashtag1","hashtag2"]},{"1396190218":["hashtag1","hashtag2"]},{"1396190227":["hashtag1","hashtag2"]},{"1396190220":["hashtag1","hashtag2"]},{"1396190223":["hashtag1","hashtag2"]},{"1396190219":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396190221, 1396190218, 1396190227, 1396190220, 1396190223, 1396190219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05926513671875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 02:48:42.418258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_47_2541.jpg', '/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_50_3690.jpg', '/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_53_2678.jpg', '/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_56_2595.jpg', '/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_59_3675.jpg', '/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_02_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_47_2541.jpg
/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_50_3690.jpg
/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_53_2678.jpg
/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_56_2595.jpg
/home/pi/Desktop/images/26112025/01/15/image_26112025_01_15_59_3675.jpg
/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_02_2709.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":["1396190236","1396190239","1396190233","1396190235","1396190238","1396190237"],"photo_ids_order":["1396190233","1396190235","1396190236","1396190237","1396190238","1396190239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/162992b3d886e413cf6a44c3bae5569c.jpg","text":"TemporaryFile(/tmp/multipartBody6770059662077435070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121783122,"filename":"image_26112025_01_15_53_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/26/8704b3ef7babd6c2f3057861bc4a769f.jpg","text":"TemporaryFile(/tmp/multipartBody3295305188570207700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121783122,"filename":"image_26112025_01_16_02_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/26/a8ed0d0b1a2a2fa9f6da2f2d12abb11b.jpg","text":"TemporaryFile(/tmp/multipartBody8374702905600140380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121783122,"filename":"image_26112025_01_15_47_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/26/5ba0729a8596a8e1db247d0b159cdf30.jpg","text":"TemporaryFile(/tmp/multipartBody8605645088114635142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121783122,"filename":"image_26112025_01_15_50_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/26/d1c7de7b8dce8c64ba5321d9834fd748.jpg","text":"TemporaryFile(/tmp/multipartBody6709225433482912683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121783122,"filename":"image_26112025_01_15_59_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/26/d3b4cc70b59f8e62b0ba8fab5c4a162c.jpg","text":"TemporaryFile(/tmp/multipartBody5981746204968380637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121783122,"filename":"image_26112025_01_15_56_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396190236","file1":"1396190235","file0":"1396190233","file4":"1396190238","file5":"1396190239","file3":"1396190237"},"map_files_photo_id_array":[{"photo_id":"1396190239","filename":"file5"},{"photo_id":"1396190236","filename":"file2"},{"photo_id":"1396190238","filename":"file4"},{"photo_id":"1396190235","filename":"file1"},{"photo_id":"1396190233","filename":"file0"},{"photo_id":"1396190237","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396190236":["hashtag1","hashtag2"]},{"1396190239":["hashtag1","hashtag2"]},{"1396190233":["hashtag1","hashtag2"]},{"1396190235":["hashtag1","hashtag2"]},{"1396190238":["hashtag1","hashtag2"]},{"1396190237":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396190236, 1396190239, 1396190233, 1396190235, 1396190238, 1396190237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.893253803253174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 02:49:22.536972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_05_2559.jpg', '/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_08_3683.jpg', '/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_11_2508.jpg', '/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_13_2716.jpg', '/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_17_3507.jpg', '/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_20_2549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_05_2559.jpg
/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_08_3683.jpg
/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_11_2508.jpg
/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_13_2716.jpg
/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_17_3507.jpg
/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_20_2549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396190240","1396190254","1396190248","1396190257","1396190251","1396190244"],"photo_ids_order":["1396190240","1396190244","1396190248","1396190251","1396190254","1396190257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/df491a9606d73956b2fd65c530505c49.jpg","text":"TemporaryFile(/tmp/multipartBody3361352472625380133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121823200,"filename":"image_26112025_01_16_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/26/b8ba5056ba4eef0c9d40d448da05d41f.jpg","text":"TemporaryFile(/tmp/multipartBody1625996638145478082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121823200,"filename":"image_26112025_01_16_17_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/26/1ccbcb0c65bea842babf360146a5a477.jpg","text":"TemporaryFile(/tmp/multipartBody1586731051712959586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121823200,"filename":"image_26112025_01_16_11_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/26/43b4a30128ec3511e3c171ee0d0546dd.jpg","text":"TemporaryFile(/tmp/multipartBody4272134184352035766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121823200,"filename":"image_26112025_01_16_20_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/26/27fd711b7c3bacc07df22cc10cf0f4bb.jpg","text":"TemporaryFile(/tmp/multipartBody8217535244185676751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121823200,"filename":"image_26112025_01_16_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/26/7c2066229612dd4a3c4094c0f7a6e22d.jpg","text":"TemporaryFile(/tmp/multipartBody1852522852019645284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121823200,"filename":"image_26112025_01_16_08_3683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396190248","file1":"1396190244","file0":"1396190240","file4":"1396190254","file5":"1396190257","file3":"1396190251"},"map_files_photo_id_array":[{"photo_id":"1396190257","filename":"file5"},{"photo_id":"1396190248","filename":"file2"},{"photo_id":"1396190254","filename":"file4"},{"photo_id":"1396190244","filename":"file1"},{"photo_id":"1396190240","filename":"file0"},{"photo_id":"1396190251","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396190240":["hashtag1","hashtag2"]},{"1396190254":["hashtag1","hashtag2"]},{"1396190248":["hashtag1","hashtag2"]},{"1396190257":["hashtag1","hashtag2"]},{"1396190251":["hashtag1","hashtag2"]},{"1396190244":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396190240, 1396190254, 1396190248, 1396190257, 1396190251, 1396190244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63611078262329 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:50:02.184972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_23_3607.jpg', '/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_26_2680.jpg', '/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_29_3552.jpg', '/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_32_2650.jpg', '/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_35_2556.jpg', '/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_38_2947.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_23_3607.jpg
/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_26_2680.jpg
/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_29_3552.jpg
/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_32_2650.jpg
/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_35_2556.jpg
/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_38_2947.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":["1396190269","1396190260","1396190263","1396190262","1396190273","1396190264"],"photo_ids_order":["1396190260","1396190262","1396190263","1396190264","1396190269","1396190273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e05fbfec0ed61a1ed63343dca4e19c57.jpg","text":"TemporaryFile(/tmp/multipartBody4140676428780717001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121862943,"filename":"image_26112025_01_16_35_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/26/b1056acba6aa0a66bfd7a953d7fce03d.jpg","text":"TemporaryFile(/tmp/multipartBody8685185021258118877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121862943,"filename":"image_26112025_01_16_23_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/26/e4998b134bf3c070956a942e1680f2af.jpg","text":"TemporaryFile(/tmp/multipartBody1816082758145488450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121862943,"filename":"image_26112025_01_16_29_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/26/affea7dbdfd3e192d0613960735914e5.jpg","text":"TemporaryFile(/tmp/multipartBody2137307744273811839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121862943,"filename":"image_26112025_01_16_26_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/26/19acb4b866e1ea6d43afb92a1dfdc47a.jpg","text":"TemporaryFile(/tmp/multipartBody706257695520706311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121862943,"filename":"image_26112025_01_16_38_2947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4bb32f37d5ed3395182c02dc99134201.jpg","text":"TemporaryFile(/tmp/multipartBody4402820237415317792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121862943,"filename":"image_26112025_01_16_32_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396190263","file1":"1396190262","file0":"1396190260","file4":"1396190269","file5":"1396190273","file3":"1396190264"},"map_files_photo_id_array":[{"photo_id":"1396190273","filename":"file5"},{"photo_id":"1396190263","filename":"file2"},{"photo_id":"1396190269","filename":"file4"},{"photo_id":"1396190262","filename":"file1"},{"photo_id":"1396190260","filename":"file0"},{"photo_id":"1396190264","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396190269":["hashtag1","hashtag2"]},{"1396190260":["hashtag1","hashtag2"]},{"1396190263":["hashtag1","hashtag2"]},{"1396190262":["hashtag1","hashtag2"]},{"1396190273":["hashtag1","hashtag2"]},{"1396190264":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396190269, 1396190260, 1396190263, 1396190262, 1396190273, 1396190264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35688853263855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 02:50:41.942250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_41_3682.jpg', '/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_44_2774.jpg', '/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_47_2542.jpg', '/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_50_3595.jpg', '/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_53_2758.jpg', '/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_56_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_41_3682.jpg
/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_44_2774.jpg
/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_47_2542.jpg
/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_50_3595.jpg
/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_53_2758.jpg
/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_56_2700.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":["1396190284","1396190287","1396190286","1396190288","1396190282","1396190285"],"photo_ids_order":["1396190282","1396190284","1396190285","1396190286","1396190287","1396190288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/25ea1e49eba25631b12ffdaad3a98fa3.jpg","text":"TemporaryFile(/tmp/multipartBody7526304216831352571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121902696,"filename":"image_26112025_01_16_44_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/26/c691aa7564529021c60e59bc26c1bb79.jpg","text":"TemporaryFile(/tmp/multipartBody1751818008485347867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121902696,"filename":"image_26112025_01_16_53_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/26/497d69baf1c485ee702d15a8816f323f.jpg","text":"TemporaryFile(/tmp/multipartBody7794552552796140275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121902696,"filename":"image_26112025_01_16_50_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/26/c9d5f14a8d58a2ad03d05870a44e0cc1.jpg","text":"TemporaryFile(/tmp/multipartBody4447970494161068497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121902696,"filename":"image_26112025_01_16_56_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fe9ee7a9f15e4c841f610a0e8d4c163c.jpg","text":"TemporaryFile(/tmp/multipartBody4158478073323085856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121902696,"filename":"image_26112025_01_16_41_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/26/ef54a4fad1774ff64bd9b2e5bc34d7b5.jpg","text":"TemporaryFile(/tmp/multipartBody6212072434407390482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121902696,"filename":"image_26112025_01_16_47_2542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396190285","file1":"1396190284","file0":"1396190282","file4":"1396190287","file5":"1396190288","file3":"1396190286"},"map_files_photo_id_array":[{"photo_id":"1396190288","filename":"file5"},{"photo_id":"1396190285","filename":"file2"},{"photo_id":"1396190287","filename":"file4"},{"photo_id":"1396190284","filename":"file1"},{"photo_id":"1396190282","filename":"file0"},{"photo_id":"1396190286","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396190284":["hashtag1","hashtag2"]},{"1396190287":["hashtag1","hashtag2"]},{"1396190286":["hashtag1","hashtag2"]},{"1396190288":["hashtag1","hashtag2"]},{"1396190282":["hashtag1","hashtag2"]},{"1396190285":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396190284, 1396190287, 1396190286, 1396190288, 1396190282, 1396190285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80080771446228 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 02:51:22.030114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_59_3553.jpg', '/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_02_2682.jpg', '/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_04_2621.jpg', '/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_08_3841.jpg', '/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_11_2582.jpg', '/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_14_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/16/image_26112025_01_16_59_3553.jpg
/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_02_2682.jpg
/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_04_2621.jpg
/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_08_3841.jpg
/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_11_2582.jpg
/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_14_2638.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":["1396190306","1396190309","1396190300","1396190295","1396190294","1396190297"],"photo_ids_order":["1396190294","1396190295","1396190297","1396190300","1396190306","1396190309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d2036619d9ad6b8fb2e0a5be92d625f0.jpg","text":"TemporaryFile(/tmp/multipartBody7510898714255236701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121942704,"filename":"image_26112025_01_17_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/26/53282ffe9c36ffca2cff98dc9ecc3a35.jpg","text":"TemporaryFile(/tmp/multipartBody8543674861204788042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121942704,"filename":"image_26112025_01_17_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/26/750bef2d41de645dbc0ebd3c39dc6148.jpg","text":"TemporaryFile(/tmp/multipartBody8742731572834997269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121942704,"filename":"image_26112025_01_17_08_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/26/08e604caa8ce611766248cd57ca64c36.jpg","text":"TemporaryFile(/tmp/multipartBody3012085386672279269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121942704,"filename":"image_26112025_01_17_02_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/26/be9b189ddcaca40b984e7a902f783044.jpg","text":"TemporaryFile(/tmp/multipartBody3061449944671848140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121942704,"filename":"image_26112025_01_16_59_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/26/17f993ff060cff398bdc43d501b70301.jpg","text":"TemporaryFile(/tmp/multipartBody7665884001357421925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121942704,"filename":"image_26112025_01_17_04_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396190297","file1":"1396190295","file0":"1396190294","file4":"1396190306","file5":"1396190309","file3":"1396190300"},"map_files_photo_id_array":[{"photo_id":"1396190309","filename":"file5"},{"photo_id":"1396190297","filename":"file2"},{"photo_id":"1396190306","filename":"file4"},{"photo_id":"1396190295","filename":"file1"},{"photo_id":"1396190294","filename":"file0"},{"photo_id":"1396190300","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396190306":["hashtag1","hashtag2"]},{"1396190309":["hashtag1","hashtag2"]},{"1396190300":["hashtag1","hashtag2"]},{"1396190295":["hashtag1","hashtag2"]},{"1396190294":["hashtag1","hashtag2"]},{"1396190297":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396190306, 1396190309, 1396190300, 1396190295, 1396190294, 1396190297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.263773679733276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:52:02.682680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_17_3794.jpg', '/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_23_2520.jpg', '/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_25_2596.jpg', '/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_29_3781.jpg', '/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_32_2782.jpg', '/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_34_2517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_17_3794.jpg
/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_23_2520.jpg
/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_25_2596.jpg
/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_29_3781.jpg
/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_32_2782.jpg
/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_34_2517.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":["1396190327","1396190329","1396190331","1396190328","1396190322","1396190324"],"photo_ids_order":["1396190322","1396190324","1396190327","1396190328","1396190329","1396190331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9f8ea00ab42af0787d4476cc08fdb814.jpg","text":"TemporaryFile(/tmp/multipartBody5897008304037700431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121983421,"filename":"image_26112025_01_17_25_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/26/a76d129a67d9adef8b54affe403f730f.jpg","text":"TemporaryFile(/tmp/multipartBody7566644569151054912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121983421,"filename":"image_26112025_01_17_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/26/a9a7789b6e413a12c0ee6366ab3df87e.jpg","text":"TemporaryFile(/tmp/multipartBody7137315641297419767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121983421,"filename":"image_26112025_01_17_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/26/354eb10fe782ae9d8780ba5c0a9182ae.jpg","text":"TemporaryFile(/tmp/multipartBody9084929483598286103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121983421,"filename":"image_26112025_01_17_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/26/128c7c9e492c35d7993739d27db3cb5e.jpg","text":"TemporaryFile(/tmp/multipartBody1510604038214275649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121983421,"filename":"image_26112025_01_17_17_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/26/ab26c3778390de24138bedfda8e3ed93.jpg","text":"TemporaryFile(/tmp/multipartBody4597713652053328670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764121983421,"filename":"image_26112025_01_17_23_2520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396190327","file1":"1396190324","file0":"1396190322","file4":"1396190329","file5":"1396190331","file3":"1396190328"},"map_files_photo_id_array":[{"photo_id":"1396190331","filename":"file5"},{"photo_id":"1396190327","filename":"file2"},{"photo_id":"1396190329","filename":"file4"},{"photo_id":"1396190324","filename":"file1"},{"photo_id":"1396190322","filename":"file0"},{"photo_id":"1396190328","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396190327":["hashtag1","hashtag2"]},{"1396190329":["hashtag1","hashtag2"]},{"1396190331":["hashtag1","hashtag2"]},{"1396190328":["hashtag1","hashtag2"]},{"1396190322":["hashtag1","hashtag2"]},{"1396190324":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396190327, 1396190329, 1396190331, 1396190328, 1396190322, 1396190324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31245684623718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 02:52:42.286274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_38_3741.jpg', '/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_41_2705.jpg', '/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_44_2662.jpg', '/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_47_3721.jpg', '/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_50_2949.jpg', '/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_53_2522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_38_3741.jpg
/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_41_2705.jpg
/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_44_2662.jpg
/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_47_3721.jpg
/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_50_2949.jpg
/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_53_2522.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":["1396190341","1396190338","1396190340","1396190342","1396190336","1396190339"],"photo_ids_order":["1396190336","1396190338","1396190339","1396190340","1396190341","1396190342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ac7c2f3b45d9356d9b9e9e0a6eed6d40.jpg","text":"TemporaryFile(/tmp/multipartBody6859758304363537348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122023024,"filename":"image_26112025_01_17_50_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/26/288c7a797bef3fd83064f9bb8816bf5d.jpg","text":"TemporaryFile(/tmp/multipartBody8308775874572922023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122023024,"filename":"image_26112025_01_17_41_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/26/15eb7110c77ac96e36d3def7ca07ba62.jpg","text":"TemporaryFile(/tmp/multipartBody8391229440983482379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122023024,"filename":"image_26112025_01_17_47_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/26/7efa117400c26f9f808b6dc8574e0c67.jpg","text":"TemporaryFile(/tmp/multipartBody5443657918798549356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122023024,"filename":"image_26112025_01_17_53_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/26/bff68c2b05953bb609cc9c613e4d2fc2.jpg","text":"TemporaryFile(/tmp/multipartBody6745956910803619886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122023024,"filename":"image_26112025_01_17_38_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/26/3d2c9832aebb129b72fab028241ae3b3.jpg","text":"TemporaryFile(/tmp/multipartBody2785624716874971053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122023024,"filename":"image_26112025_01_17_44_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396190339","file1":"1396190338","file0":"1396190336","file4":"1396190341","file5":"1396190342","file3":"1396190340"},"map_files_photo_id_array":[{"photo_id":"1396190342","filename":"file5"},{"photo_id":"1396190339","filename":"file2"},{"photo_id":"1396190341","filename":"file4"},{"photo_id":"1396190338","filename":"file1"},{"photo_id":"1396190336","filename":"file0"},{"photo_id":"1396190340","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396190341":["hashtag1","hashtag2"]},{"1396190338":["hashtag1","hashtag2"]},{"1396190340":["hashtag1","hashtag2"]},{"1396190342":["hashtag1","hashtag2"]},{"1396190336":["hashtag1","hashtag2"]},{"1396190339":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396190341, 1396190338, 1396190340, 1396190342, 1396190336, 1396190339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.790244340896606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 02:53:22.489583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_55_2654.jpg', '/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_59_3794.jpg', '/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_02_2521.jpg', '/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_04_2557.jpg', '/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_11_2934.jpg', '/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_14_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_55_2654.jpg
/home/pi/Desktop/images/26112025/01/17/image_26112025_01_17_59_3794.jpg
/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_02_2521.jpg
/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_04_2557.jpg
/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_11_2934.jpg
/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_14_2664.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":["1396190353","1396190356","1396190358","1396190355","1396190360","1396190351"],"photo_ids_order":["1396190351","1396190353","1396190355","1396190356","1396190358","1396190360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/989fce1ff2b149ae2a5540a88ad9e395.jpg","text":"TemporaryFile(/tmp/multipartBody820406932134400189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122063160,"filename":"image_26112025_01_17_59_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/26/e224f623dc4581d5a86864089971412f.jpg","text":"TemporaryFile(/tmp/multipartBody2992887271615435864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122063160,"filename":"image_26112025_01_18_04_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/26/1f049ea7ac7f4a158dea0896b7d8415f.jpg","text":"TemporaryFile(/tmp/multipartBody3640037047652965032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122063160,"filename":"image_26112025_01_18_11_2934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dc510064dba83eaaee9925520d2d1f5a.jpg","text":"TemporaryFile(/tmp/multipartBody8446591588787078221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122063160,"filename":"image_26112025_01_18_02_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/26/4d7719ea6f14c6b49ff553df05e3e2ec.jpg","text":"TemporaryFile(/tmp/multipartBody6185979263820685398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122063160,"filename":"image_26112025_01_18_14_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/26/281b192e011829b2cae5f0ed8dbe3937.jpg","text":"TemporaryFile(/tmp/multipartBody1371102926115249389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122063160,"filename":"image_26112025_01_17_55_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396190355","file1":"1396190353","file0":"1396190351","file4":"1396190358","file5":"1396190360","file3":"1396190356"},"map_files_photo_id_array":[{"photo_id":"1396190360","filename":"file5"},{"photo_id":"1396190355","filename":"file2"},{"photo_id":"1396190358","filename":"file4"},{"photo_id":"1396190353","filename":"file1"},{"photo_id":"1396190351","filename":"file0"},{"photo_id":"1396190356","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396190353":["hashtag1","hashtag2"]},{"1396190356":["hashtag1","hashtag2"]},{"1396190358":["hashtag1","hashtag2"]},{"1396190355":["hashtag1","hashtag2"]},{"1396190360":["hashtag1","hashtag2"]},{"1396190351":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396190353, 1396190356, 1396190358, 1396190355, 1396190360, 1396190351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.78932189941406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 02:54:12.567772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_17_3578.jpg', '/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_20_2638.jpg', '/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_22_2497.jpg', '/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_26_3666.jpg', '/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_32_2805.jpg', '/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_35_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_17_3578.jpg
/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_20_2638.jpg
/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_22_2497.jpg
/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_26_3666.jpg
/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_32_2805.jpg
/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_35_3682.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":["1396190380","1396190382","1396190373","1396190381","1396190375","1396190378"],"photo_ids_order":["1396190373","1396190375","1396190378","1396190380","1396190381","1396190382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6e1dd4b270e5496b3f920a13f019e750.jpg","text":"TemporaryFile(/tmp/multipartBody4550741408632968888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122113271,"filename":"image_26112025_01_18_26_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/26/ded131ff3b0ab7f7c2a1ff7756b75803.jpg","text":"TemporaryFile(/tmp/multipartBody8482812824251353993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122113271,"filename":"image_26112025_01_18_35_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3e9d8b7fc8525a7201ce35db36da5fef.jpg","text":"TemporaryFile(/tmp/multipartBody7298416707759502855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122113271,"filename":"image_26112025_01_18_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/26/7d8e0700ac8271aba55a7d9eec35158c.jpg","text":"TemporaryFile(/tmp/multipartBody3766525641294640231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122113271,"filename":"image_26112025_01_18_32_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/26/dd6d35696d268408082103d73c17ae71.jpg","text":"TemporaryFile(/tmp/multipartBody1506842397614508727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122113271,"filename":"image_26112025_01_18_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/26/6f8ffb77da4fb16247917ce7296709db.jpg","text":"TemporaryFile(/tmp/multipartBody2469735648882098065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122113271,"filename":"image_26112025_01_18_22_2497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396190378","file1":"1396190375","file0":"1396190373","file4":"1396190381","file5":"1396190382","file3":"1396190380"},"map_files_photo_id_array":[{"photo_id":"1396190382","filename":"file5"},{"photo_id":"1396190378","filename":"file2"},{"photo_id":"1396190381","filename":"file4"},{"photo_id":"1396190375","filename":"file1"},{"photo_id":"1396190373","filename":"file0"},{"photo_id":"1396190380","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396190380":["hashtag1","hashtag2"]},{"1396190382":["hashtag1","hashtag2"]},{"1396190373":["hashtag1","hashtag2"]},{"1396190381":["hashtag1","hashtag2"]},{"1396190375":["hashtag1","hashtag2"]},{"1396190378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396190380, 1396190382, 1396190373, 1396190381, 1396190375, 1396190378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.126277923583984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:55:03.349366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_38_2707.jpg', '/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_41_2744.jpg', '/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_43_2715.jpg', '/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_47_3528.jpg', '/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_50_2783.jpg', '/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_52_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_38_2707.jpg
/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_41_2744.jpg
/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_43_2715.jpg
/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_47_3528.jpg
/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_50_2783.jpg
/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_52_2665.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":["1396190405","1396190398","1396190401","1396190410","1396190407","1396190403"],"photo_ids_order":["1396190398","1396190401","1396190403","1396190405","1396190407","1396190410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2a0af73a6ab2194a92af207cbfdc6b0a.jpg","text":"TemporaryFile(/tmp/multipartBody7586319465519062125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122164170,"filename":"image_26112025_01_18_47_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/26/a83b89df291c0386c5369c51daf9d55c.jpg","text":"TemporaryFile(/tmp/multipartBody4162579360274116099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122164170,"filename":"image_26112025_01_18_38_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/26/0603c13f4e832516c4eb2767fbc6da8a.jpg","text":"TemporaryFile(/tmp/multipartBody4950459189991892025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122164170,"filename":"image_26112025_01_18_41_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/26/9a237490012e2c24ca315539fda64e80.jpg","text":"TemporaryFile(/tmp/multipartBody712672665739298070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122164170,"filename":"image_26112025_01_18_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/26/2828a2f285f8fe1c1184868215aaf766.jpg","text":"TemporaryFile(/tmp/multipartBody7834557798942251017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122164170,"filename":"image_26112025_01_18_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/26/a4d16f90d5a8fefd831c1bd77285d004.jpg","text":"TemporaryFile(/tmp/multipartBody625385038442220287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122164170,"filename":"image_26112025_01_18_43_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396190403","file1":"1396190401","file0":"1396190398","file4":"1396190407","file5":"1396190410","file3":"1396190405"},"map_files_photo_id_array":[{"photo_id":"1396190410","filename":"file5"},{"photo_id":"1396190403","filename":"file2"},{"photo_id":"1396190407","filename":"file4"},{"photo_id":"1396190401","filename":"file1"},{"photo_id":"1396190398","filename":"file0"},{"photo_id":"1396190405","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396190405":["hashtag1","hashtag2"]},{"1396190398":["hashtag1","hashtag2"]},{"1396190401":["hashtag1","hashtag2"]},{"1396190410":["hashtag1","hashtag2"]},{"1396190407":["hashtag1","hashtag2"]},{"1396190403":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396190405, 1396190398, 1396190401, 1396190410, 1396190407, 1396190403)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.588817834854126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:56:02.990414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_56_3695.jpg', '/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_59_2631.jpg', '/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_01_2638.jpg', '/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_05_3613.jpg', '/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_08_2703.jpg', '/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_11_3398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_56_3695.jpg
/home/pi/Desktop/images/26112025/01/18/image_26112025_01_18_59_2631.jpg
/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_01_2638.jpg
/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_05_3613.jpg
/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_08_2703.jpg
/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_11_3398.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":["1396190426","1396190429","1396190431","1396190428","1396190425","1396190427"],"photo_ids_order":["1396190425","1396190426","1396190427","1396190428","1396190429","1396190431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5646d43b7f32340e732db82c7cb8b263.jpg","text":"TemporaryFile(/tmp/multipartBody2616512790556021305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122223708,"filename":"image_26112025_01_18_59_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/26/01576d44edd51af3f7f03b2c4b54480c.jpg","text":"TemporaryFile(/tmp/multipartBody7900868846145202992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122223708,"filename":"image_26112025_01_19_08_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/26/ede1a66b5445eed180bf3dced3637ac7.jpg","text":"TemporaryFile(/tmp/multipartBody1100878384946101036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122223708,"filename":"image_26112025_01_19_11_3398.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5e3007962d2049c1a4349d815976a027.jpg","text":"TemporaryFile(/tmp/multipartBody8645586080011955833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122223708,"filename":"image_26112025_01_19_05_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/26/b0db601e79c2eb8472b8e130865c3103.jpg","text":"TemporaryFile(/tmp/multipartBody1158909849732949371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122223708,"filename":"image_26112025_01_18_56_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/26/722cae8ff33f8f283c007181ced96c02.jpg","text":"TemporaryFile(/tmp/multipartBody7761349281957961186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122223708,"filename":"image_26112025_01_19_01_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396190427","file1":"1396190426","file0":"1396190425","file4":"1396190429","file5":"1396190431","file3":"1396190428"},"map_files_photo_id_array":[{"photo_id":"1396190431","filename":"file5"},{"photo_id":"1396190427","filename":"file2"},{"photo_id":"1396190429","filename":"file4"},{"photo_id":"1396190426","filename":"file1"},{"photo_id":"1396190425","filename":"file0"},{"photo_id":"1396190428","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396190426":["hashtag1","hashtag2"]},{"1396190429":["hashtag1","hashtag2"]},{"1396190431":["hashtag1","hashtag2"]},{"1396190428":["hashtag1","hashtag2"]},{"1396190425":["hashtag1","hashtag2"]},{"1396190427":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396190426, 1396190429, 1396190431, 1396190428, 1396190425, 1396190427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55768013000488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 02:56:42.350717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_14_2645.jpg', '/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_16_2720.jpg', '/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_20_3644.jpg', '/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_23_2698.jpg', '/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_25_2743.jpg', '/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_28_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_14_2645.jpg
/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_16_2720.jpg
/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_20_3644.jpg
/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_23_2698.jpg
/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_25_2743.jpg
/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_28_2682.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":["1396190440","1396190442","1396190439","1396190436","1396190441","1396190438"],"photo_ids_order":["1396190436","1396190438","1396190439","1396190440","1396190441","1396190442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/186bb5f51fe05f3cbdb898eaea102009.jpg","text":"TemporaryFile(/tmp/multipartBody4680565317645477033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122263024,"filename":"image_26112025_01_19_23_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/26/d5eacdc3b22fa739d1cbc440678ecf4a.jpg","text":"TemporaryFile(/tmp/multipartBody7867388978751773098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122263024,"filename":"image_26112025_01_19_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/26/f3c257a620dcebbde32049bba5d7d6e9.jpg","text":"TemporaryFile(/tmp/multipartBody1545200001599962431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122263024,"filename":"image_26112025_01_19_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/26/75f9a647e3cdb0b079105608187f48e1.jpg","text":"TemporaryFile(/tmp/multipartBody6669627300634760489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122263024,"filename":"image_26112025_01_19_14_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/26/c5bab786b1ffec1076250313e29d8511.jpg","text":"TemporaryFile(/tmp/multipartBody8570439784884184493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122263024,"filename":"image_26112025_01_19_25_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/26/db9cfe04469e2d621adf0c5fc9a28c0d.jpg","text":"TemporaryFile(/tmp/multipartBody7653390216394470203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122263024,"filename":"image_26112025_01_19_16_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396190439","file1":"1396190438","file0":"1396190436","file4":"1396190441","file5":"1396190442","file3":"1396190440"},"map_files_photo_id_array":[{"photo_id":"1396190442","filename":"file5"},{"photo_id":"1396190439","filename":"file2"},{"photo_id":"1396190441","filename":"file4"},{"photo_id":"1396190438","filename":"file1"},{"photo_id":"1396190436","filename":"file0"},{"photo_id":"1396190440","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396190440":["hashtag1","hashtag2"]},{"1396190442":["hashtag1","hashtag2"]},{"1396190439":["hashtag1","hashtag2"]},{"1396190436":["hashtag1","hashtag2"]},{"1396190441":["hashtag1","hashtag2"]},{"1396190438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396190440, 1396190442, 1396190439, 1396190436, 1396190441, 1396190438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85256099700928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 02:57:22.604394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_32_3646.jpg', '/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_34_2674.jpg', '/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_37_2624.jpg', '/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_41_3587.jpg', '/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_47_3690.jpg', '/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_50_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_32_3646.jpg
/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_34_2674.jpg
/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_37_2624.jpg
/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_41_3587.jpg
/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_47_3690.jpg
/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_50_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":["1396190447","1396190452","1396190445","1396190454","1396190448","1396190450"],"photo_ids_order":["1396190445","1396190447","1396190448","1396190450","1396190452","1396190454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6a57f89a65fa6ca49472aeea439f0d0e.jpg","text":"TemporaryFile(/tmp/multipartBody6376347307463702413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122303267,"filename":"image_26112025_01_19_34_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/26/911c77f64c4572a0b680b20a3f6a3ff3.jpg","text":"TemporaryFile(/tmp/multipartBody2191095694439328392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122303267,"filename":"image_26112025_01_19_47_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/26/49600a4ea9bcdfc6c9c1883f489a2e2b.jpg","text":"TemporaryFile(/tmp/multipartBody4902400332371309317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122303267,"filename":"image_26112025_01_19_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/26/be30b21cc106aba85c0a5d0e64662a2e.jpg","text":"TemporaryFile(/tmp/multipartBody4327568784652958983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122303267,"filename":"image_26112025_01_19_50_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/26/6bb89cc0ef6f1c7b218e74c7fe3aec94.jpg","text":"TemporaryFile(/tmp/multipartBody5016782287443571036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122303267,"filename":"image_26112025_01_19_37_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/26/97de0cc1ca31b44ba048c791d01420f8.jpg","text":"TemporaryFile(/tmp/multipartBody7148512953720184516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122303267,"filename":"image_26112025_01_19_41_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396190448","file1":"1396190447","file0":"1396190445","file4":"1396190452","file5":"1396190454","file3":"1396190450"},"map_files_photo_id_array":[{"photo_id":"1396190454","filename":"file5"},{"photo_id":"1396190448","filename":"file2"},{"photo_id":"1396190452","filename":"file4"},{"photo_id":"1396190447","filename":"file1"},{"photo_id":"1396190445","filename":"file0"},{"photo_id":"1396190450","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396190447":["hashtag1","hashtag2"]},{"1396190452":["hashtag1","hashtag2"]},{"1396190445":["hashtag1","hashtag2"]},{"1396190454":["hashtag1","hashtag2"]},{"1396190448":["hashtag1","hashtag2"]},{"1396190450":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396190447, 1396190452, 1396190445, 1396190454, 1396190448, 1396190450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.852303981781006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 02:59:02.601795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_52_2606.jpg', '/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_56_3657.jpg', '/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_58_2554.jpg', '/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_01_2635.jpg', '/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_05_3807.jpg', '/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_08_2858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_52_2606.jpg
/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_56_3657.jpg
/home/pi/Desktop/images/26112025/01/19/image_26112025_01_19_58_2554.jpg
/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_01_2635.jpg
/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_05_3807.jpg
/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_08_2858.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":["1396190484","1396190472","1396190480","1396190474","1396190477","1396190465"],"photo_ids_order":["1396190465","1396190472","1396190474","1396190477","1396190480","1396190484"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6b870680106c3527c9eda82e297ef72b.jpg","text":"TemporaryFile(/tmp/multipartBody6617626671427663170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122403509,"filename":"image_26112025_01_20_08_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/26/24c40f745ea171b2bc17b40c4132519f.jpg","text":"TemporaryFile(/tmp/multipartBody4925272159218095813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122403509,"filename":"image_26112025_01_19_56_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/26/d2271773ba11df14d0bc01649c0b8959.jpg","text":"TemporaryFile(/tmp/multipartBody7169948883237802154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122403509,"filename":"image_26112025_01_20_05_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/26/d8ed1c11c9e9cb69ecffdb8d1064e083.jpg","text":"TemporaryFile(/tmp/multipartBody4029862217857895628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122403509,"filename":"image_26112025_01_19_58_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/26/c7e14cecdb81b1eabc112bba3ca82ebc.jpg","text":"TemporaryFile(/tmp/multipartBody4795456452406751650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122403509,"filename":"image_26112025_01_20_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/26/9ef90604f40c2c31990b80b6ff93eb4e.jpg","text":"TemporaryFile(/tmp/multipartBody1641912511829152635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122403509,"filename":"image_26112025_01_19_52_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396190474","file1":"1396190472","file0":"1396190465","file4":"1396190480","file5":"1396190484","file3":"1396190477"},"map_files_photo_id_array":[{"photo_id":"1396190484","filename":"file5"},{"photo_id":"1396190474","filename":"file2"},{"photo_id":"1396190480","filename":"file4"},{"photo_id":"1396190472","filename":"file1"},{"photo_id":"1396190465","filename":"file0"},{"photo_id":"1396190477","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396190484":["hashtag1","hashtag2"]},{"1396190472":["hashtag1","hashtag2"]},{"1396190480":["hashtag1","hashtag2"]},{"1396190474":["hashtag1","hashtag2"]},{"1396190477":["hashtag1","hashtag2"]},{"1396190465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396190484, 1396190472, 1396190480, 1396190474, 1396190477, 1396190465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.417779207229614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 02:59:41.848502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_11_2773.jpg', '/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_13_2647.jpg', '/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_17_3569.jpg', '/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_20_2785.jpg', '/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_22_2563.jpg', '/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_26_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_11_2773.jpg
/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_13_2647.jpg
/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_17_3569.jpg
/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_20_2785.jpg
/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_22_2563.jpg
/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_26_3694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396190497","1396190491","1396190493","1396190487","1396190495","1396190489"],"photo_ids_order":["1396190487","1396190489","1396190491","1396190493","1396190495","1396190497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/63453cdbdcc0614f9cb4c0a4215adee2.jpg","text":"TemporaryFile(/tmp/multipartBody6630690911883309486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122442549,"filename":"image_26112025_01_20_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/26/41a70d46b687cd57504e076d1c0e4556.jpg","text":"TemporaryFile(/tmp/multipartBody6256442363515161126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122442549,"filename":"image_26112025_01_20_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/26/3a0128ad567d39bff8f82241680bc2bc.jpg","text":"TemporaryFile(/tmp/multipartBody8057557541021666024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122442549,"filename":"image_26112025_01_20_20_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1e7cd6258196aaf9edd9395358b18142.jpg","text":"TemporaryFile(/tmp/multipartBody5683283749381956599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122442549,"filename":"image_26112025_01_20_11_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/26/e5a06aed6f489be140eab516d7bac60b.jpg","text":"TemporaryFile(/tmp/multipartBody4914262057881010288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122442549,"filename":"image_26112025_01_20_22_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/26/1b6eef8d70c3b64c2a09e3c825702f23.jpg","text":"TemporaryFile(/tmp/multipartBody5635514271660827808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122442549,"filename":"image_26112025_01_20_13_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396190491","file1":"1396190489","file0":"1396190487","file4":"1396190495","file5":"1396190497","file3":"1396190493"},"map_files_photo_id_array":[{"photo_id":"1396190497","filename":"file5"},{"photo_id":"1396190491","filename":"file2"},{"photo_id":"1396190495","filename":"file4"},{"photo_id":"1396190489","filename":"file1"},{"photo_id":"1396190487","filename":"file0"},{"photo_id":"1396190493","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396190497":["hashtag1","hashtag2"]},{"1396190491":["hashtag1","hashtag2"]},{"1396190493":["hashtag1","hashtag2"]},{"1396190487":["hashtag1","hashtag2"]},{"1396190495":["hashtag1","hashtag2"]},{"1396190489":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396190497, 1396190491, 1396190493, 1396190487, 1396190495, 1396190489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67715907096863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:00:25.985161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_29_2774.jpg', '/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_31_2638.jpg', '/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_35_3581.jpg', '/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_37_2701.jpg', '/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_40_2868.jpg', '/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_43_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_29_2774.jpg
/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_31_2638.jpg
/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_35_3581.jpg
/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_37_2701.jpg
/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_40_2868.jpg
/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_43_2768.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":["1396190507","1396190501","1396190509","1396190503","1396190511","1396190505"],"photo_ids_order":["1396190501","1396190503","1396190505","1396190507","1396190509","1396190511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e2d9dabc591b874ca58c7dc86fc76469.jpg","text":"TemporaryFile(/tmp/multipartBody4561262813067880220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122486657,"filename":"image_26112025_01_20_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/26/3a4c40b0505581f8313cbaa3520263ad.jpg","text":"TemporaryFile(/tmp/multipartBody8580636813760107363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122486657,"filename":"image_26112025_01_20_29_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/26/f73c2c87addcb28033d11d3f0ddb531e.jpg","text":"TemporaryFile(/tmp/multipartBody320504816733252815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122486657,"filename":"image_26112025_01_20_40_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/26/5716e770c89106abfb4c65141fca3437.jpg","text":"TemporaryFile(/tmp/multipartBody7613307777279652970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122486657,"filename":"image_26112025_01_20_31_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/26/c15d3aca95cae5ec01b0aba4f9108af7.jpg","text":"TemporaryFile(/tmp/multipartBody8369130019569760592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122486657,"filename":"image_26112025_01_20_43_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/26/421bcc8db783f16a7c7551bdbd95bdae.jpg","text":"TemporaryFile(/tmp/multipartBody4751010825868339091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122486657,"filename":"image_26112025_01_20_35_3581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396190505","file1":"1396190503","file0":"1396190501","file4":"1396190509","file5":"1396190511","file3":"1396190507"},"map_files_photo_id_array":[{"photo_id":"1396190511","filename":"file5"},{"photo_id":"1396190505","filename":"file2"},{"photo_id":"1396190509","filename":"file4"},{"photo_id":"1396190503","filename":"file1"},{"photo_id":"1396190501","filename":"file0"},{"photo_id":"1396190507","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396190507":["hashtag1","hashtag2"]},{"1396190501":["hashtag1","hashtag2"]},{"1396190509":["hashtag1","hashtag2"]},{"1396190503":["hashtag1","hashtag2"]},{"1396190511":["hashtag1","hashtag2"]},{"1396190505":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396190507, 1396190501, 1396190509, 1396190503, 1396190511, 1396190505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.185035943984985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:01:02.895846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_47_3648.jpg', '/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_49_2489.jpg', '/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_52_2784.jpg', '/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_56_3626.jpg', '/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_58_2633.jpg', '/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_01_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_47_3648.jpg
/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_49_2489.jpg
/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_52_2784.jpg
/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_56_3626.jpg
/home/pi/Desktop/images/26112025/01/20/image_26112025_01_20_58_2633.jpg
/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_01_2656.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":["1396190525","1396190527","1396190512","1396190524","1396190520","1396190522"],"photo_ids_order":["1396190512","1396190520","1396190522","1396190524","1396190525","1396190527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/98d8ccf32192eb690941e86f92976045.jpg","text":"TemporaryFile(/tmp/multipartBody5095907477433681551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122523673,"filename":"image_26112025_01_20_58_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ff278a91350f76235f9c048deb7ba553.jpg","text":"TemporaryFile(/tmp/multipartBody2426095593286160628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122523673,"filename":"image_26112025_01_21_01_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/26/0565a63ce8f6e5db4c70ca3d4ea0595c.jpg","text":"TemporaryFile(/tmp/multipartBody5777989955471646359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122523673,"filename":"image_26112025_01_20_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/26/48057a079a7f44bf2b887ebaac863387.jpg","text":"TemporaryFile(/tmp/multipartBody6044335858298356431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122523673,"filename":"image_26112025_01_20_56_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/26/ab955e3619f2bde9d07e0c9dd41bff43.jpg","text":"TemporaryFile(/tmp/multipartBody83932606824636036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122523673,"filename":"image_26112025_01_20_49_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/26/54bdee603a98f03422e1717d9fd40ee6.jpg","text":"TemporaryFile(/tmp/multipartBody3893914688964013217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122523673,"filename":"image_26112025_01_20_52_2784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396190522","file1":"1396190520","file0":"1396190512","file4":"1396190525","file5":"1396190527","file3":"1396190524"},"map_files_photo_id_array":[{"photo_id":"1396190527","filename":"file5"},{"photo_id":"1396190522","filename":"file2"},{"photo_id":"1396190525","filename":"file4"},{"photo_id":"1396190520","filename":"file1"},{"photo_id":"1396190512","filename":"file0"},{"photo_id":"1396190524","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396190525":["hashtag1","hashtag2"]},{"1396190527":["hashtag1","hashtag2"]},{"1396190512":["hashtag1","hashtag2"]},{"1396190524":["hashtag1","hashtag2"]},{"1396190520":["hashtag1","hashtag2"]},{"1396190522":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396190525, 1396190527, 1396190512, 1396190524, 1396190520, 1396190522)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.201873779296875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:02:03.046722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_05_3544.jpg', '/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_07_2538.jpg', '/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_11_3538.jpg', '/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_17_3566.jpg', '/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_19_2728.jpg', '/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_22_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_05_3544.jpg
/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_07_2538.jpg
/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_11_3538.jpg
/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_17_3566.jpg
/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_19_2728.jpg
/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_22_2579.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":["1396190533","1396190550","1396190544","1396190538","1396190535","1396190537"],"photo_ids_order":["1396190533","1396190535","1396190537","1396190538","1396190544","1396190550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bac650378c2e910b7689be66ff6d062b.jpg","text":"TemporaryFile(/tmp/multipartBody7578407897255656973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122583780,"filename":"image_26112025_01_21_05_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/26/8c79ae12679ac83be5b54678c06ce097.jpg","text":"TemporaryFile(/tmp/multipartBody4030462531633453798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122583780,"filename":"image_26112025_01_21_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/26/7ef92814002ad516dc2f933b1dab9ac1.jpg","text":"TemporaryFile(/tmp/multipartBody1423626192699636894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122583780,"filename":"image_26112025_01_21_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/26/f71e751320e12de9e23fea7a055b80fd.jpg","text":"TemporaryFile(/tmp/multipartBody649815398700221335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122583780,"filename":"image_26112025_01_21_17_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/26/5c89ae9424661cbfc34918d723d6eab1.jpg","text":"TemporaryFile(/tmp/multipartBody5031761364892093902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122583780,"filename":"image_26112025_01_21_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/26/72ee05b1cd0a3910f568b855b9ccbe04.jpg","text":"TemporaryFile(/tmp/multipartBody8817522639314835208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122583780,"filename":"image_26112025_01_21_11_3538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396190537","file1":"1396190535","file0":"1396190533","file4":"1396190544","file5":"1396190550","file3":"1396190538"},"map_files_photo_id_array":[{"photo_id":"1396190550","filename":"file5"},{"photo_id":"1396190537","filename":"file2"},{"photo_id":"1396190544","filename":"file4"},{"photo_id":"1396190535","filename":"file1"},{"photo_id":"1396190533","filename":"file0"},{"photo_id":"1396190538","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396190533":["hashtag1","hashtag2"]},{"1396190550":["hashtag1","hashtag2"]},{"1396190544":["hashtag1","hashtag2"]},{"1396190538":["hashtag1","hashtag2"]},{"1396190535":["hashtag1","hashtag2"]},{"1396190537":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396190533, 1396190550, 1396190544, 1396190538, 1396190535, 1396190537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.494225025177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 03:02:42.570111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_26_3621.jpg', '/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_28_2648.jpg', '/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_32_3511.jpg', '/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_34_2572.jpg', '/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_37_2709.jpg', '/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_41_3567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_26_3621.jpg
/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_28_2648.jpg
/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_32_3511.jpg
/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_34_2572.jpg
/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_37_2709.jpg
/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_41_3567.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":["1396190572","1396190643","1396190712","1396190678","1396190564","1396190609"],"photo_ids_order":["1396190564","1396190572","1396190609","1396190643","1396190678","1396190712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/027dbd8207456d1e278ebeee309eae1e.jpg","text":"TemporaryFile(/tmp/multipartBody5480898401854797553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122623227,"filename":"image_26112025_01_21_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/26/4f8be2194b5efea6265899d3b5f5aabd.jpg","text":"TemporaryFile(/tmp/multipartBody7302537916558415596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122623227,"filename":"image_26112025_01_21_34_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/26/0c428df20c62fde8e48a472e1acf2596.jpg","text":"TemporaryFile(/tmp/multipartBody2915815073032031091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122623227,"filename":"image_26112025_01_21_41_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/26/60a096c34ec17ff74976fa8adc33d4d1.jpg","text":"TemporaryFile(/tmp/multipartBody207948215458825372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122623227,"filename":"image_26112025_01_21_37_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/26/6c5479553b9a5ebecf9bcb76bf1ee8cc.jpg","text":"TemporaryFile(/tmp/multipartBody7488742624761942157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122623227,"filename":"image_26112025_01_21_26_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/26/14279043fd1b121dc292befe432681ca.jpg","text":"TemporaryFile(/tmp/multipartBody721597485864445730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122623227,"filename":"image_26112025_01_21_32_3511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396190609","file1":"1396190572","file0":"1396190564","file4":"1396190678","file5":"1396190712","file3":"1396190643"},"map_files_photo_id_array":[{"photo_id":"1396190712","filename":"file5"},{"photo_id":"1396190609","filename":"file2"},{"photo_id":"1396190678","filename":"file4"},{"photo_id":"1396190572","filename":"file1"},{"photo_id":"1396190564","filename":"file0"},{"photo_id":"1396190643","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396190572":["hashtag1","hashtag2"]},{"1396190643":["hashtag1","hashtag2"]},{"1396190712":["hashtag1","hashtag2"]},{"1396190678":["hashtag1","hashtag2"]},{"1396190564":["hashtag1","hashtag2"]},{"1396190609":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396190572, 1396190643, 1396190712, 1396190678, 1396190564, 1396190609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.94152116775513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:03:22.848486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_43_2611.jpg', '/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_49_2635.jpg', '/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_52_2709.jpg', '/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_56_3627.jpg', '/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_58_2536.jpg', '/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_01_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_43_2611.jpg
/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_49_2635.jpg
/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_52_2709.jpg
/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_56_3627.jpg
/home/pi/Desktop/images/26112025/01/21/image_26112025_01_21_58_2536.jpg
/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_01_2656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396190866","1396191019","1396190905","1396191054","1396190984","1396190945"],"photo_ids_order":["1396190866","1396190905","1396190945","1396190984","1396191019","1396191054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1c359a83daf51a2606cb3b75115a5dc1.jpg","text":"TemporaryFile(/tmp/multipartBody854682026325354295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122664407,"filename":"image_26112025_01_21_43_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/26/d27ce7ced63a9ee2c0ff7292a9e4f700.jpg","text":"TemporaryFile(/tmp/multipartBody3211655204736685885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122664407,"filename":"image_26112025_01_21_58_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/26/9206e809c35be19360253015d368716c.jpg","text":"TemporaryFile(/tmp/multipartBody5103051291895160791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122664407,"filename":"image_26112025_01_21_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/26/04b7df5d219b716618764e4f62fcef47.jpg","text":"TemporaryFile(/tmp/multipartBody7287351341349654368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122664407,"filename":"image_26112025_01_22_01_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/26/067b46ccdbbee7ff1bfffac15dd67288.jpg","text":"TemporaryFile(/tmp/multipartBody4671804512451075646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122664407,"filename":"image_26112025_01_21_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/26/ce501a5916e7388e02556c7cd6215cfc.jpg","text":"TemporaryFile(/tmp/multipartBody96464011603977394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122664407,"filename":"image_26112025_01_21_52_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396190945","file1":"1396190905","file0":"1396190866","file4":"1396191019","file5":"1396191054","file3":"1396190984"},"map_files_photo_id_array":[{"photo_id":"1396191054","filename":"file5"},{"photo_id":"1396190945","filename":"file2"},{"photo_id":"1396191019","filename":"file4"},{"photo_id":"1396190905","filename":"file1"},{"photo_id":"1396190866","filename":"file0"},{"photo_id":"1396190984","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396190866":["hashtag1","hashtag2"]},{"1396191019":["hashtag1","hashtag2"]},{"1396190905":["hashtag1","hashtag2"]},{"1396191054":["hashtag1","hashtag2"]},{"1396190984":["hashtag1","hashtag2"]},{"1396190945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396190866, 1396191019, 1396190905, 1396191054, 1396190984, 1396190945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.459980487823486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:04:02.688328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_05_3661.jpg', '/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_07_2766.jpg', '/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_10_2799.jpg', '/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_13_2649.jpg', '/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_17_3645.jpg', '/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_19_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_05_3661.jpg
/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_07_2766.jpg
/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_10_2799.jpg
/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_13_2649.jpg
/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_17_3645.jpg
/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_19_2678.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":["1396191136","1396191174","1396191084","1396191087","1396191098","1396191085"],"photo_ids_order":["1396191084","1396191085","1396191087","1396191098","1396191136","1396191174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c24b33c9adeb58b6ade6d887002f2b3b.jpg","text":"TemporaryFile(/tmp/multipartBody1152062893378836386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122703468,"filename":"image_26112025_01_22_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/26/f547044394d1f69d9ca42ffdf8441f85.jpg","text":"TemporaryFile(/tmp/multipartBody6427020555387390087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122703468,"filename":"image_26112025_01_22_19_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1c97222f86ff4d673ff942279973b75d.jpg","text":"TemporaryFile(/tmp/multipartBody5372629811394015621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122703468,"filename":"image_26112025_01_22_05_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/26/129170cb1e6d8c9a9d4818eff970e435.jpg","text":"TemporaryFile(/tmp/multipartBody2577910396803628924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122703468,"filename":"image_26112025_01_22_10_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/26/be5077fd71405b3e6a2d9d5b724c4370.jpg","text":"TemporaryFile(/tmp/multipartBody3960383397772238506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122703468,"filename":"image_26112025_01_22_13_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/06751f3fea40baf47e41dacf6162bfb3.jpg","text":"TemporaryFile(/tmp/multipartBody8352689899311214606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122703468,"filename":"image_26112025_01_22_07_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191087","file1":"1396191085","file0":"1396191084","file4":"1396191136","file5":"1396191174","file3":"1396191098"},"map_files_photo_id_array":[{"photo_id":"1396191174","filename":"file5"},{"photo_id":"1396191087","filename":"file2"},{"photo_id":"1396191136","filename":"file4"},{"photo_id":"1396191085","filename":"file1"},{"photo_id":"1396191084","filename":"file0"},{"photo_id":"1396191098","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191136":["hashtag1","hashtag2"]},{"1396191174":["hashtag1","hashtag2"]},{"1396191084":["hashtag1","hashtag2"]},{"1396191087":["hashtag1","hashtag2"]},{"1396191098":["hashtag1","hashtag2"]},{"1396191085":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191136, 1396191174, 1396191084, 1396191087, 1396191098, 1396191085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.843433141708374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 03:04:42.064646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_22_2885.jpg', '/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_26_3730.jpg', '/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_28_2657.jpg', '/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_31_2555.jpg', '/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_34_2789.jpg', '/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_37_3616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_22_2885.jpg
/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_26_3730.jpg
/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_28_2657.jpg
/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_31_2555.jpg
/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_34_2789.jpg
/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_37_3616.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":["1396191249","1396191321","1396191302","1396191280","1396191227","1396191283"],"photo_ids_order":["1396191227","1396191249","1396191280","1396191283","1396191302","1396191321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/481ea4931a1c95e4606c1e0a73308bf2.jpg","text":"TemporaryFile(/tmp/multipartBody4389125665924697365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122742731,"filename":"image_26112025_01_22_26_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/26/1ebc0956ebe048e39ea1f8dd8946d4b8.jpg","text":"TemporaryFile(/tmp/multipartBody7136612297332960561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122742731,"filename":"image_26112025_01_22_37_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/26/767e2d8d6d9adaf4d4595477a147840e.jpg","text":"TemporaryFile(/tmp/multipartBody6639549379208430071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122742731,"filename":"image_26112025_01_22_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/26/e25c3057b1e368742894d955bb36f158.jpg","text":"TemporaryFile(/tmp/multipartBody4665287228982862646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122742731,"filename":"image_26112025_01_22_28_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/26/440d10e82cd78afc79d9e929a66471b2.jpg","text":"TemporaryFile(/tmp/multipartBody2533775881837458949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122742731,"filename":"image_26112025_01_22_22_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/26/1b7bccc14eb7401d1a4988de5981503e.jpg","text":"TemporaryFile(/tmp/multipartBody5735237619978290816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122742731,"filename":"image_26112025_01_22_31_2555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191280","file1":"1396191249","file0":"1396191227","file4":"1396191302","file5":"1396191321","file3":"1396191283"},"map_files_photo_id_array":[{"photo_id":"1396191321","filename":"file5"},{"photo_id":"1396191280","filename":"file2"},{"photo_id":"1396191302","filename":"file4"},{"photo_id":"1396191249","filename":"file1"},{"photo_id":"1396191227","filename":"file0"},{"photo_id":"1396191283","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191249":["hashtag1","hashtag2"]},{"1396191321":["hashtag1","hashtag2"]},{"1396191302":["hashtag1","hashtag2"]},{"1396191280":["hashtag1","hashtag2"]},{"1396191227":["hashtag1","hashtag2"]},{"1396191283":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191249, 1396191321, 1396191302, 1396191280, 1396191227, 1396191283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23379588127136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:05:22.294602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_40_2574.jpg', '/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_44_3668.jpg', '/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_46_2697.jpg', '/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_53_3634.jpg', '/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_56_2964.jpg', '/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_59_2812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_40_2574.jpg
/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_44_3668.jpg
/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_46_2697.jpg
/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_53_3634.jpg
/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_56_2964.jpg
/home/pi/Desktop/images/26112025/01/22/image_26112025_01_22_59_2812.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":["1396191343","1396191346","1396191349","1396191348","1396191336","1396191351"],"photo_ids_order":["1396191336","1396191343","1396191346","1396191348","1396191349","1396191351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a0d651adf4bdd91f6e3eacdbf196e1ff.jpg","text":"TemporaryFile(/tmp/multipartBody8753653914720489765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122782955,"filename":"image_26112025_01_22_44_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/26/3df30bee7d0faae75758b0ecd6a96acd.jpg","text":"TemporaryFile(/tmp/multipartBody4671799803584938192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122782955,"filename":"image_26112025_01_22_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/26/f7cb09622344d774b96b82dbc026dd28.jpg","text":"TemporaryFile(/tmp/multipartBody6305057200652375918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122782955,"filename":"image_26112025_01_22_56_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/26/9e056e207e919582444bd715351a5e35.jpg","text":"TemporaryFile(/tmp/multipartBody3264132267010216179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122782955,"filename":"image_26112025_01_22_53_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/26/943ccd6a80ab823bf56661ff06efc1c8.jpg","text":"TemporaryFile(/tmp/multipartBody1477133387964904372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122782955,"filename":"image_26112025_01_22_40_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/26/4288d690f81681aa690d473f73ddbbef.jpg","text":"TemporaryFile(/tmp/multipartBody882561096034585953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122782955,"filename":"image_26112025_01_22_59_2812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191346","file1":"1396191343","file0":"1396191336","file4":"1396191349","file5":"1396191351","file3":"1396191348"},"map_files_photo_id_array":[{"photo_id":"1396191351","filename":"file5"},{"photo_id":"1396191346","filename":"file2"},{"photo_id":"1396191349","filename":"file4"},{"photo_id":"1396191343","filename":"file1"},{"photo_id":"1396191336","filename":"file0"},{"photo_id":"1396191348","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191343":["hashtag1","hashtag2"]},{"1396191346":["hashtag1","hashtag2"]},{"1396191349":["hashtag1","hashtag2"]},{"1396191348":["hashtag1","hashtag2"]},{"1396191336":["hashtag1","hashtag2"]},{"1396191351":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191343, 1396191346, 1396191349, 1396191348, 1396191336, 1396191351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14749526977539 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:06:02.991700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_01_2576.jpg', '/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_05_3641.jpg', '/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_07_2506.jpg', '/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_10_2650.jpg', '/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_13_2916.jpg', '/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_19_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_01_2576.jpg
/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_05_3641.jpg
/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_07_2506.jpg
/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_10_2650.jpg
/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_13_2916.jpg
/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_19_3664.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":["1396191355","1396191363","1396191357","1396191359","1396191353","1396191361"],"photo_ids_order":["1396191353","1396191355","1396191357","1396191359","1396191361","1396191363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ad36f5527ae97f05af9a74d77b7da3d9.jpg","text":"TemporaryFile(/tmp/multipartBody8036082858859868808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122823712,"filename":"image_26112025_01_23_05_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/26/c6d8c3399eb9b58d8098ee6142c3d7ab.jpg","text":"TemporaryFile(/tmp/multipartBody5991289181566792921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122823712,"filename":"image_26112025_01_23_19_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/26/0e7417374610f5a29efa40ca3079b26d.jpg","text":"TemporaryFile(/tmp/multipartBody1713880460946175151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122823712,"filename":"image_26112025_01_23_07_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/26/5727736d7f7160f9a5c7c79f47bb04bb.jpg","text":"TemporaryFile(/tmp/multipartBody6254744447989146142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122823712,"filename":"image_26112025_01_23_10_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/26/2492beb11c0340407f2c7504cebedaa7.jpg","text":"TemporaryFile(/tmp/multipartBody8700341691450331070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122823712,"filename":"image_26112025_01_23_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/26/924b7e61a641b01395746cd20017f2cd.jpg","text":"TemporaryFile(/tmp/multipartBody5950362084294662718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122823712,"filename":"image_26112025_01_23_13_2916.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191357","file1":"1396191355","file0":"1396191353","file4":"1396191361","file5":"1396191363","file3":"1396191359"},"map_files_photo_id_array":[{"photo_id":"1396191363","filename":"file5"},{"photo_id":"1396191357","filename":"file2"},{"photo_id":"1396191361","filename":"file4"},{"photo_id":"1396191355","filename":"file1"},{"photo_id":"1396191353","filename":"file0"},{"photo_id":"1396191359","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191355":["hashtag1","hashtag2"]},{"1396191363":["hashtag1","hashtag2"]},{"1396191357":["hashtag1","hashtag2"]},{"1396191359":["hashtag1","hashtag2"]},{"1396191353":["hashtag1","hashtag2"]},{"1396191361":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191355, 1396191363, 1396191357, 1396191359, 1396191353, 1396191361)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.82237386703491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:07:03.284870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_22_2681.jpg', '/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_26_3559.jpg', '/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_28_2628.jpg', '/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_31_2568.jpg', '/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_34_2864.jpg', '/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_37_3681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_22_2681.jpg
/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_26_3559.jpg
/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_28_2628.jpg
/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_31_2568.jpg
/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_34_2864.jpg
/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_37_3681.jpg
 val : 1 : upload photos already in processing! 
 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":["1396191385","1396191373","1396191375","1396191383","1396191371","1396191380"],"photo_ids_order":["1396191371","1396191373","1396191375","1396191380","1396191383","1396191385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ca9896462ef8aaef9fab09932473d3ae.jpg","text":"TemporaryFile(/tmp/multipartBody8583179444411679662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122885842,"filename":"image_26112025_01_23_37_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/26/8232835a10efd9d69ceedf934c14abf7.jpg","text":"TemporaryFile(/tmp/multipartBody636366781518893165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122885842,"filename":"image_26112025_01_23_26_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/26/1f2ea71dfb4dec2d1b20d327b5d202dc.jpg","text":"TemporaryFile(/tmp/multipartBody3738899894137216220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122885842,"filename":"image_26112025_01_23_28_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/26/9f1cc55ef106dec2adf7273fa479e76a.jpg","text":"TemporaryFile(/tmp/multipartBody4365376233848938409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122885842,"filename":"image_26112025_01_23_34_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/26/3a006b14f25f139e804ffb52882cdba2.jpg","text":"TemporaryFile(/tmp/multipartBody5438531227556353803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122885842,"filename":"image_26112025_01_23_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/26/86a3a6e60442f21b6b33664e780425cc.jpg","text":"TemporaryFile(/tmp/multipartBody6186707969051995556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122885842,"filename":"image_26112025_01_23_31_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191375","file1":"1396191373","file0":"1396191371","file4":"1396191383","file5":"1396191385","file3":"1396191380"},"map_files_photo_id_array":[{"photo_id":"1396191385","filename":"file5"},{"photo_id":"1396191375","filename":"file2"},{"photo_id":"1396191383","filename":"file4"},{"photo_id":"1396191373","filename":"file1"},{"photo_id":"1396191371","filename":"file0"},{"photo_id":"1396191380","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191385":["hashtag1","hashtag2"]},{"1396191373":["hashtag1","hashtag2"]},{"1396191375":["hashtag1","hashtag2"]},{"1396191383":["hashtag1","hashtag2"]},{"1396191371":["hashtag1","hashtag2"]},{"1396191380":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191385, 1396191373, 1396191375, 1396191383, 1396191371, 1396191380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42177224159241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:08:03.999662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_40_2762.jpg', '/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_43_2541.jpg', '/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_47_3813.jpg', '/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_49_2602.jpg', '/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_52_3337.jpg', '/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_55_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_40_2762.jpg
/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_43_2541.jpg
/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_47_3813.jpg
/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_49_2602.jpg
/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_52_3337.jpg
/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_55_2646.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":["1396191391","1396191400","1396191393","1396191395","1396191389","1396191397"],"photo_ids_order":["1396191389","1396191391","1396191393","1396191395","1396191397","1396191400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e07e628f3acff252a650f80c08e9d1e5.jpg","text":"TemporaryFile(/tmp/multipartBody5603501108359380103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122944744,"filename":"image_26112025_01_23_43_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/26/1bf95dcd4e53aa7579db8b1d1be9ef89.jpg","text":"TemporaryFile(/tmp/multipartBody3032003646226218453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122944744,"filename":"image_26112025_01_23_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/26/1f2d5211282293c5c2a71fc81dd7d5df.jpg","text":"TemporaryFile(/tmp/multipartBody523135790408089612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122944744,"filename":"image_26112025_01_23_47_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/26/42a4ae6c19023d7f571f18c0a51f0af6.jpg","text":"TemporaryFile(/tmp/multipartBody5460659358845950214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122944744,"filename":"image_26112025_01_23_49_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/26/bdb4d8c0533ca5a8f2d210de2c6c6d50.jpg","text":"TemporaryFile(/tmp/multipartBody3535076812017447560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122944744,"filename":"image_26112025_01_23_40_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/26/f5225a5c244e4c99aad1cd30d95d67cb.jpg","text":"TemporaryFile(/tmp/multipartBody8465040058031713957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122944744,"filename":"image_26112025_01_23_52_3337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191393","file1":"1396191391","file0":"1396191389","file4":"1396191397","file5":"1396191400","file3":"1396191395"},"map_files_photo_id_array":[{"photo_id":"1396191400","filename":"file5"},{"photo_id":"1396191393","filename":"file2"},{"photo_id":"1396191397","filename":"file4"},{"photo_id":"1396191391","filename":"file1"},{"photo_id":"1396191389","filename":"file0"},{"photo_id":"1396191395","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191391":["hashtag1","hashtag2"]},{"1396191400":["hashtag1","hashtag2"]},{"1396191393":["hashtag1","hashtag2"]},{"1396191395":["hashtag1","hashtag2"]},{"1396191389":["hashtag1","hashtag2"]},{"1396191397":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191391, 1396191400, 1396191393, 1396191395, 1396191389, 1396191397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11241865158081 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 03:08:43.524039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_58_2531.jpg', '/home/pi/Desktop/images/26112025/01/23/image_26112025_01_24_01_3639.jpg', '/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_04_2822.jpg', '/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_07_2722.jpg', '/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_11_3658.jpg', '/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_13_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/23/image_26112025_01_23_58_2531.jpg
/home/pi/Desktop/images/26112025/01/23/image_26112025_01_24_01_3639.jpg
/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_04_2822.jpg
/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_07_2722.jpg
/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_11_3658.jpg
/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_13_2681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396191406","1396191409","1396191414","1396191408","1396191413","1396191416"],"photo_ids_order":["1396191406","1396191408","1396191409","1396191413","1396191414","1396191416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6c504bdd7f44ef030cc19820636556df.jpg","text":"TemporaryFile(/tmp/multipartBody8435595744479708788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122984208,"filename":"image_26112025_01_23_58_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/26/32a562c840dad67b060e1fc2f0cbe8dd.jpg","text":"TemporaryFile(/tmp/multipartBody4660501698549689445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122984208,"filename":"image_26112025_01_24_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/26/f6debccd1954d4cf83e5148ff9a37928.jpg","text":"TemporaryFile(/tmp/multipartBody8487994777844033546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122984208,"filename":"image_26112025_01_24_11_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/26/31722e43551ec43f06f98f1e97df79cc.jpg","text":"TemporaryFile(/tmp/multipartBody6352288105451706534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122984208,"filename":"image_26112025_01_24_01_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/05538dc7cc9057775b4663a76616eb1a.jpg","text":"TemporaryFile(/tmp/multipartBody8428729480978431805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122984208,"filename":"image_26112025_01_24_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/26/3f68558c9a5a7c9a7f425afcc5768d7b.jpg","text":"TemporaryFile(/tmp/multipartBody8002459435642475447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764122984208,"filename":"image_26112025_01_24_13_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191409","file1":"1396191408","file0":"1396191406","file4":"1396191414","file5":"1396191416","file3":"1396191413"},"map_files_photo_id_array":[{"photo_id":"1396191416","filename":"file5"},{"photo_id":"1396191409","filename":"file2"},{"photo_id":"1396191414","filename":"file4"},{"photo_id":"1396191408","filename":"file1"},{"photo_id":"1396191406","filename":"file0"},{"photo_id":"1396191413","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191406":["hashtag1","hashtag2"]},{"1396191409":["hashtag1","hashtag2"]},{"1396191414":["hashtag1","hashtag2"]},{"1396191408":["hashtag1","hashtag2"]},{"1396191413":["hashtag1","hashtag2"]},{"1396191416":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191406, 1396191409, 1396191414, 1396191408, 1396191413, 1396191416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.942766427993774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:09:22.759585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_16_2598.jpg', '/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_19_3556.jpg', '/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_22_2740.jpg', '/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_25_2650.jpg', '/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_28_3694.jpg', '/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_31_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_16_2598.jpg
/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_19_3556.jpg
/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_22_2740.jpg
/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_25_2650.jpg
/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_28_3694.jpg
/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_31_2578.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":["1396191430","1396191424","1396191426","1396191420","1396191428","1396191422"],"photo_ids_order":["1396191420","1396191422","1396191424","1396191426","1396191428","1396191430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/83562b1f180724f011e7de3f25a9d741.jpg","text":"TemporaryFile(/tmp/multipartBody3206014413872676502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123023425,"filename":"image_26112025_01_24_31_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/26/511f5196b50fd4328e8253f732ca8f9b.jpg","text":"TemporaryFile(/tmp/multipartBody7975905638025799583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123023425,"filename":"image_26112025_01_24_22_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/26/0e7d1f14420449f6fd23986548bdf28b.jpg","text":"TemporaryFile(/tmp/multipartBody6952427652390466381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123023425,"filename":"image_26112025_01_24_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/26/fafa8e65fe231d297c3e689b18511f0b.jpg","text":"TemporaryFile(/tmp/multipartBody357410722992252642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123023425,"filename":"image_26112025_01_24_16_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/26/e7b203092bcb9dbe1b2b40902d2f3125.jpg","text":"TemporaryFile(/tmp/multipartBody4022711343536499705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123023425,"filename":"image_26112025_01_24_28_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/26/b77ac4c4542fe8cf21886112b22c1883.jpg","text":"TemporaryFile(/tmp/multipartBody8072352794833519208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123023425,"filename":"image_26112025_01_24_19_3556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191424","file1":"1396191422","file0":"1396191420","file4":"1396191428","file5":"1396191430","file3":"1396191426"},"map_files_photo_id_array":[{"photo_id":"1396191430","filename":"file5"},{"photo_id":"1396191424","filename":"file2"},{"photo_id":"1396191428","filename":"file4"},{"photo_id":"1396191422","filename":"file1"},{"photo_id":"1396191420","filename":"file0"},{"photo_id":"1396191426","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191430":["hashtag1","hashtag2"]},{"1396191424":["hashtag1","hashtag2"]},{"1396191426":["hashtag1","hashtag2"]},{"1396191420":["hashtag1","hashtag2"]},{"1396191428":["hashtag1","hashtag2"]},{"1396191422":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191430, 1396191424, 1396191426, 1396191420, 1396191428, 1396191422)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.48124885559082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:10:12.067891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_35_3583.jpg', '/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_37_2590.jpg', '/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_40_2818.jpg', '/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_44_3573.jpg', '/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_46_2597.jpg', '/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_49_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_35_3583.jpg
/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_37_2590.jpg
/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_40_2818.jpg
/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_44_3573.jpg
/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_46_2597.jpg
/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_49_2710.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":["1396191442","1396191445","1396191433","1396191435","1396191440","1396191437"],"photo_ids_order":["1396191433","1396191435","1396191437","1396191440","1396191442","1396191445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1f344ae53cdcbcc7d08ae71261144a24.jpg","text":"TemporaryFile(/tmp/multipartBody9123732814578136498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123072735,"filename":"image_26112025_01_24_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/26/fb7dfbed84c48829bf5b5b78d39dce8f.jpg","text":"TemporaryFile(/tmp/multipartBody59791457866719987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123072735,"filename":"image_26112025_01_24_49_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/26/7f47c506747a9314c2254f0a97eb96a9.jpg","text":"TemporaryFile(/tmp/multipartBody7960947645058456109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123072735,"filename":"image_26112025_01_24_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/26/c0a57d0a1f62ac18d5bdf638b2d47623.jpg","text":"TemporaryFile(/tmp/multipartBody6840490503923477235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123072735,"filename":"image_26112025_01_24_37_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/26/8d9c8a085d3debe09575c2767cdc5ecc.jpg","text":"TemporaryFile(/tmp/multipartBody7438083193131531018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123072735,"filename":"image_26112025_01_24_44_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/26/9430e4cc0ef86e049c3c57d3251391cb.jpg","text":"TemporaryFile(/tmp/multipartBody2092013574707380347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123072735,"filename":"image_26112025_01_24_40_2818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191437","file1":"1396191435","file0":"1396191433","file4":"1396191442","file5":"1396191445","file3":"1396191440"},"map_files_photo_id_array":[{"photo_id":"1396191445","filename":"file5"},{"photo_id":"1396191437","filename":"file2"},{"photo_id":"1396191442","filename":"file4"},{"photo_id":"1396191435","filename":"file1"},{"photo_id":"1396191433","filename":"file0"},{"photo_id":"1396191440","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191442":["hashtag1","hashtag2"]},{"1396191445":["hashtag1","hashtag2"]},{"1396191433":["hashtag1","hashtag2"]},{"1396191435":["hashtag1","hashtag2"]},{"1396191440":["hashtag1","hashtag2"]},{"1396191437":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191442, 1396191445, 1396191433, 1396191435, 1396191440, 1396191437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.373313665390015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:11:03.004220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_53_3659.jpg', '/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_55_2709.jpg', '/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_58_2694.jpg', '/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_01_2622.jpg', '/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_04_3802.jpg', '/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_07_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_53_3659.jpg
/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_55_2709.jpg
/home/pi/Desktop/images/26112025/01/24/image_26112025_01_24_58_2694.jpg
/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_01_2622.jpg
/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_04_3802.jpg
/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_07_2717.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":["1396191466","1396191468","1396191462","1396191470","1396191464","1396191473"],"photo_ids_order":["1396191462","1396191464","1396191466","1396191468","1396191470","1396191473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/117cecdeb10a9b4604c13c41b1c6eee2.jpg","text":"TemporaryFile(/tmp/multipartBody4453348524360907257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123123822,"filename":"image_26112025_01_24_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/26/6e4b7bc6e6081a9ccd5e39cb5a099ead.jpg","text":"TemporaryFile(/tmp/multipartBody881606652079555974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123123822,"filename":"image_26112025_01_25_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/26/907bc92b565af8990f5c24fabbe71edb.jpg","text":"TemporaryFile(/tmp/multipartBody6549472538843197946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123123822,"filename":"image_26112025_01_24_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/26/c0700064123fb5bf847fe5e16b26bfab.jpg","text":"TemporaryFile(/tmp/multipartBody6726323487543232963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123123822,"filename":"image_26112025_01_25_04_3802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/33a61757744103f03d73bf2eeb3f8dc5.jpg","text":"TemporaryFile(/tmp/multipartBody8615383789238040067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123123822,"filename":"image_26112025_01_24_55_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/26/5bcea3d3c3f91c61f20f565c041a91c2.jpg","text":"TemporaryFile(/tmp/multipartBody6888234261640906682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123123822,"filename":"image_26112025_01_25_07_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191466","file1":"1396191464","file0":"1396191462","file4":"1396191470","file5":"1396191473","file3":"1396191468"},"map_files_photo_id_array":[{"photo_id":"1396191473","filename":"file5"},{"photo_id":"1396191466","filename":"file2"},{"photo_id":"1396191470","filename":"file4"},{"photo_id":"1396191464","filename":"file1"},{"photo_id":"1396191462","filename":"file0"},{"photo_id":"1396191468","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191466":["hashtag1","hashtag2"]},{"1396191468":["hashtag1","hashtag2"]},{"1396191462":["hashtag1","hashtag2"]},{"1396191470":["hashtag1","hashtag2"]},{"1396191464":["hashtag1","hashtag2"]},{"1396191473":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191466, 1396191468, 1396191462, 1396191470, 1396191464, 1396191473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.027591705322266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 03:11:42.337853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_10_2741.jpg', '/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_13_3542.jpg', '/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_16_2565.jpg', '/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_19_2680.jpg', '/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_22_3675.jpg', '/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_28_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_10_2741.jpg
/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_13_3542.jpg
/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_16_2565.jpg
/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_19_2680.jpg
/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_22_3675.jpg
/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_28_2707.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":["1396191478","1396191486","1396191489","1396191480","1396191479","1396191488"],"photo_ids_order":["1396191478","1396191479","1396191480","1396191486","1396191488","1396191489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/783bd87b08eec468e8f69abe4084d51f.jpg","text":"TemporaryFile(/tmp/multipartBody1419887265672999765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123163031,"filename":"image_26112025_01_25_10_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/26/d89e8bafde48ac0677f6c658f19a48bc.jpg","text":"TemporaryFile(/tmp/multipartBody6535533966577242159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123163031,"filename":"image_26112025_01_25_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/26/17d1ed27231506ece0bdfe53cdb32f50.jpg","text":"TemporaryFile(/tmp/multipartBody2667359200312185036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123163031,"filename":"image_26112025_01_25_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/26/37e3af8198caa0028ec1b4d8923a31d9.jpg","text":"TemporaryFile(/tmp/multipartBody9213479672344869172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123163031,"filename":"image_26112025_01_25_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/26/761f04539cb56e938bc0de86fe5c5a89.jpg","text":"TemporaryFile(/tmp/multipartBody138074459912024930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123163031,"filename":"image_26112025_01_25_13_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/26/9a77498319a1ea9b2b676f0291d5f601.jpg","text":"TemporaryFile(/tmp/multipartBody4111960936429736895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123163031,"filename":"image_26112025_01_25_22_3675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191480","file1":"1396191479","file0":"1396191478","file4":"1396191488","file5":"1396191489","file3":"1396191486"},"map_files_photo_id_array":[{"photo_id":"1396191489","filename":"file5"},{"photo_id":"1396191480","filename":"file2"},{"photo_id":"1396191488","filename":"file4"},{"photo_id":"1396191479","filename":"file1"},{"photo_id":"1396191478","filename":"file0"},{"photo_id":"1396191486","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191478":["hashtag1","hashtag2"]},{"1396191486":["hashtag1","hashtag2"]},{"1396191489":["hashtag1","hashtag2"]},{"1396191480":["hashtag1","hashtag2"]},{"1396191479":["hashtag1","hashtag2"]},{"1396191488":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191478, 1396191486, 1396191489, 1396191480, 1396191479, 1396191488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46346139907837 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:12:22.388209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_31_2674.jpg', '/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_34_3562.jpg', '/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_37_2643.jpg', '/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_40_3034.jpg', '/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_43_2748.jpg', '/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_46_3605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_31_2674.jpg
/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_34_3562.jpg
/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_37_2643.jpg
/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_40_3034.jpg
/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_43_2748.jpg
/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_46_3605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396191562","1396191556","1396191558","1396191539","1396191560","1396191536"],"photo_ids_order":["1396191536","1396191539","1396191556","1396191558","1396191560","1396191562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ca92ec893ee32f5bcdfd58e39c46530d.jpg","text":"TemporaryFile(/tmp/multipartBody3883326635141896397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123203051,"filename":"image_26112025_01_25_46_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/65d329400e473c739ea27ec9315a0849.jpg","text":"TemporaryFile(/tmp/multipartBody6823000492174737295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123203051,"filename":"image_26112025_01_25_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/26/3918fcf5f388aa8192cf1ca619e14fa7.jpg","text":"TemporaryFile(/tmp/multipartBody4089641817833824871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123203051,"filename":"image_26112025_01_25_40_3034.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dc6f21f41ba54a8e80c5ed8f5b00cd5c.jpg","text":"TemporaryFile(/tmp/multipartBody2769350073950836594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123203051,"filename":"image_26112025_01_25_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/26/74cd89cc6490fdcebb83f44800aaa9fb.jpg","text":"TemporaryFile(/tmp/multipartBody6201447928927507712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123203051,"filename":"image_26112025_01_25_43_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/26/a25eeb8e57b164f9a8f61e3b337f7af4.jpg","text":"TemporaryFile(/tmp/multipartBody3091817229130044644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123203051,"filename":"image_26112025_01_25_31_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191556","file1":"1396191539","file0":"1396191536","file4":"1396191560","file5":"1396191562","file3":"1396191558"},"map_files_photo_id_array":[{"photo_id":"1396191562","filename":"file5"},{"photo_id":"1396191556","filename":"file2"},{"photo_id":"1396191560","filename":"file4"},{"photo_id":"1396191539","filename":"file1"},{"photo_id":"1396191536","filename":"file0"},{"photo_id":"1396191558","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191562":["hashtag1","hashtag2"]},{"1396191556":["hashtag1","hashtag2"]},{"1396191558":["hashtag1","hashtag2"]},{"1396191539":["hashtag1","hashtag2"]},{"1396191560":["hashtag1","hashtag2"]},{"1396191536":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191562, 1396191556, 1396191558, 1396191539, 1396191560, 1396191536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.308610916137695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:13:03.334556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_49_2606.jpg', '/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_52_3586.jpg', '/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_55_2801.jpg', '/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_58_2747.jpg', '/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_01_2662.jpg', '/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_04_3552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_49_2606.jpg
/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_52_3586.jpg
/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_55_2801.jpg
/home/pi/Desktop/images/26112025/01/25/image_26112025_01_25_58_2747.jpg
/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_01_2662.jpg
/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_04_3552.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":["1396191577","1396191571","1396191565","1396191567","1396191569","1396191574"],"photo_ids_order":["1396191565","1396191567","1396191569","1396191571","1396191574","1396191577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/65030c8227d16473cdc748ee548f0993.jpg","text":"TemporaryFile(/tmp/multipartBody6707434350799644207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123244158,"filename":"image_26112025_01_26_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/26/c9721dd88c34897d40a9249b88c3caaa.jpg","text":"TemporaryFile(/tmp/multipartBody7149844265881771523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123244158,"filename":"image_26112025_01_25_58_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/26/74c5e104b7aeed5771fdea1cff2bfdc2.jpg","text":"TemporaryFile(/tmp/multipartBody1594080452230671303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123244158,"filename":"image_26112025_01_25_49_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/26/923abd297973d2c7dc91f6a134aec516.jpg","text":"TemporaryFile(/tmp/multipartBody3267097698738910611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123244158,"filename":"image_26112025_01_25_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/26/e41edb03270d5dc1dcab72a6db90a96e.jpg","text":"TemporaryFile(/tmp/multipartBody4739003438483198174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123244158,"filename":"image_26112025_01_25_55_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5128fbe239ce14df948d723e481037d6.jpg","text":"TemporaryFile(/tmp/multipartBody7757878391216794095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123244158,"filename":"image_26112025_01_26_01_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191569","file1":"1396191567","file0":"1396191565","file4":"1396191574","file5":"1396191577","file3":"1396191571"},"map_files_photo_id_array":[{"photo_id":"1396191577","filename":"file5"},{"photo_id":"1396191569","filename":"file2"},{"photo_id":"1396191574","filename":"file4"},{"photo_id":"1396191567","filename":"file1"},{"photo_id":"1396191565","filename":"file0"},{"photo_id":"1396191571","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191577":["hashtag1","hashtag2"]},{"1396191571":["hashtag1","hashtag2"]},{"1396191565":["hashtag1","hashtag2"]},{"1396191567":["hashtag1","hashtag2"]},{"1396191569":["hashtag1","hashtag2"]},{"1396191574":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191577, 1396191571, 1396191565, 1396191567, 1396191569, 1396191574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83744812011719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 03:13:42.919825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_07_2689.jpg', '/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_10_2676.jpg', '/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_13_3622.jpg', '/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_16_2571.jpg', '/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_19_3645.jpg', '/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_22_2827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_07_2689.jpg
/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_10_2676.jpg
/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_13_3622.jpg
/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_16_2571.jpg
/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_19_3645.jpg
/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_22_2827.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":["1396191582","1396191585","1396191588","1396191584","1396191587","1396191586"],"photo_ids_order":["1396191582","1396191584","1396191585","1396191586","1396191587","1396191588"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/71ed112bc65c0b5a57f4f24bbab29c64.jpg","text":"TemporaryFile(/tmp/multipartBody6871735830645923215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123283617,"filename":"image_26112025_01_26_07_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/26/32030b63ac262857449330d5fc34850d.jpg","text":"TemporaryFile(/tmp/multipartBody545765974166627859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123283617,"filename":"image_26112025_01_26_13_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/26/941138e564855a71f91891d9599fe2cc.jpg","text":"TemporaryFile(/tmp/multipartBody478080148974959265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123283617,"filename":"image_26112025_01_26_22_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/26/b775131b6ef2691b227f8c9223189b3c.jpg","text":"TemporaryFile(/tmp/multipartBody996266780809140975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123283617,"filename":"image_26112025_01_26_10_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/26/4c4375b56a0ef4c387e522767df5ba5f.jpg","text":"TemporaryFile(/tmp/multipartBody4229807402410921019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123283617,"filename":"image_26112025_01_26_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/26/23b7f5cf272a03b47eca79e172969bc6.jpg","text":"TemporaryFile(/tmp/multipartBody6186866350996389090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123283617,"filename":"image_26112025_01_26_16_2571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191585","file1":"1396191584","file0":"1396191582","file4":"1396191587","file5":"1396191588","file3":"1396191586"},"map_files_photo_id_array":[{"photo_id":"1396191588","filename":"file5"},{"photo_id":"1396191585","filename":"file2"},{"photo_id":"1396191587","filename":"file4"},{"photo_id":"1396191584","filename":"file1"},{"photo_id":"1396191582","filename":"file0"},{"photo_id":"1396191586","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191582":["hashtag1","hashtag2"]},{"1396191585":["hashtag1","hashtag2"]},{"1396191588":["hashtag1","hashtag2"]},{"1396191584":["hashtag1","hashtag2"]},{"1396191587":["hashtag1","hashtag2"]},{"1396191586":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191582, 1396191585, 1396191588, 1396191584, 1396191587, 1396191586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.037360191345215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:14:22.098501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_25_2777.jpg', '/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_28_2611.jpg', '/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_34_2580.jpg', '/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_36_2623.jpg', '/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_40_3601.jpg', '/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_43_2528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_25_2777.jpg
/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_28_2611.jpg
/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_34_2580.jpg
/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_36_2623.jpg
/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_40_3601.jpg
/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_43_2528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396191597","1396191594","1396191609","1396191600","1396191611","1396191605"],"photo_ids_order":["1396191594","1396191597","1396191600","1396191605","1396191609","1396191611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/876dfab9f24b8535f4ec8d7a932b6710.jpg","text":"TemporaryFile(/tmp/multipartBody4478397420944299376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123322764,"filename":"image_26112025_01_26_28_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/26/687ae9ef51e458025520bf09500b17f9.jpg","text":"TemporaryFile(/tmp/multipartBody7492885726378280023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123322764,"filename":"image_26112025_01_26_25_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/26/12c1dc6f7e4daa9c740f94bd929a2185.jpg","text":"TemporaryFile(/tmp/multipartBody5810771515915706872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123322764,"filename":"image_26112025_01_26_40_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/26/ed43f64ed2c7b80880f757207aa4224b.jpg","text":"TemporaryFile(/tmp/multipartBody7922084196108633039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123322764,"filename":"image_26112025_01_26_34_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c046d9584023d3c802f9b86dd44807ee.jpg","text":"TemporaryFile(/tmp/multipartBody5498365709901437417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123322764,"filename":"image_26112025_01_26_43_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/26/a441939c84f351fa596d833407790cab.jpg","text":"TemporaryFile(/tmp/multipartBody3875619384891202642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123322764,"filename":"image_26112025_01_26_36_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191600","file1":"1396191597","file0":"1396191594","file4":"1396191609","file5":"1396191611","file3":"1396191605"},"map_files_photo_id_array":[{"photo_id":"1396191611","filename":"file5"},{"photo_id":"1396191600","filename":"file2"},{"photo_id":"1396191609","filename":"file4"},{"photo_id":"1396191597","filename":"file1"},{"photo_id":"1396191594","filename":"file0"},{"photo_id":"1396191605","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191597":["hashtag1","hashtag2"]},{"1396191594":["hashtag1","hashtag2"]},{"1396191609":["hashtag1","hashtag2"]},{"1396191600":["hashtag1","hashtag2"]},{"1396191611":["hashtag1","hashtag2"]},{"1396191605":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191597, 1396191594, 1396191609, 1396191600, 1396191611, 1396191605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55891513824463 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:15:03.212893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_46_3593.jpg', '/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_49_2596.jpg', '/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_51_2661.jpg', '/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_55_3679.jpg', '/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_58_2737.jpg', '/home/pi/Desktop/images/26112025/01/26/image_26112025_01_27_00_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_46_3593.jpg
/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_49_2596.jpg
/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_51_2661.jpg
/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_55_3679.jpg
/home/pi/Desktop/images/26112025/01/26/image_26112025_01_26_58_2737.jpg
/home/pi/Desktop/images/26112025/01/26/image_26112025_01_27_00_2581.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":["1396191622","1396191631","1396191625","1396191633","1396191627","1396191629"],"photo_ids_order":["1396191622","1396191625","1396191627","1396191629","1396191631","1396191633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/282226a12b43569eafe6fabb2d974998.jpg","text":"TemporaryFile(/tmp/multipartBody3710268490086971394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123364038,"filename":"image_26112025_01_26_46_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/26/2cf6d8963335634132005b305c32fa67.jpg","text":"TemporaryFile(/tmp/multipartBody1423689142860542638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123364038,"filename":"image_26112025_01_26_58_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/26/44d4a94d661977e537c609fc0ee85d64.jpg","text":"TemporaryFile(/tmp/multipartBody2947952084975904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123364038,"filename":"image_26112025_01_26_49_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/26/7b22be493218e5c2f839e4f8216ab218.jpg","text":"TemporaryFile(/tmp/multipartBody530067963935117020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123364038,"filename":"image_26112025_01_27_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/26/0941b75f3cf7d810a6f8590cf7fc5e5a.jpg","text":"TemporaryFile(/tmp/multipartBody8332051465836901929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123364038,"filename":"image_26112025_01_26_51_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/26/60489ebae4bea3d38d91d770cb67cbbf.jpg","text":"TemporaryFile(/tmp/multipartBody3146249958394431567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123364038,"filename":"image_26112025_01_26_55_3679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191627","file1":"1396191625","file0":"1396191622","file4":"1396191631","file5":"1396191633","file3":"1396191629"},"map_files_photo_id_array":[{"photo_id":"1396191633","filename":"file5"},{"photo_id":"1396191627","filename":"file2"},{"photo_id":"1396191631","filename":"file4"},{"photo_id":"1396191625","filename":"file1"},{"photo_id":"1396191622","filename":"file0"},{"photo_id":"1396191629","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191622":["hashtag1","hashtag2"]},{"1396191631":["hashtag1","hashtag2"]},{"1396191625":["hashtag1","hashtag2"]},{"1396191633":["hashtag1","hashtag2"]},{"1396191627":["hashtag1","hashtag2"]},{"1396191629":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191622, 1396191631, 1396191625, 1396191633, 1396191627, 1396191629)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.81000590324402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:16:03.124697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_07_2684.jpg', '/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_10_2752.jpg', '/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_19_2486.jpg', '/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_22_3609.jpg', '/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_28_2636.jpg', '/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_31_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_07_2684.jpg
/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_10_2752.jpg
/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_19_2486.jpg
/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_22_3609.jpg
/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_28_2636.jpg
/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_31_3692.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":["1396191640","1396191646","1396191648","1396191642","1396191644","1396191638"],"photo_ids_order":["1396191638","1396191640","1396191642","1396191644","1396191646","1396191648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/74aa9fa6053e1ab4517bfee2af91020f.jpg","text":"TemporaryFile(/tmp/multipartBody2284783523811162234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123423971,"filename":"image_26112025_01_27_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/26/79c606cd915af6bf07e80124c1e1158e.jpg","text":"TemporaryFile(/tmp/multipartBody3445821934655851552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123423971,"filename":"image_26112025_01_27_28_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/26/cf969ac19c4b40e6ee135834d1c0e27a.jpg","text":"TemporaryFile(/tmp/multipartBody8575925699985595987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123423971,"filename":"image_26112025_01_27_31_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/26/f0cc3691fe2c1c6323cf497721315fca.jpg","text":"TemporaryFile(/tmp/multipartBody1252363485752358087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123423971,"filename":"image_26112025_01_27_19_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/26/3b53e14fae7b65b12ca04dd4a4c8d0f2.jpg","text":"TemporaryFile(/tmp/multipartBody8884286131441923735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123423971,"filename":"image_26112025_01_27_22_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/26/1a46a37bb8ee53ebbcc6a11fba4cf88f.jpg","text":"TemporaryFile(/tmp/multipartBody2865120597157026093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123423971,"filename":"image_26112025_01_27_07_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191642","file1":"1396191640","file0":"1396191638","file4":"1396191646","file5":"1396191648","file3":"1396191644"},"map_files_photo_id_array":[{"photo_id":"1396191648","filename":"file5"},{"photo_id":"1396191642","filename":"file2"},{"photo_id":"1396191646","filename":"file4"},{"photo_id":"1396191640","filename":"file1"},{"photo_id":"1396191638","filename":"file0"},{"photo_id":"1396191644","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191640":["hashtag1","hashtag2"]},{"1396191646":["hashtag1","hashtag2"]},{"1396191648":["hashtag1","hashtag2"]},{"1396191642":["hashtag1","hashtag2"]},{"1396191644":["hashtag1","hashtag2"]},{"1396191638":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191640, 1396191646, 1396191648, 1396191642, 1396191644, 1396191638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.231767416000366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 03:16:42.710882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_34_2698.jpg', '/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_37_2679.jpg', '/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_39_2680.jpg', '/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_43_3580.jpg', '/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_46_2651.jpg', '/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_52_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_34_2698.jpg
/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_37_2679.jpg
/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_39_2680.jpg
/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_43_3580.jpg
/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_46_2651.jpg
/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_52_2610.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.572706937789917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:17:02.857681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_34_2698.jpg', '/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_37_2679.jpg', '/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_39_2680.jpg', '/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_43_3580.jpg', '/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_46_2651.jpg', '/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_52_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_34_2698.jpg
/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_37_2679.jpg
/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_39_2680.jpg
/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_43_3580.jpg
/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_46_2651.jpg
/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_52_2610.jpg
 val : 1 : upload photos already in processing! 
 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":["1396191721","1396191715","1396191724","1396191726","1396191717","1396191719"],"photo_ids_order":["1396191715","1396191717","1396191719","1396191721","1396191724","1396191726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/367589c77b8021ba08087bc21348f339.jpg","text":"TemporaryFile(/tmp/multipartBody3221012066658192404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123488246,"filename":"image_26112025_01_27_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/26/bfccc2522ebb64b648ab0c9ad00e067f.jpg","text":"TemporaryFile(/tmp/multipartBody4751461845906096096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123488246,"filename":"image_26112025_01_27_34_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/26/f9dd471d850da74cd0cccc493ca67cfb.jpg","text":"TemporaryFile(/tmp/multipartBody5707852033702017623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123488246,"filename":"image_26112025_01_27_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/26/f3e4fbcde7bf5221d972f74ee05ca93b.jpg","text":"TemporaryFile(/tmp/multipartBody6469796952846743277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123488246,"filename":"image_26112025_01_27_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/26/d7b646d4372682049c4dfb0a0e776f57.jpg","text":"TemporaryFile(/tmp/multipartBody5831917247835162059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123488246,"filename":"image_26112025_01_27_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/26/ec2e7f1eb15ab037f0554f88993a72d2.jpg","text":"TemporaryFile(/tmp/multipartBody3850149105379182156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123488246,"filename":"image_26112025_01_27_39_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191719","file1":"1396191717","file0":"1396191715","file4":"1396191724","file5":"1396191726","file3":"1396191721"},"map_files_photo_id_array":[{"photo_id":"1396191726","filename":"file5"},{"photo_id":"1396191719","filename":"file2"},{"photo_id":"1396191724","filename":"file4"},{"photo_id":"1396191717","filename":"file1"},{"photo_id":"1396191715","filename":"file0"},{"photo_id":"1396191721","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191721":["hashtag1","hashtag2"]},{"1396191715":["hashtag1","hashtag2"]},{"1396191724":["hashtag1","hashtag2"]},{"1396191726":["hashtag1","hashtag2"]},{"1396191717":["hashtag1","hashtag2"]},{"1396191719":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191721, 1396191715, 1396191724, 1396191726, 1396191717, 1396191719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.82625484466553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:18:02.884393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_54_2604.jpg', '/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_58_3572.jpg', '/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_01_2681.jpg', '/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_04_3658.jpg', '/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_07_2702.jpg', '/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_10_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_54_2604.jpg
/home/pi/Desktop/images/26112025/01/27/image_26112025_01_27_58_3572.jpg
/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_01_2681.jpg
/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_04_3658.jpg
/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_07_2702.jpg
/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_10_2579.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":["1396191748","1396191742","1396191744","1396191746","1396191740","1396191751"],"photo_ids_order":["1396191740","1396191742","1396191744","1396191746","1396191748","1396191751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0b5d1bb4e653708ee7ba02455737f62a.jpg","text":"TemporaryFile(/tmp/multipartBody1777456308390431269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123543629,"filename":"image_26112025_01_28_07_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/26/b5766ee95df62fbccc4bce58c924a6f7.jpg","text":"TemporaryFile(/tmp/multipartBody2494939361888881761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123543629,"filename":"image_26112025_01_27_58_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/26/c0910848967d466a7d48a2122cc94286.jpg","text":"TemporaryFile(/tmp/multipartBody524365855156942406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123543629,"filename":"image_26112025_01_28_01_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/26/24e52b669a9418657061f700c2cf8b65.jpg","text":"TemporaryFile(/tmp/multipartBody6623260840109035230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123543629,"filename":"image_26112025_01_28_04_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/26/e56e59d9acde3e6ec4b27e62be3b7a05.jpg","text":"TemporaryFile(/tmp/multipartBody8837502351848765099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123543629,"filename":"image_26112025_01_27_54_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/26/da635fdeb27ad2853b53deb0c3ae72bf.jpg","text":"TemporaryFile(/tmp/multipartBody8966359855744816921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123543629,"filename":"image_26112025_01_28_10_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191744","file1":"1396191742","file0":"1396191740","file4":"1396191748","file5":"1396191751","file3":"1396191746"},"map_files_photo_id_array":[{"photo_id":"1396191751","filename":"file5"},{"photo_id":"1396191744","filename":"file2"},{"photo_id":"1396191748","filename":"file4"},{"photo_id":"1396191742","filename":"file1"},{"photo_id":"1396191740","filename":"file0"},{"photo_id":"1396191746","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191748":["hashtag1","hashtag2"]},{"1396191742":["hashtag1","hashtag2"]},{"1396191744":["hashtag1","hashtag2"]},{"1396191746":["hashtag1","hashtag2"]},{"1396191740":["hashtag1","hashtag2"]},{"1396191751":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191748, 1396191742, 1396191744, 1396191746, 1396191740, 1396191751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22906804084778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 03:18:42.438730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_13_3624.jpg', '/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_16_2614.jpg', '/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_18_2711.jpg', '/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_22_3704.jpg', '/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_25_2801.jpg', '/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_30_2537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_13_3624.jpg
/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_16_2614.jpg
/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_18_2711.jpg
/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_22_3704.jpg
/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_25_2801.jpg
/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_30_2537.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":["1396191763","1396191757","1396191762","1396191765","1396191764","1396191766"],"photo_ids_order":["1396191757","1396191762","1396191763","1396191764","1396191765","1396191766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f5a6ceaea29667dcf9205a98b5a42018.jpg","text":"TemporaryFile(/tmp/multipartBody1056307263780206263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123583130,"filename":"image_26112025_01_28_18_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/26/5d8bae9621bf3311158e5ff6250d358b.jpg","text":"TemporaryFile(/tmp/multipartBody1554785603503061542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123583130,"filename":"image_26112025_01_28_13_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/26/5c3d4fefcb8ac2e850970242ed25307a.jpg","text":"TemporaryFile(/tmp/multipartBody6521642256989710163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123583130,"filename":"image_26112025_01_28_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/26/2710479b64e55a5dc76c900f75d9825f.jpg","text":"TemporaryFile(/tmp/multipartBody3836631102714210233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123583130,"filename":"image_26112025_01_28_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/26/32a21df53c3044532274cec0f185d0ef.jpg","text":"TemporaryFile(/tmp/multipartBody4232888373834992743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123583130,"filename":"image_26112025_01_28_22_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/26/0488e905acf6147c622303e10950e233.jpg","text":"TemporaryFile(/tmp/multipartBody1866578146116936489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123583130,"filename":"image_26112025_01_28_30_2537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191763","file1":"1396191762","file0":"1396191757","file4":"1396191765","file5":"1396191766","file3":"1396191764"},"map_files_photo_id_array":[{"photo_id":"1396191766","filename":"file5"},{"photo_id":"1396191763","filename":"file2"},{"photo_id":"1396191765","filename":"file4"},{"photo_id":"1396191762","filename":"file1"},{"photo_id":"1396191757","filename":"file0"},{"photo_id":"1396191764","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191763":["hashtag1","hashtag2"]},{"1396191757":["hashtag1","hashtag2"]},{"1396191762":["hashtag1","hashtag2"]},{"1396191765":["hashtag1","hashtag2"]},{"1396191764":["hashtag1","hashtag2"]},{"1396191766":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191763, 1396191757, 1396191762, 1396191765, 1396191764, 1396191766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.016640424728394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:19:22.643887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_34_3666.jpg', '/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_37_2611.jpg', '/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_43_3613.jpg', '/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_45_2502.jpg', '/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_49_3575.jpg', '/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_52_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_34_3666.jpg
/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_37_2611.jpg
/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_43_3613.jpg
/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_45_2502.jpg
/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_49_3575.jpg
/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_52_2666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396191775","1396191780","1396191783","1396191782","1396191778","1396191772"],"photo_ids_order":["1396191772","1396191775","1396191778","1396191780","1396191782","1396191783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ed5c4b053b8a83c4af6d13a35fbe8ebe.jpg","text":"TemporaryFile(/tmp/multipartBody8440078835760666895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123623325,"filename":"image_26112025_01_28_37_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/41ed7b1f298c1b0e3440254172951fac.jpg","text":"TemporaryFile(/tmp/multipartBody1491479174153006901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123623325,"filename":"image_26112025_01_28_45_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/26/32ac32ab2975b3b6e31c855d767b0542.jpg","text":"TemporaryFile(/tmp/multipartBody7225490435902483332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123623325,"filename":"image_26112025_01_28_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/26/b9c66b6474f0d267d119a0d416eb5435.jpg","text":"TemporaryFile(/tmp/multipartBody415868234965585696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123623325,"filename":"image_26112025_01_28_49_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/26/7b9b9c3eaf2104a37b7883dd68988144.jpg","text":"TemporaryFile(/tmp/multipartBody2099748898081758520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123623325,"filename":"image_26112025_01_28_43_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/26/e3f125bf733cb44c7022f663ebddded1.jpg","text":"TemporaryFile(/tmp/multipartBody4418008467709304277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123623325,"filename":"image_26112025_01_28_34_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191778","file1":"1396191775","file0":"1396191772","file4":"1396191782","file5":"1396191783","file3":"1396191780"},"map_files_photo_id_array":[{"photo_id":"1396191783","filename":"file5"},{"photo_id":"1396191778","filename":"file2"},{"photo_id":"1396191782","filename":"file4"},{"photo_id":"1396191775","filename":"file1"},{"photo_id":"1396191772","filename":"file0"},{"photo_id":"1396191780","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191775":["hashtag1","hashtag2"]},{"1396191780":["hashtag1","hashtag2"]},{"1396191783":["hashtag1","hashtag2"]},{"1396191782":["hashtag1","hashtag2"]},{"1396191778":["hashtag1","hashtag2"]},{"1396191772":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191775, 1396191780, 1396191783, 1396191782, 1396191778, 1396191772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.664910554885864 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-26 03:20:13.809779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_54_2810.jpg', '/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_58_3542.jpg', '/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_01_2607.jpg', '/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_03_2572.jpg', '/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_07_3674.jpg', '/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_09_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_54_2810.jpg
/home/pi/Desktop/images/26112025/01/28/image_26112025_01_28_58_3542.jpg
/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_01_2607.jpg
/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_03_2572.jpg
/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_07_3674.jpg
/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_09_2650.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":["1396191805","1396191801","1396191797","1396191796","1396191799","1396191803"],"photo_ids_order":["1396191796","1396191797","1396191799","1396191801","1396191803","1396191805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/12f1b4a9f24aaeae31ecf0bfc0763a3f.jpg","text":"TemporaryFile(/tmp/multipartBody4177810385239408904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123674477,"filename":"image_26112025_01_29_09_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/26/d48507e63f674c79ab488392f767d616.jpg","text":"TemporaryFile(/tmp/multipartBody2547942666114357020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123674477,"filename":"image_26112025_01_29_03_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/26/ec2ac0736b33bfcca9ddd523ba12da90.jpg","text":"TemporaryFile(/tmp/multipartBody322737552353175095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123674477,"filename":"image_26112025_01_28_58_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/26/ff35e2c502f643eb43d368b0697c3f0f.jpg","text":"TemporaryFile(/tmp/multipartBody1572957603595973449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123674477,"filename":"image_26112025_01_28_54_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/26/018543a1c98148ca039a3bb0c64590f9.jpg","text":"TemporaryFile(/tmp/multipartBody7081454132160501715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123674477,"filename":"image_26112025_01_29_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/26/e0d14f100f32c57007553a4fff5a590f.jpg","text":"TemporaryFile(/tmp/multipartBody8793398313588434375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123674477,"filename":"image_26112025_01_29_07_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191799","file1":"1396191797","file0":"1396191796","file4":"1396191803","file5":"1396191805","file3":"1396191801"},"map_files_photo_id_array":[{"photo_id":"1396191805","filename":"file5"},{"photo_id":"1396191799","filename":"file2"},{"photo_id":"1396191803","filename":"file4"},{"photo_id":"1396191797","filename":"file1"},{"photo_id":"1396191796","filename":"file0"},{"photo_id":"1396191801","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191805":["hashtag1","hashtag2"]},{"1396191801":["hashtag1","hashtag2"]},{"1396191797":["hashtag1","hashtag2"]},{"1396191796":["hashtag1","hashtag2"]},{"1396191799":["hashtag1","hashtag2"]},{"1396191803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191805, 1396191801, 1396191797, 1396191796, 1396191799, 1396191803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3491952419281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:21:05.054599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_12_2671.jpg', '/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_16_3673.jpg', '/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_19_2732.jpg', '/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_22_3528.jpg', '/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_25_2537.jpg', '/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_27_2754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_12_2671.jpg
/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_16_3673.jpg
/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_19_2732.jpg
/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_22_3528.jpg
/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_25_2537.jpg
/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_27_2754.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":["1396191820","1396191814","1396191816","1396191818","1396191812","1396191809"],"photo_ids_order":["1396191809","1396191812","1396191814","1396191816","1396191818","1396191820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/73f24585c1a3756d54debba9fcb980dd.jpg","text":"TemporaryFile(/tmp/multipartBody965182209481063092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123727609,"filename":"image_26112025_01_29_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/26/aafc9b9cb1aa7c58dc43b3f473f47052.jpg","text":"TemporaryFile(/tmp/multipartBody2618032779573593301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123727609,"filename":"image_26112025_01_29_19_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7f5a5db07f73305a479ebe93294eea3f.jpg","text":"TemporaryFile(/tmp/multipartBody1929255077277163133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123727609,"filename":"image_26112025_01_29_22_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/26/6d44297910be31d554482954b26e30a6.jpg","text":"TemporaryFile(/tmp/multipartBody4069924475606805781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123727609,"filename":"image_26112025_01_29_25_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/26/55c3d186c6d5d8b6f6defe52c35fbdfb.jpg","text":"TemporaryFile(/tmp/multipartBody8692343493393261326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123727609,"filename":"image_26112025_01_29_16_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/26/0338b35d0c239134d0d54dd179207aa7.jpg","text":"TemporaryFile(/tmp/multipartBody1704722427629136775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123727609,"filename":"image_26112025_01_29_12_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191814","file1":"1396191812","file0":"1396191809","file4":"1396191818","file5":"1396191820","file3":"1396191816"},"map_files_photo_id_array":[{"photo_id":"1396191820","filename":"file5"},{"photo_id":"1396191814","filename":"file2"},{"photo_id":"1396191818","filename":"file4"},{"photo_id":"1396191812","filename":"file1"},{"photo_id":"1396191809","filename":"file0"},{"photo_id":"1396191816","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191820":["hashtag1","hashtag2"]},{"1396191814":["hashtag1","hashtag2"]},{"1396191816":["hashtag1","hashtag2"]},{"1396191818":["hashtag1","hashtag2"]},{"1396191812":["hashtag1","hashtag2"]},{"1396191809":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191820, 1396191814, 1396191816, 1396191818, 1396191812, 1396191809)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.65088963508606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:22:03.084207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_30_2720.jpg', '/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_34_3602.jpg', '/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_36_2583.jpg', '/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_40_3776.jpg', '/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_43_2802.jpg', '/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_45_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_30_2720.jpg
/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_34_3602.jpg
/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_36_2583.jpg
/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_40_3776.jpg
/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_43_2802.jpg
/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_45_2605.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.688366651535034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:22:12.733479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_30_2720.jpg', '/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_34_3602.jpg', '/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_36_2583.jpg', '/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_40_3776.jpg', '/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_43_2802.jpg', '/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_45_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_30_2720.jpg
/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_34_3602.jpg
/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_36_2583.jpg
/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_40_3776.jpg
/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_43_2802.jpg
/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_45_2605.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":["1396191829","1396191838","1396191831","1396191840","1396191837","1396191833"],"photo_ids_order":["1396191829","1396191831","1396191833","1396191837","1396191838","1396191840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ab25661580c415e637e8a4b19395e270.jpg","text":"TemporaryFile(/tmp/multipartBody4502582633199111277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123793431,"filename":"image_26112025_01_29_30_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/26/532f27c4d7322cc2daddd361050bf2c0.jpg","text":"TemporaryFile(/tmp/multipartBody6361181739065143182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123793431,"filename":"image_26112025_01_29_43_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/26/6d2b313369cca63e911506c84341df4c.jpg","text":"TemporaryFile(/tmp/multipartBody1402444307268796622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123793431,"filename":"image_26112025_01_29_34_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/26/448a49fa011e1473c60a02d3ea07ddd6.jpg","text":"TemporaryFile(/tmp/multipartBody941566165867368856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123793431,"filename":"image_26112025_01_29_45_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/26/63c2559037d860e58a0ac228b6767138.jpg","text":"TemporaryFile(/tmp/multipartBody2092264286303339312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123793431,"filename":"image_26112025_01_29_40_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/26/ae4f9e6873012dc2a9e2d2d4cd736887.jpg","text":"TemporaryFile(/tmp/multipartBody5954946526081895610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123793431,"filename":"image_26112025_01_29_36_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191833","file1":"1396191831","file0":"1396191829","file4":"1396191838","file5":"1396191840","file3":"1396191837"},"map_files_photo_id_array":[{"photo_id":"1396191840","filename":"file5"},{"photo_id":"1396191833","filename":"file2"},{"photo_id":"1396191838","filename":"file4"},{"photo_id":"1396191831","filename":"file1"},{"photo_id":"1396191829","filename":"file0"},{"photo_id":"1396191837","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191829":["hashtag1","hashtag2"]},{"1396191838":["hashtag1","hashtag2"]},{"1396191831":["hashtag1","hashtag2"]},{"1396191840":["hashtag1","hashtag2"]},{"1396191837":["hashtag1","hashtag2"]},{"1396191833":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191829, 1396191838, 1396191831, 1396191840, 1396191837, 1396191833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5422306060791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:23:02.557722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_49_3555.jpg', '/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_52_2639.jpg', '/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_57_2650.jpg', '/home/pi/Desktop/images/26112025/01/29/image_26112025_01_30_01_3590.jpg', '/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_03_2594.jpg', '/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_07_3639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_49_3555.jpg
/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_52_2639.jpg
/home/pi/Desktop/images/26112025/01/29/image_26112025_01_29_57_2650.jpg
/home/pi/Desktop/images/26112025/01/29/image_26112025_01_30_01_3590.jpg
/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_03_2594.jpg
/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_07_3639.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":["1396191856","1396191861","1396191858","1396191855","1396191869","1396191865"],"photo_ids_order":["1396191855","1396191856","1396191858","1396191861","1396191865","1396191869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/17fd2bb303e35264bfc86b47ac82cfb2.jpg","text":"TemporaryFile(/tmp/multipartBody7398914201506874046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123843338,"filename":"image_26112025_01_29_52_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/26/d5754d74c3d794c5ae837e3eb1bff4e5.jpg","text":"TemporaryFile(/tmp/multipartBody5262415141170196116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123843338,"filename":"image_26112025_01_30_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/26/20c717701f7ecf23285f3a7805df0ed5.jpg","text":"TemporaryFile(/tmp/multipartBody6686106468597289993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123843338,"filename":"image_26112025_01_29_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/26/009050d38ab87c8c4d034d2c274f1f85.jpg","text":"TemporaryFile(/tmp/multipartBody3312161390012882014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123843338,"filename":"image_26112025_01_29_49_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/26/dbd8c9ab064d13c0b1b776c497008ed6.jpg","text":"TemporaryFile(/tmp/multipartBody7420484932195791301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123843338,"filename":"image_26112025_01_30_07_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/26/21b8bf3619d26718887ebb067f7d4562.jpg","text":"TemporaryFile(/tmp/multipartBody8737212437486319544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123843338,"filename":"image_26112025_01_30_03_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191858","file1":"1396191856","file0":"1396191855","file4":"1396191865","file5":"1396191869","file3":"1396191861"},"map_files_photo_id_array":[{"photo_id":"1396191869","filename":"file5"},{"photo_id":"1396191858","filename":"file2"},{"photo_id":"1396191865","filename":"file4"},{"photo_id":"1396191856","filename":"file1"},{"photo_id":"1396191855","filename":"file0"},{"photo_id":"1396191861","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191856":["hashtag1","hashtag2"]},{"1396191861":["hashtag1","hashtag2"]},{"1396191858":["hashtag1","hashtag2"]},{"1396191855":["hashtag1","hashtag2"]},{"1396191869":["hashtag1","hashtag2"]},{"1396191865":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191856, 1396191861, 1396191858, 1396191855, 1396191869, 1396191865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47472310066223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 03:23:42.088854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_10_2578.jpg', '/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_12_2759.jpg', '/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_16_3686.jpg', '/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_19_2639.jpg', '/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_21_2558.jpg', '/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_25_3792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_10_2578.jpg
/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_12_2759.jpg
/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_16_3686.jpg
/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_19_2639.jpg
/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_21_2558.jpg
/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_25_3792.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":["1396191880","1396191879","1396191881","1396191875","1396191878","1396191877"],"photo_ids_order":["1396191875","1396191877","1396191878","1396191879","1396191880","1396191881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fcd2779efe129ff8a3de5ffae97057af.jpg","text":"TemporaryFile(/tmp/multipartBody6153569799173418755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123882793,"filename":"image_26112025_01_30_21_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d631b5f416f379b28ace219eebf95b9f.jpg","text":"TemporaryFile(/tmp/multipartBody1315255505149740595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123882793,"filename":"image_26112025_01_30_19_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f9036310acbb77167c581295c430ca48.jpg","text":"TemporaryFile(/tmp/multipartBody5881834982779680699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123882793,"filename":"image_26112025_01_30_25_3792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/789facf3a4599d8c4c17d101c00aa6ea.jpg","text":"TemporaryFile(/tmp/multipartBody6886630962270705220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123882793,"filename":"image_26112025_01_30_10_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/26/1a2781bf51292620097c5a0f56c69cca.jpg","text":"TemporaryFile(/tmp/multipartBody324410215452059352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123882793,"filename":"image_26112025_01_30_16_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/26/c7b6bab042f9edce5e7a55ab6b3085d7.jpg","text":"TemporaryFile(/tmp/multipartBody3676658014017795687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123882793,"filename":"image_26112025_01_30_12_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191878","file1":"1396191877","file0":"1396191875","file4":"1396191880","file5":"1396191881","file3":"1396191879"},"map_files_photo_id_array":[{"photo_id":"1396191881","filename":"file5"},{"photo_id":"1396191878","filename":"file2"},{"photo_id":"1396191880","filename":"file4"},{"photo_id":"1396191877","filename":"file1"},{"photo_id":"1396191875","filename":"file0"},{"photo_id":"1396191879","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191880":["hashtag1","hashtag2"]},{"1396191879":["hashtag1","hashtag2"]},{"1396191881":["hashtag1","hashtag2"]},{"1396191875":["hashtag1","hashtag2"]},{"1396191878":["hashtag1","hashtag2"]},{"1396191877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191880, 1396191879, 1396191881, 1396191875, 1396191878, 1396191877)","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: 54.62833857536316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 03:24:43.069718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_29_3691.jpg', '/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_30_1592.jpg', '/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_34_3641.jpg', '/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_37_2646.jpg', '/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_43_3664.jpg', '/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_45_2505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_29_3691.jpg
/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_30_1592.jpg
/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_34_3641.jpg
/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_37_2646.jpg
/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_43_3664.jpg
/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_45_2505.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":["1396191901","1396191904","1396191899","1396191903","1396191902","1396191905"],"photo_ids_order":["1396191899","1396191901","1396191902","1396191903","1396191904","1396191905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e0dcd288f5a55d98e8f2365b07b76ba0.jpg","text":"TemporaryFile(/tmp/multipartBody4393268507137854132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123943796,"filename":"image_26112025_01_30_30_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/26/2997eca27d638e6027241e4a3df4c9e2.jpg","text":"TemporaryFile(/tmp/multipartBody7118830616603544458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123943796,"filename":"image_26112025_01_30_43_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/26/c9566015407c0eb0fc2b4315076b8d33.jpg","text":"TemporaryFile(/tmp/multipartBody3590125562375022873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123943796,"filename":"image_26112025_01_30_29_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/26/0bf12183c9740a6fea599f21c38232b4.jpg","text":"TemporaryFile(/tmp/multipartBody5096727010283123749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123943796,"filename":"image_26112025_01_30_37_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/26/9928b48e0edbc5e5a0d5ab521ba1f118.jpg","text":"TemporaryFile(/tmp/multipartBody4698668651401408276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123943796,"filename":"image_26112025_01_30_34_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/26/df5aa357d24681f457a196644afe1543.jpg","text":"TemporaryFile(/tmp/multipartBody860745724558762543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123943796,"filename":"image_26112025_01_30_45_2505.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191902","file1":"1396191901","file0":"1396191899","file4":"1396191904","file5":"1396191905","file3":"1396191903"},"map_files_photo_id_array":[{"photo_id":"1396191905","filename":"file5"},{"photo_id":"1396191902","filename":"file2"},{"photo_id":"1396191904","filename":"file4"},{"photo_id":"1396191901","filename":"file1"},{"photo_id":"1396191899","filename":"file0"},{"photo_id":"1396191903","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191901":["hashtag1","hashtag2"]},{"1396191904":["hashtag1","hashtag2"]},{"1396191899":["hashtag1","hashtag2"]},{"1396191903":["hashtag1","hashtag2"]},{"1396191902":["hashtag1","hashtag2"]},{"1396191905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191901, 1396191904, 1396191899, 1396191903, 1396191902, 1396191905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44610929489136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:25:22.289719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_48_2647.jpg', '/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_52_3606.jpg', '/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_57_2675.jpg', '/home/pi/Desktop/images/26112025/01/30/image_26112025_01_31_01_3624.jpg', '/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_04_3033.jpg', '/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_06_2570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_48_2647.jpg
/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_52_3606.jpg
/home/pi/Desktop/images/26112025/01/30/image_26112025_01_30_57_2675.jpg
/home/pi/Desktop/images/26112025/01/30/image_26112025_01_31_01_3624.jpg
/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_04_3033.jpg
/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_06_2570.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":["1396191916","1396191912","1396191909","1396191918","1396191920","1396191914"],"photo_ids_order":["1396191909","1396191912","1396191914","1396191916","1396191918","1396191920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/96a761accef66d682938f41d9da57f6c.jpg","text":"TemporaryFile(/tmp/multipartBody5182733332804842295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123982953,"filename":"image_26112025_01_31_01_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/26/b470bcc20a9ced54dc72d8d1d13102cc.jpg","text":"TemporaryFile(/tmp/multipartBody6466548279589778745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123982953,"filename":"image_26112025_01_30_52_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a0f3e6670200dffe8f614595278fe879.jpg","text":"TemporaryFile(/tmp/multipartBody8637077526492429187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123982953,"filename":"image_26112025_01_30_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/26/a5dbdc4cebaca14fa109f6628af117e3.jpg","text":"TemporaryFile(/tmp/multipartBody2706773282921087721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123982953,"filename":"image_26112025_01_31_04_3033.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3fe25a49759918fdde7fd802512750bf.jpg","text":"TemporaryFile(/tmp/multipartBody1548397493931527903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123982953,"filename":"image_26112025_01_31_06_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/26/efbeaf2fafa6c0967c96682f45b3a135.jpg","text":"TemporaryFile(/tmp/multipartBody8421707671134484676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764123982953,"filename":"image_26112025_01_30_57_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191914","file1":"1396191912","file0":"1396191909","file4":"1396191918","file5":"1396191920","file3":"1396191916"},"map_files_photo_id_array":[{"photo_id":"1396191920","filename":"file5"},{"photo_id":"1396191914","filename":"file2"},{"photo_id":"1396191918","filename":"file4"},{"photo_id":"1396191912","filename":"file1"},{"photo_id":"1396191909","filename":"file0"},{"photo_id":"1396191916","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191916":["hashtag1","hashtag2"]},{"1396191912":["hashtag1","hashtag2"]},{"1396191909":["hashtag1","hashtag2"]},{"1396191918":["hashtag1","hashtag2"]},{"1396191920":["hashtag1","hashtag2"]},{"1396191914":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191916, 1396191912, 1396191909, 1396191918, 1396191920, 1396191914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29406142234802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:26:02.975457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_09_2647.jpg', '/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_12_3497.jpg', '/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_15_2505.jpg', '/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_18_2970.jpg', '/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_22_3740.jpg', '/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_24_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_09_2647.jpg
/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_12_3497.jpg
/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_15_2505.jpg
/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_18_2970.jpg
/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_22_3740.jpg
/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_24_2653.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":["1396191928","1396192038","1396191965","1396192075","1396192001","1396191926"],"photo_ids_order":["1396191926","1396191928","1396191965","1396192001","1396192038","1396192075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3bff2d4680a28dd4489483abd998fe3f.jpg","text":"TemporaryFile(/tmp/multipartBody4076287503637091199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124023712,"filename":"image_26112025_01_31_12_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/26/892e6815b17a8e82d8e2227c8c63d955.jpg","text":"TemporaryFile(/tmp/multipartBody8714196969028766370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124023712,"filename":"image_26112025_01_31_22_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/26/2be240e2355db8ec88b93c8cd02452de.jpg","text":"TemporaryFile(/tmp/multipartBody1691540502943468077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124023712,"filename":"image_26112025_01_31_15_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/26/8bcf2b23a70482b415d18316f20a79cc.jpg","text":"TemporaryFile(/tmp/multipartBody1100746701435852281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124023712,"filename":"image_26112025_01_31_24_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/26/6bba4e735711821b709a3cec421ef7fd.jpg","text":"TemporaryFile(/tmp/multipartBody3501444357587661879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124023712,"filename":"image_26112025_01_31_18_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/26/cd55377ae228613df1418993ece26900.jpg","text":"TemporaryFile(/tmp/multipartBody8108955699302324947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124023712,"filename":"image_26112025_01_31_09_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396191965","file1":"1396191928","file0":"1396191926","file4":"1396192038","file5":"1396192075","file3":"1396192001"},"map_files_photo_id_array":[{"photo_id":"1396192075","filename":"file5"},{"photo_id":"1396191965","filename":"file2"},{"photo_id":"1396192038","filename":"file4"},{"photo_id":"1396191928","filename":"file1"},{"photo_id":"1396191926","filename":"file0"},{"photo_id":"1396192001","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396191928":["hashtag1","hashtag2"]},{"1396192038":["hashtag1","hashtag2"]},{"1396191965":["hashtag1","hashtag2"]},{"1396192075":["hashtag1","hashtag2"]},{"1396192001":["hashtag1","hashtag2"]},{"1396191926":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396191928, 1396192038, 1396191965, 1396192075, 1396192001, 1396191926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.04334282875061 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 03:26:42.509373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_27_2701.jpg', '/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_31_3643.jpg', '/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_33_2572.jpg', '/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_36_2760.jpg', '/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_40_3720.jpg', '/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_42_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_27_2701.jpg
/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_31_3643.jpg
/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_33_2572.jpg
/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_36_2760.jpg
/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_40_3720.jpg
/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_42_2697.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":["1396192312","1396192385","1396192274","1396192349","1396192423","1396192231"],"photo_ids_order":["1396192231","1396192274","1396192312","1396192349","1396192385","1396192423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/14687da629f7a419282d29ede0e5ecd9.jpg","text":"TemporaryFile(/tmp/multipartBody1134069959172510135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124063248,"filename":"image_26112025_01_31_33_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/26/a8e3f4ffe43f818a8c35acb8a239a5b1.jpg","text":"TemporaryFile(/tmp/multipartBody566279053115389919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124063248,"filename":"image_26112025_01_31_40_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/26/562fa92adaebb8f67160bc3f4726a75f.jpg","text":"TemporaryFile(/tmp/multipartBody6610894758956050882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124063248,"filename":"image_26112025_01_31_31_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/26/6fd0eb79325bca6f5471c626743b9d7f.jpg","text":"TemporaryFile(/tmp/multipartBody8053618713457127623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124063248,"filename":"image_26112025_01_31_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/26/6d61ec779e105dedcd024dade07c9fdd.jpg","text":"TemporaryFile(/tmp/multipartBody402531066682575711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124063248,"filename":"image_26112025_01_31_42_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/26/4ae099b1610e51858c81430c5171dd9e.jpg","text":"TemporaryFile(/tmp/multipartBody4492081880536507539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124063248,"filename":"image_26112025_01_31_27_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396192312","file1":"1396192274","file0":"1396192231","file4":"1396192385","file5":"1396192423","file3":"1396192349"},"map_files_photo_id_array":[{"photo_id":"1396192423","filename":"file5"},{"photo_id":"1396192312","filename":"file2"},{"photo_id":"1396192385","filename":"file4"},{"photo_id":"1396192274","filename":"file1"},{"photo_id":"1396192231","filename":"file0"},{"photo_id":"1396192349","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396192312":["hashtag1","hashtag2"]},{"1396192385":["hashtag1","hashtag2"]},{"1396192274":["hashtag1","hashtag2"]},{"1396192349":["hashtag1","hashtag2"]},{"1396192423":["hashtag1","hashtag2"]},{"1396192231":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396192312, 1396192385, 1396192274, 1396192349, 1396192423, 1396192231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.249675989151 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:27:22.719086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_45_2674.jpg', '/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_49_3689.jpg', '/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_51_2536.jpg', '/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_54_2566.jpg', '/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_58_3803.jpg', '/home/pi/Desktop/images/26112025/01/31/image_26112025_01_32_00_2499.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_45_2674.jpg
/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_49_3689.jpg
/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_51_2536.jpg
/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_54_2566.jpg
/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_58_3803.jpg
/home/pi/Desktop/images/26112025/01/31/image_26112025_01_32_00_2499.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.5686964988708496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:27:35.557000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:28:02.858714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_45_2674.jpg', '/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_49_3689.jpg', '/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_51_2536.jpg', '/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_54_2566.jpg', '/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_58_3803.jpg', '/home/pi/Desktop/images/26112025/01/31/image_26112025_01_32_00_2499.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_45_2674.jpg
/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_49_3689.jpg
/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_51_2536.jpg
/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_54_2566.jpg
/home/pi/Desktop/images/26112025/01/31/image_26112025_01_31_58_3803.jpg
/home/pi/Desktop/images/26112025/01/31/image_26112025_01_32_00_2499.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":["1396192915","1396192986","1396193063","1396193023","1396192951","1396193101"],"photo_ids_order":["1396192915","1396192951","1396192986","1396193023","1396193063","1396193101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0ee68a2ff358f0addc55ba4fae9dac7b.jpg","text":"TemporaryFile(/tmp/multipartBody1012577348615574422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124143582,"filename":"image_26112025_01_31_45_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/26/fdf82b959e2029fe1efc68650b4a8528.jpg","text":"TemporaryFile(/tmp/multipartBody2197661918244063888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124143582,"filename":"image_26112025_01_31_51_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/26/690589b041b097d03b3138359a3a5d20.jpg","text":"TemporaryFile(/tmp/multipartBody9177541748444425520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124143582,"filename":"image_26112025_01_31_58_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/26/e8e07c52abc86755813965a81fe26210.jpg","text":"TemporaryFile(/tmp/multipartBody2544604696302003270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124143582,"filename":"image_26112025_01_31_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/26/5d15c77b54b93333969b0f7b8b6d41f9.jpg","text":"TemporaryFile(/tmp/multipartBody6737794162924768825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124143582,"filename":"image_26112025_01_31_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/26/71d6e50a39e3d06bb44540ab21480481.jpg","text":"TemporaryFile(/tmp/multipartBody9014815746403092403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124143582,"filename":"image_26112025_01_32_00_2499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396192986","file1":"1396192951","file0":"1396192915","file4":"1396193063","file5":"1396193101","file3":"1396193023"},"map_files_photo_id_array":[{"photo_id":"1396193101","filename":"file5"},{"photo_id":"1396192986","filename":"file2"},{"photo_id":"1396193063","filename":"file4"},{"photo_id":"1396192951","filename":"file1"},{"photo_id":"1396192915","filename":"file0"},{"photo_id":"1396193023","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396192915":["hashtag1","hashtag2"]},{"1396192986":["hashtag1","hashtag2"]},{"1396193063":["hashtag1","hashtag2"]},{"1396193023":["hashtag1","hashtag2"]},{"1396192951":["hashtag1","hashtag2"]},{"1396193101":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396192915, 1396192986, 1396193063, 1396193023, 1396192951, 1396193101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27900528907776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 03:28:42.404655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_03_2759.jpg', '/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_07_3614.jpg', '/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_09_2729.jpg', '/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_12_2595.jpg', '/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_16_3633.jpg', '/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_18_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_03_2759.jpg
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_07_3614.jpg
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_09_2729.jpg
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_12_2595.jpg
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_16_3633.jpg
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_18_2632.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.5657398700714111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:29:03.144324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_03_2759.jpg', '/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_07_3614.jpg', '/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_09_2729.jpg', '/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_12_2595.jpg', '/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_16_3633.jpg', '/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_18_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_03_2759.jpg
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_07_3614.jpg
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_09_2729.jpg
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_12_2595.jpg
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_16_3633.jpg
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_18_2632.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":["1396193290","1396193216","1396193251","1396193182","1396193161","1396193163"],"photo_ids_order":["1396193161","1396193163","1396193182","1396193216","1396193251","1396193290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a9b261cbef23c3ba0b2b5a230d5cfbc9.jpg","text":"TemporaryFile(/tmp/multipartBody4339550445779875849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124203997,"filename":"image_26112025_01_32_18_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/26/bd4d527c4a1280c1124f392ae049520d.jpg","text":"TemporaryFile(/tmp/multipartBody5714637696832819087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124203997,"filename":"image_26112025_01_32_12_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8283701a35dd8da349ea8ed3f078ffea.jpg","text":"TemporaryFile(/tmp/multipartBody677467911622529583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124203997,"filename":"image_26112025_01_32_16_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/26/93fab5f9401e3f487288de766e72397c.jpg","text":"TemporaryFile(/tmp/multipartBody1024403970554905188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124203997,"filename":"image_26112025_01_32_09_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bd060023ca9d2f22b4fb814fe43279b7.jpg","text":"TemporaryFile(/tmp/multipartBody4553789381719055803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124203997,"filename":"image_26112025_01_32_03_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/26/170e7a640178dc1a3bf9e38d48acb07a.jpg","text":"TemporaryFile(/tmp/multipartBody794217555412125012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124203997,"filename":"image_26112025_01_32_07_3614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193182","file1":"1396193163","file0":"1396193161","file4":"1396193251","file5":"1396193290","file3":"1396193216"},"map_files_photo_id_array":[{"photo_id":"1396193290","filename":"file5"},{"photo_id":"1396193182","filename":"file2"},{"photo_id":"1396193251","filename":"file4"},{"photo_id":"1396193163","filename":"file1"},{"photo_id":"1396193161","filename":"file0"},{"photo_id":"1396193216","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193290":["hashtag1","hashtag2"]},{"1396193216":["hashtag1","hashtag2"]},{"1396193251":["hashtag1","hashtag2"]},{"1396193182":["hashtag1","hashtag2"]},{"1396193161":["hashtag1","hashtag2"]},{"1396193163":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193290, 1396193216, 1396193251, 1396193182, 1396193161, 1396193163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18543076515198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 03:29:42.041519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_21_2700.jpg', '/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_25_3667.jpg', '/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_27_2586.jpg', '/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_31_3659.jpg', '/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_33_2672.jpg', '/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_36_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_21_2700.jpg
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_25_3667.jpg
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_27_2586.jpg
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_31_3659.jpg
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_33_2672.jpg
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_36_2660.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 [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>8bgi2o778</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>8bgi2o778</strong>.
uploaded 0 photos
time to upload: 44.41803216934204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:30:32.300512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_21_2700.jpg', '/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_25_3667.jpg', '/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_27_2586.jpg', '/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_31_3659.jpg', '/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_33_2672.jpg', '/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_36_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_21_2700.jpg
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_25_3667.jpg
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_27_2586.jpg
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_31_3659.jpg
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_33_2672.jpg
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_36_2660.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":["1396193495","1396193489","1396193482","1396193491","1396193493","1396193487"],"photo_ids_order":["1396193482","1396193487","1396193489","1396193491","1396193493","1396193495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/37c8b9c38c27352109ec8aeaf349c22d.jpg","text":"TemporaryFile(/tmp/multipartBody6388933710293960296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124292969,"filename":"image_26112025_01_32_36_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/26/b8ba4c6beebb588c99675dd7bd7dd775.jpg","text":"TemporaryFile(/tmp/multipartBody4615486103028587609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124292969,"filename":"image_26112025_01_32_27_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/26/37fd752d234c75d24e20700afc2f290c.jpg","text":"TemporaryFile(/tmp/multipartBody2736618297913174714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124292969,"filename":"image_26112025_01_32_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/26/af3cd9ac60af6847cbcc4aeea097c672.jpg","text":"TemporaryFile(/tmp/multipartBody8813225406625335982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124292969,"filename":"image_26112025_01_32_31_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/26/c81597a51a0d81772988af85cb28ec00.jpg","text":"TemporaryFile(/tmp/multipartBody9206847213147704209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124292969,"filename":"image_26112025_01_32_33_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/26/c0e555b0b38abd64db04dbf430070c8e.jpg","text":"TemporaryFile(/tmp/multipartBody3804323208457167751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124292969,"filename":"image_26112025_01_32_25_3667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193489","file1":"1396193487","file0":"1396193482","file4":"1396193493","file5":"1396193495","file3":"1396193491"},"map_files_photo_id_array":[{"photo_id":"1396193495","filename":"file5"},{"photo_id":"1396193489","filename":"file2"},{"photo_id":"1396193493","filename":"file4"},{"photo_id":"1396193487","filename":"file1"},{"photo_id":"1396193482","filename":"file0"},{"photo_id":"1396193491","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193495":["hashtag1","hashtag2"]},{"1396193489":["hashtag1","hashtag2"]},{"1396193482":["hashtag1","hashtag2"]},{"1396193491":["hashtag1","hashtag2"]},{"1396193493":["hashtag1","hashtag2"]},{"1396193487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193495, 1396193489, 1396193482, 1396193491, 1396193493, 1396193487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.577494621276855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:31:12.217043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_40_3608.jpg', '/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_42_2614.jpg', '/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_45_2576.jpg', '/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_49_3820.jpg', '/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_51_2559.jpg', '/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_54_2535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_40_3608.jpg
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_42_2614.jpg
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_45_2576.jpg
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_49_3820.jpg
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_51_2559.jpg
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_54_2535.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":["1396193505","1396193498","1396193501","1396193497","1396193499","1396193503"],"photo_ids_order":["1396193497","1396193498","1396193499","1396193501","1396193503","1396193505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f7323329a2a66f150e45c98770e09b7f.jpg","text":"TemporaryFile(/tmp/multipartBody6822603313046193800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124332916,"filename":"image_26112025_01_32_54_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/26/94c223a4c12700728c06d9bac90ffbb3.jpg","text":"TemporaryFile(/tmp/multipartBody7125319153514570616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124332916,"filename":"image_26112025_01_32_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/26/c3f02f5d8bfa5e2ddf524f706d3613d5.jpg","text":"TemporaryFile(/tmp/multipartBody3140537946268275386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124332916,"filename":"image_26112025_01_32_49_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/26/b3f423a9c20169c4dcc5af82300c6086.jpg","text":"TemporaryFile(/tmp/multipartBody6322926220282158327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124332916,"filename":"image_26112025_01_32_40_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/26/b0cd2d897cf9fbac4981afd037f9b14d.jpg","text":"TemporaryFile(/tmp/multipartBody6140551012709063786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124332916,"filename":"image_26112025_01_32_45_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/26/7770dfd76dc2494f4be781cfa87cc7ac.jpg","text":"TemporaryFile(/tmp/multipartBody70187531441803951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124332916,"filename":"image_26112025_01_32_51_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193499","file1":"1396193498","file0":"1396193497","file4":"1396193503","file5":"1396193505","file3":"1396193501"},"map_files_photo_id_array":[{"photo_id":"1396193505","filename":"file5"},{"photo_id":"1396193499","filename":"file2"},{"photo_id":"1396193503","filename":"file4"},{"photo_id":"1396193498","filename":"file1"},{"photo_id":"1396193497","filename":"file0"},{"photo_id":"1396193501","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193505":["hashtag1","hashtag2"]},{"1396193498":["hashtag1","hashtag2"]},{"1396193501":["hashtag1","hashtag2"]},{"1396193497":["hashtag1","hashtag2"]},{"1396193499":["hashtag1","hashtag2"]},{"1396193503":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193505, 1396193498, 1396193501, 1396193497, 1396193499, 1396193503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.55866003036499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:32:02.840387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_58_3729.jpg', '/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_03_2711.jpg', '/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_06_2762.jpg', '/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_09_3631.jpg', '/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_16_3584.jpg', '/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_18_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/32/image_26112025_01_32_58_3729.jpg
/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_03_2711.jpg
/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_06_2762.jpg
/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_09_3631.jpg
/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_16_3584.jpg
/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_18_2598.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":["1396193517","1396193511","1396193514","1396193513","1396193515","1396193509"],"photo_ids_order":["1396193509","1396193511","1396193513","1396193514","1396193515","1396193517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/73ed6ea9731c4aea4716c28e76f778e0.jpg","text":"TemporaryFile(/tmp/multipartBody3287497407793325068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124383551,"filename":"image_26112025_01_33_18_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/26/a3c3c1d65a8ff11a4e2c2c10a076a852.jpg","text":"TemporaryFile(/tmp/multipartBody7815230285656705608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124383551,"filename":"image_26112025_01_33_03_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/26/729d9e18cae1fbe79ff620e756224ce0.jpg","text":"TemporaryFile(/tmp/multipartBody34888829751475314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124383551,"filename":"image_26112025_01_33_09_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/26/f375cee06b5897238e8c90045132087a.jpg","text":"TemporaryFile(/tmp/multipartBody3567491155456861771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124383551,"filename":"image_26112025_01_33_06_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/26/0aa80e23474dd642af8272587fca2979.jpg","text":"TemporaryFile(/tmp/multipartBody344685609802692304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124383551,"filename":"image_26112025_01_33_16_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/26/2b31264a2552094cb4bf2369dcec7f84.jpg","text":"TemporaryFile(/tmp/multipartBody6484361490623307731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124383551,"filename":"image_26112025_01_32_58_3729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193513","file1":"1396193511","file0":"1396193509","file4":"1396193515","file5":"1396193517","file3":"1396193514"},"map_files_photo_id_array":[{"photo_id":"1396193517","filename":"file5"},{"photo_id":"1396193513","filename":"file2"},{"photo_id":"1396193515","filename":"file4"},{"photo_id":"1396193511","filename":"file1"},{"photo_id":"1396193509","filename":"file0"},{"photo_id":"1396193514","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193517":["hashtag1","hashtag2"]},{"1396193511":["hashtag1","hashtag2"]},{"1396193514":["hashtag1","hashtag2"]},{"1396193513":["hashtag1","hashtag2"]},{"1396193515":["hashtag1","hashtag2"]},{"1396193509":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193517, 1396193511, 1396193514, 1396193513, 1396193515, 1396193509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57594585418701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 03:32:42.343588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_21_2626.jpg', '/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_24_3575.jpg', '/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_27_2544.jpg', '/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_31_3593.jpg', '/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_33_2660.jpg', '/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_36_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_21_2626.jpg
/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_24_3575.jpg
/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_27_2544.jpg
/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_31_3593.jpg
/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_33_2660.jpg
/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_36_2696.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":["1396193541","1396193526","1396193540","1396193528","1396193539","1396193542"],"photo_ids_order":["1396193526","1396193528","1396193539","1396193540","1396193541","1396193542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4bbf26eb4e7d439a1498a7084d299030.jpg","text":"TemporaryFile(/tmp/multipartBody2539059937534976994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124423007,"filename":"image_26112025_01_33_33_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/26/98fb257a7935a4d2109ebca94445e821.jpg","text":"TemporaryFile(/tmp/multipartBody2825696261713691660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124423007,"filename":"image_26112025_01_33_21_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/26/71a5ea5162caca6d31e3a7268bfb8eb2.jpg","text":"TemporaryFile(/tmp/multipartBody2964786442922449378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124423007,"filename":"image_26112025_01_33_31_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/26/74dbbd3750f43fb23ccaccfb2ae7c84c.jpg","text":"TemporaryFile(/tmp/multipartBody8929267543363282022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124423007,"filename":"image_26112025_01_33_24_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/26/3a54f519fb7360f2f8b144d7c30630eb.jpg","text":"TemporaryFile(/tmp/multipartBody3308164034941820211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124423007,"filename":"image_26112025_01_33_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/26/5616e65d7f3989bd9effd800250c1075.jpg","text":"TemporaryFile(/tmp/multipartBody8827043741184484856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124423007,"filename":"image_26112025_01_33_36_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193539","file1":"1396193528","file0":"1396193526","file4":"1396193541","file5":"1396193542","file3":"1396193540"},"map_files_photo_id_array":[{"photo_id":"1396193542","filename":"file5"},{"photo_id":"1396193539","filename":"file2"},{"photo_id":"1396193541","filename":"file4"},{"photo_id":"1396193528","filename":"file1"},{"photo_id":"1396193526","filename":"file0"},{"photo_id":"1396193540","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193541":["hashtag1","hashtag2"]},{"1396193526":["hashtag1","hashtag2"]},{"1396193540":["hashtag1","hashtag2"]},{"1396193528":["hashtag1","hashtag2"]},{"1396193539":["hashtag1","hashtag2"]},{"1396193542":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193541, 1396193526, 1396193540, 1396193528, 1396193539, 1396193542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51540279388428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:33:22.533940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_39_3635.jpg', '/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_42_2628.jpg', '/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_45_2657.jpg', '/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_48_3641.jpg', '/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_51_2608.jpg', '/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_55_3562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_39_3635.jpg
/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_42_2628.jpg
/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_45_2657.jpg
/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_48_3641.jpg
/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_51_2608.jpg
/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_55_3562.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":["1396193559","1396193555","1396193557","1396193551","1396193548","1396193553"],"photo_ids_order":["1396193548","1396193551","1396193553","1396193555","1396193557","1396193559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/59b2923948e4d8757c8a259321e856c1.jpg","text":"TemporaryFile(/tmp/multipartBody1160875204516771976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124463263,"filename":"image_26112025_01_33_55_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/26/7747c7e1d3c270ee50549a2447eda482.jpg","text":"TemporaryFile(/tmp/multipartBody1024268442747802625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124463263,"filename":"image_26112025_01_33_48_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/26/41e001fe6bde7b74edce7a559bb5ee3a.jpg","text":"TemporaryFile(/tmp/multipartBody6912538724623342515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124463263,"filename":"image_26112025_01_33_51_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/26/e62cac138f129578980ea719dfba0492.jpg","text":"TemporaryFile(/tmp/multipartBody1902242960773802714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124463263,"filename":"image_26112025_01_33_42_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/26/a57320dd18d2e4c9b5ee33e5c8ce0856.jpg","text":"TemporaryFile(/tmp/multipartBody9029723027628775406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124463263,"filename":"image_26112025_01_33_39_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/26/5c3d39182fcd500e558fdd8d9dd134af.jpg","text":"TemporaryFile(/tmp/multipartBody7641795679454343141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124463263,"filename":"image_26112025_01_33_45_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193553","file1":"1396193551","file0":"1396193548","file4":"1396193557","file5":"1396193559","file3":"1396193555"},"map_files_photo_id_array":[{"photo_id":"1396193559","filename":"file5"},{"photo_id":"1396193553","filename":"file2"},{"photo_id":"1396193557","filename":"file4"},{"photo_id":"1396193551","filename":"file1"},{"photo_id":"1396193548","filename":"file0"},{"photo_id":"1396193555","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193559":["hashtag1","hashtag2"]},{"1396193555":["hashtag1","hashtag2"]},{"1396193557":["hashtag1","hashtag2"]},{"1396193551":["hashtag1","hashtag2"]},{"1396193548":["hashtag1","hashtag2"]},{"1396193553":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193559, 1396193555, 1396193557, 1396193551, 1396193548, 1396193553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45780110359192 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:34:03.240927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_57_2623.jpg', '/home/pi/Desktop/images/26112025/01/33/image_26112025_01_34_00_2488.jpg', '/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_03_3597.jpg', '/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_06_2735.jpg', '/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_09_2612.jpg', '/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_12_3702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/33/image_26112025_01_33_57_2623.jpg
/home/pi/Desktop/images/26112025/01/33/image_26112025_01_34_00_2488.jpg
/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_03_3597.jpg
/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_06_2735.jpg
/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_09_2612.jpg
/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_12_3702.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":["1396193562","1396193585","1396193564","1396193593","1396193578","1396193560"],"photo_ids_order":["1396193560","1396193562","1396193564","1396193578","1396193585","1396193593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/16e0f69c2ed64c65ccbe2c8caea44daf.jpg","text":"TemporaryFile(/tmp/multipartBody8917005101605374621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124503985,"filename":"image_26112025_01_34_00_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/26/941861d54c4a27481322ef58f546af18.jpg","text":"TemporaryFile(/tmp/multipartBody7356290398335141095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124503985,"filename":"image_26112025_01_34_09_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/faa206471891faba53edbc189e946601.jpg","text":"TemporaryFile(/tmp/multipartBody6710977240444453070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124503985,"filename":"image_26112025_01_34_03_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/26/63241bc7f6b8b3e488e96ea48a3dba6a.jpg","text":"TemporaryFile(/tmp/multipartBody6700477895995422813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124503985,"filename":"image_26112025_01_34_12_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/26/f79247b6436284c6f20270b0f3a536ee.jpg","text":"TemporaryFile(/tmp/multipartBody4471977057516168531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124503985,"filename":"image_26112025_01_34_06_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/26/489a5a09c3da36f655fbef717520b17c.jpg","text":"TemporaryFile(/tmp/multipartBody6773101980358236305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124503985,"filename":"image_26112025_01_33_57_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193564","file1":"1396193562","file0":"1396193560","file4":"1396193585","file5":"1396193593","file3":"1396193578"},"map_files_photo_id_array":[{"photo_id":"1396193593","filename":"file5"},{"photo_id":"1396193564","filename":"file2"},{"photo_id":"1396193585","filename":"file4"},{"photo_id":"1396193562","filename":"file1"},{"photo_id":"1396193560","filename":"file0"},{"photo_id":"1396193578","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193562":["hashtag1","hashtag2"]},{"1396193585":["hashtag1","hashtag2"]},{"1396193564":["hashtag1","hashtag2"]},{"1396193593":["hashtag1","hashtag2"]},{"1396193578":["hashtag1","hashtag2"]},{"1396193560":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193562, 1396193585, 1396193564, 1396193593, 1396193578, 1396193560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24835014343262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 03:34:42.553539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_15_2579.jpg', '/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_21_3698.jpg', '/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_24_2671.jpg', '/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_27_2570.jpg', '/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_30_3543.jpg', '/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_33_2555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_15_2579.jpg
/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_21_3698.jpg
/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_24_2671.jpg
/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_27_2570.jpg
/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_30_3543.jpg
/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_33_2555.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":["1396193604","1396193601","1396193600","1396193603","1396193598","1396193602"],"photo_ids_order":["1396193598","1396193600","1396193601","1396193602","1396193603","1396193604"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bc9742f8758f8fd3748a5996967ef3df.jpg","text":"TemporaryFile(/tmp/multipartBody7112537611747004704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124543250,"filename":"image_26112025_01_34_33_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/26/936b683f5fc8bdf56fbd0bc111fc4a9a.jpg","text":"TemporaryFile(/tmp/multipartBody1648920016226592391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124543250,"filename":"image_26112025_01_34_24_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/26/1b0935ede1f2b1115780c6a23919869a.jpg","text":"TemporaryFile(/tmp/multipartBody7141734488524780283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124543250,"filename":"image_26112025_01_34_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/26/3d0f93ebf72c229ea373a437d332948a.jpg","text":"TemporaryFile(/tmp/multipartBody5901881246781311829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124543250,"filename":"image_26112025_01_34_30_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/26/6ac4f976eb9b08b7ba08b1fbc4f642ff.jpg","text":"TemporaryFile(/tmp/multipartBody5660443834672192774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124543250,"filename":"image_26112025_01_34_15_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/26/f4a095cf26bf82351252bf7d85fe66c5.jpg","text":"TemporaryFile(/tmp/multipartBody5411631840499175079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124543250,"filename":"image_26112025_01_34_27_2570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193601","file1":"1396193600","file0":"1396193598","file4":"1396193603","file5":"1396193604","file3":"1396193602"},"map_files_photo_id_array":[{"photo_id":"1396193604","filename":"file5"},{"photo_id":"1396193601","filename":"file2"},{"photo_id":"1396193603","filename":"file4"},{"photo_id":"1396193600","filename":"file1"},{"photo_id":"1396193598","filename":"file0"},{"photo_id":"1396193602","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193604":["hashtag1","hashtag2"]},{"1396193601":["hashtag1","hashtag2"]},{"1396193600":["hashtag1","hashtag2"]},{"1396193603":["hashtag1","hashtag2"]},{"1396193598":["hashtag1","hashtag2"]},{"1396193602":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193604, 1396193601, 1396193600, 1396193603, 1396193598, 1396193602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74710130691528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:35:22.639988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_36_3645.jpg', '/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_39_2664.jpg', '/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_42_2657.jpg', '/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_46_3766.jpg', '/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_48_2629.jpg', '/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_51_2528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_36_3645.jpg
/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_39_2664.jpg
/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_42_2657.jpg
/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_46_3766.jpg
/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_48_2629.jpg
/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_51_2528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396193622","1396193631","1396193619","1396193657","1396193630","1396193652"],"photo_ids_order":["1396193619","1396193622","1396193630","1396193631","1396193652","1396193657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8bd595659d01215dcd0225abbb2d4271.jpg","text":"TemporaryFile(/tmp/multipartBody8677951601980767932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124583337,"filename":"image_26112025_01_34_39_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/26/7cfb829fc5d899e6f57bab82e4abf761.jpg","text":"TemporaryFile(/tmp/multipartBody6153565721494397794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124583337,"filename":"image_26112025_01_34_46_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/26/97bf9c3e42f67ba38ddbffda4b0c4a15.jpg","text":"TemporaryFile(/tmp/multipartBody2870576445941623234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124583337,"filename":"image_26112025_01_34_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/26/e879857b1857aebc5fd8aa3bcf616179.jpg","text":"TemporaryFile(/tmp/multipartBody4667054667369819066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124583337,"filename":"image_26112025_01_34_51_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/26/c7a07e86babbd8e7e28cc913b8ff4a5b.jpg","text":"TemporaryFile(/tmp/multipartBody2378908546985449188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124583337,"filename":"image_26112025_01_34_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/26/5b03edaa82ca35cebd8a5b89897c1bac.jpg","text":"TemporaryFile(/tmp/multipartBody4809886366781182088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124583337,"filename":"image_26112025_01_34_48_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193630","file1":"1396193622","file0":"1396193619","file4":"1396193652","file5":"1396193657","file3":"1396193631"},"map_files_photo_id_array":[{"photo_id":"1396193657","filename":"file5"},{"photo_id":"1396193630","filename":"file2"},{"photo_id":"1396193652","filename":"file4"},{"photo_id":"1396193622","filename":"file1"},{"photo_id":"1396193619","filename":"file0"},{"photo_id":"1396193631","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193622":["hashtag1","hashtag2"]},{"1396193631":["hashtag1","hashtag2"]},{"1396193619":["hashtag1","hashtag2"]},{"1396193657":["hashtag1","hashtag2"]},{"1396193630":["hashtag1","hashtag2"]},{"1396193652":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193622, 1396193631, 1396193619, 1396193657, 1396193630, 1396193652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.879265546798706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:36:03.199234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_54_3603.jpg', '/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_57_2718.jpg', '/home/pi/Desktop/images/26112025/01/34/image_26112025_01_35_00_2616.jpg', '/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_03_3561.jpg', '/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_06_2685.jpg', '/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_10_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_54_3603.jpg
/home/pi/Desktop/images/26112025/01/34/image_26112025_01_34_57_2718.jpg
/home/pi/Desktop/images/26112025/01/34/image_26112025_01_35_00_2616.jpg
/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_03_3561.jpg
/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_06_2685.jpg
/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_10_3633.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":["1396193675","1396193678","1396193669","1396193671","1396193673","1396193667"],"photo_ids_order":["1396193667","1396193669","1396193671","1396193673","1396193675","1396193678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a3d8ed55da29c9b806f925f8e71fb1cb.jpg","text":"TemporaryFile(/tmp/multipartBody7870975188689099244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124623948,"filename":"image_26112025_01_35_06_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/26/c68c15b1b5f643fb11d2dd63afda0f41.jpg","text":"TemporaryFile(/tmp/multipartBody1752872792701179708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124623948,"filename":"image_26112025_01_35_10_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/26/0f624806ae607e482c0438aa3eb30492.jpg","text":"TemporaryFile(/tmp/multipartBody4824348440525057144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124623948,"filename":"image_26112025_01_34_57_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/26/965de3fe149d7e5fdbf3c425e16a21c1.jpg","text":"TemporaryFile(/tmp/multipartBody1873574523542292182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124623948,"filename":"image_26112025_01_35_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/26/b088dbce41d035f08a9201c2007b3c9d.jpg","text":"TemporaryFile(/tmp/multipartBody7621368933070561601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124623948,"filename":"image_26112025_01_35_03_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/26/0c03f08302b0666726bee1a4ed0d4b61.jpg","text":"TemporaryFile(/tmp/multipartBody6584963622414604211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124623948,"filename":"image_26112025_01_34_54_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193671","file1":"1396193669","file0":"1396193667","file4":"1396193675","file5":"1396193678","file3":"1396193673"},"map_files_photo_id_array":[{"photo_id":"1396193678","filename":"file5"},{"photo_id":"1396193671","filename":"file2"},{"photo_id":"1396193675","filename":"file4"},{"photo_id":"1396193669","filename":"file1"},{"photo_id":"1396193667","filename":"file0"},{"photo_id":"1396193673","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193675":["hashtag1","hashtag2"]},{"1396193678":["hashtag1","hashtag2"]},{"1396193669":["hashtag1","hashtag2"]},{"1396193671":["hashtag1","hashtag2"]},{"1396193673":["hashtag1","hashtag2"]},{"1396193667":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193675, 1396193678, 1396193669, 1396193671, 1396193673, 1396193667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.783695697784424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 03:36:42.742655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_12_2786.jpg', '/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_15_2578.jpg', '/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_18_2652.jpg', '/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_21_3769.jpg', '/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_24_2607.jpg', '/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_27_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_12_2786.jpg
/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_15_2578.jpg
/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_18_2652.jpg
/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_21_3769.jpg
/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_24_2607.jpg
/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_27_2668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396193690","1396193687","1396193686","1396193683","1396193685","1396193688"],"photo_ids_order":["1396193683","1396193685","1396193686","1396193687","1396193688","1396193690"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/182af8129fa6893cbf605417ae273312.jpg","text":"TemporaryFile(/tmp/multipartBody7783256888676145258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124663419,"filename":"image_26112025_01_35_27_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/26/a8888b9c9a36f9b7e309fa2e405410b8.jpg","text":"TemporaryFile(/tmp/multipartBody5611355356307683661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124663419,"filename":"image_26112025_01_35_21_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/26/2342ed82a9d18375945e68b17d10df5e.jpg","text":"TemporaryFile(/tmp/multipartBody1673042934155199147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124663419,"filename":"image_26112025_01_35_18_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/26/413ebbc5dba84867e76f0831e7a96a30.jpg","text":"TemporaryFile(/tmp/multipartBody4160789361648266807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124663419,"filename":"image_26112025_01_35_12_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/26/c6f3665a21cc84cba440f553ea555fde.jpg","text":"TemporaryFile(/tmp/multipartBody8593095958252306485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124663419,"filename":"image_26112025_01_35_15_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/26/5ffc51793923627fa2ff0bd68702ecc0.jpg","text":"TemporaryFile(/tmp/multipartBody8017922201873066773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124663419,"filename":"image_26112025_01_35_24_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193686","file1":"1396193685","file0":"1396193683","file4":"1396193688","file5":"1396193690","file3":"1396193687"},"map_files_photo_id_array":[{"photo_id":"1396193690","filename":"file5"},{"photo_id":"1396193686","filename":"file2"},{"photo_id":"1396193688","filename":"file4"},{"photo_id":"1396193685","filename":"file1"},{"photo_id":"1396193683","filename":"file0"},{"photo_id":"1396193687","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193690":["hashtag1","hashtag2"]},{"1396193687":["hashtag1","hashtag2"]},{"1396193686":["hashtag1","hashtag2"]},{"1396193683":["hashtag1","hashtag2"]},{"1396193685":["hashtag1","hashtag2"]},{"1396193688":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193690, 1396193687, 1396193686, 1396193683, 1396193685, 1396193688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.016979694366455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:37:22.057945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_30_3608.jpg', '/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_33_2680.jpg', '/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_36_2793.jpg', '/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_39_3661.jpg', '/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_42_2567.jpg', '/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_45_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_30_3608.jpg
/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_33_2680.jpg
/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_36_2793.jpg
/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_39_3661.jpg
/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_42_2567.jpg
/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_45_2618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396193715","1396193711","1396193705","1396193710","1396193713","1396193707"],"photo_ids_order":["1396193705","1396193707","1396193710","1396193711","1396193713","1396193715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a71ca7dbea7a2febac0a24604c06d11b.jpg","text":"TemporaryFile(/tmp/multipartBody1956118388684465482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124702777,"filename":"image_26112025_01_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/26/ee283bbfe3002486b56855a59172e006.jpg","text":"TemporaryFile(/tmp/multipartBody1166702818240671138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124702777,"filename":"image_26112025_01_35_39_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/26/65a1ac5f84d994a4c22da467d926a228.jpg","text":"TemporaryFile(/tmp/multipartBody1744324516286683728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124702777,"filename":"image_26112025_01_35_30_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/26/1c4ea13bf7f7d820cc6ed7f16c617c17.jpg","text":"TemporaryFile(/tmp/multipartBody4175683693822097218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124702777,"filename":"image_26112025_01_35_36_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/26/4768c099153593e576f95dc185f95e89.jpg","text":"TemporaryFile(/tmp/multipartBody3581459337048431708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124702777,"filename":"image_26112025_01_35_42_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/26/2e2be5b9839c5368699a800051ff298e.jpg","text":"TemporaryFile(/tmp/multipartBody6312740924459437265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124702777,"filename":"image_26112025_01_35_33_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193710","file1":"1396193707","file0":"1396193705","file4":"1396193713","file5":"1396193715","file3":"1396193711"},"map_files_photo_id_array":[{"photo_id":"1396193715","filename":"file5"},{"photo_id":"1396193710","filename":"file2"},{"photo_id":"1396193713","filename":"file4"},{"photo_id":"1396193707","filename":"file1"},{"photo_id":"1396193705","filename":"file0"},{"photo_id":"1396193711","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193715":["hashtag1","hashtag2"]},{"1396193711":["hashtag1","hashtag2"]},{"1396193705":["hashtag1","hashtag2"]},{"1396193710":["hashtag1","hashtag2"]},{"1396193713":["hashtag1","hashtag2"]},{"1396193707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193715, 1396193711, 1396193705, 1396193710, 1396193713, 1396193707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.499377489089966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:38:02.619147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_48_3690.jpg', '/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_51_2584.jpg', '/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_54_2752.jpg', '/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_57_3539.jpg', '/home/pi/Desktop/images/26112025/01/35/image_26112025_01_36_00_2617.jpg', '/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_03_3705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_48_3690.jpg
/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_51_2584.jpg
/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_54_2752.jpg
/home/pi/Desktop/images/26112025/01/35/image_26112025_01_35_57_3539.jpg
/home/pi/Desktop/images/26112025/01/35/image_26112025_01_36_00_2617.jpg
/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_03_3705.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":["1396193718","1396193720","1396193717","1396193722","1396193719","1396193716"],"photo_ids_order":["1396193716","1396193717","1396193718","1396193719","1396193720","1396193722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c8a62c5d2db93cdce95378f438736c97.jpg","text":"TemporaryFile(/tmp/multipartBody2284109633388816629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124743346,"filename":"image_26112025_01_35_54_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/26/aa68f2be1b4f1eb2a75985889d2a5c6d.jpg","text":"TemporaryFile(/tmp/multipartBody1405510572647841857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124743346,"filename":"image_26112025_01_36_00_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/26/e845c648cc212177eecf6665a2f6c8f2.jpg","text":"TemporaryFile(/tmp/multipartBody6866060427746169165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124743346,"filename":"image_26112025_01_35_51_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/26/5b1dae43276f4878e54e3b6cb67042da.jpg","text":"TemporaryFile(/tmp/multipartBody5743548534026575283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124743346,"filename":"image_26112025_01_36_03_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/26/0c2c521da84e688c937779e1b2603b4a.jpg","text":"TemporaryFile(/tmp/multipartBody4307335941894381591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124743346,"filename":"image_26112025_01_35_57_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/26/e7ec129c51155aa661c80754d56d737f.jpg","text":"TemporaryFile(/tmp/multipartBody2842745342411556606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124743346,"filename":"image_26112025_01_35_48_3690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193718","file1":"1396193717","file0":"1396193716","file4":"1396193720","file5":"1396193722","file3":"1396193719"},"map_files_photo_id_array":[{"photo_id":"1396193722","filename":"file5"},{"photo_id":"1396193718","filename":"file2"},{"photo_id":"1396193720","filename":"file4"},{"photo_id":"1396193717","filename":"file1"},{"photo_id":"1396193716","filename":"file0"},{"photo_id":"1396193719","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193718":["hashtag1","hashtag2"]},{"1396193720":["hashtag1","hashtag2"]},{"1396193717":["hashtag1","hashtag2"]},{"1396193722":["hashtag1","hashtag2"]},{"1396193719":["hashtag1","hashtag2"]},{"1396193716":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193718, 1396193720, 1396193717, 1396193722, 1396193719, 1396193716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51129126548767 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 03:38:42.199525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_07_3852.jpg', '/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_09_1657.jpg', '/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_15_3630.jpg', '/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_18_2578.jpg', '/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_24_2772.jpg', '/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_27_2556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_07_3852.jpg
/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_09_1657.jpg
/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_15_3630.jpg
/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_18_2578.jpg
/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_24_2772.jpg
/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_27_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.6046364307403564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:39:03.383447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_07_3852.jpg', '/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_09_1657.jpg', '/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_15_3630.jpg', '/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_18_2578.jpg', '/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_24_2772.jpg', '/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_27_2556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_07_3852.jpg
/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_09_1657.jpg
/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_15_3630.jpg
/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_18_2578.jpg
/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_24_2772.jpg
/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_27_2556.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":["1396193748","1396193742","1396193745","1396193744","1396193740","1396193746"],"photo_ids_order":["1396193740","1396193742","1396193744","1396193745","1396193746","1396193748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7bc1c2fd16c70fa754eda7644f200ba9.jpg","text":"TemporaryFile(/tmp/multipartBody8091585273983990123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124804284,"filename":"image_26112025_01_36_27_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/26/abed278aa1fc7c228f9999cb2afe7727.jpg","text":"TemporaryFile(/tmp/multipartBody3031812572462731865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124804284,"filename":"image_26112025_01_36_09_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/26/b6cd85e37be7adba421e46e4e589dc40.jpg","text":"TemporaryFile(/tmp/multipartBody5535264723564457044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124804284,"filename":"image_26112025_01_36_18_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/26/57280c540c88550ff2a75b448eaa3f4c.jpg","text":"TemporaryFile(/tmp/multipartBody8366950940553734550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124804284,"filename":"image_26112025_01_36_15_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/26/074d0b8c2cca1a21bbe15f8f53bf73c1.jpg","text":"TemporaryFile(/tmp/multipartBody1075715326562928268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124804284,"filename":"image_26112025_01_36_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/26/7762ddb677654cef4b3eabbaf1a25913.jpg","text":"TemporaryFile(/tmp/multipartBody2073190440872261223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124804284,"filename":"image_26112025_01_36_24_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193744","file1":"1396193742","file0":"1396193740","file4":"1396193746","file5":"1396193748","file3":"1396193745"},"map_files_photo_id_array":[{"photo_id":"1396193748","filename":"file5"},{"photo_id":"1396193744","filename":"file2"},{"photo_id":"1396193746","filename":"file4"},{"photo_id":"1396193742","filename":"file1"},{"photo_id":"1396193740","filename":"file0"},{"photo_id":"1396193745","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193748":["hashtag1","hashtag2"]},{"1396193742":["hashtag1","hashtag2"]},{"1396193745":["hashtag1","hashtag2"]},{"1396193744":["hashtag1","hashtag2"]},{"1396193740":["hashtag1","hashtag2"]},{"1396193746":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193748, 1396193742, 1396193745, 1396193744, 1396193740, 1396193746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02490854263306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 03:39:42.411174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_30_3563.jpg', '/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_33_2651.jpg', '/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_35_2582.jpg', '/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_39_3661.jpg', '/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_42_2711.jpg', '/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_44_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_30_3563.jpg
/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_33_2651.jpg
/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_35_2582.jpg
/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_39_3661.jpg
/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_42_2711.jpg
/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_44_2579.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":["1396193754","1396193757","1396193756","1396193753","1396193755","1396193758"],"photo_ids_order":["1396193753","1396193754","1396193755","1396193756","1396193757","1396193758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1ef7e226d58d99d321a4d914bf00ebd5.jpg","text":"TemporaryFile(/tmp/multipartBody3324276070501780009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124843147,"filename":"image_26112025_01_36_33_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/26/425c488f2b78fc0c27dc22500d7c8f15.jpg","text":"TemporaryFile(/tmp/multipartBody6523364372924049432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124843147,"filename":"image_26112025_01_36_42_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/26/b397872aa2331dfb26122dbc57516af8.jpg","text":"TemporaryFile(/tmp/multipartBody603396165373366005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124843147,"filename":"image_26112025_01_36_39_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/26/edf4ab5ce61ccec2299fbfe87749a2a0.jpg","text":"TemporaryFile(/tmp/multipartBody4954278138535686616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124843147,"filename":"image_26112025_01_36_30_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/26/fd4bf00e9fe1b63adde3fd1570a35631.jpg","text":"TemporaryFile(/tmp/multipartBody8351167026087412528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124843147,"filename":"image_26112025_01_36_35_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/26/39a0714d058d1d2c9ca97c837785c16a.jpg","text":"TemporaryFile(/tmp/multipartBody5995500594039027737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124843147,"filename":"image_26112025_01_36_44_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193755","file1":"1396193754","file0":"1396193753","file4":"1396193757","file5":"1396193758","file3":"1396193756"},"map_files_photo_id_array":[{"photo_id":"1396193758","filename":"file5"},{"photo_id":"1396193755","filename":"file2"},{"photo_id":"1396193757","filename":"file4"},{"photo_id":"1396193754","filename":"file1"},{"photo_id":"1396193753","filename":"file0"},{"photo_id":"1396193756","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193754":["hashtag1","hashtag2"]},{"1396193757":["hashtag1","hashtag2"]},{"1396193756":["hashtag1","hashtag2"]},{"1396193753":["hashtag1","hashtag2"]},{"1396193755":["hashtag1","hashtag2"]},{"1396193758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193754, 1396193757, 1396193756, 1396193753, 1396193755, 1396193758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.050865173339844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:40:22.644623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_48_3577.jpg', '/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_51_2590.jpg', '/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_54_3535.jpg', '/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_57_2617.jpg', '/home/pi/Desktop/images/26112025/01/36/image_26112025_01_37_00_3647.jpg', '/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_03_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_48_3577.jpg
/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_51_2590.jpg
/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_54_3535.jpg
/home/pi/Desktop/images/26112025/01/36/image_26112025_01_36_57_2617.jpg
/home/pi/Desktop/images/26112025/01/36/image_26112025_01_37_00_3647.jpg
/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_03_2666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396193775","1396193777","1396193770","1396193764","1396193778","1396193766"],"photo_ids_order":["1396193764","1396193766","1396193770","1396193775","1396193777","1396193778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ea2ae104005922373f95316b3789286f.jpg","text":"TemporaryFile(/tmp/multipartBody4630443148381690232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124883347,"filename":"image_26112025_01_36_57_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/26/1eb68ab4b314354a2db5894decc1de71.jpg","text":"TemporaryFile(/tmp/multipartBody8830857491822811071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124883347,"filename":"image_26112025_01_37_00_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/26/f1bf50d33fc3128cccbfdf4c8976b0b1.jpg","text":"TemporaryFile(/tmp/multipartBody4147805382466526983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124883347,"filename":"image_26112025_01_36_54_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/26/f42dbc2029c1d2c58b1cff315ccbcfbb.jpg","text":"TemporaryFile(/tmp/multipartBody7934375740856949535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124883347,"filename":"image_26112025_01_36_48_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/26/91fec845c42b3470a263c82642d081d7.jpg","text":"TemporaryFile(/tmp/multipartBody4358540659555521301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124883347,"filename":"image_26112025_01_37_03_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/76edd02ea7c6b99dea148580a027c7a0.jpg","text":"TemporaryFile(/tmp/multipartBody3540425097362628605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124883347,"filename":"image_26112025_01_36_51_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193770","file1":"1396193766","file0":"1396193764","file4":"1396193777","file5":"1396193778","file3":"1396193775"},"map_files_photo_id_array":[{"photo_id":"1396193778","filename":"file5"},{"photo_id":"1396193770","filename":"file2"},{"photo_id":"1396193777","filename":"file4"},{"photo_id":"1396193766","filename":"file1"},{"photo_id":"1396193764","filename":"file0"},{"photo_id":"1396193775","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193775":["hashtag1","hashtag2"]},{"1396193777":["hashtag1","hashtag2"]},{"1396193770":["hashtag1","hashtag2"]},{"1396193764":["hashtag1","hashtag2"]},{"1396193778":["hashtag1","hashtag2"]},{"1396193766":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193775, 1396193777, 1396193770, 1396193764, 1396193778, 1396193766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25733184814453 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:41:03.391673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_06_2587.jpg', '/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_09_3674.jpg', '/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_12_2797.jpg', '/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_17_2558.jpg', '/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_21_3760.jpg', '/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_24_2822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_06_2587.jpg
/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_09_3674.jpg
/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_12_2797.jpg
/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_17_2558.jpg
/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_21_3760.jpg
/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_24_2822.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":["1396193792","1396193789","1396193786","1396193788","1396193790","1396193784"],"photo_ids_order":["1396193784","1396193786","1396193788","1396193789","1396193790","1396193792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f7dc89db91ea9001c490f647fa36492a.jpg","text":"TemporaryFile(/tmp/multipartBody363137591776814404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124924300,"filename":"image_26112025_01_37_24_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/26/d561133e7b5f199e0be9ac923b8aaebb.jpg","text":"TemporaryFile(/tmp/multipartBody2325575987042474636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124924300,"filename":"image_26112025_01_37_17_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/26/34cfb9b448b4f220c47fe0c618f35774.jpg","text":"TemporaryFile(/tmp/multipartBody6493321766001294015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124924300,"filename":"image_26112025_01_37_09_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/26/473170a1fc3935aa2c6b094048c28e70.jpg","text":"TemporaryFile(/tmp/multipartBody6168346548615206223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124924300,"filename":"image_26112025_01_37_12_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/26/9d137b9e1f6cccb519c9ae09c6322a5f.jpg","text":"TemporaryFile(/tmp/multipartBody1279409461306858949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124924300,"filename":"image_26112025_01_37_21_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/26/f347731fcedfdb8a1f42ccd8c78ce6a6.jpg","text":"TemporaryFile(/tmp/multipartBody2211101984922622745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124924300,"filename":"image_26112025_01_37_06_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193788","file1":"1396193786","file0":"1396193784","file4":"1396193790","file5":"1396193792","file3":"1396193789"},"map_files_photo_id_array":[{"photo_id":"1396193792","filename":"file5"},{"photo_id":"1396193788","filename":"file2"},{"photo_id":"1396193790","filename":"file4"},{"photo_id":"1396193786","filename":"file1"},{"photo_id":"1396193784","filename":"file0"},{"photo_id":"1396193789","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193792":["hashtag1","hashtag2"]},{"1396193789":["hashtag1","hashtag2"]},{"1396193786":["hashtag1","hashtag2"]},{"1396193788":["hashtag1","hashtag2"]},{"1396193790":["hashtag1","hashtag2"]},{"1396193784":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193792, 1396193789, 1396193786, 1396193788, 1396193790, 1396193784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.80097556114197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 03:41:42.789022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_27_2629.jpg', '/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_29_2782.jpg', '/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_33_3623.jpg', '/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_36_2608.jpg', '/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_38_2849.jpg', '/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_42_3652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_27_2629.jpg
/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_29_2782.jpg
/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_33_3623.jpg
/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_36_2608.jpg
/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_38_2849.jpg
/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_42_3652.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":["1396193802","1396193801","1396193797","1396193803","1396193800","1396193799"],"photo_ids_order":["1396193797","1396193799","1396193800","1396193801","1396193802","1396193803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cc2f2ba8448deb096e6efb0403a5f239.jpg","text":"TemporaryFile(/tmp/multipartBody8515349939873869471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124963528,"filename":"image_26112025_01_37_38_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/26/419d7a65800e06ce6e9f83d69ec1791a.jpg","text":"TemporaryFile(/tmp/multipartBody3381035261353192149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124963528,"filename":"image_26112025_01_37_36_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/26/e960ee110ffb5c1ad4d6bff7a7d02510.jpg","text":"TemporaryFile(/tmp/multipartBody5503686091767888668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124963528,"filename":"image_26112025_01_37_27_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/26/d5feab03efe50cac8f5987b0dade477c.jpg","text":"TemporaryFile(/tmp/multipartBody2539919741964885029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124963528,"filename":"image_26112025_01_37_42_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f52747a8c61854cf58d7ec7b45679bcb.jpg","text":"TemporaryFile(/tmp/multipartBody2280888973465151948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124963528,"filename":"image_26112025_01_37_33_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/26/9b05494514e81ca9588f40ae17a095a2.jpg","text":"TemporaryFile(/tmp/multipartBody2567885427953425471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764124963528,"filename":"image_26112025_01_37_29_2782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193800","file1":"1396193799","file0":"1396193797","file4":"1396193802","file5":"1396193803","file3":"1396193801"},"map_files_photo_id_array":[{"photo_id":"1396193803","filename":"file5"},{"photo_id":"1396193800","filename":"file2"},{"photo_id":"1396193802","filename":"file4"},{"photo_id":"1396193799","filename":"file1"},{"photo_id":"1396193797","filename":"file0"},{"photo_id":"1396193801","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193802":["hashtag1","hashtag2"]},{"1396193801":["hashtag1","hashtag2"]},{"1396193797":["hashtag1","hashtag2"]},{"1396193803":["hashtag1","hashtag2"]},{"1396193800":["hashtag1","hashtag2"]},{"1396193799":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193802, 1396193801, 1396193797, 1396193803, 1396193800, 1396193799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18652415275574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:42:22.050314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_45_2512.jpg', '/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_48_3548.jpg', '/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_51_2689.jpg', '/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_54_2759.jpg', '/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_56_2665.jpg', '/home/pi/Desktop/images/26112025/01/37/image_26112025_01_38_00_3559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_45_2512.jpg
/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_48_3548.jpg
/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_51_2689.jpg
/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_54_2759.jpg
/home/pi/Desktop/images/26112025/01/37/image_26112025_01_37_56_2665.jpg
/home/pi/Desktop/images/26112025/01/37/image_26112025_01_38_00_3559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396193820","1396193817","1396193826","1396193828","1396193822","1396193824"],"photo_ids_order":["1396193817","1396193820","1396193822","1396193824","1396193826","1396193828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/606755653e2f431b9b00ef94a4a6a344.jpg","text":"TemporaryFile(/tmp/multipartBody4456087336822536649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125002753,"filename":"image_26112025_01_37_48_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/26/2ced802b88a0d891ce812d94c5451c38.jpg","text":"TemporaryFile(/tmp/multipartBody987802014799728241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125002753,"filename":"image_26112025_01_37_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/26/965ab5c92916c9a6898e508469fd4e7c.jpg","text":"TemporaryFile(/tmp/multipartBody9104101227489199073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125002753,"filename":"image_26112025_01_37_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/26/293698c2d996d3908c776aacc2c724a8.jpg","text":"TemporaryFile(/tmp/multipartBody3529646296121623912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125002753,"filename":"image_26112025_01_38_00_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/26/a3c8aced2d3f3de04579e22422f742db.jpg","text":"TemporaryFile(/tmp/multipartBody3392465534209302409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125002753,"filename":"image_26112025_01_37_51_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/26/b16011df1fc86e2f5f42e3d1172c6f7b.jpg","text":"TemporaryFile(/tmp/multipartBody4529135280656905526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125002753,"filename":"image_26112025_01_37_54_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193822","file1":"1396193820","file0":"1396193817","file4":"1396193826","file5":"1396193828","file3":"1396193824"},"map_files_photo_id_array":[{"photo_id":"1396193828","filename":"file5"},{"photo_id":"1396193822","filename":"file2"},{"photo_id":"1396193826","filename":"file4"},{"photo_id":"1396193820","filename":"file1"},{"photo_id":"1396193817","filename":"file0"},{"photo_id":"1396193824","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193820":["hashtag1","hashtag2"]},{"1396193817":["hashtag1","hashtag2"]},{"1396193826":["hashtag1","hashtag2"]},{"1396193828":["hashtag1","hashtag2"]},{"1396193822":["hashtag1","hashtag2"]},{"1396193824":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193820, 1396193817, 1396193826, 1396193828, 1396193822, 1396193824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.8633291721344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:43:02.767311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_03_2667.jpg', '/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_05_2735.jpg', '/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_09_3530.jpg', '/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_12_2729.jpg', '/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_15_3621.jpg', '/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_18_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_03_2667.jpg
/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_05_2735.jpg
/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_09_3530.jpg
/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_12_2729.jpg
/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_15_3621.jpg
/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_18_2667.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":["1396193832","1396193835","1396193846","1396193842","1396193839","1396193833"],"photo_ids_order":["1396193832","1396193833","1396193835","1396193839","1396193842","1396193846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2884b2314684f326556ad773cc26de08.jpg","text":"TemporaryFile(/tmp/multipartBody6148170852485054900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125043525,"filename":"image_26112025_01_38_03_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/26/0ac5aeac2cea40cf776d55e5bb822c9c.jpg","text":"TemporaryFile(/tmp/multipartBody2313864601234288125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125043525,"filename":"image_26112025_01_38_09_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/26/06415d7f26719a8c5c55f6726918a873.jpg","text":"TemporaryFile(/tmp/multipartBody9166107843276327749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125043525,"filename":"image_26112025_01_38_18_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/26/e57f6a7d2949a391de16348895ba4967.jpg","text":"TemporaryFile(/tmp/multipartBody3204673878591005812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125043525,"filename":"image_26112025_01_38_15_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/26/2fec01f289f1f6cf8340911f56439559.jpg","text":"TemporaryFile(/tmp/multipartBody291599482375762892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125043525,"filename":"image_26112025_01_38_12_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/26/9417a5379eda73ab526a734910eccc79.jpg","text":"TemporaryFile(/tmp/multipartBody3815170632586855966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125043525,"filename":"image_26112025_01_38_05_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193835","file1":"1396193833","file0":"1396193832","file4":"1396193842","file5":"1396193846","file3":"1396193839"},"map_files_photo_id_array":[{"photo_id":"1396193846","filename":"file5"},{"photo_id":"1396193835","filename":"file2"},{"photo_id":"1396193842","filename":"file4"},{"photo_id":"1396193833","filename":"file1"},{"photo_id":"1396193832","filename":"file0"},{"photo_id":"1396193839","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193832":["hashtag1","hashtag2"]},{"1396193835":["hashtag1","hashtag2"]},{"1396193846":["hashtag1","hashtag2"]},{"1396193842":["hashtag1","hashtag2"]},{"1396193839":["hashtag1","hashtag2"]},{"1396193833":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193832, 1396193835, 1396193846, 1396193842, 1396193839, 1396193833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.072636127471924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 03:43:42.151156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_20_2605.jpg', '/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_24_3670.jpg', '/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_27_2565.jpg', '/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_30_2836.jpg', '/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_32_2683.jpg', '/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_36_3559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_20_2605.jpg
/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_24_3670.jpg
/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_27_2565.jpg
/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_30_2836.jpg
/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_32_2683.jpg
/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_36_3559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396193856","1396193855","1396193858","1396193852","1396193854","1396193857"],"photo_ids_order":["1396193852","1396193854","1396193855","1396193856","1396193857","1396193858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9b2eb47d16044795430b8fc681ca9d65.jpg","text":"TemporaryFile(/tmp/multipartBody7630216280964506206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125082846,"filename":"image_26112025_01_38_30_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/26/e116d81bb0d6369397f13758d247fc1a.jpg","text":"TemporaryFile(/tmp/multipartBody8172695678864517902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125082846,"filename":"image_26112025_01_38_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/26/015b979989c0e58007c91bf6a45bfa65.jpg","text":"TemporaryFile(/tmp/multipartBody6970210094133710411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125082846,"filename":"image_26112025_01_38_36_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/26/0c522ff73111ff767e6bbf552f7258ad.jpg","text":"TemporaryFile(/tmp/multipartBody7714173236185959335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125082846,"filename":"image_26112025_01_38_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/26/0631f54b411b01df3fa47363dc412e90.jpg","text":"TemporaryFile(/tmp/multipartBody3498515875791796115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125082846,"filename":"image_26112025_01_38_24_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/26/76d11016affa27f304a89b759235c5ed.jpg","text":"TemporaryFile(/tmp/multipartBody8932372256956684901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125082846,"filename":"image_26112025_01_38_32_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193855","file1":"1396193854","file0":"1396193852","file4":"1396193857","file5":"1396193858","file3":"1396193856"},"map_files_photo_id_array":[{"photo_id":"1396193858","filename":"file5"},{"photo_id":"1396193855","filename":"file2"},{"photo_id":"1396193857","filename":"file4"},{"photo_id":"1396193854","filename":"file1"},{"photo_id":"1396193852","filename":"file0"},{"photo_id":"1396193856","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193856":["hashtag1","hashtag2"]},{"1396193855":["hashtag1","hashtag2"]},{"1396193858":["hashtag1","hashtag2"]},{"1396193852":["hashtag1","hashtag2"]},{"1396193854":["hashtag1","hashtag2"]},{"1396193857":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193856, 1396193855, 1396193858, 1396193852, 1396193854, 1396193857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61734461784363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:44:22.404104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_38_2642.jpg', '/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_42_3758.jpg', '/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_45_2704.jpg', '/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_48_2670.jpg', '/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_50_2660.jpg', '/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_54_3708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_38_2642.jpg
/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_42_3758.jpg
/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_45_2704.jpg
/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_48_2670.jpg
/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_50_2660.jpg
/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_54_3708.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":["1396193880","1396193879","1396193884","1396193875","1396193869","1396193883"],"photo_ids_order":["1396193869","1396193875","1396193879","1396193880","1396193883","1396193884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c997ba394e7b176b766697fdff4784b9.jpg","text":"TemporaryFile(/tmp/multipartBody8175442297275095988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125123160,"filename":"image_26112025_01_38_48_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/26/6b9a69ce5034058427fec5619167256f.jpg","text":"TemporaryFile(/tmp/multipartBody2943853684441199532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125123160,"filename":"image_26112025_01_38_45_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/26/520e7a89e7a189486a39028a24ee6410.jpg","text":"TemporaryFile(/tmp/multipartBody5536049400708080621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125123160,"filename":"image_26112025_01_38_54_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/26/364cf773dcef80c20e2f6f0a5ac3ce2f.jpg","text":"TemporaryFile(/tmp/multipartBody8741329354713740945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125123160,"filename":"image_26112025_01_38_42_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/26/b6b8ce3d21a7c4347d7bf555c0dcbdfd.jpg","text":"TemporaryFile(/tmp/multipartBody5616551337328787031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125123160,"filename":"image_26112025_01_38_38_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/26/e40de2facb92efb7a7a23cb9e55b8831.jpg","text":"TemporaryFile(/tmp/multipartBody7521741558864762882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125123160,"filename":"image_26112025_01_38_50_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193879","file1":"1396193875","file0":"1396193869","file4":"1396193883","file5":"1396193884","file3":"1396193880"},"map_files_photo_id_array":[{"photo_id":"1396193884","filename":"file5"},{"photo_id":"1396193879","filename":"file2"},{"photo_id":"1396193883","filename":"file4"},{"photo_id":"1396193875","filename":"file1"},{"photo_id":"1396193869","filename":"file0"},{"photo_id":"1396193880","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193880":["hashtag1","hashtag2"]},{"1396193879":["hashtag1","hashtag2"]},{"1396193884":["hashtag1","hashtag2"]},{"1396193875":["hashtag1","hashtag2"]},{"1396193869":["hashtag1","hashtag2"]},{"1396193883":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193880, 1396193879, 1396193884, 1396193875, 1396193869, 1396193883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40545320510864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:45:03.173488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_56_2592.jpg', '/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_59_2674.jpg', '/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_03_3606.jpg', '/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_05_2690.jpg', '/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_09_3485.jpg', '/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_12_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_56_2592.jpg
/home/pi/Desktop/images/26112025/01/38/image_26112025_01_38_59_2674.jpg
/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_03_3606.jpg
/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_05_2690.jpg
/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_09_3485.jpg
/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_12_2595.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":["1396193894","1396193888","1396193897","1396193890","1396193892","1396193886"],"photo_ids_order":["1396193886","1396193888","1396193890","1396193892","1396193894","1396193897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/855a55b977af8ce9b8267c03c7d8079a.jpg","text":"TemporaryFile(/tmp/multipartBody437299974447056577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125163925,"filename":"image_26112025_01_39_09_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/26/f95c381210bada70ad5cbaf71d304ba3.jpg","text":"TemporaryFile(/tmp/multipartBody3479602239267598520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125163925,"filename":"image_26112025_01_38_59_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/26/429a5ac213da919fe18552e853cca208.jpg","text":"TemporaryFile(/tmp/multipartBody5181508112326408014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125163925,"filename":"image_26112025_01_39_12_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d20feb0e18ade13c8ad94dae99ff39b6.jpg","text":"TemporaryFile(/tmp/multipartBody4226419350524031059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125163925,"filename":"image_26112025_01_39_03_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/26/14531bea614b56db7110decc5e4a81d7.jpg","text":"TemporaryFile(/tmp/multipartBody1023235414710958987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125163925,"filename":"image_26112025_01_39_05_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ea0672eb4b2647e2150a8ec1d50b04de.jpg","text":"TemporaryFile(/tmp/multipartBody1884857118004014446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125163925,"filename":"image_26112025_01_38_56_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193890","file1":"1396193888","file0":"1396193886","file4":"1396193894","file5":"1396193897","file3":"1396193892"},"map_files_photo_id_array":[{"photo_id":"1396193897","filename":"file5"},{"photo_id":"1396193890","filename":"file2"},{"photo_id":"1396193894","filename":"file4"},{"photo_id":"1396193888","filename":"file1"},{"photo_id":"1396193886","filename":"file0"},{"photo_id":"1396193892","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193894":["hashtag1","hashtag2"]},{"1396193888":["hashtag1","hashtag2"]},{"1396193897":["hashtag1","hashtag2"]},{"1396193890":["hashtag1","hashtag2"]},{"1396193892":["hashtag1","hashtag2"]},{"1396193886":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193894, 1396193888, 1396193897, 1396193890, 1396193892, 1396193886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33664417266846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 03:45:42.490105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_14_2779.jpg', '/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_18_3643.jpg', '/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_21_2544.jpg', '/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_23_2633.jpg', '/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_27_3866.jpg', '/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_30_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_14_2779.jpg
/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_18_3643.jpg
/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_21_2544.jpg
/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_23_2633.jpg
/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_27_3866.jpg
/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_30_2726.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":["1396193907","1396193904","1396193906","1396193902","1396193905","1396193908"],"photo_ids_order":["1396193902","1396193904","1396193905","1396193906","1396193907","1396193908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0aadef3555192400b298084c45432b21.jpg","text":"TemporaryFile(/tmp/multipartBody5788314172413897745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125203231,"filename":"image_26112025_01_39_27_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/26/71deda4a20e136b4bbfb5364a115e091.jpg","text":"TemporaryFile(/tmp/multipartBody8539243300525070154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125203231,"filename":"image_26112025_01_39_18_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/26/ab3468ee884f3f24a9b7818c8bd39c33.jpg","text":"TemporaryFile(/tmp/multipartBody8655045088907013659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125203231,"filename":"image_26112025_01_39_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/26/0684fc81fc1688f42707eb3ee61b3fb3.jpg","text":"TemporaryFile(/tmp/multipartBody3352562470302179329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125203231,"filename":"image_26112025_01_39_14_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/26/1c78e083e2ed151dca372973db690adb.jpg","text":"TemporaryFile(/tmp/multipartBody6795100935742738520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125203231,"filename":"image_26112025_01_39_21_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/26/6711780bb8c177f47b97e5b6b8030af6.jpg","text":"TemporaryFile(/tmp/multipartBody1278986259556985229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125203231,"filename":"image_26112025_01_39_30_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193905","file1":"1396193904","file0":"1396193902","file4":"1396193907","file5":"1396193908","file3":"1396193906"},"map_files_photo_id_array":[{"photo_id":"1396193908","filename":"file5"},{"photo_id":"1396193905","filename":"file2"},{"photo_id":"1396193907","filename":"file4"},{"photo_id":"1396193904","filename":"file1"},{"photo_id":"1396193902","filename":"file0"},{"photo_id":"1396193906","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193907":["hashtag1","hashtag2"]},{"1396193904":["hashtag1","hashtag2"]},{"1396193906":["hashtag1","hashtag2"]},{"1396193902":["hashtag1","hashtag2"]},{"1396193905":["hashtag1","hashtag2"]},{"1396193908":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193907, 1396193904, 1396193906, 1396193902, 1396193905, 1396193908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10308361053467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:46:22.630803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_33_2937.jpg', '/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_35_2588.jpg', '/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_39_3663.jpg', '/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_41_2498.jpg', '/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_45_3564.jpg', '/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_48_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_33_2937.jpg
/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_35_2588.jpg
/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_39_3663.jpg
/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_41_2498.jpg
/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_45_3564.jpg
/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_48_2696.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":["1396193925","1396193913","1396193918","1396193927","1396193920","1396193923"],"photo_ids_order":["1396193913","1396193918","1396193920","1396193923","1396193925","1396193927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/150b38f1768bfb77461aaa9477a4625d.jpg","text":"TemporaryFile(/tmp/multipartBody3326184738581606160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125243344,"filename":"image_26112025_01_39_45_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/26/74541d564c93b267b3205ddedd40124c.jpg","text":"TemporaryFile(/tmp/multipartBody1185521876676681105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125243344,"filename":"image_26112025_01_39_33_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/26/a77e8629012ea962ee03cd46aa7b4a0e.jpg","text":"TemporaryFile(/tmp/multipartBody4934257084633800473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125243344,"filename":"image_26112025_01_39_35_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/26/c2ce142173ba007e0b164c9a587746d2.jpg","text":"TemporaryFile(/tmp/multipartBody249716680326623424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125243344,"filename":"image_26112025_01_39_48_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/26/0f3e97f98945b16c2c33bf3ddade1c90.jpg","text":"TemporaryFile(/tmp/multipartBody4841687910524708845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125243344,"filename":"image_26112025_01_39_39_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/26/1058c488c827f6d0b303bd5b73ff3ea3.jpg","text":"TemporaryFile(/tmp/multipartBody2710722251164864507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125243344,"filename":"image_26112025_01_39_41_2498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193920","file1":"1396193918","file0":"1396193913","file4":"1396193925","file5":"1396193927","file3":"1396193923"},"map_files_photo_id_array":[{"photo_id":"1396193927","filename":"file5"},{"photo_id":"1396193920","filename":"file2"},{"photo_id":"1396193925","filename":"file4"},{"photo_id":"1396193918","filename":"file1"},{"photo_id":"1396193913","filename":"file0"},{"photo_id":"1396193923","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193925":["hashtag1","hashtag2"]},{"1396193913":["hashtag1","hashtag2"]},{"1396193918":["hashtag1","hashtag2"]},{"1396193927":["hashtag1","hashtag2"]},{"1396193920":["hashtag1","hashtag2"]},{"1396193923":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193925, 1396193913, 1396193918, 1396193927, 1396193920, 1396193923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85636067390442 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:47:02.732617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_50_2583.jpg', '/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_54_3644.jpg', '/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_57_2589.jpg', '/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_03_3581.jpg', '/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_06_2841.jpg', '/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_08_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_50_2583.jpg
/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_54_3644.jpg
/home/pi/Desktop/images/26112025/01/39/image_26112025_01_39_57_2589.jpg
/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_03_3581.jpg
/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_06_2841.jpg
/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_08_2595.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":["1396193931","1396193934","1396193928","1396193936","1396193939","1396193929"],"photo_ids_order":["1396193928","1396193929","1396193931","1396193934","1396193936","1396193939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/91d297088ff5780e30b2bf2b2591856d.jpg","text":"TemporaryFile(/tmp/multipartBody5227870474475702075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125283519,"filename":"image_26112025_01_39_57_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/26/ea41ee919efc89f9b387715a7dceb48f.jpg","text":"TemporaryFile(/tmp/multipartBody6448748382674766916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125283519,"filename":"image_26112025_01_40_03_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/26/51ca46a6360195e7760362516940b863.jpg","text":"TemporaryFile(/tmp/multipartBody3550833768119455449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125283519,"filename":"image_26112025_01_39_50_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/26/b525cd3eab1f6d7f886f995735129db2.jpg","text":"TemporaryFile(/tmp/multipartBody7414379899601055491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125283519,"filename":"image_26112025_01_40_06_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3c2b2399691f5ff95fbf2fd111b0b66b.jpg","text":"TemporaryFile(/tmp/multipartBody5414624399521925664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125283519,"filename":"image_26112025_01_40_08_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/26/ba1e4cf54c3ede820769927340fe5302.jpg","text":"TemporaryFile(/tmp/multipartBody3947462081298689223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125283519,"filename":"image_26112025_01_39_54_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193931","file1":"1396193929","file0":"1396193928","file4":"1396193936","file5":"1396193939","file3":"1396193934"},"map_files_photo_id_array":[{"photo_id":"1396193939","filename":"file5"},{"photo_id":"1396193931","filename":"file2"},{"photo_id":"1396193936","filename":"file4"},{"photo_id":"1396193929","filename":"file1"},{"photo_id":"1396193928","filename":"file0"},{"photo_id":"1396193934","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193931":["hashtag1","hashtag2"]},{"1396193934":["hashtag1","hashtag2"]},{"1396193928":["hashtag1","hashtag2"]},{"1396193936":["hashtag1","hashtag2"]},{"1396193939":["hashtag1","hashtag2"]},{"1396193929":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193931, 1396193934, 1396193928, 1396193936, 1396193939, 1396193929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63273477554321 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 03:47:41.876397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_12_3728.jpg', '/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_15_2630.jpg', '/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_17_2615.jpg', '/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_21_3611.jpg', '/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_23_2567.jpg', '/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_26_2877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_12_3728.jpg
/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_15_2630.jpg
/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_17_2615.jpg
/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_21_3611.jpg
/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_23_2567.jpg
/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_26_2877.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":["1396193946","1396193949","1396193948","1396193947","1396193950","1396193944"],"photo_ids_order":["1396193944","1396193946","1396193947","1396193948","1396193949","1396193950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a19e828d79a9767f10cabb4113680f18.jpg","text":"TemporaryFile(/tmp/multipartBody6198214479180228409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125322576,"filename":"image_26112025_01_40_15_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/26/95b8fe675c60cd036ca8eccdddf3f6af.jpg","text":"TemporaryFile(/tmp/multipartBody429041341645315400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125322576,"filename":"image_26112025_01_40_23_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/26/20f85dbd93b212f90682d1a19fc93eea.jpg","text":"TemporaryFile(/tmp/multipartBody8893821768006234100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125322576,"filename":"image_26112025_01_40_21_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/26/58af92ecd71a2f8c2f930958d0738353.jpg","text":"TemporaryFile(/tmp/multipartBody5411141531677986008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125322576,"filename":"image_26112025_01_40_17_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/26/6337fad4ee26e306a50b01a6f6beab40.jpg","text":"TemporaryFile(/tmp/multipartBody4941326534182762456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125322576,"filename":"image_26112025_01_40_26_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/26/372f11206f6751502f22c8bdb64e1582.jpg","text":"TemporaryFile(/tmp/multipartBody4033835667893618271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125322576,"filename":"image_26112025_01_40_12_3728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193947","file1":"1396193946","file0":"1396193944","file4":"1396193949","file5":"1396193950","file3":"1396193948"},"map_files_photo_id_array":[{"photo_id":"1396193950","filename":"file5"},{"photo_id":"1396193947","filename":"file2"},{"photo_id":"1396193949","filename":"file4"},{"photo_id":"1396193946","filename":"file1"},{"photo_id":"1396193944","filename":"file0"},{"photo_id":"1396193948","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193946":["hashtag1","hashtag2"]},{"1396193949":["hashtag1","hashtag2"]},{"1396193948":["hashtag1","hashtag2"]},{"1396193947":["hashtag1","hashtag2"]},{"1396193950":["hashtag1","hashtag2"]},{"1396193944":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193946, 1396193949, 1396193948, 1396193947, 1396193950, 1396193944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.425559997558594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:48:22.087406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_30_3601.jpg', '/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_32_2554.jpg', '/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_35_2794.jpg', '/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_39_3615.jpg', '/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_41_2619.jpg', '/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_44_2817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_30_3601.jpg
/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_32_2554.jpg
/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_35_2794.jpg
/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_39_3615.jpg
/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_41_2619.jpg
/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_44_2817.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":["1396193967","1396193955","1396193966","1396193962","1396193964","1396193958"],"photo_ids_order":["1396193955","1396193958","1396193962","1396193964","1396193966","1396193967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ac505628541169a1cce26d84391e3040.jpg","text":"TemporaryFile(/tmp/multipartBody4827056055816987106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125362790,"filename":"image_26112025_01_40_44_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/26/601b533a17854b1d3361941a7d5b9065.jpg","text":"TemporaryFile(/tmp/multipartBody1932809726400486368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125362790,"filename":"image_26112025_01_40_30_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/26/eb951b822f8101915c10226630346ef9.jpg","text":"TemporaryFile(/tmp/multipartBody7983055465912175539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125362790,"filename":"image_26112025_01_40_41_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/79f8dfea333a4aa514fd68eae462f054.jpg","text":"TemporaryFile(/tmp/multipartBody6780090734661594955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125362790,"filename":"image_26112025_01_40_35_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/26/271b2a3dc0f7f9673b9bf56497a7608a.jpg","text":"TemporaryFile(/tmp/multipartBody5111192577221702919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125362790,"filename":"image_26112025_01_40_39_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/26/d1eb8ec3abcd0a032642981d7aa9dfa2.jpg","text":"TemporaryFile(/tmp/multipartBody1305580236901776025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125362790,"filename":"image_26112025_01_40_32_2554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193962","file1":"1396193958","file0":"1396193955","file4":"1396193966","file5":"1396193967","file3":"1396193964"},"map_files_photo_id_array":[{"photo_id":"1396193967","filename":"file5"},{"photo_id":"1396193962","filename":"file2"},{"photo_id":"1396193966","filename":"file4"},{"photo_id":"1396193958","filename":"file1"},{"photo_id":"1396193955","filename":"file0"},{"photo_id":"1396193964","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193967":["hashtag1","hashtag2"]},{"1396193955":["hashtag1","hashtag2"]},{"1396193966":["hashtag1","hashtag2"]},{"1396193962":["hashtag1","hashtag2"]},{"1396193964":["hashtag1","hashtag2"]},{"1396193958":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193967, 1396193955, 1396193966, 1396193962, 1396193964, 1396193958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82487988471985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:49:03.841550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_48_3720.jpg', '/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_51_2604.jpg', '/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_53_2636.jpg', '/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_57_3707.jpg', '/home/pi/Desktop/images/26112025/01/40/image_26112025_01_41_00_2752.jpg', '/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_02_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_48_3720.jpg
/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_51_2604.jpg
/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_53_2636.jpg
/home/pi/Desktop/images/26112025/01/40/image_26112025_01_40_57_3707.jpg
/home/pi/Desktop/images/26112025/01/40/image_26112025_01_41_00_2752.jpg
/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_02_2682.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":["1396193972","1396193969","1396193971","1396193974","1396193968","1396193970"],"photo_ids_order":["1396193968","1396193969","1396193970","1396193971","1396193972","1396193974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d777213dd21944a1fc1ea6cf84cbd62c.jpg","text":"TemporaryFile(/tmp/multipartBody1477645955578282577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125404653,"filename":"image_26112025_01_41_00_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/26/8ebaeb59982e7c096dcf3c7cd939ccb5.jpg","text":"TemporaryFile(/tmp/multipartBody8460447144153475605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125404653,"filename":"image_26112025_01_40_51_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/26/4884df93d1d98511c6d1cd1f8e4b17c0.jpg","text":"TemporaryFile(/tmp/multipartBody7444561605915913464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125404653,"filename":"image_26112025_01_40_57_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/26/e9a96401a569f18c32c7c1b9158d7fd9.jpg","text":"TemporaryFile(/tmp/multipartBody2080728190770781045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125404653,"filename":"image_26112025_01_41_02_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/26/0cd2f0974d7ae9df332eb02e9a140ad6.jpg","text":"TemporaryFile(/tmp/multipartBody1301635270516914173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125404653,"filename":"image_26112025_01_40_48_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/26/d4cd704db1d4256c9016da2af28d52a7.jpg","text":"TemporaryFile(/tmp/multipartBody4030137019609200902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125404653,"filename":"image_26112025_01_40_53_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193970","file1":"1396193969","file0":"1396193968","file4":"1396193972","file5":"1396193974","file3":"1396193971"},"map_files_photo_id_array":[{"photo_id":"1396193974","filename":"file5"},{"photo_id":"1396193970","filename":"file2"},{"photo_id":"1396193972","filename":"file4"},{"photo_id":"1396193969","filename":"file1"},{"photo_id":"1396193968","filename":"file0"},{"photo_id":"1396193971","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193972":["hashtag1","hashtag2"]},{"1396193969":["hashtag1","hashtag2"]},{"1396193971":["hashtag1","hashtag2"]},{"1396193974":["hashtag1","hashtag2"]},{"1396193968":["hashtag1","hashtag2"]},{"1396193970":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193972, 1396193969, 1396193971, 1396193974, 1396193968, 1396193970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69978618621826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 03:49:42.903616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_06_3507.jpg', '/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_08_2658.jpg', '/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_11_2756.jpg', '/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_18_2659.jpg', '/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_20_2560.jpg', '/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_24_3654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_06_3507.jpg
/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_08_2658.jpg
/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_11_2756.jpg
/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_18_2659.jpg
/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_20_2560.jpg
/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_24_3654.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":["1396193981","1396193984","1396193983","1396193982","1396193985","1396193979"],"photo_ids_order":["1396193979","1396193981","1396193982","1396193983","1396193984","1396193985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cd3db9432c95176f6a9ab12fda4d1ba8.jpg","text":"TemporaryFile(/tmp/multipartBody5986841816103239162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125443601,"filename":"image_26112025_01_41_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/26/044ac002f6fa303852a9a1035d2ab393.jpg","text":"TemporaryFile(/tmp/multipartBody6845261236179343635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125443601,"filename":"image_26112025_01_41_20_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cf17c51087655d49d8a16967089d1f0a.jpg","text":"TemporaryFile(/tmp/multipartBody4500337235719173532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125443601,"filename":"image_26112025_01_41_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/26/9b9986f541c957b178aecdf409f0ac6f.jpg","text":"TemporaryFile(/tmp/multipartBody7570262912261133490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125443601,"filename":"image_26112025_01_41_11_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/26/b7437950bdc75d4a2d828969d0476d60.jpg","text":"TemporaryFile(/tmp/multipartBody8002769354166877429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125443601,"filename":"image_26112025_01_41_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/26/7afa27c67826eae311a7503a499f6286.jpg","text":"TemporaryFile(/tmp/multipartBody6216253758298356795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125443601,"filename":"image_26112025_01_41_06_3507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193982","file1":"1396193981","file0":"1396193979","file4":"1396193984","file5":"1396193985","file3":"1396193983"},"map_files_photo_id_array":[{"photo_id":"1396193985","filename":"file5"},{"photo_id":"1396193982","filename":"file2"},{"photo_id":"1396193984","filename":"file4"},{"photo_id":"1396193981","filename":"file1"},{"photo_id":"1396193979","filename":"file0"},{"photo_id":"1396193983","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193981":["hashtag1","hashtag2"]},{"1396193984":["hashtag1","hashtag2"]},{"1396193983":["hashtag1","hashtag2"]},{"1396193982":["hashtag1","hashtag2"]},{"1396193985":["hashtag1","hashtag2"]},{"1396193979":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193981, 1396193984, 1396193983, 1396193982, 1396193985, 1396193979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53560256958008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:50:22.050479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_26_2608.jpg', '/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_29_2662.jpg', '/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_33_3787.jpg', '/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_35_2610.jpg', '/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_38_2640.jpg', '/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_42_3742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_26_2608.jpg
/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_29_2662.jpg
/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_33_3787.jpg
/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_35_2610.jpg
/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_38_2640.jpg
/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_42_3742.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":["1396193990","1396193993","1396194005","1396193986","1396193988","1396193997"],"photo_ids_order":["1396193986","1396193988","1396193990","1396193993","1396193997","1396194005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/96a4d057aad0d978d7f4b4a708ca5af7.jpg","text":"TemporaryFile(/tmp/multipartBody3710686474841092314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125482747,"filename":"image_26112025_01_41_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/26/e1c1a20b8ec7e1d649adc1aa6a9973a2.jpg","text":"TemporaryFile(/tmp/multipartBody1109282869787241293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125482747,"filename":"image_26112025_01_41_35_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/26/8f11d43d8d38af9d311171f8d27e4f20.jpg","text":"TemporaryFile(/tmp/multipartBody9059897243177189260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125482747,"filename":"image_26112025_01_41_42_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/26/a803ccf5ff177de63536b8cd17f9ac52.jpg","text":"TemporaryFile(/tmp/multipartBody2129412394143742375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125482747,"filename":"image_26112025_01_41_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/26/669f2bf4476d052cfbfe5fdc5331a591.jpg","text":"TemporaryFile(/tmp/multipartBody3554192670249138826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125482747,"filename":"image_26112025_01_41_29_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/26/eb7ae3efbc234f78ef653c001a7c7a31.jpg","text":"TemporaryFile(/tmp/multipartBody3283381785581655903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125482747,"filename":"image_26112025_01_41_38_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396193990","file1":"1396193988","file0":"1396193986","file4":"1396193997","file5":"1396194005","file3":"1396193993"},"map_files_photo_id_array":[{"photo_id":"1396194005","filename":"file5"},{"photo_id":"1396193990","filename":"file2"},{"photo_id":"1396193997","filename":"file4"},{"photo_id":"1396193988","filename":"file1"},{"photo_id":"1396193986","filename":"file0"},{"photo_id":"1396193993","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396193990":["hashtag1","hashtag2"]},{"1396193993":["hashtag1","hashtag2"]},{"1396194005":["hashtag1","hashtag2"]},{"1396193986":["hashtag1","hashtag2"]},{"1396193988":["hashtag1","hashtag2"]},{"1396193997":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396193990, 1396193993, 1396194005, 1396193986, 1396193988, 1396193997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.526135206222534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:51:02.577172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_44_2632.jpg', '/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_47_2537.jpg', '/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_51_3607.jpg', '/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_53_2598.jpg', '/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_57_3564.jpg', '/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_59_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_44_2632.jpg
/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_47_2537.jpg
/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_51_3607.jpg
/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_53_2598.jpg
/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_57_3564.jpg
/home/pi/Desktop/images/26112025/01/41/image_26112025_01_41_59_2640.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":["1396194015","1396194017","1396194014","1396194016","1396194019","1396194013"],"photo_ids_order":["1396194013","1396194014","1396194015","1396194016","1396194017","1396194019"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a51f0b6ef75186b9427fbedd9fb86d6c.jpg","text":"TemporaryFile(/tmp/multipartBody5752512162863319768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125523383,"filename":"image_26112025_01_41_51_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/26/b10fe18d3b72cc766c92e2a5cc0ddbad.jpg","text":"TemporaryFile(/tmp/multipartBody8742783227986016634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125523383,"filename":"image_26112025_01_41_57_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/26/511b3f47ac5fbea597b0ecc0fb9e3d9f.jpg","text":"TemporaryFile(/tmp/multipartBody524989405942133328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125523383,"filename":"image_26112025_01_41_47_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/26/d8c621ac1f158c22373059175b8d0441.jpg","text":"TemporaryFile(/tmp/multipartBody750297522489262036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125523383,"filename":"image_26112025_01_41_53_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/26/edb9ecf5e06b87b25185c8abbe054bd2.jpg","text":"TemporaryFile(/tmp/multipartBody4747773887298988279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125523383,"filename":"image_26112025_01_41_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/26/9081a8238fb1448d5c331d7708fe9f28.jpg","text":"TemporaryFile(/tmp/multipartBody3734308974850858922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125523383,"filename":"image_26112025_01_41_44_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396194015","file1":"1396194014","file0":"1396194013","file4":"1396194017","file5":"1396194019","file3":"1396194016"},"map_files_photo_id_array":[{"photo_id":"1396194019","filename":"file5"},{"photo_id":"1396194015","filename":"file2"},{"photo_id":"1396194017","filename":"file4"},{"photo_id":"1396194014","filename":"file1"},{"photo_id":"1396194013","filename":"file0"},{"photo_id":"1396194016","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396194015":["hashtag1","hashtag2"]},{"1396194017":["hashtag1","hashtag2"]},{"1396194014":["hashtag1","hashtag2"]},{"1396194016":["hashtag1","hashtag2"]},{"1396194019":["hashtag1","hashtag2"]},{"1396194013":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396194015, 1396194017, 1396194014, 1396194016, 1396194019, 1396194013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.898197650909424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 03:51:41.874495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_02_2524.jpg', '/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_06_3838.jpg', '/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_08_2571.jpg', '/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_11_2780.jpg', '/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_15_3645.jpg', '/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_17_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_02_2524.jpg
/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_06_3838.jpg
/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_08_2571.jpg
/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_11_2780.jpg
/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_15_3645.jpg
/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_17_2594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396194024","1396194026","1396194029","1396194028","1396194030","1396194027"],"photo_ids_order":["1396194024","1396194026","1396194027","1396194028","1396194029","1396194030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/094ed073701ad59c62b035a27b165591.jpg","text":"TemporaryFile(/tmp/multipartBody5092725283040504311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125562603,"filename":"image_26112025_01_42_02_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/26/9a5ef68d412a375b4ba157b9d190a4ee.jpg","text":"TemporaryFile(/tmp/multipartBody7623947415368233020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125562603,"filename":"image_26112025_01_42_06_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/26/dfa01469fb68a815c1a06a7f0c0852ed.jpg","text":"TemporaryFile(/tmp/multipartBody2971400921566239247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125562603,"filename":"image_26112025_01_42_15_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/26/7a6c92c1bee426de6f44656c00880b83.jpg","text":"TemporaryFile(/tmp/multipartBody7184162924575768789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125562603,"filename":"image_26112025_01_42_11_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/26/2a344ba94cbb42f5f74eabd8bcb29f9f.jpg","text":"TemporaryFile(/tmp/multipartBody6390245280138888206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125562603,"filename":"image_26112025_01_42_17_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/26/03a5e1fcd3b2174a0b12bab74ae8b6ae.jpg","text":"TemporaryFile(/tmp/multipartBody64507697996755078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125562603,"filename":"image_26112025_01_42_08_2571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396194027","file1":"1396194026","file0":"1396194024","file4":"1396194029","file5":"1396194030","file3":"1396194028"},"map_files_photo_id_array":[{"photo_id":"1396194030","filename":"file5"},{"photo_id":"1396194027","filename":"file2"},{"photo_id":"1396194029","filename":"file4"},{"photo_id":"1396194026","filename":"file1"},{"photo_id":"1396194024","filename":"file0"},{"photo_id":"1396194028","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396194024":["hashtag1","hashtag2"]},{"1396194026":["hashtag1","hashtag2"]},{"1396194029":["hashtag1","hashtag2"]},{"1396194028":["hashtag1","hashtag2"]},{"1396194030":["hashtag1","hashtag2"]},{"1396194027":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396194024, 1396194026, 1396194029, 1396194028, 1396194030, 1396194027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.264004945755005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:52:22.046762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_20_2745.jpg', '/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_23_2701.jpg', '/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_26_3680.jpg', '/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_29_2557.jpg', '/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_33_3677.jpg', '/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_35_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_20_2745.jpg
/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_23_2701.jpg
/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_26_3680.jpg
/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_29_2557.jpg
/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_33_3677.jpg
/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_35_2612.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.6021459102630615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:52:32.056698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_20_2745.jpg', '/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_23_2701.jpg', '/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_26_3680.jpg', '/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_29_2557.jpg', '/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_33_3677.jpg', '/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_35_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_20_2745.jpg
/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_23_2701.jpg
/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_26_3680.jpg
/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_29_2557.jpg
/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_33_3677.jpg
/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_35_2612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396194047","1396194040","1396194043","1396194037","1396194045","1396194048"],"photo_ids_order":["1396194037","1396194040","1396194043","1396194045","1396194047","1396194048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b95f17d54e7468a08d7a1b220c3050ce.jpg","text":"TemporaryFile(/tmp/multipartBody760108484273709942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125612757,"filename":"image_26112025_01_42_33_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/26/ad08e5f68207c9050d45d67fa8dd79a5.jpg","text":"TemporaryFile(/tmp/multipartBody7594400069906034415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125612757,"filename":"image_26112025_01_42_23_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/26/16b55a4d865817f91dc63213711a9f75.jpg","text":"TemporaryFile(/tmp/multipartBody5015136878563802151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125612757,"filename":"image_26112025_01_42_26_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/26/e706f8709b01159596f57e711f906206.jpg","text":"TemporaryFile(/tmp/multipartBody8757953844601482793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125612757,"filename":"image_26112025_01_42_20_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/26/56f15b6ca82bb38f951ab06b007a1fa4.jpg","text":"TemporaryFile(/tmp/multipartBody5240673738449619728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125612757,"filename":"image_26112025_01_42_29_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/26/3ed36e479957f1c3acc670eb093d9a4b.jpg","text":"TemporaryFile(/tmp/multipartBody5625170435995903880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125612757,"filename":"image_26112025_01_42_35_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396194043","file1":"1396194040","file0":"1396194037","file4":"1396194047","file5":"1396194048","file3":"1396194045"},"map_files_photo_id_array":[{"photo_id":"1396194048","filename":"file5"},{"photo_id":"1396194043","filename":"file2"},{"photo_id":"1396194047","filename":"file4"},{"photo_id":"1396194040","filename":"file1"},{"photo_id":"1396194037","filename":"file0"},{"photo_id":"1396194045","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396194047":["hashtag1","hashtag2"]},{"1396194040":["hashtag1","hashtag2"]},{"1396194043":["hashtag1","hashtag2"]},{"1396194037":["hashtag1","hashtag2"]},{"1396194045":["hashtag1","hashtag2"]},{"1396194048":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396194047, 1396194040, 1396194043, 1396194037, 1396194045, 1396194048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.87911534309387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:53:12.222878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_38_2716.jpg', '/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_42_3508.jpg', '/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_44_2535.jpg', '/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_48_3550.jpg', '/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_50_2792.jpg', '/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_53_2741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_38_2716.jpg
/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_42_3508.jpg
/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_44_2535.jpg
/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_48_3550.jpg
/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_50_2792.jpg
/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_53_2741.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":["1396194068","1396194062","1396194064","1396194061","1396194060","1396194066"],"photo_ids_order":["1396194060","1396194061","1396194062","1396194064","1396194066","1396194068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9b8b7c8599f10f09ef10d5295be2071d.jpg","text":"TemporaryFile(/tmp/multipartBody4852903252878934576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125652912,"filename":"image_26112025_01_42_53_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/26/446ff2bb25ca782fe6c8da589427b581.jpg","text":"TemporaryFile(/tmp/multipartBody7251823304670211259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125652912,"filename":"image_26112025_01_42_44_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/26/e75e6dc3bd872106c9802dda0d58d6b1.jpg","text":"TemporaryFile(/tmp/multipartBody3026507461733604960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125652912,"filename":"image_26112025_01_42_48_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/26/27d855871fcf2958073717ec99f14e36.jpg","text":"TemporaryFile(/tmp/multipartBody5575366546950955750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125652912,"filename":"image_26112025_01_42_42_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/26/a45544531916399f992dd100ec563df1.jpg","text":"TemporaryFile(/tmp/multipartBody6045773448405587148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125652912,"filename":"image_26112025_01_42_38_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c964d77286321fe2f71ea6e2053c8a60.jpg","text":"TemporaryFile(/tmp/multipartBody1142082073453570832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125652912,"filename":"image_26112025_01_42_50_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396194062","file1":"1396194061","file0":"1396194060","file4":"1396194066","file5":"1396194068","file3":"1396194064"},"map_files_photo_id_array":[{"photo_id":"1396194068","filename":"file5"},{"photo_id":"1396194062","filename":"file2"},{"photo_id":"1396194066","filename":"file4"},{"photo_id":"1396194061","filename":"file1"},{"photo_id":"1396194060","filename":"file0"},{"photo_id":"1396194064","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396194068":["hashtag1","hashtag2"]},{"1396194062":["hashtag1","hashtag2"]},{"1396194064":["hashtag1","hashtag2"]},{"1396194061":["hashtag1","hashtag2"]},{"1396194060":["hashtag1","hashtag2"]},{"1396194066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396194068, 1396194062, 1396194064, 1396194061, 1396194060, 1396194066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.409730672836304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:54:03.042053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_56_2585.jpg', '/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_59_3704.jpg', '/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_05_2677.jpg', '/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_08_2791.jpg', '/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_11_3531.jpg', '/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_14_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_56_2585.jpg
/home/pi/Desktop/images/26112025/01/42/image_26112025_01_42_59_3704.jpg
/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_05_2677.jpg
/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_08_2791.jpg
/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_11_3531.jpg
/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_14_2682.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":["1396194074","1396194073","1396194076","1396194075","1396194078","1396194072"],"photo_ids_order":["1396194072","1396194073","1396194074","1396194075","1396194076","1396194078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8d7b5e1457c6b9a328d17e54aafb4a2f.jpg","text":"TemporaryFile(/tmp/multipartBody6089100425863372477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125703812,"filename":"image_26112025_01_43_05_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/26/7b15db63281dd63360703abe78811a30.jpg","text":"TemporaryFile(/tmp/multipartBody5503343094394701097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125703812,"filename":"image_26112025_01_42_59_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/26/d3c8b96b3bfb3ac11d00cd625c2b450d.jpg","text":"TemporaryFile(/tmp/multipartBody124860168887492527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125703812,"filename":"image_26112025_01_43_11_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/26/11dae91219221a1754ea640ecd577607.jpg","text":"TemporaryFile(/tmp/multipartBody7675244817277733761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125703812,"filename":"image_26112025_01_43_08_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/913ed4ac8273b02fb99d8d1e05261a6a.jpg","text":"TemporaryFile(/tmp/multipartBody7131105249197862874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125703812,"filename":"image_26112025_01_43_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/26/b05227c48eb8c737c906e88943dc640f.jpg","text":"TemporaryFile(/tmp/multipartBody7860424252776272337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125703812,"filename":"image_26112025_01_42_56_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396194074","file1":"1396194073","file0":"1396194072","file4":"1396194076","file5":"1396194078","file3":"1396194075"},"map_files_photo_id_array":[{"photo_id":"1396194078","filename":"file5"},{"photo_id":"1396194074","filename":"file2"},{"photo_id":"1396194076","filename":"file4"},{"photo_id":"1396194073","filename":"file1"},{"photo_id":"1396194072","filename":"file0"},{"photo_id":"1396194075","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396194074":["hashtag1","hashtag2"]},{"1396194073":["hashtag1","hashtag2"]},{"1396194076":["hashtag1","hashtag2"]},{"1396194075":["hashtag1","hashtag2"]},{"1396194078":["hashtag1","hashtag2"]},{"1396194072":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396194074, 1396194073, 1396194076, 1396194075, 1396194078, 1396194072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08326745033264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 03:54:42.421543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_18_3651.jpg', '/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_20_2835.jpg', '/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_23_2594.jpg', '/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_26_2886.jpg', '/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_30_3622.jpg', '/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_32_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_18_3651.jpg
/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_20_2835.jpg
/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_23_2594.jpg
/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_26_2886.jpg
/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_30_3622.jpg
/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_32_2606.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":["1396194086","1396194083","1396194101","1396194091","1396194085","1396194100"],"photo_ids_order":["1396194083","1396194085","1396194086","1396194091","1396194100","1396194101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/63801b29ab8be4be784e9ee79bfe6566.jpg","text":"TemporaryFile(/tmp/multipartBody785483864285069631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125743082,"filename":"image_26112025_01_43_23_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/26/8e6e22dc21c1f1b76329bd3ec2a7f28f.jpg","text":"TemporaryFile(/tmp/multipartBody2516210877053895718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125743082,"filename":"image_26112025_01_43_18_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/26/32761586434385533458b8fcaacb338d.jpg","text":"TemporaryFile(/tmp/multipartBody8295858228654611462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125743082,"filename":"image_26112025_01_43_32_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/26/7c368118a3f5a0e4fb82e605602a26db.jpg","text":"TemporaryFile(/tmp/multipartBody472943520236506231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125743082,"filename":"image_26112025_01_43_26_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/26/02f7509123644d2ccb3169589d45f5f7.jpg","text":"TemporaryFile(/tmp/multipartBody2484084477343586418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125743082,"filename":"image_26112025_01_43_20_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/26/5e25f935368914d50902ab2bdf994b03.jpg","text":"TemporaryFile(/tmp/multipartBody8521795780969795550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125743082,"filename":"image_26112025_01_43_30_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396194086","file1":"1396194085","file0":"1396194083","file4":"1396194100","file5":"1396194101","file3":"1396194091"},"map_files_photo_id_array":[{"photo_id":"1396194101","filename":"file5"},{"photo_id":"1396194086","filename":"file2"},{"photo_id":"1396194100","filename":"file4"},{"photo_id":"1396194085","filename":"file1"},{"photo_id":"1396194083","filename":"file0"},{"photo_id":"1396194091","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396194086":["hashtag1","hashtag2"]},{"1396194083":["hashtag1","hashtag2"]},{"1396194101":["hashtag1","hashtag2"]},{"1396194091":["hashtag1","hashtag2"]},{"1396194085":["hashtag1","hashtag2"]},{"1396194100":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396194086, 1396194083, 1396194101, 1396194091, 1396194085, 1396194100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80319690704346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:55:25.213264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_35_2850.jpg', '/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_38_2655.jpg', '/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_41_3615.jpg', '/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_44_2566.jpg', '/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_47_3621.jpg', '/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_50_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_35_2850.jpg
/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_38_2655.jpg
/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_41_3615.jpg
/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_44_2566.jpg
/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_47_3621.jpg
/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_50_2703.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":["1396194113","1396194107","1396194109","1396194103","1396194111","1396194105"],"photo_ids_order":["1396194103","1396194105","1396194107","1396194109","1396194111","1396194113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2ecdc7dafa1949340567d5235f412d3f.jpg","text":"TemporaryFile(/tmp/multipartBody683341318829394293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125785931,"filename":"image_26112025_01_43_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/26/9297a7d2239697c5d27ceb905691b94f.jpg","text":"TemporaryFile(/tmp/multipartBody678162651576054576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125785931,"filename":"image_26112025_01_43_41_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/26/1f998923fd903a169156f4f6ec6f8a0c.jpg","text":"TemporaryFile(/tmp/multipartBody803641992296100453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125785931,"filename":"image_26112025_01_43_44_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/21e230f7b1bb0dba0217aaa543c315ac.jpg","text":"TemporaryFile(/tmp/multipartBody4494635533970299712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125785931,"filename":"image_26112025_01_43_35_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/26/d3d910cc2c376ba035b8202fa3ad874f.jpg","text":"TemporaryFile(/tmp/multipartBody3218476889721020233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125785931,"filename":"image_26112025_01_43_47_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/26/d4b51a82f22a69b606b3c91c6a8b03a5.jpg","text":"TemporaryFile(/tmp/multipartBody2527724507450451128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125785931,"filename":"image_26112025_01_43_38_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396194107","file1":"1396194105","file0":"1396194103","file4":"1396194111","file5":"1396194113","file3":"1396194109"},"map_files_photo_id_array":[{"photo_id":"1396194113","filename":"file5"},{"photo_id":"1396194107","filename":"file2"},{"photo_id":"1396194111","filename":"file4"},{"photo_id":"1396194105","filename":"file1"},{"photo_id":"1396194103","filename":"file0"},{"photo_id":"1396194109","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396194113":["hashtag1","hashtag2"]},{"1396194107":["hashtag1","hashtag2"]},{"1396194109":["hashtag1","hashtag2"]},{"1396194103":["hashtag1","hashtag2"]},{"1396194111":["hashtag1","hashtag2"]},{"1396194105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396194113, 1396194107, 1396194109, 1396194103, 1396194111, 1396194105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15843176841736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:56:02.752097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_53_2523.jpg', '/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_56_3574.jpg', '/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_59_2554.jpg', '/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_05_2728.jpg', '/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_08_2606.jpg', '/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_14_2487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_53_2523.jpg
/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_56_3574.jpg
/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_59_2554.jpg
/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_05_2728.jpg
/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_08_2606.jpg
/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_14_2487.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.1326053142547607 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 03:56:12.300217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_53_2523.jpg', '/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_56_3574.jpg', '/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_59_2554.jpg', '/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_05_2728.jpg', '/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_08_2606.jpg', '/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_14_2487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_53_2523.jpg
/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_56_3574.jpg
/home/pi/Desktop/images/26112025/01/43/image_26112025_01_43_59_2554.jpg
/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_05_2728.jpg
/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_08_2606.jpg
/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_14_2487.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":["1396194120","1396194116","1396194128","1396194118","1396194123","1396194126"],"photo_ids_order":["1396194116","1396194118","1396194120","1396194123","1396194126","1396194128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/92b827192fafbe8992ca62b0d215930e.jpg","text":"TemporaryFile(/tmp/multipartBody2534650696363789504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125832972,"filename":"image_26112025_01_43_59_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/26/f3086032215d2cbcb4fcaaff1a521b92.jpg","text":"TemporaryFile(/tmp/multipartBody6092933350669160121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125832972,"filename":"image_26112025_01_43_53_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/26/2dcb317689b1cf1d05b94e01b3a532a2.jpg","text":"TemporaryFile(/tmp/multipartBody811480893471671880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125832972,"filename":"image_26112025_01_44_14_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/26/289f323237f4cdc7e4077cb335c3263d.jpg","text":"TemporaryFile(/tmp/multipartBody4608147274606384252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125832972,"filename":"image_26112025_01_43_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/26/e52228b5aca4cd97d17eac00cd683c8e.jpg","text":"TemporaryFile(/tmp/multipartBody3208226977207080205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125832972,"filename":"image_26112025_01_44_05_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/26/dcad7fac6199b8837b63ae62d6044393.jpg","text":"TemporaryFile(/tmp/multipartBody1123269749625098747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125832972,"filename":"image_26112025_01_44_08_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396194120","file1":"1396194118","file0":"1396194116","file4":"1396194126","file5":"1396194128","file3":"1396194123"},"map_files_photo_id_array":[{"photo_id":"1396194128","filename":"file5"},{"photo_id":"1396194120","filename":"file2"},{"photo_id":"1396194126","filename":"file4"},{"photo_id":"1396194118","filename":"file1"},{"photo_id":"1396194116","filename":"file0"},{"photo_id":"1396194123","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396194120":["hashtag1","hashtag2"]},{"1396194116":["hashtag1","hashtag2"]},{"1396194128":["hashtag1","hashtag2"]},{"1396194118":["hashtag1","hashtag2"]},{"1396194123":["hashtag1","hashtag2"]},{"1396194126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396194120, 1396194116, 1396194128, 1396194118, 1396194123, 1396194126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17223143577576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:57:03.180146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_17_3650.jpg', '/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_20_2507.jpg', '/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_24_3677.jpg', '/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_26_2643.jpg', '/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_29_2638.jpg', '/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_33_3744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_17_3650.jpg
/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_20_2507.jpg
/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_24_3677.jpg
/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_26_2643.jpg
/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_29_2638.jpg
/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_33_3744.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":["1396194149","1396194143","1396194146","1396194145","1396194144","1396194147"],"photo_ids_order":["1396194143","1396194144","1396194145","1396194146","1396194147","1396194149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6b1241ed5b865043b468977965944bfd.jpg","text":"TemporaryFile(/tmp/multipartBody2144460556342044687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125883933,"filename":"image_26112025_01_44_33_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/26/8275e43a6ea3e5fcbb0b8266900cb02e.jpg","text":"TemporaryFile(/tmp/multipartBody3818553009625731168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125883933,"filename":"image_26112025_01_44_17_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/26/aeb633429d0b68405deb5afdfed91b48.jpg","text":"TemporaryFile(/tmp/multipartBody618659591975814463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125883933,"filename":"image_26112025_01_44_26_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/26/9be9249c71fbc03c8d71668ef2046af5.jpg","text":"TemporaryFile(/tmp/multipartBody4509936696169897709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125883933,"filename":"image_26112025_01_44_24_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/26/b09e8fcc5b85dd0cdb6e69359ec55838.jpg","text":"TemporaryFile(/tmp/multipartBody6315412918457310683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125883933,"filename":"image_26112025_01_44_20_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/26/44fa15d8e640a454e6edcf97931dbef3.jpg","text":"TemporaryFile(/tmp/multipartBody6391408652977290719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125883933,"filename":"image_26112025_01_44_29_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396194145","file1":"1396194144","file0":"1396194143","file4":"1396194147","file5":"1396194149","file3":"1396194146"},"map_files_photo_id_array":[{"photo_id":"1396194149","filename":"file5"},{"photo_id":"1396194145","filename":"file2"},{"photo_id":"1396194147","filename":"file4"},{"photo_id":"1396194144","filename":"file1"},{"photo_id":"1396194143","filename":"file0"},{"photo_id":"1396194146","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396194149":["hashtag1","hashtag2"]},{"1396194143":["hashtag1","hashtag2"]},{"1396194146":["hashtag1","hashtag2"]},{"1396194145":["hashtag1","hashtag2"]},{"1396194144":["hashtag1","hashtag2"]},{"1396194147":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396194149, 1396194143, 1396194146, 1396194145, 1396194144, 1396194147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.243985414505005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 03:57:42.595245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_35_2510.jpg', '/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_41_2643.jpg', '/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_44_2542.jpg', '/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_48_3761.jpg', '/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_50_2579.jpg', '/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_53_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_35_2510.jpg
/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_41_2643.jpg
/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_44_2542.jpg
/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_48_3761.jpg
/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_50_2579.jpg
/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_53_2599.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396194158","1396194157","1396194160","1396194154","1396194156","1396194159"],"photo_ids_order":["1396194154","1396194156","1396194157","1396194158","1396194159","1396194160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7fa15bcde74b70cec10da6d3cb7bf7ab.jpg","text":"TemporaryFile(/tmp/multipartBody4634057117420193596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125923295,"filename":"image_26112025_01_44_48_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/26/3ea41ba668d0dbd2354dc42a71bb1d82.jpg","text":"TemporaryFile(/tmp/multipartBody3198805425980819377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125923295,"filename":"image_26112025_01_44_44_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/26/8b4d521db442192a3d6c2d85fd2ae5eb.jpg","text":"TemporaryFile(/tmp/multipartBody8191740875574389354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125923295,"filename":"image_26112025_01_44_53_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/26/8e085e86685e3088e0693c219cdd9547.jpg","text":"TemporaryFile(/tmp/multipartBody6644860777993110465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125923295,"filename":"image_26112025_01_44_35_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/26/7b4e7729c94bf84465365d707ca05888.jpg","text":"TemporaryFile(/tmp/multipartBody3558792253869292285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125923295,"filename":"image_26112025_01_44_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/26/c168df00098f729be8be23b4909f43d8.jpg","text":"TemporaryFile(/tmp/multipartBody308993567923756434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764125923295,"filename":"image_26112025_01_44_50_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396194157","file1":"1396194156","file0":"1396194154","file4":"1396194159","file5":"1396194160","file3":"1396194158"},"map_files_photo_id_array":[{"photo_id":"1396194160","filename":"file5"},{"photo_id":"1396194157","filename":"file2"},{"photo_id":"1396194159","filename":"file4"},{"photo_id":"1396194156","filename":"file1"},{"photo_id":"1396194154","filename":"file0"},{"photo_id":"1396194158","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396194158":["hashtag1","hashtag2"]},{"1396194157":["hashtag1","hashtag2"]},{"1396194160":["hashtag1","hashtag2"]},{"1396194154":["hashtag1","hashtag2"]},{"1396194156":["hashtag1","hashtag2"]},{"1396194159":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396194158, 1396194157, 1396194160, 1396194154, 1396194156, 1396194159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24682950973511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 03:59:03.136987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_56_3706.jpg', '/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_59_2753.jpg', '/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_02_2672.jpg', '/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_05_2717.jpg', '/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_08_3595.jpg', '/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_11_2554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_56_3706.jpg
/home/pi/Desktop/images/26112025/01/44/image_26112025_01_44_59_2753.jpg
/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_02_2672.jpg
/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_05_2717.jpg
/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_08_3595.jpg
/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_11_2554.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":["1396194167","1396194172","1396194169","1396194174","1396194246","1396194210"],"photo_ids_order":["1396194167","1396194169","1396194172","1396194174","1396194210","1396194246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/07e01a3a7fa5394942c1886070abf55c.jpg","text":"TemporaryFile(/tmp/multipartBody55427153739374016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126003989,"filename":"image_26112025_01_44_56_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/26/aaac5c9e7dc33f717bcad197723a57de.jpg","text":"TemporaryFile(/tmp/multipartBody4406307591074340661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126003989,"filename":"image_26112025_01_45_02_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/26/45c0c1104ea6e13b39eff51a7ff556a6.jpg","text":"TemporaryFile(/tmp/multipartBody711873061946133330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126003989,"filename":"image_26112025_01_44_59_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/26/92d2e3cf54f8af2a74f47d8453a45eaf.jpg","text":"TemporaryFile(/tmp/multipartBody7780050418554952647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126003989,"filename":"image_26112025_01_45_05_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/26/417bc899f5fadbae02e0e62b33db926b.jpg","text":"TemporaryFile(/tmp/multipartBody513524821936720870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126003989,"filename":"image_26112025_01_45_11_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/26/bd73e2f2dbb10685fdd57fbcc9263140.jpg","text":"TemporaryFile(/tmp/multipartBody4620864094787800778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126003989,"filename":"image_26112025_01_45_08_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396194172","file1":"1396194169","file0":"1396194167","file4":"1396194210","file5":"1396194246","file3":"1396194174"},"map_files_photo_id_array":[{"photo_id":"1396194246","filename":"file5"},{"photo_id":"1396194172","filename":"file2"},{"photo_id":"1396194210","filename":"file4"},{"photo_id":"1396194169","filename":"file1"},{"photo_id":"1396194167","filename":"file0"},{"photo_id":"1396194174","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396194167":["hashtag1","hashtag2"]},{"1396194172":["hashtag1","hashtag2"]},{"1396194169":["hashtag1","hashtag2"]},{"1396194174":["hashtag1","hashtag2"]},{"1396194246":["hashtag1","hashtag2"]},{"1396194210":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396194167, 1396194172, 1396194169, 1396194174, 1396194246, 1396194210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60400438308716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 03:59:42.192633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_14_3648.jpg', '/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_17_2642.jpg', '/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_20_2656.jpg', '/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_23_3801.jpg', '/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_26_2721.jpg', '/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_29_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_14_3648.jpg
/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_17_2642.jpg
/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_20_2656.jpg
/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_23_3801.jpg
/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_26_2721.jpg
/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_29_2645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396194525","1396194488","1396194452","1396194376","1396194562","1396194415"],"photo_ids_order":["1396194376","1396194415","1396194452","1396194488","1396194525","1396194562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d85b902bdde393e25c8d11592a4fd682.jpg","text":"TemporaryFile(/tmp/multipartBody8290107335490451730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126042923,"filename":"image_26112025_01_45_26_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/26/cea9070c8153b2b30f0b93d798b80ee8.jpg","text":"TemporaryFile(/tmp/multipartBody2800364425251912753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126042923,"filename":"image_26112025_01_45_23_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/26/9e81ce106d73fb9cdaabc2cef40705ee.jpg","text":"TemporaryFile(/tmp/multipartBody1334932418497479600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126042923,"filename":"image_26112025_01_45_20_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/26/f9ab131d36a1169c47ab522a3273d0f2.jpg","text":"TemporaryFile(/tmp/multipartBody1559204816537409175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126042923,"filename":"image_26112025_01_45_14_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/26/5721f81691998b01cddb80eaf8738198.jpg","text":"TemporaryFile(/tmp/multipartBody4209654779228266178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126042923,"filename":"image_26112025_01_45_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/26/7915126808ad6b289ca819020eeccb74.jpg","text":"TemporaryFile(/tmp/multipartBody7996145456053985864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126042923,"filename":"image_26112025_01_45_17_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396194452","file1":"1396194415","file0":"1396194376","file4":"1396194525","file5":"1396194562","file3":"1396194488"},"map_files_photo_id_array":[{"photo_id":"1396194562","filename":"file5"},{"photo_id":"1396194452","filename":"file2"},{"photo_id":"1396194525","filename":"file4"},{"photo_id":"1396194415","filename":"file1"},{"photo_id":"1396194376","filename":"file0"},{"photo_id":"1396194488","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396194525":["hashtag1","hashtag2"]},{"1396194488":["hashtag1","hashtag2"]},{"1396194452":["hashtag1","hashtag2"]},{"1396194376":["hashtag1","hashtag2"]},{"1396194562":["hashtag1","hashtag2"]},{"1396194415":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396194525, 1396194488, 1396194452, 1396194376, 1396194562, 1396194415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09452676773071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:00:22.374607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_32_2793.jpg', '/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_35_3557.jpg', '/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_38_2601.jpg', '/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_41_2749.jpg', '/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_44_3539.jpg', '/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_47_3161.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_32_2793.jpg
/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_35_3557.jpg
/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_38_2601.jpg
/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_41_2749.jpg
/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_44_3539.jpg
/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_47_3161.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":["1396194702","1396194869","1396194746","1396194914","1396194787","1396194826"],"photo_ids_order":["1396194702","1396194746","1396194787","1396194826","1396194869","1396194914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/35c4732d8d0d2efe49ba2ee9edf0f3bb.jpg","text":"TemporaryFile(/tmp/multipartBody6383198231532562343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126083086,"filename":"image_26112025_01_45_32_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/26/0e5bd467ff21cc73244f9f730f5c0cee.jpg","text":"TemporaryFile(/tmp/multipartBody1426350094595119406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126083086,"filename":"image_26112025_01_45_44_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/26/6d4e46a84deb9513339c50610725345f.jpg","text":"TemporaryFile(/tmp/multipartBody5051144525741390094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126083086,"filename":"image_26112025_01_45_35_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/26/e82a5f8e494bdf7413d5427201c586d0.jpg","text":"TemporaryFile(/tmp/multipartBody2952691882042665962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126083086,"filename":"image_26112025_01_45_47_3161.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/729f1fa373b7e34981404d480de3df5a.jpg","text":"TemporaryFile(/tmp/multipartBody5290514386058868423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126083086,"filename":"image_26112025_01_45_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/26/f0b9a8b8540aedc840d7c7c81a5de041.jpg","text":"TemporaryFile(/tmp/multipartBody7773423750760522658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126083086,"filename":"image_26112025_01_45_41_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396194787","file1":"1396194746","file0":"1396194702","file4":"1396194869","file5":"1396194914","file3":"1396194826"},"map_files_photo_id_array":[{"photo_id":"1396194914","filename":"file5"},{"photo_id":"1396194787","filename":"file2"},{"photo_id":"1396194869","filename":"file4"},{"photo_id":"1396194746","filename":"file1"},{"photo_id":"1396194702","filename":"file0"},{"photo_id":"1396194826","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396194702":["hashtag1","hashtag2"]},{"1396194869":["hashtag1","hashtag2"]},{"1396194746":["hashtag1","hashtag2"]},{"1396194914":["hashtag1","hashtag2"]},{"1396194787":["hashtag1","hashtag2"]},{"1396194826":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396194702, 1396194869, 1396194746, 1396194914, 1396194787, 1396194826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.310158014297485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:01:03.166253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_50_2757.jpg', '/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_53_2647.jpg', '/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_56_3547.jpg', '/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_59_2665.jpg', '/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_02_3594.jpg', '/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_05_2772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_50_2757.jpg
/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_53_2647.jpg
/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_56_3547.jpg
/home/pi/Desktop/images/26112025/01/45/image_26112025_01_45_59_2665.jpg
/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_02_3594.jpg
/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_05_2772.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":["1396195358","1396195205","1396195168","1396195240","1396195318","1396195277"],"photo_ids_order":["1396195168","1396195205","1396195240","1396195277","1396195318","1396195358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/35ec9ca51e2a9b83909ab8b099d3e854.jpg","text":"TemporaryFile(/tmp/multipartBody2012800253785861006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126123954,"filename":"image_26112025_01_46_05_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/26/cbd9d10380d4030cb05b7d293b19a073.jpg","text":"TemporaryFile(/tmp/multipartBody5705053070945727972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126123954,"filename":"image_26112025_01_45_53_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/26/c122c5a402a3bd6aca2d27a7e773186f.jpg","text":"TemporaryFile(/tmp/multipartBody8465384491880088825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126123954,"filename":"image_26112025_01_45_50_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/26/79e23db8bbfa42f998a2dafac0c33b3c.jpg","text":"TemporaryFile(/tmp/multipartBody2937766275217783163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126123954,"filename":"image_26112025_01_45_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/26/6e9325a541a018a2b6c3cb52353a3d26.jpg","text":"TemporaryFile(/tmp/multipartBody6426731203920385816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126123954,"filename":"image_26112025_01_46_02_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/26/97ddc23b342cd8288a447e63884ab231.jpg","text":"TemporaryFile(/tmp/multipartBody7846576866921806522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126123954,"filename":"image_26112025_01_45_59_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396195240","file1":"1396195205","file0":"1396195168","file4":"1396195318","file5":"1396195358","file3":"1396195277"},"map_files_photo_id_array":[{"photo_id":"1396195358","filename":"file5"},{"photo_id":"1396195240","filename":"file2"},{"photo_id":"1396195318","filename":"file4"},{"photo_id":"1396195205","filename":"file1"},{"photo_id":"1396195168","filename":"file0"},{"photo_id":"1396195277","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396195358":["hashtag1","hashtag2"]},{"1396195205":["hashtag1","hashtag2"]},{"1396195168":["hashtag1","hashtag2"]},{"1396195240":["hashtag1","hashtag2"]},{"1396195318":["hashtag1","hashtag2"]},{"1396195277":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396195358, 1396195205, 1396195168, 1396195240, 1396195318, 1396195277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33866763114929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:01:42.478085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_08_2717.jpg', '/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_11_2751.jpg', '/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_14_3710.jpg', '/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_17_2559.jpg', '/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_20_2593.jpg', '/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_23_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_08_2717.jpg
/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_11_2751.jpg
/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_14_3710.jpg
/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_17_2559.jpg
/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_20_2593.jpg
/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_23_3679.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":["1396195783","1396195567","1396195489","1396195852","1396195641","1396195713"],"photo_ids_order":["1396195489","1396195567","1396195641","1396195713","1396195783","1396195852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/06de4307dcf78c850ab89d0cf210ddc9.jpg","text":"TemporaryFile(/tmp/multipartBody735916977230411710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126163172,"filename":"image_26112025_01_46_20_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/26/6b8a4bc1e9328513936b32047acb772b.jpg","text":"TemporaryFile(/tmp/multipartBody8729462272915746954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126163172,"filename":"image_26112025_01_46_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/26/985d37254eb81460ff54c36e786b8b8e.jpg","text":"TemporaryFile(/tmp/multipartBody2165083674956206362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126163172,"filename":"image_26112025_01_46_08_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/26/9a72a52527daab95fdbfd3edb82f8bf8.jpg","text":"TemporaryFile(/tmp/multipartBody3752380648453578050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126163172,"filename":"image_26112025_01_46_23_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/26/37700a0e051c25405f3b949a1f74cf48.jpg","text":"TemporaryFile(/tmp/multipartBody1786006567725728415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126163172,"filename":"image_26112025_01_46_14_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/26/d8aa0915fe0edc2b19bc6330e470ad8e.jpg","text":"TemporaryFile(/tmp/multipartBody1276776249590762369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126163172,"filename":"image_26112025_01_46_17_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396195641","file1":"1396195567","file0":"1396195489","file4":"1396195783","file5":"1396195852","file3":"1396195713"},"map_files_photo_id_array":[{"photo_id":"1396195852","filename":"file5"},{"photo_id":"1396195641","filename":"file2"},{"photo_id":"1396195783","filename":"file4"},{"photo_id":"1396195567","filename":"file1"},{"photo_id":"1396195489","filename":"file0"},{"photo_id":"1396195713","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396195783":["hashtag1","hashtag2"]},{"1396195567":["hashtag1","hashtag2"]},{"1396195489":["hashtag1","hashtag2"]},{"1396195852":["hashtag1","hashtag2"]},{"1396195641":["hashtag1","hashtag2"]},{"1396195713":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396195783, 1396195567, 1396195489, 1396195852, 1396195641, 1396195713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78178095817566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:02:22.653776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_26_2596.jpg', '/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_28_2597.jpg', '/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_32_3516.jpg', '/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_35_2595.jpg', '/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_38_3695.jpg', '/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_41_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_26_2596.jpg
/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_28_2597.jpg
/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_32_3516.jpg
/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_35_2595.jpg
/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_38_3695.jpg
/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_41_2588.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":["1396196362","1396196328","1396196399","1396196223","1396196141","1396196258"],"photo_ids_order":["1396196141","1396196223","1396196258","1396196328","1396196362","1396196399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a188e158b742c732c447ceeeea951bdb.jpg","text":"TemporaryFile(/tmp/multipartBody9045052936139079303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126203376,"filename":"image_26112025_01_46_38_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/26/b0624331a1c263d1ade65b05d989e03a.jpg","text":"TemporaryFile(/tmp/multipartBody416583850644059367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126203376,"filename":"image_26112025_01_46_35_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/26/1c732502340c18e6f491eaedadc4a34e.jpg","text":"TemporaryFile(/tmp/multipartBody7404110283201304950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126203376,"filename":"image_26112025_01_46_41_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/26/ca8c4800a3acdb73767e56e501341314.jpg","text":"TemporaryFile(/tmp/multipartBody3047432812744134794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126203376,"filename":"image_26112025_01_46_28_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/26/7331a64b5cdba26e830e6bdacfbc690f.jpg","text":"TemporaryFile(/tmp/multipartBody7411640690078865793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126203376,"filename":"image_26112025_01_46_26_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2bf6aceab3d200d7f6509cc37c8834f1.jpg","text":"TemporaryFile(/tmp/multipartBody6187729113586496581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126203376,"filename":"image_26112025_01_46_32_3516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396196258","file1":"1396196223","file0":"1396196141","file4":"1396196362","file5":"1396196399","file3":"1396196328"},"map_files_photo_id_array":[{"photo_id":"1396196399","filename":"file5"},{"photo_id":"1396196258","filename":"file2"},{"photo_id":"1396196362","filename":"file4"},{"photo_id":"1396196223","filename":"file1"},{"photo_id":"1396196141","filename":"file0"},{"photo_id":"1396196328","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396196362":["hashtag1","hashtag2"]},{"1396196328":["hashtag1","hashtag2"]},{"1396196399":["hashtag1","hashtag2"]},{"1396196223":["hashtag1","hashtag2"]},{"1396196141":["hashtag1","hashtag2"]},{"1396196258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396196362, 1396196328, 1396196399, 1396196223, 1396196141, 1396196258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12482166290283 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-26 04:03:12.389283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_43_2576.jpg', '/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_47_3687.jpg', '/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_52_2566.jpg', '/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_56_3582.jpg', '/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_59_2594.jpg', '/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_01_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_43_2576.jpg
/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_47_3687.jpg
/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_52_2566.jpg
/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_56_3582.jpg
/home/pi/Desktop/images/26112025/01/46/image_26112025_01_46_59_2594.jpg
/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_01_2790.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":["1396196680","1396196749","1396196644","1396196818","1396196713","1396196792"],"photo_ids_order":["1396196644","1396196680","1396196713","1396196749","1396196792","1396196818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/054c6cb3ab3b9166aa6f7a659e4aabcc.jpg","text":"TemporaryFile(/tmp/multipartBody1588864343879397898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126253056,"filename":"image_26112025_01_46_47_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/26/bd9dd6201a48760bf3b5ba47d4712c7a.jpg","text":"TemporaryFile(/tmp/multipartBody1762581847560607993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126253056,"filename":"image_26112025_01_46_56_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/26/cb1c3f0bd74ca487fd20df839cdf27c4.jpg","text":"TemporaryFile(/tmp/multipartBody2489729636146056344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126253056,"filename":"image_26112025_01_46_43_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/26/b7ae44c153075c8312b8f9276176a8d2.jpg","text":"TemporaryFile(/tmp/multipartBody3385674388180907882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126253056,"filename":"image_26112025_01_47_01_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/26/33dedf75f728c4b96b52ae728c2e5f9f.jpg","text":"TemporaryFile(/tmp/multipartBody3722506745132721967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126253056,"filename":"image_26112025_01_46_52_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/26/aece6fecac7926e58c58e71d957e6d58.jpg","text":"TemporaryFile(/tmp/multipartBody2458409365919672604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126253056,"filename":"image_26112025_01_46_59_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396196713","file1":"1396196680","file0":"1396196644","file4":"1396196792","file5":"1396196818","file3":"1396196749"},"map_files_photo_id_array":[{"photo_id":"1396196818","filename":"file5"},{"photo_id":"1396196713","filename":"file2"},{"photo_id":"1396196792","filename":"file4"},{"photo_id":"1396196680","filename":"file1"},{"photo_id":"1396196644","filename":"file0"},{"photo_id":"1396196749","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396196680":["hashtag1","hashtag2"]},{"1396196749":["hashtag1","hashtag2"]},{"1396196644":["hashtag1","hashtag2"]},{"1396196818":["hashtag1","hashtag2"]},{"1396196713":["hashtag1","hashtag2"]},{"1396196792":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396196680, 1396196749, 1396196644, 1396196818, 1396196713, 1396196792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69581890106201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:04:03.466328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_05_3703.jpg', '/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_08_2550.jpg', '/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_10_2660.jpg', '/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_14_3632.jpg', '/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_17_2652.jpg', '/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_20_3586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_05_3703.jpg
/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_08_2550.jpg
/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_10_2660.jpg
/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_14_3632.jpg
/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_17_2652.jpg
/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_20_3586.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":["1396197088","1396197046","1396197090","1396197120","1396197114","1396197117"],"photo_ids_order":["1396197046","1396197088","1396197090","1396197114","1396197117","1396197120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9a4cb52372c299400eb856c596b19d30.jpg","text":"TemporaryFile(/tmp/multipartBody9141022558454428434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126304234,"filename":"image_26112025_01_47_08_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/26/d42aedec7c1571584cb967e91157fa77.jpg","text":"TemporaryFile(/tmp/multipartBody4705650417663767558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126304234,"filename":"image_26112025_01_47_05_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/26/0a739732c844ce4fcad510b3b2446419.jpg","text":"TemporaryFile(/tmp/multipartBody4701574628436477849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126304234,"filename":"image_26112025_01_47_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/26/e9f6a06e80e2dd9cacc65f4d97933442.jpg","text":"TemporaryFile(/tmp/multipartBody9038051231514251639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126304234,"filename":"image_26112025_01_47_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/26/0b4eba453fb96dfdb5c35aa9e33930bf.jpg","text":"TemporaryFile(/tmp/multipartBody3380040111982568994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126304234,"filename":"image_26112025_01_47_14_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/26/5dcc5d16bf9413dd19addada877ab07b.jpg","text":"TemporaryFile(/tmp/multipartBody2604506357147645962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126304234,"filename":"image_26112025_01_47_17_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396197090","file1":"1396197088","file0":"1396197046","file4":"1396197117","file5":"1396197120","file3":"1396197114"},"map_files_photo_id_array":[{"photo_id":"1396197120","filename":"file5"},{"photo_id":"1396197090","filename":"file2"},{"photo_id":"1396197117","filename":"file4"},{"photo_id":"1396197088","filename":"file1"},{"photo_id":"1396197046","filename":"file0"},{"photo_id":"1396197114","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396197088":["hashtag1","hashtag2"]},{"1396197046":["hashtag1","hashtag2"]},{"1396197090":["hashtag1","hashtag2"]},{"1396197120":["hashtag1","hashtag2"]},{"1396197114":["hashtag1","hashtag2"]},{"1396197117":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396197088, 1396197046, 1396197090, 1396197120, 1396197114, 1396197117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38058519363403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:04:42.780089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_23_2701.jpg', '/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_26_2683.jpg', '/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_28_2756.jpg', '/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_32_3677.jpg', '/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_35_2567.jpg', '/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_38_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_23_2701.jpg
/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_26_2683.jpg
/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_28_2756.jpg
/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_32_3677.jpg
/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_35_2567.jpg
/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_38_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":["1396197139","1396197127","1396197132","1396197135","1396197137","1396197131"],"photo_ids_order":["1396197127","1396197131","1396197132","1396197135","1396197137","1396197139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d3b76b8e244b2f31d345abcc7c462870.jpg","text":"TemporaryFile(/tmp/multipartBody3926503225793886363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126343454,"filename":"image_26112025_01_47_38_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/26/6334f7e5b2dc2f9507866cc22339d0bd.jpg","text":"TemporaryFile(/tmp/multipartBody4320279407720605751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126343454,"filename":"image_26112025_01_47_23_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/26/4830110553bd52686ffaf7bd682b4e14.jpg","text":"TemporaryFile(/tmp/multipartBody7576876952104700559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126343454,"filename":"image_26112025_01_47_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/26/4fca4119ad41472a9fc03d398a493b07.jpg","text":"TemporaryFile(/tmp/multipartBody4708444446236869086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126343454,"filename":"image_26112025_01_47_32_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/26/0a27dc934930ad4cf12d95fc7ae3bbe2.jpg","text":"TemporaryFile(/tmp/multipartBody5999958521648788973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126343454,"filename":"image_26112025_01_47_35_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/26/7aaa284185d67c1215ef0833dab9b33d.jpg","text":"TemporaryFile(/tmp/multipartBody9076470741232407860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126343454,"filename":"image_26112025_01_47_26_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396197132","file1":"1396197131","file0":"1396197127","file4":"1396197137","file5":"1396197139","file3":"1396197135"},"map_files_photo_id_array":[{"photo_id":"1396197139","filename":"file5"},{"photo_id":"1396197132","filename":"file2"},{"photo_id":"1396197137","filename":"file4"},{"photo_id":"1396197131","filename":"file1"},{"photo_id":"1396197127","filename":"file0"},{"photo_id":"1396197135","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396197139":["hashtag1","hashtag2"]},{"1396197127":["hashtag1","hashtag2"]},{"1396197132":["hashtag1","hashtag2"]},{"1396197135":["hashtag1","hashtag2"]},{"1396197137":["hashtag1","hashtag2"]},{"1396197131":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396197139, 1396197127, 1396197132, 1396197135, 1396197137, 1396197131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5969455242157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:05:22.037411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_41_2758.jpg', '/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_44_2544.jpg', '/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_47_3502.jpg', '/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_50_2695.jpg', '/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_52_2636.jpg', '/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_59_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_41_2758.jpg
/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_44_2544.jpg
/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_47_3502.jpg
/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_50_2695.jpg
/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_52_2636.jpg
/home/pi/Desktop/images/26112025/01/47/image_26112025_01_47_59_2629.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":["1396197154","1396197148","1396197142","1396197150","1396197144","1396197146"],"photo_ids_order":["1396197142","1396197144","1396197146","1396197148","1396197150","1396197154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d82985dc1a19d3425883313b13f8f27e.jpg","text":"TemporaryFile(/tmp/multipartBody2210939641957141676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126382739,"filename":"image_26112025_01_47_59_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/26/495449f71052d612454ce99a00eea4a9.jpg","text":"TemporaryFile(/tmp/multipartBody5165724646900756110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126382739,"filename":"image_26112025_01_47_50_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/26/ac4479543562d1f480a7483cbebc0e91.jpg","text":"TemporaryFile(/tmp/multipartBody1376183835798777294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126382739,"filename":"image_26112025_01_47_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/26/90cf1c14466b9fe705109cf58dda9dc5.jpg","text":"TemporaryFile(/tmp/multipartBody2084980626378110603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126382739,"filename":"image_26112025_01_47_52_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/51eacc361310a8e2028654210f58b131.jpg","text":"TemporaryFile(/tmp/multipartBody7035531108268256828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126382739,"filename":"image_26112025_01_47_44_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/26/2bb9734709a05ea158b5eef9840a1491.jpg","text":"TemporaryFile(/tmp/multipartBody9022538313440179836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126382739,"filename":"image_26112025_01_47_47_3502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396197146","file1":"1396197144","file0":"1396197142","file4":"1396197150","file5":"1396197154","file3":"1396197148"},"map_files_photo_id_array":[{"photo_id":"1396197154","filename":"file5"},{"photo_id":"1396197146","filename":"file2"},{"photo_id":"1396197150","filename":"file4"},{"photo_id":"1396197144","filename":"file1"},{"photo_id":"1396197142","filename":"file0"},{"photo_id":"1396197148","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396197154":["hashtag1","hashtag2"]},{"1396197148":["hashtag1","hashtag2"]},{"1396197142":["hashtag1","hashtag2"]},{"1396197150":["hashtag1","hashtag2"]},{"1396197144":["hashtag1","hashtag2"]},{"1396197146":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396197154, 1396197148, 1396197142, 1396197150, 1396197144, 1396197146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10123682022095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:06:02.594368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_01_2818.jpg', '/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_05_3575.jpg', '/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_08_2608.jpg', '/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_11_3549.jpg', '/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_14_2689.jpg', '/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_16_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_01_2818.jpg
/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_05_3575.jpg
/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_08_2608.jpg
/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_11_3549.jpg
/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_14_2689.jpg
/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_16_2568.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":["1396197187","1396197160","1396197180","1396197182","1396197184","1396197163"],"photo_ids_order":["1396197160","1396197163","1396197180","1396197182","1396197184","1396197187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8e8cfa7f1a4ce37f8fab6ffa54cf511d.jpg","text":"TemporaryFile(/tmp/multipartBody9041651336868485075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126423309,"filename":"image_26112025_01_48_16_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/26/cc390c38cf853c3c6c2b6fe5293aaf91.jpg","text":"TemporaryFile(/tmp/multipartBody6408497281691786844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126423309,"filename":"image_26112025_01_48_01_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/26/3d27cc20877f4de2910d78cfe61ebf89.jpg","text":"TemporaryFile(/tmp/multipartBody8941051888103328677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126423309,"filename":"image_26112025_01_48_08_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/26/5d2ab6110a36c727aa75867ac60d138d.jpg","text":"TemporaryFile(/tmp/multipartBody4804452330381393192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126423309,"filename":"image_26112025_01_48_11_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/26/de5392a0451549a5df6e1bc6863c7cac.jpg","text":"TemporaryFile(/tmp/multipartBody608127487346817840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126423309,"filename":"image_26112025_01_48_14_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/26/4add5455b6e19f7abf038ab56cadddc5.jpg","text":"TemporaryFile(/tmp/multipartBody7651010876712711717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126423309,"filename":"image_26112025_01_48_05_3575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396197180","file1":"1396197163","file0":"1396197160","file4":"1396197184","file5":"1396197187","file3":"1396197182"},"map_files_photo_id_array":[{"photo_id":"1396197187","filename":"file5"},{"photo_id":"1396197180","filename":"file2"},{"photo_id":"1396197184","filename":"file4"},{"photo_id":"1396197163","filename":"file1"},{"photo_id":"1396197160","filename":"file0"},{"photo_id":"1396197182","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396197187":["hashtag1","hashtag2"]},{"1396197160":["hashtag1","hashtag2"]},{"1396197180":["hashtag1","hashtag2"]},{"1396197182":["hashtag1","hashtag2"]},{"1396197184":["hashtag1","hashtag2"]},{"1396197163":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396197187, 1396197160, 1396197180, 1396197182, 1396197184, 1396197163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95392990112305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:06:42.176747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_20_3560.jpg', '/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_23_2695.jpg', '/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_25_2695.jpg', '/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_29_3705.jpg', '/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_32_2704.jpg', '/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_35_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_20_3560.jpg
/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_23_2695.jpg
/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_25_2695.jpg
/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_29_3705.jpg
/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_32_2704.jpg
/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_35_2717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396197198","1396197192","1396197205","1396197195","1396197201","1396197203"],"photo_ids_order":["1396197192","1396197195","1396197198","1396197201","1396197203","1396197205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d452d69dc9f0266b7ce17fb22ffadf39.jpg","text":"TemporaryFile(/tmp/multipartBody6027709227717711913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126462843,"filename":"image_26112025_01_48_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/26/65cc3b920a3d1927e8f6daa66fcf52ac.jpg","text":"TemporaryFile(/tmp/multipartBody2249447039903581457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126462843,"filename":"image_26112025_01_48_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/26/6aa26e64cae3b48300c374db014b935a.jpg","text":"TemporaryFile(/tmp/multipartBody7400798286964697294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126462843,"filename":"image_26112025_01_48_35_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/26/05ce32d940d774e640804335f58abd3d.jpg","text":"TemporaryFile(/tmp/multipartBody5121784666541769461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126462843,"filename":"image_26112025_01_48_23_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/26/f42b4f20244e499ca30dc200e9bfe55f.jpg","text":"TemporaryFile(/tmp/multipartBody3238690662958761853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126462843,"filename":"image_26112025_01_48_29_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/26/f545a6bc39f4edd5a7f1db6e46dc0359.jpg","text":"TemporaryFile(/tmp/multipartBody8913223062506596059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126462843,"filename":"image_26112025_01_48_32_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396197198","file1":"1396197195","file0":"1396197192","file4":"1396197203","file5":"1396197205","file3":"1396197201"},"map_files_photo_id_array":[{"photo_id":"1396197205","filename":"file5"},{"photo_id":"1396197198","filename":"file2"},{"photo_id":"1396197203","filename":"file4"},{"photo_id":"1396197195","filename":"file1"},{"photo_id":"1396197192","filename":"file0"},{"photo_id":"1396197201","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396197198":["hashtag1","hashtag2"]},{"1396197192":["hashtag1","hashtag2"]},{"1396197205":["hashtag1","hashtag2"]},{"1396197195":["hashtag1","hashtag2"]},{"1396197201":["hashtag1","hashtag2"]},{"1396197203":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396197198, 1396197192, 1396197205, 1396197195, 1396197201, 1396197203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99711585044861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:07:22.078616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_38_3575.jpg', '/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_41_2555.jpg', '/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_43_2677.jpg', '/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_47_3602.jpg', '/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_50_2706.jpg', '/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_56_3684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_38_3575.jpg
/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_41_2555.jpg
/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_43_2677.jpg
/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_47_3602.jpg
/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_50_2706.jpg
/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_56_3684.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.6053998470306396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:07:32.077617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_38_3575.jpg', '/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_41_2555.jpg', '/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_43_2677.jpg', '/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_47_3602.jpg', '/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_50_2706.jpg', '/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_56_3684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_38_3575.jpg
/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_41_2555.jpg
/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_43_2677.jpg
/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_47_3602.jpg
/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_50_2706.jpg
/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_56_3684.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":["1396197250","1396197234","1396197231","1396197225","1396197228","1396197289"],"photo_ids_order":["1396197225","1396197228","1396197231","1396197234","1396197250","1396197289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8f924f66dc85806544f6160cf81955f5.jpg","text":"TemporaryFile(/tmp/multipartBody7129500772734782831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126512806,"filename":"image_26112025_01_48_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/26/17ac45ea3a456b968e63d2025106a05c.jpg","text":"TemporaryFile(/tmp/multipartBody3857246007151169348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126512806,"filename":"image_26112025_01_48_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/26/04df11d744837d4f32990fa603d42fda.jpg","text":"TemporaryFile(/tmp/multipartBody8913390255364530733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126512806,"filename":"image_26112025_01_48_43_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/26/d74e6f0d5de1c053c664a12391dbf5bb.jpg","text":"TemporaryFile(/tmp/multipartBody7522739245314808252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126512806,"filename":"image_26112025_01_48_38_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/26/f51559055cd6010d14cd0fcb4d24c40b.jpg","text":"TemporaryFile(/tmp/multipartBody3674732094605859016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126512806,"filename":"image_26112025_01_48_41_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/26/47b538ba9748474f16ca97cfd7f397d1.jpg","text":"TemporaryFile(/tmp/multipartBody3318707394406423167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126512806,"filename":"image_26112025_01_48_56_3684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396197231","file1":"1396197228","file0":"1396197225","file4":"1396197250","file5":"1396197289","file3":"1396197234"},"map_files_photo_id_array":[{"photo_id":"1396197289","filename":"file5"},{"photo_id":"1396197231","filename":"file2"},{"photo_id":"1396197250","filename":"file4"},{"photo_id":"1396197228","filename":"file1"},{"photo_id":"1396197225","filename":"file0"},{"photo_id":"1396197234","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396197250":["hashtag1","hashtag2"]},{"1396197234":["hashtag1","hashtag2"]},{"1396197231":["hashtag1","hashtag2"]},{"1396197225":["hashtag1","hashtag2"]},{"1396197228":["hashtag1","hashtag2"]},{"1396197289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396197250, 1396197234, 1396197231, 1396197225, 1396197228, 1396197289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86573839187622 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:08:12.223278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_59_2619.jpg', '/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_02_3569.jpg', '/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_05_2675.jpg', '/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_07_2718.jpg', '/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_14_3554.jpg', '/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_16_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/48/image_26112025_01_48_59_2619.jpg
/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_02_3569.jpg
/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_05_2675.jpg
/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_07_2718.jpg
/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_14_3554.jpg
/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_16_2638.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":["1396197457","1396197576","1396197531","1396197566","1396197422","1396197493"],"photo_ids_order":["1396197422","1396197457","1396197493","1396197531","1396197566","1396197576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/40d40a8ba8796d8452498baf51b431cc.jpg","text":"TemporaryFile(/tmp/multipartBody3875024486747802114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126552918,"filename":"image_26112025_01_49_02_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cd41e05627bd383075c57e01dcb5f323.jpg","text":"TemporaryFile(/tmp/multipartBody8632095601589877593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126552918,"filename":"image_26112025_01_49_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/26/c866b55716cd9824f96d5c83bc093a5d.jpg","text":"TemporaryFile(/tmp/multipartBody2275937138657915304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126552918,"filename":"image_26112025_01_49_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/26/264437ba91f439ff0c3f007997d58919.jpg","text":"TemporaryFile(/tmp/multipartBody7859765516163756108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126552918,"filename":"image_26112025_01_49_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/26/d0ee2059bacd22f64418ce614afe19b2.jpg","text":"TemporaryFile(/tmp/multipartBody2961736493034152222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126552918,"filename":"image_26112025_01_48_59_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/26/febb8b1602aebbd050ed49a1e892ad1d.jpg","text":"TemporaryFile(/tmp/multipartBody6500135920898556150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126552918,"filename":"image_26112025_01_49_05_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396197493","file1":"1396197457","file0":"1396197422","file4":"1396197566","file5":"1396197576","file3":"1396197531"},"map_files_photo_id_array":[{"photo_id":"1396197576","filename":"file5"},{"photo_id":"1396197493","filename":"file2"},{"photo_id":"1396197566","filename":"file4"},{"photo_id":"1396197457","filename":"file1"},{"photo_id":"1396197422","filename":"file0"},{"photo_id":"1396197531","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396197457":["hashtag1","hashtag2"]},{"1396197576":["hashtag1","hashtag2"]},{"1396197531":["hashtag1","hashtag2"]},{"1396197566":["hashtag1","hashtag2"]},{"1396197422":["hashtag1","hashtag2"]},{"1396197493":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396197457, 1396197576, 1396197531, 1396197566, 1396197422, 1396197493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.845510721206665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:09:02.854634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_20_3606.jpg', '/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_23_2618.jpg', '/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_25_2672.jpg', '/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_29_3663.jpg', '/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_32_2678.jpg', '/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_34_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_20_3606.jpg
/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_23_2618.jpg
/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_25_2672.jpg
/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_29_3663.jpg
/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_32_2678.jpg
/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_34_2596.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":["1396197690","1396197692","1396197697","1396197685","1396197694","1396197688"],"photo_ids_order":["1396197685","1396197688","1396197690","1396197692","1396197694","1396197697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/576964d0a19295ff4eedcdfa892468d0.jpg","text":"TemporaryFile(/tmp/multipartBody5612964605628628244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126603717,"filename":"image_26112025_01_49_25_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/26/bb990941c9ceccc540cde277d8a0c830.jpg","text":"TemporaryFile(/tmp/multipartBody4365651009585165696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126603717,"filename":"image_26112025_01_49_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/26/63e5d7d34097423f3a9c4282f05761d3.jpg","text":"TemporaryFile(/tmp/multipartBody5269554420834916254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126603717,"filename":"image_26112025_01_49_34_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/26/6e73d8de7f679a47d3dfbbf195d60972.jpg","text":"TemporaryFile(/tmp/multipartBody1910223999096409778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126603717,"filename":"image_26112025_01_49_20_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/26/5300e98b2a104869947be1537f8787a2.jpg","text":"TemporaryFile(/tmp/multipartBody903003101570712104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126603717,"filename":"image_26112025_01_49_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/26/65320cd5538dad81705c1e84e67ea977.jpg","text":"TemporaryFile(/tmp/multipartBody1226264127263319514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126603717,"filename":"image_26112025_01_49_23_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396197690","file1":"1396197688","file0":"1396197685","file4":"1396197694","file5":"1396197697","file3":"1396197692"},"map_files_photo_id_array":[{"photo_id":"1396197697","filename":"file5"},{"photo_id":"1396197690","filename":"file2"},{"photo_id":"1396197694","filename":"file4"},{"photo_id":"1396197688","filename":"file1"},{"photo_id":"1396197685","filename":"file0"},{"photo_id":"1396197692","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396197690":["hashtag1","hashtag2"]},{"1396197692":["hashtag1","hashtag2"]},{"1396197697":["hashtag1","hashtag2"]},{"1396197685":["hashtag1","hashtag2"]},{"1396197694":["hashtag1","hashtag2"]},{"1396197688":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396197690, 1396197692, 1396197697, 1396197685, 1396197694, 1396197688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83019709587097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:09:41.851631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_38_3520.jpg', '/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_40_2720.jpg', '/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_44_3506.jpg', '/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_47_2667.jpg', '/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_49_2777.jpg', '/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_53_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_38_3520.jpg
/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_40_2720.jpg
/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_44_3506.jpg
/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_47_2667.jpg
/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_49_2777.jpg
/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_53_3591.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":["1396197709","1396197718","1396197712","1396197706","1396197714","1396197716"],"photo_ids_order":["1396197706","1396197709","1396197712","1396197714","1396197716","1396197718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f65134fbbcb48b53a329f34cbdc22577.jpg","text":"TemporaryFile(/tmp/multipartBody1130466670867609738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126642560,"filename":"image_26112025_01_49_40_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/26/cf2f10febc63745c964f7b35264523a5.jpg","text":"TemporaryFile(/tmp/multipartBody7648177286220056838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126642560,"filename":"image_26112025_01_49_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/26/ca7787d7a5793b66f76b02abb5ec7975.jpg","text":"TemporaryFile(/tmp/multipartBody3429298010947274508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126642560,"filename":"image_26112025_01_49_44_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/26/d9678b21b3adad418a32eb384b138db0.jpg","text":"TemporaryFile(/tmp/multipartBody7383138725073024647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126642560,"filename":"image_26112025_01_49_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/26/4b68e58f5bfc01be5c837e1e7a36a2d7.jpg","text":"TemporaryFile(/tmp/multipartBody5210431715046981495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126642560,"filename":"image_26112025_01_49_47_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/26/3ce9faa9581ee44bacbee8d0d9a7df8b.jpg","text":"TemporaryFile(/tmp/multipartBody4823969445083318666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126642560,"filename":"image_26112025_01_49_49_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396197712","file1":"1396197709","file0":"1396197706","file4":"1396197716","file5":"1396197718","file3":"1396197714"},"map_files_photo_id_array":[{"photo_id":"1396197718","filename":"file5"},{"photo_id":"1396197712","filename":"file2"},{"photo_id":"1396197716","filename":"file4"},{"photo_id":"1396197709","filename":"file1"},{"photo_id":"1396197706","filename":"file0"},{"photo_id":"1396197714","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396197709":["hashtag1","hashtag2"]},{"1396197718":["hashtag1","hashtag2"]},{"1396197712":["hashtag1","hashtag2"]},{"1396197706":["hashtag1","hashtag2"]},{"1396197714":["hashtag1","hashtag2"]},{"1396197716":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396197709, 1396197718, 1396197712, 1396197706, 1396197714, 1396197716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14086198806763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:10:22.007800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_56_2557.jpg', '/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_58_2703.jpg', '/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_01_2777.jpg', '/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_05_3641.jpg', '/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_07_2695.jpg', '/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_11_3568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_56_2557.jpg
/home/pi/Desktop/images/26112025/01/49/image_26112025_01_49_58_2703.jpg
/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_01_2777.jpg
/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_05_3641.jpg
/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_07_2695.jpg
/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_11_3568.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":["1396197727","1396197736","1396197723","1396197740","1396197737","1396197728"],"photo_ids_order":["1396197723","1396197727","1396197728","1396197736","1396197737","1396197740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/392b1b8a3c62dfc60ffd9ae13c215a34.jpg","text":"TemporaryFile(/tmp/multipartBody1744375843297505745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126682714,"filename":"image_26112025_01_49_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/26/95c8b2159fdc3e5cc9726bc75121c891.jpg","text":"TemporaryFile(/tmp/multipartBody7949371590717567602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126682714,"filename":"image_26112025_01_50_05_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/26/3ba9ab64a32fad6e6f320b566c488fd5.jpg","text":"TemporaryFile(/tmp/multipartBody366516493233386602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126682714,"filename":"image_26112025_01_49_56_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/26/32fb4c35bb759973bf650bf35e34978e.jpg","text":"TemporaryFile(/tmp/multipartBody8561430250752087760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126682714,"filename":"image_26112025_01_50_11_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/26/070628b28047a1bbec435cda3f9e6e16.jpg","text":"TemporaryFile(/tmp/multipartBody7519391661863201192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126682714,"filename":"image_26112025_01_50_07_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/26/ef65bdc41fe46cfdf17697d3211ea512.jpg","text":"TemporaryFile(/tmp/multipartBody8018997865564734425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126682714,"filename":"image_26112025_01_50_01_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396197728","file1":"1396197727","file0":"1396197723","file4":"1396197737","file5":"1396197740","file3":"1396197736"},"map_files_photo_id_array":[{"photo_id":"1396197740","filename":"file5"},{"photo_id":"1396197728","filename":"file2"},{"photo_id":"1396197737","filename":"file4"},{"photo_id":"1396197727","filename":"file1"},{"photo_id":"1396197723","filename":"file0"},{"photo_id":"1396197736","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396197727":["hashtag1","hashtag2"]},{"1396197736":["hashtag1","hashtag2"]},{"1396197723":["hashtag1","hashtag2"]},{"1396197740":["hashtag1","hashtag2"]},{"1396197737":["hashtag1","hashtag2"]},{"1396197728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396197727, 1396197736, 1396197723, 1396197740, 1396197737, 1396197728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.97973561286926 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-26 04:11:14.708387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_14_2663.jpg', '/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_16_2600.jpg', '/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_20_3676.jpg', '/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_23_2761.jpg', '/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_25_2705.jpg', '/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_28_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_14_2663.jpg
/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_16_2600.jpg
/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_20_3676.jpg
/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_23_2761.jpg
/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_25_2705.jpg
/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_28_2641.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":["1396197760","1396197757","1396197785","1396197758","1396197824","1396197862"],"photo_ids_order":["1396197757","1396197758","1396197760","1396197785","1396197824","1396197862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b7d67ac31bc4166622c53154668294a8.jpg","text":"TemporaryFile(/tmp/multipartBody5924737101216727265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126735395,"filename":"image_26112025_01_50_20_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/26/0b2d405c323454b7fc9fd50658a4bbd6.jpg","text":"TemporaryFile(/tmp/multipartBody6134465972498458530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126735395,"filename":"image_26112025_01_50_14_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/26/623d75ad58efc1200bcb1b28e823a190.jpg","text":"TemporaryFile(/tmp/multipartBody5474345700208706943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126735395,"filename":"image_26112025_01_50_23_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/26/19b811eb0b210e40fdf16f3cb5d75be2.jpg","text":"TemporaryFile(/tmp/multipartBody3404024579384102730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126735395,"filename":"image_26112025_01_50_16_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/26/ecc70a97e32ff53b167be24a6e31805e.jpg","text":"TemporaryFile(/tmp/multipartBody8449986956496499394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126735395,"filename":"image_26112025_01_50_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/26/9e8b8c6d9b5ab9a57f1717959b3119c9.jpg","text":"TemporaryFile(/tmp/multipartBody3546665464524594788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126735395,"filename":"image_26112025_01_50_28_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396197760","file1":"1396197758","file0":"1396197757","file4":"1396197824","file5":"1396197862","file3":"1396197785"},"map_files_photo_id_array":[{"photo_id":"1396197862","filename":"file5"},{"photo_id":"1396197760","filename":"file2"},{"photo_id":"1396197824","filename":"file4"},{"photo_id":"1396197758","filename":"file1"},{"photo_id":"1396197757","filename":"file0"},{"photo_id":"1396197785","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396197760":["hashtag1","hashtag2"]},{"1396197757":["hashtag1","hashtag2"]},{"1396197785":["hashtag1","hashtag2"]},{"1396197758":["hashtag1","hashtag2"]},{"1396197824":["hashtag1","hashtag2"]},{"1396197862":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396197760, 1396197757, 1396197785, 1396197758, 1396197824, 1396197862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89815616607666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:12:02.368866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_32_3641.jpg', '/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_34_2677.jpg', '/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_37_2650.jpg', '/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_41_3776.jpg', '/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_43_2743.jpg', '/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_46_2810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_32_3641.jpg
/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_34_2677.jpg
/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_37_2650.jpg
/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_41_3776.jpg
/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_43_2743.jpg
/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_46_2810.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":["1396198065","1396198101","1396198178","1396198217","1396198144","1396198246"],"photo_ids_order":["1396198065","1396198101","1396198144","1396198178","1396198217","1396198246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1d54fbfa1ab744a4cfd0c9e3df5eba92.jpg","text":"TemporaryFile(/tmp/multipartBody2165891902395994836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126783047,"filename":"image_26112025_01_50_32_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/26/9b34a73201fcc8652af0cdad7147c74b.jpg","text":"TemporaryFile(/tmp/multipartBody7210215661463890243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126783047,"filename":"image_26112025_01_50_34_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/26/0bccc21f4f17317f09dde28c1f2eec5a.jpg","text":"TemporaryFile(/tmp/multipartBody2025547557652662903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126783047,"filename":"image_26112025_01_50_41_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/26/d827cd3bbf757e6df34b2721eee56e0f.jpg","text":"TemporaryFile(/tmp/multipartBody3069956152150277092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126783047,"filename":"image_26112025_01_50_43_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/26/98086e77c60591f4c41e70bfb015c255.jpg","text":"TemporaryFile(/tmp/multipartBody4148752513906148062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126783047,"filename":"image_26112025_01_50_37_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/26/24e2be29ed7167b76438048795b4c6c3.jpg","text":"TemporaryFile(/tmp/multipartBody8416640432747566365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126783047,"filename":"image_26112025_01_50_46_2810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198144","file1":"1396198101","file0":"1396198065","file4":"1396198217","file5":"1396198246","file3":"1396198178"},"map_files_photo_id_array":[{"photo_id":"1396198246","filename":"file5"},{"photo_id":"1396198144","filename":"file2"},{"photo_id":"1396198217","filename":"file4"},{"photo_id":"1396198101","filename":"file1"},{"photo_id":"1396198065","filename":"file0"},{"photo_id":"1396198178","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198065":["hashtag1","hashtag2"]},{"1396198101":["hashtag1","hashtag2"]},{"1396198178":["hashtag1","hashtag2"]},{"1396198217":["hashtag1","hashtag2"]},{"1396198144":["hashtag1","hashtag2"]},{"1396198246":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198065, 1396198101, 1396198178, 1396198217, 1396198144, 1396198246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.206156492233276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:12:41.849555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_49_2866.jpg', '/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_53_3722.jpg', '/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_56_2633.jpg', '/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_58_2641.jpg', '/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_01_2815.jpg', '/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_05_3646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_49_2866.jpg
/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_53_3722.jpg
/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_56_2633.jpg
/home/pi/Desktop/images/26112025/01/50/image_26112025_01_50_58_2641.jpg
/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_01_2815.jpg
/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_05_3646.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":["1396198350","1396198317","1396198274","1396198334","1396198381","1396198360"],"photo_ids_order":["1396198274","1396198317","1396198334","1396198350","1396198360","1396198381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0afaecb914416b38a0c0c370da0aff4e.jpg","text":"TemporaryFile(/tmp/multipartBody3155142376651946747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126822534,"filename":"image_26112025_01_50_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/26/89251628855045bdf292ebee42eeaa09.jpg","text":"TemporaryFile(/tmp/multipartBody3150741166884202761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126822534,"filename":"image_26112025_01_50_53_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/26/3506e331dda8a5cc0776d81c5c62d6a5.jpg","text":"TemporaryFile(/tmp/multipartBody789594265365902264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126822534,"filename":"image_26112025_01_50_49_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/26/4cf1e7fa9c7fc2718c7355d55d135423.jpg","text":"TemporaryFile(/tmp/multipartBody3311980948988321467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126822534,"filename":"image_26112025_01_50_56_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/26/c3a83633d7efcb575e1726cddd2e5c03.jpg","text":"TemporaryFile(/tmp/multipartBody1830353955495201353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126822534,"filename":"image_26112025_01_51_05_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/26/60772caeb2c878706df4ed1e7ee0aac4.jpg","text":"TemporaryFile(/tmp/multipartBody3592667066681377236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126822534,"filename":"image_26112025_01_51_01_2815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198334","file1":"1396198317","file0":"1396198274","file4":"1396198360","file5":"1396198381","file3":"1396198350"},"map_files_photo_id_array":[{"photo_id":"1396198381","filename":"file5"},{"photo_id":"1396198334","filename":"file2"},{"photo_id":"1396198360","filename":"file4"},{"photo_id":"1396198317","filename":"file1"},{"photo_id":"1396198274","filename":"file0"},{"photo_id":"1396198350","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198350":["hashtag1","hashtag2"]},{"1396198317":["hashtag1","hashtag2"]},{"1396198274":["hashtag1","hashtag2"]},{"1396198334":["hashtag1","hashtag2"]},{"1396198381":["hashtag1","hashtag2"]},{"1396198360":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198350, 1396198317, 1396198274, 1396198334, 1396198381, 1396198360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.743309020996094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:13:22.043646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_07_2746.jpg', '/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_10_2557.jpg', '/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_14_3586.jpg', '/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_16_2605.jpg', '/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_20_3687.jpg', '/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_23_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_07_2746.jpg
/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_10_2557.jpg
/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_14_3586.jpg
/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_16_2605.jpg
/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_20_3687.jpg
/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_23_2759.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":["1396198386","1396198388","1396198382","1396198390","1396198384","1396198393"],"photo_ids_order":["1396198382","1396198384","1396198386","1396198388","1396198390","1396198393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fc14dc1c98c2345a0441ee04828d19da.jpg","text":"TemporaryFile(/tmp/multipartBody8141619734705840812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126862738,"filename":"image_26112025_01_51_14_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/26/46c189f3b8542c77dcebe8c6d4c55ca8.jpg","text":"TemporaryFile(/tmp/multipartBody7949067350671864583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126862738,"filename":"image_26112025_01_51_16_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e205154a6307cb6d49c12e3fc587c1ed.jpg","text":"TemporaryFile(/tmp/multipartBody425204814661837383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126862738,"filename":"image_26112025_01_51_07_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/26/b61cdf87f0961bd7c487a6ac9005a6a6.jpg","text":"TemporaryFile(/tmp/multipartBody2024874091798510812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126862738,"filename":"image_26112025_01_51_20_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/26/f36418b9445e75eb25f953f38b3e49b8.jpg","text":"TemporaryFile(/tmp/multipartBody2300117677601147644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126862738,"filename":"image_26112025_01_51_10_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/26/86b4a0a8225a621294a27160d1ed2840.jpg","text":"TemporaryFile(/tmp/multipartBody6377169954317405447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126862738,"filename":"image_26112025_01_51_23_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198386","file1":"1396198384","file0":"1396198382","file4":"1396198390","file5":"1396198393","file3":"1396198388"},"map_files_photo_id_array":[{"photo_id":"1396198393","filename":"file5"},{"photo_id":"1396198386","filename":"file2"},{"photo_id":"1396198390","filename":"file4"},{"photo_id":"1396198384","filename":"file1"},{"photo_id":"1396198382","filename":"file0"},{"photo_id":"1396198388","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198386":["hashtag1","hashtag2"]},{"1396198388":["hashtag1","hashtag2"]},{"1396198382":["hashtag1","hashtag2"]},{"1396198390":["hashtag1","hashtag2"]},{"1396198384":["hashtag1","hashtag2"]},{"1396198393":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198386, 1396198388, 1396198382, 1396198390, 1396198384, 1396198393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.982717514038086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:14:02.794509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_25_2593.jpg', '/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_28_2785.jpg', '/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_32_3781.jpg', '/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_34_2622.jpg', '/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_37_2568.jpg', '/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_41_3703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_25_2593.jpg
/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_28_2785.jpg
/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_32_3781.jpg
/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_34_2622.jpg
/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_37_2568.jpg
/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_41_3703.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":["1396198405","1396198407","1396198401","1396198404","1396198399","1396198402"],"photo_ids_order":["1396198399","1396198401","1396198402","1396198404","1396198405","1396198407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/505cbbefc2f16d47f75d5ccd821338c2.jpg","text":"TemporaryFile(/tmp/multipartBody5490678084831621914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126903640,"filename":"image_26112025_01_51_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/26/03b72da0c76df142b732a29492859cd2.jpg","text":"TemporaryFile(/tmp/multipartBody1155596901918005970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126903640,"filename":"image_26112025_01_51_41_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/26/c94bbe62a8bae78d0edc369dc5723d39.jpg","text":"TemporaryFile(/tmp/multipartBody7210301330846777804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126903640,"filename":"image_26112025_01_51_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/26/610487ea8a9105b5e52bd1768b7803cf.jpg","text":"TemporaryFile(/tmp/multipartBody8761124802649844808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126903640,"filename":"image_26112025_01_51_34_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/26/ae08cf631baf9a28427c9cf503948076.jpg","text":"TemporaryFile(/tmp/multipartBody6029682137905686597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126903640,"filename":"image_26112025_01_51_25_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/26/f3533254b04f6f8d97aca7dc3de86275.jpg","text":"TemporaryFile(/tmp/multipartBody168434032037215259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126903640,"filename":"image_26112025_01_51_32_3781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198402","file1":"1396198401","file0":"1396198399","file4":"1396198405","file5":"1396198407","file3":"1396198404"},"map_files_photo_id_array":[{"photo_id":"1396198407","filename":"file5"},{"photo_id":"1396198402","filename":"file2"},{"photo_id":"1396198405","filename":"file4"},{"photo_id":"1396198401","filename":"file1"},{"photo_id":"1396198399","filename":"file0"},{"photo_id":"1396198404","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198405":["hashtag1","hashtag2"]},{"1396198407":["hashtag1","hashtag2"]},{"1396198401":["hashtag1","hashtag2"]},{"1396198404":["hashtag1","hashtag2"]},{"1396198399":["hashtag1","hashtag2"]},{"1396198402":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198405, 1396198407, 1396198401, 1396198404, 1396198399, 1396198402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.169679164886475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:14:42.284406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_43_2673.jpg', '/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_47_3552.jpg', '/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_50_2646.jpg', '/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_52_2673.jpg', '/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_56_3662.jpg', '/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_58_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_43_2673.jpg
/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_47_3552.jpg
/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_50_2646.jpg
/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_52_2673.jpg
/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_56_3662.jpg
/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_58_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.560582160949707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:15:03.143846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_43_2673.jpg', '/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_47_3552.jpg', '/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_50_2646.jpg', '/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_52_2673.jpg', '/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_56_3662.jpg', '/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_58_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_43_2673.jpg
/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_47_3552.jpg
/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_50_2646.jpg
/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_52_2673.jpg
/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_56_3662.jpg
/home/pi/Desktop/images/26112025/01/51/image_26112025_01_51_58_2584.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":["1396198443","1396198440","1396198434","1396198439","1396198441","1396198438"],"photo_ids_order":["1396198434","1396198438","1396198439","1396198440","1396198441","1396198443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/517669e90b4136d5c759b89621052ed4.jpg","text":"TemporaryFile(/tmp/multipartBody5658337796017204642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126963909,"filename":"image_26112025_01_51_58_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/26/930fcacd5212b02b6866467c07a7dd2f.jpg","text":"TemporaryFile(/tmp/multipartBody4107228433190839217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126963909,"filename":"image_26112025_01_51_52_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/acc53b1ccd880035254fa4aeb735157c.jpg","text":"TemporaryFile(/tmp/multipartBody3957455812252226181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126963909,"filename":"image_26112025_01_51_43_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/26/3b1514223c1e2c8149f811f422d55a2a.jpg","text":"TemporaryFile(/tmp/multipartBody2024767827163954606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126963909,"filename":"image_26112025_01_51_50_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/26/9acec26aa0255aae57215f811edbafbe.jpg","text":"TemporaryFile(/tmp/multipartBody2285297914609178960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126963909,"filename":"image_26112025_01_51_56_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d6173200d767e407fea5ddcd57c76b21.jpg","text":"TemporaryFile(/tmp/multipartBody333283848515944736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764126963909,"filename":"image_26112025_01_51_47_3552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198439","file1":"1396198438","file0":"1396198434","file4":"1396198441","file5":"1396198443","file3":"1396198440"},"map_files_photo_id_array":[{"photo_id":"1396198443","filename":"file5"},{"photo_id":"1396198439","filename":"file2"},{"photo_id":"1396198441","filename":"file4"},{"photo_id":"1396198438","filename":"file1"},{"photo_id":"1396198434","filename":"file0"},{"photo_id":"1396198440","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198443":["hashtag1","hashtag2"]},{"1396198440":["hashtag1","hashtag2"]},{"1396198434":["hashtag1","hashtag2"]},{"1396198439":["hashtag1","hashtag2"]},{"1396198441":["hashtag1","hashtag2"]},{"1396198438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198443, 1396198440, 1396198434, 1396198439, 1396198441, 1396198438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.865142822265625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:15:42.540947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_01_2533.jpg', '/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_05_3593.jpg', '/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_07_2569.jpg', '/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_11_3560.jpg', '/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_13_2643.jpg', '/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_16_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_01_2533.jpg
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_05_3593.jpg
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_07_2569.jpg
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_11_3560.jpg
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_13_2643.jpg
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_16_2628.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.6033508777618408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:16:03.221305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_01_2533.jpg', '/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_05_3593.jpg', '/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_07_2569.jpg', '/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_11_3560.jpg', '/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_13_2643.jpg', '/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_16_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_01_2533.jpg
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_05_3593.jpg
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_07_2569.jpg
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_11_3560.jpg
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_13_2643.jpg
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_16_2628.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":["1396198488","1396198461","1396198464","1396198469","1396198460","1396198486"],"photo_ids_order":["1396198460","1396198461","1396198464","1396198469","1396198486","1396198488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cbcb0c68b1ea50f686987f7858319877.jpg","text":"TemporaryFile(/tmp/multipartBody1554113329844778671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127023919,"filename":"image_26112025_01_52_16_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/26/e32343118449114e1c2cfef29014a5ca.jpg","text":"TemporaryFile(/tmp/multipartBody3188176775240898293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127023919,"filename":"image_26112025_01_52_05_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/26/9d088f350c437c2e90693a75fee2a319.jpg","text":"TemporaryFile(/tmp/multipartBody7562114879791290533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127023919,"filename":"image_26112025_01_52_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/26/d1e8529781f052e63033af9d0310fc25.jpg","text":"TemporaryFile(/tmp/multipartBody7450831273161188636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127023919,"filename":"image_26112025_01_52_11_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f6ba623fd797d8aa5c8f7b5b632bb043.jpg","text":"TemporaryFile(/tmp/multipartBody3477266079775010745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127023919,"filename":"image_26112025_01_52_01_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/26/fdf98ac2fe58c5ccb68c8fe3fe3ec2e3.jpg","text":"TemporaryFile(/tmp/multipartBody1605507660472659748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127023919,"filename":"image_26112025_01_52_13_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198464","file1":"1396198461","file0":"1396198460","file4":"1396198486","file5":"1396198488","file3":"1396198469"},"map_files_photo_id_array":[{"photo_id":"1396198488","filename":"file5"},{"photo_id":"1396198464","filename":"file2"},{"photo_id":"1396198486","filename":"file4"},{"photo_id":"1396198461","filename":"file1"},{"photo_id":"1396198460","filename":"file0"},{"photo_id":"1396198469","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198488":["hashtag1","hashtag2"]},{"1396198461":["hashtag1","hashtag2"]},{"1396198464":["hashtag1","hashtag2"]},{"1396198469":["hashtag1","hashtag2"]},{"1396198460":["hashtag1","hashtag2"]},{"1396198486":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198488, 1396198461, 1396198464, 1396198469, 1396198460, 1396198486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51719808578491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:16:42.733450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_20_3568.jpg', '/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_24_4039.jpg', '/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_25_1734.jpg', '/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_28_2810.jpg', '/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_32_3623.jpg', '/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_34_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_20_3568.jpg
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_24_4039.jpg
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_25_1734.jpg
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_28_2810.jpg
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_32_3623.jpg
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_34_2596.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.6509010791778564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:17:02.524555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_20_3568.jpg', '/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_24_4039.jpg', '/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_25_1734.jpg', '/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_28_2810.jpg', '/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_32_3623.jpg', '/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_34_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_20_3568.jpg
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_24_4039.jpg
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_25_1734.jpg
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_28_2810.jpg
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_32_3623.jpg
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_34_2596.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":["1396198510","1396198512","1396198511","1396198514","1396198513","1396198516"],"photo_ids_order":["1396198510","1396198511","1396198512","1396198513","1396198514","1396198516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/07b7f24fe9cff1254ac7d32fe9c0dc9e.jpg","text":"TemporaryFile(/tmp/multipartBody5484961530842039342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127083548,"filename":"image_26112025_01_52_20_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d2a889a832315177f965b059d685a4d0.jpg","text":"TemporaryFile(/tmp/multipartBody2192442373426287910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127083548,"filename":"image_26112025_01_52_25_1734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4c9affea53e1ce17e89e4064e4c15e3f.jpg","text":"TemporaryFile(/tmp/multipartBody688103842804191136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127083548,"filename":"image_26112025_01_52_24_4039.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1db2cdf6d01203b78e33a4f964666b05.jpg","text":"TemporaryFile(/tmp/multipartBody5016567361690006398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127083548,"filename":"image_26112025_01_52_32_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/26/d61c9a25545aa0d8fafe17213995bb3a.jpg","text":"TemporaryFile(/tmp/multipartBody6312103864297793617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127083548,"filename":"image_26112025_01_52_28_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/26/deaa2f268fe551f11140049ffaa353d2.jpg","text":"TemporaryFile(/tmp/multipartBody6105352848954647910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127083548,"filename":"image_26112025_01_52_34_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198512","file1":"1396198511","file0":"1396198510","file4":"1396198514","file5":"1396198516","file3":"1396198513"},"map_files_photo_id_array":[{"photo_id":"1396198516","filename":"file5"},{"photo_id":"1396198512","filename":"file2"},{"photo_id":"1396198514","filename":"file4"},{"photo_id":"1396198511","filename":"file1"},{"photo_id":"1396198510","filename":"file0"},{"photo_id":"1396198513","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198510":["hashtag1","hashtag2"]},{"1396198512":["hashtag1","hashtag2"]},{"1396198511":["hashtag1","hashtag2"]},{"1396198514":["hashtag1","hashtag2"]},{"1396198513":["hashtag1","hashtag2"]},{"1396198516":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198510, 1396198512, 1396198511, 1396198514, 1396198513, 1396198516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5003457069397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:17:41.942901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_37_2654.jpg', '/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_41_3582.jpg', '/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_50_3648.jpg', '/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_52_2652.jpg', '/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_55_2644.jpg', '/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_59_3761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_37_2654.jpg
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_41_3582.jpg
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_50_3648.jpg
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_52_2652.jpg
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_55_2644.jpg
/home/pi/Desktop/images/26112025/01/52/image_26112025_01_52_59_3761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396198530","1396198524","1396198533","1396198521","1396198526","1396198528"],"photo_ids_order":["1396198521","1396198524","1396198526","1396198528","1396198530","1396198533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/768b25b1b4aa90dacaa93350e09372fd.jpg","text":"TemporaryFile(/tmp/multipartBody234790761091295428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127122645,"filename":"image_26112025_01_52_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/26/9565c35ad01779525f56fb3ee5a25fc0.jpg","text":"TemporaryFile(/tmp/multipartBody6824007732959537645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127122645,"filename":"image_26112025_01_52_41_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/26/1bc986521b7837a9b63b2736e68b97b6.jpg","text":"TemporaryFile(/tmp/multipartBody4826434079372055777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127122645,"filename":"image_26112025_01_52_59_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/26/f8476ffb05519ed24c37ba7294cc035a.jpg","text":"TemporaryFile(/tmp/multipartBody4027521418593551619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127122645,"filename":"image_26112025_01_52_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/26/d273f62d9370c3adbd65e54f2aab2f30.jpg","text":"TemporaryFile(/tmp/multipartBody3807595212263074229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127122645,"filename":"image_26112025_01_52_50_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/26/4ff38f93c1d8b3ef37d476e8f88b3ac7.jpg","text":"TemporaryFile(/tmp/multipartBody932239493474402955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127122645,"filename":"image_26112025_01_52_52_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198526","file1":"1396198524","file0":"1396198521","file4":"1396198530","file5":"1396198533","file3":"1396198528"},"map_files_photo_id_array":[{"photo_id":"1396198533","filename":"file5"},{"photo_id":"1396198526","filename":"file2"},{"photo_id":"1396198530","filename":"file4"},{"photo_id":"1396198524","filename":"file1"},{"photo_id":"1396198521","filename":"file0"},{"photo_id":"1396198528","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198530":["hashtag1","hashtag2"]},{"1396198524":["hashtag1","hashtag2"]},{"1396198533":["hashtag1","hashtag2"]},{"1396198521":["hashtag1","hashtag2"]},{"1396198526":["hashtag1","hashtag2"]},{"1396198528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198530, 1396198524, 1396198533, 1396198521, 1396198526, 1396198528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05132484436035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:18:22.110175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_01_2506.jpg', '/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_05_3578.jpg', '/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_07_2673.jpg', '/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_10_2571.jpg', '/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_14_3647.jpg', '/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_16_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_01_2506.jpg
/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_05_3578.jpg
/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_07_2673.jpg
/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_10_2571.jpg
/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_14_3647.jpg
/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_16_2615.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":["1396198542","1396198536","1396198545","1396198538","1396198540","1396198534"],"photo_ids_order":["1396198534","1396198536","1396198538","1396198540","1396198542","1396198545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1a546514cb56a4c8f7c98e9ffe6a657d.jpg","text":"TemporaryFile(/tmp/multipartBody1176674048414493446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127162812,"filename":"image_26112025_01_53_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/26/fe9cb45c4585af62338db37cc95c5f8a.jpg","text":"TemporaryFile(/tmp/multipartBody57275899909479991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127162812,"filename":"image_26112025_01_53_05_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/26/52aa51fb45fc5e0ac235282a4378a607.jpg","text":"TemporaryFile(/tmp/multipartBody5284473434469989365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127162812,"filename":"image_26112025_01_53_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/26/841918341623060781c880904754b652.jpg","text":"TemporaryFile(/tmp/multipartBody1923138627104807006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127162812,"filename":"image_26112025_01_53_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/26/043155fae5e4624f1f97c9bcd33fb97d.jpg","text":"TemporaryFile(/tmp/multipartBody6712501596322337285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127162812,"filename":"image_26112025_01_53_10_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/26/4854b25fdd589b724fe2b6097fcc847f.jpg","text":"TemporaryFile(/tmp/multipartBody9190539940232195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127162812,"filename":"image_26112025_01_53_01_2506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198538","file1":"1396198536","file0":"1396198534","file4":"1396198542","file5":"1396198545","file3":"1396198540"},"map_files_photo_id_array":[{"photo_id":"1396198545","filename":"file5"},{"photo_id":"1396198538","filename":"file2"},{"photo_id":"1396198542","filename":"file4"},{"photo_id":"1396198536","filename":"file1"},{"photo_id":"1396198534","filename":"file0"},{"photo_id":"1396198540","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198542":["hashtag1","hashtag2"]},{"1396198536":["hashtag1","hashtag2"]},{"1396198545":["hashtag1","hashtag2"]},{"1396198538":["hashtag1","hashtag2"]},{"1396198540":["hashtag1","hashtag2"]},{"1396198534":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198542, 1396198536, 1396198545, 1396198538, 1396198540, 1396198534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00681114196777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:19:03.569269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_22_3595.jpg', '/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_29_3559.jpg', '/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_38_3628.jpg', '/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_40_2670.jpg', '/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_43_2654.jpg', '/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_47_3598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_22_3595.jpg
/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_29_3559.jpg
/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_38_3628.jpg
/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_40_2670.jpg
/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_43_2654.jpg
/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_47_3598.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":["1396198569","1396198566","1396198568","1396198553","1396198558","1396198552"],"photo_ids_order":["1396198552","1396198553","1396198558","1396198566","1396198568","1396198569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/516dd25c90cb53b425daea3ba51cddfc.jpg","text":"TemporaryFile(/tmp/multipartBody191703012993864675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127204447,"filename":"image_26112025_01_53_47_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/26/5c04f7577f31a4a99e21e655953de3f3.jpg","text":"TemporaryFile(/tmp/multipartBody4554681529873969093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127204447,"filename":"image_26112025_01_53_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/26/604452895ee35bf86da1ca21a943e5b0.jpg","text":"TemporaryFile(/tmp/multipartBody2224718250259455948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127204447,"filename":"image_26112025_01_53_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/26/e73e65d0592289a02b9d95d25f20ac87.jpg","text":"TemporaryFile(/tmp/multipartBody1095375701963757259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127204447,"filename":"image_26112025_01_53_29_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/26/f845754676f9dfbad910e52cb48fb309.jpg","text":"TemporaryFile(/tmp/multipartBody2517517509072994792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127204447,"filename":"image_26112025_01_53_38_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/26/b1dcb310f2a074d7c754b633fdcd8787.jpg","text":"TemporaryFile(/tmp/multipartBody8287963538203764918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127204447,"filename":"image_26112025_01_53_22_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198558","file1":"1396198553","file0":"1396198552","file4":"1396198568","file5":"1396198569","file3":"1396198566"},"map_files_photo_id_array":[{"photo_id":"1396198569","filename":"file5"},{"photo_id":"1396198558","filename":"file2"},{"photo_id":"1396198568","filename":"file4"},{"photo_id":"1396198553","filename":"file1"},{"photo_id":"1396198552","filename":"file0"},{"photo_id":"1396198566","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198569":["hashtag1","hashtag2"]},{"1396198566":["hashtag1","hashtag2"]},{"1396198568":["hashtag1","hashtag2"]},{"1396198553":["hashtag1","hashtag2"]},{"1396198558":["hashtag1","hashtag2"]},{"1396198552":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198569, 1396198566, 1396198568, 1396198553, 1396198558, 1396198552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28578805923462 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:19:42.669540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_49_2629.jpg', '/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_52_2653.jpg', '/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_55_3618.jpg', '/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_58_2697.jpg', '/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_01_2624.jpg', '/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_04_3683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_49_2629.jpg
/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_52_2653.jpg
/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_55_3618.jpg
/home/pi/Desktop/images/26112025/01/53/image_26112025_01_53_58_2697.jpg
/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_01_2624.jpg
/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_04_3683.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":["1396198581","1396198575","1396198583","1396198586","1396198577","1396198579"],"photo_ids_order":["1396198575","1396198577","1396198579","1396198581","1396198583","1396198586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/edd852f37f3cd2a6eec32dff1cc53197.jpg","text":"TemporaryFile(/tmp/multipartBody7443417819041020920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127243365,"filename":"image_26112025_01_53_58_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/26/814f56f1b11f960697518161bc056d01.jpg","text":"TemporaryFile(/tmp/multipartBody3737378093010857070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127243365,"filename":"image_26112025_01_53_49_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/26/788634129ffcf1efa4c7199502df07a7.jpg","text":"TemporaryFile(/tmp/multipartBody9218213402049877784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127243365,"filename":"image_26112025_01_54_01_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/26/783c7eec5a371fa6eea2c14ce8c44f80.jpg","text":"TemporaryFile(/tmp/multipartBody4669521992510252665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127243365,"filename":"image_26112025_01_54_04_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/26/8ca316fe1f9b75cd94142f4093b3db0b.jpg","text":"TemporaryFile(/tmp/multipartBody3503479017091458873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127243365,"filename":"image_26112025_01_53_52_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/26/93901cd715c1e9de0d15d6567b6aecaf.jpg","text":"TemporaryFile(/tmp/multipartBody5098447841231937402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127243365,"filename":"image_26112025_01_53_55_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198579","file1":"1396198577","file0":"1396198575","file4":"1396198583","file5":"1396198586","file3":"1396198581"},"map_files_photo_id_array":[{"photo_id":"1396198586","filename":"file5"},{"photo_id":"1396198579","filename":"file2"},{"photo_id":"1396198583","filename":"file4"},{"photo_id":"1396198577","filename":"file1"},{"photo_id":"1396198575","filename":"file0"},{"photo_id":"1396198581","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198581":["hashtag1","hashtag2"]},{"1396198575":["hashtag1","hashtag2"]},{"1396198583":["hashtag1","hashtag2"]},{"1396198586":["hashtag1","hashtag2"]},{"1396198577":["hashtag1","hashtag2"]},{"1396198579":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198581, 1396198575, 1396198583, 1396198586, 1396198577, 1396198579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.419350147247314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:20:21.952505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_07_2652.jpg', '/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_10_2563.jpg', '/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_13_3653.jpg', '/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_16_2709.jpg', '/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_19_2577.jpg', '/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_22_3794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_07_2652.jpg
/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_10_2563.jpg
/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_13_3653.jpg
/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_16_2709.jpg
/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_19_2577.jpg
/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_22_3794.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":["1396198593","1396198587","1396198589","1396198591","1396198606","1396198599"],"photo_ids_order":["1396198587","1396198589","1396198591","1396198593","1396198599","1396198606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/48b822305fb628bdd887e9174d57f261.jpg","text":"TemporaryFile(/tmp/multipartBody496018526080587171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127282666,"filename":"image_26112025_01_54_16_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/26/67ce5f80de1eccb527c1f6c7f573eee1.jpg","text":"TemporaryFile(/tmp/multipartBody5104846678116036465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127282666,"filename":"image_26112025_01_54_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/26/b44fb2a37dd447fa074e9ba0712ea833.jpg","text":"TemporaryFile(/tmp/multipartBody2911211089896502030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127282666,"filename":"image_26112025_01_54_10_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/26/9375d70c0ed503a85cc87d91eec7df97.jpg","text":"TemporaryFile(/tmp/multipartBody808640917225985422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127282666,"filename":"image_26112025_01_54_13_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/26/808d5c8b571308b81d00a925b163a4f9.jpg","text":"TemporaryFile(/tmp/multipartBody2764139064147026359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127282666,"filename":"image_26112025_01_54_22_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/26/5d5e177bc34dae978224047dbf5eea49.jpg","text":"TemporaryFile(/tmp/multipartBody1155787643014048564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127282666,"filename":"image_26112025_01_54_19_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198591","file1":"1396198589","file0":"1396198587","file4":"1396198599","file5":"1396198606","file3":"1396198593"},"map_files_photo_id_array":[{"photo_id":"1396198606","filename":"file5"},{"photo_id":"1396198591","filename":"file2"},{"photo_id":"1396198599","filename":"file4"},{"photo_id":"1396198589","filename":"file1"},{"photo_id":"1396198587","filename":"file0"},{"photo_id":"1396198593","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198593":["hashtag1","hashtag2"]},{"1396198587":["hashtag1","hashtag2"]},{"1396198589":["hashtag1","hashtag2"]},{"1396198591":["hashtag1","hashtag2"]},{"1396198606":["hashtag1","hashtag2"]},{"1396198599":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198593, 1396198587, 1396198589, 1396198591, 1396198606, 1396198599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64111852645874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:21:02.852524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_25_2654.jpg', '/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_28_2811.jpg', '/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_31_3619.jpg', '/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_34_2742.jpg', '/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_37_2677.jpg', '/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_40_2873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_25_2654.jpg
/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_28_2811.jpg
/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_31_3619.jpg
/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_34_2742.jpg
/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_37_2677.jpg
/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_40_2873.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":["1396198641","1396198638","1396198637","1396198639","1396198627","1396198636"],"photo_ids_order":["1396198627","1396198636","1396198637","1396198638","1396198639","1396198641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2a4f31b761eeb136696fea9124138bce.jpg","text":"TemporaryFile(/tmp/multipartBody7631031910301649290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127323610,"filename":"image_26112025_01_54_40_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/26/ddfa8b4e126a0e6247d0a637b3bc19b9.jpg","text":"TemporaryFile(/tmp/multipartBody5676671386454459695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127323610,"filename":"image_26112025_01_54_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/26/0cf46296f1e73aa088ff33426a360a1d.jpg","text":"TemporaryFile(/tmp/multipartBody861905809179733459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127323610,"filename":"image_26112025_01_54_31_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/26/701c2a1518466e76f5d5dbd34cd1a0c7.jpg","text":"TemporaryFile(/tmp/multipartBody1209116340552179732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127323610,"filename":"image_26112025_01_54_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/26/2cda8ca1b39eac54995e7bd2809d8df9.jpg","text":"TemporaryFile(/tmp/multipartBody6798373179124088700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127323610,"filename":"image_26112025_01_54_25_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/83654c8b67304d38c98ddbddd857279b.jpg","text":"TemporaryFile(/tmp/multipartBody917142707908813207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127323610,"filename":"image_26112025_01_54_28_2811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198637","file1":"1396198636","file0":"1396198627","file4":"1396198639","file5":"1396198641","file3":"1396198638"},"map_files_photo_id_array":[{"photo_id":"1396198641","filename":"file5"},{"photo_id":"1396198637","filename":"file2"},{"photo_id":"1396198639","filename":"file4"},{"photo_id":"1396198636","filename":"file1"},{"photo_id":"1396198627","filename":"file0"},{"photo_id":"1396198638","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198641":["hashtag1","hashtag2"]},{"1396198638":["hashtag1","hashtag2"]},{"1396198637":["hashtag1","hashtag2"]},{"1396198639":["hashtag1","hashtag2"]},{"1396198627":["hashtag1","hashtag2"]},{"1396198636":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198641, 1396198638, 1396198637, 1396198639, 1396198627, 1396198636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.660783767700195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:21:42.181370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_44_3731.jpg', '/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_46_2669.jpg', '/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_49_2639.jpg', '/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_52_3631.jpg', '/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_55_2832.jpg', '/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_58_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_44_3731.jpg
/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_46_2669.jpg
/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_49_2639.jpg
/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_52_3631.jpg
/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_55_2832.jpg
/home/pi/Desktop/images/26112025/01/54/image_26112025_01_54_58_2621.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":["1396198656","1396198650","1396198652","1396198646","1396198658","1396198654"],"photo_ids_order":["1396198646","1396198650","1396198652","1396198654","1396198656","1396198658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aab96db1c7ff340c4fa007e71afa3334.jpg","text":"TemporaryFile(/tmp/multipartBody4915388271568998202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127362912,"filename":"image_26112025_01_54_55_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/26/db8c27c2124ddeba2d0871c6cff41a1b.jpg","text":"TemporaryFile(/tmp/multipartBody3007308676527801428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127362912,"filename":"image_26112025_01_54_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/26/078825da9a9652588d49e8b4d3343c8f.jpg","text":"TemporaryFile(/tmp/multipartBody7110699320315938642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127362912,"filename":"image_26112025_01_54_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/26/ec0dd18f7a7c6016195f32104516dc42.jpg","text":"TemporaryFile(/tmp/multipartBody3910528284864466827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127362912,"filename":"image_26112025_01_54_44_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/26/a58c0fb6347230ae5f6323c8bce15451.jpg","text":"TemporaryFile(/tmp/multipartBody6885728164957101158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127362912,"filename":"image_26112025_01_54_58_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/22b0d63a33cb0e444a3d561103e16518.jpg","text":"TemporaryFile(/tmp/multipartBody2888371432106282164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127362912,"filename":"image_26112025_01_54_52_3631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198652","file1":"1396198650","file0":"1396198646","file4":"1396198656","file5":"1396198658","file3":"1396198654"},"map_files_photo_id_array":[{"photo_id":"1396198658","filename":"file5"},{"photo_id":"1396198652","filename":"file2"},{"photo_id":"1396198656","filename":"file4"},{"photo_id":"1396198650","filename":"file1"},{"photo_id":"1396198646","filename":"file0"},{"photo_id":"1396198654","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198656":["hashtag1","hashtag2"]},{"1396198650":["hashtag1","hashtag2"]},{"1396198652":["hashtag1","hashtag2"]},{"1396198646":["hashtag1","hashtag2"]},{"1396198658":["hashtag1","hashtag2"]},{"1396198654":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198656, 1396198650, 1396198652, 1396198646, 1396198658, 1396198654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42779469490051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:22:22.415596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/54/image_26112025_01_55_01_3564.jpg', '/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_04_2787.jpg', '/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_07_2565.jpg', '/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_10_2722.jpg', '/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_13_3703.jpg', '/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_16_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/54/image_26112025_01_55_01_3564.jpg
/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_04_2787.jpg
/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_07_2565.jpg
/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_10_2722.jpg
/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_13_3703.jpg
/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_16_2678.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":["1396198665","1396198659","1396198673","1396198667","1396198661","1396198669"],"photo_ids_order":["1396198659","1396198661","1396198665","1396198667","1396198669","1396198673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e07e704f4e88048a035bdb0cdcbd2f29.jpg","text":"TemporaryFile(/tmp/multipartBody974585142769891910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127403082,"filename":"image_26112025_01_55_07_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/26/c18fc4431076bbc84cd093f3d453b253.jpg","text":"TemporaryFile(/tmp/multipartBody3413286764377756940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127403082,"filename":"image_26112025_01_55_01_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/26/3a37521be753bc1da710b03db672eb2d.jpg","text":"TemporaryFile(/tmp/multipartBody6282177150968201683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127403082,"filename":"image_26112025_01_55_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/26/ed496252d1beea70ad585bd8b89d0531.jpg","text":"TemporaryFile(/tmp/multipartBody6752139232770215269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127403082,"filename":"image_26112025_01_55_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/26/f4d89be443abbe16c627621fff4dffe1.jpg","text":"TemporaryFile(/tmp/multipartBody1883895542697216591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127403082,"filename":"image_26112025_01_55_04_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/26/45a96cf44d6dd8ec5ae2034f23de7d30.jpg","text":"TemporaryFile(/tmp/multipartBody763061905408656917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127403082,"filename":"image_26112025_01_55_13_3703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198665","file1":"1396198661","file0":"1396198659","file4":"1396198669","file5":"1396198673","file3":"1396198667"},"map_files_photo_id_array":[{"photo_id":"1396198673","filename":"file5"},{"photo_id":"1396198665","filename":"file2"},{"photo_id":"1396198669","filename":"file4"},{"photo_id":"1396198661","filename":"file1"},{"photo_id":"1396198659","filename":"file0"},{"photo_id":"1396198667","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198665":["hashtag1","hashtag2"]},{"1396198659":["hashtag1","hashtag2"]},{"1396198673":["hashtag1","hashtag2"]},{"1396198667":["hashtag1","hashtag2"]},{"1396198661":["hashtag1","hashtag2"]},{"1396198669":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198665, 1396198659, 1396198673, 1396198667, 1396198661, 1396198669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.912439823150635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:23:03.201615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_19_2745.jpg', '/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_22_3595.jpg', '/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_25_2725.jpg', '/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_28_2507.jpg', '/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_31_3580.jpg', '/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_34_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_19_2745.jpg
/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_22_3595.jpg
/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_25_2725.jpg
/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_28_2507.jpg
/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_31_3580.jpg
/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_34_2601.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":["1396198686","1396198689","1396198691","1396198688","1396198687","1396198684"],"photo_ids_order":["1396198684","1396198686","1396198687","1396198688","1396198689","1396198691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c8565b4ed0e713c66587052f93e8a945.jpg","text":"TemporaryFile(/tmp/multipartBody8059560979420601711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127443974,"filename":"image_26112025_01_55_22_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/26/9f5f1277c6a6b0e0253e831058371689.jpg","text":"TemporaryFile(/tmp/multipartBody5573013471021731463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127443974,"filename":"image_26112025_01_55_31_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/26/5e8ae8655c72a058416e00938beac04e.jpg","text":"TemporaryFile(/tmp/multipartBody834269997062348907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127443974,"filename":"image_26112025_01_55_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/26/6dc4304a669852db33641ef07d51bc99.jpg","text":"TemporaryFile(/tmp/multipartBody5160107556595433629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127443974,"filename":"image_26112025_01_55_28_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/26/b137d7791713898461ab435ee35d9b3a.jpg","text":"TemporaryFile(/tmp/multipartBody7536738986848777196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127443974,"filename":"image_26112025_01_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/26/ef1d70858972af2bcf6361ad63f4cf04.jpg","text":"TemporaryFile(/tmp/multipartBody6925759222733565492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127443974,"filename":"image_26112025_01_55_19_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198687","file1":"1396198686","file0":"1396198684","file4":"1396198689","file5":"1396198691","file3":"1396198688"},"map_files_photo_id_array":[{"photo_id":"1396198691","filename":"file5"},{"photo_id":"1396198687","filename":"file2"},{"photo_id":"1396198689","filename":"file4"},{"photo_id":"1396198686","filename":"file1"},{"photo_id":"1396198684","filename":"file0"},{"photo_id":"1396198688","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198686":["hashtag1","hashtag2"]},{"1396198689":["hashtag1","hashtag2"]},{"1396198691":["hashtag1","hashtag2"]},{"1396198688":["hashtag1","hashtag2"]},{"1396198687":["hashtag1","hashtag2"]},{"1396198684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198686, 1396198689, 1396198691, 1396198688, 1396198687, 1396198684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98471689224243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:23:42.659324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_37_2822.jpg', '/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_40_3711.jpg', '/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_43_2638.jpg', '/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_46_2748.jpg', '/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_49_3643.jpg', '/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_52_2826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_37_2822.jpg
/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_40_3711.jpg
/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_43_2638.jpg
/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_46_2748.jpg
/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_49_3643.jpg
/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_52_2826.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":["1396198702","1396198704","1396198706","1396198696","1396198699","1396198708"],"photo_ids_order":["1396198696","1396198699","1396198702","1396198704","1396198706","1396198708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/622e4e4dcf7944fbecbfc0cfc49c7268.jpg","text":"TemporaryFile(/tmp/multipartBody6829158809832533480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127483361,"filename":"image_26112025_01_55_43_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/26/4ed54ebd593a35d432e3a7bcda51f7ac.jpg","text":"TemporaryFile(/tmp/multipartBody8346557095542589368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127483361,"filename":"image_26112025_01_55_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/26/03951a165f5e4411c14b1fcde3b2dd13.jpg","text":"TemporaryFile(/tmp/multipartBody8469494963644326081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127483361,"filename":"image_26112025_01_55_49_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/26/effa85528686a2fdd30a29a907e38b89.jpg","text":"TemporaryFile(/tmp/multipartBody7556325850634994479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127483361,"filename":"image_26112025_01_55_37_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/26/24b2c8b64a342cb9b86ac436d5dd4690.jpg","text":"TemporaryFile(/tmp/multipartBody4461903328112645869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127483361,"filename":"image_26112025_01_55_40_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/26/bff2edf32a7411bf06124408ebf4fe3f.jpg","text":"TemporaryFile(/tmp/multipartBody2676968847766007267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127483361,"filename":"image_26112025_01_55_52_2826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198702","file1":"1396198699","file0":"1396198696","file4":"1396198706","file5":"1396198708","file3":"1396198704"},"map_files_photo_id_array":[{"photo_id":"1396198708","filename":"file5"},{"photo_id":"1396198702","filename":"file2"},{"photo_id":"1396198706","filename":"file4"},{"photo_id":"1396198699","filename":"file1"},{"photo_id":"1396198696","filename":"file0"},{"photo_id":"1396198704","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198702":["hashtag1","hashtag2"]},{"1396198704":["hashtag1","hashtag2"]},{"1396198706":["hashtag1","hashtag2"]},{"1396198696":["hashtag1","hashtag2"]},{"1396198699":["hashtag1","hashtag2"]},{"1396198708":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198702, 1396198704, 1396198706, 1396198696, 1396198699, 1396198708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62499284744263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:24:21.820793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_55_2502.jpg', '/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_58_3714.jpg', '/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_01_2638.jpg', '/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_03_2525.jpg', '/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_07_3646.jpg', '/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_10_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_55_2502.jpg
/home/pi/Desktop/images/26112025/01/55/image_26112025_01_55_58_3714.jpg
/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_01_2638.jpg
/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_03_2525.jpg
/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_07_3646.jpg
/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_10_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":["1396198717","1396198719","1396198710","1396198721","1396198724","1396198711"],"photo_ids_order":["1396198710","1396198711","1396198717","1396198719","1396198721","1396198724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/93e945b53a53d2506b7d7fd9745e988f.jpg","text":"TemporaryFile(/tmp/multipartBody399960593099041457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127522522,"filename":"image_26112025_01_56_01_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/26/3d065f825998a39acf9922d7023d3384.jpg","text":"TemporaryFile(/tmp/multipartBody314275648851522366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127522522,"filename":"image_26112025_01_56_03_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/26/de9524586828e1c292b26b0d25eb4077.jpg","text":"TemporaryFile(/tmp/multipartBody2048944716374600323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127522522,"filename":"image_26112025_01_55_55_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/26/456dfb132bf7fe6be4d90d9cee7b9cae.jpg","text":"TemporaryFile(/tmp/multipartBody5368890487062153963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127522522,"filename":"image_26112025_01_56_07_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/26/9c63c77c933cbba995479a334189d97e.jpg","text":"TemporaryFile(/tmp/multipartBody2402731301834428442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127522522,"filename":"image_26112025_01_56_10_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/26/9fd50396a57bf1ecc58f096f16d46cc1.jpg","text":"TemporaryFile(/tmp/multipartBody5621126443255253817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127522522,"filename":"image_26112025_01_55_58_3714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198717","file1":"1396198711","file0":"1396198710","file4":"1396198721","file5":"1396198724","file3":"1396198719"},"map_files_photo_id_array":[{"photo_id":"1396198724","filename":"file5"},{"photo_id":"1396198717","filename":"file2"},{"photo_id":"1396198721","filename":"file4"},{"photo_id":"1396198711","filename":"file1"},{"photo_id":"1396198710","filename":"file0"},{"photo_id":"1396198719","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198717":["hashtag1","hashtag2"]},{"1396198719":["hashtag1","hashtag2"]},{"1396198710":["hashtag1","hashtag2"]},{"1396198721":["hashtag1","hashtag2"]},{"1396198724":["hashtag1","hashtag2"]},{"1396198711":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198717, 1396198719, 1396198710, 1396198721, 1396198724, 1396198711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.16498351097107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:25:02.754814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_13_3516.jpg', '/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_16_2629.jpg', '/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_19_2707.jpg', '/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_22_3671.jpg', '/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_25_2738.jpg', '/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_28_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_13_3516.jpg
/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_16_2629.jpg
/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_19_2707.jpg
/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_22_3671.jpg
/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_25_2738.jpg
/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_28_2623.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":["1396198734","1396198746","1396198731","1396198748","1396198730","1396198744"],"photo_ids_order":["1396198730","1396198731","1396198734","1396198744","1396198746","1396198748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/42bc00932b0168418676698f3a382853.jpg","text":"TemporaryFile(/tmp/multipartBody7852847696167166124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127563538,"filename":"image_26112025_01_56_19_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/26/a09fccfe9eca660ab1736c2a57c2071d.jpg","text":"TemporaryFile(/tmp/multipartBody1726824798374404375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127563538,"filename":"image_26112025_01_56_25_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/26/12fd386e4b4cb55344ff766314432267.jpg","text":"TemporaryFile(/tmp/multipartBody918808527021321486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127563538,"filename":"image_26112025_01_56_16_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/26/24d23bfde7bfe738aeb1318b35facb6c.jpg","text":"TemporaryFile(/tmp/multipartBody4930556381882230528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127563538,"filename":"image_26112025_01_56_28_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/26/15ce0165dd46ccf9e467d8fac7a5e61b.jpg","text":"TemporaryFile(/tmp/multipartBody7426480760173102128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127563538,"filename":"image_26112025_01_56_13_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/26/c0f2ac7a09e7122ff56e11d4fb006eb0.jpg","text":"TemporaryFile(/tmp/multipartBody5638968536246279961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127563538,"filename":"image_26112025_01_56_22_3671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198734","file1":"1396198731","file0":"1396198730","file4":"1396198746","file5":"1396198748","file3":"1396198744"},"map_files_photo_id_array":[{"photo_id":"1396198748","filename":"file5"},{"photo_id":"1396198734","filename":"file2"},{"photo_id":"1396198746","filename":"file4"},{"photo_id":"1396198731","filename":"file1"},{"photo_id":"1396198730","filename":"file0"},{"photo_id":"1396198744","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198734":["hashtag1","hashtag2"]},{"1396198746":["hashtag1","hashtag2"]},{"1396198731":["hashtag1","hashtag2"]},{"1396198748":["hashtag1","hashtag2"]},{"1396198730":["hashtag1","hashtag2"]},{"1396198744":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198734, 1396198746, 1396198731, 1396198748, 1396198730, 1396198744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.511202335357666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:25:42.098061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_31_3580.jpg', '/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_34_2595.jpg', '/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_36_2644.jpg', '/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_40_3677.jpg', '/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_43_2753.jpg', '/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_46_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_31_3580.jpg
/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_34_2595.jpg
/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_36_2644.jpg
/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_40_3677.jpg
/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_43_2753.jpg
/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_46_2671.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":["1396198757","1396198772","1396198774","1396198762","1396198759","1396198753"],"photo_ids_order":["1396198753","1396198757","1396198759","1396198762","1396198772","1396198774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1e36e1b626aebc7c1475bfc09fbf2fae.jpg","text":"TemporaryFile(/tmp/multipartBody4829701197305767449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127602800,"filename":"image_26112025_01_56_34_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/26/ff1b894275c800b2f8ad9fb452bf9364.jpg","text":"TemporaryFile(/tmp/multipartBody7949763127585150886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127602800,"filename":"image_26112025_01_56_43_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/26/564f87f53ff38c7fdadda52fb4b276f8.jpg","text":"TemporaryFile(/tmp/multipartBody4379793442352970550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127602800,"filename":"image_26112025_01_56_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/26/5309151f2b6ffd57d6ed871b28f7bc7d.jpg","text":"TemporaryFile(/tmp/multipartBody3848110538551997419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127602800,"filename":"image_26112025_01_56_40_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/26/d492e93750e862f8fce6b3489bdec435.jpg","text":"TemporaryFile(/tmp/multipartBody4567402799556877962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127602800,"filename":"image_26112025_01_56_36_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/26/b0e73f065b3837dc2899de157be6f410.jpg","text":"TemporaryFile(/tmp/multipartBody7303450720582793505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127602800,"filename":"image_26112025_01_56_31_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198759","file1":"1396198757","file0":"1396198753","file4":"1396198772","file5":"1396198774","file3":"1396198762"},"map_files_photo_id_array":[{"photo_id":"1396198774","filename":"file5"},{"photo_id":"1396198759","filename":"file2"},{"photo_id":"1396198772","filename":"file4"},{"photo_id":"1396198757","filename":"file1"},{"photo_id":"1396198753","filename":"file0"},{"photo_id":"1396198762","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198757":["hashtag1","hashtag2"]},{"1396198772":["hashtag1","hashtag2"]},{"1396198774":["hashtag1","hashtag2"]},{"1396198762":["hashtag1","hashtag2"]},{"1396198759":["hashtag1","hashtag2"]},{"1396198753":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198757, 1396198772, 1396198774, 1396198762, 1396198759, 1396198753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13981056213379 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:26:22.254463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_49_3629.jpg', '/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_52_2671.jpg', '/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_54_2597.jpg', '/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_58_3620.jpg', '/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_07_3710.jpg', '/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_10_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_49_3629.jpg
/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_52_2671.jpg
/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_54_2597.jpg
/home/pi/Desktop/images/26112025/01/56/image_26112025_01_56_58_3620.jpg
/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_07_3710.jpg
/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_10_2615.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":["1396198776","1396198775","1396198778","1396198787","1396198780","1396198798"],"photo_ids_order":["1396198775","1396198776","1396198778","1396198780","1396198787","1396198798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/abef89f52138af38eb1ce57c7bd84b99.jpg","text":"TemporaryFile(/tmp/multipartBody6580175144954261637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127642957,"filename":"image_26112025_01_56_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/26/48b73e12b60a8237700e69416563b94f.jpg","text":"TemporaryFile(/tmp/multipartBody8883175793084228520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127642957,"filename":"image_26112025_01_56_49_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/26/b228aa09df155739744540f45b0ce4af.jpg","text":"TemporaryFile(/tmp/multipartBody4725082246179136059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127642957,"filename":"image_26112025_01_56_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/26/99591d4ae2d8804cf96ebb943e0f8e59.jpg","text":"TemporaryFile(/tmp/multipartBody1084715607000357809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127642957,"filename":"image_26112025_01_57_07_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/26/b16d2965d86f38cdf282f76c5168ff56.jpg","text":"TemporaryFile(/tmp/multipartBody6496121751028623124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127642957,"filename":"image_26112025_01_56_58_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/26/edbc7b4f3b2163c916f69f2a411027b1.jpg","text":"TemporaryFile(/tmp/multipartBody2765194300477836816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127642957,"filename":"image_26112025_01_57_10_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198778","file1":"1396198776","file0":"1396198775","file4":"1396198787","file5":"1396198798","file3":"1396198780"},"map_files_photo_id_array":[{"photo_id":"1396198798","filename":"file5"},{"photo_id":"1396198778","filename":"file2"},{"photo_id":"1396198787","filename":"file4"},{"photo_id":"1396198776","filename":"file1"},{"photo_id":"1396198775","filename":"file0"},{"photo_id":"1396198780","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198776":["hashtag1","hashtag2"]},{"1396198775":["hashtag1","hashtag2"]},{"1396198778":["hashtag1","hashtag2"]},{"1396198787":["hashtag1","hashtag2"]},{"1396198780":["hashtag1","hashtag2"]},{"1396198798":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198776, 1396198775, 1396198778, 1396198787, 1396198780, 1396198798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35654973983765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:27:03.062689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_12_2654.jpg', '/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_16_3604.jpg', '/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_19_2676.jpg', '/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_21_2711.jpg', '/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_25_3590.jpg', '/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_28_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_12_2654.jpg
/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_16_3604.jpg
/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_19_2676.jpg
/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_21_2711.jpg
/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_25_3590.jpg
/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_28_2631.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":["1396198816","1396198812","1396198809","1396198814","1396198811","1396198813"],"photo_ids_order":["1396198809","1396198811","1396198812","1396198813","1396198814","1396198816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/afc02e3801236ca02893ba7e5787d2d6.jpg","text":"TemporaryFile(/tmp/multipartBody4681173790001462192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127683896,"filename":"image_26112025_01_57_28_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/26/3903b8bdfbf9551e00e18fb5a6391cb6.jpg","text":"TemporaryFile(/tmp/multipartBody4054568783859495352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127683896,"filename":"image_26112025_01_57_19_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/26/8f452f61a1e3724d57f93ff99311adb6.jpg","text":"TemporaryFile(/tmp/multipartBody710439762243000288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127683896,"filename":"image_26112025_01_57_12_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/26/96edc24d6e1c90a164efb4cffe9969ce.jpg","text":"TemporaryFile(/tmp/multipartBody6804961461231455477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127683896,"filename":"image_26112025_01_57_25_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/26/692e2eca616edd5217d74e448386c45c.jpg","text":"TemporaryFile(/tmp/multipartBody461316992587291957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127683896,"filename":"image_26112025_01_57_16_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/26/226ec2b7ec0f66c8d2d56e8ca86b564d.jpg","text":"TemporaryFile(/tmp/multipartBody6328299220253553559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127683896,"filename":"image_26112025_01_57_21_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198812","file1":"1396198811","file0":"1396198809","file4":"1396198814","file5":"1396198816","file3":"1396198813"},"map_files_photo_id_array":[{"photo_id":"1396198816","filename":"file5"},{"photo_id":"1396198812","filename":"file2"},{"photo_id":"1396198814","filename":"file4"},{"photo_id":"1396198811","filename":"file1"},{"photo_id":"1396198809","filename":"file0"},{"photo_id":"1396198813","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198816":["hashtag1","hashtag2"]},{"1396198812":["hashtag1","hashtag2"]},{"1396198809":["hashtag1","hashtag2"]},{"1396198814":["hashtag1","hashtag2"]},{"1396198811":["hashtag1","hashtag2"]},{"1396198813":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198816, 1396198812, 1396198809, 1396198814, 1396198811, 1396198813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50575828552246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:27:42.623650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_30_2670.jpg', '/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_34_3695.jpg', '/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_37_2542.jpg', '/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_39_2726.jpg', '/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_43_3526.jpg', '/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_45_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_30_2670.jpg
/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_34_3695.jpg
/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_37_2542.jpg
/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_39_2726.jpg
/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_43_3526.jpg
/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_45_2661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396198836","1396198839","1396198827","1396198829","1396198831","1396198834"],"photo_ids_order":["1396198827","1396198829","1396198831","1396198834","1396198836","1396198839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fa8111f6165c86d99204166656d15f85.jpg","text":"TemporaryFile(/tmp/multipartBody8082021389569761999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127723365,"filename":"image_26112025_01_57_43_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/26/a0ec1c6ea686134654b27f76bdb314ef.jpg","text":"TemporaryFile(/tmp/multipartBody6706536121433423574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127723365,"filename":"image_26112025_01_57_45_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/26/3ec8a3a0a1916c82533370c2e07ae64a.jpg","text":"TemporaryFile(/tmp/multipartBody5450022082360894189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127723365,"filename":"image_26112025_01_57_30_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/26/3b59308fbcc4ac2690dbdd415373c24d.jpg","text":"TemporaryFile(/tmp/multipartBody5848014420033962010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127723365,"filename":"image_26112025_01_57_34_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/26/653f9f95648d32137091e1bb73959271.jpg","text":"TemporaryFile(/tmp/multipartBody8149655282961112720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127723365,"filename":"image_26112025_01_57_37_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/26/3428b606e135c0fba615001076ef9ec6.jpg","text":"TemporaryFile(/tmp/multipartBody6816642272994544120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127723365,"filename":"image_26112025_01_57_39_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198831","file1":"1396198829","file0":"1396198827","file4":"1396198836","file5":"1396198839","file3":"1396198834"},"map_files_photo_id_array":[{"photo_id":"1396198839","filename":"file5"},{"photo_id":"1396198831","filename":"file2"},{"photo_id":"1396198836","filename":"file4"},{"photo_id":"1396198829","filename":"file1"},{"photo_id":"1396198827","filename":"file0"},{"photo_id":"1396198834","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198836":["hashtag1","hashtag2"]},{"1396198839":["hashtag1","hashtag2"]},{"1396198827":["hashtag1","hashtag2"]},{"1396198829":["hashtag1","hashtag2"]},{"1396198831":["hashtag1","hashtag2"]},{"1396198834":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198836, 1396198839, 1396198827, 1396198829, 1396198831, 1396198834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.474398136138916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:28:22.793460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_49_3598.jpg', '/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_52_2772.jpg', '/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_55_2693.jpg', '/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_58_3664.jpg', '/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_01_2659.jpg', '/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_07_3512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_49_3598.jpg
/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_52_2772.jpg
/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_55_2693.jpg
/home/pi/Desktop/images/26112025/01/57/image_26112025_01_57_58_3664.jpg
/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_01_2659.jpg
/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_07_3512.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":["1396198848","1396198845","1396198856","1396198850","1396198853","1396198852"],"photo_ids_order":["1396198845","1396198848","1396198850","1396198852","1396198853","1396198856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7ee1d7e578bb11e8e9e8d88f103eafb2.jpg","text":"TemporaryFile(/tmp/multipartBody6351865012331789799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127763498,"filename":"image_26112025_01_57_52_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/26/cdf9def003ff2cefe07b2ac5a0c459a8.jpg","text":"TemporaryFile(/tmp/multipartBody9180244272622736318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127763498,"filename":"image_26112025_01_57_49_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/26/f72780265ff03c1d22970d9a74f5a776.jpg","text":"TemporaryFile(/tmp/multipartBody5917423834951675371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127763498,"filename":"image_26112025_01_58_07_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/26/9c1648a74b5835e9112094091ffbe6fc.jpg","text":"TemporaryFile(/tmp/multipartBody8517312830629891065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127763498,"filename":"image_26112025_01_57_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/26/c6f294231dfdc3c9a5f6cebff7d7d2c4.jpg","text":"TemporaryFile(/tmp/multipartBody3026281179391454096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127763498,"filename":"image_26112025_01_58_01_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8abcaade73b4bc07b78c920f9a507cda.jpg","text":"TemporaryFile(/tmp/multipartBody2273631525339611427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127763498,"filename":"image_26112025_01_57_58_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198850","file1":"1396198848","file0":"1396198845","file4":"1396198853","file5":"1396198856","file3":"1396198852"},"map_files_photo_id_array":[{"photo_id":"1396198856","filename":"file5"},{"photo_id":"1396198850","filename":"file2"},{"photo_id":"1396198853","filename":"file4"},{"photo_id":"1396198848","filename":"file1"},{"photo_id":"1396198845","filename":"file0"},{"photo_id":"1396198852","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198848":["hashtag1","hashtag2"]},{"1396198845":["hashtag1","hashtag2"]},{"1396198856":["hashtag1","hashtag2"]},{"1396198850":["hashtag1","hashtag2"]},{"1396198853":["hashtag1","hashtag2"]},{"1396198852":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198848, 1396198845, 1396198856, 1396198850, 1396198853, 1396198852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.80018973350525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:29:03.537771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_10_2699.jpg', '/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_12_2576.jpg', '/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_16_3789.jpg', '/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_19_2823.jpg', '/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_22_2692.jpg', '/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_28_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_10_2699.jpg
/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_12_2576.jpg
/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_16_3789.jpg
/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_19_2823.jpg
/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_22_2692.jpg
/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_28_2666.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":["1396198872","1396198874","1396198868","1396198873","1396198876","1396198870"],"photo_ids_order":["1396198868","1396198870","1396198872","1396198873","1396198874","1396198876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6d7c0923fe2a61e4e36f04dde7379ceb.jpg","text":"TemporaryFile(/tmp/multipartBody1303973813174468879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127804560,"filename":"image_26112025_01_58_16_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/26/356d82241c2a0f04321db454097eeda0.jpg","text":"TemporaryFile(/tmp/multipartBody1584753458546142438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127804560,"filename":"image_26112025_01_58_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/26/09ffa4f576923802ff818b2786e40150.jpg","text":"TemporaryFile(/tmp/multipartBody6033146053139792288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127804560,"filename":"image_26112025_01_58_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/26/680e9eef3a6ec6df5886378c10a272b4.jpg","text":"TemporaryFile(/tmp/multipartBody1797912060252588212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127804560,"filename":"image_26112025_01_58_19_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/26/2636c08917ecb012b9e6d29c58587968.jpg","text":"TemporaryFile(/tmp/multipartBody790444946885013212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127804560,"filename":"image_26112025_01_58_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/26/170a7cf1c544260b3cab250c63d2bb1c.jpg","text":"TemporaryFile(/tmp/multipartBody4652562960077355213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127804560,"filename":"image_26112025_01_58_12_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198872","file1":"1396198870","file0":"1396198868","file4":"1396198874","file5":"1396198876","file3":"1396198873"},"map_files_photo_id_array":[{"photo_id":"1396198876","filename":"file5"},{"photo_id":"1396198872","filename":"file2"},{"photo_id":"1396198874","filename":"file4"},{"photo_id":"1396198870","filename":"file1"},{"photo_id":"1396198868","filename":"file0"},{"photo_id":"1396198873","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198872":["hashtag1","hashtag2"]},{"1396198874":["hashtag1","hashtag2"]},{"1396198868":["hashtag1","hashtag2"]},{"1396198873":["hashtag1","hashtag2"]},{"1396198876":["hashtag1","hashtag2"]},{"1396198870":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198872, 1396198874, 1396198868, 1396198873, 1396198876, 1396198870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57752013206482 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:29:42.737876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_30_2610.jpg', '/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_34_3635.jpg', '/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_37_2700.jpg', '/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_39_2571.jpg', '/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_43_3656.jpg', '/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_46_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_30_2610.jpg
/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_34_3635.jpg
/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_37_2700.jpg
/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_39_2571.jpg
/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_43_3656.jpg
/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_46_2579.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":["1396198915","1396198938","1396198911","1396198940","1396198942","1396198936"],"photo_ids_order":["1396198911","1396198915","1396198936","1396198938","1396198940","1396198942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3237c52534dd3fb19bda3e98e8620088.jpg","text":"TemporaryFile(/tmp/multipartBody6006164345696283011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127843437,"filename":"image_26112025_01_58_34_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d5d744febfdf16ad211b34769d1d1953.jpg","text":"TemporaryFile(/tmp/multipartBody8318948913741925632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127843437,"filename":"image_26112025_01_58_39_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2db8a8e44414f1f9ff1df2974a96503b.jpg","text":"TemporaryFile(/tmp/multipartBody8901121691251520536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127843437,"filename":"image_26112025_01_58_30_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/26/a90eca0227aaf46646a322b0b89eefce.jpg","text":"TemporaryFile(/tmp/multipartBody5095259899085631320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127843437,"filename":"image_26112025_01_58_43_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/26/bf4b24fa4bd065551589e61b26be8435.jpg","text":"TemporaryFile(/tmp/multipartBody805157817287654094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127843437,"filename":"image_26112025_01_58_46_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/26/68b8290832c463330b0470bfa1debad7.jpg","text":"TemporaryFile(/tmp/multipartBody1451955689849032561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127843437,"filename":"image_26112025_01_58_37_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198936","file1":"1396198915","file0":"1396198911","file4":"1396198940","file5":"1396198942","file3":"1396198938"},"map_files_photo_id_array":[{"photo_id":"1396198942","filename":"file5"},{"photo_id":"1396198936","filename":"file2"},{"photo_id":"1396198940","filename":"file4"},{"photo_id":"1396198915","filename":"file1"},{"photo_id":"1396198911","filename":"file0"},{"photo_id":"1396198938","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198915":["hashtag1","hashtag2"]},{"1396198938":["hashtag1","hashtag2"]},{"1396198911":["hashtag1","hashtag2"]},{"1396198940":["hashtag1","hashtag2"]},{"1396198942":["hashtag1","hashtag2"]},{"1396198936":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198915, 1396198938, 1396198911, 1396198940, 1396198942, 1396198936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65956997871399 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:30:21.932286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_48_2721.jpg', '/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_52_3547.jpg', '/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_54_2594.jpg', '/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_58_3683.jpg', '/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_01_2562.jpg', '/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_03_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_48_2721.jpg
/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_52_3547.jpg
/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_54_2594.jpg
/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_58_3683.jpg
/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_01_2562.jpg
/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_03_2593.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.5970172882080078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:30:31.899516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_48_2721.jpg', '/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_52_3547.jpg', '/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_54_2594.jpg', '/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_58_3683.jpg', '/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_01_2562.jpg', '/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_03_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_48_2721.jpg
/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_52_3547.jpg
/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_54_2594.jpg
/home/pi/Desktop/images/26112025/01/58/image_26112025_01_58_58_3683.jpg
/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_01_2562.jpg
/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_03_2593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396198962","1396198955","1396198958","1396198952","1396198949","1396198960"],"photo_ids_order":["1396198949","1396198952","1396198955","1396198958","1396198960","1396198962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a31d358d49cde8d6213e85562b0daea3.jpg","text":"TemporaryFile(/tmp/multipartBody2545639805775264286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127892659,"filename":"image_26112025_01_59_03_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/26/6fd79eb336b833bc64227fe91d1e2ddb.jpg","text":"TemporaryFile(/tmp/multipartBody307784204819866355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127892659,"filename":"image_26112025_01_58_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/26/d9ade5f7ed655b6331da3ca2e52eef9c.jpg","text":"TemporaryFile(/tmp/multipartBody5598583407243072640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127892659,"filename":"image_26112025_01_58_58_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/26/cc33b745dbae8b28ae32614ab7974e1c.jpg","text":"TemporaryFile(/tmp/multipartBody735619415483094699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127892659,"filename":"image_26112025_01_58_52_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/26/113c23363001c0a34cb11319d55e6450.jpg","text":"TemporaryFile(/tmp/multipartBody2739701290314685841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127892659,"filename":"image_26112025_01_58_48_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e6acff9af7562ad76089ceeaf3499863.jpg","text":"TemporaryFile(/tmp/multipartBody3856304348955133500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127892659,"filename":"image_26112025_01_59_01_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198955","file1":"1396198952","file0":"1396198949","file4":"1396198960","file5":"1396198962","file3":"1396198958"},"map_files_photo_id_array":[{"photo_id":"1396198962","filename":"file5"},{"photo_id":"1396198955","filename":"file2"},{"photo_id":"1396198960","filename":"file4"},{"photo_id":"1396198952","filename":"file1"},{"photo_id":"1396198949","filename":"file0"},{"photo_id":"1396198958","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198962":["hashtag1","hashtag2"]},{"1396198955":["hashtag1","hashtag2"]},{"1396198958":["hashtag1","hashtag2"]},{"1396198952":["hashtag1","hashtag2"]},{"1396198949":["hashtag1","hashtag2"]},{"1396198960":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198962, 1396198955, 1396198958, 1396198952, 1396198949, 1396198960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.883573055267334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:31:12.178661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_07_3680.jpg', '/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_10_2634.jpg', '/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_12_2624.jpg', '/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_16_3619.jpg', '/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_18_2504.jpg', '/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_21_2969.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_07_3680.jpg
/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_10_2634.jpg
/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_12_2624.jpg
/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_16_3619.jpg
/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_18_2504.jpg
/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_21_2969.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":["1396198974","1396198968","1396198970","1396198967","1396198972","1396198966"],"photo_ids_order":["1396198966","1396198967","1396198968","1396198970","1396198972","1396198974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0729788ae23199bc8160a10e4a6c6f24.jpg","text":"TemporaryFile(/tmp/multipartBody2419204350198350791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127932847,"filename":"image_26112025_01_59_21_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/26/d088cc4ccafac37856caef0beabc1c6e.jpg","text":"TemporaryFile(/tmp/multipartBody1055677821382266269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127932847,"filename":"image_26112025_01_59_12_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/26/7fb6e0621e936f89f8ad6255da8d1c33.jpg","text":"TemporaryFile(/tmp/multipartBody3855717511498861503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127932847,"filename":"image_26112025_01_59_16_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/26/f8168b0e441d3a2f2c10867cd78c49c3.jpg","text":"TemporaryFile(/tmp/multipartBody4135494347114730028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127932847,"filename":"image_26112025_01_59_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/26/85b0f17f871fbc2bfda325e4086b2912.jpg","text":"TemporaryFile(/tmp/multipartBody2557802972362529668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127932847,"filename":"image_26112025_01_59_18_2504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b54a838e5af8b8c9a307fafdb80e461d.jpg","text":"TemporaryFile(/tmp/multipartBody1870355537259862791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127932847,"filename":"image_26112025_01_59_07_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198968","file1":"1396198967","file0":"1396198966","file4":"1396198972","file5":"1396198974","file3":"1396198970"},"map_files_photo_id_array":[{"photo_id":"1396198974","filename":"file5"},{"photo_id":"1396198968","filename":"file2"},{"photo_id":"1396198972","filename":"file4"},{"photo_id":"1396198967","filename":"file1"},{"photo_id":"1396198966","filename":"file0"},{"photo_id":"1396198970","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198974":["hashtag1","hashtag2"]},{"1396198968":["hashtag1","hashtag2"]},{"1396198970":["hashtag1","hashtag2"]},{"1396198967":["hashtag1","hashtag2"]},{"1396198972":["hashtag1","hashtag2"]},{"1396198966":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198974, 1396198968, 1396198970, 1396198967, 1396198972, 1396198966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95344829559326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:32:02.917433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_25_3652.jpg', '/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_28_2727.jpg', '/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_30_2675.jpg', '/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_34_3621.jpg', '/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_37_2724.jpg', '/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_39_2573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_25_3652.jpg
/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_28_2727.jpg
/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_30_2675.jpg
/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_34_3621.jpg
/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_37_2724.jpg
/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_39_2573.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":["1396198986","1396198994","1396198988","1396198982","1396198990","1396198995"],"photo_ids_order":["1396198982","1396198986","1396198988","1396198990","1396198994","1396198995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a1089dc9f1f3f4062548e8c6c82ec04b.jpg","text":"TemporaryFile(/tmp/multipartBody3921900227377891084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127983653,"filename":"image_26112025_01_59_28_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c403d5c3a1df0b6c9344bbd286e8e9ec.jpg","text":"TemporaryFile(/tmp/multipartBody716143244030559228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127983653,"filename":"image_26112025_01_59_37_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/26/8778e7a346791d5ec6adec240183a924.jpg","text":"TemporaryFile(/tmp/multipartBody6762196905515969909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127983653,"filename":"image_26112025_01_59_30_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/26/8f0a0e4b06309b635ae5025cfa15c9ac.jpg","text":"TemporaryFile(/tmp/multipartBody1224993819846951043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127983653,"filename":"image_26112025_01_59_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/26/271e69b047d7477f39b5a0a2da3282ec.jpg","text":"TemporaryFile(/tmp/multipartBody3558869476249702519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127983653,"filename":"image_26112025_01_59_34_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a37c505aa67e9e4d4b3c6f377ddb2268.jpg","text":"TemporaryFile(/tmp/multipartBody5859804934327878122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764127983653,"filename":"image_26112025_01_59_39_2573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396198988","file1":"1396198986","file0":"1396198982","file4":"1396198994","file5":"1396198995","file3":"1396198990"},"map_files_photo_id_array":[{"photo_id":"1396198995","filename":"file5"},{"photo_id":"1396198988","filename":"file2"},{"photo_id":"1396198994","filename":"file4"},{"photo_id":"1396198986","filename":"file1"},{"photo_id":"1396198982","filename":"file0"},{"photo_id":"1396198990","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396198986":["hashtag1","hashtag2"]},{"1396198994":["hashtag1","hashtag2"]},{"1396198988":["hashtag1","hashtag2"]},{"1396198982":["hashtag1","hashtag2"]},{"1396198990":["hashtag1","hashtag2"]},{"1396198995":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396198986, 1396198994, 1396198988, 1396198982, 1396198990, 1396198995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93432974815369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:32:42.380268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_43_3627.jpg', '/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_46_2702.jpg', '/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_48_2734.jpg', '/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_51_2769.jpg', '/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_55_3673.jpg', '/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_57_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_43_3627.jpg
/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_46_2702.jpg
/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_48_2734.jpg
/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_51_2769.jpg
/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_55_3673.jpg
/home/pi/Desktop/images/26112025/01/59/image_26112025_01_59_57_2607.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":["1396199022","1396199030","1396199024","1396199027","1396199000","1396199014"],"photo_ids_order":["1396199000","1396199014","1396199022","1396199024","1396199027","1396199030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/42467964a1b5c0a6f52ab29c13f1e307.jpg","text":"TemporaryFile(/tmp/multipartBody3826319483382455166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128023054,"filename":"image_26112025_01_59_48_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/26/6c5eeac3fd141839ce570543116b21c4.jpg","text":"TemporaryFile(/tmp/multipartBody3272823397005783419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128023054,"filename":"image_26112025_01_59_57_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/26/d2592d5221d81568b6d4baf080710752.jpg","text":"TemporaryFile(/tmp/multipartBody6602889704376819922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128023054,"filename":"image_26112025_01_59_51_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/26/d010d24126cc218df3c89998b2c74df9.jpg","text":"TemporaryFile(/tmp/multipartBody694313683148994384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128023054,"filename":"image_26112025_01_59_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/26/92f7983b49804ae3806a408bec4bf923.jpg","text":"TemporaryFile(/tmp/multipartBody7877947455694822362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128023054,"filename":"image_26112025_01_59_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/26/9039c00e5f1eb88acab602b2e293ef55.jpg","text":"TemporaryFile(/tmp/multipartBody2227902540643715335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128023054,"filename":"image_26112025_01_59_46_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396199022","file1":"1396199014","file0":"1396199000","file4":"1396199027","file5":"1396199030","file3":"1396199024"},"map_files_photo_id_array":[{"photo_id":"1396199030","filename":"file5"},{"photo_id":"1396199022","filename":"file2"},{"photo_id":"1396199027","filename":"file4"},{"photo_id":"1396199014","filename":"file1"},{"photo_id":"1396199000","filename":"file0"},{"photo_id":"1396199024","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396199022":["hashtag1","hashtag2"]},{"1396199030":["hashtag1","hashtag2"]},{"1396199024":["hashtag1","hashtag2"]},{"1396199027":["hashtag1","hashtag2"]},{"1396199000":["hashtag1","hashtag2"]},{"1396199014":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396199022, 1396199030, 1396199024, 1396199027, 1396199000, 1396199014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14749717712402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:33:22.037953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/01/59/image_26112025_02_00_01_3651.jpg', '/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_04_2947.jpg', '/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_07_2722.jpg', '/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_09_2707.jpg', '/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_12_2614.jpg', '/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_16_3549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/01/59/image_26112025_02_00_01_3651.jpg
/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_04_2947.jpg
/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_07_2722.jpg
/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_09_2707.jpg
/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_12_2614.jpg
/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_16_3549.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":["1396199043","1396199054","1396199036","1396199045","1396199039","1396199041"],"photo_ids_order":["1396199036","1396199039","1396199041","1396199043","1396199045","1396199054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6fd5057a43946beb4f56f7161ba60389.jpg","text":"TemporaryFile(/tmp/multipartBody2947356733281927950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128062723,"filename":"image_26112025_02_00_09_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/26/7ea2cb1912362c0f6dc64504aeac6ff7.jpg","text":"TemporaryFile(/tmp/multipartBody3788742001036025735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128062723,"filename":"image_26112025_02_00_16_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/26/e348af260be4df059ddf52dae02467e9.jpg","text":"TemporaryFile(/tmp/multipartBody2858999447590361599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128062723,"filename":"image_26112025_02_00_01_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/26/952109eb333b7b1f6bea9aa8207566f5.jpg","text":"TemporaryFile(/tmp/multipartBody201788372581072835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128062723,"filename":"image_26112025_02_00_12_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/26/c02e0135b1a45c0ffde7fe0f2d71f5d0.jpg","text":"TemporaryFile(/tmp/multipartBody2108406121424653478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128062723,"filename":"image_26112025_02_00_04_2947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f19e549174362081879a0cb26a48663b.jpg","text":"TemporaryFile(/tmp/multipartBody8227886738729715638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128062723,"filename":"image_26112025_02_00_07_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396199041","file1":"1396199039","file0":"1396199036","file4":"1396199045","file5":"1396199054","file3":"1396199043"},"map_files_photo_id_array":[{"photo_id":"1396199054","filename":"file5"},{"photo_id":"1396199041","filename":"file2"},{"photo_id":"1396199045","filename":"file4"},{"photo_id":"1396199039","filename":"file1"},{"photo_id":"1396199036","filename":"file0"},{"photo_id":"1396199043","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396199043":["hashtag1","hashtag2"]},{"1396199054":["hashtag1","hashtag2"]},{"1396199036":["hashtag1","hashtag2"]},{"1396199045":["hashtag1","hashtag2"]},{"1396199039":["hashtag1","hashtag2"]},{"1396199041":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396199043, 1396199054, 1396199036, 1396199045, 1396199039, 1396199041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.342612743377686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:34:02.862400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_18_2722.jpg', '/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_21_2756.jpg', '/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_25_3625.jpg', '/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_27_2814.jpg', '/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_30_2767.jpg', '/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_34_3563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_18_2722.jpg
/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_21_2756.jpg
/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_25_3625.jpg
/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_27_2814.jpg
/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_30_2767.jpg
/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_34_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.6376347541809082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:34:12.237987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_18_2722.jpg', '/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_21_2756.jpg', '/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_25_3625.jpg', '/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_27_2814.jpg', '/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_30_2767.jpg', '/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_34_3563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_18_2722.jpg
/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_21_2756.jpg
/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_25_3625.jpg
/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_27_2814.jpg
/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_30_2767.jpg
/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_34_3563.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":["1396199096","1396199084","1396199092","1396199086","1396199089","1396199094"],"photo_ids_order":["1396199084","1396199086","1396199089","1396199092","1396199094","1396199096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/62c32533ebcdf6c4122b2a558b754093.jpg","text":"TemporaryFile(/tmp/multipartBody7342716495972287662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128112939,"filename":"image_26112025_02_00_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/26/5d9bcb495e937a583c2bf0731efe6e06.jpg","text":"TemporaryFile(/tmp/multipartBody3210309335753274179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128112939,"filename":"image_26112025_02_00_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/26/2b1d5a63460768a3370237d0f630e75b.jpg","text":"TemporaryFile(/tmp/multipartBody8669936961962722233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128112939,"filename":"image_26112025_02_00_27_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/26/774abc81b93efbd371e8dd7fc6e46d7e.jpg","text":"TemporaryFile(/tmp/multipartBody3907775527018891343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128112939,"filename":"image_26112025_02_00_21_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/26/e0e21410e34ef15f4497af674ae5425c.jpg","text":"TemporaryFile(/tmp/multipartBody3733206642632237478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128112939,"filename":"image_26112025_02_00_25_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/26/f5e9dca9d4aafc2e76a60ad5ab43a8d4.jpg","text":"TemporaryFile(/tmp/multipartBody108246958270570890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128112939,"filename":"image_26112025_02_00_30_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396199089","file1":"1396199086","file0":"1396199084","file4":"1396199094","file5":"1396199096","file3":"1396199092"},"map_files_photo_id_array":[{"photo_id":"1396199096","filename":"file5"},{"photo_id":"1396199089","filename":"file2"},{"photo_id":"1396199094","filename":"file4"},{"photo_id":"1396199086","filename":"file1"},{"photo_id":"1396199084","filename":"file0"},{"photo_id":"1396199092","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396199096":["hashtag1","hashtag2"]},{"1396199084":["hashtag1","hashtag2"]},{"1396199092":["hashtag1","hashtag2"]},{"1396199086":["hashtag1","hashtag2"]},{"1396199089":["hashtag1","hashtag2"]},{"1396199094":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396199096, 1396199084, 1396199092, 1396199086, 1396199089, 1396199094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98574113845825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:35:03.044768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_36_2622.jpg', '/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_39_2625.jpg', '/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_43_3645.jpg', '/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_45_2663.jpg', '/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_48_2587.jpg', '/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_52_3594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_36_2622.jpg
/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_39_2625.jpg
/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_43_3645.jpg
/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_45_2663.jpg
/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_48_2587.jpg
/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_52_3594.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":["1396199112","1396199106","1396199109","1396199108","1396199110","1396199107"],"photo_ids_order":["1396199106","1396199107","1396199108","1396199109","1396199110","1396199112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/51912c19c65afb05cc73672230eae669.jpg","text":"TemporaryFile(/tmp/multipartBody272888541041928630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128163796,"filename":"image_26112025_02_00_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/26/07e63966b3cb6e87a07e651007997acc.jpg","text":"TemporaryFile(/tmp/multipartBody8227945963908657232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128163796,"filename":"image_26112025_02_00_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/26/f2ffe75c9f9bc75f6fbada64b4b2030e.jpg","text":"TemporaryFile(/tmp/multipartBody5102787733926614550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128163796,"filename":"image_26112025_02_00_45_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/26/07092c339532efb4d10630e6575f41a9.jpg","text":"TemporaryFile(/tmp/multipartBody5609823865196442640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128163796,"filename":"image_26112025_02_00_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/26/162571376a524a72094b4129c177ade7.jpg","text":"TemporaryFile(/tmp/multipartBody1409032031819115673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128163796,"filename":"image_26112025_02_00_48_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/26/ca6bfa534c2f1451067770264d4ff05c.jpg","text":"TemporaryFile(/tmp/multipartBody7346091577490006845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128163796,"filename":"image_26112025_02_00_39_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396199108","file1":"1396199107","file0":"1396199106","file4":"1396199110","file5":"1396199112","file3":"1396199109"},"map_files_photo_id_array":[{"photo_id":"1396199112","filename":"file5"},{"photo_id":"1396199108","filename":"file2"},{"photo_id":"1396199110","filename":"file4"},{"photo_id":"1396199107","filename":"file1"},{"photo_id":"1396199106","filename":"file0"},{"photo_id":"1396199109","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396199112":["hashtag1","hashtag2"]},{"1396199106":["hashtag1","hashtag2"]},{"1396199109":["hashtag1","hashtag2"]},{"1396199108":["hashtag1","hashtag2"]},{"1396199110":["hashtag1","hashtag2"]},{"1396199107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396199112, 1396199106, 1396199109, 1396199108, 1396199110, 1396199107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47922492027283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:35:42.347973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_54_2661.jpg', '/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_58_3583.jpg', '/home/pi/Desktop/images/26112025/02/00/image_26112025_02_01_01_2696.jpg', '/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_03_2769.jpg', '/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_07_3624.jpg', '/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_09_2541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_54_2661.jpg
/home/pi/Desktop/images/26112025/02/00/image_26112025_02_00_58_3583.jpg
/home/pi/Desktop/images/26112025/02/00/image_26112025_02_01_01_2696.jpg
/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_03_2769.jpg
/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_07_3624.jpg
/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_09_2541.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":["1396199124","1396199121","1396199171","1396199126","1396199193","1396199157"],"photo_ids_order":["1396199121","1396199124","1396199126","1396199157","1396199171","1396199193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f5748fb012c0d183c9cc4a8d830899cb.jpg","text":"TemporaryFile(/tmp/multipartBody108622945162415226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128203081,"filename":"image_26112025_02_00_58_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/26/0837d2273c25ebae8ac6444c857afe6c.jpg","text":"TemporaryFile(/tmp/multipartBody2152417460663610708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128203081,"filename":"image_26112025_02_00_54_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/64ac0d55066b0b0f394a0688ba621e3f.jpg","text":"TemporaryFile(/tmp/multipartBody353947581029039897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128203081,"filename":"image_26112025_02_01_07_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/26/bc04ec7b741d7a1a9325af1a7fa4f04e.jpg","text":"TemporaryFile(/tmp/multipartBody2851105670265654599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128203081,"filename":"image_26112025_02_01_01_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/26/677aa8b7a407197287b042721ea44b66.jpg","text":"TemporaryFile(/tmp/multipartBody5955387133562042813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128203081,"filename":"image_26112025_02_01_09_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/26/0a76aa9fd789cabac44b1c6b1d24565f.jpg","text":"TemporaryFile(/tmp/multipartBody4546233111301216172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128203081,"filename":"image_26112025_02_01_03_2769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396199126","file1":"1396199124","file0":"1396199121","file4":"1396199171","file5":"1396199193","file3":"1396199157"},"map_files_photo_id_array":[{"photo_id":"1396199193","filename":"file5"},{"photo_id":"1396199126","filename":"file2"},{"photo_id":"1396199171","filename":"file4"},{"photo_id":"1396199124","filename":"file1"},{"photo_id":"1396199121","filename":"file0"},{"photo_id":"1396199157","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396199124":["hashtag1","hashtag2"]},{"1396199121":["hashtag1","hashtag2"]},{"1396199171":["hashtag1","hashtag2"]},{"1396199126":["hashtag1","hashtag2"]},{"1396199193":["hashtag1","hashtag2"]},{"1396199157":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396199124, 1396199121, 1396199171, 1396199126, 1396199193, 1396199157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.013168811798096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:36:22.486166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_12_2721.jpg', '/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_16_3685.jpg', '/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_18_2642.jpg', '/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_21_2678.jpg', '/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_25_3587.jpg', '/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_27_2567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_12_2721.jpg
/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_16_3685.jpg
/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_18_2642.jpg
/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_21_2678.jpg
/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_25_3587.jpg
/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_27_2567.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":["1396199208","1396199202","1396199195","1396199197","1396199194","1396199200"],"photo_ids_order":["1396199194","1396199195","1396199197","1396199200","1396199202","1396199208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/05e6e282dd545526b14b425fd609af4d.jpg","text":"TemporaryFile(/tmp/multipartBody1513427051839265226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128243185,"filename":"image_26112025_02_01_27_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/26/923b99fa93cf1d257c9390b9f0feaae2.jpg","text":"TemporaryFile(/tmp/multipartBody1301219398589124048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128243185,"filename":"image_26112025_02_01_25_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/26/62c045da281b18be215a1ae9ca8b06e1.jpg","text":"TemporaryFile(/tmp/multipartBody6295858325701809424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128243185,"filename":"image_26112025_02_01_16_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/26/7ffcc1c61afd93cc4fbf531e0abe3fda.jpg","text":"TemporaryFile(/tmp/multipartBody7064491192459549069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128243185,"filename":"image_26112025_02_01_18_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/26/2ee55bc112a3bdd5f918d190da4f4df7.jpg","text":"TemporaryFile(/tmp/multipartBody8116583801687118767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128243185,"filename":"image_26112025_02_01_12_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/26/4700a0c75e2d274a5cae4c624a6428e6.jpg","text":"TemporaryFile(/tmp/multipartBody8580454433170447477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128243185,"filename":"image_26112025_02_01_21_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396199197","file1":"1396199195","file0":"1396199194","file4":"1396199202","file5":"1396199208","file3":"1396199200"},"map_files_photo_id_array":[{"photo_id":"1396199208","filename":"file5"},{"photo_id":"1396199197","filename":"file2"},{"photo_id":"1396199202","filename":"file4"},{"photo_id":"1396199195","filename":"file1"},{"photo_id":"1396199194","filename":"file0"},{"photo_id":"1396199200","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396199208":["hashtag1","hashtag2"]},{"1396199202":["hashtag1","hashtag2"]},{"1396199195":["hashtag1","hashtag2"]},{"1396199197":["hashtag1","hashtag2"]},{"1396199194":["hashtag1","hashtag2"]},{"1396199200":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396199208, 1396199202, 1396199195, 1396199197, 1396199194, 1396199200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72632884979248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:37:03.370068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_31_3539.jpg', '/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_34_2708.jpg', '/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_36_2493.jpg', '/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_40_3589.jpg', '/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_42_2591.jpg', '/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_46_3589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_31_3539.jpg
/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_34_2708.jpg
/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_36_2493.jpg
/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_40_3589.jpg
/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_42_2591.jpg
/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_46_3589.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":["1396199223","1396199226","1396199225","1396199228","1396199227","1396199230"],"photo_ids_order":["1396199223","1396199225","1396199226","1396199227","1396199228","1396199230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5c36ffcc773af49e53ba5ac22da5b5b1.jpg","text":"TemporaryFile(/tmp/multipartBody4607982082718582379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128284177,"filename":"image_26112025_02_01_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/26/c8e7908935eaf5628232226a6066d659.jpg","text":"TemporaryFile(/tmp/multipartBody8599664273364471676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128284177,"filename":"image_26112025_02_01_36_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/26/0bf4ad64b70762cde8a9ea20047a4d1c.jpg","text":"TemporaryFile(/tmp/multipartBody4181652165126733097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128284177,"filename":"image_26112025_02_01_34_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/26/28ccf17562894fea79d8644407d48974.jpg","text":"TemporaryFile(/tmp/multipartBody3185937716813418629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128284177,"filename":"image_26112025_02_01_42_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/26/a46fc116ac486c05f427cd8e40ce3842.jpg","text":"TemporaryFile(/tmp/multipartBody3609871610353526688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128284177,"filename":"image_26112025_02_01_40_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/26/8ddc3cc7edead8de078619965c9aeeb3.jpg","text":"TemporaryFile(/tmp/multipartBody8221818325828801239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128284177,"filename":"image_26112025_02_01_46_3589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396199226","file1":"1396199225","file0":"1396199223","file4":"1396199228","file5":"1396199230","file3":"1396199227"},"map_files_photo_id_array":[{"photo_id":"1396199230","filename":"file5"},{"photo_id":"1396199226","filename":"file2"},{"photo_id":"1396199228","filename":"file4"},{"photo_id":"1396199225","filename":"file1"},{"photo_id":"1396199223","filename":"file0"},{"photo_id":"1396199227","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396199223":["hashtag1","hashtag2"]},{"1396199226":["hashtag1","hashtag2"]},{"1396199225":["hashtag1","hashtag2"]},{"1396199228":["hashtag1","hashtag2"]},{"1396199227":["hashtag1","hashtag2"]},{"1396199230":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396199223, 1396199226, 1396199225, 1396199228, 1396199227, 1396199230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81367206573486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:37:42.673179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_48_2594.jpg', '/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_51_2625.jpg', '/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_55_3711.jpg', '/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_57_2556.jpg', '/home/pi/Desktop/images/26112025/02/01/image_26112025_02_02_00_2661.jpg', '/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_04_3621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_48_2594.jpg
/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_51_2625.jpg
/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_55_3711.jpg
/home/pi/Desktop/images/26112025/02/01/image_26112025_02_01_57_2556.jpg
/home/pi/Desktop/images/26112025/02/01/image_26112025_02_02_00_2661.jpg
/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_04_3621.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":["1396199238","1396199247","1396199235","1396199240","1396199243","1396199236"],"photo_ids_order":["1396199235","1396199236","1396199238","1396199240","1396199243","1396199247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f2109c90be5588e6fb84afaaa64342ef.jpg","text":"TemporaryFile(/tmp/multipartBody4255512275107052069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128323374,"filename":"image_26112025_02_01_55_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fcd390d226f07fb18d9d18687c1a9ea2.jpg","text":"TemporaryFile(/tmp/multipartBody7899787707734374522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128323374,"filename":"image_26112025_02_02_04_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/26/17fcf3050948f5da57fb31be541b78a0.jpg","text":"TemporaryFile(/tmp/multipartBody9222975178453858946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128323374,"filename":"image_26112025_02_01_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/26/1a3a3ae52e56b78bc0969ed39209131e.jpg","text":"TemporaryFile(/tmp/multipartBody6006837243559922431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128323374,"filename":"image_26112025_02_01_57_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/26/ab720476e395df86574193f5520e2b52.jpg","text":"TemporaryFile(/tmp/multipartBody4950154145707536357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128323374,"filename":"image_26112025_02_02_00_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/26/757a98a1b5d9c1ed44dafe99aa233c75.jpg","text":"TemporaryFile(/tmp/multipartBody5612211492755027525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128323374,"filename":"image_26112025_02_01_51_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396199238","file1":"1396199236","file0":"1396199235","file4":"1396199243","file5":"1396199247","file3":"1396199240"},"map_files_photo_id_array":[{"photo_id":"1396199247","filename":"file5"},{"photo_id":"1396199238","filename":"file2"},{"photo_id":"1396199243","filename":"file4"},{"photo_id":"1396199236","filename":"file1"},{"photo_id":"1396199235","filename":"file0"},{"photo_id":"1396199240","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396199238":["hashtag1","hashtag2"]},{"1396199247":["hashtag1","hashtag2"]},{"1396199235":["hashtag1","hashtag2"]},{"1396199240":["hashtag1","hashtag2"]},{"1396199243":["hashtag1","hashtag2"]},{"1396199236":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396199238, 1396199247, 1396199235, 1396199240, 1396199243, 1396199236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.111892223358154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:38:21.922673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_06_2599.jpg', '/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_09_2808.jpg', '/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_13_3574.jpg', '/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_15_2522.jpg', '/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_19_3646.jpg', '/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_21_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_06_2599.jpg
/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_09_2808.jpg
/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_13_3574.jpg
/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_15_2522.jpg
/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_19_3646.jpg
/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_21_2662.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":["1396199265","1396199253","1396199258","1396199260","1396199262","1396199256"],"photo_ids_order":["1396199253","1396199256","1396199258","1396199260","1396199262","1396199265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7e29fcc7b3005d5989edbe251e3716f3.jpg","text":"TemporaryFile(/tmp/multipartBody4342229267917357305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128362677,"filename":"image_26112025_02_02_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/26/c6bb9b4223e713aaef921d4fe21fcb2c.jpg","text":"TemporaryFile(/tmp/multipartBody1373924935354769103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128362677,"filename":"image_26112025_02_02_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/26/5b5093618ffafa1cfe5557853bc7125e.jpg","text":"TemporaryFile(/tmp/multipartBody1958382449560507745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128362677,"filename":"image_26112025_02_02_13_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/26/9e18e664c8560fd16e6b63ab47ed34af.jpg","text":"TemporaryFile(/tmp/multipartBody7462261011764777542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128362677,"filename":"image_26112025_02_02_15_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/26/8c8c643d6c8232e29a3addf539690505.jpg","text":"TemporaryFile(/tmp/multipartBody4802927694169177660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128362677,"filename":"image_26112025_02_02_19_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/26/f206f358133bc381947ca872e6a192b8.jpg","text":"TemporaryFile(/tmp/multipartBody2668345946482383706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128362677,"filename":"image_26112025_02_02_09_2808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396199258","file1":"1396199256","file0":"1396199253","file4":"1396199262","file5":"1396199265","file3":"1396199260"},"map_files_photo_id_array":[{"photo_id":"1396199265","filename":"file5"},{"photo_id":"1396199258","filename":"file2"},{"photo_id":"1396199262","filename":"file4"},{"photo_id":"1396199256","filename":"file1"},{"photo_id":"1396199253","filename":"file0"},{"photo_id":"1396199260","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396199265":["hashtag1","hashtag2"]},{"1396199253":["hashtag1","hashtag2"]},{"1396199258":["hashtag1","hashtag2"]},{"1396199260":["hashtag1","hashtag2"]},{"1396199262":["hashtag1","hashtag2"]},{"1396199256":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396199265, 1396199253, 1396199258, 1396199260, 1396199262, 1396199256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52408528327942 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:39:03.210840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_24_2874.jpg', '/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_27_2607.jpg', '/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_31_3699.jpg', '/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_33_2615.jpg', '/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_36_2827.jpg', '/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_39_2763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_24_2874.jpg
/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_27_2607.jpg
/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_31_3699.jpg
/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_33_2615.jpg
/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_36_2827.jpg
/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_39_2763.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":["1396199273","1396199276","1396199275","1396199278","1396199272","1396199274"],"photo_ids_order":["1396199272","1396199273","1396199274","1396199275","1396199276","1396199278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/921022478a538a76c1b8839bb0f1c9d1.jpg","text":"TemporaryFile(/tmp/multipartBody1421908521320377032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128404198,"filename":"image_26112025_02_02_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/26/50c2bd5cd1202842b85e6f9f95987e66.jpg","text":"TemporaryFile(/tmp/multipartBody5747718637175283757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128404198,"filename":"image_26112025_02_02_36_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/26/c95ae8aab31458e7e82e22cf60c82f34.jpg","text":"TemporaryFile(/tmp/multipartBody5093713776574587580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128404198,"filename":"image_26112025_02_02_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/26/c4ae6008f5477bb8af48876bb22def5d.jpg","text":"TemporaryFile(/tmp/multipartBody2555695726109900477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128404198,"filename":"image_26112025_02_02_39_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/26/71df8ee95c8d07f1ee8395197dc419bd.jpg","text":"TemporaryFile(/tmp/multipartBody6984950148189595314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128404198,"filename":"image_26112025_02_02_24_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/26/14777e26654a270470bebdea0a37e5b8.jpg","text":"TemporaryFile(/tmp/multipartBody3344288680860693509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128404198,"filename":"image_26112025_02_02_31_3699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396199274","file1":"1396199273","file0":"1396199272","file4":"1396199276","file5":"1396199278","file3":"1396199275"},"map_files_photo_id_array":[{"photo_id":"1396199278","filename":"file5"},{"photo_id":"1396199274","filename":"file2"},{"photo_id":"1396199276","filename":"file4"},{"photo_id":"1396199273","filename":"file1"},{"photo_id":"1396199272","filename":"file0"},{"photo_id":"1396199275","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396199273":["hashtag1","hashtag2"]},{"1396199276":["hashtag1","hashtag2"]},{"1396199275":["hashtag1","hashtag2"]},{"1396199278":["hashtag1","hashtag2"]},{"1396199272":["hashtag1","hashtag2"]},{"1396199274":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396199273, 1396199276, 1396199275, 1396199278, 1396199272, 1396199274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.031930685043335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:39:42.357389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_42_3582.jpg', '/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_45_2680.jpg', '/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_49_3672.jpg', '/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_51_2677.jpg', '/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_54_2527.jpg', '/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_58_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_42_3582.jpg
/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_45_2680.jpg
/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_49_3672.jpg
/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_51_2677.jpg
/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_54_2527.jpg
/home/pi/Desktop/images/26112025/02/02/image_26112025_02_02_58_3591.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":["1396199291","1396199293","1396199284","1396199287","1396199295","1396199289"],"photo_ids_order":["1396199284","1396199287","1396199289","1396199291","1396199293","1396199295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5ea2d24d1e2d333e6e476d2292600910.jpg","text":"TemporaryFile(/tmp/multipartBody4666090353263639961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128443090,"filename":"image_26112025_02_02_51_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/26/758b242c5af8db06ddbfd087edf04caa.jpg","text":"TemporaryFile(/tmp/multipartBody4508267928681329381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128443090,"filename":"image_26112025_02_02_54_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/26/ae8a4d4a3e19e4a89ee944cd4efbbb27.jpg","text":"TemporaryFile(/tmp/multipartBody3882162242238102363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128443090,"filename":"image_26112025_02_02_42_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/26/0d799886c2ebb614b4d021a1d33afb45.jpg","text":"TemporaryFile(/tmp/multipartBody2437893721351911675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128443090,"filename":"image_26112025_02_02_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/26/8e3c8851eede90dd151ee4d417c59eed.jpg","text":"TemporaryFile(/tmp/multipartBody5629318035129273869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128443090,"filename":"image_26112025_02_02_58_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/26/480ee0edb193ab04fa25f92039728678.jpg","text":"TemporaryFile(/tmp/multipartBody1725989151404543975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128443090,"filename":"image_26112025_02_02_49_3672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396199289","file1":"1396199287","file0":"1396199284","file4":"1396199293","file5":"1396199295","file3":"1396199291"},"map_files_photo_id_array":[{"photo_id":"1396199295","filename":"file5"},{"photo_id":"1396199289","filename":"file2"},{"photo_id":"1396199293","filename":"file4"},{"photo_id":"1396199287","filename":"file1"},{"photo_id":"1396199284","filename":"file0"},{"photo_id":"1396199291","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396199291":["hashtag1","hashtag2"]},{"1396199293":["hashtag1","hashtag2"]},{"1396199284":["hashtag1","hashtag2"]},{"1396199287":["hashtag1","hashtag2"]},{"1396199295":["hashtag1","hashtag2"]},{"1396199289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396199291, 1396199293, 1396199284, 1396199287, 1396199295, 1396199289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25989890098572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:40:22.503636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/02/image_26112025_02_03_00_2591.jpg', '/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_03_2679.jpg', '/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_07_3740.jpg', '/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_09_2489.jpg', '/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_13_3608.jpg', '/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_15_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/02/image_26112025_02_03_00_2591.jpg
/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_03_2679.jpg
/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_07_3740.jpg
/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_09_2489.jpg
/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_13_3608.jpg
/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_15_2692.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":["1396199301","1396199303","1396199296","1396199309","1396199305","1396199298"],"photo_ids_order":["1396199296","1396199298","1396199301","1396199303","1396199305","1396199309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5cf5b4deb8bb9643af8365a2daf6e096.jpg","text":"TemporaryFile(/tmp/multipartBody7258679263754006076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128483218,"filename":"image_26112025_02_03_07_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/26/92c3c466ede150d732ec4bdde797ef29.jpg","text":"TemporaryFile(/tmp/multipartBody3683402939554471672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128483218,"filename":"image_26112025_02_03_09_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/26/c818863965bcb49f0459d06ee2f0fc0e.jpg","text":"TemporaryFile(/tmp/multipartBody965936961166026910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128483218,"filename":"image_26112025_02_03_00_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/26/c0509323ed0654e574af33fa7180aac4.jpg","text":"TemporaryFile(/tmp/multipartBody6420880840248950350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128483218,"filename":"image_26112025_02_03_15_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/26/2399b362b3043a49c2f9ad961e5ef05e.jpg","text":"TemporaryFile(/tmp/multipartBody4424337519722410711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128483218,"filename":"image_26112025_02_03_13_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/26/89ba3eac1b604195caa3d41679f7c1b4.jpg","text":"TemporaryFile(/tmp/multipartBody767644778716290162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128483218,"filename":"image_26112025_02_03_03_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396199301","file1":"1396199298","file0":"1396199296","file4":"1396199305","file5":"1396199309","file3":"1396199303"},"map_files_photo_id_array":[{"photo_id":"1396199309","filename":"file5"},{"photo_id":"1396199301","filename":"file2"},{"photo_id":"1396199305","filename":"file4"},{"photo_id":"1396199298","filename":"file1"},{"photo_id":"1396199296","filename":"file0"},{"photo_id":"1396199303","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396199301":["hashtag1","hashtag2"]},{"1396199303":["hashtag1","hashtag2"]},{"1396199296":["hashtag1","hashtag2"]},{"1396199309":["hashtag1","hashtag2"]},{"1396199305":["hashtag1","hashtag2"]},{"1396199298":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396199301, 1396199303, 1396199296, 1396199309, 1396199305, 1396199298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16582107543945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:41:03.449090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_18_2626.jpg', '/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_22_3561.jpg', '/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_24_2675.jpg', '/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_27_2589.jpg', '/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_30_3695.jpg', '/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_33_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_18_2626.jpg
/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_22_3561.jpg
/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_24_2675.jpg
/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_27_2589.jpg
/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_30_3695.jpg
/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_33_2591.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":["1396199322","1396199325","1396199324","1396199327","1396199320","1396199323"],"photo_ids_order":["1396199320","1396199322","1396199323","1396199324","1396199325","1396199327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e4241589876bc8afc2e46955081978f1.jpg","text":"TemporaryFile(/tmp/multipartBody4435236854634523269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128524269,"filename":"image_26112025_02_03_22_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/26/a70d2cd6d481f667f5f32de0d6a68fa4.jpg","text":"TemporaryFile(/tmp/multipartBody6243555094594990177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128524269,"filename":"image_26112025_02_03_30_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9e2aba4c23aa451f29c6e7477cb7d41c.jpg","text":"TemporaryFile(/tmp/multipartBody8885046499915070710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128524269,"filename":"image_26112025_02_03_27_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/26/77da2ddeb11efeecc0604cb48ad943f2.jpg","text":"TemporaryFile(/tmp/multipartBody884458341137795095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128524269,"filename":"image_26112025_02_03_33_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/26/e5da5524631c9e9cb76fe23dfc2bd0a4.jpg","text":"TemporaryFile(/tmp/multipartBody6832414280892136365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128524269,"filename":"image_26112025_02_03_18_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/26/a1716e89cceafa14ef3f46e8cf1e0876.jpg","text":"TemporaryFile(/tmp/multipartBody4112699561243300691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128524269,"filename":"image_26112025_02_03_24_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396199323","file1":"1396199322","file0":"1396199320","file4":"1396199325","file5":"1396199327","file3":"1396199324"},"map_files_photo_id_array":[{"photo_id":"1396199327","filename":"file5"},{"photo_id":"1396199323","filename":"file2"},{"photo_id":"1396199325","filename":"file4"},{"photo_id":"1396199322","filename":"file1"},{"photo_id":"1396199320","filename":"file0"},{"photo_id":"1396199324","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396199322":["hashtag1","hashtag2"]},{"1396199325":["hashtag1","hashtag2"]},{"1396199324":["hashtag1","hashtag2"]},{"1396199327":["hashtag1","hashtag2"]},{"1396199320":["hashtag1","hashtag2"]},{"1396199323":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396199322, 1396199325, 1396199324, 1396199327, 1396199320, 1396199323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.916205406188965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:41:42.656708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_36_2661.jpg', '/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_39_3021.jpg', '/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_43_3875.jpg', '/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_45_2540.jpg', '/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_48_2509.jpg', '/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_51_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_36_2661.jpg
/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_39_3021.jpg
/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_43_3875.jpg
/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_45_2540.jpg
/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_48_2509.jpg
/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_51_3669.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":["1396199337","1396199334","1396199339","1396199344","1396199332","1396199341"],"photo_ids_order":["1396199332","1396199334","1396199337","1396199339","1396199341","1396199344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/309c0c981f48fc61a1246636f3c0f892.jpg","text":"TemporaryFile(/tmp/multipartBody3364935166872678961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128563391,"filename":"image_26112025_02_03_43_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/26/740634af0d76bb0cd20d7b2b5aca3df1.jpg","text":"TemporaryFile(/tmp/multipartBody6095608059808710138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128563391,"filename":"image_26112025_02_03_39_3021.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/747119514b9d6d6b9f8ce8be90742a47.jpg","text":"TemporaryFile(/tmp/multipartBody1761537677811249317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128563391,"filename":"image_26112025_02_03_45_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/26/88e17cb8e737148b458a1246647d7a0c.jpg","text":"TemporaryFile(/tmp/multipartBody751746669127124359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128563391,"filename":"image_26112025_02_03_51_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/26/41d90d18d16d211e95cf50b55cdec3d9.jpg","text":"TemporaryFile(/tmp/multipartBody5394828977806455456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128563391,"filename":"image_26112025_02_03_36_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/26/ba77ff0f44c83d61cea2e0d602f76f01.jpg","text":"TemporaryFile(/tmp/multipartBody8949945660398645139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128563391,"filename":"image_26112025_02_03_48_2509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396199337","file1":"1396199334","file0":"1396199332","file4":"1396199341","file5":"1396199344","file3":"1396199339"},"map_files_photo_id_array":[{"photo_id":"1396199344","filename":"file5"},{"photo_id":"1396199337","filename":"file2"},{"photo_id":"1396199341","filename":"file4"},{"photo_id":"1396199334","filename":"file1"},{"photo_id":"1396199332","filename":"file0"},{"photo_id":"1396199339","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396199337":["hashtag1","hashtag2"]},{"1396199334":["hashtag1","hashtag2"]},{"1396199339":["hashtag1","hashtag2"]},{"1396199344":["hashtag1","hashtag2"]},{"1396199332":["hashtag1","hashtag2"]},{"1396199341":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396199337, 1396199334, 1396199339, 1396199344, 1396199332, 1396199341)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.50796318054199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:42:31.841477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_54_2478.jpg', '/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_57_3602.jpg', '/home/pi/Desktop/images/26112025/02/03/image_26112025_02_04_00_2791.jpg', '/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_03_2552.jpg', '/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_06_3706.jpg', '/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_09_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_54_2478.jpg
/home/pi/Desktop/images/26112025/02/03/image_26112025_02_03_57_3602.jpg
/home/pi/Desktop/images/26112025/02/03/image_26112025_02_04_00_2791.jpg
/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_03_2552.jpg
/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_06_3706.jpg
/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_09_2759.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":["1396199364","1396199360","1396199357","1396199362","1396199353","1396199355"],"photo_ids_order":["1396199353","1396199355","1396199357","1396199360","1396199362","1396199364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/63ae22c673a70bd1651815d940cc1646.jpg","text":"TemporaryFile(/tmp/multipartBody4871390291063264351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128612576,"filename":"image_26112025_02_04_09_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9f89f00a110530081d0b866255995472.jpg","text":"TemporaryFile(/tmp/multipartBody6286712214983211791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128612576,"filename":"image_26112025_02_04_03_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/26/d75b8137c0bbe304c12629719c61d5fa.jpg","text":"TemporaryFile(/tmp/multipartBody185048664860322214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128612576,"filename":"image_26112025_02_04_00_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/26/c9e0108643e329620dc5fd1f40f1efee.jpg","text":"TemporaryFile(/tmp/multipartBody8362260321871176998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128612576,"filename":"image_26112025_02_04_06_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/26/054bdc72790451d1e0ce46d47aed5bb8.jpg","text":"TemporaryFile(/tmp/multipartBody6722643885522586421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128612576,"filename":"image_26112025_02_03_54_2478.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2c8424486ada0ecc0cf62931e774a34d.jpg","text":"TemporaryFile(/tmp/multipartBody2393884301495005276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128612576,"filename":"image_26112025_02_03_57_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396199357","file1":"1396199355","file0":"1396199353","file4":"1396199362","file5":"1396199364","file3":"1396199360"},"map_files_photo_id_array":[{"photo_id":"1396199364","filename":"file5"},{"photo_id":"1396199357","filename":"file2"},{"photo_id":"1396199362","filename":"file4"},{"photo_id":"1396199355","filename":"file1"},{"photo_id":"1396199353","filename":"file0"},{"photo_id":"1396199360","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396199364":["hashtag1","hashtag2"]},{"1396199360":["hashtag1","hashtag2"]},{"1396199357":["hashtag1","hashtag2"]},{"1396199362":["hashtag1","hashtag2"]},{"1396199353":["hashtag1","hashtag2"]},{"1396199355":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396199364, 1396199360, 1396199357, 1396199362, 1396199353, 1396199355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93227243423462 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:43:12.713852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_12_2644.jpg', '/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_15_3590.jpg', '/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_18_2696.jpg', '/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_21_2548.jpg', '/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_24_3753.jpg', '/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_27_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_12_2644.jpg
/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_15_3590.jpg
/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_18_2696.jpg
/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_21_2548.jpg
/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_24_3753.jpg
/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_27_2584.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":["1396199370","1396199378","1396199375","1396199369","1396199371","1396199373"],"photo_ids_order":["1396199369","1396199370","1396199371","1396199373","1396199375","1396199378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c09f5c41c5ebf24220ae60b5a31f361b.jpg","text":"TemporaryFile(/tmp/multipartBody1067197158025148055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128653388,"filename":"image_26112025_02_04_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/26/f19fb45a55f241164bf7a31e9aa68b33.jpg","text":"TemporaryFile(/tmp/multipartBody7506984629040070309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128653388,"filename":"image_26112025_02_04_27_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/26/93873fbc2b3018495faaf436bad8415f.jpg","text":"TemporaryFile(/tmp/multipartBody7846738227828271945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128653388,"filename":"image_26112025_02_04_24_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/26/e427862b7d5b54807d3c0a3cfd16fdf4.jpg","text":"TemporaryFile(/tmp/multipartBody4221135244949124321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128653388,"filename":"image_26112025_02_04_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/26/c97db0eaecbc11ffa85d551a603bfb54.jpg","text":"TemporaryFile(/tmp/multipartBody4983198447106999725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128653388,"filename":"image_26112025_02_04_18_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/26/742afd659631472a55b5cc6c539f086f.jpg","text":"TemporaryFile(/tmp/multipartBody5955501030200278605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128653388,"filename":"image_26112025_02_04_21_2548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396199371","file1":"1396199370","file0":"1396199369","file4":"1396199375","file5":"1396199378","file3":"1396199373"},"map_files_photo_id_array":[{"photo_id":"1396199378","filename":"file5"},{"photo_id":"1396199371","filename":"file2"},{"photo_id":"1396199375","filename":"file4"},{"photo_id":"1396199370","filename":"file1"},{"photo_id":"1396199369","filename":"file0"},{"photo_id":"1396199373","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396199370":["hashtag1","hashtag2"]},{"1396199378":["hashtag1","hashtag2"]},{"1396199375":["hashtag1","hashtag2"]},{"1396199369":["hashtag1","hashtag2"]},{"1396199371":["hashtag1","hashtag2"]},{"1396199373":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396199370, 1396199378, 1396199375, 1396199369, 1396199371, 1396199373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36087727546692 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:44:02.739248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_30_2560.jpg', '/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_33_3649.jpg', '/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_36_2721.jpg', '/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_40_3556.jpg', '/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_42_2801.jpg', '/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_45_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_30_2560.jpg
/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_33_3649.jpg
/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_36_2721.jpg
/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_40_3556.jpg
/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_42_2801.jpg
/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_45_2595.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":["1396199430","1396199424","1396199432","1396199435","1396199431","1396199407"],"photo_ids_order":["1396199407","1396199424","1396199430","1396199431","1396199432","1396199435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b0dd9c344e4c5b8e5c864dc28fcac26e.jpg","text":"TemporaryFile(/tmp/multipartBody2783977174775837094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128703486,"filename":"image_26112025_02_04_36_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/11ef36068ba6ea43d7d59e33f8a63f6f.jpg","text":"TemporaryFile(/tmp/multipartBody1893647986316101757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128703486,"filename":"image_26112025_02_04_33_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/26/dfcfe01cf014ac17ad2ed9968db9f6b2.jpg","text":"TemporaryFile(/tmp/multipartBody3958760738784911966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128703486,"filename":"image_26112025_02_04_42_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/26/d1c7e4aac82be573c5be263d7d979b79.jpg","text":"TemporaryFile(/tmp/multipartBody4981401952711868792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128703486,"filename":"image_26112025_02_04_45_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/26/87c6415897e85c4d2e3dd8d091e7858d.jpg","text":"TemporaryFile(/tmp/multipartBody7053290521237633429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128703486,"filename":"image_26112025_02_04_40_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/26/921097c906090139508670c3a61dce51.jpg","text":"TemporaryFile(/tmp/multipartBody2606198738197979745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128703486,"filename":"image_26112025_02_04_30_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396199430","file1":"1396199424","file0":"1396199407","file4":"1396199432","file5":"1396199435","file3":"1396199431"},"map_files_photo_id_array":[{"photo_id":"1396199435","filename":"file5"},{"photo_id":"1396199430","filename":"file2"},{"photo_id":"1396199432","filename":"file4"},{"photo_id":"1396199424","filename":"file1"},{"photo_id":"1396199407","filename":"file0"},{"photo_id":"1396199431","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396199430":["hashtag1","hashtag2"]},{"1396199424":["hashtag1","hashtag2"]},{"1396199432":["hashtag1","hashtag2"]},{"1396199435":["hashtag1","hashtag2"]},{"1396199431":["hashtag1","hashtag2"]},{"1396199407":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396199430, 1396199424, 1396199432, 1396199435, 1396199431, 1396199407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60920000076294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:44:42.232774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_48_2620.jpg', '/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_51_3743.jpg', '/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_54_2697.jpg', '/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_57_2630.jpg', '/home/pi/Desktop/images/26112025/02/04/image_26112025_02_05_00_3575.jpg', '/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_03_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_48_2620.jpg
/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_51_3743.jpg
/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_54_2697.jpg
/home/pi/Desktop/images/26112025/02/04/image_26112025_02_04_57_2630.jpg
/home/pi/Desktop/images/26112025/02/04/image_26112025_02_05_00_3575.jpg
/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_03_2713.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":["1396199442","1396199451","1396199445","1396199453","1396199447","1396199449"],"photo_ids_order":["1396199442","1396199445","1396199447","1396199449","1396199451","1396199453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/47f738992e8c437b4e23fbcb7f53bf16.jpg","text":"TemporaryFile(/tmp/multipartBody2533681204056152140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128742934,"filename":"image_26112025_02_04_48_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1a7716797cf03d925fdda51105f1b249.jpg","text":"TemporaryFile(/tmp/multipartBody7989555753285269544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128742934,"filename":"image_26112025_02_05_00_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/26/a44b7598f99e7d1dcbbdf7dcb51839ce.jpg","text":"TemporaryFile(/tmp/multipartBody6710679429250849401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128742934,"filename":"image_26112025_02_04_51_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/26/4450c2d6390248dbefdb6bbbfa179cf5.jpg","text":"TemporaryFile(/tmp/multipartBody4987281113182213810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128742934,"filename":"image_26112025_02_05_03_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1e9deea5bc00ae7e0baf815c4c4d7b1c.jpg","text":"TemporaryFile(/tmp/multipartBody8887850147271827122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128742934,"filename":"image_26112025_02_04_54_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/26/6faedf188f6ed564c5a80b0f1e7e0625.jpg","text":"TemporaryFile(/tmp/multipartBody6473748454261141453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128742934,"filename":"image_26112025_02_04_57_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396199447","file1":"1396199445","file0":"1396199442","file4":"1396199451","file5":"1396199453","file3":"1396199449"},"map_files_photo_id_array":[{"photo_id":"1396199453","filename":"file5"},{"photo_id":"1396199447","filename":"file2"},{"photo_id":"1396199451","filename":"file4"},{"photo_id":"1396199445","filename":"file1"},{"photo_id":"1396199442","filename":"file0"},{"photo_id":"1396199449","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396199442":["hashtag1","hashtag2"]},{"1396199451":["hashtag1","hashtag2"]},{"1396199445":["hashtag1","hashtag2"]},{"1396199453":["hashtag1","hashtag2"]},{"1396199447":["hashtag1","hashtag2"]},{"1396199449":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396199442, 1396199451, 1396199445, 1396199453, 1396199447, 1396199449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57112956047058 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:45:22.554932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_06_2626.jpg', '/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_09_3708.jpg', '/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_12_2793.jpg', '/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_15_2552.jpg', '/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_18_3727.jpg', '/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_21_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_06_2626.jpg
/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_09_3708.jpg
/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_12_2793.jpg
/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_15_2552.jpg
/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_18_3727.jpg
/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_21_2582.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":["1396199457","1396199465","1396199474","1396199455","1396199479","1396199458"],"photo_ids_order":["1396199455","1396199457","1396199458","1396199465","1396199474","1396199479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2f69a5c353d8cf92c3b51d786ff7a7da.jpg","text":"TemporaryFile(/tmp/multipartBody2009536312044559704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128783260,"filename":"image_26112025_02_05_09_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/26/9173b0cd39d869ca42841bb6a376b1db.jpg","text":"TemporaryFile(/tmp/multipartBody8551178609874875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128783260,"filename":"image_26112025_02_05_15_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/26/493eb1189a3b7172da5b13c28af35ffa.jpg","text":"TemporaryFile(/tmp/multipartBody2812751457082277889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128783260,"filename":"image_26112025_02_05_18_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/26/2c15c5f04a53564ffddaef25ddeb4521.jpg","text":"TemporaryFile(/tmp/multipartBody6745566421276617765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128783260,"filename":"image_26112025_02_05_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/26/427c0b4a0fcdc7ed1d5b19cfe7664a38.jpg","text":"TemporaryFile(/tmp/multipartBody8480026463405629948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128783260,"filename":"image_26112025_02_05_21_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/26/751763d68326269b2910226102d1ea1c.jpg","text":"TemporaryFile(/tmp/multipartBody5495643424763659017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128783260,"filename":"image_26112025_02_05_12_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396199458","file1":"1396199457","file0":"1396199455","file4":"1396199474","file5":"1396199479","file3":"1396199465"},"map_files_photo_id_array":[{"photo_id":"1396199479","filename":"file5"},{"photo_id":"1396199458","filename":"file2"},{"photo_id":"1396199474","filename":"file4"},{"photo_id":"1396199457","filename":"file1"},{"photo_id":"1396199455","filename":"file0"},{"photo_id":"1396199465","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396199457":["hashtag1","hashtag2"]},{"1396199465":["hashtag1","hashtag2"]},{"1396199474":["hashtag1","hashtag2"]},{"1396199455":["hashtag1","hashtag2"]},{"1396199479":["hashtag1","hashtag2"]},{"1396199458":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396199457, 1396199465, 1396199474, 1396199455, 1396199479, 1396199458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88738989830017 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:46:03.073777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_24_3550.jpg', '/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_27_2640.jpg', '/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_30_2737.jpg', '/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_32_2637.jpg', '/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_36_3726.jpg', '/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_39_2907.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_24_3550.jpg
/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_27_2640.jpg
/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_30_2737.jpg
/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_32_2637.jpg
/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_36_3726.jpg
/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_39_2907.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":["1396199489","1396199492","1396199486","1396199488","1396199490","1396199487"],"photo_ids_order":["1396199486","1396199487","1396199488","1396199489","1396199490","1396199492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/170897d1e7503c1efe9de5a4dee1a140.jpg","text":"TemporaryFile(/tmp/multipartBody4830804093561417676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128823804,"filename":"image_26112025_02_05_32_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/26/0ae29b9577186eb8fc932f6e500ccee9.jpg","text":"TemporaryFile(/tmp/multipartBody1902324101565840265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128823804,"filename":"image_26112025_02_05_39_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/26/047fdb262d5e53ffcd912301215ca784.jpg","text":"TemporaryFile(/tmp/multipartBody7448108547956548925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128823804,"filename":"image_26112025_02_05_24_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/26/a7320ee5303b781519544b146c8981cf.jpg","text":"TemporaryFile(/tmp/multipartBody6335399864734388711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128823804,"filename":"image_26112025_02_05_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/26/c5cfe3aba24f305d08efafbcb3f10945.jpg","text":"TemporaryFile(/tmp/multipartBody5538410844073062564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128823804,"filename":"image_26112025_02_05_36_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/26/3d299b362dd12c8a39d9b7134496ac40.jpg","text":"TemporaryFile(/tmp/multipartBody6187333680513092365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128823804,"filename":"image_26112025_02_05_27_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396199488","file1":"1396199487","file0":"1396199486","file4":"1396199490","file5":"1396199492","file3":"1396199489"},"map_files_photo_id_array":[{"photo_id":"1396199492","filename":"file5"},{"photo_id":"1396199488","filename":"file2"},{"photo_id":"1396199490","filename":"file4"},{"photo_id":"1396199487","filename":"file1"},{"photo_id":"1396199486","filename":"file0"},{"photo_id":"1396199489","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396199489":["hashtag1","hashtag2"]},{"1396199492":["hashtag1","hashtag2"]},{"1396199486":["hashtag1","hashtag2"]},{"1396199488":["hashtag1","hashtag2"]},{"1396199490":["hashtag1","hashtag2"]},{"1396199487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396199489, 1396199492, 1396199486, 1396199488, 1396199490, 1396199487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.03149652481079 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:46:42.626296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_42_2532.jpg', '/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_45_3658.jpg', '/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_48_2787.jpg', '/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_51_2489.jpg', '/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_54_3639.jpg', '/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_57_2763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_42_2532.jpg
/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_45_3658.jpg
/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_48_2787.jpg
/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_51_2489.jpg
/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_54_3639.jpg
/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_57_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.6600852012634277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:47:03.480204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_42_2532.jpg', '/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_45_3658.jpg', '/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_48_2787.jpg', '/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_51_2489.jpg', '/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_54_3639.jpg', '/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_57_2763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_42_2532.jpg
/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_45_3658.jpg
/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_48_2787.jpg
/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_51_2489.jpg
/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_54_3639.jpg
/home/pi/Desktop/images/26112025/02/05/image_26112025_02_05_57_2763.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":["1396199517","1396199514","1396199516","1396199519","1396199512","1396199515"],"photo_ids_order":["1396199512","1396199514","1396199515","1396199516","1396199517","1396199519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/04e37c182354614befc339733b7e7ff4.jpg","text":"TemporaryFile(/tmp/multipartBody4882464022680814291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128884249,"filename":"image_26112025_02_05_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/26/09c38d16afc37f9b8566cf33a5237a47.jpg","text":"TemporaryFile(/tmp/multipartBody6127500285858786249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128884249,"filename":"image_26112025_02_05_45_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/26/af808015a66d2ce1b50c3d7cb7afcb1a.jpg","text":"TemporaryFile(/tmp/multipartBody5849126873815718754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128884249,"filename":"image_26112025_02_05_51_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/26/2ed111cbcfc1046ed2b32c806919bff0.jpg","text":"TemporaryFile(/tmp/multipartBody7082661429983253626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128884249,"filename":"image_26112025_02_05_57_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/26/1dd4cbe9dcce69adee1d4e4d150b70c4.jpg","text":"TemporaryFile(/tmp/multipartBody1542131292481815079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128884249,"filename":"image_26112025_02_05_42_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/26/a61d5454b16cf51d40704ae9358b0100.jpg","text":"TemporaryFile(/tmp/multipartBody3051980682816707921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128884249,"filename":"image_26112025_02_05_48_2787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396199515","file1":"1396199514","file0":"1396199512","file4":"1396199517","file5":"1396199519","file3":"1396199516"},"map_files_photo_id_array":[{"photo_id":"1396199519","filename":"file5"},{"photo_id":"1396199515","filename":"file2"},{"photo_id":"1396199517","filename":"file4"},{"photo_id":"1396199514","filename":"file1"},{"photo_id":"1396199512","filename":"file0"},{"photo_id":"1396199516","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396199517":["hashtag1","hashtag2"]},{"1396199514":["hashtag1","hashtag2"]},{"1396199516":["hashtag1","hashtag2"]},{"1396199519":["hashtag1","hashtag2"]},{"1396199512":["hashtag1","hashtag2"]},{"1396199515":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396199517, 1396199514, 1396199516, 1396199519, 1396199512, 1396199515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.828773498535156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:47:42.867736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/05/image_26112025_02_06_00_2562.jpg', '/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_03_3712.jpg', '/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_06_2636.jpg', '/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_08_2582.jpg', '/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_12_3237.jpg', '/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_15_3578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/05/image_26112025_02_06_00_2562.jpg
/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_03_3712.jpg
/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_06_2636.jpg
/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_08_2582.jpg
/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_12_3237.jpg
/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_15_3578.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":["1396199541","1396199544","1396199558","1396199555","1396199527","1396199553"],"photo_ids_order":["1396199527","1396199541","1396199544","1396199553","1396199555","1396199558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/083f0aa207686cf2227701ddb4efc7c7.jpg","text":"TemporaryFile(/tmp/multipartBody9085686474408187587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128923565,"filename":"image_26112025_02_06_03_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/26/0d1f81addf5c46857f4e2f6acc04d1ba.jpg","text":"TemporaryFile(/tmp/multipartBody3960515767243486038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128923565,"filename":"image_26112025_02_06_06_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/26/97d1fffc69e9ae65233733042cbf0d93.jpg","text":"TemporaryFile(/tmp/multipartBody4757206083114628010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128923565,"filename":"image_26112025_02_06_15_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/26/bb53c22b756455500974ad10a0a213c3.jpg","text":"TemporaryFile(/tmp/multipartBody4514613784528488094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128923565,"filename":"image_26112025_02_06_12_3237.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a87e8240203d402286b756c584a7d260.jpg","text":"TemporaryFile(/tmp/multipartBody1208329054128260633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128923565,"filename":"image_26112025_02_06_00_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/26/1ac29bfd5d84e04c768dc3788a8056fc.jpg","text":"TemporaryFile(/tmp/multipartBody622785131330752474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128923565,"filename":"image_26112025_02_06_08_2582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396199544","file1":"1396199541","file0":"1396199527","file4":"1396199555","file5":"1396199558","file3":"1396199553"},"map_files_photo_id_array":[{"photo_id":"1396199558","filename":"file5"},{"photo_id":"1396199544","filename":"file2"},{"photo_id":"1396199555","filename":"file4"},{"photo_id":"1396199541","filename":"file1"},{"photo_id":"1396199527","filename":"file0"},{"photo_id":"1396199553","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396199541":["hashtag1","hashtag2"]},{"1396199544":["hashtag1","hashtag2"]},{"1396199558":["hashtag1","hashtag2"]},{"1396199555":["hashtag1","hashtag2"]},{"1396199527":["hashtag1","hashtag2"]},{"1396199553":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396199541, 1396199544, 1396199558, 1396199555, 1396199527, 1396199553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.8983838558197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:48:22.113368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_18_3014.jpg', '/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_21_2743.jpg', '/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_24_2611.jpg', '/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_27_3655.jpg', '/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_30_2581.jpg', '/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_33_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_18_3014.jpg
/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_21_2743.jpg
/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_24_2611.jpg
/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_27_3655.jpg
/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_30_2581.jpg
/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_33_2705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396199637","1396199567","1396199599","1396199569","1396199571","1396199565"],"photo_ids_order":["1396199565","1396199567","1396199569","1396199571","1396199599","1396199637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6085e1ebd6ed723cbc85f0755e364acd.jpg","text":"TemporaryFile(/tmp/multipartBody7271864729958773273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128962825,"filename":"image_26112025_02_06_33_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/26/8f9e485ef6724031d47d5b1acb6b3e41.jpg","text":"TemporaryFile(/tmp/multipartBody3067538623089713508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128962825,"filename":"image_26112025_02_06_21_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/26/16c93bd14efd87ea55d8468c25cc907e.jpg","text":"TemporaryFile(/tmp/multipartBody5199433336669124326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128962825,"filename":"image_26112025_02_06_30_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/26/5d34bdec991074f394934f2a2bbb1a4b.jpg","text":"TemporaryFile(/tmp/multipartBody7236194613603595816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128962825,"filename":"image_26112025_02_06_24_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/26/fe763c64ab339eed9b70e37585833dae.jpg","text":"TemporaryFile(/tmp/multipartBody7152818005913489784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128962825,"filename":"image_26112025_02_06_27_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/26/8c4b0e029b793d6a8493fe6e210920ce.jpg","text":"TemporaryFile(/tmp/multipartBody2301361806519904697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764128962825,"filename":"image_26112025_02_06_18_3014.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396199569","file1":"1396199567","file0":"1396199565","file4":"1396199599","file5":"1396199637","file3":"1396199571"},"map_files_photo_id_array":[{"photo_id":"1396199637","filename":"file5"},{"photo_id":"1396199569","filename":"file2"},{"photo_id":"1396199599","filename":"file4"},{"photo_id":"1396199567","filename":"file1"},{"photo_id":"1396199565","filename":"file0"},{"photo_id":"1396199571","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396199637":["hashtag1","hashtag2"]},{"1396199567":["hashtag1","hashtag2"]},{"1396199599":["hashtag1","hashtag2"]},{"1396199569":["hashtag1","hashtag2"]},{"1396199571":["hashtag1","hashtag2"]},{"1396199565":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396199637, 1396199567, 1396199599, 1396199569, 1396199571, 1396199565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13532614707947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:49:03.010526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_36_3685.jpg', '/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_39_2515.jpg', '/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_42_2682.jpg', '/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_45_3628.jpg', '/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_48_2598.jpg', '/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_51_3565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_36_3685.jpg
/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_39_2515.jpg
/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_42_2682.jpg
/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_45_3628.jpg
/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_48_2598.jpg
/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_51_3565.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":["1396199919","1396199993","1396199954","1396199801","1396199851","1396199886"],"photo_ids_order":["1396199801","1396199851","1396199886","1396199919","1396199954","1396199993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dfaff62410735319dcf0ca493fca4b10.jpg","text":"TemporaryFile(/tmp/multipartBody6759750411264563513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129003996,"filename":"image_26112025_02_06_45_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/26/63cc5d0109d2489275181d0d1b7e5dd6.jpg","text":"TemporaryFile(/tmp/multipartBody3346490804161918767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129003996,"filename":"image_26112025_02_06_51_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/26/295189a95f116a14087c1f9ae1977d6e.jpg","text":"TemporaryFile(/tmp/multipartBody7598478521818321208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129003996,"filename":"image_26112025_02_06_48_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/26/63d75a3f030664cddf21ca7ce38e7ca6.jpg","text":"TemporaryFile(/tmp/multipartBody9140443618079869278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129003996,"filename":"image_26112025_02_06_36_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/26/8d911f9b2dba3178b9c939ca1fadff30.jpg","text":"TemporaryFile(/tmp/multipartBody2884158647838292106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129003996,"filename":"image_26112025_02_06_39_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/26/b7682dd8ab7da4878c7623d6ee9c6c17.jpg","text":"TemporaryFile(/tmp/multipartBody1180732786981382449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129003996,"filename":"image_26112025_02_06_42_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396199886","file1":"1396199851","file0":"1396199801","file4":"1396199954","file5":"1396199993","file3":"1396199919"},"map_files_photo_id_array":[{"photo_id":"1396199993","filename":"file5"},{"photo_id":"1396199886","filename":"file2"},{"photo_id":"1396199954","filename":"file4"},{"photo_id":"1396199851","filename":"file1"},{"photo_id":"1396199801","filename":"file0"},{"photo_id":"1396199919","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396199919":["hashtag1","hashtag2"]},{"1396199993":["hashtag1","hashtag2"]},{"1396199954":["hashtag1","hashtag2"]},{"1396199801":["hashtag1","hashtag2"]},{"1396199851":["hashtag1","hashtag2"]},{"1396199886":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396199919, 1396199993, 1396199954, 1396199801, 1396199851, 1396199886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.851624488830566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:49:42.252579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_54_2688.jpg', '/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_57_2585.jpg', '/home/pi/Desktop/images/26112025/02/06/image_26112025_02_07_00_3619.jpg', '/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_03_2626.jpg', '/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_05_2626.jpg', '/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_09_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_54_2688.jpg
/home/pi/Desktop/images/26112025/02/06/image_26112025_02_06_57_2585.jpg
/home/pi/Desktop/images/26112025/02/06/image_26112025_02_07_00_3619.jpg
/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_03_2626.jpg
/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_05_2626.jpg
/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_09_3620.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":["1396200164","1396200245","1396200320","1396200282","1396200204","1396200126"],"photo_ids_order":["1396200126","1396200164","1396200204","1396200245","1396200282","1396200320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5d07661cadad051ebf76581d9f27752c.jpg","text":"TemporaryFile(/tmp/multipartBody8931053279879020917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129042956,"filename":"image_26112025_02_06_57_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/26/c91c243fc5febb288c44532441e80126.jpg","text":"TemporaryFile(/tmp/multipartBody945526894770077267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129042956,"filename":"image_26112025_02_07_03_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/26/74890d9daafde621c432abd73a24ad3f.jpg","text":"TemporaryFile(/tmp/multipartBody8790397352782453643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129042956,"filename":"image_26112025_02_07_09_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/26/5f0a84b3558507b43dca27a018fe3a4c.jpg","text":"TemporaryFile(/tmp/multipartBody1034739525552685193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129042956,"filename":"image_26112025_02_07_05_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/26/47ae452e465f0c462ee4d7b992971311.jpg","text":"TemporaryFile(/tmp/multipartBody3548326173393931562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129042956,"filename":"image_26112025_02_07_00_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/26/cf352d37557da9d315223ca0c73b4039.jpg","text":"TemporaryFile(/tmp/multipartBody4772153463408938865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129042956,"filename":"image_26112025_02_06_54_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396200204","file1":"1396200164","file0":"1396200126","file4":"1396200282","file5":"1396200320","file3":"1396200245"},"map_files_photo_id_array":[{"photo_id":"1396200320","filename":"file5"},{"photo_id":"1396200204","filename":"file2"},{"photo_id":"1396200282","filename":"file4"},{"photo_id":"1396200164","filename":"file1"},{"photo_id":"1396200126","filename":"file0"},{"photo_id":"1396200245","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396200164":["hashtag1","hashtag2"]},{"1396200245":["hashtag1","hashtag2"]},{"1396200320":["hashtag1","hashtag2"]},{"1396200282":["hashtag1","hashtag2"]},{"1396200204":["hashtag1","hashtag2"]},{"1396200126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396200164, 1396200245, 1396200320, 1396200282, 1396200204, 1396200126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35778474807739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:50:22.810934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_12_2638.jpg', '/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_14_2694.jpg', '/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_18_3784.jpg', '/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_21_2557.jpg', '/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_23_2727.jpg', '/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_27_3580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_12_2638.jpg
/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_14_2694.jpg
/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_18_3784.jpg
/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_21_2557.jpg
/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_23_2727.jpg
/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_27_3580.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":["1396200446","1396200404","1396200382","1396200379","1396200491","1396200380"],"photo_ids_order":["1396200379","1396200380","1396200382","1396200404","1396200446","1396200491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/662f8163cae23aab690b2cf9f97d12c7.jpg","text":"TemporaryFile(/tmp/multipartBody929332432936484950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129083540,"filename":"image_26112025_02_07_23_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/26/1ca3137e2a17d5fda97500e748cf9332.jpg","text":"TemporaryFile(/tmp/multipartBody3516742207963507777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129083540,"filename":"image_26112025_02_07_21_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/26/861b022361e7b142e7cdabab9c04d4a7.jpg","text":"TemporaryFile(/tmp/multipartBody7275610643792927365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129083540,"filename":"image_26112025_02_07_18_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/26/617f4ebb565fc059fe9984fd7ee838a8.jpg","text":"TemporaryFile(/tmp/multipartBody1712287528411496574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129083540,"filename":"image_26112025_02_07_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/26/189ec6f0596dc412383adc23c852b16b.jpg","text":"TemporaryFile(/tmp/multipartBody3009807533559030483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129083540,"filename":"image_26112025_02_07_27_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/26/38c4dbd49854ff543c5075cef5b05ff5.jpg","text":"TemporaryFile(/tmp/multipartBody7134484624901552417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129083540,"filename":"image_26112025_02_07_14_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396200382","file1":"1396200380","file0":"1396200379","file4":"1396200446","file5":"1396200491","file3":"1396200404"},"map_files_photo_id_array":[{"photo_id":"1396200491","filename":"file5"},{"photo_id":"1396200382","filename":"file2"},{"photo_id":"1396200446","filename":"file4"},{"photo_id":"1396200380","filename":"file1"},{"photo_id":"1396200379","filename":"file0"},{"photo_id":"1396200404","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396200446":["hashtag1","hashtag2"]},{"1396200404":["hashtag1","hashtag2"]},{"1396200382":["hashtag1","hashtag2"]},{"1396200379":["hashtag1","hashtag2"]},{"1396200491":["hashtag1","hashtag2"]},{"1396200380":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396200446, 1396200404, 1396200382, 1396200379, 1396200491, 1396200380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.455111026763916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:51:02.625069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_30_2662.jpg', '/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_32_2638.jpg', '/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_36_3662.jpg', '/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_39_2693.jpg', '/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_41_2689.jpg', '/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_45_3639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_30_2662.jpg
/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_32_2638.jpg
/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_36_3662.jpg
/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_39_2693.jpg
/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_41_2689.jpg
/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_45_3639.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":["1396200575","1396200605","1396200631","1396200634","1396200618","1396200600"],"photo_ids_order":["1396200575","1396200600","1396200605","1396200618","1396200631","1396200634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bc3d1762135bd3ea5a989a3a6254ae91.jpg","text":"TemporaryFile(/tmp/multipartBody6273833813122509916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129123383,"filename":"image_26112025_02_07_30_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/26/0792dd3b4f650124f591e747328d2e7b.jpg","text":"TemporaryFile(/tmp/multipartBody5395570188118542989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129123383,"filename":"image_26112025_02_07_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/26/25aeff712d0f8b5f58e448453b2e6a47.jpg","text":"TemporaryFile(/tmp/multipartBody7360655145068005080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129123383,"filename":"image_26112025_02_07_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/26/f4e49523ffd0c27fdb23b70d1ff8dd92.jpg","text":"TemporaryFile(/tmp/multipartBody6193625396276854610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129123383,"filename":"image_26112025_02_07_45_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/26/4a9c5dc446902bbe96568bb12cbc6533.jpg","text":"TemporaryFile(/tmp/multipartBody2694751881947677741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129123383,"filename":"image_26112025_02_07_39_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f256c28c69844b6afa26a22a3278253b.jpg","text":"TemporaryFile(/tmp/multipartBody9144861078801327527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129123383,"filename":"image_26112025_02_07_32_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396200605","file1":"1396200600","file0":"1396200575","file4":"1396200631","file5":"1396200634","file3":"1396200618"},"map_files_photo_id_array":[{"photo_id":"1396200634","filename":"file5"},{"photo_id":"1396200605","filename":"file2"},{"photo_id":"1396200631","filename":"file4"},{"photo_id":"1396200600","filename":"file1"},{"photo_id":"1396200575","filename":"file0"},{"photo_id":"1396200618","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396200575":["hashtag1","hashtag2"]},{"1396200605":["hashtag1","hashtag2"]},{"1396200631":["hashtag1","hashtag2"]},{"1396200634":["hashtag1","hashtag2"]},{"1396200618":["hashtag1","hashtag2"]},{"1396200600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396200575, 1396200605, 1396200631, 1396200634, 1396200618, 1396200600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28857064247131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:51:41.886370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_48_2617.jpg', '/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_50_2644.jpg', '/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_54_3520.jpg', '/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_56_2535.jpg', '/home/pi/Desktop/images/26112025/02/07/image_26112025_02_08_00_3757.jpg', '/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_03_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_48_2617.jpg
/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_50_2644.jpg
/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_54_3520.jpg
/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_56_2535.jpg
/home/pi/Desktop/images/26112025/02/07/image_26112025_02_08_00_3757.jpg
/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_03_2605.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.574476957321167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:52:02.556742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_48_2617.jpg', '/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_50_2644.jpg', '/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_54_3520.jpg', '/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_56_2535.jpg', '/home/pi/Desktop/images/26112025/02/07/image_26112025_02_08_00_3757.jpg', '/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_03_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_48_2617.jpg
/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_50_2644.jpg
/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_54_3520.jpg
/home/pi/Desktop/images/26112025/02/07/image_26112025_02_07_56_2535.jpg
/home/pi/Desktop/images/26112025/02/07/image_26112025_02_08_00_3757.jpg
/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_03_2605.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":["1396200713","1396200676","1396200715","1396200684","1396200703","1396200695"],"photo_ids_order":["1396200676","1396200684","1396200695","1396200703","1396200713","1396200715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/20a59725a426e1e97d9569d2f02c1b73.jpg","text":"TemporaryFile(/tmp/multipartBody3705969690936819056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129183280,"filename":"image_26112025_02_08_00_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/26/ba532d7da21c585f0cea551705e79957.jpg","text":"TemporaryFile(/tmp/multipartBody905840861102532426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129183280,"filename":"image_26112025_02_07_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/26/8032ae84b82168a013b2924680d14b4c.jpg","text":"TemporaryFile(/tmp/multipartBody8013495595283185608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129183280,"filename":"image_26112025_02_08_03_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/26/eae528d6044cc34347786e3bb7c0b366.jpg","text":"TemporaryFile(/tmp/multipartBody8010639726181464595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129183280,"filename":"image_26112025_02_07_50_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/26/06a8075d8f622489fbc2676b58af673f.jpg","text":"TemporaryFile(/tmp/multipartBody3982995484462904300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129183280,"filename":"image_26112025_02_07_56_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/26/c1336243d9a0aa72efa19ad089809abc.jpg","text":"TemporaryFile(/tmp/multipartBody3685869342261971332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129183280,"filename":"image_26112025_02_07_54_3520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396200695","file1":"1396200684","file0":"1396200676","file4":"1396200713","file5":"1396200715","file3":"1396200703"},"map_files_photo_id_array":[{"photo_id":"1396200715","filename":"file5"},{"photo_id":"1396200695","filename":"file2"},{"photo_id":"1396200713","filename":"file4"},{"photo_id":"1396200684","filename":"file1"},{"photo_id":"1396200676","filename":"file0"},{"photo_id":"1396200703","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396200713":["hashtag1","hashtag2"]},{"1396200676":["hashtag1","hashtag2"]},{"1396200715":["hashtag1","hashtag2"]},{"1396200684":["hashtag1","hashtag2"]},{"1396200703":["hashtag1","hashtag2"]},{"1396200695":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396200713, 1396200676, 1396200715, 1396200684, 1396200703, 1396200695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.85372066497803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:52:42.134841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_05_2742.jpg', '/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_09_3711.jpg', '/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_12_2555.jpg', '/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_14_2649.jpg', '/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_18_3554.jpg', '/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_21_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_05_2742.jpg
/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_09_3711.jpg
/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_12_2555.jpg
/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_14_2649.jpg
/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_18_3554.jpg
/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_21_2653.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.6231517791748047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:53:02.998400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_05_2742.jpg', '/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_09_3711.jpg', '/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_12_2555.jpg', '/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_14_2649.jpg', '/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_18_3554.jpg', '/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_21_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_05_2742.jpg
/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_09_3711.jpg
/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_12_2555.jpg
/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_14_2649.jpg
/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_18_3554.jpg
/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_21_2653.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":["1396200740","1396200743","1396200737","1396200739","1396200741","1396200738"],"photo_ids_order":["1396200737","1396200738","1396200739","1396200740","1396200741","1396200743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/55f1fb4f2270782bcdf87d1fe3bedcf6.jpg","text":"TemporaryFile(/tmp/multipartBody1850277408849631570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129243767,"filename":"image_26112025_02_08_14_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/26/6c247ee803cec70a6c74e7ca29c56b19.jpg","text":"TemporaryFile(/tmp/multipartBody3099296258880793932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129243767,"filename":"image_26112025_02_08_21_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/26/5a67893b2abde38fcc53ca15089768c7.jpg","text":"TemporaryFile(/tmp/multipartBody4603979373395703821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129243767,"filename":"image_26112025_02_08_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/26/3b689a2146c149db4b517d710044dade.jpg","text":"TemporaryFile(/tmp/multipartBody5030350794431013940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129243767,"filename":"image_26112025_02_08_12_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/26/189785f332f810567954c703750deebe.jpg","text":"TemporaryFile(/tmp/multipartBody9118307354216047969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129243767,"filename":"image_26112025_02_08_18_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/26/ba7af2ca27de6a66e143886ad53df1a1.jpg","text":"TemporaryFile(/tmp/multipartBody2169341141961665836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129243767,"filename":"image_26112025_02_08_09_3711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396200739","file1":"1396200738","file0":"1396200737","file4":"1396200741","file5":"1396200743","file3":"1396200740"},"map_files_photo_id_array":[{"photo_id":"1396200743","filename":"file5"},{"photo_id":"1396200739","filename":"file2"},{"photo_id":"1396200741","filename":"file4"},{"photo_id":"1396200738","filename":"file1"},{"photo_id":"1396200737","filename":"file0"},{"photo_id":"1396200740","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396200740":["hashtag1","hashtag2"]},{"1396200743":["hashtag1","hashtag2"]},{"1396200737":["hashtag1","hashtag2"]},{"1396200739":["hashtag1","hashtag2"]},{"1396200741":["hashtag1","hashtag2"]},{"1396200738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396200740, 1396200743, 1396200737, 1396200739, 1396200741, 1396200738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.58465528488159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:53:42.242393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_23_2664.jpg', '/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_27_3756.jpg', '/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_30_2682.jpg', '/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_33_2917.jpg', '/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_35_2809.jpg', '/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_39_3537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_23_2664.jpg
/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_27_3756.jpg
/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_30_2682.jpg
/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_33_2917.jpg
/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_35_2809.jpg
/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_39_3537.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":["1396200760","1396200792","1396200789","1396200794","1396200797","1396200782"],"photo_ids_order":["1396200760","1396200782","1396200789","1396200792","1396200794","1396200797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/598fe3d429710f16bcc5761a28362704.jpg","text":"TemporaryFile(/tmp/multipartBody7575692085118628858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129282953,"filename":"image_26112025_02_08_23_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/26/200d3328b0d4b1aeec4592d065a27368.jpg","text":"TemporaryFile(/tmp/multipartBody6700604717478032990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129282953,"filename":"image_26112025_02_08_33_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/26/66e652823792a6794baa3489d8e7575a.jpg","text":"TemporaryFile(/tmp/multipartBody1609719400980276860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129282953,"filename":"image_26112025_02_08_30_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/26/e768829584d3c43f21684de9fe908f3a.jpg","text":"TemporaryFile(/tmp/multipartBody3050963308519877870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129282953,"filename":"image_26112025_02_08_35_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/26/469f114e77f248cf5f4ebbaa1a67fa0f.jpg","text":"TemporaryFile(/tmp/multipartBody7985468191227421727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129282953,"filename":"image_26112025_02_08_39_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3cd5c471a53e83750c43278e51bc2d54.jpg","text":"TemporaryFile(/tmp/multipartBody421135810385804360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129282953,"filename":"image_26112025_02_08_27_3756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396200789","file1":"1396200782","file0":"1396200760","file4":"1396200794","file5":"1396200797","file3":"1396200792"},"map_files_photo_id_array":[{"photo_id":"1396200797","filename":"file5"},{"photo_id":"1396200789","filename":"file2"},{"photo_id":"1396200794","filename":"file4"},{"photo_id":"1396200782","filename":"file1"},{"photo_id":"1396200760","filename":"file0"},{"photo_id":"1396200792","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396200760":["hashtag1","hashtag2"]},{"1396200792":["hashtag1","hashtag2"]},{"1396200789":["hashtag1","hashtag2"]},{"1396200794":["hashtag1","hashtag2"]},{"1396200797":["hashtag1","hashtag2"]},{"1396200782":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396200760, 1396200792, 1396200789, 1396200794, 1396200797, 1396200782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61534857749939 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:54:22.498795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_42_2647.jpg', '/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_44_2767.jpg', '/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_48_3656.jpg', '/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_51_2549.jpg', '/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_53_2665.jpg', '/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_57_3673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_42_2647.jpg
/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_44_2767.jpg
/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_48_3656.jpg
/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_51_2549.jpg
/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_53_2665.jpg
/home/pi/Desktop/images/26112025/02/08/image_26112025_02_08_57_3673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396200812","1396200815","1396200803","1396200806","1396200808","1396200810"],"photo_ids_order":["1396200803","1396200806","1396200808","1396200810","1396200812","1396200815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a78e486490c27a72c3548916cd9074de.jpg","text":"TemporaryFile(/tmp/multipartBody5010020487366588635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129323232,"filename":"image_26112025_02_08_53_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/26/96ec5c0f1139e3fd0ac7a6b60f0b8248.jpg","text":"TemporaryFile(/tmp/multipartBody3469011037813074450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129323232,"filename":"image_26112025_02_08_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/26/4baa4fbe3bddaeeee4ed189bc84e1bd2.jpg","text":"TemporaryFile(/tmp/multipartBody6494095532239080779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129323232,"filename":"image_26112025_02_08_42_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/26/ef6a22e731049866b6f5f25b80417ece.jpg","text":"TemporaryFile(/tmp/multipartBody4195757410422525966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129323232,"filename":"image_26112025_02_08_44_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/295913707ed345dc8d701e6699e3e06d.jpg","text":"TemporaryFile(/tmp/multipartBody8613549203418614603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129323232,"filename":"image_26112025_02_08_48_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/26/382ee50b6f4172ff45655a29d58d19d3.jpg","text":"TemporaryFile(/tmp/multipartBody831184766068200304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129323232,"filename":"image_26112025_02_08_51_2549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396200808","file1":"1396200806","file0":"1396200803","file4":"1396200812","file5":"1396200815","file3":"1396200810"},"map_files_photo_id_array":[{"photo_id":"1396200815","filename":"file5"},{"photo_id":"1396200808","filename":"file2"},{"photo_id":"1396200812","filename":"file4"},{"photo_id":"1396200806","filename":"file1"},{"photo_id":"1396200803","filename":"file0"},{"photo_id":"1396200810","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396200812":["hashtag1","hashtag2"]},{"1396200815":["hashtag1","hashtag2"]},{"1396200803":["hashtag1","hashtag2"]},{"1396200806":["hashtag1","hashtag2"]},{"1396200808":["hashtag1","hashtag2"]},{"1396200810":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396200812, 1396200815, 1396200803, 1396200806, 1396200808, 1396200810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.270846366882324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:55:03.408558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/08/image_26112025_02_09_00_2696.jpg', '/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_02_2704.jpg', '/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_06_3585.jpg', '/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_08_2520.jpg', '/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_12_3548.jpg', '/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_15_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/08/image_26112025_02_09_00_2696.jpg
/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_02_2704.jpg
/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_06_3585.jpg
/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_08_2520.jpg
/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_12_3548.jpg
/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_15_2642.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":["1396200821","1396200824","1396200823","1396200817","1396200820","1396200819"],"photo_ids_order":["1396200817","1396200819","1396200820","1396200821","1396200823","1396200824"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/08d97ec39229a2369d97285e0bd789ca.jpg","text":"TemporaryFile(/tmp/multipartBody8314253030247582273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129365323,"filename":"image_26112025_02_09_08_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/26/840578fc11fff8cd903aca91c35eef27.jpg","text":"TemporaryFile(/tmp/multipartBody6160619964300768834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129365323,"filename":"image_26112025_02_09_15_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/26/12cf5ba276086afaccd3d78cdddadc6a.jpg","text":"TemporaryFile(/tmp/multipartBody7147552526316026915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129365323,"filename":"image_26112025_02_09_12_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/26/9ae64aedb336210b9eba528f6a6b613e.jpg","text":"TemporaryFile(/tmp/multipartBody1269949617553344265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129365323,"filename":"image_26112025_02_09_00_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/26/21262e2e16a1085210a0f4e5b64f66d7.jpg","text":"TemporaryFile(/tmp/multipartBody1233324302025727814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129365323,"filename":"image_26112025_02_09_06_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/26/462dd2a8b6bd18babf6a17084953ef0f.jpg","text":"TemporaryFile(/tmp/multipartBody7520982434571620920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129365323,"filename":"image_26112025_02_09_02_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396200820","file1":"1396200819","file0":"1396200817","file4":"1396200823","file5":"1396200824","file3":"1396200821"},"map_files_photo_id_array":[{"photo_id":"1396200824","filename":"file5"},{"photo_id":"1396200820","filename":"file2"},{"photo_id":"1396200823","filename":"file4"},{"photo_id":"1396200819","filename":"file1"},{"photo_id":"1396200817","filename":"file0"},{"photo_id":"1396200821","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396200821":["hashtag1","hashtag2"]},{"1396200824":["hashtag1","hashtag2"]},{"1396200823":["hashtag1","hashtag2"]},{"1396200817":["hashtag1","hashtag2"]},{"1396200820":["hashtag1","hashtag2"]},{"1396200819":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396200821, 1396200824, 1396200823, 1396200817, 1396200820, 1396200819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84887433052063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:55:42.707640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_17_2848.jpg', '/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_21_3575.jpg', '/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_24_2755.jpg', '/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_26_2684.jpg', '/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_30_3561.jpg', '/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_33_2762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_17_2848.jpg
/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_21_3575.jpg
/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_24_2755.jpg
/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_26_2684.jpg
/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_30_3561.jpg
/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_33_2762.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":["1396200833","1396200836","1396200832","1396200829","1396200834","1396200831"],"photo_ids_order":["1396200829","1396200831","1396200832","1396200833","1396200834","1396200836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2f543e0c37bb46bd2fcddae526f099da.jpg","text":"TemporaryFile(/tmp/multipartBody807846715049978117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129403392,"filename":"image_26112025_02_09_26_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/26/d9910068c0b4f93429f4331f193ebee3.jpg","text":"TemporaryFile(/tmp/multipartBody3301242046763105693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129403392,"filename":"image_26112025_02_09_33_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/26/776096efa17d879f8d2f1e55f7f2adc9.jpg","text":"TemporaryFile(/tmp/multipartBody3154728198787464576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129403392,"filename":"image_26112025_02_09_24_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b13e0be32c65bf2dd18b1f05e9d377f7.jpg","text":"TemporaryFile(/tmp/multipartBody1975992380792967488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129403392,"filename":"image_26112025_02_09_17_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/26/72da792f7271af2795d1634b5ff61525.jpg","text":"TemporaryFile(/tmp/multipartBody7157805524515386499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129403392,"filename":"image_26112025_02_09_30_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/26/a8428c8cb4d58abc389e17227307b42f.jpg","text":"TemporaryFile(/tmp/multipartBody650482134377422717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129403392,"filename":"image_26112025_02_09_21_3575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396200832","file1":"1396200831","file0":"1396200829","file4":"1396200834","file5":"1396200836","file3":"1396200833"},"map_files_photo_id_array":[{"photo_id":"1396200836","filename":"file5"},{"photo_id":"1396200832","filename":"file2"},{"photo_id":"1396200834","filename":"file4"},{"photo_id":"1396200831","filename":"file1"},{"photo_id":"1396200829","filename":"file0"},{"photo_id":"1396200833","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396200833":["hashtag1","hashtag2"]},{"1396200836":["hashtag1","hashtag2"]},{"1396200832":["hashtag1","hashtag2"]},{"1396200829":["hashtag1","hashtag2"]},{"1396200834":["hashtag1","hashtag2"]},{"1396200831":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396200833, 1396200836, 1396200832, 1396200829, 1396200834, 1396200831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98906135559082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 04:56:22.578932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_35_2641.jpg', '/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_39_3556.jpg', '/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_42_2643.jpg', '/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_44_2716.jpg', '/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_53_2624.jpg', '/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_57_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_35_2641.jpg
/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_39_3556.jpg
/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_42_2643.jpg
/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_44_2716.jpg
/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_53_2624.jpg
/home/pi/Desktop/images/26112025/02/09/image_26112025_02_09_57_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396200851","1396200845","1396200839","1396200848","1396200838","1396200843"],"photo_ids_order":["1396200838","1396200839","1396200843","1396200845","1396200848","1396200851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1f6a004df7c04d710f6517571fd249c5.jpg","text":"TemporaryFile(/tmp/multipartBody3405793017314560036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129443318,"filename":"image_26112025_02_09_57_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/26/f065feeec9a24728676bdd7cd46c9d20.jpg","text":"TemporaryFile(/tmp/multipartBody5645174972627187516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129443318,"filename":"image_26112025_02_09_44_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/26/515adf3ee31c0959f2856880d708fc01.jpg","text":"TemporaryFile(/tmp/multipartBody2087258803554692700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129443318,"filename":"image_26112025_02_09_39_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/26/9a173a5ab3ee194aa89f42a8150f47b8.jpg","text":"TemporaryFile(/tmp/multipartBody2932409648948880773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129443318,"filename":"image_26112025_02_09_53_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/26/55a1c69a51d2e9f2e24c342af53f2874.jpg","text":"TemporaryFile(/tmp/multipartBody4422522230718861235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129443318,"filename":"image_26112025_02_09_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/26/f6251cb9d782449ae3e3e27e973b1066.jpg","text":"TemporaryFile(/tmp/multipartBody4715437981213699340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129443318,"filename":"image_26112025_02_09_42_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396200843","file1":"1396200839","file0":"1396200838","file4":"1396200848","file5":"1396200851","file3":"1396200845"},"map_files_photo_id_array":[{"photo_id":"1396200851","filename":"file5"},{"photo_id":"1396200843","filename":"file2"},{"photo_id":"1396200848","filename":"file4"},{"photo_id":"1396200839","filename":"file1"},{"photo_id":"1396200838","filename":"file0"},{"photo_id":"1396200845","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396200851":["hashtag1","hashtag2"]},{"1396200845":["hashtag1","hashtag2"]},{"1396200839":["hashtag1","hashtag2"]},{"1396200848":["hashtag1","hashtag2"]},{"1396200838":["hashtag1","hashtag2"]},{"1396200843":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396200851, 1396200845, 1396200839, 1396200848, 1396200838, 1396200843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.863131284713745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:57:03.345588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/09/image_26112025_02_10_00_2870.jpg', '/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_02_2761.jpg', '/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_05_2682.jpg', '/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_09_3510.jpg', '/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_11_2760.jpg', '/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_14_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/09/image_26112025_02_10_00_2870.jpg
/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_02_2761.jpg
/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_05_2682.jpg
/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_09_3510.jpg
/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_11_2760.jpg
/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_14_2575.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":["1396200971","1396200853","1396200934","1396201014","1396200899","1396200863"],"photo_ids_order":["1396200853","1396200863","1396200899","1396200934","1396200971","1396201014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c9de22e36a1152e9e07d798d85866c7c.jpg","text":"TemporaryFile(/tmp/multipartBody7414953638836932715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129484102,"filename":"image_26112025_02_10_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/26/fd85c1c37137c4cb6f98aa3068812120.jpg","text":"TemporaryFile(/tmp/multipartBody6071850809693141169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129484102,"filename":"image_26112025_02_10_00_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/26/f059efeea2d89bde9bed01075c020c40.jpg","text":"TemporaryFile(/tmp/multipartBody2145082784618443491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129484102,"filename":"image_26112025_02_10_09_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/26/a97ff447ced72373eae8914312148afc.jpg","text":"TemporaryFile(/tmp/multipartBody2510208061118682154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129484102,"filename":"image_26112025_02_10_14_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/26/bcba14924ea10696a9a8ebd7bb8af17a.jpg","text":"TemporaryFile(/tmp/multipartBody6742507085838909512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129484102,"filename":"image_26112025_02_10_05_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/26/7bb9f0d8a3f7eff65a0c57eb81ce3057.jpg","text":"TemporaryFile(/tmp/multipartBody7825168399862100924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129484102,"filename":"image_26112025_02_10_02_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396200899","file1":"1396200863","file0":"1396200853","file4":"1396200971","file5":"1396201014","file3":"1396200934"},"map_files_photo_id_array":[{"photo_id":"1396201014","filename":"file5"},{"photo_id":"1396200899","filename":"file2"},{"photo_id":"1396200971","filename":"file4"},{"photo_id":"1396200863","filename":"file1"},{"photo_id":"1396200853","filename":"file0"},{"photo_id":"1396200934","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396200971":["hashtag1","hashtag2"]},{"1396200853":["hashtag1","hashtag2"]},{"1396200934":["hashtag1","hashtag2"]},{"1396201014":["hashtag1","hashtag2"]},{"1396200899":["hashtag1","hashtag2"]},{"1396200863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396200971, 1396200853, 1396200934, 1396201014, 1396200899, 1396200863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60538053512573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:57:42.702632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_18_3557.jpg', '/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_20_2582.jpg', '/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_24_3608.jpg', '/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_26_2672.jpg', '/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_29_2771.jpg', '/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_33_3719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_18_3557.jpg
/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_20_2582.jpg
/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_24_3608.jpg
/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_26_2672.jpg
/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_29_2771.jpg
/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_33_3719.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396201120","1396201184","1396201203","1396201121","1396201145","1396201118"],"photo_ids_order":["1396201118","1396201120","1396201121","1396201145","1396201184","1396201203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0308a87ba054df8ce4b671fdafbf9e36.jpg","text":"TemporaryFile(/tmp/multipartBody2002620576450503394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129523371,"filename":"image_26112025_02_10_20_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/26/46439c35bfbc5d94bf088ae5ead00a02.jpg","text":"TemporaryFile(/tmp/multipartBody3514175186040422005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129523371,"filename":"image_26112025_02_10_29_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/26/2092839683d0e2c505e87df26803e34f.jpg","text":"TemporaryFile(/tmp/multipartBody6392655059350400941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129523371,"filename":"image_26112025_02_10_33_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/26/305670d962862b673dd0885254d02ef1.jpg","text":"TemporaryFile(/tmp/multipartBody7149935133389388579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129523371,"filename":"image_26112025_02_10_24_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/26/5914853a013061727b0c1dfd5de8b4a1.jpg","text":"TemporaryFile(/tmp/multipartBody6382255247560986674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129523371,"filename":"image_26112025_02_10_26_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/26/17aa437d0b07baf1ddee439ac0fbbfc3.jpg","text":"TemporaryFile(/tmp/multipartBody590543867789480831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129523371,"filename":"image_26112025_02_10_18_3557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396201121","file1":"1396201120","file0":"1396201118","file4":"1396201184","file5":"1396201203","file3":"1396201145"},"map_files_photo_id_array":[{"photo_id":"1396201203","filename":"file5"},{"photo_id":"1396201121","filename":"file2"},{"photo_id":"1396201184","filename":"file4"},{"photo_id":"1396201120","filename":"file1"},{"photo_id":"1396201118","filename":"file0"},{"photo_id":"1396201145","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396201120":["hashtag1","hashtag2"]},{"1396201184":["hashtag1","hashtag2"]},{"1396201203":["hashtag1","hashtag2"]},{"1396201121":["hashtag1","hashtag2"]},{"1396201145":["hashtag1","hashtag2"]},{"1396201118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396201120, 1396201184, 1396201203, 1396201121, 1396201145, 1396201118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97173714637756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 04:59:03.196190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_36_2623.jpg', '/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_38_2589.jpg', '/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_42_3591.jpg', '/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_44_2640.jpg', '/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_47_2624.jpg', '/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_50_3484.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_36_2623.jpg
/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_38_2589.jpg
/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_42_3591.jpg
/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_44_2640.jpg
/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_47_2624.jpg
/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_50_3484.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":["1396201264","1396201273","1396201255","1396201269","1396201266","1396201271"],"photo_ids_order":["1396201255","1396201264","1396201266","1396201269","1396201271","1396201273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a1b04a5d047ebe9e15f13402cc4551c5.jpg","text":"TemporaryFile(/tmp/multipartBody7486243391173975306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129604106,"filename":"image_26112025_02_10_38_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/26/dca62cd8489504abd7808a967b0d9340.jpg","text":"TemporaryFile(/tmp/multipartBody3388321236217397350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129604106,"filename":"image_26112025_02_10_50_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/26/fc925cc3b106637d84111fe85342e6bd.jpg","text":"TemporaryFile(/tmp/multipartBody5141978993948013730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129604106,"filename":"image_26112025_02_10_36_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/26/81302a3299002a56bd40dd1e8ab81548.jpg","text":"TemporaryFile(/tmp/multipartBody1485289518281722741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129604106,"filename":"image_26112025_02_10_44_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/26/8f519099f8597b198c8c1bd74caaaa21.jpg","text":"TemporaryFile(/tmp/multipartBody6798523897384398285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129604106,"filename":"image_26112025_02_10_42_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/26/96bb55114b74f6d8c8fe5390edc6e157.jpg","text":"TemporaryFile(/tmp/multipartBody7462599916837830183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129604106,"filename":"image_26112025_02_10_47_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396201266","file1":"1396201264","file0":"1396201255","file4":"1396201271","file5":"1396201273","file3":"1396201269"},"map_files_photo_id_array":[{"photo_id":"1396201273","filename":"file5"},{"photo_id":"1396201266","filename":"file2"},{"photo_id":"1396201271","filename":"file4"},{"photo_id":"1396201264","filename":"file1"},{"photo_id":"1396201255","filename":"file0"},{"photo_id":"1396201269","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396201264":["hashtag1","hashtag2"]},{"1396201273":["hashtag1","hashtag2"]},{"1396201255":["hashtag1","hashtag2"]},{"1396201269":["hashtag1","hashtag2"]},{"1396201266":["hashtag1","hashtag2"]},{"1396201271":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396201264, 1396201273, 1396201255, 1396201269, 1396201266, 1396201271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08895707130432 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 04:59:42.131899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_53_2613.jpg', '/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_57_3673.jpg', '/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_59_2595.jpg', '/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_02_2633.jpg', '/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_06_3599.jpg', '/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_08_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_53_2613.jpg
/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_57_3673.jpg
/home/pi/Desktop/images/26112025/02/10/image_26112025_02_10_59_2595.jpg
/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_02_2633.jpg
/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_06_3599.jpg
/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_08_2716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396201486","1396201366","1396201633","1396201404","1396201559","1396201442"],"photo_ids_order":["1396201366","1396201404","1396201442","1396201486","1396201559","1396201633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/52474f1ef545549e24d563620e5daec5.jpg","text":"TemporaryFile(/tmp/multipartBody3510889556329231912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129642822,"filename":"image_26112025_02_11_02_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/26/c878d9a748481c69a99243302cf95dd4.jpg","text":"TemporaryFile(/tmp/multipartBody6977782858488861100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129642822,"filename":"image_26112025_02_10_53_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/26/0d39a4cc8511e39f3370fc4136336235.jpg","text":"TemporaryFile(/tmp/multipartBody6550833806964140428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129642822,"filename":"image_26112025_02_11_08_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/26/20e84b8da98629e54baf2f7bd267dd28.jpg","text":"TemporaryFile(/tmp/multipartBody267752448633260851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129642822,"filename":"image_26112025_02_10_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/26/bc95becb8b4fa2de9e4c3ac816979351.jpg","text":"TemporaryFile(/tmp/multipartBody5580799563060137934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129642822,"filename":"image_26112025_02_11_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/26/8a9e922622f02387010abf4de7652b80.jpg","text":"TemporaryFile(/tmp/multipartBody1971522868732557850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129642822,"filename":"image_26112025_02_10_59_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396201442","file1":"1396201404","file0":"1396201366","file4":"1396201559","file5":"1396201633","file3":"1396201486"},"map_files_photo_id_array":[{"photo_id":"1396201633","filename":"file5"},{"photo_id":"1396201442","filename":"file2"},{"photo_id":"1396201559","filename":"file4"},{"photo_id":"1396201404","filename":"file1"},{"photo_id":"1396201366","filename":"file0"},{"photo_id":"1396201486","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396201486":["hashtag1","hashtag2"]},{"1396201366":["hashtag1","hashtag2"]},{"1396201633":["hashtag1","hashtag2"]},{"1396201404":["hashtag1","hashtag2"]},{"1396201559":["hashtag1","hashtag2"]},{"1396201442":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396201486, 1396201366, 1396201633, 1396201404, 1396201559, 1396201442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68540382385254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:00:22.301523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_11_2775.jpg', '/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_15_3781.jpg', '/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_18_2756.jpg', '/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_20_2581.jpg', '/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_23_2772.jpg', '/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_27_3599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_11_2775.jpg
/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_15_3781.jpg
/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_18_2756.jpg
/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_20_2581.jpg
/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_23_2772.jpg
/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_27_3599.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":["1396201996","1396202125","1396202166","1396202070","1396202201","1396201919"],"photo_ids_order":["1396201919","1396201996","1396202070","1396202125","1396202166","1396202201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0906545f670b35fded52a9096f58fc8f.jpg","text":"TemporaryFile(/tmp/multipartBody7578454054374209381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129683005,"filename":"image_26112025_02_11_15_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/26/b8cf2b9172443e83e7415343490e6c3f.jpg","text":"TemporaryFile(/tmp/multipartBody3581449153220085136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129683005,"filename":"image_26112025_02_11_20_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0876ba8a725f8b2cdbb81a6e4daead8f.jpg","text":"TemporaryFile(/tmp/multipartBody3514749747080563376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129683005,"filename":"image_26112025_02_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/26/c0294cb1b1d9bbc13e176918bb9f2097.jpg","text":"TemporaryFile(/tmp/multipartBody4741819754323135123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129683005,"filename":"image_26112025_02_11_18_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/26/8e37a981942f2c4ea012e038dc32c6d9.jpg","text":"TemporaryFile(/tmp/multipartBody2348435314504985047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129683005,"filename":"image_26112025_02_11_27_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/26/524705ddb58c8832ef8211aa336297a9.jpg","text":"TemporaryFile(/tmp/multipartBody3157428101932339334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129683005,"filename":"image_26112025_02_11_11_2775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396202070","file1":"1396201996","file0":"1396201919","file4":"1396202166","file5":"1396202201","file3":"1396202125"},"map_files_photo_id_array":[{"photo_id":"1396202201","filename":"file5"},{"photo_id":"1396202070","filename":"file2"},{"photo_id":"1396202166","filename":"file4"},{"photo_id":"1396201996","filename":"file1"},{"photo_id":"1396201919","filename":"file0"},{"photo_id":"1396202125","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396201996":["hashtag1","hashtag2"]},{"1396202125":["hashtag1","hashtag2"]},{"1396202166":["hashtag1","hashtag2"]},{"1396202070":["hashtag1","hashtag2"]},{"1396202201":["hashtag1","hashtag2"]},{"1396201919":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396201996, 1396202125, 1396202166, 1396202070, 1396202201, 1396201919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.664737701416016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:01:03.022030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_29_2727.jpg', '/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_32_2667.jpg', '/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_35_3017.jpg', '/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_39_3726.jpg', '/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_41_2514.jpg', '/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_44_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_29_2727.jpg
/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_32_2667.jpg
/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_35_3017.jpg
/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_39_3726.jpg
/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_41_2514.jpg
/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_44_2665.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":["1396202422","1396202526","1396202573","1396202477","1396202609","1396202644"],"photo_ids_order":["1396202422","1396202477","1396202526","1396202573","1396202609","1396202644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1d603e3f7efae0b2d82b619923cded66.jpg","text":"TemporaryFile(/tmp/multipartBody8815614623485676575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129723789,"filename":"image_26112025_02_11_29_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/26/7da5e6f03994e06fe071af61667601bd.jpg","text":"TemporaryFile(/tmp/multipartBody2067432668842773793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129723789,"filename":"image_26112025_02_11_35_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/26/bd48b1e2bfbc10b8ccf34446bf3fa610.jpg","text":"TemporaryFile(/tmp/multipartBody4501530817960588090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129723789,"filename":"image_26112025_02_11_39_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/26/1783b97c1d68130e5551890cb1cceb66.jpg","text":"TemporaryFile(/tmp/multipartBody6520822926562335649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129723789,"filename":"image_26112025_02_11_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/26/5d1802c5e876a765ffbcd297c0d37689.jpg","text":"TemporaryFile(/tmp/multipartBody3008096466506202917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129723789,"filename":"image_26112025_02_11_41_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/26/0eb86f52a4389488b8ded4e74b9af8d7.jpg","text":"TemporaryFile(/tmp/multipartBody3484782869469870094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129723789,"filename":"image_26112025_02_11_44_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396202526","file1":"1396202477","file0":"1396202422","file4":"1396202609","file5":"1396202644","file3":"1396202573"},"map_files_photo_id_array":[{"photo_id":"1396202644","filename":"file5"},{"photo_id":"1396202526","filename":"file2"},{"photo_id":"1396202609","filename":"file4"},{"photo_id":"1396202477","filename":"file1"},{"photo_id":"1396202422","filename":"file0"},{"photo_id":"1396202573","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396202422":["hashtag1","hashtag2"]},{"1396202526":["hashtag1","hashtag2"]},{"1396202573":["hashtag1","hashtag2"]},{"1396202477":["hashtag1","hashtag2"]},{"1396202609":["hashtag1","hashtag2"]},{"1396202644":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396202422, 1396202526, 1396202573, 1396202477, 1396202609, 1396202644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82276487350464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 05:01:42.282774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_47_3583.jpg', '/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_50_2705.jpg', '/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_54_3597.jpg', '/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_57_2779.jpg', '/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_59_2705.jpg', '/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_02_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_47_3583.jpg
/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_50_2705.jpg
/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_54_3597.jpg
/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_57_2779.jpg
/home/pi/Desktop/images/26112025/02/11/image_26112025_02_11_59_2705.jpg
/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_02_2662.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":["1396202713","1396202716","1396202715","1396202717","1396202711","1396202714"],"photo_ids_order":["1396202711","1396202713","1396202714","1396202715","1396202716","1396202717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3707973f2eff224c6c102c93c1f634c3.jpg","text":"TemporaryFile(/tmp/multipartBody4174719836081444779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129762951,"filename":"image_26112025_02_11_50_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/26/f32bc65392f6fb0bc58043046f8cb8ea.jpg","text":"TemporaryFile(/tmp/multipartBody353156995723684623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129762951,"filename":"image_26112025_02_11_59_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/26/0272360bfc33948f5d790deaea367367.jpg","text":"TemporaryFile(/tmp/multipartBody3230387348093250417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129762951,"filename":"image_26112025_02_11_57_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/26/89d9de51d5c5124b43baa396b66361ca.jpg","text":"TemporaryFile(/tmp/multipartBody7871040066627063788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129762951,"filename":"image_26112025_02_12_02_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/26/aa17ef1bd0434aedf6556e53d6cad14e.jpg","text":"TemporaryFile(/tmp/multipartBody4945619592788611861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129762951,"filename":"image_26112025_02_11_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/26/dfa16058e3ff1ee815e24be030c32552.jpg","text":"TemporaryFile(/tmp/multipartBody4272873596497980764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129762951,"filename":"image_26112025_02_11_54_3597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396202714","file1":"1396202713","file0":"1396202711","file4":"1396202716","file5":"1396202717","file3":"1396202715"},"map_files_photo_id_array":[{"photo_id":"1396202717","filename":"file5"},{"photo_id":"1396202714","filename":"file2"},{"photo_id":"1396202716","filename":"file4"},{"photo_id":"1396202713","filename":"file1"},{"photo_id":"1396202711","filename":"file0"},{"photo_id":"1396202715","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396202713":["hashtag1","hashtag2"]},{"1396202716":["hashtag1","hashtag2"]},{"1396202715":["hashtag1","hashtag2"]},{"1396202717":["hashtag1","hashtag2"]},{"1396202711":["hashtag1","hashtag2"]},{"1396202714":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396202713, 1396202716, 1396202715, 1396202717, 1396202711, 1396202714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06455731391907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:02:21.877615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_06_3645.jpg', '/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_08_2713.jpg', '/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_11_2579.jpg', '/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_15_3749.jpg', '/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_17_2574.jpg', '/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_20_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_06_3645.jpg
/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_08_2713.jpg
/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_11_2579.jpg
/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_15_3749.jpg
/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_17_2574.jpg
/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_20_2611.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":["1396202938","1396202830","1396202905","1396202755","1396202793","1396202862"],"photo_ids_order":["1396202755","1396202793","1396202830","1396202862","1396202905","1396202938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4817a741fc1f52718acf543e4a7ec616.jpg","text":"TemporaryFile(/tmp/multipartBody9100019058806224916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129802616,"filename":"image_26112025_02_12_20_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/26/896db0658489507e47294b39509266ca.jpg","text":"TemporaryFile(/tmp/multipartBody4330405272185260357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129802616,"filename":"image_26112025_02_12_11_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/26/1f6d868da683869c2b744df1ace08c50.jpg","text":"TemporaryFile(/tmp/multipartBody5923534431265398966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129802616,"filename":"image_26112025_02_12_17_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/26/bc62289b1816293b0d5afb9282e1bc8f.jpg","text":"TemporaryFile(/tmp/multipartBody1183310579440654898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129802616,"filename":"image_26112025_02_12_06_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/26/2303b6277cc2d18815d19a17c4132378.jpg","text":"TemporaryFile(/tmp/multipartBody3627787755256525523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129802616,"filename":"image_26112025_02_12_08_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/26/2389dcc4071144a950f0e77b343c866e.jpg","text":"TemporaryFile(/tmp/multipartBody9075820833456209430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129802616,"filename":"image_26112025_02_12_15_3749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396202830","file1":"1396202793","file0":"1396202755","file4":"1396202905","file5":"1396202938","file3":"1396202862"},"map_files_photo_id_array":[{"photo_id":"1396202938","filename":"file5"},{"photo_id":"1396202830","filename":"file2"},{"photo_id":"1396202905","filename":"file4"},{"photo_id":"1396202793","filename":"file1"},{"photo_id":"1396202755","filename":"file0"},{"photo_id":"1396202862","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396202938":["hashtag1","hashtag2"]},{"1396202830":["hashtag1","hashtag2"]},{"1396202905":["hashtag1","hashtag2"]},{"1396202755":["hashtag1","hashtag2"]},{"1396202793":["hashtag1","hashtag2"]},{"1396202862":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396202938, 1396202830, 1396202905, 1396202755, 1396202793, 1396202862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.618441104888916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:03:02.701533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_23_3593.jpg', '/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_26_2670.jpg', '/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_29_2794.jpg', '/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_32_3595.jpg', '/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_35_2702.jpg', '/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_39_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_23_3593.jpg
/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_26_2670.jpg
/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_29_2794.jpg
/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_32_3595.jpg
/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_35_2702.jpg
/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_39_3612.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":["1396203028","1396203026","1396202978","1396203023","1396202998","1396203025"],"photo_ids_order":["1396202978","1396202998","1396203023","1396203025","1396203026","1396203028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/38052c672c6b7df63640e23b98144c77.jpg","text":"TemporaryFile(/tmp/multipartBody7076844006992744214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129843481,"filename":"image_26112025_02_12_39_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/26/bc0501e920a311f36d3344fa2e549a09.jpg","text":"TemporaryFile(/tmp/multipartBody3572012888614345543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129843481,"filename":"image_26112025_02_12_35_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/26/45b0377ec18ccfa089b1dcbc6b09326b.jpg","text":"TemporaryFile(/tmp/multipartBody5980273792153482074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129843481,"filename":"image_26112025_02_12_23_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/26/3ea40bfdb932c80214f367dd0d9f7aae.jpg","text":"TemporaryFile(/tmp/multipartBody7111638493346470753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129843481,"filename":"image_26112025_02_12_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/26/43e2a6039ea0bd32254d81a40f5254af.jpg","text":"TemporaryFile(/tmp/multipartBody4469798700392727870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129843481,"filename":"image_26112025_02_12_26_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/26/c6dd364f029e0e03e7564625c8dc8fd8.jpg","text":"TemporaryFile(/tmp/multipartBody5293209042130484552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129843481,"filename":"image_26112025_02_12_32_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396203023","file1":"1396202998","file0":"1396202978","file4":"1396203026","file5":"1396203028","file3":"1396203025"},"map_files_photo_id_array":[{"photo_id":"1396203028","filename":"file5"},{"photo_id":"1396203023","filename":"file2"},{"photo_id":"1396203026","filename":"file4"},{"photo_id":"1396202998","filename":"file1"},{"photo_id":"1396202978","filename":"file0"},{"photo_id":"1396203025","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396203028":["hashtag1","hashtag2"]},{"1396203026":["hashtag1","hashtag2"]},{"1396202978":["hashtag1","hashtag2"]},{"1396203023":["hashtag1","hashtag2"]},{"1396202998":["hashtag1","hashtag2"]},{"1396203025":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396203028, 1396203026, 1396202978, 1396203023, 1396202998, 1396203025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90911316871643 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 05:03:41.935426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_41_2599.jpg', '/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_44_2543.jpg', '/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_48_3620.jpg', '/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_50_2721.jpg', '/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_53_2542.jpg', '/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_56_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_41_2599.jpg
/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_44_2543.jpg
/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_48_3620.jpg
/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_50_2721.jpg
/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_53_2542.jpg
/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_56_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":["1396203090","1396203033","1396203108","1396203036","1396203056","1396203037"],"photo_ids_order":["1396203033","1396203036","1396203037","1396203056","1396203090","1396203108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4f4a7c09efba32c8766fdaf3c3ee3db8.jpg","text":"TemporaryFile(/tmp/multipartBody1534189893689381589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129882604,"filename":"image_26112025_02_12_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/26/88682bf7c57dd25b98abe1256a84a0e5.jpg","text":"TemporaryFile(/tmp/multipartBody6640011211014669636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129882604,"filename":"image_26112025_02_12_41_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/26/0e8a2d7430f07c766608617fbbbd333c.jpg","text":"TemporaryFile(/tmp/multipartBody3844262861017532244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129882604,"filename":"image_26112025_02_12_56_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/26/3f4de51b1874346972750b6759aaea40.jpg","text":"TemporaryFile(/tmp/multipartBody8827660559116262946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129882604,"filename":"image_26112025_02_12_44_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/26/6ab71183dfe1292ed2b3e2104744eec0.jpg","text":"TemporaryFile(/tmp/multipartBody8462719468784498839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129882604,"filename":"image_26112025_02_12_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/26/3a99c735b092f6cb2f3921461727a207.jpg","text":"TemporaryFile(/tmp/multipartBody5603061939159146449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129882604,"filename":"image_26112025_02_12_48_3620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396203037","file1":"1396203036","file0":"1396203033","file4":"1396203090","file5":"1396203108","file3":"1396203056"},"map_files_photo_id_array":[{"photo_id":"1396203108","filename":"file5"},{"photo_id":"1396203037","filename":"file2"},{"photo_id":"1396203090","filename":"file4"},{"photo_id":"1396203036","filename":"file1"},{"photo_id":"1396203033","filename":"file0"},{"photo_id":"1396203056","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396203090":["hashtag1","hashtag2"]},{"1396203033":["hashtag1","hashtag2"]},{"1396203108":["hashtag1","hashtag2"]},{"1396203036":["hashtag1","hashtag2"]},{"1396203056":["hashtag1","hashtag2"]},{"1396203037":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396203090, 1396203033, 1396203108, 1396203036, 1396203056, 1396203037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.703561305999756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:04:22.397488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_59_2707.jpg', '/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_02_2698.jpg', '/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_05_3543.jpg', '/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_08_2794.jpg', '/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_11_2679.jpg', '/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_15_3751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/12/image_26112025_02_12_59_2707.jpg
/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_02_2698.jpg
/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_05_3543.jpg
/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_08_2794.jpg
/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_11_2679.jpg
/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_15_3751.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":["1396203183","1396203156","1396203191","1396203185","1396203179","1396203187"],"photo_ids_order":["1396203156","1396203179","1396203183","1396203185","1396203187","1396203191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/451e487d2b1f5aa9ca3dde10a457d06f.jpg","text":"TemporaryFile(/tmp/multipartBody1693614416516876492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129923113,"filename":"image_26112025_02_13_05_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/779fc994ee27154ff82069680d141016.jpg","text":"TemporaryFile(/tmp/multipartBody7309614720464764552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129923113,"filename":"image_26112025_02_12_59_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ba5cc71190296c312ccd428a5c1a9e39.jpg","text":"TemporaryFile(/tmp/multipartBody1016768525234035389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129923113,"filename":"image_26112025_02_13_15_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/26/562c8469ac71f467a995ab1f5e0658b1.jpg","text":"TemporaryFile(/tmp/multipartBody8642287574622370426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129923113,"filename":"image_26112025_02_13_08_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/26/f73cc607b5da6a69d6b8b73c8ed2f9e1.jpg","text":"TemporaryFile(/tmp/multipartBody5214372762846431985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129923113,"filename":"image_26112025_02_13_02_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/26/e4aef92b8633e0f5d99616b0b9db7715.jpg","text":"TemporaryFile(/tmp/multipartBody5407391999962689260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129923113,"filename":"image_26112025_02_13_11_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396203183","file1":"1396203179","file0":"1396203156","file4":"1396203187","file5":"1396203191","file3":"1396203185"},"map_files_photo_id_array":[{"photo_id":"1396203191","filename":"file5"},{"photo_id":"1396203183","filename":"file2"},{"photo_id":"1396203187","filename":"file4"},{"photo_id":"1396203179","filename":"file1"},{"photo_id":"1396203156","filename":"file0"},{"photo_id":"1396203185","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396203183":["hashtag1","hashtag2"]},{"1396203156":["hashtag1","hashtag2"]},{"1396203191":["hashtag1","hashtag2"]},{"1396203185":["hashtag1","hashtag2"]},{"1396203179":["hashtag1","hashtag2"]},{"1396203187":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396203183, 1396203156, 1396203191, 1396203185, 1396203179, 1396203187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4566376209259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:05:03.097758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_17_2641.jpg', '/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_20_2658.jpg', '/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_24_3670.jpg', '/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_26_2576.jpg', '/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_29_2650.jpg', '/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_32_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_17_2641.jpg
/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_20_2658.jpg
/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_24_3670.jpg
/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_26_2576.jpg
/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_29_2650.jpg
/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_32_3664.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":["1396203270","1396203222","1396203197","1396203199","1396203292","1396203256"],"photo_ids_order":["1396203197","1396203199","1396203222","1396203256","1396203270","1396203292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/37500fa380a307efaf78f191604fd488.jpg","text":"TemporaryFile(/tmp/multipartBody2173961030029387263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129963863,"filename":"image_26112025_02_13_29_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/26/8814c232bffc7c0fda03164467b67abf.jpg","text":"TemporaryFile(/tmp/multipartBody3259060284865499628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129963863,"filename":"image_26112025_02_13_24_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/26/8575a206050c312e058d6f842dca9a53.jpg","text":"TemporaryFile(/tmp/multipartBody6808687752631864236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129963863,"filename":"image_26112025_02_13_17_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/26/2a1838bf786a7ae0c87c6c355a03abd0.jpg","text":"TemporaryFile(/tmp/multipartBody8224200749268690220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129963863,"filename":"image_26112025_02_13_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/26/13d0c608a67d808358fe2131d8eff6cb.jpg","text":"TemporaryFile(/tmp/multipartBody1319194102476676991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129963863,"filename":"image_26112025_02_13_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/26/c5bcb023c54fcbd1344e29cb0ad7ad9a.jpg","text":"TemporaryFile(/tmp/multipartBody8846450839354869297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764129963863,"filename":"image_26112025_02_13_26_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396203222","file1":"1396203199","file0":"1396203197","file4":"1396203270","file5":"1396203292","file3":"1396203256"},"map_files_photo_id_array":[{"photo_id":"1396203292","filename":"file5"},{"photo_id":"1396203222","filename":"file2"},{"photo_id":"1396203270","filename":"file4"},{"photo_id":"1396203199","filename":"file1"},{"photo_id":"1396203197","filename":"file0"},{"photo_id":"1396203256","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396203270":["hashtag1","hashtag2"]},{"1396203222":["hashtag1","hashtag2"]},{"1396203197":["hashtag1","hashtag2"]},{"1396203199":["hashtag1","hashtag2"]},{"1396203292":["hashtag1","hashtag2"]},{"1396203256":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396203270, 1396203222, 1396203197, 1396203199, 1396203292, 1396203256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36226153373718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 05:05:42.582386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_35_2696.jpg', '/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_38_2595.jpg', '/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_41_3641.jpg', '/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_44_2611.jpg', '/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_48_3630.jpg', '/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_50_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_35_2696.jpg
/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_38_2595.jpg
/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_41_3641.jpg
/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_44_2611.jpg
/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_48_3630.jpg
/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_50_2729.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.6006762981414795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:06:03.206840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_35_2696.jpg', '/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_38_2595.jpg', '/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_41_3641.jpg', '/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_44_2611.jpg', '/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_48_3630.jpg', '/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_50_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_35_2696.jpg
/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_38_2595.jpg
/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_41_3641.jpg
/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_44_2611.jpg
/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_48_3630.jpg
/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_50_2729.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":["1396203342","1396203341","1396203350","1396203344","1396203346","1396203343"],"photo_ids_order":["1396203341","1396203342","1396203343","1396203344","1396203346","1396203350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ef930f2b612ed3a1925dd11996a997f6.jpg","text":"TemporaryFile(/tmp/multipartBody4085250735786352283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130023953,"filename":"image_26112025_02_13_38_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/26/efecae2679a14dddddc01d73b04656f6.jpg","text":"TemporaryFile(/tmp/multipartBody2494876195187992294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130023953,"filename":"image_26112025_02_13_35_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/26/ed77094655f547f1318eb51d005e5c46.jpg","text":"TemporaryFile(/tmp/multipartBody2471718719410448150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130023953,"filename":"image_26112025_02_13_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/26/484f1a1b62e6c43f945c5eeb3b06c307.jpg","text":"TemporaryFile(/tmp/multipartBody7349638328764326190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130023953,"filename":"image_26112025_02_13_44_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/26/9cd882659b35ee7a766868f47420e4bb.jpg","text":"TemporaryFile(/tmp/multipartBody3977252853519836848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130023953,"filename":"image_26112025_02_13_48_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/26/9957efff64187c3c3487e1c505be0681.jpg","text":"TemporaryFile(/tmp/multipartBody8613524701278296797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130023953,"filename":"image_26112025_02_13_41_3641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396203343","file1":"1396203342","file0":"1396203341","file4":"1396203346","file5":"1396203350","file3":"1396203344"},"map_files_photo_id_array":[{"photo_id":"1396203350","filename":"file5"},{"photo_id":"1396203343","filename":"file2"},{"photo_id":"1396203346","filename":"file4"},{"photo_id":"1396203342","filename":"file1"},{"photo_id":"1396203341","filename":"file0"},{"photo_id":"1396203344","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396203342":["hashtag1","hashtag2"]},{"1396203341":["hashtag1","hashtag2"]},{"1396203350":["hashtag1","hashtag2"]},{"1396203344":["hashtag1","hashtag2"]},{"1396203346":["hashtag1","hashtag2"]},{"1396203343":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396203342, 1396203341, 1396203350, 1396203344, 1396203346, 1396203343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.803632497787476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 05:06:42.936003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_53_2640.jpg', '/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_56_2628.jpg', '/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_59_3571.jpg', '/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_02_2547.jpg', '/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_06_3822.jpg', '/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_08_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_53_2640.jpg
/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_56_2628.jpg
/home/pi/Desktop/images/26112025/02/13/image_26112025_02_13_59_3571.jpg
/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_02_2547.jpg
/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_06_3822.jpg
/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_08_2768.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":["1396203360","1396203363","1396203362","1396203356","1396203359","1396203361"],"photo_ids_order":["1396203356","1396203359","1396203360","1396203361","1396203362","1396203363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e09b19c7116fce719a3d112f07d91035.jpg","text":"TemporaryFile(/tmp/multipartBody87395543309360689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130063666,"filename":"image_26112025_02_13_59_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/26/7e9eb5d944165a4702cb0d17fe4796dd.jpg","text":"TemporaryFile(/tmp/multipartBody2145387242843055470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130063666,"filename":"image_26112025_02_14_08_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/26/1d89932e632b2fe184f5f9fa22e79cb9.jpg","text":"TemporaryFile(/tmp/multipartBody7542459886668458414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130063666,"filename":"image_26112025_02_14_06_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/26/ce7e214efbdd0b0727ed058183ebff1f.jpg","text":"TemporaryFile(/tmp/multipartBody209302856686508520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130063666,"filename":"image_26112025_02_13_53_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/26/29b01aebc9f8ad14fe16453ef14f6ae5.jpg","text":"TemporaryFile(/tmp/multipartBody145930950295156705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130063666,"filename":"image_26112025_02_13_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/26/a0366ffde5243123784505707970c79d.jpg","text":"TemporaryFile(/tmp/multipartBody1943710816948660767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130063666,"filename":"image_26112025_02_14_02_2547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396203360","file1":"1396203359","file0":"1396203356","file4":"1396203362","file5":"1396203363","file3":"1396203361"},"map_files_photo_id_array":[{"photo_id":"1396203363","filename":"file5"},{"photo_id":"1396203360","filename":"file2"},{"photo_id":"1396203362","filename":"file4"},{"photo_id":"1396203359","filename":"file1"},{"photo_id":"1396203356","filename":"file0"},{"photo_id":"1396203361","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396203360":["hashtag1","hashtag2"]},{"1396203363":["hashtag1","hashtag2"]},{"1396203362":["hashtag1","hashtag2"]},{"1396203356":["hashtag1","hashtag2"]},{"1396203359":["hashtag1","hashtag2"]},{"1396203361":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396203360, 1396203363, 1396203362, 1396203356, 1396203359, 1396203361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1805534362793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:07:22.231954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_11_2540.jpg', '/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_14_3593.jpg', '/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_17_2761.jpg', '/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_20_2555.jpg', '/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_23_3535.jpg', '/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_26_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_11_2540.jpg
/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_14_3593.jpg
/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_17_2761.jpg
/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_20_2555.jpg
/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_23_3535.jpg
/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_26_2609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396203375","1396203372","1396203380","1396203416","1396203370","1396203454"],"photo_ids_order":["1396203370","1396203372","1396203375","1396203380","1396203416","1396203454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0df586b06d860ab3257f2c8e5dadfc2b.jpg","text":"TemporaryFile(/tmp/multipartBody7756788236917621266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130102927,"filename":"image_26112025_02_14_17_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/26/1ac39c7f782789735ab83d5209f20ea5.jpg","text":"TemporaryFile(/tmp/multipartBody923765918770060573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130102927,"filename":"image_26112025_02_14_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/26/f3649a720f03836ea3ae5aec57108126.jpg","text":"TemporaryFile(/tmp/multipartBody214294274745234934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130102927,"filename":"image_26112025_02_14_20_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/26/d3c0c0c56a5fee60626a9b21d9ca0b9c.jpg","text":"TemporaryFile(/tmp/multipartBody2450753177616289476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130102927,"filename":"image_26112025_02_14_23_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/26/844899c88e0232614bc08c19193c2f62.jpg","text":"TemporaryFile(/tmp/multipartBody8617807907739099902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130102927,"filename":"image_26112025_02_14_11_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/26/61fb97528aa350b8bdcbcceed01c31df.jpg","text":"TemporaryFile(/tmp/multipartBody1722629375262392503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130102927,"filename":"image_26112025_02_14_26_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396203375","file1":"1396203372","file0":"1396203370","file4":"1396203416","file5":"1396203454","file3":"1396203380"},"map_files_photo_id_array":[{"photo_id":"1396203454","filename":"file5"},{"photo_id":"1396203375","filename":"file2"},{"photo_id":"1396203416","filename":"file4"},{"photo_id":"1396203372","filename":"file1"},{"photo_id":"1396203370","filename":"file0"},{"photo_id":"1396203380","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396203375":["hashtag1","hashtag2"]},{"1396203372":["hashtag1","hashtag2"]},{"1396203380":["hashtag1","hashtag2"]},{"1396203416":["hashtag1","hashtag2"]},{"1396203370":["hashtag1","hashtag2"]},{"1396203454":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396203375, 1396203372, 1396203380, 1396203416, 1396203370, 1396203454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.87427067756653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:08:04.272282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_30_3601.jpg', '/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_32_2630.jpg', '/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_35_2606.jpg', '/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_38_3602.jpg', '/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_41_2780.jpg', '/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_44_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_30_3601.jpg
/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_32_2630.jpg
/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_35_2606.jpg
/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_38_3602.jpg
/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_41_2780.jpg
/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_44_2692.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":["1396203584","1396203608","1396203611","1396203559","1396203532","1396203597"],"photo_ids_order":["1396203532","1396203559","1396203584","1396203597","1396203608","1396203611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b8450a4df1027d38e188b5d5d301645d.jpg","text":"TemporaryFile(/tmp/multipartBody3803159854895558498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130145120,"filename":"image_26112025_02_14_35_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/26/969802fd263dc24123bd8f114884823d.jpg","text":"TemporaryFile(/tmp/multipartBody7065752369312076296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130145120,"filename":"image_26112025_02_14_41_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/26/f80b18f3b4e35e42830c4ac902aa0a93.jpg","text":"TemporaryFile(/tmp/multipartBody1167554177915768439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130145120,"filename":"image_26112025_02_14_44_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/26/71b0bf6d2a0423ac13c01edc01a144f8.jpg","text":"TemporaryFile(/tmp/multipartBody9056353457513180787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130145120,"filename":"image_26112025_02_14_32_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/81d00e080c2543afacc8e19a6493cceb.jpg","text":"TemporaryFile(/tmp/multipartBody7342942477445889971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130145120,"filename":"image_26112025_02_14_30_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/26/6816c36573f44821d8b0f0e9ac878b19.jpg","text":"TemporaryFile(/tmp/multipartBody8803136650575997971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130145120,"filename":"image_26112025_02_14_38_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396203584","file1":"1396203559","file0":"1396203532","file4":"1396203608","file5":"1396203611","file3":"1396203597"},"map_files_photo_id_array":[{"photo_id":"1396203611","filename":"file5"},{"photo_id":"1396203584","filename":"file2"},{"photo_id":"1396203608","filename":"file4"},{"photo_id":"1396203559","filename":"file1"},{"photo_id":"1396203532","filename":"file0"},{"photo_id":"1396203597","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396203584":["hashtag1","hashtag2"]},{"1396203608":["hashtag1","hashtag2"]},{"1396203611":["hashtag1","hashtag2"]},{"1396203559":["hashtag1","hashtag2"]},{"1396203532":["hashtag1","hashtag2"]},{"1396203597":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396203584, 1396203608, 1396203611, 1396203559, 1396203532, 1396203597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90452766418457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 05:08:43.847756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_47_2713.jpg', '/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_50_3675.jpg', '/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_53_2600.jpg', '/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_56_3558.jpg', '/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_59_2562.jpg', '/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_02_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_47_2713.jpg
/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_50_3675.jpg
/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_53_2600.jpg
/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_56_3558.jpg
/home/pi/Desktop/images/26112025/02/14/image_26112025_02_14_59_2562.jpg
/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_02_2599.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":["1396203622","1396203618","1396203627","1396203615","1396203626","1396203617"],"photo_ids_order":["1396203615","1396203617","1396203618","1396203622","1396203626","1396203627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f13e0b899647ba3216f918118f86ce7a.jpg","text":"TemporaryFile(/tmp/multipartBody9169442115643997555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130184605,"filename":"image_26112025_02_14_56_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/26/a2f9e457e51f6f6b723b7756726e69d9.jpg","text":"TemporaryFile(/tmp/multipartBody1387116749492364749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130184605,"filename":"image_26112025_02_14_53_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/26/68ee1f3746ad0b5e952d09a958170b60.jpg","text":"TemporaryFile(/tmp/multipartBody590141046704112953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130184605,"filename":"image_26112025_02_15_02_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/26/4e6eb05437d4df227ac81f2bd287438a.jpg","text":"TemporaryFile(/tmp/multipartBody7217710083642852651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130184605,"filename":"image_26112025_02_14_47_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/26/04124b1b0c94259fdd5ca9721fdd21ac.jpg","text":"TemporaryFile(/tmp/multipartBody6661013530830169226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130184605,"filename":"image_26112025_02_14_59_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/26/1d59f02a71029cdc86845ca0592a8490.jpg","text":"TemporaryFile(/tmp/multipartBody6069598749017594272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130184605,"filename":"image_26112025_02_14_50_3675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396203618","file1":"1396203617","file0":"1396203615","file4":"1396203626","file5":"1396203627","file3":"1396203622"},"map_files_photo_id_array":[{"photo_id":"1396203627","filename":"file5"},{"photo_id":"1396203618","filename":"file2"},{"photo_id":"1396203626","filename":"file4"},{"photo_id":"1396203617","filename":"file1"},{"photo_id":"1396203615","filename":"file0"},{"photo_id":"1396203622","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396203622":["hashtag1","hashtag2"]},{"1396203618":["hashtag1","hashtag2"]},{"1396203627":["hashtag1","hashtag2"]},{"1396203615":["hashtag1","hashtag2"]},{"1396203626":["hashtag1","hashtag2"]},{"1396203617":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396203622, 1396203618, 1396203627, 1396203615, 1396203626, 1396203617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35876274108887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:09:22.182726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_05_3752.jpg', '/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_08_2573.jpg', '/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_11_2691.jpg', '/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_14_3708.jpg', '/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_20_2658.jpg', '/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_23_3729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_05_3752.jpg
/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_08_2573.jpg
/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_11_2691.jpg
/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_14_3708.jpg
/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_20_2658.jpg
/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_23_3729.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":["1396203642","1396203636","1396203632","1396203638","1396203640","1396203634"],"photo_ids_order":["1396203632","1396203634","1396203636","1396203638","1396203640","1396203642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/284a7dd5447f1f4c25bc8a747613ad85.jpg","text":"TemporaryFile(/tmp/multipartBody7868050944357549460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130222915,"filename":"image_26112025_02_15_23_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/26/c05e48e3ef08dc962bc450f9a7932c31.jpg","text":"TemporaryFile(/tmp/multipartBody2907106620603872549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130222915,"filename":"image_26112025_02_15_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/26/9daa7c4ea6ed91811d904f8ab3feff33.jpg","text":"TemporaryFile(/tmp/multipartBody3278950534801212387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130222915,"filename":"image_26112025_02_15_05_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/26/17bcb38d4825b419502722ee77df6805.jpg","text":"TemporaryFile(/tmp/multipartBody2452486204269975080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130222915,"filename":"image_26112025_02_15_14_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/26/156a2781964281341dd6cce5c6307aa4.jpg","text":"TemporaryFile(/tmp/multipartBody2174506949583648194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130222915,"filename":"image_26112025_02_15_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/26/0fa64694869e24195f1b484d13049bc0.jpg","text":"TemporaryFile(/tmp/multipartBody7115831741626669529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130222915,"filename":"image_26112025_02_15_08_2573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396203636","file1":"1396203634","file0":"1396203632","file4":"1396203640","file5":"1396203642","file3":"1396203638"},"map_files_photo_id_array":[{"photo_id":"1396203642","filename":"file5"},{"photo_id":"1396203636","filename":"file2"},{"photo_id":"1396203640","filename":"file4"},{"photo_id":"1396203634","filename":"file1"},{"photo_id":"1396203632","filename":"file0"},{"photo_id":"1396203638","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396203642":["hashtag1","hashtag2"]},{"1396203636":["hashtag1","hashtag2"]},{"1396203632":["hashtag1","hashtag2"]},{"1396203638":["hashtag1","hashtag2"]},{"1396203640":["hashtag1","hashtag2"]},{"1396203634":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396203642, 1396203636, 1396203632, 1396203638, 1396203640, 1396203634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40058779716492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:10:02.632510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_26_2604.jpg', '/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_29_2797.jpg', '/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_32_3571.jpg', '/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_35_2678.jpg', '/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_38_2618.jpg', '/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_41_3662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_26_2604.jpg
/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_29_2797.jpg
/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_32_3571.jpg
/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_35_2678.jpg
/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_38_2618.jpg
/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_41_3662.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":["1396203654","1396203645","1396203650","1396203644","1396203658","1396203646"],"photo_ids_order":["1396203644","1396203645","1396203646","1396203650","1396203654","1396203658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/02c7751f61699c1a270ce535c86356ac.jpg","text":"TemporaryFile(/tmp/multipartBody2985818392408925961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130263347,"filename":"image_26112025_02_15_38_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/26/61b3ebe6762a5c7c935443590f63fb4f.jpg","text":"TemporaryFile(/tmp/multipartBody6689698049804755395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130263347,"filename":"image_26112025_02_15_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/26/a1768c0491f51b9762e0ba61fb8b90fa.jpg","text":"TemporaryFile(/tmp/multipartBody2073323220073221154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130263347,"filename":"image_26112025_02_15_35_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/26/93c240454a076748e4909f86fb3fab94.jpg","text":"TemporaryFile(/tmp/multipartBody7184739342938170935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130263347,"filename":"image_26112025_02_15_26_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/26/c0c6a6e94dce2caf1f32f1fb923e0c50.jpg","text":"TemporaryFile(/tmp/multipartBody4668683703133222605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130263347,"filename":"image_26112025_02_15_41_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/26/6e779d9277e95dcc12048f338de673e1.jpg","text":"TemporaryFile(/tmp/multipartBody7458384050730835906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130263347,"filename":"image_26112025_02_15_32_3571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396203646","file1":"1396203645","file0":"1396203644","file4":"1396203654","file5":"1396203658","file3":"1396203650"},"map_files_photo_id_array":[{"photo_id":"1396203658","filename":"file5"},{"photo_id":"1396203646","filename":"file2"},{"photo_id":"1396203654","filename":"file4"},{"photo_id":"1396203645","filename":"file1"},{"photo_id":"1396203644","filename":"file0"},{"photo_id":"1396203650","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396203654":["hashtag1","hashtag2"]},{"1396203645":["hashtag1","hashtag2"]},{"1396203650":["hashtag1","hashtag2"]},{"1396203644":["hashtag1","hashtag2"]},{"1396203658":["hashtag1","hashtag2"]},{"1396203646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396203654, 1396203645, 1396203650, 1396203644, 1396203658, 1396203646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72016263008118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 05:10:42.270728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_44_2688.jpg', '/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_46_2598.jpg', '/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_50_3592.jpg', '/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_53_2711.jpg', '/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_56_3558.jpg', '/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_59_2748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_44_2688.jpg
/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_46_2598.jpg
/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_50_3592.jpg
/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_53_2711.jpg
/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_56_3558.jpg
/home/pi/Desktop/images/26112025/02/15/image_26112025_02_15_59_2748.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":["1396203677","1396203758","1396203668","1396203836","1396203796","1396203718"],"photo_ids_order":["1396203668","1396203677","1396203718","1396203758","1396203796","1396203836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8fee3017f75d156b805f0835019be2d1.jpg","text":"TemporaryFile(/tmp/multipartBody6313037089094827886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130302969,"filename":"image_26112025_02_15_46_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/26/c67719854161de2c89468ab5a0c86de7.jpg","text":"TemporaryFile(/tmp/multipartBody2011581952623181084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130302969,"filename":"image_26112025_02_15_53_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/26/b1fd5d8b21cbf53df31caf4190d66300.jpg","text":"TemporaryFile(/tmp/multipartBody6884283924470984595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130302969,"filename":"image_26112025_02_15_44_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c9535126014363ec304f4f1ad6332243.jpg","text":"TemporaryFile(/tmp/multipartBody2315214462782994141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130302969,"filename":"image_26112025_02_15_59_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/26/cf9ef7e1c380767732ad265419fb46b8.jpg","text":"TemporaryFile(/tmp/multipartBody274252952033241822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130302969,"filename":"image_26112025_02_15_56_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/26/56c9cbfacc6e6f23e21b4bcc13516630.jpg","text":"TemporaryFile(/tmp/multipartBody2281421292910653953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130302969,"filename":"image_26112025_02_15_50_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396203718","file1":"1396203677","file0":"1396203668","file4":"1396203796","file5":"1396203836","file3":"1396203758"},"map_files_photo_id_array":[{"photo_id":"1396203836","filename":"file5"},{"photo_id":"1396203718","filename":"file2"},{"photo_id":"1396203796","filename":"file4"},{"photo_id":"1396203677","filename":"file1"},{"photo_id":"1396203668","filename":"file0"},{"photo_id":"1396203758","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396203677":["hashtag1","hashtag2"]},{"1396203758":["hashtag1","hashtag2"]},{"1396203668":["hashtag1","hashtag2"]},{"1396203836":["hashtag1","hashtag2"]},{"1396203796":["hashtag1","hashtag2"]},{"1396203718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396203677, 1396203758, 1396203668, 1396203836, 1396203796, 1396203718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06564927101135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:11:22.378124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_02_2596.jpg', '/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_05_3597.jpg', '/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_08_2623.jpg', '/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_11_2599.jpg', '/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_14_3675.jpg', '/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_17_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_02_2596.jpg
/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_05_3597.jpg
/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_08_2623.jpg
/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_11_2599.jpg
/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_14_3675.jpg
/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_17_2578.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":["1396204164","1396204125","1396204082","1396204043","1396204205","1396204000"],"photo_ids_order":["1396204000","1396204043","1396204082","1396204125","1396204164","1396204205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b4666dbc201d93b60b58ffc56ad341e7.jpg","text":"TemporaryFile(/tmp/multipartBody2821962278634551087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130343080,"filename":"image_26112025_02_16_14_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/26/7ec0c48d693dfdcaa9179f00768a40ea.jpg","text":"TemporaryFile(/tmp/multipartBody8355877186613529354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130343080,"filename":"image_26112025_02_16_11_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/26/6f08bf44d871f88bec0000c79383600d.jpg","text":"TemporaryFile(/tmp/multipartBody6488602492469374247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130343080,"filename":"image_26112025_02_16_08_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/26/114da9b31bed9bf0d06ee0fd64085e73.jpg","text":"TemporaryFile(/tmp/multipartBody1389959206324756633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130343080,"filename":"image_26112025_02_16_05_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/26/83bede0dd8a8b714634ba6a017b693f0.jpg","text":"TemporaryFile(/tmp/multipartBody7824284964917817057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130343080,"filename":"image_26112025_02_16_17_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/26/7bad8b9bcf36c2969fd475dd5c29c0f8.jpg","text":"TemporaryFile(/tmp/multipartBody324190705574999629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130343080,"filename":"image_26112025_02_16_02_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396204082","file1":"1396204043","file0":"1396204000","file4":"1396204164","file5":"1396204205","file3":"1396204125"},"map_files_photo_id_array":[{"photo_id":"1396204205","filename":"file5"},{"photo_id":"1396204082","filename":"file2"},{"photo_id":"1396204164","filename":"file4"},{"photo_id":"1396204043","filename":"file1"},{"photo_id":"1396204000","filename":"file0"},{"photo_id":"1396204125","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396204164":["hashtag1","hashtag2"]},{"1396204125":["hashtag1","hashtag2"]},{"1396204082":["hashtag1","hashtag2"]},{"1396204043":["hashtag1","hashtag2"]},{"1396204205":["hashtag1","hashtag2"]},{"1396204000":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396204164, 1396204125, 1396204082, 1396204043, 1396204205, 1396204000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0721755027771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:12:02.610849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_20_3605.jpg', '/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_24_3146.jpg', '/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_26_2656.jpg', '/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_29_2642.jpg', '/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_32_2691.jpg', '/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_35_3604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_20_3605.jpg
/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_24_3146.jpg
/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_26_2656.jpg
/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_29_2642.jpg
/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_32_2691.jpg
/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_35_3604.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":["1396204458","1396204422","1396204530","1396204343","1396204378","1396204494"],"photo_ids_order":["1396204343","1396204378","1396204422","1396204458","1396204494","1396204530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/885cd62816b05997e6e585a163e49b68.jpg","text":"TemporaryFile(/tmp/multipartBody8249634743774034932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130383350,"filename":"image_26112025_02_16_29_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e722f1b4eab2efbe5923ae14802e0c1c.jpg","text":"TemporaryFile(/tmp/multipartBody6074634450866671448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130383350,"filename":"image_26112025_02_16_26_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/26/4e103333dd0083b959da3ae1053a242d.jpg","text":"TemporaryFile(/tmp/multipartBody818704257828833154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130383350,"filename":"image_26112025_02_16_35_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/26/9c3915a578ef95f26d68964a86e0ddc6.jpg","text":"TemporaryFile(/tmp/multipartBody263896244666085491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130383350,"filename":"image_26112025_02_16_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/26/097d0afc9c5c6617659e4b8e6fda31d7.jpg","text":"TemporaryFile(/tmp/multipartBody383538605578440480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130383350,"filename":"image_26112025_02_16_24_3146.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/020ced632b52cf09cbe551d8e8a45a06.jpg","text":"TemporaryFile(/tmp/multipartBody5582929264389044869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130383350,"filename":"image_26112025_02_16_32_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396204422","file1":"1396204378","file0":"1396204343","file4":"1396204494","file5":"1396204530","file3":"1396204458"},"map_files_photo_id_array":[{"photo_id":"1396204530","filename":"file5"},{"photo_id":"1396204422","filename":"file2"},{"photo_id":"1396204494","filename":"file4"},{"photo_id":"1396204378","filename":"file1"},{"photo_id":"1396204343","filename":"file0"},{"photo_id":"1396204458","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396204458":["hashtag1","hashtag2"]},{"1396204422":["hashtag1","hashtag2"]},{"1396204530":["hashtag1","hashtag2"]},{"1396204343":["hashtag1","hashtag2"]},{"1396204378":["hashtag1","hashtag2"]},{"1396204494":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396204458, 1396204422, 1396204530, 1396204343, 1396204378, 1396204494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78353953361511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 05:12:42.207331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_38_2650.jpg', '/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_40_2638.jpg', '/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_44_3531.jpg', '/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_46_2508.jpg', '/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_50_3812.jpg', '/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_53_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_38_2650.jpg
/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_40_2638.jpg
/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_44_3531.jpg
/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_46_2508.jpg
/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_50_3812.jpg
/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_53_2548.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":["1396204560","1396204557","1396204562","1396204567","1396204552","1396204564"],"photo_ids_order":["1396204552","1396204557","1396204560","1396204562","1396204564","1396204567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c8a3b72224345947d2ccefd9274a07bb.jpg","text":"TemporaryFile(/tmp/multipartBody5695501737283660473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130422947,"filename":"image_26112025_02_16_44_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/26/88c4b3b4d402daf89da8154e23a91052.jpg","text":"TemporaryFile(/tmp/multipartBody4519171594717547544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130422947,"filename":"image_26112025_02_16_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/26/28f284b9fdfae2c82b0e676a26d95d48.jpg","text":"TemporaryFile(/tmp/multipartBody3221423404618153581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130422947,"filename":"image_26112025_02_16_46_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/26/ac221c88f4d56cc53908a80dea08051a.jpg","text":"TemporaryFile(/tmp/multipartBody2325899790387225165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130422947,"filename":"image_26112025_02_16_53_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/26/70312ac838593f103814c49826bcde1a.jpg","text":"TemporaryFile(/tmp/multipartBody5895738020706530782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130422947,"filename":"image_26112025_02_16_38_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/26/1db29091b34d2afda200447951bee9df.jpg","text":"TemporaryFile(/tmp/multipartBody480511764648559826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130422947,"filename":"image_26112025_02_16_50_3812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396204560","file1":"1396204557","file0":"1396204552","file4":"1396204564","file5":"1396204567","file3":"1396204562"},"map_files_photo_id_array":[{"photo_id":"1396204567","filename":"file5"},{"photo_id":"1396204560","filename":"file2"},{"photo_id":"1396204564","filename":"file4"},{"photo_id":"1396204557","filename":"file1"},{"photo_id":"1396204552","filename":"file0"},{"photo_id":"1396204562","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396204560":["hashtag1","hashtag2"]},{"1396204557":["hashtag1","hashtag2"]},{"1396204562":["hashtag1","hashtag2"]},{"1396204567":["hashtag1","hashtag2"]},{"1396204552":["hashtag1","hashtag2"]},{"1396204564":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396204560, 1396204557, 1396204562, 1396204567, 1396204552, 1396204564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.338106632232666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:13:22.415541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_55_2632.jpg', '/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_59_3522.jpg', '/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_02_2617.jpg', '/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_05_3665.jpg', '/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_08_2719.jpg', '/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_11_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_55_2632.jpg
/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_59_3522.jpg
/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_02_2617.jpg
/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_05_3665.jpg
/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_08_2719.jpg
/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_11_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.6044461727142334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:13:32.397532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_55_2632.jpg', '/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_59_3522.jpg', '/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_02_2617.jpg', '/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_05_3665.jpg', '/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_08_2719.jpg', '/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_11_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_55_2632.jpg
/home/pi/Desktop/images/26112025/02/16/image_26112025_02_16_59_3522.jpg
/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_02_2617.jpg
/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_05_3665.jpg
/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_08_2719.jpg
/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_11_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":["1396204767","1396204800","1396204803","1396204802","1396204804","1396204797"],"photo_ids_order":["1396204767","1396204797","1396204800","1396204802","1396204803","1396204804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/979cabc31c33c810c5cb52a94fd17643.jpg","text":"TemporaryFile(/tmp/multipartBody4178099401940677077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130473120,"filename":"image_26112025_02_16_55_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/26/fab46946270824b2f4a401056b158ab1.jpg","text":"TemporaryFile(/tmp/multipartBody5252965583385043431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130473120,"filename":"image_26112025_02_17_02_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/26/d197cc710900bb0626427deaee2465c8.jpg","text":"TemporaryFile(/tmp/multipartBody8968798379565830706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130473120,"filename":"image_26112025_02_17_08_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/26/21887a237a4d1cf72bf2391bbed27ab7.jpg","text":"TemporaryFile(/tmp/multipartBody824458350434053884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130473120,"filename":"image_26112025_02_17_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/26/7b0c9aac068c2607a9d243a5e580b5ce.jpg","text":"TemporaryFile(/tmp/multipartBody810417981612317440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130473120,"filename":"image_26112025_02_17_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/26/eafe0b016a24b8b46e95805ad0f21c2d.jpg","text":"TemporaryFile(/tmp/multipartBody3558247473233898942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130473120,"filename":"image_26112025_02_16_59_3522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396204800","file1":"1396204797","file0":"1396204767","file4":"1396204803","file5":"1396204804","file3":"1396204802"},"map_files_photo_id_array":[{"photo_id":"1396204804","filename":"file5"},{"photo_id":"1396204800","filename":"file2"},{"photo_id":"1396204803","filename":"file4"},{"photo_id":"1396204797","filename":"file1"},{"photo_id":"1396204767","filename":"file0"},{"photo_id":"1396204802","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396204767":["hashtag1","hashtag2"]},{"1396204800":["hashtag1","hashtag2"]},{"1396204803":["hashtag1","hashtag2"]},{"1396204802":["hashtag1","hashtag2"]},{"1396204804":["hashtag1","hashtag2"]},{"1396204797":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396204767, 1396204800, 1396204803, 1396204802, 1396204804, 1396204797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.080793380737305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:14:12.527082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_14_3675.jpg', '/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_17_2681.jpg', '/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_20_2731.jpg', '/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_22_2732.jpg', '/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_26_3684.jpg', '/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_29_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_14_3675.jpg
/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_17_2681.jpg
/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_20_2731.jpg
/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_22_2732.jpg
/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_26_3684.jpg
/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_29_2629.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":["1396204932","1396204934","1396204937","1396204939","1396204930","1396204912"],"photo_ids_order":["1396204912","1396204930","1396204932","1396204934","1396204937","1396204939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c0c5b84424b2e34f9fb2281b4ce95f74.jpg","text":"TemporaryFile(/tmp/multipartBody2247414052770059186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130513224,"filename":"image_26112025_02_17_20_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b3a56587dab3f974c90e2d8a300c8fc9.jpg","text":"TemporaryFile(/tmp/multipartBody5664009396252143496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130513224,"filename":"image_26112025_02_17_22_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/26/e3431cbe5a5dc005c7991a8e4e7a9127.jpg","text":"TemporaryFile(/tmp/multipartBody1558629285937932930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130513224,"filename":"image_26112025_02_17_26_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/26/c4bbf06efe93c949ed473c0861696533.jpg","text":"TemporaryFile(/tmp/multipartBody2662417907480671077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130513224,"filename":"image_26112025_02_17_29_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/26/18fbcfd3b7a6d0b7ca58d58eb1f95418.jpg","text":"TemporaryFile(/tmp/multipartBody3509605474089821554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130513224,"filename":"image_26112025_02_17_17_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/26/a56c4a77e639f4f575b29e014e4ba7ce.jpg","text":"TemporaryFile(/tmp/multipartBody3808963799966625461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130513224,"filename":"image_26112025_02_17_14_3675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396204932","file1":"1396204930","file0":"1396204912","file4":"1396204937","file5":"1396204939","file3":"1396204934"},"map_files_photo_id_array":[{"photo_id":"1396204939","filename":"file5"},{"photo_id":"1396204932","filename":"file2"},{"photo_id":"1396204937","filename":"file4"},{"photo_id":"1396204930","filename":"file1"},{"photo_id":"1396204912","filename":"file0"},{"photo_id":"1396204934","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396204932":["hashtag1","hashtag2"]},{"1396204934":["hashtag1","hashtag2"]},{"1396204937":["hashtag1","hashtag2"]},{"1396204939":["hashtag1","hashtag2"]},{"1396204930":["hashtag1","hashtag2"]},{"1396204912":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396204932, 1396204934, 1396204937, 1396204939, 1396204930, 1396204912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91722559928894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:15:03.469755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_31_2602.jpg', '/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_35_3532.jpg', '/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_38_2691.jpg', '/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_41_3592.jpg', '/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_44_2699.jpg', '/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_47_2787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_31_2602.jpg
/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_35_3532.jpg
/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_38_2691.jpg
/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_41_3592.jpg
/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_44_2699.jpg
/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_47_2787.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":["1396205159","1396205120","1396205086","1396205044","1396204963","1396205005"],"photo_ids_order":["1396204963","1396205005","1396205044","1396205086","1396205120","1396205159"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3fcc0e1ebd7884cde9f6c0537124a332.jpg","text":"TemporaryFile(/tmp/multipartBody5549316290617660106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130564220,"filename":"image_26112025_02_17_47_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/26/4df86ed57cd8652d997f947aef881c51.jpg","text":"TemporaryFile(/tmp/multipartBody1672909273044833753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130564220,"filename":"image_26112025_02_17_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/26/30556c95e9b524445064b132e551e9de.jpg","text":"TemporaryFile(/tmp/multipartBody8563314837343812937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130564220,"filename":"image_26112025_02_17_41_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/26/d629d355c61278ee897b04013208f5ca.jpg","text":"TemporaryFile(/tmp/multipartBody6633596718865601604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130564220,"filename":"image_26112025_02_17_38_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/26/ce1fdc50c7b04f1796c0c71dd5833ed9.jpg","text":"TemporaryFile(/tmp/multipartBody1716641656556938296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130564220,"filename":"image_26112025_02_17_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/26/534dd0ff7763faade5853a11e89fbca5.jpg","text":"TemporaryFile(/tmp/multipartBody7856090594826102502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130564220,"filename":"image_26112025_02_17_35_3532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205044","file1":"1396205005","file0":"1396204963","file4":"1396205120","file5":"1396205159","file3":"1396205086"},"map_files_photo_id_array":[{"photo_id":"1396205159","filename":"file5"},{"photo_id":"1396205044","filename":"file2"},{"photo_id":"1396205120","filename":"file4"},{"photo_id":"1396205005","filename":"file1"},{"photo_id":"1396204963","filename":"file0"},{"photo_id":"1396205086","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205159":["hashtag1","hashtag2"]},{"1396205120":["hashtag1","hashtag2"]},{"1396205086":["hashtag1","hashtag2"]},{"1396205044":["hashtag1","hashtag2"]},{"1396204963":["hashtag1","hashtag2"]},{"1396205005":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205159, 1396205120, 1396205086, 1396205044, 1396204963, 1396205005)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.03411412239075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:16:02.463952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_49_2624.jpg', '/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_56_2776.jpg', '/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_58_2565.jpg', '/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_02_3646.jpg', '/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_05_2655.jpg', '/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_08_3542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_49_2624.jpg
/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_56_2776.jpg
/home/pi/Desktop/images/26112025/02/17/image_26112025_02_17_58_2565.jpg
/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_02_3646.jpg
/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_05_2655.jpg
/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_08_3542.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":["1396205213","1396205219","1396205218","1396205212","1396205221","1396205215"],"photo_ids_order":["1396205212","1396205213","1396205215","1396205218","1396205219","1396205221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/78e8d151689533de3c527cace302b73a.jpg","text":"TemporaryFile(/tmp/multipartBody5583036051528997856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130623193,"filename":"image_26112025_02_17_56_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/26/627ac53a4ce51703a0a9f56e42286e7c.jpg","text":"TemporaryFile(/tmp/multipartBody8133408196823035869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130623193,"filename":"image_26112025_02_18_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/26/bac4a40fbf08e2a5c1aa275cb6320029.jpg","text":"TemporaryFile(/tmp/multipartBody6506003893391122849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130623193,"filename":"image_26112025_02_18_02_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/26/ff8d615288510363cbfd321d3f94fea5.jpg","text":"TemporaryFile(/tmp/multipartBody7934515631570865075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130623193,"filename":"image_26112025_02_17_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/26/6a2cb8e2a17032c58caf42e293bf0c09.jpg","text":"TemporaryFile(/tmp/multipartBody8552021034129418378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130623193,"filename":"image_26112025_02_18_08_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/26/a3e84ea24ff193f1eae363b6a0dc891f.jpg","text":"TemporaryFile(/tmp/multipartBody6927408005759892391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130623193,"filename":"image_26112025_02_17_58_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205215","file1":"1396205213","file0":"1396205212","file4":"1396205219","file5":"1396205221","file3":"1396205218"},"map_files_photo_id_array":[{"photo_id":"1396205221","filename":"file5"},{"photo_id":"1396205215","filename":"file2"},{"photo_id":"1396205219","filename":"file4"},{"photo_id":"1396205213","filename":"file1"},{"photo_id":"1396205212","filename":"file0"},{"photo_id":"1396205218","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205213":["hashtag1","hashtag2"]},{"1396205219":["hashtag1","hashtag2"]},{"1396205218":["hashtag1","hashtag2"]},{"1396205212":["hashtag1","hashtag2"]},{"1396205221":["hashtag1","hashtag2"]},{"1396205215":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205213, 1396205219, 1396205218, 1396205212, 1396205221, 1396205215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51418375968933 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 05:16:41.989714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_11_2568.jpg', '/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_13_2635.jpg', '/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_17_3589.jpg', '/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_20_2593.jpg', '/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_22_2873.jpg', '/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_26_3599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_11_2568.jpg
/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_13_2635.jpg
/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_17_3589.jpg
/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_20_2593.jpg
/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_22_2873.jpg
/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_26_3599.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":["1396205246","1396205240","1396205237","1396205248","1396205233","1396205247"],"photo_ids_order":["1396205233","1396205237","1396205240","1396205246","1396205247","1396205248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/82773a4f54c621c0e0fea384f683e6da.jpg","text":"TemporaryFile(/tmp/multipartBody4039283379994735702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130662734,"filename":"image_26112025_02_18_20_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/26/80cd90245736b24fa91fa615d57be961.jpg","text":"TemporaryFile(/tmp/multipartBody7892945234022768931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130662734,"filename":"image_26112025_02_18_17_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/26/faa08483b4a1f90484a3b0fa877eed80.jpg","text":"TemporaryFile(/tmp/multipartBody2479736813661560387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130662734,"filename":"image_26112025_02_18_13_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/26/fdf882ab96b1bdad97001e57c90b3ae5.jpg","text":"TemporaryFile(/tmp/multipartBody2619675044919818665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130662734,"filename":"image_26112025_02_18_26_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/26/7c20c7ca4ea43a82c7f58489c408820d.jpg","text":"TemporaryFile(/tmp/multipartBody5315056062826295018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130662734,"filename":"image_26112025_02_18_11_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/26/c0265cfc8ff4ab0d318cf7a3328bf828.jpg","text":"TemporaryFile(/tmp/multipartBody5189819263029047802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130662734,"filename":"image_26112025_02_18_22_2873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205240","file1":"1396205237","file0":"1396205233","file4":"1396205247","file5":"1396205248","file3":"1396205246"},"map_files_photo_id_array":[{"photo_id":"1396205248","filename":"file5"},{"photo_id":"1396205240","filename":"file2"},{"photo_id":"1396205247","filename":"file4"},{"photo_id":"1396205237","filename":"file1"},{"photo_id":"1396205233","filename":"file0"},{"photo_id":"1396205246","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205246":["hashtag1","hashtag2"]},{"1396205240":["hashtag1","hashtag2"]},{"1396205237":["hashtag1","hashtag2"]},{"1396205248":["hashtag1","hashtag2"]},{"1396205233":["hashtag1","hashtag2"]},{"1396205247":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205246, 1396205240, 1396205237, 1396205248, 1396205233, 1396205247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.650346994400024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:17:22.189126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_29_2535.jpg', '/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_32_3591.jpg', '/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_35_2560.jpg', '/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_37_2662.jpg', '/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_41_3811.jpg', '/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_44_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_29_2535.jpg
/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_32_3591.jpg
/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_35_2560.jpg
/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_37_2662.jpg
/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_41_3811.jpg
/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_44_2666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396205264","1396205266","1396205260","1396205254","1396205257","1396205262"],"photo_ids_order":["1396205254","1396205257","1396205260","1396205262","1396205264","1396205266"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/43ff7d48144760e20778ed528ed94f5d.jpg","text":"TemporaryFile(/tmp/multipartBody2731353566461516852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130702895,"filename":"image_26112025_02_18_41_3811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8dfe043dd98ef5d497d80485f03041ea.jpg","text":"TemporaryFile(/tmp/multipartBody4025260901585662383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130702895,"filename":"image_26112025_02_18_44_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/26/f9ec5dd9c44b2bf434a4683518f6fed6.jpg","text":"TemporaryFile(/tmp/multipartBody2003749456690917431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130702895,"filename":"image_26112025_02_18_35_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/26/68b0024464cd5be8a792cadbbb4f689f.jpg","text":"TemporaryFile(/tmp/multipartBody455731856023144775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130702895,"filename":"image_26112025_02_18_29_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/26/d55741fd84d93dc098e89e11367b349e.jpg","text":"TemporaryFile(/tmp/multipartBody5744870044720783636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130702895,"filename":"image_26112025_02_18_32_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/26/25f8f34f224948275f3cb03e4d0219de.jpg","text":"TemporaryFile(/tmp/multipartBody342597451661802740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130702895,"filename":"image_26112025_02_18_37_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205260","file1":"1396205257","file0":"1396205254","file4":"1396205264","file5":"1396205266","file3":"1396205262"},"map_files_photo_id_array":[{"photo_id":"1396205266","filename":"file5"},{"photo_id":"1396205260","filename":"file2"},{"photo_id":"1396205264","filename":"file4"},{"photo_id":"1396205257","filename":"file1"},{"photo_id":"1396205254","filename":"file0"},{"photo_id":"1396205262","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205264":["hashtag1","hashtag2"]},{"1396205266":["hashtag1","hashtag2"]},{"1396205260":["hashtag1","hashtag2"]},{"1396205254":["hashtag1","hashtag2"]},{"1396205257":["hashtag1","hashtag2"]},{"1396205262":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205264, 1396205266, 1396205260, 1396205254, 1396205257, 1396205262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9062066078186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:18:02.745704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_47_2781.jpg', '/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_50_3560.jpg', '/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_53_2675.jpg', '/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_56_2759.jpg', '/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_58_2810.jpg', '/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_02_3586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_47_2781.jpg
/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_50_3560.jpg
/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_53_2675.jpg
/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_56_2759.jpg
/home/pi/Desktop/images/26112025/02/18/image_26112025_02_18_58_2810.jpg
/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_02_3586.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":["1396205276","1396205273","1396205267","1396205269","1396205280","1396205268"],"photo_ids_order":["1396205267","1396205268","1396205269","1396205273","1396205276","1396205280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c3a5f0213bbd3aa578c8d84f7c784ed6.jpg","text":"TemporaryFile(/tmp/multipartBody6511281487226104015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130743488,"filename":"image_26112025_02_18_58_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/26/7330729a029e363817218c973c9c41a1.jpg","text":"TemporaryFile(/tmp/multipartBody583310746723986116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130743488,"filename":"image_26112025_02_18_56_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/26/3d956307ad0f94dddcb396691f9a4d56.jpg","text":"TemporaryFile(/tmp/multipartBody4407915612425372635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130743488,"filename":"image_26112025_02_18_47_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/26/218ccc7a6506e3e54745849a7fa219ba.jpg","text":"TemporaryFile(/tmp/multipartBody5077671956264576145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130743488,"filename":"image_26112025_02_18_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/26/7d8b981eb216783bf364e44379ebe94b.jpg","text":"TemporaryFile(/tmp/multipartBody665904639929868100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130743488,"filename":"image_26112025_02_19_02_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/26/74bc1fae3e481c0f1363d4740dfca392.jpg","text":"TemporaryFile(/tmp/multipartBody6780061282607554463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130743488,"filename":"image_26112025_02_18_50_3560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205269","file1":"1396205268","file0":"1396205267","file4":"1396205276","file5":"1396205280","file3":"1396205273"},"map_files_photo_id_array":[{"photo_id":"1396205280","filename":"file5"},{"photo_id":"1396205269","filename":"file2"},{"photo_id":"1396205276","filename":"file4"},{"photo_id":"1396205268","filename":"file1"},{"photo_id":"1396205267","filename":"file0"},{"photo_id":"1396205273","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205276":["hashtag1","hashtag2"]},{"1396205273":["hashtag1","hashtag2"]},{"1396205267":["hashtag1","hashtag2"]},{"1396205269":["hashtag1","hashtag2"]},{"1396205280":["hashtag1","hashtag2"]},{"1396205268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205276, 1396205273, 1396205267, 1396205269, 1396205280, 1396205268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.347548961639404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 05:18:42.317983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_05_2628.jpg', '/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_07_2650.jpg', '/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_11_3635.jpg', '/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_13_2557.jpg', '/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_16_2699.jpg', '/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_20_3760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_05_2628.jpg
/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_07_2650.jpg
/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_11_3635.jpg
/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_13_2557.jpg
/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_16_2699.jpg
/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_20_3760.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":["1396205294","1396205293","1396205296","1396205295","1396205292","1396205289"],"photo_ids_order":["1396205289","1396205292","1396205293","1396205294","1396205295","1396205296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/942588d27338f2d2c0edbe834d95f744.jpg","text":"TemporaryFile(/tmp/multipartBody4716632838204180882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130783056,"filename":"image_26112025_02_19_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/26/2a3dff65cb6c082096a1d3790b413efb.jpg","text":"TemporaryFile(/tmp/multipartBody3278103605896474920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130783056,"filename":"image_26112025_02_19_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/26/c176304e0b2d5ff67928c31b5a9fb632.jpg","text":"TemporaryFile(/tmp/multipartBody3523494175920246999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130783056,"filename":"image_26112025_02_19_20_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/26/ed341fe6f03322d088db20e5b652365f.jpg","text":"TemporaryFile(/tmp/multipartBody3851671667378638459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130783056,"filename":"image_26112025_02_19_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/26/478a7ae3884bf41731d40b2e5f5eb2d1.jpg","text":"TemporaryFile(/tmp/multipartBody3696209161427454137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130783056,"filename":"image_26112025_02_19_07_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b8a1571c656a7c5d491d1512a005ea93.jpg","text":"TemporaryFile(/tmp/multipartBody7528471208661951276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130783056,"filename":"image_26112025_02_19_05_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205293","file1":"1396205292","file0":"1396205289","file4":"1396205295","file5":"1396205296","file3":"1396205294"},"map_files_photo_id_array":[{"photo_id":"1396205296","filename":"file5"},{"photo_id":"1396205293","filename":"file2"},{"photo_id":"1396205295","filename":"file4"},{"photo_id":"1396205292","filename":"file1"},{"photo_id":"1396205289","filename":"file0"},{"photo_id":"1396205294","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205294":["hashtag1","hashtag2"]},{"1396205293":["hashtag1","hashtag2"]},{"1396205296":["hashtag1","hashtag2"]},{"1396205295":["hashtag1","hashtag2"]},{"1396205292":["hashtag1","hashtag2"]},{"1396205289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205294, 1396205293, 1396205296, 1396205295, 1396205292, 1396205289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25547909736633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:19:22.490689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_23_2641.jpg', '/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_26_3524.jpg', '/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_29_2594.jpg', '/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_31_2651.jpg', '/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_35_3600.jpg', '/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_38_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_23_2641.jpg
/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_26_3524.jpg
/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_29_2594.jpg
/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_31_2651.jpg
/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_35_3600.jpg
/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_38_2794.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":["1396205324","1396205318","1396205327","1396205320","1396205311","1396205322"],"photo_ids_order":["1396205311","1396205318","1396205320","1396205322","1396205324","1396205327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/988b7b26b073e5aec85a3eb60f20e459.jpg","text":"TemporaryFile(/tmp/multipartBody6055907192280505564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130823212,"filename":"image_26112025_02_19_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/26/125839a19cc9eb2d2fac846e3745e08f.jpg","text":"TemporaryFile(/tmp/multipartBody5669033788753083363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130823212,"filename":"image_26112025_02_19_26_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/26/8fe5a8a2e96f9790826c97fa384e0e28.jpg","text":"TemporaryFile(/tmp/multipartBody6826787523761460358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130823212,"filename":"image_26112025_02_19_38_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/26/e2ce7d11a57d2ddb4d6014c94fe6413b.jpg","text":"TemporaryFile(/tmp/multipartBody3292314536610712870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130823212,"filename":"image_26112025_02_19_29_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/26/1f0a4407253b359020168d52637ba986.jpg","text":"TemporaryFile(/tmp/multipartBody45741847976719969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130823212,"filename":"image_26112025_02_19_23_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/26/8f99314d84c02d17cc196afd48b5b324.jpg","text":"TemporaryFile(/tmp/multipartBody2965516577275690859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130823212,"filename":"image_26112025_02_19_31_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205320","file1":"1396205318","file0":"1396205311","file4":"1396205324","file5":"1396205327","file3":"1396205322"},"map_files_photo_id_array":[{"photo_id":"1396205327","filename":"file5"},{"photo_id":"1396205320","filename":"file2"},{"photo_id":"1396205324","filename":"file4"},{"photo_id":"1396205318","filename":"file1"},{"photo_id":"1396205311","filename":"file0"},{"photo_id":"1396205322","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205324":["hashtag1","hashtag2"]},{"1396205318":["hashtag1","hashtag2"]},{"1396205327":["hashtag1","hashtag2"]},{"1396205320":["hashtag1","hashtag2"]},{"1396205311":["hashtag1","hashtag2"]},{"1396205322":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205324, 1396205318, 1396205327, 1396205320, 1396205311, 1396205322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12552547454834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:20:02.403886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_40_2581.jpg', '/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_43_2784.jpg', '/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_47_3667.jpg', '/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_49_2739.jpg', '/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_53_3548.jpg', '/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_56_2529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_40_2581.jpg
/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_43_2784.jpg
/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_47_3667.jpg
/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_49_2739.jpg
/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_53_3548.jpg
/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_56_2529.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":["1396205341","1396205335","1396205329","1396205338","1396205331","1396205328"],"photo_ids_order":["1396205328","1396205329","1396205331","1396205335","1396205338","1396205341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/446a6a428b23e083999626857ee77338.jpg","text":"TemporaryFile(/tmp/multipartBody2043951516987167612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130863108,"filename":"image_26112025_02_19_56_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/26/48dc4eca47d43cee9094e61cfea93ee1.jpg","text":"TemporaryFile(/tmp/multipartBody3941874929186386623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130863108,"filename":"image_26112025_02_19_49_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/26/eb2bb3e75b80b5826b2b726ff28515d3.jpg","text":"TemporaryFile(/tmp/multipartBody3772901536709303315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130863108,"filename":"image_26112025_02_19_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/26/b9e86740be6e2936b50fb5d6f6888d25.jpg","text":"TemporaryFile(/tmp/multipartBody3466030878600632041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130863108,"filename":"image_26112025_02_19_53_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/26/7d73cc1125545c0dd73f3a44740cbfaf.jpg","text":"TemporaryFile(/tmp/multipartBody6945098792208204576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130863108,"filename":"image_26112025_02_19_47_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/26/41d010403cc922e5b67e5e3f47a6cb4d.jpg","text":"TemporaryFile(/tmp/multipartBody6367340151265478377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130863108,"filename":"image_26112025_02_19_40_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205331","file1":"1396205329","file0":"1396205328","file4":"1396205338","file5":"1396205341","file3":"1396205335"},"map_files_photo_id_array":[{"photo_id":"1396205341","filename":"file5"},{"photo_id":"1396205331","filename":"file2"},{"photo_id":"1396205338","filename":"file4"},{"photo_id":"1396205329","filename":"file1"},{"photo_id":"1396205328","filename":"file0"},{"photo_id":"1396205335","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205341":["hashtag1","hashtag2"]},{"1396205335":["hashtag1","hashtag2"]},{"1396205329":["hashtag1","hashtag2"]},{"1396205338":["hashtag1","hashtag2"]},{"1396205331":["hashtag1","hashtag2"]},{"1396205328":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205341, 1396205335, 1396205329, 1396205338, 1396205331, 1396205328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79823088645935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 05:20:41.953769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_58_2589.jpg', '/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_02_3716.jpg', '/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_04_2589.jpg', '/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_07_2623.jpg', '/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_11_3703.jpg', '/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_13_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/19/image_26112025_02_19_58_2589.jpg
/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_02_3716.jpg
/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_04_2589.jpg
/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_07_2623.jpg
/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_11_3703.jpg
/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_13_2598.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":["1396205354","1396205351","1396205348","1396205353","1396205356","1396205355"],"photo_ids_order":["1396205348","1396205351","1396205353","1396205354","1396205355","1396205356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5e2fd5fbb177851779b9fea8455dcb12.jpg","text":"TemporaryFile(/tmp/multipartBody5439224775250872917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130902692,"filename":"image_26112025_02_20_07_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/26/f3fcd119f79295d00135a495b9e7e14e.jpg","text":"TemporaryFile(/tmp/multipartBody2827846189615409641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130902692,"filename":"image_26112025_02_20_02_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/26/b566f74dad459bb13abc073b53c970a6.jpg","text":"TemporaryFile(/tmp/multipartBody5690781555650894598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130902692,"filename":"image_26112025_02_19_58_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/26/95c4d0a47e8a08239d80b513982e228e.jpg","text":"TemporaryFile(/tmp/multipartBody4959939976490302175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130902692,"filename":"image_26112025_02_20_04_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/26/42d2d8264526d2f262c859bc377a46fa.jpg","text":"TemporaryFile(/tmp/multipartBody5941819551064141733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130902692,"filename":"image_26112025_02_20_13_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/26/deb49ba1c932fdf6cb445e1113b00bd1.jpg","text":"TemporaryFile(/tmp/multipartBody3848403357652220476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130902692,"filename":"image_26112025_02_20_11_3703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205353","file1":"1396205351","file0":"1396205348","file4":"1396205355","file5":"1396205356","file3":"1396205354"},"map_files_photo_id_array":[{"photo_id":"1396205356","filename":"file5"},{"photo_id":"1396205353","filename":"file2"},{"photo_id":"1396205355","filename":"file4"},{"photo_id":"1396205351","filename":"file1"},{"photo_id":"1396205348","filename":"file0"},{"photo_id":"1396205354","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205354":["hashtag1","hashtag2"]},{"1396205351":["hashtag1","hashtag2"]},{"1396205348":["hashtag1","hashtag2"]},{"1396205353":["hashtag1","hashtag2"]},{"1396205356":["hashtag1","hashtag2"]},{"1396205355":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205354, 1396205351, 1396205348, 1396205353, 1396205356, 1396205355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77754759788513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:21:22.143639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_16_2760.jpg', '/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_20_3591.jpg', '/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_22_2488.jpg', '/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_26_3672.jpg', '/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_29_2624.jpg', '/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_31_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_16_2760.jpg
/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_20_3591.jpg
/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_22_2488.jpg
/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_26_3672.jpg
/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_29_2624.jpg
/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_31_2617.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":["1396205375","1396205371","1396205368","1396205377","1396205379","1396205373"],"photo_ids_order":["1396205368","1396205371","1396205373","1396205375","1396205377","1396205379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c141f66997107965197f73fbf01414ad.jpg","text":"TemporaryFile(/tmp/multipartBody7364800139395379975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130942874,"filename":"image_26112025_02_20_26_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/26/67224d11d07d0632c4f9f85db184949c.jpg","text":"TemporaryFile(/tmp/multipartBody4685015688015355982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130942874,"filename":"image_26112025_02_20_20_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/26/27c0fc6115b8609f4ef694bd7d93256c.jpg","text":"TemporaryFile(/tmp/multipartBody8046838778639173659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130942874,"filename":"image_26112025_02_20_16_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/26/c6bb32fdf60ec4284032fb4e3893bc7e.jpg","text":"TemporaryFile(/tmp/multipartBody2526337957596595679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130942874,"filename":"image_26112025_02_20_29_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/26/129f6c7c30a1c4895160fc12eff344e4.jpg","text":"TemporaryFile(/tmp/multipartBody5242657402891209325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130942874,"filename":"image_26112025_02_20_31_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/26/dd9c1dbd2a9ad3331b9c4c52994c14dd.jpg","text":"TemporaryFile(/tmp/multipartBody965142157737708928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130942874,"filename":"image_26112025_02_20_22_2488.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205373","file1":"1396205371","file0":"1396205368","file4":"1396205377","file5":"1396205379","file3":"1396205375"},"map_files_photo_id_array":[{"photo_id":"1396205379","filename":"file5"},{"photo_id":"1396205373","filename":"file2"},{"photo_id":"1396205377","filename":"file4"},{"photo_id":"1396205371","filename":"file1"},{"photo_id":"1396205368","filename":"file0"},{"photo_id":"1396205375","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205375":["hashtag1","hashtag2"]},{"1396205371":["hashtag1","hashtag2"]},{"1396205368":["hashtag1","hashtag2"]},{"1396205377":["hashtag1","hashtag2"]},{"1396205379":["hashtag1","hashtag2"]},{"1396205373":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205375, 1396205371, 1396205368, 1396205377, 1396205379, 1396205373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81412959098816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:22:02.362414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_35_3687.jpg', '/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_38_2698.jpg', '/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_40_2597.jpg', '/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_44_3691.jpg', '/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_46_2602.jpg', '/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_49_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_35_3687.jpg
/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_38_2698.jpg
/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_40_2597.jpg
/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_44_3691.jpg
/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_46_2602.jpg
/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_49_2590.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":["1396205408","1396205389","1396205404","1396205394","1396205391","1396205399"],"photo_ids_order":["1396205389","1396205391","1396205394","1396205399","1396205404","1396205408"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/52a6a9e16c853c3ea62a8f10be97735d.jpg","text":"TemporaryFile(/tmp/multipartBody3852724763376462165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130983131,"filename":"image_26112025_02_20_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/26/6dea67b47ed9cc019249498890cab868.jpg","text":"TemporaryFile(/tmp/multipartBody994500777884111712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130983131,"filename":"image_26112025_02_20_35_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/26/157697c27ab983f6dcfd071ca56e9873.jpg","text":"TemporaryFile(/tmp/multipartBody4696835569014274439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130983131,"filename":"image_26112025_02_20_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/26/d14ce80eb0878c986ec8c35712459bfd.jpg","text":"TemporaryFile(/tmp/multipartBody6289051864550705216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130983131,"filename":"image_26112025_02_20_40_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4463202fc8bcdabde926bbad4977b03e.jpg","text":"TemporaryFile(/tmp/multipartBody272432927208310685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130983131,"filename":"image_26112025_02_20_38_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3c4f58742eb57c9eb6aefb6ab06abfde.jpg","text":"TemporaryFile(/tmp/multipartBody6473892849891276124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764130983131,"filename":"image_26112025_02_20_44_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205394","file1":"1396205391","file0":"1396205389","file4":"1396205404","file5":"1396205408","file3":"1396205399"},"map_files_photo_id_array":[{"photo_id":"1396205408","filename":"file5"},{"photo_id":"1396205394","filename":"file2"},{"photo_id":"1396205404","filename":"file4"},{"photo_id":"1396205391","filename":"file1"},{"photo_id":"1396205389","filename":"file0"},{"photo_id":"1396205399","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205408":["hashtag1","hashtag2"]},{"1396205389":["hashtag1","hashtag2"]},{"1396205404":["hashtag1","hashtag2"]},{"1396205394":["hashtag1","hashtag2"]},{"1396205391":["hashtag1","hashtag2"]},{"1396205399":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205408, 1396205389, 1396205404, 1396205394, 1396205391, 1396205399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38497352600098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 05:22:42.132006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_53_3583.jpg', '/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_55_2593.jpg', '/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_59_3587.jpg', '/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_02_2898.jpg', '/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_04_2563.jpg', '/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_08_3687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_53_3583.jpg
/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_55_2593.jpg
/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_59_3587.jpg
/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_02_2898.jpg
/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_04_2563.jpg
/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_08_3687.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.624413013458252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:23:03.029608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_53_3583.jpg', '/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_55_2593.jpg', '/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_59_3587.jpg', '/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_02_2898.jpg', '/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_04_2563.jpg', '/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_08_3687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_53_3583.jpg
/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_55_2593.jpg
/home/pi/Desktop/images/26112025/02/20/image_26112025_02_20_59_3587.jpg
/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_02_2898.jpg
/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_04_2563.jpg
/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_08_3687.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":["1396205480","1396205468","1396205482","1396205479","1396205476","1396205472"],"photo_ids_order":["1396205468","1396205472","1396205476","1396205479","1396205480","1396205482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e3b3bcc4ed03497f6eca1b4e4ec742ba.jpg","text":"TemporaryFile(/tmp/multipartBody269752698061636614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131043789,"filename":"image_26112025_02_21_04_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/26/fee510db643c95c2f03240d613829635.jpg","text":"TemporaryFile(/tmp/multipartBody8119477803909071696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131043789,"filename":"image_26112025_02_20_53_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/26/cbdef187bd6db4994e43fe1b5e14c7aa.jpg","text":"TemporaryFile(/tmp/multipartBody5383231180398729678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131043789,"filename":"image_26112025_02_21_08_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/26/52b104c82a3bb60a332512d8d371e013.jpg","text":"TemporaryFile(/tmp/multipartBody2871154360872051563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131043789,"filename":"image_26112025_02_21_02_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/26/ff9c0f36759c7f4a7c4c0ad6fcbf4c7d.jpg","text":"TemporaryFile(/tmp/multipartBody8386429179197935421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131043789,"filename":"image_26112025_02_20_59_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/26/1f2646ff011a0831ce68b900992a503d.jpg","text":"TemporaryFile(/tmp/multipartBody8984988142990759321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131043789,"filename":"image_26112025_02_20_55_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205476","file1":"1396205472","file0":"1396205468","file4":"1396205480","file5":"1396205482","file3":"1396205479"},"map_files_photo_id_array":[{"photo_id":"1396205482","filename":"file5"},{"photo_id":"1396205476","filename":"file2"},{"photo_id":"1396205480","filename":"file4"},{"photo_id":"1396205472","filename":"file1"},{"photo_id":"1396205468","filename":"file0"},{"photo_id":"1396205479","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205480":["hashtag1","hashtag2"]},{"1396205468":["hashtag1","hashtag2"]},{"1396205482":["hashtag1","hashtag2"]},{"1396205479":["hashtag1","hashtag2"]},{"1396205476":["hashtag1","hashtag2"]},{"1396205472":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205480, 1396205468, 1396205482, 1396205479, 1396205476, 1396205472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.539427042007446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 05:23:42.251444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_11_2682.jpg', '/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_13_2650.jpg', '/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_17_3644.jpg', '/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_19_2569.jpg', '/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_22_2774.jpg', '/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_26_3559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_11_2682.jpg
/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_13_2650.jpg
/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_17_3644.jpg
/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_19_2569.jpg
/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_22_2774.jpg
/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_26_3559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396205492","1396205491","1396205494","1396205488","1396205493","1396205490"],"photo_ids_order":["1396205488","1396205490","1396205491","1396205492","1396205493","1396205494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d714173b0a746da4bf4f121366a27d2b.jpg","text":"TemporaryFile(/tmp/multipartBody2821824437461861475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131082948,"filename":"image_26112025_02_21_19_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/26/18e8c4264ad6279078d82ba033049b7f.jpg","text":"TemporaryFile(/tmp/multipartBody5594594905439265354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131082948,"filename":"image_26112025_02_21_17_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/26/4836d2e5ca998c018afb2c6550573356.jpg","text":"TemporaryFile(/tmp/multipartBody8439451198150194406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131082948,"filename":"image_26112025_02_21_26_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/26/14ef72d130c6212fc3ca9e3c5b509bd9.jpg","text":"TemporaryFile(/tmp/multipartBody6582785924600224283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131082948,"filename":"image_26112025_02_21_11_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/26/0ccf24f8153e9d24a8d67ae15d68b3aa.jpg","text":"TemporaryFile(/tmp/multipartBody5994689085616547442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131082948,"filename":"image_26112025_02_21_22_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/26/4a59f4ad75cd169365264d1dabcbd023.jpg","text":"TemporaryFile(/tmp/multipartBody634860551163491847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131082948,"filename":"image_26112025_02_21_13_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205491","file1":"1396205490","file0":"1396205488","file4":"1396205493","file5":"1396205494","file3":"1396205492"},"map_files_photo_id_array":[{"photo_id":"1396205494","filename":"file5"},{"photo_id":"1396205491","filename":"file2"},{"photo_id":"1396205493","filename":"file4"},{"photo_id":"1396205490","filename":"file1"},{"photo_id":"1396205488","filename":"file0"},{"photo_id":"1396205492","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205492":["hashtag1","hashtag2"]},{"1396205491":["hashtag1","hashtag2"]},{"1396205494":["hashtag1","hashtag2"]},{"1396205488":["hashtag1","hashtag2"]},{"1396205493":["hashtag1","hashtag2"]},{"1396205490":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205492, 1396205491, 1396205494, 1396205488, 1396205493, 1396205490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30941915512085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:24:22.557458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_29_2729.jpg', '/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_31_2585.jpg', '/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_35_3729.jpg', '/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_37_2585.jpg', '/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_40_2785.jpg', '/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_44_3570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_29_2729.jpg
/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_31_2585.jpg
/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_35_3729.jpg
/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_37_2585.jpg
/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_40_2785.jpg
/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_44_3570.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":["1396205502","1396205510","1396205504","1396205500","1396205506","1396205508"],"photo_ids_order":["1396205500","1396205502","1396205504","1396205506","1396205508","1396205510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a21e801da79e97fc0522342ec2a88304.jpg","text":"TemporaryFile(/tmp/multipartBody6766243802909843839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131123261,"filename":"image_26112025_02_21_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/26/17d55aa66483143922bf1c2d65888fc0.jpg","text":"TemporaryFile(/tmp/multipartBody5270755947321023572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131123261,"filename":"image_26112025_02_21_44_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/26/eb2f486f4460b69922f04aa499f0852f.jpg","text":"TemporaryFile(/tmp/multipartBody4779327357766418060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131123261,"filename":"image_26112025_02_21_35_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/26/5f92244043493a96cf1feaa736d91adb.jpg","text":"TemporaryFile(/tmp/multipartBody6652952932513208352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131123261,"filename":"image_26112025_02_21_29_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/26/9f22acb7bd662f8af7439564dc8ecb4b.jpg","text":"TemporaryFile(/tmp/multipartBody2955303324509126297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131123261,"filename":"image_26112025_02_21_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/26/156d68adf90fd00778932e0ffb10ec86.jpg","text":"TemporaryFile(/tmp/multipartBody3869562883360903350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131123261,"filename":"image_26112025_02_21_40_2785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205504","file1":"1396205502","file0":"1396205500","file4":"1396205508","file5":"1396205510","file3":"1396205506"},"map_files_photo_id_array":[{"photo_id":"1396205510","filename":"file5"},{"photo_id":"1396205504","filename":"file2"},{"photo_id":"1396205508","filename":"file4"},{"photo_id":"1396205502","filename":"file1"},{"photo_id":"1396205500","filename":"file0"},{"photo_id":"1396205506","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205502":["hashtag1","hashtag2"]},{"1396205510":["hashtag1","hashtag2"]},{"1396205504":["hashtag1","hashtag2"]},{"1396205500":["hashtag1","hashtag2"]},{"1396205506":["hashtag1","hashtag2"]},{"1396205508":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205502, 1396205510, 1396205504, 1396205500, 1396205506, 1396205508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98550581932068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:25:03.565652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_46_2586.jpg', '/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_49_2792.jpg', '/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_56_2777.jpg', '/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_58_2696.jpg', '/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_01_2759.jpg', '/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_05_3712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_46_2586.jpg
/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_49_2792.jpg
/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_56_2777.jpg
/home/pi/Desktop/images/26112025/02/21/image_26112025_02_21_58_2696.jpg
/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_01_2759.jpg
/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_05_3712.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":["1396205523","1396205517","1396205525","1396205519","1396205528","1396205521"],"photo_ids_order":["1396205517","1396205519","1396205521","1396205523","1396205525","1396205528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f5a312b66a2c396b127177411dc30f7f.jpg","text":"TemporaryFile(/tmp/multipartBody2290576538695817645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131164321,"filename":"image_26112025_02_21_58_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9618852205d0edd4f47e2076f5f6496e.jpg","text":"TemporaryFile(/tmp/multipartBody5924221133297940877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131164321,"filename":"image_26112025_02_21_46_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/26/2a188a5a417beee8f4c328e650f56bf0.jpg","text":"TemporaryFile(/tmp/multipartBody1958935436755502948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131164321,"filename":"image_26112025_02_22_01_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/26/292a27e3b33002e30469b9d641e2b362.jpg","text":"TemporaryFile(/tmp/multipartBody4327526441306427803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131164321,"filename":"image_26112025_02_21_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/26/ff320d47d160bb8c2acea96832fdddf1.jpg","text":"TemporaryFile(/tmp/multipartBody2113380504963649187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131164321,"filename":"image_26112025_02_22_05_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/26/024ee385adf2d32b070ac4bc155228c7.jpg","text":"TemporaryFile(/tmp/multipartBody7483502524561254557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131164321,"filename":"image_26112025_02_21_56_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205521","file1":"1396205519","file0":"1396205517","file4":"1396205525","file5":"1396205528","file3":"1396205523"},"map_files_photo_id_array":[{"photo_id":"1396205528","filename":"file5"},{"photo_id":"1396205521","filename":"file2"},{"photo_id":"1396205525","filename":"file4"},{"photo_id":"1396205519","filename":"file1"},{"photo_id":"1396205517","filename":"file0"},{"photo_id":"1396205523","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205523":["hashtag1","hashtag2"]},{"1396205517":["hashtag1","hashtag2"]},{"1396205525":["hashtag1","hashtag2"]},{"1396205519":["hashtag1","hashtag2"]},{"1396205528":["hashtag1","hashtag2"]},{"1396205521":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205523, 1396205517, 1396205525, 1396205519, 1396205528, 1396205521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47784399986267 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 05:25:42.772730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_07_2627.jpg', '/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_10_2608.jpg', '/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_13_2869.jpg', '/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_16_3578.jpg', '/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_19_2692.jpg', '/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_23_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_07_2627.jpg
/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_10_2608.jpg
/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_13_2869.jpg
/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_16_3578.jpg
/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_19_2692.jpg
/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_23_3685.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":["1396205537","1396205533","1396205536","1396205539","1396205538","1396205535"],"photo_ids_order":["1396205533","1396205535","1396205536","1396205537","1396205538","1396205539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/23a14fffb205d4982ebe04344fa288c3.jpg","text":"TemporaryFile(/tmp/multipartBody5179174410242761910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131203437,"filename":"image_26112025_02_22_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/26/3bc14dc8690820ebbaa7cf66e5b1ff3f.jpg","text":"TemporaryFile(/tmp/multipartBody3182415823816539560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131203437,"filename":"image_26112025_02_22_07_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/26/dc6df8a236080584bedbc0d0366de401.jpg","text":"TemporaryFile(/tmp/multipartBody2523016612656030069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131203437,"filename":"image_26112025_02_22_13_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/26/1564d2228442a2e7a56f6903a9a25eb4.jpg","text":"TemporaryFile(/tmp/multipartBody4310643217520545587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131203437,"filename":"image_26112025_02_22_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/26/f050b86f2291f90ee7f35357f856d923.jpg","text":"TemporaryFile(/tmp/multipartBody1243237036847167913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131203437,"filename":"image_26112025_02_22_19_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e66b2699653a7f9293208898c830b954.jpg","text":"TemporaryFile(/tmp/multipartBody5733423087883381654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131203437,"filename":"image_26112025_02_22_10_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205536","file1":"1396205535","file0":"1396205533","file4":"1396205538","file5":"1396205539","file3":"1396205537"},"map_files_photo_id_array":[{"photo_id":"1396205539","filename":"file5"},{"photo_id":"1396205536","filename":"file2"},{"photo_id":"1396205538","filename":"file4"},{"photo_id":"1396205535","filename":"file1"},{"photo_id":"1396205533","filename":"file0"},{"photo_id":"1396205537","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205537":["hashtag1","hashtag2"]},{"1396205533":["hashtag1","hashtag2"]},{"1396205536":["hashtag1","hashtag2"]},{"1396205539":["hashtag1","hashtag2"]},{"1396205538":["hashtag1","hashtag2"]},{"1396205535":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205537, 1396205533, 1396205536, 1396205539, 1396205538, 1396205535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08841943740845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:26:22.196498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_25_2658.jpg', '/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_28_2606.jpg', '/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_32_3644.jpg', '/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_34_2683.jpg', '/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_37_2607.jpg', '/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_41_3601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_25_2658.jpg
/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_28_2606.jpg
/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_32_3644.jpg
/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_34_2683.jpg
/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_37_2607.jpg
/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_41_3601.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":["1396205582","1396205584","1396205578","1396205554","1396205586","1396205589"],"photo_ids_order":["1396205554","1396205578","1396205582","1396205584","1396205586","1396205589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/20de96b0a8a40f3b089941a3518942c7.jpg","text":"TemporaryFile(/tmp/multipartBody471059006834543786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131242906,"filename":"image_26112025_02_22_32_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/26/756f7d7bdbfbc4f1d24837f9a76668bd.jpg","text":"TemporaryFile(/tmp/multipartBody7780583967982296243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131242906,"filename":"image_26112025_02_22_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/26/0571c5068c993811c09506f4a993841b.jpg","text":"TemporaryFile(/tmp/multipartBody4046219922482107005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131242906,"filename":"image_26112025_02_22_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/26/7edd549868346802dbd741773a144859.jpg","text":"TemporaryFile(/tmp/multipartBody1672560204901338406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131242906,"filename":"image_26112025_02_22_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/26/0811cf03fc210188b417882547818d12.jpg","text":"TemporaryFile(/tmp/multipartBody2008475688748180032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131242906,"filename":"image_26112025_02_22_37_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2004af26d07a6038479bc2b88a7e6ea9.jpg","text":"TemporaryFile(/tmp/multipartBody7640169757455701205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131242906,"filename":"image_26112025_02_22_41_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205582","file1":"1396205578","file0":"1396205554","file4":"1396205586","file5":"1396205589","file3":"1396205584"},"map_files_photo_id_array":[{"photo_id":"1396205589","filename":"file5"},{"photo_id":"1396205582","filename":"file2"},{"photo_id":"1396205586","filename":"file4"},{"photo_id":"1396205578","filename":"file1"},{"photo_id":"1396205554","filename":"file0"},{"photo_id":"1396205584","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205582":["hashtag1","hashtag2"]},{"1396205584":["hashtag1","hashtag2"]},{"1396205578":["hashtag1","hashtag2"]},{"1396205554":["hashtag1","hashtag2"]},{"1396205586":["hashtag1","hashtag2"]},{"1396205589":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205582, 1396205584, 1396205578, 1396205554, 1396205586, 1396205589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16332030296326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:27:02.976053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_43_2795.jpg', '/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_46_2733.jpg', '/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_50_3626.jpg', '/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_52_2615.jpg', '/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_55_2729.jpg', '/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_59_3609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_43_2795.jpg
/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_46_2733.jpg
/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_50_3626.jpg
/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_52_2615.jpg
/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_55_2729.jpg
/home/pi/Desktop/images/26112025/02/22/image_26112025_02_22_59_3609.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":["1396205603","1396205606","1396205600","1396205608","1396205605","1396205598"],"photo_ids_order":["1396205598","1396205600","1396205603","1396205605","1396205606","1396205608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ffdc4d5a4844c82215da24ed616f473d.jpg","text":"TemporaryFile(/tmp/multipartBody4248670402804024909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131283774,"filename":"image_26112025_02_22_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/26/e331b6b1a96db99939b00a37a7f74bed.jpg","text":"TemporaryFile(/tmp/multipartBody8989661794075864257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131283774,"filename":"image_26112025_02_22_55_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4b5be5404de9db03c0135b8db4bd9780.jpg","text":"TemporaryFile(/tmp/multipartBody8198491586938590645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131283774,"filename":"image_26112025_02_22_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/26/92fe035bdbd475b9ec9c363f06a9e41b.jpg","text":"TemporaryFile(/tmp/multipartBody6034583568027141688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131283774,"filename":"image_26112025_02_22_59_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/26/c4eacd20297ec03dacd47338f17f5fe5.jpg","text":"TemporaryFile(/tmp/multipartBody7458843381889560579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131283774,"filename":"image_26112025_02_22_52_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/26/227d1b33ae725b6d52d433152160bfaa.jpg","text":"TemporaryFile(/tmp/multipartBody4389103588581340197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131283774,"filename":"image_26112025_02_22_43_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205603","file1":"1396205600","file0":"1396205598","file4":"1396205606","file5":"1396205608","file3":"1396205605"},"map_files_photo_id_array":[{"photo_id":"1396205608","filename":"file5"},{"photo_id":"1396205603","filename":"file2"},{"photo_id":"1396205606","filename":"file4"},{"photo_id":"1396205600","filename":"file1"},{"photo_id":"1396205598","filename":"file0"},{"photo_id":"1396205605","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205603":["hashtag1","hashtag2"]},{"1396205606":["hashtag1","hashtag2"]},{"1396205600":["hashtag1","hashtag2"]},{"1396205608":["hashtag1","hashtag2"]},{"1396205605":["hashtag1","hashtag2"]},{"1396205598":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205603, 1396205606, 1396205600, 1396205608, 1396205605, 1396205598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11611843109131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 05:27:42.534313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_01_2520.jpg', '/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_04_2591.jpg', '/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_07_3655.jpg', '/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_10_2663.jpg', '/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_13_2625.jpg', '/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_16_3626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_01_2520.jpg
/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_04_2591.jpg
/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_07_3655.jpg
/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_10_2663.jpg
/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_13_2625.jpg
/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_16_3626.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":["1396205616","1396205615","1396205618","1396205617","1396205619","1396205613"],"photo_ids_order":["1396205613","1396205615","1396205616","1396205617","1396205618","1396205619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ac570798a3b3eb5167f7d15759f71548.jpg","text":"TemporaryFile(/tmp/multipartBody4960097323623842517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131323199,"filename":"image_26112025_02_23_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/26/7e1a50f8ac23805017a336ddb6bb1fdb.jpg","text":"TemporaryFile(/tmp/multipartBody4565947602044035163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131323199,"filename":"image_26112025_02_23_04_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/26/a04eae6f6f8d093462ac1791f1a9814f.jpg","text":"TemporaryFile(/tmp/multipartBody988658512835146368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131323199,"filename":"image_26112025_02_23_13_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/26/77de223ffea2241c213271cd04eeab13.jpg","text":"TemporaryFile(/tmp/multipartBody8053691531114089796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131323199,"filename":"image_26112025_02_23_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/26/3878c404bf02265bf37c6e7a0140daab.jpg","text":"TemporaryFile(/tmp/multipartBody4253769597766211567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131323199,"filename":"image_26112025_02_23_16_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/26/acbc09f9cd50a89a00049d3262b5c291.jpg","text":"TemporaryFile(/tmp/multipartBody7161653856146023714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131323199,"filename":"image_26112025_02_23_01_2520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205616","file1":"1396205615","file0":"1396205613","file4":"1396205618","file5":"1396205619","file3":"1396205617"},"map_files_photo_id_array":[{"photo_id":"1396205619","filename":"file5"},{"photo_id":"1396205616","filename":"file2"},{"photo_id":"1396205618","filename":"file4"},{"photo_id":"1396205615","filename":"file1"},{"photo_id":"1396205613","filename":"file0"},{"photo_id":"1396205617","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205616":["hashtag1","hashtag2"]},{"1396205615":["hashtag1","hashtag2"]},{"1396205618":["hashtag1","hashtag2"]},{"1396205617":["hashtag1","hashtag2"]},{"1396205619":["hashtag1","hashtag2"]},{"1396205613":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205616, 1396205615, 1396205618, 1396205617, 1396205619, 1396205613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94193887710571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:28:22.593320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_19_2570.jpg', '/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_23_3626.jpg', '/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_25_2589.jpg', '/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_28_2555.jpg', '/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_31_3524.jpg', '/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_34_2496.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_19_2570.jpg
/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_23_3626.jpg
/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_25_2589.jpg
/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_28_2555.jpg
/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_31_3524.jpg
/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_34_2496.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.6018037796020508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:28:32.591842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_19_2570.jpg', '/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_23_3626.jpg', '/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_25_2589.jpg', '/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_28_2555.jpg', '/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_31_3524.jpg', '/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_34_2496.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_19_2570.jpg
/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_23_3626.jpg
/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_25_2589.jpg
/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_28_2555.jpg
/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_31_3524.jpg
/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_34_2496.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":["1396205644","1396205632","1396205641","1396205635","1396205638","1396205643"],"photo_ids_order":["1396205632","1396205635","1396205638","1396205641","1396205643","1396205644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bee5d622cdeb5fece255d74f65f92622.jpg","text":"TemporaryFile(/tmp/multipartBody5714564181680788584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131373307,"filename":"image_26112025_02_23_34_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/26/5b5f71b2c254890ab652927c3e06d8f0.jpg","text":"TemporaryFile(/tmp/multipartBody1832562777313941182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131373307,"filename":"image_26112025_02_23_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/26/1372226bda72f3eba2264b60e027d58d.jpg","text":"TemporaryFile(/tmp/multipartBody1104146081904240343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131373307,"filename":"image_26112025_02_23_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/26/4124261958a64dbb458fd5b87ae69d1e.jpg","text":"TemporaryFile(/tmp/multipartBody1238073632041960497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131373307,"filename":"image_26112025_02_23_23_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/26/21d6403e590e4c6bf6306634bf7da054.jpg","text":"TemporaryFile(/tmp/multipartBody1843207914396096334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131373307,"filename":"image_26112025_02_23_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/26/9b923fa9a6c252cc12ce4bcb2baad8a4.jpg","text":"TemporaryFile(/tmp/multipartBody3871902012618774696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131373307,"filename":"image_26112025_02_23_31_3524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205638","file1":"1396205635","file0":"1396205632","file4":"1396205643","file5":"1396205644","file3":"1396205641"},"map_files_photo_id_array":[{"photo_id":"1396205644","filename":"file5"},{"photo_id":"1396205638","filename":"file2"},{"photo_id":"1396205643","filename":"file4"},{"photo_id":"1396205635","filename":"file1"},{"photo_id":"1396205632","filename":"file0"},{"photo_id":"1396205641","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205644":["hashtag1","hashtag2"]},{"1396205632":["hashtag1","hashtag2"]},{"1396205641":["hashtag1","hashtag2"]},{"1396205635":["hashtag1","hashtag2"]},{"1396205638":["hashtag1","hashtag2"]},{"1396205643":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205644, 1396205632, 1396205641, 1396205635, 1396205638, 1396205643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91675615310669 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:29:11.890830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_37_3694.jpg', '/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_40_2835.jpg', '/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_43_2710.jpg', '/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_47_3654.jpg', '/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_49_2700.jpg', '/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_52_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_37_3694.jpg
/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_40_2835.jpg
/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_43_2710.jpg
/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_47_3654.jpg
/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_49_2700.jpg
/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_52_2660.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":["1396205651","1396205654","1396205657","1396205659","1396205649","1396205652"],"photo_ids_order":["1396205649","1396205651","1396205652","1396205654","1396205657","1396205659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b78ed7c0f0359db2cea9843876af3dac.jpg","text":"TemporaryFile(/tmp/multipartBody2380401808015260262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131412598,"filename":"image_26112025_02_23_40_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/26/db1f35fccc42df6346e10429d7f32cd9.jpg","text":"TemporaryFile(/tmp/multipartBody1393348343397568360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131412598,"filename":"image_26112025_02_23_47_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/26/c63f7e597252b219c521ac88ecfea1d4.jpg","text":"TemporaryFile(/tmp/multipartBody4790200157193995143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131412598,"filename":"image_26112025_02_23_49_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/26/08567bcab99dc428c6d7097c7bfa9abf.jpg","text":"TemporaryFile(/tmp/multipartBody258751965874001430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131412598,"filename":"image_26112025_02_23_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/26/2df097fc47107ca050abda30382ad96e.jpg","text":"TemporaryFile(/tmp/multipartBody7806710318013076368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131412598,"filename":"image_26112025_02_23_37_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/26/d2f099d559f8ce9cff8e5edd48edde65.jpg","text":"TemporaryFile(/tmp/multipartBody3339371904249887449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131412598,"filename":"image_26112025_02_23_43_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205652","file1":"1396205651","file0":"1396205649","file4":"1396205657","file5":"1396205659","file3":"1396205654"},"map_files_photo_id_array":[{"photo_id":"1396205659","filename":"file5"},{"photo_id":"1396205652","filename":"file2"},{"photo_id":"1396205657","filename":"file4"},{"photo_id":"1396205651","filename":"file1"},{"photo_id":"1396205649","filename":"file0"},{"photo_id":"1396205654","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205651":["hashtag1","hashtag2"]},{"1396205654":["hashtag1","hashtag2"]},{"1396205657":["hashtag1","hashtag2"]},{"1396205659":["hashtag1","hashtag2"]},{"1396205649":["hashtag1","hashtag2"]},{"1396205652":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205651, 1396205654, 1396205657, 1396205659, 1396205649, 1396205652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.963600873947144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:30:03.842579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_55_2653.jpg', '/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_58_3632.jpg', '/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_01_2698.jpg', '/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_04_2755.jpg', '/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_07_3489.jpg', '/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_10_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_55_2653.jpg
/home/pi/Desktop/images/26112025/02/23/image_26112025_02_23_58_3632.jpg
/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_01_2698.jpg
/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_04_2755.jpg
/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_07_3489.jpg
/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_10_2619.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":["1396205708","1396205698","1396205692","1396205701","1396205703","1396205706"],"photo_ids_order":["1396205692","1396205698","1396205701","1396205703","1396205706","1396205708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1f006c97d58386d67180d9f42a3b9eab.jpg","text":"TemporaryFile(/tmp/multipartBody9160965893051026693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131466511,"filename":"image_26112025_02_24_10_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/26/41c406c3a0d585ec29a9de2ec0fc55a7.jpg","text":"TemporaryFile(/tmp/multipartBody762773810148601765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131466511,"filename":"image_26112025_02_23_58_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/26/0cb01ea849185d444eb5a4685583c53c.jpg","text":"TemporaryFile(/tmp/multipartBody1559983037784930262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131466511,"filename":"image_26112025_02_23_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/26/4ba00dc1501443b4c325ee352aaf009d.jpg","text":"TemporaryFile(/tmp/multipartBody3817292305419085492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131466511,"filename":"image_26112025_02_24_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/26/798687c95dc96968321425b9747b9bb3.jpg","text":"TemporaryFile(/tmp/multipartBody4096972070912324936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131466511,"filename":"image_26112025_02_24_04_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/26/21590e3dce757b6792ce553bfbf1ca89.jpg","text":"TemporaryFile(/tmp/multipartBody5736078690808421712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131466511,"filename":"image_26112025_02_24_07_3489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205701","file1":"1396205698","file0":"1396205692","file4":"1396205706","file5":"1396205708","file3":"1396205703"},"map_files_photo_id_array":[{"photo_id":"1396205708","filename":"file5"},{"photo_id":"1396205701","filename":"file2"},{"photo_id":"1396205706","filename":"file4"},{"photo_id":"1396205698","filename":"file1"},{"photo_id":"1396205692","filename":"file0"},{"photo_id":"1396205703","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205708":["hashtag1","hashtag2"]},{"1396205698":["hashtag1","hashtag2"]},{"1396205692":["hashtag1","hashtag2"]},{"1396205701":["hashtag1","hashtag2"]},{"1396205703":["hashtag1","hashtag2"]},{"1396205706":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205708, 1396205698, 1396205692, 1396205701, 1396205703, 1396205706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.221604347229004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 05:30:43.423753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_14_3670.jpg', '/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_16_2626.jpg', '/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_19_2644.jpg', '/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_23_3815.jpg', '/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_25_2762.jpg', '/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_28_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_14_3670.jpg
/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_16_2626.jpg
/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_19_2644.jpg
/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_23_3815.jpg
/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_25_2762.jpg
/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_28_2666.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":["1396205714","1396205717","1396205731","1396205716","1396205718","1396205712"],"photo_ids_order":["1396205712","1396205714","1396205716","1396205717","1396205718","1396205731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e476588c75060636bf726869ea4ad25a.jpg","text":"TemporaryFile(/tmp/multipartBody174855011290219432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131504131,"filename":"image_26112025_02_24_16_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/26/69f2bf4828086303da2eaefe83d93673.jpg","text":"TemporaryFile(/tmp/multipartBody8780712096461978746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131504131,"filename":"image_26112025_02_24_23_3815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0d4effa4bbaa7a1f1ca7b6d4d4d98382.jpg","text":"TemporaryFile(/tmp/multipartBody4972215214678536751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131504131,"filename":"image_26112025_02_24_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/26/8075e1e0a36f666cdec2fa802eb98038.jpg","text":"TemporaryFile(/tmp/multipartBody1463850676523748016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131504131,"filename":"image_26112025_02_24_19_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/26/eab18633f4c8af0d593cbb78689c6600.jpg","text":"TemporaryFile(/tmp/multipartBody8677469073903162245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131504131,"filename":"image_26112025_02_24_25_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/26/9cdbb00e25d08490b7226d486d336953.jpg","text":"TemporaryFile(/tmp/multipartBody4080951628106091853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131504131,"filename":"image_26112025_02_24_14_3670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205716","file1":"1396205714","file0":"1396205712","file4":"1396205718","file5":"1396205731","file3":"1396205717"},"map_files_photo_id_array":[{"photo_id":"1396205731","filename":"file5"},{"photo_id":"1396205716","filename":"file2"},{"photo_id":"1396205718","filename":"file4"},{"photo_id":"1396205714","filename":"file1"},{"photo_id":"1396205712","filename":"file0"},{"photo_id":"1396205717","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205714":["hashtag1","hashtag2"]},{"1396205717":["hashtag1","hashtag2"]},{"1396205731":["hashtag1","hashtag2"]},{"1396205716":["hashtag1","hashtag2"]},{"1396205718":["hashtag1","hashtag2"]},{"1396205712":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205714, 1396205717, 1396205731, 1396205716, 1396205718, 1396205712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.7952036857605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:31:32.585863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_31_2772.jpg', '/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_34_3624.jpg', '/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_37_2733.jpg', '/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_40_2605.jpg', '/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_43_3610.jpg', '/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_46_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_31_2772.jpg
/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_34_3624.jpg
/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_37_2733.jpg
/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_40_2605.jpg
/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_43_3610.jpg
/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_46_2632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396205747","1396205756","1396205755","1396205749","1396205754","1396205751"],"photo_ids_order":["1396205747","1396205749","1396205751","1396205754","1396205755","1396205756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/702b2bdcdccd0b029a11f9b7f9c5fe0e.jpg","text":"TemporaryFile(/tmp/multipartBody3653211560969772496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131553262,"filename":"image_26112025_02_24_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/26/d29e30761364ae9a54ca9af174ab90fe.jpg","text":"TemporaryFile(/tmp/multipartBody6560548346302653904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131553262,"filename":"image_26112025_02_24_46_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/26/3ffa73063c0b642578c80a5ab2b44f0b.jpg","text":"TemporaryFile(/tmp/multipartBody5985059389985724490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131553262,"filename":"image_26112025_02_24_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/26/465a7593b768b419750ac1fc29321054.jpg","text":"TemporaryFile(/tmp/multipartBody2621794723497721823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131553262,"filename":"image_26112025_02_24_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/26/e1607175e2e1733f7cbe69de469efb65.jpg","text":"TemporaryFile(/tmp/multipartBody7454865006823266071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131553262,"filename":"image_26112025_02_24_40_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/32e75c91ca5523d180d6971ec33f2af5.jpg","text":"TemporaryFile(/tmp/multipartBody4299212043648923541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131553262,"filename":"image_26112025_02_24_37_2733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205751","file1":"1396205749","file0":"1396205747","file4":"1396205755","file5":"1396205756","file3":"1396205754"},"map_files_photo_id_array":[{"photo_id":"1396205756","filename":"file5"},{"photo_id":"1396205751","filename":"file2"},{"photo_id":"1396205755","filename":"file4"},{"photo_id":"1396205749","filename":"file1"},{"photo_id":"1396205747","filename":"file0"},{"photo_id":"1396205754","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205747":["hashtag1","hashtag2"]},{"1396205756":["hashtag1","hashtag2"]},{"1396205755":["hashtag1","hashtag2"]},{"1396205749":["hashtag1","hashtag2"]},{"1396205754":["hashtag1","hashtag2"]},{"1396205751":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205747, 1396205756, 1396205755, 1396205749, 1396205754, 1396205751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88175630569458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:32:16.621929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_49_2716.jpg', '/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_52_3722.jpg', '/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_55_2716.jpg', '/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_58_2642.jpg', '/home/pi/Desktop/images/26112025/02/24/image_26112025_02_25_01_3565.jpg', '/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_04_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_49_2716.jpg
/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_52_3722.jpg
/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_55_2716.jpg
/home/pi/Desktop/images/26112025/02/24/image_26112025_02_24_58_2642.jpg
/home/pi/Desktop/images/26112025/02/24/image_26112025_02_25_01_3565.jpg
/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_04_2667.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":["1396205768","1396205761","1396205770","1396205764","1396205772","1396205766"],"photo_ids_order":["1396205761","1396205764","1396205766","1396205768","1396205770","1396205772"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/714fb5f35e577b19f60cd6763beb7594.jpg","text":"TemporaryFile(/tmp/multipartBody9141815610444260314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131597294,"filename":"image_26112025_02_24_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/26/d4bc37d6c26c9a0e21bf907c755f8167.jpg","text":"TemporaryFile(/tmp/multipartBody5563105774535579005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131597294,"filename":"image_26112025_02_24_49_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/26/c67cc735c0fa0c84454c866362813e3d.jpg","text":"TemporaryFile(/tmp/multipartBody3924608699587385001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131597294,"filename":"image_26112025_02_25_01_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/64136b58732315669be53bf32ae54ecb.jpg","text":"TemporaryFile(/tmp/multipartBody7886176700075573664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131597294,"filename":"image_26112025_02_24_52_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/26/2abee004754cff06be713729f4519422.jpg","text":"TemporaryFile(/tmp/multipartBody7892881426474412090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131597294,"filename":"image_26112025_02_25_04_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/26/e975351b62882f3f8ef7cd179ee494e1.jpg","text":"TemporaryFile(/tmp/multipartBody7371927893316972020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131597294,"filename":"image_26112025_02_24_55_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205766","file1":"1396205764","file0":"1396205761","file4":"1396205770","file5":"1396205772","file3":"1396205768"},"map_files_photo_id_array":[{"photo_id":"1396205772","filename":"file5"},{"photo_id":"1396205766","filename":"file2"},{"photo_id":"1396205770","filename":"file4"},{"photo_id":"1396205764","filename":"file1"},{"photo_id":"1396205761","filename":"file0"},{"photo_id":"1396205768","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205768":["hashtag1","hashtag2"]},{"1396205761":["hashtag1","hashtag2"]},{"1396205770":["hashtag1","hashtag2"]},{"1396205764":["hashtag1","hashtag2"]},{"1396205772":["hashtag1","hashtag2"]},{"1396205766":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205768, 1396205761, 1396205770, 1396205764, 1396205772, 1396205766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.969626665115356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:33:02.665831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_07_2717.jpg', '/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_10_3598.jpg', '/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_13_2557.jpg', '/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_16_2646.jpg', '/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_19_3620.jpg', '/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_22_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_07_2717.jpg
/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_10_3598.jpg
/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_13_2557.jpg
/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_16_2646.jpg
/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_19_3620.jpg
/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_22_2773.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":["1396205801","1396205804","1396205806","1396205800","1396205803","1396205802"],"photo_ids_order":["1396205800","1396205801","1396205802","1396205803","1396205804","1396205806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6081023589ecda32016a2066dfe7d33b.jpg","text":"TemporaryFile(/tmp/multipartBody5594038135721969503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131643383,"filename":"image_26112025_02_25_10_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/26/cc317b4bce0dbbcb6bf4293a5b5a25be.jpg","text":"TemporaryFile(/tmp/multipartBody4683857573845029230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131643383,"filename":"image_26112025_02_25_19_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/26/0ee8b275d43d624b8cac90e5588c96ab.jpg","text":"TemporaryFile(/tmp/multipartBody4301299929760742813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131643383,"filename":"image_26112025_02_25_22_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/26/f7ac901d1f871a7759aeacf428a91b53.jpg","text":"TemporaryFile(/tmp/multipartBody6369978744446096148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131643383,"filename":"image_26112025_02_25_07_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/26/c5434241233791ca854e74a93f150d1d.jpg","text":"TemporaryFile(/tmp/multipartBody6999599629789395990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131643383,"filename":"image_26112025_02_25_16_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/26/49ae93f0c760b0c7f370ca7df55b1f7a.jpg","text":"TemporaryFile(/tmp/multipartBody7480153720008513132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131643383,"filename":"image_26112025_02_25_13_2557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205802","file1":"1396205801","file0":"1396205800","file4":"1396205804","file5":"1396205806","file3":"1396205803"},"map_files_photo_id_array":[{"photo_id":"1396205806","filename":"file5"},{"photo_id":"1396205802","filename":"file2"},{"photo_id":"1396205804","filename":"file4"},{"photo_id":"1396205801","filename":"file1"},{"photo_id":"1396205800","filename":"file0"},{"photo_id":"1396205803","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205801":["hashtag1","hashtag2"]},{"1396205804":["hashtag1","hashtag2"]},{"1396205806":["hashtag1","hashtag2"]},{"1396205800":["hashtag1","hashtag2"]},{"1396205803":["hashtag1","hashtag2"]},{"1396205802":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205801, 1396205804, 1396205806, 1396205800, 1396205803, 1396205802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.161165714263916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 05:33:41.983853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_25_3088.jpg', '/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_28_2537.jpg', '/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_31_3523.jpg', '/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_35_3973.jpg', '/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_37_1634.jpg', '/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_40_3566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_25_3088.jpg
/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_28_2537.jpg
/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_31_3523.jpg
/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_35_3973.jpg
/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_37_1634.jpg
/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_40_3566.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":["1396205822","1396205819","1396205821","1396205820","1396205823","1396205817"],"photo_ids_order":["1396205817","1396205819","1396205820","1396205821","1396205822","1396205823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6d9c49e0a22b9abb722d91ccf48d87d1.jpg","text":"TemporaryFile(/tmp/multipartBody4192750716198015877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131682653,"filename":"image_26112025_02_25_37_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/26/82014e28ce56ee4d27e5e8c9f06cc094.jpg","text":"TemporaryFile(/tmp/multipartBody3664265353115749220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131682653,"filename":"image_26112025_02_25_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/26/d9d8b2f601417a1b1b9bd8e17a95d02d.jpg","text":"TemporaryFile(/tmp/multipartBody6655524733320934267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131682653,"filename":"image_26112025_02_25_35_3973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eb6914f566dea0a86893efff82fed93e.jpg","text":"TemporaryFile(/tmp/multipartBody7782829566027961406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131682653,"filename":"image_26112025_02_25_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/26/1c5bbaf401fe34636b9058e3c7d9c69e.jpg","text":"TemporaryFile(/tmp/multipartBody6269981676846305051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131682653,"filename":"image_26112025_02_25_40_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7dba25df540eef54e796df5a3ccce3ba.jpg","text":"TemporaryFile(/tmp/multipartBody4463478630078714084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131682653,"filename":"image_26112025_02_25_25_3088.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205820","file1":"1396205819","file0":"1396205817","file4":"1396205822","file5":"1396205823","file3":"1396205821"},"map_files_photo_id_array":[{"photo_id":"1396205823","filename":"file5"},{"photo_id":"1396205820","filename":"file2"},{"photo_id":"1396205822","filename":"file4"},{"photo_id":"1396205819","filename":"file1"},{"photo_id":"1396205817","filename":"file0"},{"photo_id":"1396205821","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205822":["hashtag1","hashtag2"]},{"1396205819":["hashtag1","hashtag2"]},{"1396205821":["hashtag1","hashtag2"]},{"1396205820":["hashtag1","hashtag2"]},{"1396205823":["hashtag1","hashtag2"]},{"1396205817":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205822, 1396205819, 1396205821, 1396205820, 1396205823, 1396205817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33233571052551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:34:20.904663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_43_2578.jpg', '/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_46_2761.jpg', '/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_49_3771.jpg', '/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_52_2817.jpg', '/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_55_2622.jpg', '/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_58_2793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_43_2578.jpg
/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_46_2761.jpg
/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_49_3771.jpg
/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_52_2817.jpg
/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_55_2622.jpg
/home/pi/Desktop/images/26112025/02/25/image_26112025_02_25_58_2793.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":["1396205834","1396205843","1396205830","1396205848","1396205841","1396205838"],"photo_ids_order":["1396205830","1396205834","1396205838","1396205841","1396205843","1396205848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8bd97f6577fe89faf00eea0f803e0d11.jpg","text":"TemporaryFile(/tmp/multipartBody1847538326350582064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131721591,"filename":"image_26112025_02_25_46_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/26/21c70606d9afd72b422c32260676522b.jpg","text":"TemporaryFile(/tmp/multipartBody5306287678370909493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131721591,"filename":"image_26112025_02_25_55_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6578988f16ff0d08f027c42c63b397a8.jpg","text":"TemporaryFile(/tmp/multipartBody4606441726149384089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131721591,"filename":"image_26112025_02_25_43_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/26/554cbfbe8bdf9fe88a65d3236f1bf435.jpg","text":"TemporaryFile(/tmp/multipartBody6306230684595221446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131721591,"filename":"image_26112025_02_25_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/26/600a46ef449e5e604e335c7703460bf4.jpg","text":"TemporaryFile(/tmp/multipartBody5901037186591777995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131721591,"filename":"image_26112025_02_25_52_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/26/246afb95dc0d7d028d6443454245e5f4.jpg","text":"TemporaryFile(/tmp/multipartBody8572968463414931251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131721591,"filename":"image_26112025_02_25_49_3771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396205838","file1":"1396205834","file0":"1396205830","file4":"1396205843","file5":"1396205848","file3":"1396205841"},"map_files_photo_id_array":[{"photo_id":"1396205848","filename":"file5"},{"photo_id":"1396205838","filename":"file2"},{"photo_id":"1396205843","filename":"file4"},{"photo_id":"1396205834","filename":"file1"},{"photo_id":"1396205830","filename":"file0"},{"photo_id":"1396205841","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396205834":["hashtag1","hashtag2"]},{"1396205843":["hashtag1","hashtag2"]},{"1396205830":["hashtag1","hashtag2"]},{"1396205848":["hashtag1","hashtag2"]},{"1396205841":["hashtag1","hashtag2"]},{"1396205838":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396205834, 1396205843, 1396205830, 1396205848, 1396205841, 1396205838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68789219856262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:35:02.752411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/25/image_26112025_02_26_01_3698.jpg', '/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_04_2698.jpg', '/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_07_2607.jpg', '/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_10_3566.jpg', '/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_13_2752.jpg', '/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_16_2776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/25/image_26112025_02_26_01_3698.jpg
/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_04_2698.jpg
/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_07_2607.jpg
/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_10_3566.jpg
/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_13_2752.jpg
/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_16_2776.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":["1396206164","1396206203","1396206127","1396206084","1396206048","1396206012"],"photo_ids_order":["1396206012","1396206048","1396206084","1396206127","1396206164","1396206203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7f31d084d1020ebb76c7405c7d280a9f.jpg","text":"TemporaryFile(/tmp/multipartBody1573286847740992917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131763598,"filename":"image_26112025_02_26_13_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/26/ce60e6643aababcd6d0b3070ca856e32.jpg","text":"TemporaryFile(/tmp/multipartBody6411887558470653539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131763598,"filename":"image_26112025_02_26_16_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/26/3c41320b4f9edf14dc0e5d02fa7b9d2e.jpg","text":"TemporaryFile(/tmp/multipartBody6603611914245546766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131763598,"filename":"image_26112025_02_26_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/26/5d0320d3aa0894496692199669de571e.jpg","text":"TemporaryFile(/tmp/multipartBody3058948026036003185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131763598,"filename":"image_26112025_02_26_07_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/26/3df7a82bf890b8f33a11f319f35a56e3.jpg","text":"TemporaryFile(/tmp/multipartBody6036106644332470243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131763598,"filename":"image_26112025_02_26_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/26/43f3195fce154425462438388b971b3d.jpg","text":"TemporaryFile(/tmp/multipartBody7558194355301127394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131763598,"filename":"image_26112025_02_26_01_3698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396206084","file1":"1396206048","file0":"1396206012","file4":"1396206164","file5":"1396206203","file3":"1396206127"},"map_files_photo_id_array":[{"photo_id":"1396206203","filename":"file5"},{"photo_id":"1396206084","filename":"file2"},{"photo_id":"1396206164","filename":"file4"},{"photo_id":"1396206048","filename":"file1"},{"photo_id":"1396206012","filename":"file0"},{"photo_id":"1396206127","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396206164":["hashtag1","hashtag2"]},{"1396206203":["hashtag1","hashtag2"]},{"1396206127":["hashtag1","hashtag2"]},{"1396206084":["hashtag1","hashtag2"]},{"1396206048":["hashtag1","hashtag2"]},{"1396206012":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396206164, 1396206203, 1396206127, 1396206084, 1396206048, 1396206012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75716257095337 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 05:35:42.165400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_19_3592.jpg', '/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_22_2600.jpg', '/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_25_2810.jpg', '/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_28_3718.jpg', '/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_31_2642.jpg', '/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_34_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_19_3592.jpg
/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_22_2600.jpg
/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_25_2810.jpg
/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_28_3718.jpg
/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_31_2642.jpg
/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_34_2606.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":["1396206449","1396206377","1396206523","1396206486","1396206330","1396206414"],"photo_ids_order":["1396206330","1396206377","1396206414","1396206449","1396206486","1396206523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7219eaf272d4bc99e1588a56568b9b7d.jpg","text":"TemporaryFile(/tmp/multipartBody550416724709185492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131802840,"filename":"image_26112025_02_26_28_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/26/9e0aaa678996a66b569ace91ae77b205.jpg","text":"TemporaryFile(/tmp/multipartBody7943261467879302705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131802840,"filename":"image_26112025_02_26_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/26/d63b665320abfb24c62f4f186aed4215.jpg","text":"TemporaryFile(/tmp/multipartBody3339881438876179203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131802840,"filename":"image_26112025_02_26_34_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/26/d63c28cdc5775d2a576aad98c418c6e5.jpg","text":"TemporaryFile(/tmp/multipartBody9147213213268731440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131802840,"filename":"image_26112025_02_26_31_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/26/6a440ed94d3f082de7b4f2b3a731fffd.jpg","text":"TemporaryFile(/tmp/multipartBody5696995326101730568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131802840,"filename":"image_26112025_02_26_19_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/26/70dd665f9826e6bc72147c95b60c1f03.jpg","text":"TemporaryFile(/tmp/multipartBody4157570504525483257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131802840,"filename":"image_26112025_02_26_25_2810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396206414","file1":"1396206377","file0":"1396206330","file4":"1396206486","file5":"1396206523","file3":"1396206449"},"map_files_photo_id_array":[{"photo_id":"1396206523","filename":"file5"},{"photo_id":"1396206414","filename":"file2"},{"photo_id":"1396206486","filename":"file4"},{"photo_id":"1396206377","filename":"file1"},{"photo_id":"1396206330","filename":"file0"},{"photo_id":"1396206449","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396206449":["hashtag1","hashtag2"]},{"1396206377":["hashtag1","hashtag2"]},{"1396206523":["hashtag1","hashtag2"]},{"1396206486":["hashtag1","hashtag2"]},{"1396206330":["hashtag1","hashtag2"]},{"1396206414":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396206449, 1396206377, 1396206523, 1396206486, 1396206330, 1396206414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.942086696624756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:36:27.888075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_37_2807.jpg', '/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_40_3839.jpg', '/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_43_2587.jpg', '/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_46_2575.jpg', '/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_49_3754.jpg', '/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_52_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_37_2807.jpg
/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_40_3839.jpg
/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_43_2587.jpg
/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_46_2575.jpg
/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_49_3754.jpg
/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_52_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.6340763568878174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:36:36.325355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_37_2807.jpg', '/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_40_3839.jpg', '/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_43_2587.jpg', '/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_46_2575.jpg', '/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_49_3754.jpg', '/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_52_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_37_2807.jpg
/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_40_3839.jpg
/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_43_2587.jpg
/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_46_2575.jpg
/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_49_3754.jpg
/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_52_2584.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":["1396206815","1396206778","1396206925","1396206890","1396206854","1396206962"],"photo_ids_order":["1396206778","1396206815","1396206854","1396206890","1396206925","1396206962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/57b8b0556f5efa1dfeac5b3dba473aba.jpg","text":"TemporaryFile(/tmp/multipartBody8761102828422139537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131857027,"filename":"image_26112025_02_26_40_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/26/f403eb4ccb80eeff81e6b4362a90f8b7.jpg","text":"TemporaryFile(/tmp/multipartBody7952759931019561888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131857027,"filename":"image_26112025_02_26_37_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/26/949dceafb174d578a58eecf3057298f9.jpg","text":"TemporaryFile(/tmp/multipartBody3180203905260958083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131857027,"filename":"image_26112025_02_26_49_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2afb253370443d30ec4040d6a54d0a85.jpg","text":"TemporaryFile(/tmp/multipartBody2504773496575253366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131857027,"filename":"image_26112025_02_26_46_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/26/046c2f33bdf7890615cd6d38a16d38e0.jpg","text":"TemporaryFile(/tmp/multipartBody3975015805427288249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131857027,"filename":"image_26112025_02_26_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/26/4995e6b2ce551f50b46bfc39a142f37b.jpg","text":"TemporaryFile(/tmp/multipartBody1423226562420395130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131857027,"filename":"image_26112025_02_26_52_2584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396206854","file1":"1396206815","file0":"1396206778","file4":"1396206925","file5":"1396206962","file3":"1396206890"},"map_files_photo_id_array":[{"photo_id":"1396206962","filename":"file5"},{"photo_id":"1396206854","filename":"file2"},{"photo_id":"1396206925","filename":"file4"},{"photo_id":"1396206815","filename":"file1"},{"photo_id":"1396206778","filename":"file0"},{"photo_id":"1396206890","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396206815":["hashtag1","hashtag2"]},{"1396206778":["hashtag1","hashtag2"]},{"1396206925":["hashtag1","hashtag2"]},{"1396206890":["hashtag1","hashtag2"]},{"1396206854":["hashtag1","hashtag2"]},{"1396206962":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396206815, 1396206778, 1396206925, 1396206890, 1396206854, 1396206962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73190450668335 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-26 05:37:22.718605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_55_2743.jpg', '/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_57_2766.jpg', '/home/pi/Desktop/images/26112025/02/26/image_26112025_02_27_01_3646.jpg', '/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_04_2995.jpg', '/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_07_2629.jpg', '/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_13_6125.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_55_2743.jpg
/home/pi/Desktop/images/26112025/02/26/image_26112025_02_26_57_2766.jpg
/home/pi/Desktop/images/26112025/02/26/image_26112025_02_27_01_3646.jpg
/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_04_2995.jpg
/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_07_2629.jpg
/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_13_6125.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":["1396207045","1396207042","1396207036","1396207038","1396207040","1396207034"],"photo_ids_order":["1396207034","1396207036","1396207038","1396207040","1396207042","1396207045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3f880339a778ec65becf38c408748446.jpg","text":"TemporaryFile(/tmp/multipartBody6046079902603585666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131903394,"filename":"image_26112025_02_27_13_6125.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7e2edd00887be2389a71c680b4b9ad44.jpg","text":"TemporaryFile(/tmp/multipartBody1843573781963728132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131903394,"filename":"image_26112025_02_27_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/26/6c03a08985d8616ed3cd3232b202c6bb.jpg","text":"TemporaryFile(/tmp/multipartBody8516708217221384562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131903394,"filename":"image_26112025_02_26_57_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/26/73e7da6297ab8daebff5861686480b96.jpg","text":"TemporaryFile(/tmp/multipartBody3578542109138403103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131903394,"filename":"image_26112025_02_27_01_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/26/8d1304d1bc7ba67fde3a28c92a70c029.jpg","text":"TemporaryFile(/tmp/multipartBody3198887260629080041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131903394,"filename":"image_26112025_02_27_04_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/26/e160a0fef641097d74a209c7aa1f1057.jpg","text":"TemporaryFile(/tmp/multipartBody5073453453316255438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131903394,"filename":"image_26112025_02_26_55_2743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207038","file1":"1396207036","file0":"1396207034","file4":"1396207042","file5":"1396207045","file3":"1396207040"},"map_files_photo_id_array":[{"photo_id":"1396207045","filename":"file5"},{"photo_id":"1396207038","filename":"file2"},{"photo_id":"1396207042","filename":"file4"},{"photo_id":"1396207036","filename":"file1"},{"photo_id":"1396207034","filename":"file0"},{"photo_id":"1396207040","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207045":["hashtag1","hashtag2"]},{"1396207042":["hashtag1","hashtag2"]},{"1396207036":["hashtag1","hashtag2"]},{"1396207038":["hashtag1","hashtag2"]},{"1396207040":["hashtag1","hashtag2"]},{"1396207034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207045, 1396207042, 1396207036, 1396207038, 1396207040, 1396207034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.47563719749451 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-26 05:38:13.698144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_16_3040.jpg', '/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_18_1811.jpg', '/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_19_1613.jpg', '/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_22_2623.jpg', '/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_25_2763.jpg', '/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_27_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_16_3040.jpg
/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_18_1811.jpg
/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_19_1613.jpg
/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_22_2623.jpg
/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_25_2763.jpg
/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_27_2695.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":["1396207270","1396207290","1396207239","1396207292","1396207241","1396207238"],"photo_ids_order":["1396207238","1396207239","1396207241","1396207270","1396207290","1396207292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9fec69aaae830f568a3bfc3f946c9fa4.jpg","text":"TemporaryFile(/tmp/multipartBody4366292444938822757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131954361,"filename":"image_26112025_02_27_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/26/c93f6c9ad8bb828a54dc17cc92989cb3.jpg","text":"TemporaryFile(/tmp/multipartBody4876252221081205973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131954361,"filename":"image_26112025_02_27_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/26/44cadbddc56bcdae787489838b69e19a.jpg","text":"TemporaryFile(/tmp/multipartBody2618451715854020983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131954361,"filename":"image_26112025_02_27_18_1811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/38997a4cf4ce003f997338fa574e76bd.jpg","text":"TemporaryFile(/tmp/multipartBody3089474887912128721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131954361,"filename":"image_26112025_02_27_27_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/26/ca5282b4096e21a2a80dad24e2fd3478.jpg","text":"TemporaryFile(/tmp/multipartBody2763371885873361416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131954361,"filename":"image_26112025_02_27_19_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/26/a5e90531815882a37cda9b8037717e79.jpg","text":"TemporaryFile(/tmp/multipartBody6820496494219650334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764131954361,"filename":"image_26112025_02_27_16_3040.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207241","file1":"1396207239","file0":"1396207238","file4":"1396207290","file5":"1396207292","file3":"1396207270"},"map_files_photo_id_array":[{"photo_id":"1396207292","filename":"file5"},{"photo_id":"1396207241","filename":"file2"},{"photo_id":"1396207290","filename":"file4"},{"photo_id":"1396207239","filename":"file1"},{"photo_id":"1396207238","filename":"file0"},{"photo_id":"1396207270","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207270":["hashtag1","hashtag2"]},{"1396207290":["hashtag1","hashtag2"]},{"1396207239":["hashtag1","hashtag2"]},{"1396207292":["hashtag1","hashtag2"]},{"1396207241":["hashtag1","hashtag2"]},{"1396207238":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207270, 1396207290, 1396207239, 1396207292, 1396207241, 1396207238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.962197065353394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:39:02.807427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_31_3600.jpg', '/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_34_2746.jpg', '/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_37_3303.jpg', '/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_40_2583.jpg', '/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_42_2942.jpg', '/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_46_3655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_31_3600.jpg
/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_34_2746.jpg
/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_37_3303.jpg
/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_40_2583.jpg
/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_42_2942.jpg
/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_46_3655.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":["1396207369","1396207360","1396207354","1396207366","1396207353","1396207364"],"photo_ids_order":["1396207353","1396207354","1396207360","1396207364","1396207366","1396207369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/041f0a756a42db8e389698f39d460006.jpg","text":"TemporaryFile(/tmp/multipartBody1695289197946639875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132003788,"filename":"image_26112025_02_27_46_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/26/83dd485da35296a76a63871e5deec19b.jpg","text":"TemporaryFile(/tmp/multipartBody1788932603708693638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132003788,"filename":"image_26112025_02_27_37_3303.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1f598812430c7ae57c1a7f337ebcbc47.jpg","text":"TemporaryFile(/tmp/multipartBody6501339573208468117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132003788,"filename":"image_26112025_02_27_34_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/26/1c109894dec99de597364a9e981c60e5.jpg","text":"TemporaryFile(/tmp/multipartBody8621337190192983460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132003788,"filename":"image_26112025_02_27_42_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/26/aa99b1795666b5be87f050bc74bd454d.jpg","text":"TemporaryFile(/tmp/multipartBody4224215966797788944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132003788,"filename":"image_26112025_02_27_31_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/26/da74a8c329cddc097a86ff7db2a2a091.jpg","text":"TemporaryFile(/tmp/multipartBody2939958474770672222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132003788,"filename":"image_26112025_02_27_40_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207360","file1":"1396207354","file0":"1396207353","file4":"1396207366","file5":"1396207369","file3":"1396207364"},"map_files_photo_id_array":[{"photo_id":"1396207369","filename":"file5"},{"photo_id":"1396207360","filename":"file2"},{"photo_id":"1396207366","filename":"file4"},{"photo_id":"1396207354","filename":"file1"},{"photo_id":"1396207353","filename":"file0"},{"photo_id":"1396207364","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207369":["hashtag1","hashtag2"]},{"1396207360":["hashtag1","hashtag2"]},{"1396207354":["hashtag1","hashtag2"]},{"1396207366":["hashtag1","hashtag2"]},{"1396207353":["hashtag1","hashtag2"]},{"1396207364":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207369, 1396207360, 1396207354, 1396207366, 1396207353, 1396207364)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.249587297439575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:40:02.749224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_49_2570.jpg', '/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_51_2752.jpg', '/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_55_3638.jpg', '/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_58_2614.jpg', '/home/pi/Desktop/images/26112025/02/27/image_26112025_02_28_00_2593.jpg', '/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_04_3665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_49_2570.jpg
/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_51_2752.jpg
/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_55_3638.jpg
/home/pi/Desktop/images/26112025/02/27/image_26112025_02_27_58_2614.jpg
/home/pi/Desktop/images/26112025/02/27/image_26112025_02_28_00_2593.jpg
/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_04_3665.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":["1396207381","1396207378","1396207383","1396207388","1396207376","1396207385"],"photo_ids_order":["1396207376","1396207378","1396207381","1396207383","1396207385","1396207388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/48267db3b0496de63eb042af12084926.jpg","text":"TemporaryFile(/tmp/multipartBody1616410847068951149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132063465,"filename":"image_26112025_02_27_55_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/26/b079c6f7b058f0061ce87ed40a3925d6.jpg","text":"TemporaryFile(/tmp/multipartBody3853588127472053828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132063465,"filename":"image_26112025_02_27_51_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/26/629cbfe68a88b550009545ac3e81dba2.jpg","text":"TemporaryFile(/tmp/multipartBody4039730394123225423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132063465,"filename":"image_26112025_02_27_58_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/26/f3ba508eccf146b52cf10e218a3ea012.jpg","text":"TemporaryFile(/tmp/multipartBody3226612910763793707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132063465,"filename":"image_26112025_02_28_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/26/6780ee1c0176b88cbc79f0f2cf71d710.jpg","text":"TemporaryFile(/tmp/multipartBody7324058475650817460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132063465,"filename":"image_26112025_02_27_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/26/da764bc59c2b45fa513e1b3959b36bf8.jpg","text":"TemporaryFile(/tmp/multipartBody3953702419110579917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132063465,"filename":"image_26112025_02_28_00_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207381","file1":"1396207378","file0":"1396207376","file4":"1396207385","file5":"1396207388","file3":"1396207383"},"map_files_photo_id_array":[{"photo_id":"1396207388","filename":"file5"},{"photo_id":"1396207381","filename":"file2"},{"photo_id":"1396207385","filename":"file4"},{"photo_id":"1396207378","filename":"file1"},{"photo_id":"1396207376","filename":"file0"},{"photo_id":"1396207383","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207381":["hashtag1","hashtag2"]},{"1396207378":["hashtag1","hashtag2"]},{"1396207383":["hashtag1","hashtag2"]},{"1396207388":["hashtag1","hashtag2"]},{"1396207376":["hashtag1","hashtag2"]},{"1396207385":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207381, 1396207378, 1396207383, 1396207388, 1396207376, 1396207385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75554823875427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 05:40:42.267150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_06_2503.jpg', '/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_09_2744.jpg', '/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_13_3588.jpg', '/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_15_2599.jpg', '/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_30_2722.jpg', '/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_34_3495.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_06_2503.jpg
/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_09_2744.jpg
/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_13_3588.jpg
/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_15_2599.jpg
/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_30_2722.jpg
/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_34_3495.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":["1396207403","1396207396","1396207402","1396207401","1396207400","1396207399"],"photo_ids_order":["1396207396","1396207399","1396207400","1396207401","1396207402","1396207403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e6062acd995fd32fade5d87d7c253aa7.jpg","text":"TemporaryFile(/tmp/multipartBody2531909125355979023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132103003,"filename":"image_26112025_02_28_34_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/26/b2f322ad0fbfdb681a076452d241f864.jpg","text":"TemporaryFile(/tmp/multipartBody9216282829350512255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132103003,"filename":"image_26112025_02_28_06_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/26/cf91042338f1c2167e7ad7e6aa1933f9.jpg","text":"TemporaryFile(/tmp/multipartBody255723760261247038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132103003,"filename":"image_26112025_02_28_30_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/26/b177ee97d8649710f4fca35f777278f8.jpg","text":"TemporaryFile(/tmp/multipartBody7222359151269449389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132103003,"filename":"image_26112025_02_28_15_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/26/c31b3a24a82d6b645324579be6b79e72.jpg","text":"TemporaryFile(/tmp/multipartBody304581225853564350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132103003,"filename":"image_26112025_02_28_13_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/26/1fd44733827707bba3c913c4fa3db57d.jpg","text":"TemporaryFile(/tmp/multipartBody3347022660575012161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132103003,"filename":"image_26112025_02_28_09_2744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207400","file1":"1396207399","file0":"1396207396","file4":"1396207402","file5":"1396207403","file3":"1396207401"},"map_files_photo_id_array":[{"photo_id":"1396207403","filename":"file5"},{"photo_id":"1396207400","filename":"file2"},{"photo_id":"1396207402","filename":"file4"},{"photo_id":"1396207399","filename":"file1"},{"photo_id":"1396207396","filename":"file0"},{"photo_id":"1396207401","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207403":["hashtag1","hashtag2"]},{"1396207396":["hashtag1","hashtag2"]},{"1396207402":["hashtag1","hashtag2"]},{"1396207401":["hashtag1","hashtag2"]},{"1396207400":["hashtag1","hashtag2"]},{"1396207399":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207403, 1396207396, 1396207402, 1396207401, 1396207400, 1396207399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.90232849121094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:41:22.394697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_36_2660.jpg', '/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_40_3483.jpg', '/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_42_2572.jpg', '/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_46_3642.jpg', '/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_49_2763.jpg', '/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_51_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_36_2660.jpg
/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_40_3483.jpg
/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_42_2572.jpg
/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_46_3642.jpg
/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_49_2763.jpg
/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_51_2630.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":["1396207441","1396207438","1396207445","1396207439","1396207424","1396207415"],"photo_ids_order":["1396207415","1396207424","1396207438","1396207439","1396207441","1396207445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dc6990f3a6e181d7929eafc5cae92f72.jpg","text":"TemporaryFile(/tmp/multipartBody5650629889312670086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132143058,"filename":"image_26112025_02_28_49_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/26/6b67c2497b6cd59df9b4a21de2c7a1be.jpg","text":"TemporaryFile(/tmp/multipartBody3771656234774850515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132143058,"filename":"image_26112025_02_28_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/26/76e988a760ab15548af268f04274de78.jpg","text":"TemporaryFile(/tmp/multipartBody3792273374597690647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132143058,"filename":"image_26112025_02_28_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/26/18f1e4e369ee596ec23756e956b1377e.jpg","text":"TemporaryFile(/tmp/multipartBody2773575619956028999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132143058,"filename":"image_26112025_02_28_46_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/26/5d4c6e033fe2caac1ce6c88adac9647e.jpg","text":"TemporaryFile(/tmp/multipartBody7742062288844593022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132143058,"filename":"image_26112025_02_28_40_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/26/a864d135ebae14cddfdedcc8b985f120.jpg","text":"TemporaryFile(/tmp/multipartBody7655167025730588826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132143058,"filename":"image_26112025_02_28_36_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207438","file1":"1396207424","file0":"1396207415","file4":"1396207441","file5":"1396207445","file3":"1396207439"},"map_files_photo_id_array":[{"photo_id":"1396207445","filename":"file5"},{"photo_id":"1396207438","filename":"file2"},{"photo_id":"1396207441","filename":"file4"},{"photo_id":"1396207424","filename":"file1"},{"photo_id":"1396207415","filename":"file0"},{"photo_id":"1396207439","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207441":["hashtag1","hashtag2"]},{"1396207438":["hashtag1","hashtag2"]},{"1396207445":["hashtag1","hashtag2"]},{"1396207439":["hashtag1","hashtag2"]},{"1396207424":["hashtag1","hashtag2"]},{"1396207415":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207441, 1396207438, 1396207445, 1396207439, 1396207424, 1396207415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.447076082229614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:42:03.185459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_54_2704.jpg', '/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_01_2582.jpg', '/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_03_2759.jpg', '/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_07_3571.jpg', '/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_10_2735.jpg', '/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_12_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/28/image_26112025_02_28_54_2704.jpg
/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_01_2582.jpg
/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_03_2759.jpg
/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_07_3571.jpg
/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_10_2735.jpg
/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_12_2708.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":["1396207450","1396207447","1396207452","1396207455","1396207449","1396207448"],"photo_ids_order":["1396207447","1396207448","1396207449","1396207450","1396207452","1396207455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/539e0c49c3603a6ea3ef89631d8ae1d4.jpg","text":"TemporaryFile(/tmp/multipartBody7234223403149611232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132183911,"filename":"image_26112025_02_29_07_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/26/fa3bf413748ee3b9a5b391aca0160f88.jpg","text":"TemporaryFile(/tmp/multipartBody7552476059389043054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132183911,"filename":"image_26112025_02_28_54_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/26/ad073c11c10c294e8b32fdb8a36f09ba.jpg","text":"TemporaryFile(/tmp/multipartBody879330438641499877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132183911,"filename":"image_26112025_02_29_10_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/26/9e1a6fe924ddbed6675832478fd3cc8a.jpg","text":"TemporaryFile(/tmp/multipartBody1580562921600512875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132183911,"filename":"image_26112025_02_29_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/26/05fcea03687c3108ae190a4f5993d8e4.jpg","text":"TemporaryFile(/tmp/multipartBody3794665921892073088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132183911,"filename":"image_26112025_02_29_03_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/26/7dd828367333fe600ce52ab31fb56d89.jpg","text":"TemporaryFile(/tmp/multipartBody8876013064742936170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132183911,"filename":"image_26112025_02_29_01_2582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207449","file1":"1396207448","file0":"1396207447","file4":"1396207452","file5":"1396207455","file3":"1396207450"},"map_files_photo_id_array":[{"photo_id":"1396207455","filename":"file5"},{"photo_id":"1396207449","filename":"file2"},{"photo_id":"1396207452","filename":"file4"},{"photo_id":"1396207448","filename":"file1"},{"photo_id":"1396207447","filename":"file0"},{"photo_id":"1396207450","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207450":["hashtag1","hashtag2"]},{"1396207447":["hashtag1","hashtag2"]},{"1396207452":["hashtag1","hashtag2"]},{"1396207455":["hashtag1","hashtag2"]},{"1396207449":["hashtag1","hashtag2"]},{"1396207448":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207450, 1396207447, 1396207452, 1396207455, 1396207449, 1396207448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.80672812461853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 05:42:42.729955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_15_2690.jpg', '/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_19_3574.jpg', '/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_21_2590.jpg', '/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_25_3602.jpg', '/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_28_2629.jpg', '/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_30_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_15_2690.jpg
/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_19_3574.jpg
/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_21_2590.jpg
/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_25_3602.jpg
/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_28_2629.jpg
/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_30_2580.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":["1396207468","1396207470","1396207464","1396207467","1396207469","1396207466"],"photo_ids_order":["1396207464","1396207466","1396207467","1396207468","1396207469","1396207470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7742c1e2ded10444fbc7152bd227b3f7.jpg","text":"TemporaryFile(/tmp/multipartBody1428782002186572018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132223428,"filename":"image_26112025_02_29_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/26/22fc0ce88909f559e78b14718374245c.jpg","text":"TemporaryFile(/tmp/multipartBody4840965225353866846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132223428,"filename":"image_26112025_02_29_30_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/26/98ec233a39dd0c10d2d3d79a28576dcc.jpg","text":"TemporaryFile(/tmp/multipartBody3755581129499047885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132223428,"filename":"image_26112025_02_29_15_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/26/ada50326928da0889255c6bd053efbcd.jpg","text":"TemporaryFile(/tmp/multipartBody7867268254396408426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132223428,"filename":"image_26112025_02_29_21_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/26/8545b5d284fb8660b2bcc05c8a6486d1.jpg","text":"TemporaryFile(/tmp/multipartBody2757368902110545442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132223428,"filename":"image_26112025_02_29_28_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/26/c1a4414ec38dd995088034425a190f35.jpg","text":"TemporaryFile(/tmp/multipartBody8611674946898108927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132223428,"filename":"image_26112025_02_29_19_3574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207467","file1":"1396207466","file0":"1396207464","file4":"1396207469","file5":"1396207470","file3":"1396207468"},"map_files_photo_id_array":[{"photo_id":"1396207470","filename":"file5"},{"photo_id":"1396207467","filename":"file2"},{"photo_id":"1396207469","filename":"file4"},{"photo_id":"1396207466","filename":"file1"},{"photo_id":"1396207464","filename":"file0"},{"photo_id":"1396207468","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207468":["hashtag1","hashtag2"]},{"1396207470":["hashtag1","hashtag2"]},{"1396207464":["hashtag1","hashtag2"]},{"1396207467":["hashtag1","hashtag2"]},{"1396207469":["hashtag1","hashtag2"]},{"1396207466":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207468, 1396207470, 1396207464, 1396207467, 1396207469, 1396207466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.487645387649536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:43:21.871550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_34_3795.jpg', '/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_36_2279.jpg', '/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_40_3620.jpg', '/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_42_2611.jpg', '/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_45_2693.jpg', '/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_49_3760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_34_3795.jpg
/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_36_2279.jpg
/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_40_3620.jpg
/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_42_2611.jpg
/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_45_2693.jpg
/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_49_3760.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":["1396207489","1396207491","1396207479","1396207493","1396207487","1396207496"],"photo_ids_order":["1396207479","1396207487","1396207489","1396207491","1396207493","1396207496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/286ba48f72b4cde75c7a4188eedb72af.jpg","text":"TemporaryFile(/tmp/multipartBody8862124335147890329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132262573,"filename":"image_26112025_02_29_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/26/1198eabdcef1a061616808c3fb5af57d.jpg","text":"TemporaryFile(/tmp/multipartBody2466733679825709084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132262573,"filename":"image_26112025_02_29_42_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/26/8fca00ebd1775d9dccc817cddc05d0d6.jpg","text":"TemporaryFile(/tmp/multipartBody8287426082277646899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132262573,"filename":"image_26112025_02_29_34_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/26/4bcd9d6f034bbe4384a23ce79b9c40d5.jpg","text":"TemporaryFile(/tmp/multipartBody8637381384895153058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132262573,"filename":"image_26112025_02_29_45_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/26/36f382549ec21be4eb6b420911605ea3.jpg","text":"TemporaryFile(/tmp/multipartBody7310291471654691257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132262573,"filename":"image_26112025_02_29_36_2279.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ba1c83059521d5b9ba47cd398dd5e647.jpg","text":"TemporaryFile(/tmp/multipartBody8555843891676520922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132262573,"filename":"image_26112025_02_29_49_3760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207489","file1":"1396207487","file0":"1396207479","file4":"1396207493","file5":"1396207496","file3":"1396207491"},"map_files_photo_id_array":[{"photo_id":"1396207496","filename":"file5"},{"photo_id":"1396207489","filename":"file2"},{"photo_id":"1396207493","filename":"file4"},{"photo_id":"1396207487","filename":"file1"},{"photo_id":"1396207479","filename":"file0"},{"photo_id":"1396207491","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207489":["hashtag1","hashtag2"]},{"1396207491":["hashtag1","hashtag2"]},{"1396207479":["hashtag1","hashtag2"]},{"1396207493":["hashtag1","hashtag2"]},{"1396207487":["hashtag1","hashtag2"]},{"1396207496":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207489, 1396207491, 1396207479, 1396207493, 1396207487, 1396207496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21542263031006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:44:02.714483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_52_2655.jpg', '/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_54_2823.jpg', '/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_57_2807.jpg', '/home/pi/Desktop/images/26112025/02/29/image_26112025_02_30_01_3595.jpg', '/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_03_2541.jpg', '/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_07_3691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_52_2655.jpg
/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_54_2823.jpg
/home/pi/Desktop/images/26112025/02/29/image_26112025_02_29_57_2807.jpg
/home/pi/Desktop/images/26112025/02/29/image_26112025_02_30_01_3595.jpg
/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_03_2541.jpg
/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_07_3691.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":["1396207504","1396207501","1396207500","1396207512","1396207508","1396207498"],"photo_ids_order":["1396207498","1396207500","1396207501","1396207504","1396207508","1396207512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/924e14a51f37f9301ac97d096889c986.jpg","text":"TemporaryFile(/tmp/multipartBody3837499593305055186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132303491,"filename":"image_26112025_02_30_01_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/26/f5435ae6aa410d18544721843aa87879.jpg","text":"TemporaryFile(/tmp/multipartBody8743651866486789980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132303491,"filename":"image_26112025_02_29_57_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/26/0cf32491c3b9bef6571ef2b78874ad0c.jpg","text":"TemporaryFile(/tmp/multipartBody2553638233465431577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132303491,"filename":"image_26112025_02_29_54_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/26/a6fae230c53592197fdc5d97181cf5bb.jpg","text":"TemporaryFile(/tmp/multipartBody5973508983387696798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132303491,"filename":"image_26112025_02_30_07_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/26/e0d408ce5937aefe8239eefc153f7407.jpg","text":"TemporaryFile(/tmp/multipartBody7283057106604298330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132303491,"filename":"image_26112025_02_30_03_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/26/ca0e0c6f66d67d324f7595e342e64c67.jpg","text":"TemporaryFile(/tmp/multipartBody8921698706232108550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132303491,"filename":"image_26112025_02_29_52_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207501","file1":"1396207500","file0":"1396207498","file4":"1396207508","file5":"1396207512","file3":"1396207504"},"map_files_photo_id_array":[{"photo_id":"1396207512","filename":"file5"},{"photo_id":"1396207501","filename":"file2"},{"photo_id":"1396207508","filename":"file4"},{"photo_id":"1396207500","filename":"file1"},{"photo_id":"1396207498","filename":"file0"},{"photo_id":"1396207504","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207504":["hashtag1","hashtag2"]},{"1396207501":["hashtag1","hashtag2"]},{"1396207500":["hashtag1","hashtag2"]},{"1396207512":["hashtag1","hashtag2"]},{"1396207508":["hashtag1","hashtag2"]},{"1396207498":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207504, 1396207501, 1396207500, 1396207512, 1396207508, 1396207498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.281110525131226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 05:44:41.986851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_09_2503.jpg', '/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_12_2868.jpg', '/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_15_2808.jpg', '/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_19_3518.jpg', '/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_21_2638.jpg', '/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_24_2784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_09_2503.jpg
/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_12_2868.jpg
/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_15_2808.jpg
/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_19_3518.jpg
/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_21_2638.jpg
/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_24_2784.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":["1396207534","1396207543","1396207525","1396207528","1396207530","1396207529"],"photo_ids_order":["1396207525","1396207528","1396207529","1396207530","1396207534","1396207543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c98ef5b35956f4d7ed4de148cdc834fe.jpg","text":"TemporaryFile(/tmp/multipartBody1575075327026152875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132342756,"filename":"image_26112025_02_30_21_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/26/87c4029cd7d6942dc2fa268f34516391.jpg","text":"TemporaryFile(/tmp/multipartBody5931416453222040966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132342756,"filename":"image_26112025_02_30_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/26/2987641e4c937c9174082516efeba304.jpg","text":"TemporaryFile(/tmp/multipartBody4274878226335399663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132342756,"filename":"image_26112025_02_30_09_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/26/9f6ba3477432baa0e74df434925f9e5d.jpg","text":"TemporaryFile(/tmp/multipartBody4483643916884781004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132342756,"filename":"image_26112025_02_30_12_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/26/e807a1832af322cce82669e9eedb1084.jpg","text":"TemporaryFile(/tmp/multipartBody731817386394527300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132342756,"filename":"image_26112025_02_30_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/26/7358ec34b78449772495d653967f0ffa.jpg","text":"TemporaryFile(/tmp/multipartBody4553198318276060060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132342756,"filename":"image_26112025_02_30_15_2808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207529","file1":"1396207528","file0":"1396207525","file4":"1396207534","file5":"1396207543","file3":"1396207530"},"map_files_photo_id_array":[{"photo_id":"1396207543","filename":"file5"},{"photo_id":"1396207529","filename":"file2"},{"photo_id":"1396207534","filename":"file4"},{"photo_id":"1396207528","filename":"file1"},{"photo_id":"1396207525","filename":"file0"},{"photo_id":"1396207530","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207534":["hashtag1","hashtag2"]},{"1396207543":["hashtag1","hashtag2"]},{"1396207525":["hashtag1","hashtag2"]},{"1396207528":["hashtag1","hashtag2"]},{"1396207530":["hashtag1","hashtag2"]},{"1396207529":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207534, 1396207543, 1396207525, 1396207528, 1396207530, 1396207529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7785370349884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:45:22.204774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_28_3601.jpg', '/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_30_2610.jpg', '/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_33_2794.jpg', '/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_37_3595.jpg', '/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_40_2863.jpg', '/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_42_2525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_28_3601.jpg
/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_30_2610.jpg
/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_33_2794.jpg
/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_37_3595.jpg
/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_40_2863.jpg
/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_42_2525.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":["1396207552","1396207561","1396207558","1396207554","1396207556","1396207550"],"photo_ids_order":["1396207550","1396207552","1396207554","1396207556","1396207558","1396207561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cce6604798504419e3b270cb1e00d63d.jpg","text":"TemporaryFile(/tmp/multipartBody1687246596626553412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132384499,"filename":"image_26112025_02_30_30_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/26/0d0affcadb41fa16ccf82d0edc197881.jpg","text":"TemporaryFile(/tmp/multipartBody681408446732475311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132384499,"filename":"image_26112025_02_30_42_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/26/5880079876b46bfdf59641a1b6fd8508.jpg","text":"TemporaryFile(/tmp/multipartBody8135508343623902273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132384499,"filename":"image_26112025_02_30_40_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/26/4e16d90e6a2e1f048b32d3a9ddf06cc2.jpg","text":"TemporaryFile(/tmp/multipartBody1407072678273808607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132384499,"filename":"image_26112025_02_30_33_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/26/6b3b29976e566c31622054bff40c9d5e.jpg","text":"TemporaryFile(/tmp/multipartBody4592461832452439823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132384499,"filename":"image_26112025_02_30_37_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/26/7a1a4f1b1efdea39d2dc968e34cb0cf5.jpg","text":"TemporaryFile(/tmp/multipartBody3923498134475509364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132384499,"filename":"image_26112025_02_30_28_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207554","file1":"1396207552","file0":"1396207550","file4":"1396207558","file5":"1396207561","file3":"1396207556"},"map_files_photo_id_array":[{"photo_id":"1396207561","filename":"file5"},{"photo_id":"1396207554","filename":"file2"},{"photo_id":"1396207558","filename":"file4"},{"photo_id":"1396207552","filename":"file1"},{"photo_id":"1396207550","filename":"file0"},{"photo_id":"1396207556","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207552":["hashtag1","hashtag2"]},{"1396207561":["hashtag1","hashtag2"]},{"1396207558":["hashtag1","hashtag2"]},{"1396207554":["hashtag1","hashtag2"]},{"1396207556":["hashtag1","hashtag2"]},{"1396207550":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207552, 1396207561, 1396207558, 1396207554, 1396207556, 1396207550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57692813873291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:46:03.009060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_46_3615.jpg', '/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_49_2851.jpg', '/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_51_2609.jpg', '/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_55_3701.jpg', '/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_57_2624.jpg', '/home/pi/Desktop/images/26112025/02/30/image_26112025_02_31_00_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_46_3615.jpg
/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_49_2851.jpg
/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_51_2609.jpg
/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_55_3701.jpg
/home/pi/Desktop/images/26112025/02/30/image_26112025_02_30_57_2624.jpg
/home/pi/Desktop/images/26112025/02/30/image_26112025_02_31_00_2794.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":["1396207564","1396207566","1396207569","1396207568","1396207562","1396207571"],"photo_ids_order":["1396207562","1396207564","1396207566","1396207568","1396207569","1396207571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3a23060e67fc358dc0c023fba55143dc.jpg","text":"TemporaryFile(/tmp/multipartBody6762069307510414839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132423747,"filename":"image_26112025_02_30_49_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/26/cf6f54eb3558d03e0d9eea26479bca59.jpg","text":"TemporaryFile(/tmp/multipartBody746155195729692024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132423747,"filename":"image_26112025_02_30_51_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/26/208add3352d4fc0d503edb86c4507183.jpg","text":"TemporaryFile(/tmp/multipartBody1636761630249439740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132423747,"filename":"image_26112025_02_30_57_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/26/26f34617753405206736cbf023114d8a.jpg","text":"TemporaryFile(/tmp/multipartBody1670170543563204680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132423747,"filename":"image_26112025_02_30_55_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/26/50538967631fb4c4d9329cb4236543fe.jpg","text":"TemporaryFile(/tmp/multipartBody5735643823815591143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132423747,"filename":"image_26112025_02_30_46_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/26/c5ae1710575add4d19b8fbea78c65108.jpg","text":"TemporaryFile(/tmp/multipartBody6526231911428939753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132423747,"filename":"image_26112025_02_31_00_2794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207566","file1":"1396207564","file0":"1396207562","file4":"1396207569","file5":"1396207571","file3":"1396207568"},"map_files_photo_id_array":[{"photo_id":"1396207571","filename":"file5"},{"photo_id":"1396207566","filename":"file2"},{"photo_id":"1396207569","filename":"file4"},{"photo_id":"1396207564","filename":"file1"},{"photo_id":"1396207562","filename":"file0"},{"photo_id":"1396207568","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207564":["hashtag1","hashtag2"]},{"1396207566":["hashtag1","hashtag2"]},{"1396207569":["hashtag1","hashtag2"]},{"1396207568":["hashtag1","hashtag2"]},{"1396207562":["hashtag1","hashtag2"]},{"1396207571":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207564, 1396207566, 1396207569, 1396207568, 1396207562, 1396207571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08386158943176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 05:46:42.637657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/31/image_26112025_02_31_03_2720.jpg', '/home/pi/Desktop/images/26112025/02/31/image_26112025_02_31_07_3718.jpg', '/home/pi/Desktop/images/26112025/02/31/image_26112025_02_31_13_6024.jpg', '/home/pi/Desktop/images/26112025/02/31/image_26112025_02_31_27_14563.jpg', '/home/pi/Desktop/images/26112025/02/31/image_26112025_02_31_45_17639.jpg', '/home/pi/Desktop/images/26112025/02/31/image_26112025_02_31_47_1594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/31/image_26112025_02_31_03_2720.jpg
/home/pi/Desktop/images/26112025/02/31/image_26112025_02_31_07_3718.jpg
/home/pi/Desktop/images/26112025/02/31/image_26112025_02_31_13_6024.jpg
/home/pi/Desktop/images/26112025/02/31/image_26112025_02_31_27_14563.jpg
/home/pi/Desktop/images/26112025/02/31/image_26112025_02_31_45_17639.jpg
/home/pi/Desktop/images/26112025/02/31/image_26112025_02_31_47_1594.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":["1396207588","1396207582","1396207590","1396207584","1396207587","1396207586"],"photo_ids_order":["1396207582","1396207584","1396207586","1396207587","1396207588","1396207590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1b03e86b9108dd1ac886ee11b246e2b4.jpg","text":"TemporaryFile(/tmp/multipartBody1173131590615868309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132463341,"filename":"image_26112025_02_31_45_17639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/703b121def6402e60ac89a36ddf500d2.jpg","text":"TemporaryFile(/tmp/multipartBody2682162614032626357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132463341,"filename":"image_26112025_02_31_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/26/5ed003676fdc78755919b3d49aa46511.jpg","text":"TemporaryFile(/tmp/multipartBody7009009420841262238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132463341,"filename":"image_26112025_02_31_47_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/26/ecc28cd76b1f1f52e6b5075bcdc6b98c.jpg","text":"TemporaryFile(/tmp/multipartBody7318932043056217277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132463341,"filename":"image_26112025_02_31_07_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/26/627728fd5d80d8d73d497344e4736f97.jpg","text":"TemporaryFile(/tmp/multipartBody8927090579386518492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132463341,"filename":"image_26112025_02_31_27_14563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e858018591ba29b5b11cb2c255b9ac1c.jpg","text":"TemporaryFile(/tmp/multipartBody4155745156644259987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132463341,"filename":"image_26112025_02_31_13_6024.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207586","file1":"1396207584","file0":"1396207582","file4":"1396207588","file5":"1396207590","file3":"1396207587"},"map_files_photo_id_array":[{"photo_id":"1396207590","filename":"file5"},{"photo_id":"1396207586","filename":"file2"},{"photo_id":"1396207588","filename":"file4"},{"photo_id":"1396207584","filename":"file1"},{"photo_id":"1396207582","filename":"file0"},{"photo_id":"1396207587","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207588":["hashtag1","hashtag2"]},{"1396207582":["hashtag1","hashtag2"]},{"1396207590":["hashtag1","hashtag2"]},{"1396207584":["hashtag1","hashtag2"]},{"1396207587":["hashtag1","hashtag2"]},{"1396207586":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207588, 1396207582, 1396207590, 1396207584, 1396207587, 1396207586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82058882713318 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:47:22.767968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/31/image_26112025_02_31_50_3261.jpg', '/home/pi/Desktop/images/26112025/02/31/image_26112025_02_31_51_1575.jpg', '/home/pi/Desktop/images/26112025/02/31/image_26112025_02_31_55_1653.jpg', '/home/pi/Desktop/images/26112025/02/31/image_26112025_02_31_56_1681.jpg', '/home/pi/Desktop/images/26112025/02/31/image_26112025_02_31_58_1847.jpg', '/home/pi/Desktop/images/26112025/02/31/image_26112025_02_32_00_1672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/31/image_26112025_02_31_50_3261.jpg
/home/pi/Desktop/images/26112025/02/31/image_26112025_02_31_51_1575.jpg
/home/pi/Desktop/images/26112025/02/31/image_26112025_02_31_55_1653.jpg
/home/pi/Desktop/images/26112025/02/31/image_26112025_02_31_56_1681.jpg
/home/pi/Desktop/images/26112025/02/31/image_26112025_02_31_58_1847.jpg
/home/pi/Desktop/images/26112025/02/31/image_26112025_02_32_00_1672.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":["1396207601","1396207599","1396207602","1396207595","1396207607","1396207597"],"photo_ids_order":["1396207595","1396207597","1396207599","1396207601","1396207602","1396207607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9c9e8b6fa5282c4d3b67038e5f6ae8ef.jpg","text":"TemporaryFile(/tmp/multipartBody3889435151765691394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132503433,"filename":"image_26112025_02_31_56_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/26/af842ba4bf6a87cce6186a7fbf896491.jpg","text":"TemporaryFile(/tmp/multipartBody4452160124988833903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132503433,"filename":"image_26112025_02_31_55_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/26/31e826eaaa006b0184e2ee84c52bf3d0.jpg","text":"TemporaryFile(/tmp/multipartBody4541679342319955719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132503433,"filename":"image_26112025_02_31_58_1847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5dfb20a148f42b669cbb3da1b19ea3ff.jpg","text":"TemporaryFile(/tmp/multipartBody527054627951360222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132503433,"filename":"image_26112025_02_31_50_3261.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/295c1eb13688a4edadb33ac9f67d5ce0.jpg","text":"TemporaryFile(/tmp/multipartBody3905334798670459723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132503433,"filename":"image_26112025_02_32_00_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/26/bdfaecb296d1aadd9e13908e77f3676c.jpg","text":"TemporaryFile(/tmp/multipartBody6061451825443709614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132503433,"filename":"image_26112025_02_31_51_1575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207599","file1":"1396207597","file0":"1396207595","file4":"1396207602","file5":"1396207607","file3":"1396207601"},"map_files_photo_id_array":[{"photo_id":"1396207607","filename":"file5"},{"photo_id":"1396207599","filename":"file2"},{"photo_id":"1396207602","filename":"file4"},{"photo_id":"1396207597","filename":"file1"},{"photo_id":"1396207595","filename":"file0"},{"photo_id":"1396207601","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207601":["hashtag1","hashtag2"]},{"1396207599":["hashtag1","hashtag2"]},{"1396207602":["hashtag1","hashtag2"]},{"1396207595":["hashtag1","hashtag2"]},{"1396207607":["hashtag1","hashtag2"]},{"1396207597":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207601, 1396207599, 1396207602, 1396207595, 1396207607, 1396207597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80254673957825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:48:03.150145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_01_1600.jpg', '/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_03_1582.jpg', '/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_05_1660.jpg', '/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_06_1665.jpg', '/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_08_1617.jpg', '/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_10_1588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_01_1600.jpg
/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_03_1582.jpg
/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_05_1660.jpg
/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_06_1665.jpg
/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_08_1617.jpg
/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_10_1588.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":["1396207616","1396207612","1396207614","1396207617","1396207619","1396207610"],"photo_ids_order":["1396207610","1396207612","1396207614","1396207616","1396207617","1396207619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/82e77666c8d636c8c6a8f01ebf2ec458.jpg","text":"TemporaryFile(/tmp/multipartBody2570688346770880689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132543851,"filename":"image_26112025_02_32_06_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/26/b2b32763c4f3599721065aa9b1335155.jpg","text":"TemporaryFile(/tmp/multipartBody6578032183880781845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132543851,"filename":"image_26112025_02_32_03_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/26/73087ecff9aab7b531a73ed2539c27fa.jpg","text":"TemporaryFile(/tmp/multipartBody803049443853521033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132543851,"filename":"image_26112025_02_32_05_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/26/359134a9a89cda158024f2f47a62f739.jpg","text":"TemporaryFile(/tmp/multipartBody3859646759830041207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132543851,"filename":"image_26112025_02_32_08_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/26/ba6f46d735f203d4e22a7d4046da843d.jpg","text":"TemporaryFile(/tmp/multipartBody4321659666840038631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132543851,"filename":"image_26112025_02_32_10_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/26/776a59e2cf1baaab9e906f4ae97909f1.jpg","text":"TemporaryFile(/tmp/multipartBody5370378510912376611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132543851,"filename":"image_26112025_02_32_01_1600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207614","file1":"1396207612","file0":"1396207610","file4":"1396207617","file5":"1396207619","file3":"1396207616"},"map_files_photo_id_array":[{"photo_id":"1396207619","filename":"file5"},{"photo_id":"1396207614","filename":"file2"},{"photo_id":"1396207617","filename":"file4"},{"photo_id":"1396207612","filename":"file1"},{"photo_id":"1396207610","filename":"file0"},{"photo_id":"1396207616","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207616":["hashtag1","hashtag2"]},{"1396207612":["hashtag1","hashtag2"]},{"1396207614":["hashtag1","hashtag2"]},{"1396207617":["hashtag1","hashtag2"]},{"1396207619":["hashtag1","hashtag2"]},{"1396207610":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207616, 1396207612, 1396207614, 1396207617, 1396207619, 1396207610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89504957199097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 05:48:42.729010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_11_1773.jpg', '/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_38_27047.jpg', '/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_40_1752.jpg', '/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_42_1656.jpg', '/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_44_1696.jpg', '/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_45_1675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_11_1773.jpg
/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_38_27047.jpg
/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_40_1752.jpg
/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_42_1656.jpg
/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_44_1696.jpg
/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_45_1675.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":["1396207633","1396207636","1396207630","1396207632","1396207635","1396207637"],"photo_ids_order":["1396207630","1396207632","1396207633","1396207635","1396207636","1396207637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7eb3b7b302bc4ee08cada15a51adba33.jpg","text":"TemporaryFile(/tmp/multipartBody7309643494680759995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132583458,"filename":"image_26112025_02_32_40_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/26/5e6bbf5cdbf1cdaf3c6f88618180dcfe.jpg","text":"TemporaryFile(/tmp/multipartBody1590833830302797315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132583458,"filename":"image_26112025_02_32_44_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/26/46da59cc78c9229361469388e616bd7d.jpg","text":"TemporaryFile(/tmp/multipartBody6252635706279943181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132583458,"filename":"image_26112025_02_32_11_1773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/343070b249f40fc5727c38c49ac8c134.jpg","text":"TemporaryFile(/tmp/multipartBody6974525278494012279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132583458,"filename":"image_26112025_02_32_38_27047.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d8850b5631005ef59b6554fe081b5608.jpg","text":"TemporaryFile(/tmp/multipartBody8806930199712735599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132583458,"filename":"image_26112025_02_32_42_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/26/5607e9f9fae2aa72be071650c1302c4f.jpg","text":"TemporaryFile(/tmp/multipartBody1968151705577819842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132583458,"filename":"image_26112025_02_32_45_1675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207633","file1":"1396207632","file0":"1396207630","file4":"1396207636","file5":"1396207637","file3":"1396207635"},"map_files_photo_id_array":[{"photo_id":"1396207637","filename":"file5"},{"photo_id":"1396207633","filename":"file2"},{"photo_id":"1396207636","filename":"file4"},{"photo_id":"1396207632","filename":"file1"},{"photo_id":"1396207630","filename":"file0"},{"photo_id":"1396207635","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207633":["hashtag1","hashtag2"]},{"1396207636":["hashtag1","hashtag2"]},{"1396207630":["hashtag1","hashtag2"]},{"1396207632":["hashtag1","hashtag2"]},{"1396207635":["hashtag1","hashtag2"]},{"1396207637":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207633, 1396207636, 1396207630, 1396207632, 1396207635, 1396207637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58594369888306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:49:21.908204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_47_1791.jpg', '/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_49_1578.jpg', '/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_50_1615.jpg', '/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_52_1797.jpg', '/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_54_1675.jpg', '/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_55_1566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_47_1791.jpg
/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_49_1578.jpg
/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_50_1615.jpg
/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_52_1797.jpg
/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_54_1675.jpg
/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_55_1566.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":["1396207648","1396207650","1396207644","1396207641","1396207652","1396207646"],"photo_ids_order":["1396207641","1396207644","1396207646","1396207648","1396207650","1396207652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ce9e35382e77a80764a5cd4cd1bee724.jpg","text":"TemporaryFile(/tmp/multipartBody3993490268857709611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132622620,"filename":"image_26112025_02_32_52_1797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5c5479ea3c98fe82d667b423ea574e24.jpg","text":"TemporaryFile(/tmp/multipartBody9066452384366889022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132622620,"filename":"image_26112025_02_32_54_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/db28744fc02eb557e372737b01ec8609.jpg","text":"TemporaryFile(/tmp/multipartBody7722079330416802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132622620,"filename":"image_26112025_02_32_49_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/26/fd8de3f76e4f7ef2c54d133ec5e1fd6f.jpg","text":"TemporaryFile(/tmp/multipartBody6760650021763959898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132622620,"filename":"image_26112025_02_32_47_1791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8786aad3e53d4ed2999fc23af8d213be.jpg","text":"TemporaryFile(/tmp/multipartBody3131306523703214347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132622620,"filename":"image_26112025_02_32_55_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/26/21259b360283580f800405f0843c3e4f.jpg","text":"TemporaryFile(/tmp/multipartBody2366187784827401997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132622620,"filename":"image_26112025_02_32_50_1615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207646","file1":"1396207644","file0":"1396207641","file4":"1396207650","file5":"1396207652","file3":"1396207648"},"map_files_photo_id_array":[{"photo_id":"1396207652","filename":"file5"},{"photo_id":"1396207646","filename":"file2"},{"photo_id":"1396207650","filename":"file4"},{"photo_id":"1396207644","filename":"file1"},{"photo_id":"1396207641","filename":"file0"},{"photo_id":"1396207648","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207648":["hashtag1","hashtag2"]},{"1396207650":["hashtag1","hashtag2"]},{"1396207644":["hashtag1","hashtag2"]},{"1396207641":["hashtag1","hashtag2"]},{"1396207652":["hashtag1","hashtag2"]},{"1396207646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207648, 1396207650, 1396207644, 1396207641, 1396207652, 1396207646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.60924410820007 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-26 05:50:16.228304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_57_1641.jpg', '/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_58_1616.jpg', '/home/pi/Desktop/images/26112025/02/32/image_26112025_02_33_00_1545.jpg', '/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_02_1571.jpg', '/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_03_1778.jpg', '/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_05_1527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_57_1641.jpg
/home/pi/Desktop/images/26112025/02/32/image_26112025_02_32_58_1616.jpg
/home/pi/Desktop/images/26112025/02/32/image_26112025_02_33_00_1545.jpg
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_02_1571.jpg
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_03_1778.jpg
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_05_1527.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":["1396207663","1396207669","1396207656","1396207671","1396207659","1396207667"],"photo_ids_order":["1396207656","1396207659","1396207663","1396207667","1396207669","1396207671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b98f7c824f9f84b52a3271ce6644e200.jpg","text":"TemporaryFile(/tmp/multipartBody9209647035276430453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132676935,"filename":"image_26112025_02_33_00_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/26/95dc1ef51fc94470b530a76f4f603ad4.jpg","text":"TemporaryFile(/tmp/multipartBody8640390726748402321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132676935,"filename":"image_26112025_02_33_03_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/26/a830da975c3b8a9d81348a358a1286bd.jpg","text":"TemporaryFile(/tmp/multipartBody7440247400266912811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132676935,"filename":"image_26112025_02_32_57_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1d3f7d1c9961b8cb32ce6848b09704f7.jpg","text":"TemporaryFile(/tmp/multipartBody6687618992805222460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132676935,"filename":"image_26112025_02_33_05_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/26/52f74115ca9c9e26468f465dc3557da1.jpg","text":"TemporaryFile(/tmp/multipartBody2729337282054069225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132676935,"filename":"image_26112025_02_32_58_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/26/1e84a59a0fd628a7ea76dbc5d7860637.jpg","text":"TemporaryFile(/tmp/multipartBody2712628826917899491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132676935,"filename":"image_26112025_02_33_02_1571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207663","file1":"1396207659","file0":"1396207656","file4":"1396207669","file5":"1396207671","file3":"1396207667"},"map_files_photo_id_array":[{"photo_id":"1396207671","filename":"file5"},{"photo_id":"1396207663","filename":"file2"},{"photo_id":"1396207669","filename":"file4"},{"photo_id":"1396207659","filename":"file1"},{"photo_id":"1396207656","filename":"file0"},{"photo_id":"1396207667","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207663":["hashtag1","hashtag2"]},{"1396207669":["hashtag1","hashtag2"]},{"1396207656":["hashtag1","hashtag2"]},{"1396207671":["hashtag1","hashtag2"]},{"1396207659":["hashtag1","hashtag2"]},{"1396207667":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207663, 1396207669, 1396207656, 1396207671, 1396207659, 1396207667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.318450689315796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:51:01.690491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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 10
2025-11-26 05:51:21.030994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_06_1567.jpg', '/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_08_1765.jpg', '/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_10_1676.jpg', '/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_11_1503.jpg', '/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_13_1618.jpg', '/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_15_1720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_06_1567.jpg
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_08_1765.jpg
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_10_1676.jpg
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_11_1503.jpg
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_13_1618.jpg
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_15_1720.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":["1396207714","1396207719","1396207710","1396207707","1396207716","1396207712"],"photo_ids_order":["1396207707","1396207710","1396207712","1396207714","1396207716","1396207719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c4df6846b55c43fb0d300191981f448a.jpg","text":"TemporaryFile(/tmp/multipartBody8533161860548993762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132741695,"filename":"image_26112025_02_33_11_1503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a6e229fdf477eccd40802d4c1c830991.jpg","text":"TemporaryFile(/tmp/multipartBody1476774850879465996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132741695,"filename":"image_26112025_02_33_15_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/26/b5886f58bb3d86de0bfd6ec229e7dada.jpg","text":"TemporaryFile(/tmp/multipartBody5474396006539182915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132741695,"filename":"image_26112025_02_33_08_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/26/94b12db428089c5882fc8cf28b81c961.jpg","text":"TemporaryFile(/tmp/multipartBody8190050361427265321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132741695,"filename":"image_26112025_02_33_06_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/26/f203cdd05723f9c7f1241dff99fb7bac.jpg","text":"TemporaryFile(/tmp/multipartBody1217770168829164811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132741695,"filename":"image_26112025_02_33_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/26/a49fffa43497712aa04655416746d605.jpg","text":"TemporaryFile(/tmp/multipartBody3356299653856201031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132741695,"filename":"image_26112025_02_33_10_1676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207712","file1":"1396207710","file0":"1396207707","file4":"1396207716","file5":"1396207719","file3":"1396207714"},"map_files_photo_id_array":[{"photo_id":"1396207719","filename":"file5"},{"photo_id":"1396207712","filename":"file2"},{"photo_id":"1396207716","filename":"file4"},{"photo_id":"1396207710","filename":"file1"},{"photo_id":"1396207707","filename":"file0"},{"photo_id":"1396207714","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207714":["hashtag1","hashtag2"]},{"1396207719":["hashtag1","hashtag2"]},{"1396207710":["hashtag1","hashtag2"]},{"1396207707":["hashtag1","hashtag2"]},{"1396207716":["hashtag1","hashtag2"]},{"1396207712":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207714, 1396207719, 1396207710, 1396207707, 1396207716, 1396207712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40492916107178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:52:02.902838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_17_1787.jpg', '/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_18_1682.jpg', '/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_20_1601.jpg', '/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_21_1552.jpg', '/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_24_2767.jpg', '/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_27_2567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_17_1787.jpg
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_18_1682.jpg
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_20_1601.jpg
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_21_1552.jpg
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_24_2767.jpg
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_27_2567.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":["1396207725","1396207728","1396207722","1396207721","1396207730","1396207727"],"photo_ids_order":["1396207721","1396207722","1396207725","1396207727","1396207728","1396207730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/42b639b5fcbc1be24d0f1263b2ba6fcc.jpg","text":"TemporaryFile(/tmp/multipartBody7161194730700977379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132783640,"filename":"image_26112025_02_33_20_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/26/c4cf9df0cf8611ece1a18b1e64d4bdf5.jpg","text":"TemporaryFile(/tmp/multipartBody1271966797930630930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132783640,"filename":"image_26112025_02_33_24_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/26/d204f3fcba773a758fd3dc64d3fb148a.jpg","text":"TemporaryFile(/tmp/multipartBody7015641173175349216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132783640,"filename":"image_26112025_02_33_18_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/26/3831208a264dc15d4bcb799540bc2b35.jpg","text":"TemporaryFile(/tmp/multipartBody2220851447621541149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132783640,"filename":"image_26112025_02_33_17_1787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cb412a1c8fed3238b0fc9e2c286c4bd7.jpg","text":"TemporaryFile(/tmp/multipartBody6097848788318984683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132783640,"filename":"image_26112025_02_33_27_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/26/1971affc523fedde1be85cf2297d072e.jpg","text":"TemporaryFile(/tmp/multipartBody1745785821723848771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132783640,"filename":"image_26112025_02_33_21_1552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207725","file1":"1396207722","file0":"1396207721","file4":"1396207728","file5":"1396207730","file3":"1396207727"},"map_files_photo_id_array":[{"photo_id":"1396207730","filename":"file5"},{"photo_id":"1396207725","filename":"file2"},{"photo_id":"1396207728","filename":"file4"},{"photo_id":"1396207722","filename":"file1"},{"photo_id":"1396207721","filename":"file0"},{"photo_id":"1396207727","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207725":["hashtag1","hashtag2"]},{"1396207728":["hashtag1","hashtag2"]},{"1396207722":["hashtag1","hashtag2"]},{"1396207721":["hashtag1","hashtag2"]},{"1396207730":["hashtag1","hashtag2"]},{"1396207727":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207725, 1396207728, 1396207722, 1396207721, 1396207730, 1396207727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43666362762451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 05:52:42.446897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_40_13490.jpg', '/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_42_1635.jpg', '/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_44_1775.jpg', '/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_45_1631.jpg', '/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_47_1759.jpg', '/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_49_1618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_40_13490.jpg
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_42_1635.jpg
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_44_1775.jpg
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_45_1631.jpg
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_47_1759.jpg
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_49_1618.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.6063268184661865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:53:03.429171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_40_13490.jpg', '/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_42_1635.jpg', '/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_44_1775.jpg', '/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_45_1631.jpg', '/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_47_1759.jpg', '/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_49_1618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_40_13490.jpg
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_42_1635.jpg
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_44_1775.jpg
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_45_1631.jpg
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_47_1759.jpg
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_49_1618.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":["1396207750","1396207753","1396207756","1396207752","1396207754","1396207748"],"photo_ids_order":["1396207748","1396207750","1396207752","1396207753","1396207754","1396207756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c242ba2d843f6da07fde7e40580e6413.jpg","text":"TemporaryFile(/tmp/multipartBody7693979340476060153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132844184,"filename":"image_26112025_02_33_42_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/26/45450485b96e51259b1456fffa0836ba.jpg","text":"TemporaryFile(/tmp/multipartBody960774840882495593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132844184,"filename":"image_26112025_02_33_45_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/26/32852f495a9fce4f624a5e653ef734cd.jpg","text":"TemporaryFile(/tmp/multipartBody1092503009126764975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132844184,"filename":"image_26112025_02_33_49_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/26/1373ffc04f02de7dc6deab4104639001.jpg","text":"TemporaryFile(/tmp/multipartBody2972671619749128656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132844184,"filename":"image_26112025_02_33_44_1775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f7297c7d4f56a74403d54e41e76053c3.jpg","text":"TemporaryFile(/tmp/multipartBody7318499994153760681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132844184,"filename":"image_26112025_02_33_47_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/26/59b8529f2a4e73c4412efd1ea2369f86.jpg","text":"TemporaryFile(/tmp/multipartBody9140459629850095837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132844184,"filename":"image_26112025_02_33_40_13490.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207752","file1":"1396207750","file0":"1396207748","file4":"1396207754","file5":"1396207756","file3":"1396207753"},"map_files_photo_id_array":[{"photo_id":"1396207756","filename":"file5"},{"photo_id":"1396207752","filename":"file2"},{"photo_id":"1396207754","filename":"file4"},{"photo_id":"1396207750","filename":"file1"},{"photo_id":"1396207748","filename":"file0"},{"photo_id":"1396207753","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207750":["hashtag1","hashtag2"]},{"1396207753":["hashtag1","hashtag2"]},{"1396207756":["hashtag1","hashtag2"]},{"1396207752":["hashtag1","hashtag2"]},{"1396207754":["hashtag1","hashtag2"]},{"1396207748":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207750, 1396207753, 1396207756, 1396207752, 1396207754, 1396207748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90281558036804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 05:53:42.648131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_50_1494.jpg', '/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_52_1610.jpg', '/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_54_2702.jpg', '/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_57_2666.jpg', '/home/pi/Desktop/images/26112025/02/33/image_26112025_02_34_00_3402.jpg', '/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_03_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_50_1494.jpg
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_52_1610.jpg
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_54_2702.jpg
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_33_57_2666.jpg
/home/pi/Desktop/images/26112025/02/33/image_26112025_02_34_00_3402.jpg
/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_03_2686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396207762","1396207765","1396207768","1396207764","1396207767","1396207766"],"photo_ids_order":["1396207762","1396207764","1396207765","1396207766","1396207767","1396207768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/49e8062672bb72d94329443bc9825c42.jpg","text":"TemporaryFile(/tmp/multipartBody7550562757609244115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132883332,"filename":"image_26112025_02_33_50_1494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/75776d7cd8dca9bd5f1133c10577ad29.jpg","text":"TemporaryFile(/tmp/multipartBody1028373178099145049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132883332,"filename":"image_26112025_02_33_54_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/26/45f9f684a5a920a96431ea9086b302a2.jpg","text":"TemporaryFile(/tmp/multipartBody6355555811074961024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132883332,"filename":"image_26112025_02_34_03_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5781f73511536ca472a51932c2b49237.jpg","text":"TemporaryFile(/tmp/multipartBody7422370674035821066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132883332,"filename":"image_26112025_02_33_52_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/26/737c092c253c1e2f203828ef71d63030.jpg","text":"TemporaryFile(/tmp/multipartBody8094220267677126788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132883332,"filename":"image_26112025_02_34_00_3402.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/19df81ce5fa86d036ee2d23231b36590.jpg","text":"TemporaryFile(/tmp/multipartBody6624867180134267208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132883332,"filename":"image_26112025_02_33_57_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207765","file1":"1396207764","file0":"1396207762","file4":"1396207767","file5":"1396207768","file3":"1396207766"},"map_files_photo_id_array":[{"photo_id":"1396207768","filename":"file5"},{"photo_id":"1396207765","filename":"file2"},{"photo_id":"1396207767","filename":"file4"},{"photo_id":"1396207764","filename":"file1"},{"photo_id":"1396207762","filename":"file0"},{"photo_id":"1396207766","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207762":["hashtag1","hashtag2"]},{"1396207765":["hashtag1","hashtag2"]},{"1396207768":["hashtag1","hashtag2"]},{"1396207764":["hashtag1","hashtag2"]},{"1396207767":["hashtag1","hashtag2"]},{"1396207766":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207762, 1396207765, 1396207768, 1396207764, 1396207767, 1396207766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.721657037734985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:54:25.795393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_06_2671.jpg', '/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_10_3664.jpg', '/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_12_2595.jpg', '/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_15_2674.jpg', '/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_18_3626.jpg', '/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_21_2980.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_06_2671.jpg
/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_10_3664.jpg
/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_12_2595.jpg
/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_15_2674.jpg
/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_18_3626.jpg
/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_21_2980.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":["1396207783","1396207786","1396207773","1396207781","1396207775","1396207789"],"photo_ids_order":["1396207773","1396207775","1396207781","1396207783","1396207786","1396207789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5c010c7dafb0e347ba6e248621951db5.jpg","text":"TemporaryFile(/tmp/multipartBody5786742227729045842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132926463,"filename":"image_26112025_02_34_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/26/431307d51c2678bc82bd437c33c486bc.jpg","text":"TemporaryFile(/tmp/multipartBody77561814522847905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132926463,"filename":"image_26112025_02_34_18_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/26/b5b70a30702acbce6e385da8b6d9896b.jpg","text":"TemporaryFile(/tmp/multipartBody6356265953412868951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132926463,"filename":"image_26112025_02_34_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/26/f34c82ad98130e78ee737f609a4f6b05.jpg","text":"TemporaryFile(/tmp/multipartBody7966024494220130472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132926463,"filename":"image_26112025_02_34_12_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b454d3cb2e1c355f5eec3994ed818118.jpg","text":"TemporaryFile(/tmp/multipartBody1999139649522896535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132926463,"filename":"image_26112025_02_34_10_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/26/62f03a4642956e1e5a8fff8ece2d9979.jpg","text":"TemporaryFile(/tmp/multipartBody8245896755709970399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132926463,"filename":"image_26112025_02_34_21_2980.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207781","file1":"1396207775","file0":"1396207773","file4":"1396207786","file5":"1396207789","file3":"1396207783"},"map_files_photo_id_array":[{"photo_id":"1396207789","filename":"file5"},{"photo_id":"1396207781","filename":"file2"},{"photo_id":"1396207786","filename":"file4"},{"photo_id":"1396207775","filename":"file1"},{"photo_id":"1396207773","filename":"file0"},{"photo_id":"1396207783","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207783":["hashtag1","hashtag2"]},{"1396207786":["hashtag1","hashtag2"]},{"1396207773":["hashtag1","hashtag2"]},{"1396207781":["hashtag1","hashtag2"]},{"1396207775":["hashtag1","hashtag2"]},{"1396207789":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207783, 1396207786, 1396207773, 1396207781, 1396207775, 1396207789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12173008918762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:55:03.498844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_26_4898.jpg', '/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_32_5837.jpg', '/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_35_3173.jpg', '/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_37_1599.jpg', '/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_38_1512.jpg', '/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_40_1564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_26_4898.jpg
/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_32_5837.jpg
/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_35_3173.jpg
/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_37_1599.jpg
/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_38_1512.jpg
/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_40_1564.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":["1396207798","1396207791","1396207796","1396207790","1396207793","1396207795"],"photo_ids_order":["1396207790","1396207791","1396207793","1396207795","1396207796","1396207798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b65053f2dfa0ea7e9fe42d3d0967db47.jpg","text":"TemporaryFile(/tmp/multipartBody5104081921573063998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132964288,"filename":"image_26112025_02_34_40_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/26/eb34c6838f7efbd203867e1d527dbe57.jpg","text":"TemporaryFile(/tmp/multipartBody2883887780743599136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132964288,"filename":"image_26112025_02_34_32_5837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d81f6665dbc4892a0837ab9a049b4f66.jpg","text":"TemporaryFile(/tmp/multipartBody966938672107507370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132964288,"filename":"image_26112025_02_34_38_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/26/05e22df4bdd728f0aea3e94c4b728b09.jpg","text":"TemporaryFile(/tmp/multipartBody7016988036831503802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132964288,"filename":"image_26112025_02_34_26_4898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6a12fa79e6772332c40ebfc050e44ea5.jpg","text":"TemporaryFile(/tmp/multipartBody79010670987207850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132964288,"filename":"image_26112025_02_34_35_3173.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/243901a9a55253776af6ed9f1e128df4.jpg","text":"TemporaryFile(/tmp/multipartBody5672120513321272013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764132964288,"filename":"image_26112025_02_34_37_1599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207793","file1":"1396207791","file0":"1396207790","file4":"1396207796","file5":"1396207798","file3":"1396207795"},"map_files_photo_id_array":[{"photo_id":"1396207798","filename":"file5"},{"photo_id":"1396207793","filename":"file2"},{"photo_id":"1396207796","filename":"file4"},{"photo_id":"1396207791","filename":"file1"},{"photo_id":"1396207790","filename":"file0"},{"photo_id":"1396207795","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207798":["hashtag1","hashtag2"]},{"1396207791":["hashtag1","hashtag2"]},{"1396207796":["hashtag1","hashtag2"]},{"1396207790":["hashtag1","hashtag2"]},{"1396207793":["hashtag1","hashtag2"]},{"1396207795":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207798, 1396207791, 1396207796, 1396207790, 1396207793, 1396207795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08079934120178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 05:55:42.736922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_43_2588.jpg', '/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_45_2812.jpg', '/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_48_2721.jpg', '/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_51_2799.jpg', '/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_54_2662.jpg', '/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_57_3666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_43_2588.jpg
/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_45_2812.jpg
/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_48_2721.jpg
/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_51_2799.jpg
/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_54_2662.jpg
/home/pi/Desktop/images/26112025/02/34/image_26112025_02_34_57_3666.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":["1396207808","1396207807","1396207804","1396207806","1396207809","1396207811"],"photo_ids_order":["1396207804","1396207806","1396207807","1396207808","1396207809","1396207811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3b91025f7cd7485af1c390cfb2dc636e.jpg","text":"TemporaryFile(/tmp/multipartBody806071087072996896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133003431,"filename":"image_26112025_02_34_51_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/26/2046b9817c9a58b4040d7432bf59bbd2.jpg","text":"TemporaryFile(/tmp/multipartBody587660415624351944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133003431,"filename":"image_26112025_02_34_48_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ffc7846115f0257c4ce9a874a8fd4fb4.jpg","text":"TemporaryFile(/tmp/multipartBody5613023781615958898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133003431,"filename":"image_26112025_02_34_43_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/26/c0a7536b3c00c93d04571be39ae9d514.jpg","text":"TemporaryFile(/tmp/multipartBody8773882568473660895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133003431,"filename":"image_26112025_02_34_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/26/9322dc5e081bf6c3b4987d91cb6bf3dd.jpg","text":"TemporaryFile(/tmp/multipartBody1161231696253923729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133003431,"filename":"image_26112025_02_34_54_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/26/5f15d23fa155da7555152706aff004d8.jpg","text":"TemporaryFile(/tmp/multipartBody2581411810447257160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133003431,"filename":"image_26112025_02_34_57_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207807","file1":"1396207806","file0":"1396207804","file4":"1396207809","file5":"1396207811","file3":"1396207808"},"map_files_photo_id_array":[{"photo_id":"1396207811","filename":"file5"},{"photo_id":"1396207807","filename":"file2"},{"photo_id":"1396207809","filename":"file4"},{"photo_id":"1396207806","filename":"file1"},{"photo_id":"1396207804","filename":"file0"},{"photo_id":"1396207808","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207808":["hashtag1","hashtag2"]},{"1396207807":["hashtag1","hashtag2"]},{"1396207804":["hashtag1","hashtag2"]},{"1396207806":["hashtag1","hashtag2"]},{"1396207809":["hashtag1","hashtag2"]},{"1396207811":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207808, 1396207807, 1396207804, 1396207806, 1396207809, 1396207811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.425044775009155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 05:56:22.423057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/34/image_26112025_02_35_00_2571.jpg', '/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_03_3661.jpg', '/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_06_2604.jpg', '/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_09_2666.jpg', '/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_12_3535.jpg', '/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_15_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/34/image_26112025_02_35_00_2571.jpg
/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_03_3661.jpg
/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_06_2604.jpg
/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_09_2666.jpg
/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_12_3535.jpg
/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_15_2654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396207831","1396207828","1396207824","1396207820","1396207817","1396207826"],"photo_ids_order":["1396207817","1396207820","1396207824","1396207826","1396207828","1396207831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6beae3458d28cfc3a9d9b9f285d454e7.jpg","text":"TemporaryFile(/tmp/multipartBody2642144014224327844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133043127,"filename":"image_26112025_02_35_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/26/2a50c120f8dd34e18b1d2dbd34dd4682.jpg","text":"TemporaryFile(/tmp/multipartBody6684520744011241573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133043127,"filename":"image_26112025_02_35_12_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/26/92d737d7ea011ea8a2b702188ad66b67.jpg","text":"TemporaryFile(/tmp/multipartBody1586566353127273421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133043127,"filename":"image_26112025_02_35_06_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/26/9f774d84ecf644e760bf9569bf49f9c3.jpg","text":"TemporaryFile(/tmp/multipartBody8849047261760043597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133043127,"filename":"image_26112025_02_35_03_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/26/540727e0005a145b6a32194529a02224.jpg","text":"TemporaryFile(/tmp/multipartBody1306872526551021521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133043127,"filename":"image_26112025_02_35_00_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/26/6ac2b64a4d5bc34b7e6f3faef15e22ee.jpg","text":"TemporaryFile(/tmp/multipartBody1551374752043214124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133043127,"filename":"image_26112025_02_35_09_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207824","file1":"1396207820","file0":"1396207817","file4":"1396207828","file5":"1396207831","file3":"1396207826"},"map_files_photo_id_array":[{"photo_id":"1396207831","filename":"file5"},{"photo_id":"1396207824","filename":"file2"},{"photo_id":"1396207828","filename":"file4"},{"photo_id":"1396207820","filename":"file1"},{"photo_id":"1396207817","filename":"file0"},{"photo_id":"1396207826","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207831":["hashtag1","hashtag2"]},{"1396207828":["hashtag1","hashtag2"]},{"1396207824":["hashtag1","hashtag2"]},{"1396207820":["hashtag1","hashtag2"]},{"1396207817":["hashtag1","hashtag2"]},{"1396207826":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207831, 1396207828, 1396207824, 1396207820, 1396207817, 1396207826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.533198833465576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:57:03.390323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_18_2644.jpg', '/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_21_3710.jpg', '/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_24_2682.jpg', '/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_27_2660.jpg', '/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_30_3777.jpg', '/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_33_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_18_2644.jpg
/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_21_3710.jpg
/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_24_2682.jpg
/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_27_2660.jpg
/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_30_3777.jpg
/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_33_2622.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":["1396207858","1396207927","1396207837","1396207833","1396207892","1396207835"],"photo_ids_order":["1396207833","1396207835","1396207837","1396207858","1396207892","1396207927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2836797ff6604e367253de1d9e78b00c.jpg","text":"TemporaryFile(/tmp/multipartBody7396069304907943556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133084135,"filename":"image_26112025_02_35_27_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5bcfe88072ba51aea42ce2359f1b37cb.jpg","text":"TemporaryFile(/tmp/multipartBody6904090816690699987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133084135,"filename":"image_26112025_02_35_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/26/68a30d7953f9e36e71c5cdcfba5b44ef.jpg","text":"TemporaryFile(/tmp/multipartBody7085523584671120529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133084135,"filename":"image_26112025_02_35_24_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7c41677a2ae7758c32d3d885b39f7e18.jpg","text":"TemporaryFile(/tmp/multipartBody4761925235300471042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133084135,"filename":"image_26112025_02_35_18_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/43219c14cf13c6ddb4f957a424b5456f.jpg","text":"TemporaryFile(/tmp/multipartBody3448486057012206650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133084135,"filename":"image_26112025_02_35_30_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/26/928ae5b0c1fbfd829d078c838f5d5b62.jpg","text":"TemporaryFile(/tmp/multipartBody4615184522937446578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133084135,"filename":"image_26112025_02_35_21_3710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396207837","file1":"1396207835","file0":"1396207833","file4":"1396207892","file5":"1396207927","file3":"1396207858"},"map_files_photo_id_array":[{"photo_id":"1396207927","filename":"file5"},{"photo_id":"1396207837","filename":"file2"},{"photo_id":"1396207892","filename":"file4"},{"photo_id":"1396207835","filename":"file1"},{"photo_id":"1396207833","filename":"file0"},{"photo_id":"1396207858","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396207858":["hashtag1","hashtag2"]},{"1396207927":["hashtag1","hashtag2"]},{"1396207837":["hashtag1","hashtag2"]},{"1396207833":["hashtag1","hashtag2"]},{"1396207892":["hashtag1","hashtag2"]},{"1396207835":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396207858, 1396207927, 1396207837, 1396207833, 1396207892, 1396207835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86015701293945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 05:57:42.681820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_36_3175.jpg', '/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_43_1554.jpg', '/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_45_2583.jpg', '/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_48_2641.jpg', '/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_51_2862.jpg', '/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_54_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_36_3175.jpg
/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_43_1554.jpg
/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_45_2583.jpg
/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_48_2641.jpg
/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_51_2862.jpg
/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_54_3653.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396208044","1396208046","1396208025","1396208045","1396208039","1396208006"],"photo_ids_order":["1396208006","1396208025","1396208039","1396208044","1396208045","1396208046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/70cd96dacacc2516442cdc2b267bfff9.jpg","text":"TemporaryFile(/tmp/multipartBody8291641278745032511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133123346,"filename":"image_26112025_02_35_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/26/fa259a16af97480e19f23e73d1a563a0.jpg","text":"TemporaryFile(/tmp/multipartBody838051687076984850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133123346,"filename":"image_26112025_02_35_54_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/26/4738d3d6583c4155b6c906a8ae3f66c3.jpg","text":"TemporaryFile(/tmp/multipartBody6595198299987884760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133123346,"filename":"image_26112025_02_35_43_1554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/863c01b6406297818d8e50555fbf70da.jpg","text":"TemporaryFile(/tmp/multipartBody3583915405919644936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133123346,"filename":"image_26112025_02_35_51_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/26/657eadc35a60fadb6b0134b3202475c8.jpg","text":"TemporaryFile(/tmp/multipartBody2439773942565458347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133123346,"filename":"image_26112025_02_35_45_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/26/81d1d32038a5515a9b9bc3039f59baf5.jpg","text":"TemporaryFile(/tmp/multipartBody3517401256117779417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133123346,"filename":"image_26112025_02_35_36_3175.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396208039","file1":"1396208025","file0":"1396208006","file4":"1396208045","file5":"1396208046","file3":"1396208044"},"map_files_photo_id_array":[{"photo_id":"1396208046","filename":"file5"},{"photo_id":"1396208039","filename":"file2"},{"photo_id":"1396208045","filename":"file4"},{"photo_id":"1396208025","filename":"file1"},{"photo_id":"1396208006","filename":"file0"},{"photo_id":"1396208044","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396208044":["hashtag1","hashtag2"]},{"1396208046":["hashtag1","hashtag2"]},{"1396208025":["hashtag1","hashtag2"]},{"1396208045":["hashtag1","hashtag2"]},{"1396208039":["hashtag1","hashtag2"]},{"1396208006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396208044, 1396208046, 1396208025, 1396208045, 1396208039, 1396208006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72093605995178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 05:59:03.089483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_57_2614.jpg', '/home/pi/Desktop/images/26112025/02/35/image_26112025_02_36_00_3455.jpg', '/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_03_2831.jpg', '/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_06_2661.jpg', '/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_08_2650.jpg', '/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_12_3667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/35/image_26112025_02_35_57_2614.jpg
/home/pi/Desktop/images/26112025/02/35/image_26112025_02_36_00_3455.jpg
/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_03_2831.jpg
/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_06_2661.jpg
/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_08_2650.jpg
/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_12_3667.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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396208323","1396208131","1396208286","1396208211","1396208249","1396208176"],"photo_ids_order":["1396208131","1396208176","1396208211","1396208249","1396208286","1396208323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c6aefdfff33632b1cb2a0b89b1bf055f.jpg","text":"TemporaryFile(/tmp/multipartBody6561980328096825274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133203925,"filename":"image_26112025_02_36_12_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/26/02ef5506c486f06d29ff63b2d47ab3df.jpg","text":"TemporaryFile(/tmp/multipartBody4577136341773982632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133203925,"filename":"image_26112025_02_35_57_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/26/dbdd30c92f4d1faeb313669b65193e1a.jpg","text":"TemporaryFile(/tmp/multipartBody4075844762291591902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133203925,"filename":"image_26112025_02_36_08_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/43a86798c20bf7e36a7fea1600d29c84.jpg","text":"TemporaryFile(/tmp/multipartBody3215310445134752529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133203925,"filename":"image_26112025_02_36_03_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/26/32656a8320845e7dcc1150e988a5a09b.jpg","text":"TemporaryFile(/tmp/multipartBody7917888405795896237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133203925,"filename":"image_26112025_02_36_06_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7336ccb1a0a1121e8cf32b33eb3baf58.jpg","text":"TemporaryFile(/tmp/multipartBody4431261116901383031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133203925,"filename":"image_26112025_02_36_00_3455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396208211","file1":"1396208176","file0":"1396208131","file4":"1396208286","file5":"1396208323","file3":"1396208249"},"map_files_photo_id_array":[{"photo_id":"1396208323","filename":"file5"},{"photo_id":"1396208211","filename":"file2"},{"photo_id":"1396208286","filename":"file4"},{"photo_id":"1396208176","filename":"file1"},{"photo_id":"1396208131","filename":"file0"},{"photo_id":"1396208249","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396208323":["hashtag1","hashtag2"]},{"1396208131":["hashtag1","hashtag2"]},{"1396208286":["hashtag1","hashtag2"]},{"1396208211":["hashtag1","hashtag2"]},{"1396208249":["hashtag1","hashtag2"]},{"1396208176":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396208323, 1396208131, 1396208286, 1396208211, 1396208249, 1396208176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.430991888046265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 06:00:02.536953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_15_2747.jpg', '/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_18_2644.jpg', '/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_21_3644.jpg', '/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_24_2581.jpg', '/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_27_2768.jpg', '/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_30_3766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_15_2747.jpg
/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_18_2644.jpg
/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_21_3644.jpg
/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_24_2581.jpg
/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_27_2768.jpg
/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_30_3766.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":["1396209066","1396208914","1396209225","1396208987","1396208826","1396209151"],"photo_ids_order":["1396208826","1396208914","1396208987","1396209066","1396209151","1396209225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4db7f167d5db0f5efa98048cf4665ab0.jpg","text":"TemporaryFile(/tmp/multipartBody9169975375201606038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133263241,"filename":"image_26112025_02_36_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/26/213dd5f91c4b9d79c164c49b7c9db72e.jpg","text":"TemporaryFile(/tmp/multipartBody7654565149673176659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133263241,"filename":"image_26112025_02_36_18_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c44634d5d759ec2ae90711bf72de3244.jpg","text":"TemporaryFile(/tmp/multipartBody9086084257108148772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133263241,"filename":"image_26112025_02_36_30_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/26/c71618312c35c7002388cf790843a442.jpg","text":"TemporaryFile(/tmp/multipartBody1123155636688768815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133263241,"filename":"image_26112025_02_36_21_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/26/0dc2a7f8a775f54242d15ae581707b09.jpg","text":"TemporaryFile(/tmp/multipartBody8684033627662376170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133263241,"filename":"image_26112025_02_36_15_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/26/83138f3de83e490763e1591583ea9060.jpg","text":"TemporaryFile(/tmp/multipartBody8686534276670528665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133263241,"filename":"image_26112025_02_36_27_2768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396208987","file1":"1396208914","file0":"1396208826","file4":"1396209151","file5":"1396209225","file3":"1396209066"},"map_files_photo_id_array":[{"photo_id":"1396209225","filename":"file5"},{"photo_id":"1396208987","filename":"file2"},{"photo_id":"1396209151","filename":"file4"},{"photo_id":"1396208914","filename":"file1"},{"photo_id":"1396208826","filename":"file0"},{"photo_id":"1396209066","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396209066":["hashtag1","hashtag2"]},{"1396208914":["hashtag1","hashtag2"]},{"1396209225":["hashtag1","hashtag2"]},{"1396208987":["hashtag1","hashtag2"]},{"1396208826":["hashtag1","hashtag2"]},{"1396209151":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396209066, 1396208914, 1396209225, 1396208987, 1396208826, 1396209151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.118919372558594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 06:00:41.952970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_33_3040.jpg', '/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_36_2659.jpg', '/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_39_2568.jpg', '/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_42_3657.jpg', '/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_45_2573.jpg', '/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_47_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_33_3040.jpg
/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_36_2659.jpg
/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_39_2568.jpg
/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_42_3657.jpg
/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_45_2573.jpg
/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_47_2697.jpg
 val : 1 : upload photos already in processing! 
 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":["1396209393","1396209387","1396209396","1396209389","1396209391","1396209384"],"photo_ids_order":["1396209384","1396209387","1396209389","1396209391","1396209393","1396209396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/23c90d9faf766b29b50d480c7c72156c.jpg","text":"TemporaryFile(/tmp/multipartBody7690417811897537613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133302734,"filename":"image_26112025_02_36_45_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/26/8c994ed763fbe395bb4a71dacf761044.jpg","text":"TemporaryFile(/tmp/multipartBody8722600316792947627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133302734,"filename":"image_26112025_02_36_36_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/26/c4c9500ea7a7dd47b380c1a9732a1c80.jpg","text":"TemporaryFile(/tmp/multipartBody4332842674268431465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133302734,"filename":"image_26112025_02_36_47_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/26/ffd0b968c24b6b63868a84ba285fdcbd.jpg","text":"TemporaryFile(/tmp/multipartBody5599153190509910631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133302734,"filename":"image_26112025_02_36_39_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/26/a5ae7d1fe6dd0cf1e0590578506b1726.jpg","text":"TemporaryFile(/tmp/multipartBody6358722032711835478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133302734,"filename":"image_26112025_02_36_42_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/26/bc2ed4c365e5b285f91e7b640417b488.jpg","text":"TemporaryFile(/tmp/multipartBody863445326490279410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133302734,"filename":"image_26112025_02_36_33_3040.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396209389","file1":"1396209387","file0":"1396209384","file4":"1396209393","file5":"1396209396","file3":"1396209391"},"map_files_photo_id_array":[{"photo_id":"1396209396","filename":"file5"},{"photo_id":"1396209389","filename":"file2"},{"photo_id":"1396209393","filename":"file4"},{"photo_id":"1396209387","filename":"file1"},{"photo_id":"1396209384","filename":"file0"},{"photo_id":"1396209391","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396209393":["hashtag1","hashtag2"]},{"1396209387":["hashtag1","hashtag2"]},{"1396209396":["hashtag1","hashtag2"]},{"1396209389":["hashtag1","hashtag2"]},{"1396209391":["hashtag1","hashtag2"]},{"1396209384":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396209393, 1396209387, 1396209396, 1396209389, 1396209391, 1396209384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.15203595161438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:01:34.828906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_51_3564.jpg', '/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_54_2653.jpg', '/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_57_3567.jpg', '/home/pi/Desktop/images/26112025/02/36/image_26112025_02_37_00_2724.jpg', '/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_03_2757.jpg', '/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_09_3754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_51_3564.jpg
/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_54_2653.jpg
/home/pi/Desktop/images/26112025/02/36/image_26112025_02_36_57_3567.jpg
/home/pi/Desktop/images/26112025/02/36/image_26112025_02_37_00_2724.jpg
/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_03_2757.jpg
/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_09_3754.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":["1396209792","1396209807","1396209764","1396209710","1396209833","1396209799"],"photo_ids_order":["1396209710","1396209764","1396209792","1396209799","1396209807","1396209833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c24c69cb1861833aedbec2ae46bed52e.jpg","text":"TemporaryFile(/tmp/multipartBody2588532667092059908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133355501,"filename":"image_26112025_02_36_57_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/26/214f33c1aa9a1315c16ca17ec1660f9c.jpg","text":"TemporaryFile(/tmp/multipartBody4721206421567604408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133355501,"filename":"image_26112025_02_37_03_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/26/b0e85cd78cbd7a3ff7c310659cf8a683.jpg","text":"TemporaryFile(/tmp/multipartBody1985521247688376560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133355501,"filename":"image_26112025_02_36_54_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/26/1309cee8efe27f86e2cbcb3388b5bac4.jpg","text":"TemporaryFile(/tmp/multipartBody2704894508190635801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133355501,"filename":"image_26112025_02_36_51_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/26/8d2bf6d25c466daea20b2a15fcfd5582.jpg","text":"TemporaryFile(/tmp/multipartBody2233349325801193283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133355501,"filename":"image_26112025_02_37_09_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/26/c420fe96fa703ef20e47feac23b645be.jpg","text":"TemporaryFile(/tmp/multipartBody8063627104057713787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133355501,"filename":"image_26112025_02_37_00_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396209792","file1":"1396209764","file0":"1396209710","file4":"1396209807","file5":"1396209833","file3":"1396209799"},"map_files_photo_id_array":[{"photo_id":"1396209833","filename":"file5"},{"photo_id":"1396209792","filename":"file2"},{"photo_id":"1396209807","filename":"file4"},{"photo_id":"1396209764","filename":"file1"},{"photo_id":"1396209710","filename":"file0"},{"photo_id":"1396209799","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396209792":["hashtag1","hashtag2"]},{"1396209807":["hashtag1","hashtag2"]},{"1396209764":["hashtag1","hashtag2"]},{"1396209710":["hashtag1","hashtag2"]},{"1396209833":["hashtag1","hashtag2"]},{"1396209799":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396209792, 1396209807, 1396209764, 1396209710, 1396209833, 1396209799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.747763872146606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:02:12.825115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_12_2596.jpg', '/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_14_2648.jpg', '/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_18_3621.jpg', '/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_21_2713.jpg', '/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_24_2860.jpg', '/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_27_3523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_12_2596.jpg
/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_14_2648.jpg
/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_18_3621.jpg
/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_21_2713.jpg
/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_24_2860.jpg
/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_27_3523.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":["1396209907","1396209906","1396209899","1396209887","1396209902","1396209905"],"photo_ids_order":["1396209887","1396209899","1396209902","1396209905","1396209906","1396209907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ee3f419ae49d6cc1efbfcfbce178d81d.jpg","text":"TemporaryFile(/tmp/multipartBody4975949021742726166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133393494,"filename":"image_26112025_02_37_27_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/26/6c1fce03e7c9bbe35478d2da4e1002bc.jpg","text":"TemporaryFile(/tmp/multipartBody7137773298202931718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133393494,"filename":"image_26112025_02_37_24_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/26/e1864eb1f7a5175fef8dde4e0634e920.jpg","text":"TemporaryFile(/tmp/multipartBody2325402132521092721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133393494,"filename":"image_26112025_02_37_14_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/26/b45d8a2ce402cfb8806305e70d234af2.jpg","text":"TemporaryFile(/tmp/multipartBody3311822808533393746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133393494,"filename":"image_26112025_02_37_12_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/26/3e29075d4a5573add97cfccc93652555.jpg","text":"TemporaryFile(/tmp/multipartBody6532816817309709552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133393494,"filename":"image_26112025_02_37_18_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/26/ed1878fc063d057f131eb22b97915622.jpg","text":"TemporaryFile(/tmp/multipartBody6026347031684646624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133393494,"filename":"image_26112025_02_37_21_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396209902","file1":"1396209899","file0":"1396209887","file4":"1396209906","file5":"1396209907","file3":"1396209905"},"map_files_photo_id_array":[{"photo_id":"1396209907","filename":"file5"},{"photo_id":"1396209902","filename":"file2"},{"photo_id":"1396209906","filename":"file4"},{"photo_id":"1396209899","filename":"file1"},{"photo_id":"1396209887","filename":"file0"},{"photo_id":"1396209905","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396209907":["hashtag1","hashtag2"]},{"1396209906":["hashtag1","hashtag2"]},{"1396209899":["hashtag1","hashtag2"]},{"1396209887":["hashtag1","hashtag2"]},{"1396209902":["hashtag1","hashtag2"]},{"1396209905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396209907, 1396209906, 1396209899, 1396209887, 1396209902, 1396209905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17739677429199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 06:03:02.619392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_30_2870.jpg', '/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_33_2639.jpg', '/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_35_2760.jpg', '/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_39_3680.jpg', '/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_42_2702.jpg', '/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_44_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_30_2870.jpg
/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_33_2639.jpg
/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_35_2760.jpg
/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_39_3680.jpg
/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_42_2702.jpg
/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_44_2666.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":["1396209921","1396209923","1396209917","1396209926","1396209914","1396209919"],"photo_ids_order":["1396209914","1396209917","1396209919","1396209921","1396209923","1396209926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fb0c84d9a9b243ca714dc35191c97bb4.jpg","text":"TemporaryFile(/tmp/multipartBody4480178726324787065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133443375,"filename":"image_26112025_02_37_39_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/26/16aef20373d7c43083bc25a4f9f81701.jpg","text":"TemporaryFile(/tmp/multipartBody6458217722488808825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133443375,"filename":"image_26112025_02_37_42_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8e0962c8eb2c26fcc0b835115babbe5b.jpg","text":"TemporaryFile(/tmp/multipartBody3411107835637353480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133443375,"filename":"image_26112025_02_37_33_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/26/89764633ce47a358468ab93a183d03b1.jpg","text":"TemporaryFile(/tmp/multipartBody4795120534035512735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133443375,"filename":"image_26112025_02_37_44_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/26/87865d56c46ae43aead9956b71576474.jpg","text":"TemporaryFile(/tmp/multipartBody5216396366978683318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133443375,"filename":"image_26112025_02_37_30_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/26/4013d32a01590410f27c62edc519320b.jpg","text":"TemporaryFile(/tmp/multipartBody6654133536753862419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133443375,"filename":"image_26112025_02_37_35_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396209919","file1":"1396209917","file0":"1396209914","file4":"1396209923","file5":"1396209926","file3":"1396209921"},"map_files_photo_id_array":[{"photo_id":"1396209926","filename":"file5"},{"photo_id":"1396209919","filename":"file2"},{"photo_id":"1396209923","filename":"file4"},{"photo_id":"1396209917","filename":"file1"},{"photo_id":"1396209914","filename":"file0"},{"photo_id":"1396209921","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396209921":["hashtag1","hashtag2"]},{"1396209923":["hashtag1","hashtag2"]},{"1396209917":["hashtag1","hashtag2"]},{"1396209926":["hashtag1","hashtag2"]},{"1396209914":["hashtag1","hashtag2"]},{"1396209919":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396209921, 1396209923, 1396209917, 1396209926, 1396209914, 1396209919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72289705276489 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-26 06:04:02.901426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_48_3607.jpg', '/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_51_2723.jpg', '/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_53_2612.jpg', '/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_57_3710.jpg', '/home/pi/Desktop/images/26112025/02/37/image_26112025_02_38_00_2710.jpg', '/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_02_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_48_3607.jpg
/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_51_2723.jpg
/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_53_2612.jpg
/home/pi/Desktop/images/26112025/02/37/image_26112025_02_37_57_3710.jpg
/home/pi/Desktop/images/26112025/02/37/image_26112025_02_38_00_2710.jpg
/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_02_2684.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":["1396209942","1396209953","1396209935","1396209950","1396209952","1396209955"],"photo_ids_order":["1396209935","1396209942","1396209950","1396209952","1396209953","1396209955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/52f296c032f188156b0145918b549d40.jpg","text":"TemporaryFile(/tmp/multipartBody6336096075375462575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133503718,"filename":"image_26112025_02_37_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/26/622585e05c682d00cd4ad288613d147f.jpg","text":"TemporaryFile(/tmp/multipartBody2744615840321286406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133503718,"filename":"image_26112025_02_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/26/3eb52cc48c5bf233defcd131df4e89a9.jpg","text":"TemporaryFile(/tmp/multipartBody1543480764115902803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133503718,"filename":"image_26112025_02_37_48_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/26/5e22224b9a6f8b679e726aec26799aa3.jpg","text":"TemporaryFile(/tmp/multipartBody3446374195907339088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133503718,"filename":"image_26112025_02_37_53_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/26/0375981f022dc24fe0f22265f6beaab7.jpg","text":"TemporaryFile(/tmp/multipartBody7712988726580528806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133503718,"filename":"image_26112025_02_37_57_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/26/5144b3893d790435ab87d8f7d61dfd3c.jpg","text":"TemporaryFile(/tmp/multipartBody1451489016758461093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133503718,"filename":"image_26112025_02_38_02_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396209950","file1":"1396209942","file0":"1396209935","file4":"1396209953","file5":"1396209955","file3":"1396209952"},"map_files_photo_id_array":[{"photo_id":"1396209955","filename":"file5"},{"photo_id":"1396209950","filename":"file2"},{"photo_id":"1396209953","filename":"file4"},{"photo_id":"1396209942","filename":"file1"},{"photo_id":"1396209935","filename":"file0"},{"photo_id":"1396209952","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396209942":["hashtag1","hashtag2"]},{"1396209953":["hashtag1","hashtag2"]},{"1396209935":["hashtag1","hashtag2"]},{"1396209950":["hashtag1","hashtag2"]},{"1396209952":["hashtag1","hashtag2"]},{"1396209955":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396209942, 1396209953, 1396209935, 1396209950, 1396209952, 1396209955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88504123687744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 06:04:42.175007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_05_2904.jpg', '/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_09_3626.jpg', '/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_12_2661.jpg', '/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_14_2708.jpg', '/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_18_3669.jpg', '/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_21_2881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_05_2904.jpg
/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_09_3626.jpg
/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_12_2661.jpg
/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_14_2708.jpg
/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_18_3669.jpg
/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_21_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396209963","1396209965","1396209974","1396209968","1396209964","1396209961"],"photo_ids_order":["1396209961","1396209963","1396209964","1396209965","1396209968","1396209974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/08446a952bef4149429f53b18d9ce6a8.jpg","text":"TemporaryFile(/tmp/multipartBody2162930910580091392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133542876,"filename":"image_26112025_02_38_09_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/26/e9842dc4e0dde32d26001e86b3b440f9.jpg","text":"TemporaryFile(/tmp/multipartBody1137748076174151384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133542876,"filename":"image_26112025_02_38_14_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/589f24cc98450bf030671b8096bb7f20.jpg","text":"TemporaryFile(/tmp/multipartBody36990178294518865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133542876,"filename":"image_26112025_02_38_21_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/26/e82e01c0df2a0c70216990bf402f8936.jpg","text":"TemporaryFile(/tmp/multipartBody5933865270645575760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133542876,"filename":"image_26112025_02_38_18_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/26/16e6c3ae6cf3795b42313369b064d828.jpg","text":"TemporaryFile(/tmp/multipartBody3143478272723389571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133542876,"filename":"image_26112025_02_38_12_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/26/6055d696af54913bdf33349bc43a7802.jpg","text":"TemporaryFile(/tmp/multipartBody5586551367052625953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133542876,"filename":"image_26112025_02_38_05_2904.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396209964","file1":"1396209963","file0":"1396209961","file4":"1396209968","file5":"1396209974","file3":"1396209965"},"map_files_photo_id_array":[{"photo_id":"1396209974","filename":"file5"},{"photo_id":"1396209964","filename":"file2"},{"photo_id":"1396209968","filename":"file4"},{"photo_id":"1396209963","filename":"file1"},{"photo_id":"1396209961","filename":"file0"},{"photo_id":"1396209965","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396209963":["hashtag1","hashtag2"]},{"1396209965":["hashtag1","hashtag2"]},{"1396209974":["hashtag1","hashtag2"]},{"1396209968":["hashtag1","hashtag2"]},{"1396209964":["hashtag1","hashtag2"]},{"1396209961":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396209963, 1396209965, 1396209974, 1396209968, 1396209964, 1396209961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.56612157821655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:05:32.262338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_23_2583.jpg', '/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_26_2850.jpg', '/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_30_3551.jpg', '/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_33_2641.jpg', '/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_36_3504.jpg', '/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_39_2532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_23_2583.jpg
/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_26_2850.jpg
/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_30_3551.jpg
/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_33_2641.jpg
/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_36_3504.jpg
/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_39_2532.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":["1396209984","1396209992","1396209991","1396209985","1396209993","1396209987"],"photo_ids_order":["1396209984","1396209985","1396209987","1396209991","1396209992","1396209993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/198dd1b93eb953a387a1a17da400a297.jpg","text":"TemporaryFile(/tmp/multipartBody3185722905620922864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133592941,"filename":"image_26112025_02_38_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/26/c4dddc706c934583703483096fd4b3a1.jpg","text":"TemporaryFile(/tmp/multipartBody4490236380987392408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133592941,"filename":"image_26112025_02_38_36_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/26/3b2c50da4df9f8bc7a7282bfe47bf637.jpg","text":"TemporaryFile(/tmp/multipartBody3433832648277404606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133592941,"filename":"image_26112025_02_38_33_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/26/4c49a9b5ec6178924cbea336815d8388.jpg","text":"TemporaryFile(/tmp/multipartBody2822287906451289302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133592941,"filename":"image_26112025_02_38_26_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/26/8350501d9d7a9aa064b2f44b4d404fd1.jpg","text":"TemporaryFile(/tmp/multipartBody7248741983260401946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133592941,"filename":"image_26112025_02_38_39_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/26/55c9af0059cc7c9faf53d766d54a623e.jpg","text":"TemporaryFile(/tmp/multipartBody721075678673889037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133592941,"filename":"image_26112025_02_38_30_3551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396209987","file1":"1396209985","file0":"1396209984","file4":"1396209992","file5":"1396209993","file3":"1396209991"},"map_files_photo_id_array":[{"photo_id":"1396209993","filename":"file5"},{"photo_id":"1396209987","filename":"file2"},{"photo_id":"1396209992","filename":"file4"},{"photo_id":"1396209985","filename":"file1"},{"photo_id":"1396209984","filename":"file0"},{"photo_id":"1396209991","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396209984":["hashtag1","hashtag2"]},{"1396209992":["hashtag1","hashtag2"]},{"1396209991":["hashtag1","hashtag2"]},{"1396209985":["hashtag1","hashtag2"]},{"1396209993":["hashtag1","hashtag2"]},{"1396209987":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396209984, 1396209992, 1396209991, 1396209985, 1396209993, 1396209987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21977376937866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:06:12.735172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_41_2679.jpg', '/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_45_3640.jpg', '/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_47_2525.jpg', '/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_51_3681.jpg', '/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_54_2574.jpg', '/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_56_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_41_2679.jpg
/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_45_3640.jpg
/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_47_2525.jpg
/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_51_3681.jpg
/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_54_2574.jpg
/home/pi/Desktop/images/26112025/02/38/image_26112025_02_38_56_2733.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":["1396210033","1396210036","1396210009","1396210038","1396210040","1396210034"],"photo_ids_order":["1396210009","1396210033","1396210034","1396210036","1396210038","1396210040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/29e51b77d714f2270574bf54d758c460.jpg","text":"TemporaryFile(/tmp/multipartBody2547986899580206983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133633438,"filename":"image_26112025_02_38_45_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/26/8d7d98c1bb8002df5e569480172f88b9.jpg","text":"TemporaryFile(/tmp/multipartBody3622758528894351362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133633438,"filename":"image_26112025_02_38_51_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/26/fb261bba720039ebc4c548e7a880fece.jpg","text":"TemporaryFile(/tmp/multipartBody3911221794613720636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133633438,"filename":"image_26112025_02_38_41_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/802ad233dd7c33345c38bfc37c67963f.jpg","text":"TemporaryFile(/tmp/multipartBody2179325723647743381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133633438,"filename":"image_26112025_02_38_54_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/26/0bcab75f5f66f77b9a06ab51c5dc76a9.jpg","text":"TemporaryFile(/tmp/multipartBody2456515157018793150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133633438,"filename":"image_26112025_02_38_56_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/16038c45336c02e68237e8d3ce49e3ed.jpg","text":"TemporaryFile(/tmp/multipartBody6895099963833411421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133633438,"filename":"image_26112025_02_38_47_2525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210034","file1":"1396210033","file0":"1396210009","file4":"1396210038","file5":"1396210040","file3":"1396210036"},"map_files_photo_id_array":[{"photo_id":"1396210040","filename":"file5"},{"photo_id":"1396210034","filename":"file2"},{"photo_id":"1396210038","filename":"file4"},{"photo_id":"1396210033","filename":"file1"},{"photo_id":"1396210009","filename":"file0"},{"photo_id":"1396210036","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210033":["hashtag1","hashtag2"]},{"1396210036":["hashtag1","hashtag2"]},{"1396210009":["hashtag1","hashtag2"]},{"1396210038":["hashtag1","hashtag2"]},{"1396210040":["hashtag1","hashtag2"]},{"1396210034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210033, 1396210036, 1396210009, 1396210038, 1396210040, 1396210034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46718120574951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 06:07:03.222497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/38/image_26112025_02_39_00_3109.jpg', '/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_07_7594.jpg', '/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_16_9271.jpg', '/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_18_1647.jpg', '/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_20_1759.jpg', '/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_21_1629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/38/image_26112025_02_39_00_3109.jpg
/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_07_7594.jpg
/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_16_9271.jpg
/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_18_1647.jpg
/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_20_1759.jpg
/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_21_1629.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":["1396210065","1396210053","1396210052","1396210055","1396210063","1396210051"],"photo_ids_order":["1396210051","1396210052","1396210053","1396210055","1396210063","1396210065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5f61e21de87354cf9c0f0199d930f5db.jpg","text":"TemporaryFile(/tmp/multipartBody7052572812067348055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133685167,"filename":"image_26112025_02_39_21_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/26/feb2cea9f5fdec0d6f99100f04ef4792.jpg","text":"TemporaryFile(/tmp/multipartBody9124376268792698087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133685167,"filename":"image_26112025_02_39_16_9271.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/abb6da203150c2e4d4dcf49efd7658a9.jpg","text":"TemporaryFile(/tmp/multipartBody2947911497122044369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133685167,"filename":"image_26112025_02_39_07_7594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/46e1be139fbff71e2b626aa7f0ffe055.jpg","text":"TemporaryFile(/tmp/multipartBody835809675701444894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133685167,"filename":"image_26112025_02_39_18_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/26/e2a172988ce9812736fddddc0029ccff.jpg","text":"TemporaryFile(/tmp/multipartBody4075742327218548969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133685167,"filename":"image_26112025_02_39_20_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/26/d5f8af2c72dcbfb15dcd476d3207fa00.jpg","text":"TemporaryFile(/tmp/multipartBody3602924264426557544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133685167,"filename":"image_26112025_02_39_00_3109.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210053","file1":"1396210052","file0":"1396210051","file4":"1396210063","file5":"1396210065","file3":"1396210055"},"map_files_photo_id_array":[{"photo_id":"1396210065","filename":"file5"},{"photo_id":"1396210053","filename":"file2"},{"photo_id":"1396210063","filename":"file4"},{"photo_id":"1396210052","filename":"file1"},{"photo_id":"1396210051","filename":"file0"},{"photo_id":"1396210055","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210065":["hashtag1","hashtag2"]},{"1396210053":["hashtag1","hashtag2"]},{"1396210052":["hashtag1","hashtag2"]},{"1396210055":["hashtag1","hashtag2"]},{"1396210063":["hashtag1","hashtag2"]},{"1396210051":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210065, 1396210053, 1396210052, 1396210055, 1396210063, 1396210051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31674265861511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 06:07:42.689365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_23_1710.jpg', '/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_25_1577.jpg', '/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_26_1640.jpg', '/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_28_1500.jpg', '/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_29_1597.jpg', '/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_33_3624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_23_1710.jpg
/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_25_1577.jpg
/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_26_1640.jpg
/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_28_1500.jpg
/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_29_1597.jpg
/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_33_3624.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":["1396210070","1396210073","1396210082","1396210081","1396210084","1396210078"],"photo_ids_order":["1396210070","1396210073","1396210078","1396210081","1396210082","1396210084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5319f973fb153f32c35e622f9eb19f38.jpg","text":"TemporaryFile(/tmp/multipartBody4743519439124911390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133723392,"filename":"image_26112025_02_39_23_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5db1d4cb2a2b3569c22cd2cb2d6504b9.jpg","text":"TemporaryFile(/tmp/multipartBody1571095207733970889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133723392,"filename":"image_26112025_02_39_25_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/26/3fc86c40c5997a6743ad458a1c6a366f.jpg","text":"TemporaryFile(/tmp/multipartBody5501825674769586009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133723392,"filename":"image_26112025_02_39_29_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/26/f8e61abe5536a9855b00068598308629.jpg","text":"TemporaryFile(/tmp/multipartBody4547494325892670412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133723392,"filename":"image_26112025_02_39_28_1500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/212ab3258ce2680e8d84f301136bc39a.jpg","text":"TemporaryFile(/tmp/multipartBody3812039248464328346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133723392,"filename":"image_26112025_02_39_33_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/26/9f8a9c0cd9a3857b7ba98784d8c24a82.jpg","text":"TemporaryFile(/tmp/multipartBody1760133742993421421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133723392,"filename":"image_26112025_02_39_26_1640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210078","file1":"1396210073","file0":"1396210070","file4":"1396210082","file5":"1396210084","file3":"1396210081"},"map_files_photo_id_array":[{"photo_id":"1396210084","filename":"file5"},{"photo_id":"1396210078","filename":"file2"},{"photo_id":"1396210082","filename":"file4"},{"photo_id":"1396210073","filename":"file1"},{"photo_id":"1396210070","filename":"file0"},{"photo_id":"1396210081","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210070":["hashtag1","hashtag2"]},{"1396210073":["hashtag1","hashtag2"]},{"1396210082":["hashtag1","hashtag2"]},{"1396210081":["hashtag1","hashtag2"]},{"1396210084":["hashtag1","hashtag2"]},{"1396210078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210070, 1396210073, 1396210082, 1396210081, 1396210084, 1396210078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50984025001526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:08:21.847644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_36_2525.jpg', '/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_38_2714.jpg', '/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_42_3667.jpg', '/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_45_2570.jpg', '/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_47_2713.jpg', '/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_51_3416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_36_2525.jpg
/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_38_2714.jpg
/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_42_3667.jpg
/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_45_2570.jpg
/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_47_2713.jpg
/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_51_3416.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":["1396210095","1396210089","1396210091","1396210085","1396210088","1396210093"],"photo_ids_order":["1396210085","1396210088","1396210089","1396210091","1396210093","1396210095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/08a3825db404c1a1d5d4b29b53882df8.jpg","text":"TemporaryFile(/tmp/multipartBody4845557366115177250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133762516,"filename":"image_26112025_02_39_51_3416.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8674108e1d96f8f7e49e0eb4a2fa33bc.jpg","text":"TemporaryFile(/tmp/multipartBody4952816363604212904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133762516,"filename":"image_26112025_02_39_42_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/26/cf32b886ba0a31689ee9c2b9e568240d.jpg","text":"TemporaryFile(/tmp/multipartBody1699577528322032159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133762516,"filename":"image_26112025_02_39_45_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/26/40274d35a716eab65fb660f0c80e4f1c.jpg","text":"TemporaryFile(/tmp/multipartBody9103407499900167645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133762516,"filename":"image_26112025_02_39_36_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/26/0a96b3ab3cd128f3e6d90fe46895dfb6.jpg","text":"TemporaryFile(/tmp/multipartBody5123984613229566204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133762516,"filename":"image_26112025_02_39_38_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/26/c7471ca5b35e0830c15771d62c02cb78.jpg","text":"TemporaryFile(/tmp/multipartBody2211130085149504061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133762516,"filename":"image_26112025_02_39_47_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210089","file1":"1396210088","file0":"1396210085","file4":"1396210093","file5":"1396210095","file3":"1396210091"},"map_files_photo_id_array":[{"photo_id":"1396210095","filename":"file5"},{"photo_id":"1396210089","filename":"file2"},{"photo_id":"1396210093","filename":"file4"},{"photo_id":"1396210088","filename":"file1"},{"photo_id":"1396210085","filename":"file0"},{"photo_id":"1396210091","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210095":["hashtag1","hashtag2"]},{"1396210089":["hashtag1","hashtag2"]},{"1396210091":["hashtag1","hashtag2"]},{"1396210085":["hashtag1","hashtag2"]},{"1396210088":["hashtag1","hashtag2"]},{"1396210093":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210095, 1396210089, 1396210091, 1396210085, 1396210088, 1396210093)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.03161931037903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:09:12.681961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_53_2617.jpg', '/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_58_4370.jpg', '/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_59_1620.jpg', '/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_09_9997.jpg', '/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_12_3119.jpg', '/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_14_1834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_53_2617.jpg
/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_58_4370.jpg
/home/pi/Desktop/images/26112025/02/39/image_26112025_02_39_59_1620.jpg
/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_09_9997.jpg
/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_12_3119.jpg
/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_14_1834.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":["1396210102","1396210111","1396210105","1396210104","1396210107","1396210109"],"photo_ids_order":["1396210102","1396210104","1396210105","1396210107","1396210109","1396210111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bb854ad4ebf59aba0f57fe386487acb8.jpg","text":"TemporaryFile(/tmp/multipartBody7008748179574796825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133813387,"filename":"image_26112025_02_39_53_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1121efd41e1c215222402b1616b72b58.jpg","text":"TemporaryFile(/tmp/multipartBody4561374972387524799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133813387,"filename":"image_26112025_02_40_14_1834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/103fee4fedd273e9bd7cf875b31ee3b3.jpg","text":"TemporaryFile(/tmp/multipartBody908447191996889677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133813387,"filename":"image_26112025_02_39_59_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/26/a5d7e7d3d35c24212fa040dad33537ea.jpg","text":"TemporaryFile(/tmp/multipartBody6863691133110194954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133813387,"filename":"image_26112025_02_39_58_4370.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9a77a21d410d588d0d830d2720a7c870.jpg","text":"TemporaryFile(/tmp/multipartBody51823463110885986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133813387,"filename":"image_26112025_02_40_09_9997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0fb38eb7d7723a6e5db0c1bd3b0dd468.jpg","text":"TemporaryFile(/tmp/multipartBody3849019371189089301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133813387,"filename":"image_26112025_02_40_12_3119.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210105","file1":"1396210104","file0":"1396210102","file4":"1396210109","file5":"1396210111","file3":"1396210107"},"map_files_photo_id_array":[{"photo_id":"1396210111","filename":"file5"},{"photo_id":"1396210105","filename":"file2"},{"photo_id":"1396210109","filename":"file4"},{"photo_id":"1396210104","filename":"file1"},{"photo_id":"1396210102","filename":"file0"},{"photo_id":"1396210107","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210102":["hashtag1","hashtag2"]},{"1396210111":["hashtag1","hashtag2"]},{"1396210105":["hashtag1","hashtag2"]},{"1396210104":["hashtag1","hashtag2"]},{"1396210107":["hashtag1","hashtag2"]},{"1396210109":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210102, 1396210111, 1396210105, 1396210104, 1396210107, 1396210109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60856628417969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 06:10:02.317257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_16_1707.jpg', '/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_18_1596.jpg', '/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_19_1611.jpg', '/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_21_1754.jpg', '/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_23_2489.jpg', '/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_26_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_16_1707.jpg
/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_18_1596.jpg
/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_19_1611.jpg
/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_21_1754.jpg
/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_23_2489.jpg
/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_26_2618.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":["1396210123","1396210117","1396210131","1396210125","1396210121","1396210118"],"photo_ids_order":["1396210117","1396210118","1396210121","1396210123","1396210125","1396210131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b815bbde509e4c5a248495a5fd476255.jpg","text":"TemporaryFile(/tmp/multipartBody6574915037302190701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133863151,"filename":"image_26112025_02_40_21_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/26/1598917c05d05d2efebf761eb934bb35.jpg","text":"TemporaryFile(/tmp/multipartBody7872909248114865676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133863151,"filename":"image_26112025_02_40_16_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e02c0637003514ca59983f75c44db5e0.jpg","text":"TemporaryFile(/tmp/multipartBody317028401054730933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133863151,"filename":"image_26112025_02_40_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/26/9a33533e2a75ace6dae89b334db0fcaf.jpg","text":"TemporaryFile(/tmp/multipartBody3820875107107302563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133863151,"filename":"image_26112025_02_40_23_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/26/e1fa551c259cff0acfa4db7adec83dd9.jpg","text":"TemporaryFile(/tmp/multipartBody9003092965669005895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133863151,"filename":"image_26112025_02_40_19_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/26/9e348f1557d5af43bf374d5cf54d9c17.jpg","text":"TemporaryFile(/tmp/multipartBody5637245295473433974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133863151,"filename":"image_26112025_02_40_18_1596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210121","file1":"1396210118","file0":"1396210117","file4":"1396210125","file5":"1396210131","file3":"1396210123"},"map_files_photo_id_array":[{"photo_id":"1396210131","filename":"file5"},{"photo_id":"1396210121","filename":"file2"},{"photo_id":"1396210125","filename":"file4"},{"photo_id":"1396210118","filename":"file1"},{"photo_id":"1396210117","filename":"file0"},{"photo_id":"1396210123","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210123":["hashtag1","hashtag2"]},{"1396210117":["hashtag1","hashtag2"]},{"1396210131":["hashtag1","hashtag2"]},{"1396210125":["hashtag1","hashtag2"]},{"1396210121":["hashtag1","hashtag2"]},{"1396210118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210123, 1396210117, 1396210131, 1396210125, 1396210121, 1396210118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76029133796692 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 06:10:41.939664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_31_5087.jpg', '/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_33_1632.jpg', '/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_35_2672.jpg', '/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_38_2632.jpg', '/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_42_3637.jpg', '/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_44_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_31_5087.jpg
/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_33_1632.jpg
/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_35_2672.jpg
/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_38_2632.jpg
/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_42_3637.jpg
/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_44_2677.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":["1396210161","1396210158","1396210160","1396210154","1396210157","1396210159"],"photo_ids_order":["1396210154","1396210157","1396210158","1396210159","1396210160","1396210161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0a99b0dcac21ab317097593578c14dee.jpg","text":"TemporaryFile(/tmp/multipartBody550800996215327541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133902661,"filename":"image_26112025_02_40_44_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/26/4fd09033fa1d46716b5df402ba79f8c4.jpg","text":"TemporaryFile(/tmp/multipartBody7675054578858072115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133902661,"filename":"image_26112025_02_40_35_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/26/367363e32495bde16ac2d694e581ab8d.jpg","text":"TemporaryFile(/tmp/multipartBody5181485875346731520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133902661,"filename":"image_26112025_02_40_42_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/26/5415c36b9c26a92414bcb25499dd0fe9.jpg","text":"TemporaryFile(/tmp/multipartBody4607804611312764331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133902661,"filename":"image_26112025_02_40_31_5087.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6d1e5238cea27064727daeca8162e4d7.jpg","text":"TemporaryFile(/tmp/multipartBody7996089107863496857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133902661,"filename":"image_26112025_02_40_33_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/26/a2ee43315ba01277ff2ee242bdaff534.jpg","text":"TemporaryFile(/tmp/multipartBody194528952649310831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133902661,"filename":"image_26112025_02_40_38_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210158","file1":"1396210157","file0":"1396210154","file4":"1396210160","file5":"1396210161","file3":"1396210159"},"map_files_photo_id_array":[{"photo_id":"1396210161","filename":"file5"},{"photo_id":"1396210158","filename":"file2"},{"photo_id":"1396210160","filename":"file4"},{"photo_id":"1396210157","filename":"file1"},{"photo_id":"1396210154","filename":"file0"},{"photo_id":"1396210159","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210161":["hashtag1","hashtag2"]},{"1396210158":["hashtag1","hashtag2"]},{"1396210160":["hashtag1","hashtag2"]},{"1396210154":["hashtag1","hashtag2"]},{"1396210157":["hashtag1","hashtag2"]},{"1396210159":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210161, 1396210158, 1396210160, 1396210154, 1396210157, 1396210159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.409919023513794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:11:22.137617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_48_3580.jpg', '/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_51_2728.jpg', '/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_53_2707.jpg', '/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_56_2710.jpg', '/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_59_3353.jpg', '/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_02_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_48_3580.jpg
/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_51_2728.jpg
/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_53_2707.jpg
/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_56_2710.jpg
/home/pi/Desktop/images/26112025/02/40/image_26112025_02_40_59_3353.jpg
/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_02_2675.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":["1396210173","1396210203","1396210196","1396210190","1396210223","1396210226"],"photo_ids_order":["1396210173","1396210190","1396210196","1396210203","1396210223","1396210226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7660c0a95db9832b851c9d758a1e5f0d.jpg","text":"TemporaryFile(/tmp/multipartBody8854050128799949215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133942844,"filename":"image_26112025_02_40_48_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/016e2e8b320808d0e1883032a4bfb51d.jpg","text":"TemporaryFile(/tmp/multipartBody1037807165425801899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133942844,"filename":"image_26112025_02_40_56_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/26/94fd68bf4e1a8b840c83ca0daefdb7f3.jpg","text":"TemporaryFile(/tmp/multipartBody3201068596464933242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133942844,"filename":"image_26112025_02_40_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/26/5aeb1a5c02eeda717d7903b8f5946818.jpg","text":"TemporaryFile(/tmp/multipartBody4079591914751316323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133942844,"filename":"image_26112025_02_40_51_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/26/2514c4b13ec3852c0585155030162d0e.jpg","text":"TemporaryFile(/tmp/multipartBody3136703913722504172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133942844,"filename":"image_26112025_02_40_59_3353.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0a2dcaee36165169d93d1e6b0e4d3c0f.jpg","text":"TemporaryFile(/tmp/multipartBody5340272092068940234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133942844,"filename":"image_26112025_02_41_02_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210196","file1":"1396210190","file0":"1396210173","file4":"1396210223","file5":"1396210226","file3":"1396210203"},"map_files_photo_id_array":[{"photo_id":"1396210226","filename":"file5"},{"photo_id":"1396210196","filename":"file2"},{"photo_id":"1396210223","filename":"file4"},{"photo_id":"1396210190","filename":"file1"},{"photo_id":"1396210173","filename":"file0"},{"photo_id":"1396210203","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210173":["hashtag1","hashtag2"]},{"1396210203":["hashtag1","hashtag2"]},{"1396210196":["hashtag1","hashtag2"]},{"1396210190":["hashtag1","hashtag2"]},{"1396210223":["hashtag1","hashtag2"]},{"1396210226":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210173, 1396210203, 1396210196, 1396210190, 1396210223, 1396210226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.43877291679382 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-26 06:12:18.170565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_06_3611.jpg', '/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_08_2644.jpg', '/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_12_3828.jpg', '/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_15_2556.jpg', '/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_17_2709.jpg', '/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_20_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_06_3611.jpg
/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_08_2644.jpg
/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_12_3828.jpg
/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_15_2556.jpg
/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_17_2709.jpg
/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_20_2790.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":["1396210239","1396210233","1396210232","1396210241","1396210235","1396210237"],"photo_ids_order":["1396210232","1396210233","1396210235","1396210237","1396210239","1396210241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5464a0fdbe8893937af2b955a63815c3.jpg","text":"TemporaryFile(/tmp/multipartBody3109396931933996206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133998839,"filename":"image_26112025_02_41_17_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/26/c46c2eaece30912b9caa3b673d4ef230.jpg","text":"TemporaryFile(/tmp/multipartBody135294800050021541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133998839,"filename":"image_26112025_02_41_08_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/26/65b4f00b59e8bfdd2ae53e759b85af34.jpg","text":"TemporaryFile(/tmp/multipartBody2360452857373373969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133998839,"filename":"image_26112025_02_41_06_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/26/2f94fe70cf0917d4990a8a27e74bda46.jpg","text":"TemporaryFile(/tmp/multipartBody7813001105553506142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133998839,"filename":"image_26112025_02_41_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/26/f97a00bdb51b9a0fbd04ffa037bbf2e2.jpg","text":"TemporaryFile(/tmp/multipartBody2837505108937963890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133998839,"filename":"image_26112025_02_41_12_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/26/43fb682c8058817f036ba6ffc3730ffe.jpg","text":"TemporaryFile(/tmp/multipartBody4011879830061684198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764133998839,"filename":"image_26112025_02_41_15_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210235","file1":"1396210233","file0":"1396210232","file4":"1396210239","file5":"1396210241","file3":"1396210237"},"map_files_photo_id_array":[{"photo_id":"1396210241","filename":"file5"},{"photo_id":"1396210235","filename":"file2"},{"photo_id":"1396210239","filename":"file4"},{"photo_id":"1396210233","filename":"file1"},{"photo_id":"1396210232","filename":"file0"},{"photo_id":"1396210237","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210239":["hashtag1","hashtag2"]},{"1396210233":["hashtag1","hashtag2"]},{"1396210232":["hashtag1","hashtag2"]},{"1396210241":["hashtag1","hashtag2"]},{"1396210235":["hashtag1","hashtag2"]},{"1396210237":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210239, 1396210233, 1396210232, 1396210241, 1396210235, 1396210237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.780052185058594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 06:13:03.016428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_23_2703.jpg', '/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_28_5183.jpg', '/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_30_1696.jpg', '/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_33_2745.jpg', '/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_35_2539.jpg', '/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_39_3902.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_23_2703.jpg
/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_28_5183.jpg
/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_30_1696.jpg
/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_33_2745.jpg
/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_35_2539.jpg
/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_39_3902.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":["1396210248","1396210251","1396210245","1396210253","1396210255","1396210258"],"photo_ids_order":["1396210245","1396210248","1396210251","1396210253","1396210255","1396210258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9b06f6cd58fa824e08734a2dbf7eb6b5.jpg","text":"TemporaryFile(/tmp/multipartBody5534274400097199976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134043807,"filename":"image_26112025_02_41_28_5183.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0fc3cc80be831db8d70f108e24c8ec78.jpg","text":"TemporaryFile(/tmp/multipartBody8711171255102971161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134043807,"filename":"image_26112025_02_41_30_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/26/e70dfce7fc8c1e9bb8280e630efbac42.jpg","text":"TemporaryFile(/tmp/multipartBody4922266278121653195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134043807,"filename":"image_26112025_02_41_23_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/26/3871358bc328d759573eef2a89c42ada.jpg","text":"TemporaryFile(/tmp/multipartBody2781523165610638951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134043807,"filename":"image_26112025_02_41_33_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/26/9546fbdf9ab0879dd6dc1c754a99f115.jpg","text":"TemporaryFile(/tmp/multipartBody6514213172465950623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134043807,"filename":"image_26112025_02_41_35_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/26/e8d0f3d0b69c02158089ee769c09bff2.jpg","text":"TemporaryFile(/tmp/multipartBody115782527692769866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134043807,"filename":"image_26112025_02_41_39_3902.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210251","file1":"1396210248","file0":"1396210245","file4":"1396210255","file5":"1396210258","file3":"1396210253"},"map_files_photo_id_array":[{"photo_id":"1396210258","filename":"file5"},{"photo_id":"1396210251","filename":"file2"},{"photo_id":"1396210255","filename":"file4"},{"photo_id":"1396210248","filename":"file1"},{"photo_id":"1396210245","filename":"file0"},{"photo_id":"1396210253","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210248":["hashtag1","hashtag2"]},{"1396210251":["hashtag1","hashtag2"]},{"1396210245":["hashtag1","hashtag2"]},{"1396210253":["hashtag1","hashtag2"]},{"1396210255":["hashtag1","hashtag2"]},{"1396210258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210248, 1396210251, 1396210245, 1396210253, 1396210255, 1396210258)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.97607779502869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 06:14:03.381437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_42_2803.jpg', '/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_45_2979.jpg', '/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_47_2572.jpg', '/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_50_2808.jpg', '/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_53_3053.jpg', '/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_56_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_42_2803.jpg
/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_45_2979.jpg
/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_47_2572.jpg
/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_50_2808.jpg
/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_53_3053.jpg
/home/pi/Desktop/images/26112025/02/41/image_26112025_02_41_56_2714.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":["1396210267","1396210272","1396210283","1396210268","1396210276","1396210279"],"photo_ids_order":["1396210267","1396210268","1396210272","1396210276","1396210279","1396210283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dc6f04166f11182881c47489392f7e8e.jpg","text":"TemporaryFile(/tmp/multipartBody2093448603709368017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134104157,"filename":"image_26112025_02_41_42_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/26/06878979f8a1b63179cc0c8ec46fa317.jpg","text":"TemporaryFile(/tmp/multipartBody5982848098312614839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134104157,"filename":"image_26112025_02_41_47_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/26/12e6d8b2ebe1f781150c3e6878c20706.jpg","text":"TemporaryFile(/tmp/multipartBody767578932001385587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134104157,"filename":"image_26112025_02_41_56_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/26/46130f51e4bbd91c6e706430cab15180.jpg","text":"TemporaryFile(/tmp/multipartBody3776774389235257441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134104157,"filename":"image_26112025_02_41_45_2979.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c8a3df64a0d674f3b7fba66c01a5cc6d.jpg","text":"TemporaryFile(/tmp/multipartBody2286425208954717427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134104157,"filename":"image_26112025_02_41_50_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/26/e3da6fc1d4b4acedc0c480268a3f8434.jpg","text":"TemporaryFile(/tmp/multipartBody8411604560837157167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134104157,"filename":"image_26112025_02_41_53_3053.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210272","file1":"1396210268","file0":"1396210267","file4":"1396210279","file5":"1396210283","file3":"1396210276"},"map_files_photo_id_array":[{"photo_id":"1396210283","filename":"file5"},{"photo_id":"1396210272","filename":"file2"},{"photo_id":"1396210279","filename":"file4"},{"photo_id":"1396210268","filename":"file1"},{"photo_id":"1396210267","filename":"file0"},{"photo_id":"1396210276","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210267":["hashtag1","hashtag2"]},{"1396210272":["hashtag1","hashtag2"]},{"1396210283":["hashtag1","hashtag2"]},{"1396210268":["hashtag1","hashtag2"]},{"1396210276":["hashtag1","hashtag2"]},{"1396210279":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210267, 1396210272, 1396210283, 1396210268, 1396210276, 1396210279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18100094795227 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 06:14:42.893649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/41/image_26112025_02_42_00_3842.jpg', '/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_02_2662.jpg', '/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_09_6163.jpg', '/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_10_1784.jpg', '/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_12_1738.jpg', '/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_15_2533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/41/image_26112025_02_42_00_3842.jpg
/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_02_2662.jpg
/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_09_6163.jpg
/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_10_1784.jpg
/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_12_1738.jpg
/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_15_2533.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":["1396210300","1396210299","1396210298","1396210310","1396210294","1396210307"],"photo_ids_order":["1396210294","1396210298","1396210299","1396210300","1396210307","1396210310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/62b376190fc4e7b36e3fa00274fcda7c.jpg","text":"TemporaryFile(/tmp/multipartBody5706454412469694625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134143592,"filename":"image_26112025_02_42_10_1784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/551d895b939294d709822daa51815608.jpg","text":"TemporaryFile(/tmp/multipartBody4343369251318492986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134143592,"filename":"image_26112025_02_42_09_6163.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1fafd5b07d0a4f3d355a2adfc2a2caae.jpg","text":"TemporaryFile(/tmp/multipartBody6202513257001311239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134143592,"filename":"image_26112025_02_42_02_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/26/5d3c07baf432e38634a55199dffb7e71.jpg","text":"TemporaryFile(/tmp/multipartBody3973022016562770741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134143592,"filename":"image_26112025_02_42_15_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/26/5ead7571a606a5a56318fb135a2277d0.jpg","text":"TemporaryFile(/tmp/multipartBody1876297248038920180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134143592,"filename":"image_26112025_02_42_00_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/26/7274dec4b5b14e8a93d2c04b711f553b.jpg","text":"TemporaryFile(/tmp/multipartBody6670140432995927439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134143592,"filename":"image_26112025_02_42_12_1738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210299","file1":"1396210298","file0":"1396210294","file4":"1396210307","file5":"1396210310","file3":"1396210300"},"map_files_photo_id_array":[{"photo_id":"1396210310","filename":"file5"},{"photo_id":"1396210299","filename":"file2"},{"photo_id":"1396210307","filename":"file4"},{"photo_id":"1396210298","filename":"file1"},{"photo_id":"1396210294","filename":"file0"},{"photo_id":"1396210300","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210300":["hashtag1","hashtag2"]},{"1396210299":["hashtag1","hashtag2"]},{"1396210298":["hashtag1","hashtag2"]},{"1396210310":["hashtag1","hashtag2"]},{"1396210294":["hashtag1","hashtag2"]},{"1396210307":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210300, 1396210299, 1396210298, 1396210310, 1396210294, 1396210307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85710883140564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:15:21.983040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_17_2673.jpg', '/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_20_2633.jpg', '/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_24_3608.jpg', '/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_26_2545.jpg', '/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_29_2687.jpg', '/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_33_3768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_17_2673.jpg
/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_20_2633.jpg
/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_24_3608.jpg
/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_26_2545.jpg
/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_29_2687.jpg
/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_33_3768.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":["1396210321","1396210323","1396210317","1396210326","1396210328","1396210319"],"photo_ids_order":["1396210317","1396210319","1396210321","1396210323","1396210326","1396210328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c5db75afe199200f297cbfeb70dc4591.jpg","text":"TemporaryFile(/tmp/multipartBody3185100493608704075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134182647,"filename":"image_26112025_02_42_24_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/26/e6aa1facfd7605110628564ea4537985.jpg","text":"TemporaryFile(/tmp/multipartBody7887111999107799393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134182647,"filename":"image_26112025_02_42_26_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/26/2001a5fbdc7f1f20e53ddaef792d701e.jpg","text":"TemporaryFile(/tmp/multipartBody8802010647361300670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134182647,"filename":"image_26112025_02_42_17_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/26/e6f0014176520bc361e8d391fea4c506.jpg","text":"TemporaryFile(/tmp/multipartBody7306573417220366571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134182647,"filename":"image_26112025_02_42_29_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/26/fdc0709254cc79dd49a586c06983b5bf.jpg","text":"TemporaryFile(/tmp/multipartBody2003023060554778093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134182647,"filename":"image_26112025_02_42_33_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/26/c735974b19e6e07327ebbd54bbfb8393.jpg","text":"TemporaryFile(/tmp/multipartBody1603401902974303341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134182647,"filename":"image_26112025_02_42_20_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210321","file1":"1396210319","file0":"1396210317","file4":"1396210326","file5":"1396210328","file3":"1396210323"},"map_files_photo_id_array":[{"photo_id":"1396210328","filename":"file5"},{"photo_id":"1396210321","filename":"file2"},{"photo_id":"1396210326","filename":"file4"},{"photo_id":"1396210319","filename":"file1"},{"photo_id":"1396210317","filename":"file0"},{"photo_id":"1396210323","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210321":["hashtag1","hashtag2"]},{"1396210323":["hashtag1","hashtag2"]},{"1396210317":["hashtag1","hashtag2"]},{"1396210326":["hashtag1","hashtag2"]},{"1396210328":["hashtag1","hashtag2"]},{"1396210319":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210321, 1396210323, 1396210317, 1396210326, 1396210328, 1396210319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.73519468307495 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-26 06:16:13.218367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 06:16:23.225596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_35_2697.jpg', '/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_38_2729.jpg', '/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_42_3853.jpg', '/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_44_2623.jpg', '/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_47_2549.jpg', '/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_50_2822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_35_2697.jpg
/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_38_2729.jpg
/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_42_3853.jpg
/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_44_2623.jpg
/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_47_2549.jpg
/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_50_2822.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":["1396210345","1396210339","1396210347","1396210341","1396210349","1396210343"],"photo_ids_order":["1396210339","1396210341","1396210343","1396210345","1396210347","1396210349"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6a803cb6628f0fe1704a0417a98b5482.jpg","text":"TemporaryFile(/tmp/multipartBody6554058368224639325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134243898,"filename":"image_26112025_02_42_44_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/26/5ec52c987d27e7f4eda14101f2ed497a.jpg","text":"TemporaryFile(/tmp/multipartBody7579449811963367195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134243898,"filename":"image_26112025_02_42_35_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/26/56d861dc2951a39dfdc635e5a8329580.jpg","text":"TemporaryFile(/tmp/multipartBody6384186249431833340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134243898,"filename":"image_26112025_02_42_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/26/10a46ec9b0ad05ceec81ab14656fb026.jpg","text":"TemporaryFile(/tmp/multipartBody202630384104833607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134243898,"filename":"image_26112025_02_42_38_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/26/8da600dbeba9128e30372f7886b2f84c.jpg","text":"TemporaryFile(/tmp/multipartBody3226115836380807806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134243898,"filename":"image_26112025_02_42_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/26/06073376c659c3ea3e705abc0089f3e5.jpg","text":"TemporaryFile(/tmp/multipartBody4133445862519059762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134243898,"filename":"image_26112025_02_42_42_3853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210343","file1":"1396210341","file0":"1396210339","file4":"1396210347","file5":"1396210349","file3":"1396210345"},"map_files_photo_id_array":[{"photo_id":"1396210349","filename":"file5"},{"photo_id":"1396210343","filename":"file2"},{"photo_id":"1396210347","filename":"file4"},{"photo_id":"1396210341","filename":"file1"},{"photo_id":"1396210339","filename":"file0"},{"photo_id":"1396210345","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210345":["hashtag1","hashtag2"]},{"1396210339":["hashtag1","hashtag2"]},{"1396210347":["hashtag1","hashtag2"]},{"1396210341":["hashtag1","hashtag2"]},{"1396210349":["hashtag1","hashtag2"]},{"1396210343":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210345, 1396210339, 1396210347, 1396210341, 1396210349, 1396210343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7317533493042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 06:17:03.014521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_53_3571.jpg', '/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_56_2585.jpg', '/home/pi/Desktop/images/26112025/02/42/image_26112025_02_43_00_3573.jpg', '/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_02_2562.jpg', '/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_05_2710.jpg', '/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_09_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_53_3571.jpg
/home/pi/Desktop/images/26112025/02/42/image_26112025_02_42_56_2585.jpg
/home/pi/Desktop/images/26112025/02/42/image_26112025_02_43_00_3573.jpg
/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_02_2562.jpg
/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_05_2710.jpg
/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_09_3664.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":["1396210356","1396210350","1396210358","1396210352","1396210360","1396210354"],"photo_ids_order":["1396210350","1396210352","1396210354","1396210356","1396210358","1396210360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aff40fd85225f743b2623858620d3bb8.jpg","text":"TemporaryFile(/tmp/multipartBody4575209501232334685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134283914,"filename":"image_26112025_02_43_02_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/26/fb5a437d2b7e1fe6083cf60cf0733ab8.jpg","text":"TemporaryFile(/tmp/multipartBody928506320754831618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134283914,"filename":"image_26112025_02_42_53_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/26/73328cc81a5a598158fd2321d3064e7f.jpg","text":"TemporaryFile(/tmp/multipartBody7403720158732588043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134283914,"filename":"image_26112025_02_43_05_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/26/294e544146ca1f0b213524086232d6c3.jpg","text":"TemporaryFile(/tmp/multipartBody7302068443039567572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134283914,"filename":"image_26112025_02_42_56_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/26/e65ad2f084036b32589e72fe9b3938db.jpg","text":"TemporaryFile(/tmp/multipartBody7947541486611235335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134283914,"filename":"image_26112025_02_43_09_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/26/8251208ef0391040d35d2edfd0252aaf.jpg","text":"TemporaryFile(/tmp/multipartBody1701311011704377664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134283914,"filename":"image_26112025_02_43_00_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210354","file1":"1396210352","file0":"1396210350","file4":"1396210358","file5":"1396210360","file3":"1396210356"},"map_files_photo_id_array":[{"photo_id":"1396210360","filename":"file5"},{"photo_id":"1396210354","filename":"file2"},{"photo_id":"1396210358","filename":"file4"},{"photo_id":"1396210352","filename":"file1"},{"photo_id":"1396210350","filename":"file0"},{"photo_id":"1396210356","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210356":["hashtag1","hashtag2"]},{"1396210350":["hashtag1","hashtag2"]},{"1396210358":["hashtag1","hashtag2"]},{"1396210352":["hashtag1","hashtag2"]},{"1396210360":["hashtag1","hashtag2"]},{"1396210354":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210356, 1396210350, 1396210358, 1396210352, 1396210360, 1396210354)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.30538868904114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 06:18:02.897041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_11_2514.jpg', '/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_14_2732.jpg', '/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_18_3786.jpg', '/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_20_2567.jpg', '/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_23_2762.jpg', '/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_26_2798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_11_2514.jpg
/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_14_2732.jpg
/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_18_3786.jpg
/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_20_2567.jpg
/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_23_2762.jpg
/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_26_2798.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":["1396210389","1396210391","1396210393","1396210387","1396210381","1396210384"],"photo_ids_order":["1396210381","1396210384","1396210387","1396210389","1396210391","1396210393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/468021a53bcac8d1f75155c6a0f977c8.jpg","text":"TemporaryFile(/tmp/multipartBody5103247276210979558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134343605,"filename":"image_26112025_02_43_20_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/26/278f2e51a9a4025d409c2fae9a5e83da.jpg","text":"TemporaryFile(/tmp/multipartBody5379635235807472490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134343605,"filename":"image_26112025_02_43_23_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/26/91a91a68f69dd1cfd4cd8c873e03225c.jpg","text":"TemporaryFile(/tmp/multipartBody8656061658194021936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134343605,"filename":"image_26112025_02_43_26_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/26/2747b811a3090ccec8ff6c62e02b441a.jpg","text":"TemporaryFile(/tmp/multipartBody1178337927615457372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134343605,"filename":"image_26112025_02_43_18_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/26/57d39b2f218d835f04ad7d62de46392f.jpg","text":"TemporaryFile(/tmp/multipartBody7116048387719880668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134343605,"filename":"image_26112025_02_43_11_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/26/20bdb20091f6d2e840cd033ad53e68bd.jpg","text":"TemporaryFile(/tmp/multipartBody2343716455219845094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134343605,"filename":"image_26112025_02_43_14_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210387","file1":"1396210384","file0":"1396210381","file4":"1396210391","file5":"1396210393","file3":"1396210389"},"map_files_photo_id_array":[{"photo_id":"1396210393","filename":"file5"},{"photo_id":"1396210387","filename":"file2"},{"photo_id":"1396210391","filename":"file4"},{"photo_id":"1396210384","filename":"file1"},{"photo_id":"1396210381","filename":"file0"},{"photo_id":"1396210389","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210389":["hashtag1","hashtag2"]},{"1396210391":["hashtag1","hashtag2"]},{"1396210393":["hashtag1","hashtag2"]},{"1396210387":["hashtag1","hashtag2"]},{"1396210381":["hashtag1","hashtag2"]},{"1396210384":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210389, 1396210391, 1396210393, 1396210387, 1396210381, 1396210384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80041265487671 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 06:18:42.354042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_29_3572.jpg', '/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_32_2723.jpg', '/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_36_3586.jpg', '/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_38_2612.jpg', '/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_41_2560.jpg', '/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_44_3691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_29_3572.jpg
/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_32_2723.jpg
/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_36_3586.jpg
/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_38_2612.jpg
/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_41_2560.jpg
/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_44_3691.jpg
 val : 1 : upload photos already in processing! 
 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":["1396210402","1396210401","1396210404","1396210400","1396210399","1396210403"],"photo_ids_order":["1396210399","1396210400","1396210401","1396210402","1396210403","1396210404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/56e0df5eef55e4f71996c0d7ca0275f3.jpg","text":"TemporaryFile(/tmp/multipartBody1841616765041985731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134383086,"filename":"image_26112025_02_43_38_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/26/9473c76bf52a7fe44e884097f2110506.jpg","text":"TemporaryFile(/tmp/multipartBody1587543915152197321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134383086,"filename":"image_26112025_02_43_36_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/26/30bdea0db8d60fd55c9cb90e2a1622fe.jpg","text":"TemporaryFile(/tmp/multipartBody6478321734714416867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134383086,"filename":"image_26112025_02_43_44_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/26/726d4f0b348e6d23aee399216a8098cc.jpg","text":"TemporaryFile(/tmp/multipartBody1322790779834821452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134383086,"filename":"image_26112025_02_43_32_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/26/a4c0abe441761897697dca711d7151b1.jpg","text":"TemporaryFile(/tmp/multipartBody2518566666623289375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134383086,"filename":"image_26112025_02_43_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/26/c9579b9a4ac983bc57085294f6b836d9.jpg","text":"TemporaryFile(/tmp/multipartBody4718772445065117501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134383086,"filename":"image_26112025_02_43_41_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210401","file1":"1396210400","file0":"1396210399","file4":"1396210403","file5":"1396210404","file3":"1396210402"},"map_files_photo_id_array":[{"photo_id":"1396210404","filename":"file5"},{"photo_id":"1396210401","filename":"file2"},{"photo_id":"1396210403","filename":"file4"},{"photo_id":"1396210400","filename":"file1"},{"photo_id":"1396210399","filename":"file0"},{"photo_id":"1396210402","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210402":["hashtag1","hashtag2"]},{"1396210401":["hashtag1","hashtag2"]},{"1396210404":["hashtag1","hashtag2"]},{"1396210400":["hashtag1","hashtag2"]},{"1396210399":["hashtag1","hashtag2"]},{"1396210403":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210402, 1396210401, 1396210404, 1396210400, 1396210399, 1396210403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.114237546920776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:19:32.545533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_47_2660.jpg', '/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_50_2744.jpg', '/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_54_3760.jpg', '/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_56_2593.jpg', '/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_59_2775.jpg', '/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_02_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_47_2660.jpg
/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_50_2744.jpg
/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_54_3760.jpg
/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_56_2593.jpg
/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_59_2775.jpg
/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_02_2661.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6087970733642578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 06:19:42.486316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_47_2660.jpg', '/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_50_2744.jpg', '/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_54_3760.jpg', '/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_56_2593.jpg', '/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_59_2775.jpg', '/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_02_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_47_2660.jpg
/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_50_2744.jpg
/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_54_3760.jpg
/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_56_2593.jpg
/home/pi/Desktop/images/26112025/02/43/image_26112025_02_43_59_2775.jpg
/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_02_2661.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":["1396210423","1396210417","1396210430","1396210424","1396210427","1396210421"],"photo_ids_order":["1396210417","1396210421","1396210423","1396210424","1396210427","1396210430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/95af877a57af53c9cd2d1cc1059afe3f.jpg","text":"TemporaryFile(/tmp/multipartBody1092921951481688719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134443192,"filename":"image_26112025_02_43_54_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/26/7132d2c9ffe99018338e8673ff8d3c32.jpg","text":"TemporaryFile(/tmp/multipartBody2977659279655291465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134443192,"filename":"image_26112025_02_43_47_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/26/637dea9e93f5dadb88f2c0fe959bd784.jpg","text":"TemporaryFile(/tmp/multipartBody191777113438376121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134443192,"filename":"image_26112025_02_44_02_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/26/f37de94fe25a1ff73ad3f67219a2f86a.jpg","text":"TemporaryFile(/tmp/multipartBody7784737177457045151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134443192,"filename":"image_26112025_02_43_56_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/26/bdcfaaf5eb162d8f452572f7d146854c.jpg","text":"TemporaryFile(/tmp/multipartBody6192674827913617783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134443192,"filename":"image_26112025_02_43_59_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/26/5890f30b45bd4c5aa12c155a7d0fca9f.jpg","text":"TemporaryFile(/tmp/multipartBody7330716721829552778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134443192,"filename":"image_26112025_02_43_50_2744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210423","file1":"1396210421","file0":"1396210417","file4":"1396210427","file5":"1396210430","file3":"1396210424"},"map_files_photo_id_array":[{"photo_id":"1396210430","filename":"file5"},{"photo_id":"1396210423","filename":"file2"},{"photo_id":"1396210427","filename":"file4"},{"photo_id":"1396210421","filename":"file1"},{"photo_id":"1396210417","filename":"file0"},{"photo_id":"1396210424","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210423":["hashtag1","hashtag2"]},{"1396210417":["hashtag1","hashtag2"]},{"1396210430":["hashtag1","hashtag2"]},{"1396210424":["hashtag1","hashtag2"]},{"1396210427":["hashtag1","hashtag2"]},{"1396210421":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210423, 1396210417, 1396210430, 1396210424, 1396210427, 1396210421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.478254318237305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:20:28.780631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_05_3560.jpg', '/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_08_2685.jpg', '/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_11_3527.jpg', '/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_14_2544.jpg', '/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_17_2653.jpg', '/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_20_3747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_05_3560.jpg
/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_08_2685.jpg
/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_11_3527.jpg
/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_14_2544.jpg
/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_17_2653.jpg
/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_20_3747.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":["1396210452","1396210437","1396210457","1396210445","1396210439","1396210456"],"photo_ids_order":["1396210437","1396210439","1396210445","1396210452","1396210456","1396210457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c6c959a5ba76b88f01af6f26acc8ae3c.jpg","text":"TemporaryFile(/tmp/multipartBody4623490838746624175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134489485,"filename":"image_26112025_02_44_14_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/26/8db6ff53fe626752c88611c73b21c80f.jpg","text":"TemporaryFile(/tmp/multipartBody5898787913550727795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134489485,"filename":"image_26112025_02_44_05_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/26/c9159415d0765bc38368dc3579c9434e.jpg","text":"TemporaryFile(/tmp/multipartBody2563605163790775118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134489485,"filename":"image_26112025_02_44_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/26/9b9b644af687528d8685a58d639d47f0.jpg","text":"TemporaryFile(/tmp/multipartBody3707654380271198534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134489485,"filename":"image_26112025_02_44_11_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/26/03d567ea9f4ae5ac264e95ddbd07bf70.jpg","text":"TemporaryFile(/tmp/multipartBody7097144195117459237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134489485,"filename":"image_26112025_02_44_08_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/26/6d1ad983bf8f8b8e0588104d754b4bec.jpg","text":"TemporaryFile(/tmp/multipartBody5347763290328717043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134489485,"filename":"image_26112025_02_44_17_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210445","file1":"1396210439","file0":"1396210437","file4":"1396210456","file5":"1396210457","file3":"1396210452"},"map_files_photo_id_array":[{"photo_id":"1396210457","filename":"file5"},{"photo_id":"1396210445","filename":"file2"},{"photo_id":"1396210456","filename":"file4"},{"photo_id":"1396210439","filename":"file1"},{"photo_id":"1396210437","filename":"file0"},{"photo_id":"1396210452","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210452":["hashtag1","hashtag2"]},{"1396210437":["hashtag1","hashtag2"]},{"1396210457":["hashtag1","hashtag2"]},{"1396210445":["hashtag1","hashtag2"]},{"1396210439":["hashtag1","hashtag2"]},{"1396210456":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210452, 1396210437, 1396210457, 1396210445, 1396210439, 1396210456)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.445700883865356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:21:30.393008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_23_2587.jpg', '/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_26_2667.jpg', '/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_29_3635.jpg', '/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_33_3455.jpg', '/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_35_2644.jpg', '/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_38_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_23_2587.jpg
/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_26_2667.jpg
/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_29_3635.jpg
/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_33_3455.jpg
/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_35_2644.jpg
/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_38_2597.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":["1396210465","1396210476","1396210473","1396210467","1396210469","1396210471"],"photo_ids_order":["1396210465","1396210467","1396210469","1396210471","1396210473","1396210476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1455cb0a466c9624e17753ed129dab8f.jpg","text":"TemporaryFile(/tmp/multipartBody4409503081163733202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134551060,"filename":"image_26112025_02_44_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/26/432fa05885b77fb4b0d870ce38d2b0d3.jpg","text":"TemporaryFile(/tmp/multipartBody1540664690002597329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134551060,"filename":"image_26112025_02_44_38_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/26/833bb76e0a4aba75e8538efe0c6bd3d0.jpg","text":"TemporaryFile(/tmp/multipartBody6846729309872768420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134551060,"filename":"image_26112025_02_44_35_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/26/9a738c27368b36337c5584594daf141c.jpg","text":"TemporaryFile(/tmp/multipartBody534150114001023033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134551060,"filename":"image_26112025_02_44_26_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/26/f2e068b97a40adf03b399f82212e7d90.jpg","text":"TemporaryFile(/tmp/multipartBody5831101043508895948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134551060,"filename":"image_26112025_02_44_29_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/26/31501aea9602d0a5c923dbefe9236407.jpg","text":"TemporaryFile(/tmp/multipartBody1404803890654289777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134551060,"filename":"image_26112025_02_44_33_3455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210469","file1":"1396210467","file0":"1396210465","file4":"1396210473","file5":"1396210476","file3":"1396210471"},"map_files_photo_id_array":[{"photo_id":"1396210476","filename":"file5"},{"photo_id":"1396210469","filename":"file2"},{"photo_id":"1396210473","filename":"file4"},{"photo_id":"1396210467","filename":"file1"},{"photo_id":"1396210465","filename":"file0"},{"photo_id":"1396210471","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210465":["hashtag1","hashtag2"]},{"1396210476":["hashtag1","hashtag2"]},{"1396210473":["hashtag1","hashtag2"]},{"1396210467":["hashtag1","hashtag2"]},{"1396210469":["hashtag1","hashtag2"]},{"1396210471":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210465, 1396210476, 1396210473, 1396210467, 1396210469, 1396210471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.231409549713135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:22:13.089097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_41_2717.jpg', '/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_44_3621.jpg', '/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_47_2683.jpg', '/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_51_3572.jpg', '/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_53_2620.jpg', '/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_56_2560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_41_2717.jpg
/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_44_3621.jpg
/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_47_2683.jpg
/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_51_3572.jpg
/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_53_2620.jpg
/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_56_2560.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":["1396210488","1396210493","1396210490","1396210484","1396210486","1396210495"],"photo_ids_order":["1396210484","1396210486","1396210488","1396210490","1396210493","1396210495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fd5ae2fbf1d44bf309427f704d80eeca.jpg","text":"TemporaryFile(/tmp/multipartBody4333379158039224107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134593748,"filename":"image_26112025_02_44_47_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/26/dde9dd38605553468406d8e16615f7c9.jpg","text":"TemporaryFile(/tmp/multipartBody8535649607325016267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134593748,"filename":"image_26112025_02_44_53_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/26/91ba91f2f0906b9979456d736a3724d5.jpg","text":"TemporaryFile(/tmp/multipartBody8740799514746228562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134593748,"filename":"image_26112025_02_44_51_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/26/7b6677a2a992c12ac1823388be2380c4.jpg","text":"TemporaryFile(/tmp/multipartBody6570645091403471401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134593748,"filename":"image_26112025_02_44_41_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/26/a2ce6c7ff0bd2bcef0ccdb444b42b061.jpg","text":"TemporaryFile(/tmp/multipartBody132100313819132227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134593748,"filename":"image_26112025_02_44_44_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dbc8a5202a851b5befc0ca8d1e1ed5ec.jpg","text":"TemporaryFile(/tmp/multipartBody7867534716110031725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134593748,"filename":"image_26112025_02_44_56_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210488","file1":"1396210486","file0":"1396210484","file4":"1396210493","file5":"1396210495","file3":"1396210490"},"map_files_photo_id_array":[{"photo_id":"1396210495","filename":"file5"},{"photo_id":"1396210488","filename":"file2"},{"photo_id":"1396210493","filename":"file4"},{"photo_id":"1396210486","filename":"file1"},{"photo_id":"1396210484","filename":"file0"},{"photo_id":"1396210490","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210488":["hashtag1","hashtag2"]},{"1396210493":["hashtag1","hashtag2"]},{"1396210490":["hashtag1","hashtag2"]},{"1396210484":["hashtag1","hashtag2"]},{"1396210486":["hashtag1","hashtag2"]},{"1396210495":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210488, 1396210493, 1396210490, 1396210484, 1396210486, 1396210495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12179613113403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 06:23:02.871121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_59_3759.jpg', '/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_02_2681.jpg', '/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_05_2802.jpg', '/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_08_2617.jpg', '/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_11_3713.jpg', '/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_14_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/44/image_26112025_02_44_59_3759.jpg
/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_02_2681.jpg
/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_05_2802.jpg
/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_08_2617.jpg
/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_11_3713.jpg
/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_14_2610.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":["1396210510","1396210513","1396210506","1396210520","1396210508","1396210517"],"photo_ids_order":["1396210506","1396210508","1396210510","1396210513","1396210517","1396210520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0eb7f567db459e86ea5e1271ea793c8a.jpg","text":"TemporaryFile(/tmp/multipartBody8445546182774403108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134643656,"filename":"image_26112025_02_45_05_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/26/c6ef8a6553e2a78046ff1be1e974293b.jpg","text":"TemporaryFile(/tmp/multipartBody238016517295399930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134643656,"filename":"image_26112025_02_45_08_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/26/3337688bd2ce12ebd232a3b481ed7ddf.jpg","text":"TemporaryFile(/tmp/multipartBody7018365327018544230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134643656,"filename":"image_26112025_02_44_59_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/26/5a343d5c4a743bcc61c1887f4a2fad2c.jpg","text":"TemporaryFile(/tmp/multipartBody4711365783307309374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134643656,"filename":"image_26112025_02_45_14_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/26/11d29e7c94ae1fee139ba917e67a2eaf.jpg","text":"TemporaryFile(/tmp/multipartBody4307112691905698203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134643656,"filename":"image_26112025_02_45_02_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/26/6f1ab30cb7a524d6652b7835b0b483b5.jpg","text":"TemporaryFile(/tmp/multipartBody5898425686669590101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134643656,"filename":"image_26112025_02_45_11_3713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210510","file1":"1396210508","file0":"1396210506","file4":"1396210517","file5":"1396210520","file3":"1396210513"},"map_files_photo_id_array":[{"photo_id":"1396210520","filename":"file5"},{"photo_id":"1396210510","filename":"file2"},{"photo_id":"1396210517","filename":"file4"},{"photo_id":"1396210508","filename":"file1"},{"photo_id":"1396210506","filename":"file0"},{"photo_id":"1396210513","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210510":["hashtag1","hashtag2"]},{"1396210513":["hashtag1","hashtag2"]},{"1396210506":["hashtag1","hashtag2"]},{"1396210520":["hashtag1","hashtag2"]},{"1396210508":["hashtag1","hashtag2"]},{"1396210517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210510, 1396210513, 1396210506, 1396210520, 1396210508, 1396210517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.737098932266235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 06:23:42.336155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_17_2847.jpg', '/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_20_2801.jpg', '/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_23_3570.jpg', '/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_26_2704.jpg', '/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_29_2748.jpg', '/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_32_3823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_17_2847.jpg
/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_20_2801.jpg
/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_23_3570.jpg
/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_26_2704.jpg
/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_29_2748.jpg
/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_32_3823.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":["1396210531","1396210528","1396210527","1396210530","1396210524","1396210529"],"photo_ids_order":["1396210524","1396210527","1396210528","1396210529","1396210530","1396210531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8c7a2ccd2dcb4dbf1dc2fad700e4f0e4.jpg","text":"TemporaryFile(/tmp/multipartBody370258374083578815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134683099,"filename":"image_26112025_02_45_32_3823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9749473ba89850d3ee1166317e0fd454.jpg","text":"TemporaryFile(/tmp/multipartBody406753423205985288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134683099,"filename":"image_26112025_02_45_23_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/26/c14d030096010a32699762f3be769f2d.jpg","text":"TemporaryFile(/tmp/multipartBody7134072041821963174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134683099,"filename":"image_26112025_02_45_20_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/26/cfcc3d72196f44e27d3551a06971b3c3.jpg","text":"TemporaryFile(/tmp/multipartBody115326866421911540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134683099,"filename":"image_26112025_02_45_29_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/26/1660ba38d2b4727a7ac743c706a3fdbd.jpg","text":"TemporaryFile(/tmp/multipartBody7869719601794985848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134683099,"filename":"image_26112025_02_45_17_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/26/5118f10436ca6daf259c6b5be69470a6.jpg","text":"TemporaryFile(/tmp/multipartBody4310995836522453083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134683099,"filename":"image_26112025_02_45_26_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210528","file1":"1396210527","file0":"1396210524","file4":"1396210530","file5":"1396210531","file3":"1396210529"},"map_files_photo_id_array":[{"photo_id":"1396210531","filename":"file5"},{"photo_id":"1396210528","filename":"file2"},{"photo_id":"1396210530","filename":"file4"},{"photo_id":"1396210527","filename":"file1"},{"photo_id":"1396210524","filename":"file0"},{"photo_id":"1396210529","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210531":["hashtag1","hashtag2"]},{"1396210528":["hashtag1","hashtag2"]},{"1396210527":["hashtag1","hashtag2"]},{"1396210530":["hashtag1","hashtag2"]},{"1396210524":["hashtag1","hashtag2"]},{"1396210529":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210531, 1396210528, 1396210527, 1396210530, 1396210524, 1396210529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51754951477051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:24:29.046192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_35_2578.jpg', '/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_37_2504.jpg', '/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_41_3488.jpg', '/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_44_2703.jpg', '/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_47_3668.jpg', '/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_50_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_35_2578.jpg
/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_37_2504.jpg
/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_41_3488.jpg
/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_44_2703.jpg
/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_47_3668.jpg
/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_50_2561.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":["1396210543","1396210545","1396210539","1396210548","1396210541","1396210549"],"photo_ids_order":["1396210539","1396210541","1396210543","1396210545","1396210548","1396210549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6bb566ebf2435943d6326b4a2d01f9c4.jpg","text":"TemporaryFile(/tmp/multipartBody4660644542393345398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134729785,"filename":"image_26112025_02_45_41_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/26/61c97bfacdfb1b67875a8209e5305a24.jpg","text":"TemporaryFile(/tmp/multipartBody6733057004450108358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134729785,"filename":"image_26112025_02_45_44_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/26/4ec5054096cb22bfe0e9ffa7b9ee0905.jpg","text":"TemporaryFile(/tmp/multipartBody6097200455625849274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134729785,"filename":"image_26112025_02_45_35_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/26/55e586d01999a19436d6b9060cf85aa9.jpg","text":"TemporaryFile(/tmp/multipartBody9045605506051231340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134729785,"filename":"image_26112025_02_45_47_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0d3305dd6c9f826a009eae6319903b08.jpg","text":"TemporaryFile(/tmp/multipartBody300161082246042970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134729785,"filename":"image_26112025_02_45_37_2504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f09b2e5de71f4e853f80b0ba8c392e60.jpg","text":"TemporaryFile(/tmp/multipartBody8711525599888545649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134729785,"filename":"image_26112025_02_45_50_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210543","file1":"1396210541","file0":"1396210539","file4":"1396210548","file5":"1396210549","file3":"1396210545"},"map_files_photo_id_array":[{"photo_id":"1396210549","filename":"file5"},{"photo_id":"1396210543","filename":"file2"},{"photo_id":"1396210548","filename":"file4"},{"photo_id":"1396210541","filename":"file1"},{"photo_id":"1396210539","filename":"file0"},{"photo_id":"1396210545","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210543":["hashtag1","hashtag2"]},{"1396210545":["hashtag1","hashtag2"]},{"1396210539":["hashtag1","hashtag2"]},{"1396210548":["hashtag1","hashtag2"]},{"1396210541":["hashtag1","hashtag2"]},{"1396210549":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210543, 1396210545, 1396210539, 1396210548, 1396210541, 1396210549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.05895256996155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:25:12.126051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_53_2707.jpg', '/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_56_3700.jpg', '/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_59_2597.jpg', '/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_02_2780.jpg', '/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_05_3611.jpg', '/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_13_7490.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_53_2707.jpg
/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_56_3700.jpg
/home/pi/Desktop/images/26112025/02/45/image_26112025_02_45_59_2597.jpg
/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_02_2780.jpg
/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_05_3611.jpg
/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_13_7490.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":["1396210558","1396210560","1396210554","1396210562","1396210556","1396210552"],"photo_ids_order":["1396210552","1396210554","1396210556","1396210558","1396210560","1396210562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fe73ed9173199297d216df911ad3bedd.jpg","text":"TemporaryFile(/tmp/multipartBody7764655993988098129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134772794,"filename":"image_26112025_02_46_02_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/26/e48faf340c150f48773adb3a3d50fb9d.jpg","text":"TemporaryFile(/tmp/multipartBody1381760342039316697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134772794,"filename":"image_26112025_02_46_05_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/26/690ad6eac5fb359117e2b5e71e2d10dd.jpg","text":"TemporaryFile(/tmp/multipartBody3231770146054450879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134772794,"filename":"image_26112025_02_45_56_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/26/85b58d094853338194ec334eb939a746.jpg","text":"TemporaryFile(/tmp/multipartBody3352016687639443159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134772794,"filename":"image_26112025_02_46_13_7490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c5112cfd7873d14a2c173937d40ae9e0.jpg","text":"TemporaryFile(/tmp/multipartBody1039474448712100329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134772794,"filename":"image_26112025_02_45_59_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/26/168fec45ed1eb8f8998226c44a902251.jpg","text":"TemporaryFile(/tmp/multipartBody3703817995351709036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134772794,"filename":"image_26112025_02_45_53_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210556","file1":"1396210554","file0":"1396210552","file4":"1396210560","file5":"1396210562","file3":"1396210558"},"map_files_photo_id_array":[{"photo_id":"1396210562","filename":"file5"},{"photo_id":"1396210556","filename":"file2"},{"photo_id":"1396210560","filename":"file4"},{"photo_id":"1396210554","filename":"file1"},{"photo_id":"1396210552","filename":"file0"},{"photo_id":"1396210558","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210558":["hashtag1","hashtag2"]},{"1396210560":["hashtag1","hashtag2"]},{"1396210554":["hashtag1","hashtag2"]},{"1396210562":["hashtag1","hashtag2"]},{"1396210556":["hashtag1","hashtag2"]},{"1396210552":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210558, 1396210560, 1396210554, 1396210562, 1396210556, 1396210552)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 56.64090442657471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:26:16.609217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_15_1707.jpg', '/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_16_1663.jpg', '/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_18_1488.jpg', '/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_20_2620.jpg', '/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_23_2706.jpg', '/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_26_2571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_15_1707.jpg
/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_16_1663.jpg
/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_18_1488.jpg
/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_20_2620.jpg
/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_23_2706.jpg
/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_26_2571.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":["1396210609","1396210602","1396210605","1396210595","1396210598","1396210607"],"photo_ids_order":["1396210595","1396210598","1396210602","1396210605","1396210607","1396210609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/91f2498d6b1c1201190e0f53eac00500.jpg","text":"TemporaryFile(/tmp/multipartBody606487937695770983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134837310,"filename":"image_26112025_02_46_26_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/26/26ff9b8a48ad2e8ad506482e76c7420b.jpg","text":"TemporaryFile(/tmp/multipartBody4815558012590184982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134837310,"filename":"image_26112025_02_46_18_1488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/564c47693a65f1c2f5be748ecfb6339e.jpg","text":"TemporaryFile(/tmp/multipartBody2540573723944330032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134837310,"filename":"image_26112025_02_46_20_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/26/db3ffb7c2511ba778901995c4c7bf5e7.jpg","text":"TemporaryFile(/tmp/multipartBody5427314703130197706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134837310,"filename":"image_26112025_02_46_15_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2629a776cb11e6e80a18a53dc910c216.jpg","text":"TemporaryFile(/tmp/multipartBody7809441833340948818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134837310,"filename":"image_26112025_02_46_16_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/26/3f61dfa53d488bc2073640d82d445413.jpg","text":"TemporaryFile(/tmp/multipartBody7525143990932439157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134837310,"filename":"image_26112025_02_46_23_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210602","file1":"1396210598","file0":"1396210595","file4":"1396210607","file5":"1396210609","file3":"1396210605"},"map_files_photo_id_array":[{"photo_id":"1396210609","filename":"file5"},{"photo_id":"1396210602","filename":"file2"},{"photo_id":"1396210607","filename":"file4"},{"photo_id":"1396210598","filename":"file1"},{"photo_id":"1396210595","filename":"file0"},{"photo_id":"1396210605","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210609":["hashtag1","hashtag2"]},{"1396210602":["hashtag1","hashtag2"]},{"1396210605":["hashtag1","hashtag2"]},{"1396210595":["hashtag1","hashtag2"]},{"1396210598":["hashtag1","hashtag2"]},{"1396210607":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210609, 1396210602, 1396210605, 1396210595, 1396210598, 1396210607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.517539978027344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 06:27:02.583929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_29_3637.jpg', '/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_32_2814.jpg', '/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_35_2617.jpg', '/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_38_3658.jpg', '/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_41_2746.jpg', '/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_44_2800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_29_3637.jpg
/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_32_2814.jpg
/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_35_2617.jpg
/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_38_3658.jpg
/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_41_2746.jpg
/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_44_2800.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":["1396210627","1396210635","1396210620","1396210640","1396210637","1396210633"],"photo_ids_order":["1396210620","1396210627","1396210633","1396210635","1396210637","1396210640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aefc0ae9c6247be8e39312a9f3f0c2f3.jpg","text":"TemporaryFile(/tmp/multipartBody3052749544254679475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134883343,"filename":"image_26112025_02_46_32_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/26/d531cdaaf57cca19738b34af54e13bb1.jpg","text":"TemporaryFile(/tmp/multipartBody6453088655050484447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134883343,"filename":"image_26112025_02_46_38_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/26/baaae8f368898d37b7f11ce9a0771aff.jpg","text":"TemporaryFile(/tmp/multipartBody3965869298890259041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134883343,"filename":"image_26112025_02_46_29_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/26/a9947ae43e181f11582c2d86804752ad.jpg","text":"TemporaryFile(/tmp/multipartBody365321845376062743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134883343,"filename":"image_26112025_02_46_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/26/a40b7bc295ee6b4e297daa0ae2a823f5.jpg","text":"TemporaryFile(/tmp/multipartBody6060532718667438383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134883343,"filename":"image_26112025_02_46_41_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/26/956961b79b768857147be77bc27cff4c.jpg","text":"TemporaryFile(/tmp/multipartBody3263187010837953074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134883343,"filename":"image_26112025_02_46_35_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210633","file1":"1396210627","file0":"1396210620","file4":"1396210637","file5":"1396210640","file3":"1396210635"},"map_files_photo_id_array":[{"photo_id":"1396210640","filename":"file5"},{"photo_id":"1396210633","filename":"file2"},{"photo_id":"1396210637","filename":"file4"},{"photo_id":"1396210627","filename":"file1"},{"photo_id":"1396210620","filename":"file0"},{"photo_id":"1396210635","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210627":["hashtag1","hashtag2"]},{"1396210635":["hashtag1","hashtag2"]},{"1396210620":["hashtag1","hashtag2"]},{"1396210640":["hashtag1","hashtag2"]},{"1396210637":["hashtag1","hashtag2"]},{"1396210633":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210627, 1396210635, 1396210620, 1396210640, 1396210637, 1396210633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55418872833252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 06:27:41.857795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_46_2542.jpg', '/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_50_3661.jpg', '/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_53_2698.jpg', '/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_55_2634.jpg', '/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_59_3783.jpg', '/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_02_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_46_2542.jpg
/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_50_3661.jpg
/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_53_2698.jpg
/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_55_2634.jpg
/home/pi/Desktop/images/26112025/02/46/image_26112025_02_46_59_3783.jpg
/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_02_2653.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":["1396210645","1396210650","1396210653","1396210647","1396210652","1396210651"],"photo_ids_order":["1396210645","1396210647","1396210650","1396210651","1396210652","1396210653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/89df4caa4682dc9960980523d915eb5c.jpg","text":"TemporaryFile(/tmp/multipartBody3936326559791138432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134922584,"filename":"image_26112025_02_46_46_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/26/9c87cfa5423b5e3942779ad7502e8db7.jpg","text":"TemporaryFile(/tmp/multipartBody6875888368330309319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134922584,"filename":"image_26112025_02_46_53_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/26/7c461073e5c8f33ee8e5430505963677.jpg","text":"TemporaryFile(/tmp/multipartBody2044575760751595493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134922584,"filename":"image_26112025_02_47_02_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/26/438075924a2fed540ef75a3e367216fd.jpg","text":"TemporaryFile(/tmp/multipartBody476786818604186680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134922584,"filename":"image_26112025_02_46_50_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/26/91bd17416191beb716c2c461e9341e47.jpg","text":"TemporaryFile(/tmp/multipartBody483934592356251624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134922584,"filename":"image_26112025_02_46_59_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/26/abe9d5673580477a3b7a13aecce62bb6.jpg","text":"TemporaryFile(/tmp/multipartBody8469826449206495787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134922584,"filename":"image_26112025_02_46_55_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210650","file1":"1396210647","file0":"1396210645","file4":"1396210652","file5":"1396210653","file3":"1396210651"},"map_files_photo_id_array":[{"photo_id":"1396210653","filename":"file5"},{"photo_id":"1396210650","filename":"file2"},{"photo_id":"1396210652","filename":"file4"},{"photo_id":"1396210647","filename":"file1"},{"photo_id":"1396210645","filename":"file0"},{"photo_id":"1396210651","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210645":["hashtag1","hashtag2"]},{"1396210650":["hashtag1","hashtag2"]},{"1396210653":["hashtag1","hashtag2"]},{"1396210647":["hashtag1","hashtag2"]},{"1396210652":["hashtag1","hashtag2"]},{"1396210651":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210645, 1396210650, 1396210653, 1396210647, 1396210652, 1396210651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.652862787246704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:28:26.159261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_04_2560.jpg', '/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_08_3620.jpg', '/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_11_2606.jpg', '/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_14_3580.jpg', '/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_17_2598.jpg', '/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_20_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_04_2560.jpg
/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_08_3620.jpg
/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_11_2606.jpg
/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_14_3580.jpg
/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_17_2598.jpg
/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_20_2767.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":["1396210662","1396210673","1396210676","1396210678","1396210669","1396210660"],"photo_ids_order":["1396210660","1396210662","1396210669","1396210673","1396210676","1396210678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ba63bcda91f1c99d0115f76388651824.jpg","text":"TemporaryFile(/tmp/multipartBody3617050213060585329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134966850,"filename":"image_26112025_02_47_08_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/26/fa27beef167072d706dde66fb73ccd8f.jpg","text":"TemporaryFile(/tmp/multipartBody1239767282776196818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134966850,"filename":"image_26112025_02_47_14_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/26/b3ad2c1873d31eac203a7c283bc35a57.jpg","text":"TemporaryFile(/tmp/multipartBody3868270091470885112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134966850,"filename":"image_26112025_02_47_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/26/91132a067970313d03a1e22bbe8c4d26.jpg","text":"TemporaryFile(/tmp/multipartBody7386660660442948767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134966850,"filename":"image_26112025_02_47_20_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/26/58a09b55d8c0013959875a2e393e4456.jpg","text":"TemporaryFile(/tmp/multipartBody8421892630057414204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134966850,"filename":"image_26112025_02_47_11_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2d47bcad004fa37ee4b09240dcfa2bd4.jpg","text":"TemporaryFile(/tmp/multipartBody2396433464453729754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764134966850,"filename":"image_26112025_02_47_04_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210669","file1":"1396210662","file0":"1396210660","file4":"1396210676","file5":"1396210678","file3":"1396210673"},"map_files_photo_id_array":[{"photo_id":"1396210678","filename":"file5"},{"photo_id":"1396210669","filename":"file2"},{"photo_id":"1396210676","filename":"file4"},{"photo_id":"1396210662","filename":"file1"},{"photo_id":"1396210660","filename":"file0"},{"photo_id":"1396210673","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210662":["hashtag1","hashtag2"]},{"1396210673":["hashtag1","hashtag2"]},{"1396210676":["hashtag1","hashtag2"]},{"1396210678":["hashtag1","hashtag2"]},{"1396210669":["hashtag1","hashtag2"]},{"1396210660":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210662, 1396210673, 1396210676, 1396210678, 1396210669, 1396210660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64700269699097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:29:12.240454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_23_3549.jpg', '/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_26_2695.jpg', '/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_28_2702.jpg', '/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_32_3761.jpg', '/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_35_3002.jpg', '/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_38_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_23_3549.jpg
/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_26_2695.jpg
/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_28_2702.jpg
/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_32_3761.jpg
/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_35_3002.jpg
/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_38_2663.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":["1396210695","1396210701","1396210691","1396210697","1396210699","1396210693"],"photo_ids_order":["1396210691","1396210693","1396210695","1396210697","1396210699","1396210701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9462ad33419cc81db44d243c9df90607.jpg","text":"TemporaryFile(/tmp/multipartBody5176960829566521825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135012966,"filename":"image_26112025_02_47_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/26/97c535e12ef3bc698bb6ae3d4cdaa38f.jpg","text":"TemporaryFile(/tmp/multipartBody5950920890529379574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135012966,"filename":"image_26112025_02_47_38_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/26/6117fe2f387861261f4cd5b6d696bdc1.jpg","text":"TemporaryFile(/tmp/multipartBody2149882497307122345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135012966,"filename":"image_26112025_02_47_23_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/26/c71129227b01fd5931dfbebec0a82f83.jpg","text":"TemporaryFile(/tmp/multipartBody139216163607874025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135012966,"filename":"image_26112025_02_47_32_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/26/eebf8f97a8bd25559df3bbae2757c513.jpg","text":"TemporaryFile(/tmp/multipartBody7248996205523897321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135012966,"filename":"image_26112025_02_47_35_3002.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a35b9652110adf0892aeb7bb2d4f278f.jpg","text":"TemporaryFile(/tmp/multipartBody9182358395149614010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135012966,"filename":"image_26112025_02_47_26_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210695","file1":"1396210693","file0":"1396210691","file4":"1396210699","file5":"1396210701","file3":"1396210697"},"map_files_photo_id_array":[{"photo_id":"1396210701","filename":"file5"},{"photo_id":"1396210695","filename":"file2"},{"photo_id":"1396210699","filename":"file4"},{"photo_id":"1396210693","filename":"file1"},{"photo_id":"1396210691","filename":"file0"},{"photo_id":"1396210697","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210695":["hashtag1","hashtag2"]},{"1396210701":["hashtag1","hashtag2"]},{"1396210691":["hashtag1","hashtag2"]},{"1396210697":["hashtag1","hashtag2"]},{"1396210699":["hashtag1","hashtag2"]},{"1396210693":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210695, 1396210701, 1396210691, 1396210697, 1396210699, 1396210693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.260385274887085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 06:30:02.597689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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 10
2025-11-26 06:30:22.187273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_41_2628.jpg', '/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_44_3649.jpg', '/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_47_2567.jpg', '/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_49_2673.jpg', '/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_53_3721.jpg', '/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_56_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_41_2628.jpg
/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_44_3649.jpg
/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_47_2567.jpg
/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_49_2673.jpg
/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_53_3721.jpg
/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_56_2724.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":["1396210720","1396210723","1396210728","1396210730","1396210733","1396210726"],"photo_ids_order":["1396210720","1396210723","1396210726","1396210728","1396210730","1396210733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dcceff443c1d4c71bf92cf6865d480a8.jpg","text":"TemporaryFile(/tmp/multipartBody4884471067966259621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135082855,"filename":"image_26112025_02_47_41_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/26/fa74aa1752501f39c2695a6e3ea08151.jpg","text":"TemporaryFile(/tmp/multipartBody4437730731918005854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135082855,"filename":"image_26112025_02_47_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/26/538ea7b67441f864e8299ee984572948.jpg","text":"TemporaryFile(/tmp/multipartBody7495994248310889159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135082855,"filename":"image_26112025_02_47_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/26/d383370eba127a21263eb7835b62d55a.jpg","text":"TemporaryFile(/tmp/multipartBody6021822124566986148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135082855,"filename":"image_26112025_02_47_53_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4bbedd7ea133075a971aef0863ed43d7.jpg","text":"TemporaryFile(/tmp/multipartBody1995328101187539364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135082855,"filename":"image_26112025_02_47_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/26/8846d9155098b2d43a1f59af1428be41.jpg","text":"TemporaryFile(/tmp/multipartBody6549750056429089305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135082855,"filename":"image_26112025_02_47_47_2567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210726","file1":"1396210723","file0":"1396210720","file4":"1396210730","file5":"1396210733","file3":"1396210728"},"map_files_photo_id_array":[{"photo_id":"1396210733","filename":"file5"},{"photo_id":"1396210726","filename":"file2"},{"photo_id":"1396210730","filename":"file4"},{"photo_id":"1396210723","filename":"file1"},{"photo_id":"1396210720","filename":"file0"},{"photo_id":"1396210728","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210720":["hashtag1","hashtag2"]},{"1396210723":["hashtag1","hashtag2"]},{"1396210728":["hashtag1","hashtag2"]},{"1396210730":["hashtag1","hashtag2"]},{"1396210733":["hashtag1","hashtag2"]},{"1396210726":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210720, 1396210723, 1396210728, 1396210730, 1396210733, 1396210726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93749523162842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 06:31:03.229777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_59_2720.jpg', '/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_02_3557.jpg', '/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_05_2692.jpg', '/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_08_2853.jpg', '/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_10_2587.jpg', '/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_14_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/47/image_26112025_02_47_59_2720.jpg
/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_02_3557.jpg
/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_05_2692.jpg
/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_08_2853.jpg
/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_10_2587.jpg
/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_14_3643.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":["1396210741","1396210735","1396210743","1396210737","1396210745","1396210739"],"photo_ids_order":["1396210735","1396210737","1396210739","1396210741","1396210743","1396210745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d95d29ec5184a02dde2a490f1c47f9f4.jpg","text":"TemporaryFile(/tmp/multipartBody7307727110291198088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135123985,"filename":"image_26112025_02_48_08_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/26/7ea913cd6c3dddbabc7e7c0a4b38209f.jpg","text":"TemporaryFile(/tmp/multipartBody5894911216051308964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135123985,"filename":"image_26112025_02_47_59_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/26/180840ef9b4eb7df1c0f7a25d4e23d07.jpg","text":"TemporaryFile(/tmp/multipartBody158848693129283737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135123985,"filename":"image_26112025_02_48_10_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/26/3d59a4ac844ca76457d406d29e051984.jpg","text":"TemporaryFile(/tmp/multipartBody124008164107875480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135123985,"filename":"image_26112025_02_48_02_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/26/56c934d06a45ee24cce7891508526fb2.jpg","text":"TemporaryFile(/tmp/multipartBody465788155352366599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135123985,"filename":"image_26112025_02_48_14_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/26/7e2a85f76bf3b62dabddbc1cd4ed9298.jpg","text":"TemporaryFile(/tmp/multipartBody939971614078994289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135123985,"filename":"image_26112025_02_48_05_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210739","file1":"1396210737","file0":"1396210735","file4":"1396210743","file5":"1396210745","file3":"1396210741"},"map_files_photo_id_array":[{"photo_id":"1396210745","filename":"file5"},{"photo_id":"1396210739","filename":"file2"},{"photo_id":"1396210743","filename":"file4"},{"photo_id":"1396210737","filename":"file1"},{"photo_id":"1396210735","filename":"file0"},{"photo_id":"1396210741","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210741":["hashtag1","hashtag2"]},{"1396210735":["hashtag1","hashtag2"]},{"1396210743":["hashtag1","hashtag2"]},{"1396210737":["hashtag1","hashtag2"]},{"1396210745":["hashtag1","hashtag2"]},{"1396210739":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210741, 1396210735, 1396210743, 1396210737, 1396210745, 1396210739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.528014183044434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 06:31:42.507581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_17_2652.jpg', '/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_19_2743.jpg', '/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_23_3536.jpg', '/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_26_2700.jpg', '/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_29_3565.jpg', '/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_32_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_17_2652.jpg
/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_19_2743.jpg
/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_23_3536.jpg
/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_26_2700.jpg
/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_29_3565.jpg
/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_32_2724.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":["1396210764","1396210767","1396210752","1396210754","1396210759","1396210750"],"photo_ids_order":["1396210750","1396210752","1396210754","1396210759","1396210764","1396210767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/15cc49a58d998c72e89e66462c449a01.jpg","text":"TemporaryFile(/tmp/multipartBody3231619530746282025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135163231,"filename":"image_26112025_02_48_29_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/26/75139feaf0759b80a565da774ade957e.jpg","text":"TemporaryFile(/tmp/multipartBody7803229275739103402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135163231,"filename":"image_26112025_02_48_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/26/4f620e73cde20f8dc06aea39e032d734.jpg","text":"TemporaryFile(/tmp/multipartBody1328930594019309778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135163231,"filename":"image_26112025_02_48_19_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/26/4d668a6064de6342ea5cac76ef4f491c.jpg","text":"TemporaryFile(/tmp/multipartBody1268035316492876763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135163231,"filename":"image_26112025_02_48_23_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/26/24c03f2b9236b2d5172056cbecf3d19f.jpg","text":"TemporaryFile(/tmp/multipartBody7458580946007482453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135163231,"filename":"image_26112025_02_48_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/26/f236faae81ab349c071e5fed1437bbdd.jpg","text":"TemporaryFile(/tmp/multipartBody6538874803048825894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135163231,"filename":"image_26112025_02_48_17_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210754","file1":"1396210752","file0":"1396210750","file4":"1396210764","file5":"1396210767","file3":"1396210759"},"map_files_photo_id_array":[{"photo_id":"1396210767","filename":"file5"},{"photo_id":"1396210754","filename":"file2"},{"photo_id":"1396210764","filename":"file4"},{"photo_id":"1396210752","filename":"file1"},{"photo_id":"1396210750","filename":"file0"},{"photo_id":"1396210759","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210764":["hashtag1","hashtag2"]},{"1396210767":["hashtag1","hashtag2"]},{"1396210752":["hashtag1","hashtag2"]},{"1396210754":["hashtag1","hashtag2"]},{"1396210759":["hashtag1","hashtag2"]},{"1396210750":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210764, 1396210767, 1396210752, 1396210754, 1396210759, 1396210750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17056059837341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:32:22.658497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_34_2538.jpg', '/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_37_2827.jpg', '/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_41_3654.jpg', '/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_44_2780.jpg', '/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_46_2597.jpg', '/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_50_3786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_34_2538.jpg
/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_37_2827.jpg
/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_41_3654.jpg
/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_44_2780.jpg
/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_46_2597.jpg
/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_50_3786.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":["1396210773","1396210785","1396210779","1396210775","1396210777","1396210792"],"photo_ids_order":["1396210773","1396210775","1396210777","1396210779","1396210785","1396210792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8e524842a435c36e2b25c8250ddd05d9.jpg","text":"TemporaryFile(/tmp/multipartBody4960608964748875965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135203359,"filename":"image_26112025_02_48_34_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/26/02812f7704bbc65bed316bdd0a3f81e5.jpg","text":"TemporaryFile(/tmp/multipartBody3150080269951894951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135203359,"filename":"image_26112025_02_48_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/26/a23e018aa67be975a39fbbd3dee2c2c1.jpg","text":"TemporaryFile(/tmp/multipartBody5225566794212266576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135203359,"filename":"image_26112025_02_48_44_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/26/cf5d9a3301458917e903fae03e491843.jpg","text":"TemporaryFile(/tmp/multipartBody1254316141417000368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135203359,"filename":"image_26112025_02_48_37_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/26/7cbf42d52d2701ae4c8ac06aa058260f.jpg","text":"TemporaryFile(/tmp/multipartBody1890086992201052288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135203359,"filename":"image_26112025_02_48_41_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/69fb38b72f0075918972f40b4f1a20c8.jpg","text":"TemporaryFile(/tmp/multipartBody6105350456461350482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135203359,"filename":"image_26112025_02_48_50_3786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210777","file1":"1396210775","file0":"1396210773","file4":"1396210785","file5":"1396210792","file3":"1396210779"},"map_files_photo_id_array":[{"photo_id":"1396210792","filename":"file5"},{"photo_id":"1396210777","filename":"file2"},{"photo_id":"1396210785","filename":"file4"},{"photo_id":"1396210775","filename":"file1"},{"photo_id":"1396210773","filename":"file0"},{"photo_id":"1396210779","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210773":["hashtag1","hashtag2"]},{"1396210785":["hashtag1","hashtag2"]},{"1396210779":["hashtag1","hashtag2"]},{"1396210775":["hashtag1","hashtag2"]},{"1396210777":["hashtag1","hashtag2"]},{"1396210792":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210773, 1396210785, 1396210779, 1396210775, 1396210777, 1396210792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.394447565078735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 06:33:02.456081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_53_2657.jpg', '/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_55_2563.jpg', '/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_59_3595.jpg', '/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_01_2562.jpg', '/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_05_3664.jpg', '/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_08_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_53_2657.jpg
/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_55_2563.jpg
/home/pi/Desktop/images/26112025/02/48/image_26112025_02_48_59_3595.jpg
/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_01_2562.jpg
/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_05_3664.jpg
/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_08_2637.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":["1396210797","1396210800","1396210793","1396210796","1396210795","1396210798"],"photo_ids_order":["1396210793","1396210795","1396210796","1396210797","1396210798","1396210800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/389f97018c90699b8f5132cab3743a71.jpg","text":"TemporaryFile(/tmp/multipartBody7175423655778430509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135243241,"filename":"image_26112025_02_49_01_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/26/b6144cb4950c86f28c9c8c5899506d13.jpg","text":"TemporaryFile(/tmp/multipartBody7884008232114267834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135243241,"filename":"image_26112025_02_49_08_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2288edeb52255a7d0a3d11e56f4160a1.jpg","text":"TemporaryFile(/tmp/multipartBody1711420211706769000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135243241,"filename":"image_26112025_02_48_53_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/26/3af06aed065d6733060b63078fa800a1.jpg","text":"TemporaryFile(/tmp/multipartBody4018089900957928670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135243241,"filename":"image_26112025_02_48_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/26/8d7f9bf68d2fdc732aaedaa15e32d885.jpg","text":"TemporaryFile(/tmp/multipartBody7212208566786949840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135243241,"filename":"image_26112025_02_48_55_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/26/0483bec3feb4f940bd324708fd889c61.jpg","text":"TemporaryFile(/tmp/multipartBody3593591334722229679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135243241,"filename":"image_26112025_02_49_05_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210796","file1":"1396210795","file0":"1396210793","file4":"1396210798","file5":"1396210800","file3":"1396210797"},"map_files_photo_id_array":[{"photo_id":"1396210800","filename":"file5"},{"photo_id":"1396210796","filename":"file2"},{"photo_id":"1396210798","filename":"file4"},{"photo_id":"1396210795","filename":"file1"},{"photo_id":"1396210793","filename":"file0"},{"photo_id":"1396210797","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210797":["hashtag1","hashtag2"]},{"1396210800":["hashtag1","hashtag2"]},{"1396210793":["hashtag1","hashtag2"]},{"1396210796":["hashtag1","hashtag2"]},{"1396210795":["hashtag1","hashtag2"]},{"1396210798":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210797, 1396210800, 1396210793, 1396210796, 1396210795, 1396210798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.836851835250854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 06:33:41.862168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_10_2633.jpg', '/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_14_3676.jpg', '/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_17_2660.jpg', '/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_19_2578.jpg', '/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_23_3648.jpg', '/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_26_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_10_2633.jpg
/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_14_3676.jpg
/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_17_2660.jpg
/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_19_2578.jpg
/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_23_3648.jpg
/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_26_2584.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":["1396210813","1396210810","1396210812","1396210809","1396210811","1396210805"],"photo_ids_order":["1396210805","1396210809","1396210810","1396210811","1396210812","1396210813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/46b4b50091afbb02f03cad1604e1bfc6.jpg","text":"TemporaryFile(/tmp/multipartBody9213158016508360968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135282557,"filename":"image_26112025_02_49_26_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/26/b372eb897d5caf16d96d62c40f743d32.jpg","text":"TemporaryFile(/tmp/multipartBody5315828143026370254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135282557,"filename":"image_26112025_02_49_17_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/26/72643e7830c0657159848825a3bc13a7.jpg","text":"TemporaryFile(/tmp/multipartBody7779947316230090459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135282557,"filename":"image_26112025_02_49_23_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/26/a51df1619a64a8379aa29785bea9b222.jpg","text":"TemporaryFile(/tmp/multipartBody6681358572362041499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135282557,"filename":"image_26112025_02_49_14_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/26/01480a2ddb07b32b9c3df33176d99925.jpg","text":"TemporaryFile(/tmp/multipartBody3587346055777952675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135282557,"filename":"image_26112025_02_49_19_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/26/e8d95e5986fd82d8cd557ee836de3c22.jpg","text":"TemporaryFile(/tmp/multipartBody1804134188504508782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135282557,"filename":"image_26112025_02_49_10_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210810","file1":"1396210809","file0":"1396210805","file4":"1396210812","file5":"1396210813","file3":"1396210811"},"map_files_photo_id_array":[{"photo_id":"1396210813","filename":"file5"},{"photo_id":"1396210810","filename":"file2"},{"photo_id":"1396210812","filename":"file4"},{"photo_id":"1396210809","filename":"file1"},{"photo_id":"1396210805","filename":"file0"},{"photo_id":"1396210811","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210813":["hashtag1","hashtag2"]},{"1396210810":["hashtag1","hashtag2"]},{"1396210812":["hashtag1","hashtag2"]},{"1396210809":["hashtag1","hashtag2"]},{"1396210811":["hashtag1","hashtag2"]},{"1396210805":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210813, 1396210810, 1396210812, 1396210809, 1396210811, 1396210805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.917702436447144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:34:21.991452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_28_2633.jpg', '/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_33_5217.jpg', '/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_35_1701.jpg', '/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_38_2706.jpg', '/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_40_2657.jpg', '/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_43_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
 val : 1 : upload photos already in processing! 
/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_28_2633.jpg
/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_33_5217.jpg
/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_35_1701.jpg
/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_38_2706.jpg
/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_40_2657.jpg
/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_43_2782.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":["1396210828","1396210819","1396210824","1396210827","1396210829","1396210817"],"photo_ids_order":["1396210817","1396210819","1396210824","1396210827","1396210828","1396210829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9ba6ab78f16e0eb33959b9a6b4fd9f9e.jpg","text":"TemporaryFile(/tmp/multipartBody6146956674759184914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135334048,"filename":"image_26112025_02_49_40_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/26/999e0e3f1e4a497a5ea2aa6e5a5788db.jpg","text":"TemporaryFile(/tmp/multipartBody7947060699019198292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135334048,"filename":"image_26112025_02_49_33_5217.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/de3f7b19f2574ec4393c6a7c3f0601ee.jpg","text":"TemporaryFile(/tmp/multipartBody5942645024508463294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135334048,"filename":"image_26112025_02_49_35_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/26/fe8adc1f7f7f08f2c86a8445e3d7b84e.jpg","text":"TemporaryFile(/tmp/multipartBody7141305531633011293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135334048,"filename":"image_26112025_02_49_38_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/26/75e3201db010a29fd2c9eae3af239fdf.jpg","text":"TemporaryFile(/tmp/multipartBody343103689105531383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135334048,"filename":"image_26112025_02_49_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/26/edbd0952ad6ade69e77880ed9c6af923.jpg","text":"TemporaryFile(/tmp/multipartBody4291765938071001659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135334048,"filename":"image_26112025_02_49_28_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210824","file1":"1396210819","file0":"1396210817","file4":"1396210828","file5":"1396210829","file3":"1396210827"},"map_files_photo_id_array":[{"photo_id":"1396210829","filename":"file5"},{"photo_id":"1396210824","filename":"file2"},{"photo_id":"1396210828","filename":"file4"},{"photo_id":"1396210819","filename":"file1"},{"photo_id":"1396210817","filename":"file0"},{"photo_id":"1396210827","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210828":["hashtag1","hashtag2"]},{"1396210819":["hashtag1","hashtag2"]},{"1396210824":["hashtag1","hashtag2"]},{"1396210827":["hashtag1","hashtag2"]},{"1396210829":["hashtag1","hashtag2"]},{"1396210817":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210828, 1396210819, 1396210824, 1396210827, 1396210829, 1396210817)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 57.50147342681885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:35:22.182463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_47_3650.jpg', '/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_49_2604.jpg', '/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_53_3532.jpg', '/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_56_2777.jpg', '/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_58_2589.jpg', '/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_01_2812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_47_3650.jpg
/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_49_2604.jpg
/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_53_3532.jpg
/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_56_2777.jpg
/home/pi/Desktop/images/26112025/02/49/image_26112025_02_49_58_2589.jpg
/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_01_2812.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":["1396210853","1396210847","1396210856","1396210850","1396210861","1396210858"],"photo_ids_order":["1396210847","1396210850","1396210853","1396210856","1396210858","1396210861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9418af1eb06874a3f5b7a15ec8230f8d.jpg","text":"TemporaryFile(/tmp/multipartBody4683975501402397754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135382882,"filename":"image_26112025_02_49_53_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/40637651e70e0b3ec959276b5d2dbab4.jpg","text":"TemporaryFile(/tmp/multipartBody3186128083299265070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135382882,"filename":"image_26112025_02_49_47_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/26/fea5bcc8018098ce9f5c2099646c1114.jpg","text":"TemporaryFile(/tmp/multipartBody8800951776581702514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135382882,"filename":"image_26112025_02_49_56_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/26/1edeaca0e16e8bb654959123b6b1c3f8.jpg","text":"TemporaryFile(/tmp/multipartBody7027494026924256550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135382882,"filename":"image_26112025_02_49_49_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/26/edfe79fc1419851e29a53640072cca35.jpg","text":"TemporaryFile(/tmp/multipartBody5661027631782181688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135382882,"filename":"image_26112025_02_50_01_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/26/61368db3a88d8e297b72fb1304d3cc5c.jpg","text":"TemporaryFile(/tmp/multipartBody3452632272320990428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135382882,"filename":"image_26112025_02_49_58_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210853","file1":"1396210850","file0":"1396210847","file4":"1396210858","file5":"1396210861","file3":"1396210856"},"map_files_photo_id_array":[{"photo_id":"1396210861","filename":"file5"},{"photo_id":"1396210853","filename":"file2"},{"photo_id":"1396210858","filename":"file4"},{"photo_id":"1396210850","filename":"file1"},{"photo_id":"1396210847","filename":"file0"},{"photo_id":"1396210856","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210853":["hashtag1","hashtag2"]},{"1396210847":["hashtag1","hashtag2"]},{"1396210856":["hashtag1","hashtag2"]},{"1396210850":["hashtag1","hashtag2"]},{"1396210861":["hashtag1","hashtag2"]},{"1396210858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210853, 1396210847, 1396210856, 1396210850, 1396210861, 1396210858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69691205024719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 06:36:02.813067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_05_3516.jpg', '/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_07_2661.jpg', '/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_10_2746.jpg', '/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_14_3698.jpg', '/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_16_2650.jpg', '/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_19_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_05_3516.jpg
/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_07_2661.jpg
/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_10_2746.jpg
/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_14_3698.jpg
/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_16_2650.jpg
/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_19_2719.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":["1396210866","1396210877","1396210865","1396210874","1396210870","1396210864"],"photo_ids_order":["1396210864","1396210865","1396210866","1396210870","1396210874","1396210877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2aa2f66c80e1736ae70e41d12be6c402.jpg","text":"TemporaryFile(/tmp/multipartBody4490174041846318855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135423514,"filename":"image_26112025_02_50_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/26/339a6e1073f18c7986af451f6546bc55.jpg","text":"TemporaryFile(/tmp/multipartBody125058189641506486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135423514,"filename":"image_26112025_02_50_19_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/26/d768f7bfbe6bbe5f84351f33e556976c.jpg","text":"TemporaryFile(/tmp/multipartBody6443285548747809735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135423514,"filename":"image_26112025_02_50_07_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/26/247b33dd190a8ed407ba81274f539e41.jpg","text":"TemporaryFile(/tmp/multipartBody7352804900336399759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135423514,"filename":"image_26112025_02_50_16_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/26/583cd430d051ca04dcb30622a4c964c3.jpg","text":"TemporaryFile(/tmp/multipartBody3717597653351721443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135423514,"filename":"image_26112025_02_50_14_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/26/da7085f39f6200ea6432a01a09af16c6.jpg","text":"TemporaryFile(/tmp/multipartBody632675309778973606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135423514,"filename":"image_26112025_02_50_05_3516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210866","file1":"1396210865","file0":"1396210864","file4":"1396210874","file5":"1396210877","file3":"1396210870"},"map_files_photo_id_array":[{"photo_id":"1396210877","filename":"file5"},{"photo_id":"1396210866","filename":"file2"},{"photo_id":"1396210874","filename":"file4"},{"photo_id":"1396210865","filename":"file1"},{"photo_id":"1396210864","filename":"file0"},{"photo_id":"1396210870","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210866":["hashtag1","hashtag2"]},{"1396210877":["hashtag1","hashtag2"]},{"1396210865":["hashtag1","hashtag2"]},{"1396210874":["hashtag1","hashtag2"]},{"1396210870":["hashtag1","hashtag2"]},{"1396210864":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210866, 1396210877, 1396210865, 1396210874, 1396210870, 1396210864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11062574386597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 06:36:42.416758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_23_3731.jpg', '/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_26_2714.jpg', '/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_28_2747.jpg', '/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_33_4823.jpg', '/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_39_5947.jpg', '/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_41_1657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_23_3731.jpg
/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_26_2714.jpg
/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_28_2747.jpg
/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_33_4823.jpg
/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_39_5947.jpg
/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_41_1657.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":["1396210900","1396210899","1396210895","1396210901","1396210897","1396210891"],"photo_ids_order":["1396210891","1396210895","1396210897","1396210899","1396210900","1396210901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/643714e43d1c993f54b9c4ec8824e8ca.jpg","text":"TemporaryFile(/tmp/multipartBody2582650106582879315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135463128,"filename":"image_26112025_02_50_39_5947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/47034dbb4b4eb23a4b08787f44fba541.jpg","text":"TemporaryFile(/tmp/multipartBody8093362033086671972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135463128,"filename":"image_26112025_02_50_33_4823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2c317a65f4ef184e1937143ac08fd905.jpg","text":"TemporaryFile(/tmp/multipartBody7022166653726405414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135463128,"filename":"image_26112025_02_50_26_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/26/84ed8b6671bb4b91fa9679b996963023.jpg","text":"TemporaryFile(/tmp/multipartBody405705944855348412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135463128,"filename":"image_26112025_02_50_41_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/26/8a9a81d33ca0fbbde7ecfc90c505fc89.jpg","text":"TemporaryFile(/tmp/multipartBody8851089732226297192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135463128,"filename":"image_26112025_02_50_28_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/26/e19c2ae70c3899fdf5313f0a436a7558.jpg","text":"TemporaryFile(/tmp/multipartBody4134003940001363214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135463128,"filename":"image_26112025_02_50_23_3731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210897","file1":"1396210895","file0":"1396210891","file4":"1396210900","file5":"1396210901","file3":"1396210899"},"map_files_photo_id_array":[{"photo_id":"1396210901","filename":"file5"},{"photo_id":"1396210897","filename":"file2"},{"photo_id":"1396210900","filename":"file4"},{"photo_id":"1396210895","filename":"file1"},{"photo_id":"1396210891","filename":"file0"},{"photo_id":"1396210899","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210900":["hashtag1","hashtag2"]},{"1396210899":["hashtag1","hashtag2"]},{"1396210895":["hashtag1","hashtag2"]},{"1396210901":["hashtag1","hashtag2"]},{"1396210897":["hashtag1","hashtag2"]},{"1396210891":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210900, 1396210899, 1396210895, 1396210901, 1396210897, 1396210891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.674421310424805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:37:22.611462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_43_1838.jpg', '/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_44_1621.jpg', '/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_47_2671.jpg', '/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_49_2470.jpg', '/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_52_2650.jpg', '/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_56_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_43_1838.jpg
/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_44_1621.jpg
/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_47_2671.jpg
/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_49_2470.jpg
/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_52_2650.jpg
/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_56_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.6160719394683838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:37:32.678277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_43_1838.jpg', '/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_44_1621.jpg', '/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_47_2671.jpg', '/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_49_2470.jpg', '/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_52_2650.jpg', '/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_56_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_43_1838.jpg
/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_44_1621.jpg
/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_47_2671.jpg
/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_49_2470.jpg
/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_52_2650.jpg
/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_56_3679.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":["1396210917","1396210926","1396210922","1396210925","1396210913","1396210924"],"photo_ids_order":["1396210913","1396210917","1396210922","1396210924","1396210925","1396210926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/af8a8e7f51dd232df4a9bcaf6580a153.jpg","text":"TemporaryFile(/tmp/multipartBody1827126576355099744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135513382,"filename":"image_26112025_02_50_44_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/26/63646672d228044b6f4e416abf4e1328.jpg","text":"TemporaryFile(/tmp/multipartBody5037621870541405072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135513382,"filename":"image_26112025_02_50_56_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/26/8133c56688157546b09d59f79a6abe94.jpg","text":"TemporaryFile(/tmp/multipartBody7633897287617289714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135513382,"filename":"image_26112025_02_50_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/26/b92f151dd761166e50993ba188db8d22.jpg","text":"TemporaryFile(/tmp/multipartBody7136139183137557780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135513382,"filename":"image_26112025_02_50_52_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c2bbb4d7c8a02e2ad981d625b15dce28.jpg","text":"TemporaryFile(/tmp/multipartBody4791405639549923857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135513382,"filename":"image_26112025_02_50_43_1838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/98c15e542c9b11820092e0ba9a59b8e3.jpg","text":"TemporaryFile(/tmp/multipartBody2763847820798584337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135513382,"filename":"image_26112025_02_50_49_2470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210922","file1":"1396210917","file0":"1396210913","file4":"1396210925","file5":"1396210926","file3":"1396210924"},"map_files_photo_id_array":[{"photo_id":"1396210926","filename":"file5"},{"photo_id":"1396210922","filename":"file2"},{"photo_id":"1396210925","filename":"file4"},{"photo_id":"1396210917","filename":"file1"},{"photo_id":"1396210913","filename":"file0"},{"photo_id":"1396210924","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210917":["hashtag1","hashtag2"]},{"1396210926":["hashtag1","hashtag2"]},{"1396210922":["hashtag1","hashtag2"]},{"1396210925":["hashtag1","hashtag2"]},{"1396210913":["hashtag1","hashtag2"]},{"1396210924":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210917, 1396210926, 1396210922, 1396210925, 1396210913, 1396210924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.406752586364746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:38:12.818877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_58_2759.jpg', '/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_01_2624.jpg', '/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_05_3526.jpg', '/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_07_2718.jpg', '/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_10_2630.jpg', '/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_14_3739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/50/image_26112025_02_50_58_2759.jpg
/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_01_2624.jpg
/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_05_3526.jpg
/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_07_2718.jpg
/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_10_2630.jpg
/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_14_3739.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":["1396210927","1396210940","1396210934","1396210928","1396210937","1396210931"],"photo_ids_order":["1396210927","1396210928","1396210931","1396210934","1396210937","1396210940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/058365a19758dc172909e2cab28d8eea.jpg","text":"TemporaryFile(/tmp/multipartBody3061244664184073609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135553480,"filename":"image_26112025_02_50_58_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/26/dd2f13f2b55929c5cfdda84608ba72a6.jpg","text":"TemporaryFile(/tmp/multipartBody1443539522949527851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135553480,"filename":"image_26112025_02_51_14_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/26/69ff9e8d7167a268648e813d521f38e8.jpg","text":"TemporaryFile(/tmp/multipartBody2770309825892593930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135553480,"filename":"image_26112025_02_51_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/26/5a7ee861ab430f49b360ef3fd2076178.jpg","text":"TemporaryFile(/tmp/multipartBody5993524743312074324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135553480,"filename":"image_26112025_02_51_01_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/26/113ddd152c22fbdd4474bc7061a004db.jpg","text":"TemporaryFile(/tmp/multipartBody862336195539438858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135553480,"filename":"image_26112025_02_51_10_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1561ad462fb38353b9f223103b442fc0.jpg","text":"TemporaryFile(/tmp/multipartBody5232182403260864732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135553480,"filename":"image_26112025_02_51_05_3526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210931","file1":"1396210928","file0":"1396210927","file4":"1396210937","file5":"1396210940","file3":"1396210934"},"map_files_photo_id_array":[{"photo_id":"1396210940","filename":"file5"},{"photo_id":"1396210931","filename":"file2"},{"photo_id":"1396210937","filename":"file4"},{"photo_id":"1396210928","filename":"file1"},{"photo_id":"1396210927","filename":"file0"},{"photo_id":"1396210934","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210927":["hashtag1","hashtag2"]},{"1396210940":["hashtag1","hashtag2"]},{"1396210934":["hashtag1","hashtag2"]},{"1396210928":["hashtag1","hashtag2"]},{"1396210937":["hashtag1","hashtag2"]},{"1396210931":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210927, 1396210940, 1396210934, 1396210928, 1396210937, 1396210931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.472352504730225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 06:39:02.733261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_16_2516.jpg', '/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_19_2676.jpg', '/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_23_3640.jpg', '/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_25_2706.jpg', '/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_28_2709.jpg', '/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_32_3540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_16_2516.jpg
/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_19_2676.jpg
/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_23_3640.jpg
/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_25_2706.jpg
/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_28_2709.jpg
/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_32_3540.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":["1396210962","1396210956","1396210950","1396210958","1396210952","1396210955"],"photo_ids_order":["1396210950","1396210952","1396210955","1396210956","1396210958","1396210962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/425fbd2014e5bcfe4c718a6fa7011bd0.jpg","text":"TemporaryFile(/tmp/multipartBody22486272508022290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135603670,"filename":"image_26112025_02_51_32_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/26/c90b6993faa26f26ee2e19d89368ab12.jpg","text":"TemporaryFile(/tmp/multipartBody8865977706565304127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135603670,"filename":"image_26112025_02_51_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/26/9895adad99cf5020dc7c2b16b47e4c1f.jpg","text":"TemporaryFile(/tmp/multipartBody5643669879821561405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135603670,"filename":"image_26112025_02_51_16_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/26/e2d309a41787ee285fa8ee8f1150cffc.jpg","text":"TemporaryFile(/tmp/multipartBody1265467037752381700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135603670,"filename":"image_26112025_02_51_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/26/d82703aec1367b0f7635f3046e527686.jpg","text":"TemporaryFile(/tmp/multipartBody3397860904857866996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135603670,"filename":"image_26112025_02_51_19_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/26/8a8ae160a041607ed03b9b1d34ce0aca.jpg","text":"TemporaryFile(/tmp/multipartBody1790579786336630465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135603670,"filename":"image_26112025_02_51_23_3640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210955","file1":"1396210952","file0":"1396210950","file4":"1396210958","file5":"1396210962","file3":"1396210956"},"map_files_photo_id_array":[{"photo_id":"1396210962","filename":"file5"},{"photo_id":"1396210955","filename":"file2"},{"photo_id":"1396210958","filename":"file4"},{"photo_id":"1396210952","filename":"file1"},{"photo_id":"1396210950","filename":"file0"},{"photo_id":"1396210956","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210962":["hashtag1","hashtag2"]},{"1396210956":["hashtag1","hashtag2"]},{"1396210950":["hashtag1","hashtag2"]},{"1396210958":["hashtag1","hashtag2"]},{"1396210952":["hashtag1","hashtag2"]},{"1396210955":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210962, 1396210956, 1396210950, 1396210958, 1396210952, 1396210955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.132214307785034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 06:39:41.881738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_34_2475.jpg', '/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_38_3677.jpg', '/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_40_2687.jpg', '/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_43_2766.jpg', '/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_47_3609.jpg', '/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_50_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_34_2475.jpg
/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_38_3677.jpg
/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_40_2687.jpg
/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_43_2766.jpg
/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_47_3609.jpg
/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_50_2795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396210977","1396210976","1396210970","1396210973","1396210975","1396210978"],"photo_ids_order":["1396210970","1396210973","1396210975","1396210976","1396210977","1396210978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/62caa75efba41880a9b54e754af75a11.jpg","text":"TemporaryFile(/tmp/multipartBody6750177650237750469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135642558,"filename":"image_26112025_02_51_47_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/26/1985caf974941165015c787b78ebc455.jpg","text":"TemporaryFile(/tmp/multipartBody8364089281004922516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135642558,"filename":"image_26112025_02_51_43_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/26/3e03f87f032b970310a51d0df50874a4.jpg","text":"TemporaryFile(/tmp/multipartBody4084211998616757069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135642558,"filename":"image_26112025_02_51_34_2475.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cc76b12fdb14759926d59b42f7d83935.jpg","text":"TemporaryFile(/tmp/multipartBody1864879301034234902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135642558,"filename":"image_26112025_02_51_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/26/e04e571e31b31b12ef86c6ed2692afc4.jpg","text":"TemporaryFile(/tmp/multipartBody4828913853690352532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135642558,"filename":"image_26112025_02_51_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/26/da21e630bbadc95c537f0f2f1fa271c0.jpg","text":"TemporaryFile(/tmp/multipartBody8347843958036682771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135642558,"filename":"image_26112025_02_51_50_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210975","file1":"1396210973","file0":"1396210970","file4":"1396210977","file5":"1396210978","file3":"1396210976"},"map_files_photo_id_array":[{"photo_id":"1396210978","filename":"file5"},{"photo_id":"1396210975","filename":"file2"},{"photo_id":"1396210977","filename":"file4"},{"photo_id":"1396210973","filename":"file1"},{"photo_id":"1396210970","filename":"file0"},{"photo_id":"1396210976","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396210977":["hashtag1","hashtag2"]},{"1396210976":["hashtag1","hashtag2"]},{"1396210970":["hashtag1","hashtag2"]},{"1396210973":["hashtag1","hashtag2"]},{"1396210975":["hashtag1","hashtag2"]},{"1396210978":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396210977, 1396210976, 1396210970, 1396210973, 1396210975, 1396210978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30442142486572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:40:22.101344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_52_2543.jpg', '/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_56_3603.jpg', '/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_58_2585.jpg', '/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_02_3519.jpg', '/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_04_2567.jpg', '/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_07_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_52_2543.jpg
/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_56_3603.jpg
/home/pi/Desktop/images/26112025/02/51/image_26112025_02_51_58_2585.jpg
/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_02_3519.jpg
/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_04_2567.jpg
/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_07_2592.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":["1396211002","1396210992","1396210988","1396210996","1396211005","1396210999"],"photo_ids_order":["1396210988","1396210992","1396210996","1396210999","1396211002","1396211005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eedc16e46cb31e873bb5b6f652c5f9c6.jpg","text":"TemporaryFile(/tmp/multipartBody8607228920883625797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135682798,"filename":"image_26112025_02_52_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/26/18251805798e029232c2e5c731afe47c.jpg","text":"TemporaryFile(/tmp/multipartBody6370350934302031823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135682798,"filename":"image_26112025_02_51_56_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/26/f7e494118dd5a9be3b96ee9d14e54224.jpg","text":"TemporaryFile(/tmp/multipartBody527981144207441510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135682798,"filename":"image_26112025_02_51_52_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/26/6121ee6ccf3cb19f08ee1d3d262b56aa.jpg","text":"TemporaryFile(/tmp/multipartBody4906848624559336764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135682798,"filename":"image_26112025_02_51_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/26/c6a1bf5d1cf9abec405ce567106a26da.jpg","text":"TemporaryFile(/tmp/multipartBody5207643916005008062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135682798,"filename":"image_26112025_02_52_07_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a35e440fc6aebef17066c9ecd506a2d9.jpg","text":"TemporaryFile(/tmp/multipartBody2754644975581904670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135682798,"filename":"image_26112025_02_52_02_3519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396210996","file1":"1396210992","file0":"1396210988","file4":"1396211002","file5":"1396211005","file3":"1396210999"},"map_files_photo_id_array":[{"photo_id":"1396211005","filename":"file5"},{"photo_id":"1396210996","filename":"file2"},{"photo_id":"1396211002","filename":"file4"},{"photo_id":"1396210992","filename":"file1"},{"photo_id":"1396210988","filename":"file0"},{"photo_id":"1396210999","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211002":["hashtag1","hashtag2"]},{"1396210992":["hashtag1","hashtag2"]},{"1396210988":["hashtag1","hashtag2"]},{"1396210996":["hashtag1","hashtag2"]},{"1396211005":["hashtag1","hashtag2"]},{"1396210999":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211002, 1396210992, 1396210988, 1396210996, 1396211005, 1396210999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.491013526916504 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-26 06:41:12.311587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_10_3515.jpg', '/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_13_2520.jpg', '/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_16_3046.jpg', '/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_20_3683.jpg', '/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_22_2652.jpg', '/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_25_2557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_10_3515.jpg
/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_13_2520.jpg
/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_16_3046.jpg
/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_20_3683.jpg
/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_22_2652.jpg
/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_25_2557.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":["1396211016","1396211021","1396211024","1396211018","1396211038","1396211029"],"photo_ids_order":["1396211016","1396211018","1396211021","1396211024","1396211029","1396211038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/291c39e6c3a1c023b61f8b10341c1ebe.jpg","text":"TemporaryFile(/tmp/multipartBody6494481041752109159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135733010,"filename":"image_26112025_02_52_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/26/b7bbd4dfe952a3a6adfafc1a7d3b50a4.jpg","text":"TemporaryFile(/tmp/multipartBody7529530466799422216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135733010,"filename":"image_26112025_02_52_16_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/26/08447735aeb93d08225cbea5cf709158.jpg","text":"TemporaryFile(/tmp/multipartBody5975253537069242609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135733010,"filename":"image_26112025_02_52_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/26/b8fd9522fb6d3d3498aec257dadeea62.jpg","text":"TemporaryFile(/tmp/multipartBody726983284220491192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135733010,"filename":"image_26112025_02_52_13_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/26/b015abb822d099f3dd2a5d637a8b03a6.jpg","text":"TemporaryFile(/tmp/multipartBody725242809431703948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135733010,"filename":"image_26112025_02_52_25_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/26/0e544e8cc0ce2800bdd00d6ede10f5f1.jpg","text":"TemporaryFile(/tmp/multipartBody6241924006139326215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135733010,"filename":"image_26112025_02_52_22_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211021","file1":"1396211018","file0":"1396211016","file4":"1396211029","file5":"1396211038","file3":"1396211024"},"map_files_photo_id_array":[{"photo_id":"1396211038","filename":"file5"},{"photo_id":"1396211021","filename":"file2"},{"photo_id":"1396211029","filename":"file4"},{"photo_id":"1396211018","filename":"file1"},{"photo_id":"1396211016","filename":"file0"},{"photo_id":"1396211024","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211016":["hashtag1","hashtag2"]},{"1396211021":["hashtag1","hashtag2"]},{"1396211024":["hashtag1","hashtag2"]},{"1396211018":["hashtag1","hashtag2"]},{"1396211038":["hashtag1","hashtag2"]},{"1396211029":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211016, 1396211021, 1396211024, 1396211018, 1396211038, 1396211029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9977068901062 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 06:42:02.500241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_28_3575.jpg', '/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_31_2700.jpg', '/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_35_3580.jpg', '/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_37_2678.jpg', '/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_40_2582.jpg', '/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_44_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_28_3575.jpg
/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_31_2700.jpg
/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_35_3580.jpg
/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_37_2678.jpg
/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_40_2582.jpg
/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_44_3629.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":["1396211085","1396211082","1396211078","1396211087","1396211080","1396211083"],"photo_ids_order":["1396211078","1396211080","1396211082","1396211083","1396211085","1396211087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/943d5d464da2638e1cfbf7c2d4789f70.jpg","text":"TemporaryFile(/tmp/multipartBody5816792757127442478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135783207,"filename":"image_26112025_02_52_40_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/26/3c041ffa1b83d56aaca73fb40ddc1fbb.jpg","text":"TemporaryFile(/tmp/multipartBody1712422316651678375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135783207,"filename":"image_26112025_02_52_35_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/26/ae0700f5d929cf58eba8a4a631fd5486.jpg","text":"TemporaryFile(/tmp/multipartBody3929099797787093357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135783207,"filename":"image_26112025_02_52_28_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/26/eeec4fea4aad2cc9315db757854d3606.jpg","text":"TemporaryFile(/tmp/multipartBody5768328198347559029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135783207,"filename":"image_26112025_02_52_44_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/26/b1f9cd829974fca99e720d29822faf90.jpg","text":"TemporaryFile(/tmp/multipartBody4361105194604962562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135783207,"filename":"image_26112025_02_52_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/26/5e3c6f81197d69140df33a57cd323d04.jpg","text":"TemporaryFile(/tmp/multipartBody2356825121038854840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135783207,"filename":"image_26112025_02_52_37_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211082","file1":"1396211080","file0":"1396211078","file4":"1396211085","file5":"1396211087","file3":"1396211083"},"map_files_photo_id_array":[{"photo_id":"1396211087","filename":"file5"},{"photo_id":"1396211082","filename":"file2"},{"photo_id":"1396211085","filename":"file4"},{"photo_id":"1396211080","filename":"file1"},{"photo_id":"1396211078","filename":"file0"},{"photo_id":"1396211083","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211085":["hashtag1","hashtag2"]},{"1396211082":["hashtag1","hashtag2"]},{"1396211078":["hashtag1","hashtag2"]},{"1396211087":["hashtag1","hashtag2"]},{"1396211080":["hashtag1","hashtag2"]},{"1396211083":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211085, 1396211082, 1396211078, 1396211087, 1396211080, 1396211083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5220787525177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 06:42:41.908790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_46_2751.jpg', '/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_49_2669.jpg', '/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_52_2770.jpg', '/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_56_3681.jpg', '/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_58_2620.jpg', '/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_02_3561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_46_2751.jpg
/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_49_2669.jpg
/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_52_2770.jpg
/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_56_3681.jpg
/home/pi/Desktop/images/26112025/02/52/image_26112025_02_52_58_2620.jpg
/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_02_3561.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":["1396211101","1396211106","1396211096","1396211099","1396211104","1396211107"],"photo_ids_order":["1396211096","1396211099","1396211101","1396211104","1396211106","1396211107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bd24ad6a9f4944d0782a55125ef93dfa.jpg","text":"TemporaryFile(/tmp/multipartBody1151002505662311568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135822657,"filename":"image_26112025_02_52_52_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/26/edbb188c01ad7997dbd33640aa0ba764.jpg","text":"TemporaryFile(/tmp/multipartBody4788307384477939767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135822657,"filename":"image_26112025_02_52_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/26/39a1e95f5db457b236265ff9ca449b19.jpg","text":"TemporaryFile(/tmp/multipartBody7959408576133483769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135822657,"filename":"image_26112025_02_52_46_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/26/ed5f9580b13c5d76d59cebc632246772.jpg","text":"TemporaryFile(/tmp/multipartBody1683463156778300692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135822657,"filename":"image_26112025_02_52_49_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e276741381bfa5e54d5a4e8ef3490d34.jpg","text":"TemporaryFile(/tmp/multipartBody1194004388775837165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135822657,"filename":"image_26112025_02_52_56_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/26/5efb484e755db415465788307a4cff68.jpg","text":"TemporaryFile(/tmp/multipartBody4333459465289698249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135822657,"filename":"image_26112025_02_53_02_3561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211101","file1":"1396211099","file0":"1396211096","file4":"1396211106","file5":"1396211107","file3":"1396211104"},"map_files_photo_id_array":[{"photo_id":"1396211107","filename":"file5"},{"photo_id":"1396211101","filename":"file2"},{"photo_id":"1396211106","filename":"file4"},{"photo_id":"1396211099","filename":"file1"},{"photo_id":"1396211096","filename":"file0"},{"photo_id":"1396211104","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211101":["hashtag1","hashtag2"]},{"1396211106":["hashtag1","hashtag2"]},{"1396211096":["hashtag1","hashtag2"]},{"1396211099":["hashtag1","hashtag2"]},{"1396211104":["hashtag1","hashtag2"]},{"1396211107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211101, 1396211106, 1396211096, 1396211099, 1396211104, 1396211107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7202422618866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:43:22.083488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_04_2737.jpg', '/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_07_2705.jpg', '/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_10_2633.jpg', '/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_13_3644.jpg', '/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_16_2663.jpg', '/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_20_3577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_04_2737.jpg
/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_07_2705.jpg
/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_10_2633.jpg
/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_13_3644.jpg
/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_16_2663.jpg
/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_20_3577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396211130","1396211140","1396211143","1396211137","1396211146","1396211134"],"photo_ids_order":["1396211130","1396211134","1396211137","1396211140","1396211143","1396211146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/33154caca66cc012f80a935c36ec48d3.jpg","text":"TemporaryFile(/tmp/multipartBody656214840256774001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135862789,"filename":"image_26112025_02_53_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/26/099da91307df04028d90407ddca88a9b.jpg","text":"TemporaryFile(/tmp/multipartBody8831034067272025089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135862789,"filename":"image_26112025_02_53_13_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/26/3076ef8d543ff67768d57d6bb6a34b54.jpg","text":"TemporaryFile(/tmp/multipartBody1349805178954057296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135862789,"filename":"image_26112025_02_53_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/26/26284abab7bb5651825903f40576b250.jpg","text":"TemporaryFile(/tmp/multipartBody824416145191014137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135862789,"filename":"image_26112025_02_53_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/26/3f08af27481af4fd8983587c5273b5b4.jpg","text":"TemporaryFile(/tmp/multipartBody3268368960446729671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135862789,"filename":"image_26112025_02_53_20_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/26/a4330e6d13961001b717afa8b75e01e9.jpg","text":"TemporaryFile(/tmp/multipartBody7199007282714353629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135862789,"filename":"image_26112025_02_53_07_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211137","file1":"1396211134","file0":"1396211130","file4":"1396211143","file5":"1396211146","file3":"1396211140"},"map_files_photo_id_array":[{"photo_id":"1396211146","filename":"file5"},{"photo_id":"1396211137","filename":"file2"},{"photo_id":"1396211143","filename":"file4"},{"photo_id":"1396211134","filename":"file1"},{"photo_id":"1396211130","filename":"file0"},{"photo_id":"1396211140","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211130":["hashtag1","hashtag2"]},{"1396211140":["hashtag1","hashtag2"]},{"1396211143":["hashtag1","hashtag2"]},{"1396211137":["hashtag1","hashtag2"]},{"1396211146":["hashtag1","hashtag2"]},{"1396211134":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211130, 1396211140, 1396211143, 1396211137, 1396211146, 1396211134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0923707485199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 06:44:03.048624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_22_2679.jpg', '/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_25_2654.jpg', '/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_28_2768.jpg', '/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_31_3639.jpg', '/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_34_2734.jpg', '/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_37_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_22_2679.jpg
/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_25_2654.jpg
/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_28_2768.jpg
/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_31_3639.jpg
/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_34_2734.jpg
/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_37_2646.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":["1396211163","1396211159","1396211147","1396211155","1396211149","1396211152"],"photo_ids_order":["1396211147","1396211149","1396211152","1396211155","1396211159","1396211163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a48d3c3ddf968deae3e0388aac07aa30.jpg","text":"TemporaryFile(/tmp/multipartBody7111532667135912168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135903813,"filename":"image_26112025_02_53_37_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/26/938cd72de20ab8a59ce1e05ce884835d.jpg","text":"TemporaryFile(/tmp/multipartBody5091630712468101632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135903813,"filename":"image_26112025_02_53_34_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/26/4fa02ff833e2f0e5b92d751730465830.jpg","text":"TemporaryFile(/tmp/multipartBody5886252822107455469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135903813,"filename":"image_26112025_02_53_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/26/d81809d04d35ed3acff01b29cae04fa0.jpg","text":"TemporaryFile(/tmp/multipartBody2872902883887375293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135903813,"filename":"image_26112025_02_53_31_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/26/66380b237e890831aa672e0166ff3388.jpg","text":"TemporaryFile(/tmp/multipartBody5191311578080769965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135903813,"filename":"image_26112025_02_53_25_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/37e82cb48e16092869f6b71543a4aa21.jpg","text":"TemporaryFile(/tmp/multipartBody6626042141779884769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135903813,"filename":"image_26112025_02_53_28_2768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211152","file1":"1396211149","file0":"1396211147","file4":"1396211159","file5":"1396211163","file3":"1396211155"},"map_files_photo_id_array":[{"photo_id":"1396211163","filename":"file5"},{"photo_id":"1396211152","filename":"file2"},{"photo_id":"1396211159","filename":"file4"},{"photo_id":"1396211149","filename":"file1"},{"photo_id":"1396211147","filename":"file0"},{"photo_id":"1396211155","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211163":["hashtag1","hashtag2"]},{"1396211159":["hashtag1","hashtag2"]},{"1396211147":["hashtag1","hashtag2"]},{"1396211155":["hashtag1","hashtag2"]},{"1396211149":["hashtag1","hashtag2"]},{"1396211152":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211163, 1396211159, 1396211147, 1396211155, 1396211149, 1396211152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61770939826965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 06:44:42.431238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_41_3820.jpg', '/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_43_2696.jpg', '/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_46_2547.jpg', '/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_49_3636.jpg', '/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_52_2774.jpg', '/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_55_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_41_3820.jpg
/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_43_2696.jpg
/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_46_2547.jpg
/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_49_3636.jpg
/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_52_2774.jpg
/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_55_2646.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.598031759262085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 06:45:03.048050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_41_3820.jpg', '/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_43_2696.jpg', '/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_46_2547.jpg', '/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_49_3636.jpg', '/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_52_2774.jpg', '/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_55_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_41_3820.jpg
/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_43_2696.jpg
/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_46_2547.jpg
/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_49_3636.jpg
/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_52_2774.jpg
/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_55_2646.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":["1396211187","1396211189","1396211183","1396211185","1396211204","1396211197"],"photo_ids_order":["1396211183","1396211185","1396211187","1396211189","1396211197","1396211204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6c3a9b889c6f685c15dd7741f9b4a08e.jpg","text":"TemporaryFile(/tmp/multipartBody4674289542521978208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135963875,"filename":"image_26112025_02_53_46_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/26/a1c8b1d06ac36ff8ff5f17a6146d3119.jpg","text":"TemporaryFile(/tmp/multipartBody8278159157873814536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135963875,"filename":"image_26112025_02_53_49_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/26/51b6796d3606a97d46668d463d16999a.jpg","text":"TemporaryFile(/tmp/multipartBody3298293499394946599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135963875,"filename":"image_26112025_02_53_41_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/26/7dbbcd1fefa7f6e9c77a136ea9d5b971.jpg","text":"TemporaryFile(/tmp/multipartBody8753953160512433211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135963875,"filename":"image_26112025_02_53_43_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/26/52f0126db8245e7a7fc0cba30bffe926.jpg","text":"TemporaryFile(/tmp/multipartBody1069132511855730885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135963875,"filename":"image_26112025_02_53_55_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/21bc8190df2980d2d904b7a35883b95d.jpg","text":"TemporaryFile(/tmp/multipartBody4029283622071958055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764135963875,"filename":"image_26112025_02_53_52_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211187","file1":"1396211185","file0":"1396211183","file4":"1396211197","file5":"1396211204","file3":"1396211189"},"map_files_photo_id_array":[{"photo_id":"1396211204","filename":"file5"},{"photo_id":"1396211187","filename":"file2"},{"photo_id":"1396211197","filename":"file4"},{"photo_id":"1396211185","filename":"file1"},{"photo_id":"1396211183","filename":"file0"},{"photo_id":"1396211189","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211187":["hashtag1","hashtag2"]},{"1396211189":["hashtag1","hashtag2"]},{"1396211183":["hashtag1","hashtag2"]},{"1396211185":["hashtag1","hashtag2"]},{"1396211204":["hashtag1","hashtag2"]},{"1396211197":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211187, 1396211189, 1396211183, 1396211185, 1396211204, 1396211197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.322625160217285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 06:45:42.492879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_58_3580.jpg', '/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_02_3243.jpg', '/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_04_2516.jpg', '/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_07_2780.jpg', '/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_10_2883.jpg', '/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_18_8436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/53/image_26112025_02_53_58_3580.jpg
/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_02_3243.jpg
/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_04_2516.jpg
/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_07_2780.jpg
/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_10_2883.jpg
/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_18_8436.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":["1396211215","1396211220","1396211219","1396211222","1396211218","1396211212"],"photo_ids_order":["1396211212","1396211215","1396211218","1396211219","1396211220","1396211222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3e756d8da7d84ff422906a68743fe028.jpg","text":"TemporaryFile(/tmp/multipartBody1255145721536799092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136003157,"filename":"image_26112025_02_54_02_3243.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b6e4f12793b1ebdc932ef727962ae7ad.jpg","text":"TemporaryFile(/tmp/multipartBody680431167940813172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136003157,"filename":"image_26112025_02_54_10_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/26/4aef12258e41dd0cf4303b47412c2199.jpg","text":"TemporaryFile(/tmp/multipartBody5653444245801257348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136003157,"filename":"image_26112025_02_54_07_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/26/4d10da3977b3cf5354f0a7717ade8258.jpg","text":"TemporaryFile(/tmp/multipartBody7347942361775303865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136003157,"filename":"image_26112025_02_54_18_8436.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9aa78b8e54f0585efc1f8d60eb19a030.jpg","text":"TemporaryFile(/tmp/multipartBody493726669561107376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136003157,"filename":"image_26112025_02_54_04_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/26/f343cdf01921999467583b825e299f56.jpg","text":"TemporaryFile(/tmp/multipartBody5922527088475461083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136003157,"filename":"image_26112025_02_53_58_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211218","file1":"1396211215","file0":"1396211212","file4":"1396211220","file5":"1396211222","file3":"1396211219"},"map_files_photo_id_array":[{"photo_id":"1396211222","filename":"file5"},{"photo_id":"1396211218","filename":"file2"},{"photo_id":"1396211220","filename":"file4"},{"photo_id":"1396211215","filename":"file1"},{"photo_id":"1396211212","filename":"file0"},{"photo_id":"1396211219","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211215":["hashtag1","hashtag2"]},{"1396211220":["hashtag1","hashtag2"]},{"1396211219":["hashtag1","hashtag2"]},{"1396211222":["hashtag1","hashtag2"]},{"1396211218":["hashtag1","hashtag2"]},{"1396211212":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211215, 1396211220, 1396211219, 1396211222, 1396211218, 1396211212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.256410121917725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:46:22.718341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_20_1545.jpg', '/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_22_1617.jpg', '/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_23_1680.jpg', '/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_25_1628.jpg', '/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_28_3639.jpg', '/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_31_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_20_1545.jpg
/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_22_1617.jpg
/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_23_1680.jpg
/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_25_1628.jpg
/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_28_3639.jpg
/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_31_2683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396211232","1396211243","1396211237","1396211240","1396211234","1396211228"],"photo_ids_order":["1396211228","1396211232","1396211234","1396211237","1396211240","1396211243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f71575a5b78ed10d3eaac3e966a96364.jpg","text":"TemporaryFile(/tmp/multipartBody7164341656220855215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136043415,"filename":"image_26112025_02_54_22_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/26/dc47b218b3b11fb5c3a7ceb83c70e850.jpg","text":"TemporaryFile(/tmp/multipartBody8104038256854615498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136043415,"filename":"image_26112025_02_54_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/26/ffbcea86892a7cee5fbaaf4883fddc55.jpg","text":"TemporaryFile(/tmp/multipartBody2638493857319838634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136043415,"filename":"image_26112025_02_54_25_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/26/351f89678266df628e47a999d4daa995.jpg","text":"TemporaryFile(/tmp/multipartBody8845359297489603312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136043415,"filename":"image_26112025_02_54_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/26/1a81f6f8dbfa60c0d4c6fc3f93320e55.jpg","text":"TemporaryFile(/tmp/multipartBody4113246187403416490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136043415,"filename":"image_26112025_02_54_23_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/939506c53e0c5e76285db638b6395c27.jpg","text":"TemporaryFile(/tmp/multipartBody7012826392105689786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136043415,"filename":"image_26112025_02_54_20_1545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211234","file1":"1396211232","file0":"1396211228","file4":"1396211240","file5":"1396211243","file3":"1396211237"},"map_files_photo_id_array":[{"photo_id":"1396211243","filename":"file5"},{"photo_id":"1396211234","filename":"file2"},{"photo_id":"1396211240","filename":"file4"},{"photo_id":"1396211232","filename":"file1"},{"photo_id":"1396211228","filename":"file0"},{"photo_id":"1396211237","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211232":["hashtag1","hashtag2"]},{"1396211243":["hashtag1","hashtag2"]},{"1396211237":["hashtag1","hashtag2"]},{"1396211240":["hashtag1","hashtag2"]},{"1396211234":["hashtag1","hashtag2"]},{"1396211228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211232, 1396211243, 1396211237, 1396211240, 1396211234, 1396211228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52200794219971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 06:47:02.629629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_34_2831.jpg', '/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_37_2631.jpg', '/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_40_3763.jpg', '/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_43_2883.jpg', '/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_46_2684.jpg', '/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_50_3571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_34_2831.jpg
/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_37_2631.jpg
/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_40_3763.jpg
/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_43_2883.jpg
/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_46_2684.jpg
/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_50_3571.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":["1396211253","1396211255","1396211246","1396211260","1396211257","1396211245"],"photo_ids_order":["1396211245","1396211246","1396211253","1396211255","1396211257","1396211260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4856439435bcef4944a8d7533317975e.jpg","text":"TemporaryFile(/tmp/multipartBody253306529793573194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136083414,"filename":"image_26112025_02_54_40_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/26/9a05b28128a30e9718b9d02a6581be8b.jpg","text":"TemporaryFile(/tmp/multipartBody5736118785670399062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136083414,"filename":"image_26112025_02_54_43_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/26/114e0051bdc6082a875ce4c6099806a0.jpg","text":"TemporaryFile(/tmp/multipartBody4006657687443324233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136083414,"filename":"image_26112025_02_54_37_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/26/0d2242f615ff09e84cc9a5768a839300.jpg","text":"TemporaryFile(/tmp/multipartBody407416289964377398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136083414,"filename":"image_26112025_02_54_50_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/26/bfba58ec6547acbf5a6866e69b941a41.jpg","text":"TemporaryFile(/tmp/multipartBody2339541950226943287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136083414,"filename":"image_26112025_02_54_46_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/26/99863670b53222204a98a17a7e661831.jpg","text":"TemporaryFile(/tmp/multipartBody4551771661775692293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136083414,"filename":"image_26112025_02_54_34_2831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211253","file1":"1396211246","file0":"1396211245","file4":"1396211257","file5":"1396211260","file3":"1396211255"},"map_files_photo_id_array":[{"photo_id":"1396211260","filename":"file5"},{"photo_id":"1396211253","filename":"file2"},{"photo_id":"1396211257","filename":"file4"},{"photo_id":"1396211246","filename":"file1"},{"photo_id":"1396211245","filename":"file0"},{"photo_id":"1396211255","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211253":["hashtag1","hashtag2"]},{"1396211255":["hashtag1","hashtag2"]},{"1396211246":["hashtag1","hashtag2"]},{"1396211260":["hashtag1","hashtag2"]},{"1396211257":["hashtag1","hashtag2"]},{"1396211245":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211253, 1396211255, 1396211246, 1396211260, 1396211257, 1396211245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23644423484802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 06:47:41.775641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_52_2607.jpg', '/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_55_2666.jpg', '/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_58_3605.jpg', '/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_01_2643.jpg', '/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_04_2860.jpg', '/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_07_2955.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_52_2607.jpg
/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_55_2666.jpg
/home/pi/Desktop/images/26112025/02/54/image_26112025_02_54_58_3605.jpg
/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_01_2643.jpg
/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_04_2860.jpg
/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_07_2955.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396211274","1396211268","1396211273","1396211276","1396211270","1396211275"],"photo_ids_order":["1396211268","1396211270","1396211273","1396211274","1396211275","1396211276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/be4d06991fcc6b835b7e667a878e4541.jpg","text":"TemporaryFile(/tmp/multipartBody5535844631904069439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136122445,"filename":"image_26112025_02_55_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/26/50689e6003270644400cda93a88a118c.jpg","text":"TemporaryFile(/tmp/multipartBody7713085347707388619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136122445,"filename":"image_26112025_02_54_52_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/26/31ca2414a9fc872246abd5bfda4c37ad.jpg","text":"TemporaryFile(/tmp/multipartBody8026674548238305598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136122445,"filename":"image_26112025_02_54_58_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/26/d525692182a27532a8f46d7bff370d22.jpg","text":"TemporaryFile(/tmp/multipartBody7819083047055768537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136122445,"filename":"image_26112025_02_55_07_2955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/22690b069b648dd75f6997ed1c8ef792.jpg","text":"TemporaryFile(/tmp/multipartBody4346638391979104818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136122445,"filename":"image_26112025_02_54_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/26/6ddaeddd3c000bae68ab40a95d47ba88.jpg","text":"TemporaryFile(/tmp/multipartBody2114619092460045198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136122445,"filename":"image_26112025_02_55_04_2860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211273","file1":"1396211270","file0":"1396211268","file4":"1396211275","file5":"1396211276","file3":"1396211274"},"map_files_photo_id_array":[{"photo_id":"1396211276","filename":"file5"},{"photo_id":"1396211273","filename":"file2"},{"photo_id":"1396211275","filename":"file4"},{"photo_id":"1396211270","filename":"file1"},{"photo_id":"1396211268","filename":"file0"},{"photo_id":"1396211274","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211274":["hashtag1","hashtag2"]},{"1396211268":["hashtag1","hashtag2"]},{"1396211273":["hashtag1","hashtag2"]},{"1396211276":["hashtag1","hashtag2"]},{"1396211270":["hashtag1","hashtag2"]},{"1396211275":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211274, 1396211268, 1396211273, 1396211276, 1396211270, 1396211275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.65220928192139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:48:20.892238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_11_3650.jpg', '/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_13_2555.jpg', '/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_16_2693.jpg', '/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_19_3633.jpg', '/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_22_2702.jpg', '/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_25_2895.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_11_3650.jpg
/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_13_2555.jpg
/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_16_2693.jpg
/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_19_3633.jpg
/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_22_2702.jpg
/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_25_2895.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":["1396211308","1396211292","1396211304","1396211288","1396211285","1396211296"],"photo_ids_order":["1396211285","1396211288","1396211292","1396211296","1396211304","1396211308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a81708c00f7317d8488e98a248f9aebc.jpg","text":"TemporaryFile(/tmp/multipartBody1974479222392701625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136163858,"filename":"image_26112025_02_55_25_2895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eab531b5ee76557892ec215cf507f12e.jpg","text":"TemporaryFile(/tmp/multipartBody3027875777288708601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136163858,"filename":"image_26112025_02_55_16_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/26/0297e18f05399a0128baa521b280440b.jpg","text":"TemporaryFile(/tmp/multipartBody6458183632923046243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136163858,"filename":"image_26112025_02_55_22_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/26/15a9805a0373a2240c1db3ebef449cc2.jpg","text":"TemporaryFile(/tmp/multipartBody1738394273080183147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136163858,"filename":"image_26112025_02_55_13_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/26/ec9c2555b6538b323b8ce17ee74b6f3a.jpg","text":"TemporaryFile(/tmp/multipartBody2662600500372478489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136163858,"filename":"image_26112025_02_55_11_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/26/59684e5e98916aafcd1cd114b77dcf15.jpg","text":"TemporaryFile(/tmp/multipartBody4450781776087644429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136163858,"filename":"image_26112025_02_55_19_3633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211292","file1":"1396211288","file0":"1396211285","file4":"1396211304","file5":"1396211308","file3":"1396211296"},"map_files_photo_id_array":[{"photo_id":"1396211308","filename":"file5"},{"photo_id":"1396211292","filename":"file2"},{"photo_id":"1396211304","filename":"file4"},{"photo_id":"1396211288","filename":"file1"},{"photo_id":"1396211285","filename":"file0"},{"photo_id":"1396211296","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211308":["hashtag1","hashtag2"]},{"1396211292":["hashtag1","hashtag2"]},{"1396211304":["hashtag1","hashtag2"]},{"1396211288":["hashtag1","hashtag2"]},{"1396211285":["hashtag1","hashtag2"]},{"1396211296":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211308, 1396211292, 1396211304, 1396211288, 1396211285, 1396211296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78074622154236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 06:49:03.054075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_28_2649.jpg', '/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_31_3716.jpg', '/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_34_2760.jpg', '/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_37_2515.jpg', '/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_40_3683.jpg', '/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_43_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_28_2649.jpg
/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_31_3716.jpg
/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_34_2760.jpg
/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_37_2515.jpg
/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_40_3683.jpg
/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_43_2613.jpg
 val : 1 : upload photos already in processing! 
 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":["1396211313","1396211316","1396211324","1396211321","1396211309","1396211311"],"photo_ids_order":["1396211309","1396211311","1396211313","1396211316","1396211321","1396211324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/716a484aa2edb36782caf16a4a88b619.jpg","text":"TemporaryFile(/tmp/multipartBody1792461939511906105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136203936,"filename":"image_26112025_02_55_34_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/26/482ca5c281d303fd553f8380161ae92b.jpg","text":"TemporaryFile(/tmp/multipartBody8170066033212963443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136203936,"filename":"image_26112025_02_55_37_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/26/c4efa906a009abfa1de00e17be638898.jpg","text":"TemporaryFile(/tmp/multipartBody4330061336444970650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136203936,"filename":"image_26112025_02_55_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/26/0c44228529e5f70f4524ecc6861dd6ea.jpg","text":"TemporaryFile(/tmp/multipartBody2970192705643440480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136203936,"filename":"image_26112025_02_55_40_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/26/d47feb0086ea7e2e706fe14cfb8b6c7a.jpg","text":"TemporaryFile(/tmp/multipartBody7571109347779714326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136203936,"filename":"image_26112025_02_55_28_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/26/fe1225abb644ac1f13c92c9f2bfd8468.jpg","text":"TemporaryFile(/tmp/multipartBody5399447255388583461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136203936,"filename":"image_26112025_02_55_31_3716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211313","file1":"1396211311","file0":"1396211309","file4":"1396211321","file5":"1396211324","file3":"1396211316"},"map_files_photo_id_array":[{"photo_id":"1396211324","filename":"file5"},{"photo_id":"1396211313","filename":"file2"},{"photo_id":"1396211321","filename":"file4"},{"photo_id":"1396211311","filename":"file1"},{"photo_id":"1396211309","filename":"file0"},{"photo_id":"1396211316","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211313":["hashtag1","hashtag2"]},{"1396211316":["hashtag1","hashtag2"]},{"1396211324":["hashtag1","hashtag2"]},{"1396211321":["hashtag1","hashtag2"]},{"1396211309":["hashtag1","hashtag2"]},{"1396211311":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211313, 1396211316, 1396211324, 1396211321, 1396211309, 1396211311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.96369481086731 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 06:50:07.821164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_45_2530.jpg', '/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_49_3542.jpg', '/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_52_2670.jpg', '/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_55_3700.jpg', '/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_58_2717.jpg', '/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_01_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_45_2530.jpg
/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_49_3542.jpg
/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_52_2670.jpg
/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_55_3700.jpg
/home/pi/Desktop/images/26112025/02/55/image_26112025_02_55_58_2717.jpg
/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_01_2749.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":["1396211343","1396211334","1396211336","1396211351","1396211347","1396211338"],"photo_ids_order":["1396211334","1396211336","1396211338","1396211343","1396211347","1396211351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f6f156295d133456346a387f2efba361.jpg","text":"TemporaryFile(/tmp/multipartBody2810960554374178588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136268546,"filename":"image_26112025_02_55_55_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/26/4a04f72e73d630aef8ee99e64f9bb8ce.jpg","text":"TemporaryFile(/tmp/multipartBody718474974989393951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136268546,"filename":"image_26112025_02_55_45_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/26/7fa87357935657ad3acdb7de34b7884e.jpg","text":"TemporaryFile(/tmp/multipartBody213801331181021640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136268546,"filename":"image_26112025_02_55_49_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/26/de9b5289d8eb4f78fb6989819259501f.jpg","text":"TemporaryFile(/tmp/multipartBody4697603142832951452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136268546,"filename":"image_26112025_02_56_01_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/26/ffc88539ae30522bd2a0458601ffbc00.jpg","text":"TemporaryFile(/tmp/multipartBody8576987294993190821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136268546,"filename":"image_26112025_02_55_58_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/26/070aeea72e9d25594637927f8f4b3013.jpg","text":"TemporaryFile(/tmp/multipartBody7046561029814053523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136268546,"filename":"image_26112025_02_55_52_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211338","file1":"1396211336","file0":"1396211334","file4":"1396211347","file5":"1396211351","file3":"1396211343"},"map_files_photo_id_array":[{"photo_id":"1396211351","filename":"file5"},{"photo_id":"1396211338","filename":"file2"},{"photo_id":"1396211347","filename":"file4"},{"photo_id":"1396211336","filename":"file1"},{"photo_id":"1396211334","filename":"file0"},{"photo_id":"1396211343","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211343":["hashtag1","hashtag2"]},{"1396211334":["hashtag1","hashtag2"]},{"1396211336":["hashtag1","hashtag2"]},{"1396211351":["hashtag1","hashtag2"]},{"1396211347":["hashtag1","hashtag2"]},{"1396211338":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211343, 1396211334, 1396211336, 1396211351, 1396211347, 1396211338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51141905784607 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 06:50:47.245174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_03_2626.jpg', '/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_07_3617.jpg', '/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_10_2586.jpg', '/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_13_3652.jpg', '/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_16_2591.jpg', '/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_20_4210.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_03_2626.jpg
/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_07_3617.jpg
/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_10_2586.jpg
/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_13_3652.jpg
/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_16_2591.jpg
/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_20_4210.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":["1396211376","1396211379","1396211373","1396211369","1396211377","1396211368"],"photo_ids_order":["1396211368","1396211369","1396211373","1396211376","1396211377","1396211379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/338cf51dec8c14364903fd37fd90ac45.jpg","text":"TemporaryFile(/tmp/multipartBody6249939472862883684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136308025,"filename":"image_26112025_02_56_13_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/26/cffc0d78bfe938a2dcc27c00c9a64155.jpg","text":"TemporaryFile(/tmp/multipartBody546819498619589003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136308025,"filename":"image_26112025_02_56_20_4210.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3a2bb1743440a0f583ffa2f3176ab987.jpg","text":"TemporaryFile(/tmp/multipartBody2583277549928908104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136308025,"filename":"image_26112025_02_56_10_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/26/254f4bff06ed5a23655ade90fbddfa55.jpg","text":"TemporaryFile(/tmp/multipartBody3547613442205601167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136308025,"filename":"image_26112025_02_56_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/26/3f32cee2c31519b1147753c7e118d198.jpg","text":"TemporaryFile(/tmp/multipartBody1708698308016122548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136308025,"filename":"image_26112025_02_56_16_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/26/be192558c0fc9911d77e956c72b1cbe9.jpg","text":"TemporaryFile(/tmp/multipartBody2636150392320765594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136308025,"filename":"image_26112025_02_56_03_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211373","file1":"1396211369","file0":"1396211368","file4":"1396211377","file5":"1396211379","file3":"1396211376"},"map_files_photo_id_array":[{"photo_id":"1396211379","filename":"file5"},{"photo_id":"1396211373","filename":"file2"},{"photo_id":"1396211377","filename":"file4"},{"photo_id":"1396211369","filename":"file1"},{"photo_id":"1396211368","filename":"file0"},{"photo_id":"1396211376","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211376":["hashtag1","hashtag2"]},{"1396211379":["hashtag1","hashtag2"]},{"1396211373":["hashtag1","hashtag2"]},{"1396211369":["hashtag1","hashtag2"]},{"1396211377":["hashtag1","hashtag2"]},{"1396211368":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211376, 1396211379, 1396211373, 1396211369, 1396211377, 1396211368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98246645927429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:51:32.403613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_22_1602.jpg', '/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_24_2706.jpg', '/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_28_3662.jpg', '/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_40_11964.jpg', '/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_43_3144.jpg', '/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_45_1558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_22_1602.jpg
/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_24_2706.jpg
/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_28_3662.jpg
/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_40_11964.jpg
/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_43_3144.jpg
/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_45_1558.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":["1396211397","1396211391","1396211400","1396211405","1396211401","1396211394"],"photo_ids_order":["1396211391","1396211394","1396211397","1396211400","1396211401","1396211405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5fe76f505aa7f6b3f959f2537889f9bb.jpg","text":"TemporaryFile(/tmp/multipartBody718995218316421773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136353103,"filename":"image_26112025_02_56_28_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/26/bca1e9056f4df27f51b428d1ab29ca4e.jpg","text":"TemporaryFile(/tmp/multipartBody3774253724233106145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136353103,"filename":"image_26112025_02_56_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/26/69e891cc5c6afea990c7705bb555f505.jpg","text":"TemporaryFile(/tmp/multipartBody2695948761237606976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136353103,"filename":"image_26112025_02_56_40_11964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a301da0600a8f77603e7b0eb21eadf9b.jpg","text":"TemporaryFile(/tmp/multipartBody2744314239687881687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136353103,"filename":"image_26112025_02_56_45_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/26/fc7be8e51e9a8069348ea027ffd6b8ae.jpg","text":"TemporaryFile(/tmp/multipartBody8501560636685362851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136353103,"filename":"image_26112025_02_56_43_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/26/504c057b033e2013bab5b7b2dbe9ce77.jpg","text":"TemporaryFile(/tmp/multipartBody601076122392878202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136353103,"filename":"image_26112025_02_56_24_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211397","file1":"1396211394","file0":"1396211391","file4":"1396211401","file5":"1396211405","file3":"1396211400"},"map_files_photo_id_array":[{"photo_id":"1396211405","filename":"file5"},{"photo_id":"1396211397","filename":"file2"},{"photo_id":"1396211401","filename":"file4"},{"photo_id":"1396211394","filename":"file1"},{"photo_id":"1396211391","filename":"file0"},{"photo_id":"1396211400","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211397":["hashtag1","hashtag2"]},{"1396211391":["hashtag1","hashtag2"]},{"1396211400":["hashtag1","hashtag2"]},{"1396211405":["hashtag1","hashtag2"]},{"1396211401":["hashtag1","hashtag2"]},{"1396211394":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211397, 1396211391, 1396211400, 1396211405, 1396211401, 1396211394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01492977142334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:52:12.531629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_46_1614.jpg', '/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_48_1650.jpg', '/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_50_1681.jpg', '/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_51_1634.jpg', '/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_53_1706.jpg', '/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_55_1665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_46_1614.jpg
/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_48_1650.jpg
/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_50_1681.jpg
/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_51_1634.jpg
/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_53_1706.jpg
/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_55_1665.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":["1396211407","1396211424","1396211421","1396211411","1396211416","1396211419"],"photo_ids_order":["1396211407","1396211411","1396211416","1396211419","1396211421","1396211424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8526cee716135695b9a5654ffc064754.jpg","text":"TemporaryFile(/tmp/multipartBody1304681297161881635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136393202,"filename":"image_26112025_02_56_46_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5c4db82f8b644b779450686ac9b49783.jpg","text":"TemporaryFile(/tmp/multipartBody321835103625230808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136393202,"filename":"image_26112025_02_56_55_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/26/14916c063b52ae0891a1ae336f340359.jpg","text":"TemporaryFile(/tmp/multipartBody3268623877005422311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136393202,"filename":"image_26112025_02_56_53_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b56d6144bcbb6710e42aeae53450f3f7.jpg","text":"TemporaryFile(/tmp/multipartBody5896594545469549122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136393202,"filename":"image_26112025_02_56_48_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/26/0bd8700805e0579c996d93d812f108e6.jpg","text":"TemporaryFile(/tmp/multipartBody7438844989358279996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136393202,"filename":"image_26112025_02_56_50_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/26/3d7375ccfa9d45bdad7cf9738182b95a.jpg","text":"TemporaryFile(/tmp/multipartBody3014142335816765101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136393202,"filename":"image_26112025_02_56_51_1634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211416","file1":"1396211411","file0":"1396211407","file4":"1396211421","file5":"1396211424","file3":"1396211419"},"map_files_photo_id_array":[{"photo_id":"1396211424","filename":"file5"},{"photo_id":"1396211416","filename":"file2"},{"photo_id":"1396211421","filename":"file4"},{"photo_id":"1396211411","filename":"file1"},{"photo_id":"1396211407","filename":"file0"},{"photo_id":"1396211419","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211407":["hashtag1","hashtag2"]},{"1396211424":["hashtag1","hashtag2"]},{"1396211421":["hashtag1","hashtag2"]},{"1396211411":["hashtag1","hashtag2"]},{"1396211416":["hashtag1","hashtag2"]},{"1396211419":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211407, 1396211424, 1396211421, 1396211411, 1396211416, 1396211419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.007301807403564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 06:53:03.346509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_57_2641.jpg', '/home/pi/Desktop/images/26112025/02/56/image_26112025_02_57_01_3610.jpg', '/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_04_2590.jpg', '/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_07_3521.jpg', '/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_10_2633.jpg', '/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_12_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/56/image_26112025_02_56_57_2641.jpg
/home/pi/Desktop/images/26112025/02/56/image_26112025_02_57_01_3610.jpg
/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_04_2590.jpg
/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_07_3521.jpg
/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_10_2633.jpg
/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_12_2652.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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396211439","1396211435","1396211432","1396211446","1396211443","1396211431"],"photo_ids_order":["1396211431","1396211432","1396211435","1396211439","1396211443","1396211446"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9065935c4a7396e6fcbf4deb62f3d9ea.jpg","text":"TemporaryFile(/tmp/multipartBody3361042805608828528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136444258,"filename":"image_26112025_02_57_07_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/26/918af2d6a76c13e80284158561d88980.jpg","text":"TemporaryFile(/tmp/multipartBody1072798704113535622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136444258,"filename":"image_26112025_02_57_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/26/1552e75f17daf486175172d673ca588f.jpg","text":"TemporaryFile(/tmp/multipartBody8457185643807692986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136444258,"filename":"image_26112025_02_57_01_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/26/916e25c87fc780a40a28896ff5d525cb.jpg","text":"TemporaryFile(/tmp/multipartBody6833380236161130438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136444258,"filename":"image_26112025_02_57_12_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/26/8e3411eea02438a2f8baf3729f383ea2.jpg","text":"TemporaryFile(/tmp/multipartBody6552584879955328588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136444258,"filename":"image_26112025_02_57_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/26/e94db6286f0b098a35ad5478c5e6051f.jpg","text":"TemporaryFile(/tmp/multipartBody7086067689951121753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136444258,"filename":"image_26112025_02_56_57_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211435","file1":"1396211432","file0":"1396211431","file4":"1396211443","file5":"1396211446","file3":"1396211439"},"map_files_photo_id_array":[{"photo_id":"1396211446","filename":"file5"},{"photo_id":"1396211435","filename":"file2"},{"photo_id":"1396211443","filename":"file4"},{"photo_id":"1396211432","filename":"file1"},{"photo_id":"1396211431","filename":"file0"},{"photo_id":"1396211439","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211439":["hashtag1","hashtag2"]},{"1396211435":["hashtag1","hashtag2"]},{"1396211432":["hashtag1","hashtag2"]},{"1396211446":["hashtag1","hashtag2"]},{"1396211443":["hashtag1","hashtag2"]},{"1396211431":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211439, 1396211435, 1396211432, 1396211446, 1396211443, 1396211431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.91830897331238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 06:54:02.698837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 06:54:11.931430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 06:54:22.012312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_16_3618.jpg', '/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_19_2576.jpg', '/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_23_4840.jpg', '/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_25_1685.jpg', '/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_28_2627.jpg', '/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_30_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_16_3618.jpg
/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_19_2576.jpg
/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_23_4840.jpg
/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_25_1685.jpg
/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_28_2627.jpg
/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_30_2590.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":["1396211463","1396211466","1396211471","1396211474","1396211468","1396211476"],"photo_ids_order":["1396211463","1396211466","1396211468","1396211471","1396211474","1396211476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d0747808496f258a8dda03d790021e24.jpg","text":"TemporaryFile(/tmp/multipartBody624447581986233696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136523710,"filename":"image_26112025_02_57_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/26/0fb5decd2bcb865bc752ec4342f3e1ef.jpg","text":"TemporaryFile(/tmp/multipartBody530100136465415812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136523710,"filename":"image_26112025_02_57_19_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/26/1b65ed57f4e8384de15a9e091b5f35aa.jpg","text":"TemporaryFile(/tmp/multipartBody7551430646157133265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136523710,"filename":"image_26112025_02_57_25_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/26/3514b4bd4136eb11abfd8fc119f8c800.jpg","text":"TemporaryFile(/tmp/multipartBody5307979843949629773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136523710,"filename":"image_26112025_02_57_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/26/e7646f6cb5e59af77198fbca194604cb.jpg","text":"TemporaryFile(/tmp/multipartBody5213924047486483462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136523710,"filename":"image_26112025_02_57_23_4840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b0c7ec3b0208f498d345ddcb6ea2e0ac.jpg","text":"TemporaryFile(/tmp/multipartBody920760910500087056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136523710,"filename":"image_26112025_02_57_30_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211468","file1":"1396211466","file0":"1396211463","file4":"1396211474","file5":"1396211476","file3":"1396211471"},"map_files_photo_id_array":[{"photo_id":"1396211476","filename":"file5"},{"photo_id":"1396211468","filename":"file2"},{"photo_id":"1396211474","filename":"file4"},{"photo_id":"1396211466","filename":"file1"},{"photo_id":"1396211463","filename":"file0"},{"photo_id":"1396211471","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211463":["hashtag1","hashtag2"]},{"1396211466":["hashtag1","hashtag2"]},{"1396211471":["hashtag1","hashtag2"]},{"1396211474":["hashtag1","hashtag2"]},{"1396211468":["hashtag1","hashtag2"]},{"1396211476":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211463, 1396211466, 1396211471, 1396211474, 1396211468, 1396211476)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 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 = 1396211468 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_23_4840.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 65.8075852394104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:55:32.601492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_34_3580.jpg', '/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_37_2637.jpg', '/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_42_5510.jpg', '/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_44_1732.jpg', '/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_46_1753.jpg', '/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_49_3642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_34_3580.jpg
/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_37_2637.jpg
/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_42_5510.jpg
/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_44_1732.jpg
/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_46_1753.jpg
/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_49_3642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396211498","1396211504","1396211497","1396211501","1396211509","1396211503"],"photo_ids_order":["1396211497","1396211498","1396211501","1396211503","1396211504","1396211509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/96892ecd15a183e30726b14ba2effff3.jpg","text":"TemporaryFile(/tmp/multipartBody1769887893585807710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136593302,"filename":"image_26112025_02_57_37_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/26/7534c343a80a5747f41ec30b3379fbe2.jpg","text":"TemporaryFile(/tmp/multipartBody8848201074727514941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136593302,"filename":"image_26112025_02_57_46_1753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cecca0296a2b790f334af7f311c9fc73.jpg","text":"TemporaryFile(/tmp/multipartBody8530460830675917343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136593302,"filename":"image_26112025_02_57_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/26/9c886fe1bb74f313644fea73adb75e36.jpg","text":"TemporaryFile(/tmp/multipartBody7281398417572817210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136593302,"filename":"image_26112025_02_57_42_5510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9b8d09fe155c3a8f8bbcdd77ece0374c.jpg","text":"TemporaryFile(/tmp/multipartBody3768534764102902633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136593302,"filename":"image_26112025_02_57_49_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/26/0674ea7c5aece8fbb0abb468729c4131.jpg","text":"TemporaryFile(/tmp/multipartBody8697204568864958841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136593302,"filename":"image_26112025_02_57_44_1732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211501","file1":"1396211498","file0":"1396211497","file4":"1396211504","file5":"1396211509","file3":"1396211503"},"map_files_photo_id_array":[{"photo_id":"1396211509","filename":"file5"},{"photo_id":"1396211501","filename":"file2"},{"photo_id":"1396211504","filename":"file4"},{"photo_id":"1396211498","filename":"file1"},{"photo_id":"1396211497","filename":"file0"},{"photo_id":"1396211503","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211498":["hashtag1","hashtag2"]},{"1396211504":["hashtag1","hashtag2"]},{"1396211497":["hashtag1","hashtag2"]},{"1396211501":["hashtag1","hashtag2"]},{"1396211509":["hashtag1","hashtag2"]},{"1396211503":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211498, 1396211504, 1396211497, 1396211501, 1396211509, 1396211503)","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 = 1396211501 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_42_5510.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 55.517786264419556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:56:32.329945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_52_2851.jpg', '/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_55_2555.jpg', '/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_58_3579.jpg', '/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_01_2717.jpg', '/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_03_2618.jpg', '/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_07_3611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_52_2851.jpg
/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_55_2555.jpg
/home/pi/Desktop/images/26112025/02/57/image_26112025_02_57_58_3579.jpg
/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_01_2717.jpg
/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_03_2618.jpg
/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_07_3611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396211535","1396211522","1396211531","1396211519","1396211533","1396211527"],"photo_ids_order":["1396211519","1396211522","1396211527","1396211531","1396211533","1396211535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/02f554e5591bd1b7b15fad4f0c369e66.jpg","text":"TemporaryFile(/tmp/multipartBody2119691966857193007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136653088,"filename":"image_26112025_02_58_07_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/26/b65b0d11ed0d7d881c9f86e7a6287efb.jpg","text":"TemporaryFile(/tmp/multipartBody8941016236914230719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136653088,"filename":"image_26112025_02_57_55_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/26/35f356c7ca3f99a03232ba4a195a747d.jpg","text":"TemporaryFile(/tmp/multipartBody1011317329918436548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136653088,"filename":"image_26112025_02_58_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/26/0b0b6e684be7aaa083ced029009faee8.jpg","text":"TemporaryFile(/tmp/multipartBody8187789469336571431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136653088,"filename":"image_26112025_02_57_52_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/26/deaaf04b1271f8c7f594dc688f1a6ca8.jpg","text":"TemporaryFile(/tmp/multipartBody7254549007473283528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136653088,"filename":"image_26112025_02_58_03_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/26/298f0f85787a223830d1aff0240e71d4.jpg","text":"TemporaryFile(/tmp/multipartBody3402629014433631622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136653088,"filename":"image_26112025_02_57_58_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211527","file1":"1396211522","file0":"1396211519","file4":"1396211533","file5":"1396211535","file3":"1396211531"},"map_files_photo_id_array":[{"photo_id":"1396211535","filename":"file5"},{"photo_id":"1396211527","filename":"file2"},{"photo_id":"1396211533","filename":"file4"},{"photo_id":"1396211522","filename":"file1"},{"photo_id":"1396211519","filename":"file0"},{"photo_id":"1396211531","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211535":["hashtag1","hashtag2"]},{"1396211522":["hashtag1","hashtag2"]},{"1396211531":["hashtag1","hashtag2"]},{"1396211519":["hashtag1","hashtag2"]},{"1396211533":["hashtag1","hashtag2"]},{"1396211527":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211535, 1396211522, 1396211531, 1396211519, 1396211533, 1396211527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06402230262756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 06:57:13.696678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_10_2625.jpg', '/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_13_3488.jpg', '/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_16_2684.jpg', '/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_18_2590.jpg', '/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_22_3575.jpg', '/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_25_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_10_2625.jpg
/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_13_3488.jpg
/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_16_2684.jpg
/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_18_2590.jpg
/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_22_3575.jpg
/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_25_2714.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":["1396211556","1396211565","1396211552","1396211561","1396211563","1396211548"],"photo_ids_order":["1396211548","1396211552","1396211556","1396211561","1396211563","1396211565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3a5b1f6cb26b0779aaf56538d2f5ddff.jpg","text":"TemporaryFile(/tmp/multipartBody4653939583627111564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136694406,"filename":"image_26112025_02_58_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/26/0995b76b656ffa9d72c4ee44b4e00da6.jpg","text":"TemporaryFile(/tmp/multipartBody5093090343474991717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136694406,"filename":"image_26112025_02_58_25_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/26/a2489560eca7750ea0ab9783d92a6f5c.jpg","text":"TemporaryFile(/tmp/multipartBody1664531751790758992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136694406,"filename":"image_26112025_02_58_13_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/26/80845e8930d9e165838ec5c18084db23.jpg","text":"TemporaryFile(/tmp/multipartBody524069590334530416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136694406,"filename":"image_26112025_02_58_18_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/26/bdd42386b05cd681abbbed56d3d3ecd1.jpg","text":"TemporaryFile(/tmp/multipartBody3197567769489036661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136694406,"filename":"image_26112025_02_58_22_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/26/84c3a05229b0a1088f4d272386301328.jpg","text":"TemporaryFile(/tmp/multipartBody943196260877907173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136694406,"filename":"image_26112025_02_58_10_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211556","file1":"1396211552","file0":"1396211548","file4":"1396211563","file5":"1396211565","file3":"1396211561"},"map_files_photo_id_array":[{"photo_id":"1396211565","filename":"file5"},{"photo_id":"1396211556","filename":"file2"},{"photo_id":"1396211563","filename":"file4"},{"photo_id":"1396211552","filename":"file1"},{"photo_id":"1396211548","filename":"file0"},{"photo_id":"1396211561","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211556":["hashtag1","hashtag2"]},{"1396211565":["hashtag1","hashtag2"]},{"1396211552":["hashtag1","hashtag2"]},{"1396211561":["hashtag1","hashtag2"]},{"1396211563":["hashtag1","hashtag2"]},{"1396211548":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211556, 1396211565, 1396211552, 1396211561, 1396211563, 1396211548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.33312177658081 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 06:59:02.911548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_28_2745.jpg', '/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_30_2765.jpg', '/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_34_3695.jpg', '/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_37_2593.jpg', '/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_39_2776.jpg', '/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_43_3551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_28_2745.jpg
/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_30_2765.jpg
/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_34_3695.jpg
/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_37_2593.jpg
/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_39_2776.jpg
/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_43_3551.jpg
 val : 1 : upload photos already in processing! 
 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":["1396211589","1396211597","1396211582","1396211601","1396211585","1396211593"],"photo_ids_order":["1396211582","1396211585","1396211589","1396211593","1396211597","1396211601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b23de316bba2caadc120d18c00c33706.jpg","text":"TemporaryFile(/tmp/multipartBody4838625217301133552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136806341,"filename":"image_26112025_02_58_34_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/26/adef34a6ade02eed6774ddaa66f0240e.jpg","text":"TemporaryFile(/tmp/multipartBody7023373726794258870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136806341,"filename":"image_26112025_02_58_39_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/26/397bead9bf884494c77a1f850b229569.jpg","text":"TemporaryFile(/tmp/multipartBody3989298079909635969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136806341,"filename":"image_26112025_02_58_28_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/26/0b7ce20b3c1e19584ae8e188c631c00d.jpg","text":"TemporaryFile(/tmp/multipartBody679498376907327451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136806341,"filename":"image_26112025_02_58_43_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/26/602387990cf47f503f8bf21d06567e6c.jpg","text":"TemporaryFile(/tmp/multipartBody7241406767870828216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136806341,"filename":"image_26112025_02_58_30_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/26/3d7a20987d63bedd7129ef33edae6c77.jpg","text":"TemporaryFile(/tmp/multipartBody6421805388465442778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136806341,"filename":"image_26112025_02_58_37_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211589","file1":"1396211585","file0":"1396211582","file4":"1396211597","file5":"1396211601","file3":"1396211593"},"map_files_photo_id_array":[{"photo_id":"1396211601","filename":"file5"},{"photo_id":"1396211589","filename":"file2"},{"photo_id":"1396211597","filename":"file4"},{"photo_id":"1396211585","filename":"file1"},{"photo_id":"1396211582","filename":"file0"},{"photo_id":"1396211593","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211589":["hashtag1","hashtag2"]},{"1396211597":["hashtag1","hashtag2"]},{"1396211582":["hashtag1","hashtag2"]},{"1396211601":["hashtag1","hashtag2"]},{"1396211585":["hashtag1","hashtag2"]},{"1396211593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211589, 1396211597, 1396211582, 1396211601, 1396211585, 1396211593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.25982451438904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:00:06.248499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_46_2756.jpg', '/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_48_2668.jpg', '/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_52_3555.jpg', '/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_55_2717.jpg', '/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_58_2974.jpg', '/home/pi/Desktop/images/26112025/02/58/image_26112025_02_59_00_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_46_2756.jpg
/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_48_2668.jpg
/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_52_3555.jpg
/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_55_2717.jpg
/home/pi/Desktop/images/26112025/02/58/image_26112025_02_58_58_2974.jpg
/home/pi/Desktop/images/26112025/02/58/image_26112025_02_59_00_2660.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":["1396211633","1396211621","1396211630","1396211626","1396211623","1396211617"],"photo_ids_order":["1396211617","1396211621","1396211623","1396211626","1396211630","1396211633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/be6ed4281c001f76842f8697daa0a84d.jpg","text":"TemporaryFile(/tmp/multipartBody8462486866581480100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136866964,"filename":"image_26112025_02_59_00_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ae96bd8f356135fec93f5eeb6b441239.jpg","text":"TemporaryFile(/tmp/multipartBody6472892742329274466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136866964,"filename":"image_26112025_02_58_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/26/24961a2f9c8a3140e817264886fc0384.jpg","text":"TemporaryFile(/tmp/multipartBody8286326074123122828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136866964,"filename":"image_26112025_02_58_58_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/26/2ccfdce33f492f7855f012391c0c5b8c.jpg","text":"TemporaryFile(/tmp/multipartBody3336733208777675283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136866964,"filename":"image_26112025_02_58_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/26/7893508edd18eeee140a4f3ba8c780d0.jpg","text":"TemporaryFile(/tmp/multipartBody5941538714550425239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136866964,"filename":"image_26112025_02_58_52_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/26/cc9d25ac3d06260acda7fe81403b0cf8.jpg","text":"TemporaryFile(/tmp/multipartBody2838863374468731859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136866964,"filename":"image_26112025_02_58_46_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211623","file1":"1396211621","file0":"1396211617","file4":"1396211630","file5":"1396211633","file3":"1396211626"},"map_files_photo_id_array":[{"photo_id":"1396211633","filename":"file5"},{"photo_id":"1396211623","filename":"file2"},{"photo_id":"1396211630","filename":"file4"},{"photo_id":"1396211621","filename":"file1"},{"photo_id":"1396211617","filename":"file0"},{"photo_id":"1396211626","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211633":["hashtag1","hashtag2"]},{"1396211621":["hashtag1","hashtag2"]},{"1396211630":["hashtag1","hashtag2"]},{"1396211626":["hashtag1","hashtag2"]},{"1396211623":["hashtag1","hashtag2"]},{"1396211617":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211633, 1396211621, 1396211630, 1396211626, 1396211623, 1396211617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83408331871033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 07:00:45.783025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_04_3649.jpg', '/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_07_2820.jpg', '/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_09_2573.jpg', '/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_13_3779.jpg', '/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_18_2569.jpg', '/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_22_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_04_3649.jpg
/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_07_2820.jpg
/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_09_2573.jpg
/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_13_3779.jpg
/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_18_2569.jpg
/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_22_3610.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":["1396211643","1396211651","1396211645","1396211642","1396211644","1396211647"],"photo_ids_order":["1396211642","1396211643","1396211644","1396211645","1396211647","1396211651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/58475fba08884dbd21f255fd0a80c144.jpg","text":"TemporaryFile(/tmp/multipartBody506350228235169558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136906485,"filename":"image_26112025_02_59_07_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/26/8ea751f67e238b9b737d081852d06de8.jpg","text":"TemporaryFile(/tmp/multipartBody569328128243863558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136906485,"filename":"image_26112025_02_59_22_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/26/6c79850adf2a95fb4fdd4aab2170e17c.jpg","text":"TemporaryFile(/tmp/multipartBody7952748533176431167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136906485,"filename":"image_26112025_02_59_13_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/26/d6560cb651c17e1609fbc6970ddc4fb3.jpg","text":"TemporaryFile(/tmp/multipartBody1260889020233649512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136906485,"filename":"image_26112025_02_59_04_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/26/ba1cefb9e30c968167bb3ffb88f5771c.jpg","text":"TemporaryFile(/tmp/multipartBody8161415861522629091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136906485,"filename":"image_26112025_02_59_09_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/26/f45b92668eafb7a0b318f2462ec35ea4.jpg","text":"TemporaryFile(/tmp/multipartBody7836960254550934379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136906485,"filename":"image_26112025_02_59_18_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211644","file1":"1396211643","file0":"1396211642","file4":"1396211647","file5":"1396211651","file3":"1396211645"},"map_files_photo_id_array":[{"photo_id":"1396211651","filename":"file5"},{"photo_id":"1396211644","filename":"file2"},{"photo_id":"1396211647","filename":"file4"},{"photo_id":"1396211643","filename":"file1"},{"photo_id":"1396211642","filename":"file0"},{"photo_id":"1396211645","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211643":["hashtag1","hashtag2"]},{"1396211651":["hashtag1","hashtag2"]},{"1396211645":["hashtag1","hashtag2"]},{"1396211642":["hashtag1","hashtag2"]},{"1396211644":["hashtag1","hashtag2"]},{"1396211647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211643, 1396211651, 1396211645, 1396211642, 1396211644, 1396211647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.888121604919434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:01:31.898805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_25_2672.jpg', '/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_27_2636.jpg', '/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_31_3746.jpg', '/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_34_2626.jpg', '/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_36_2634.jpg', '/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_40_3750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_25_2672.jpg
/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_27_2636.jpg
/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_31_3746.jpg
/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_34_2626.jpg
/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_36_2634.jpg
/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_40_3750.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":["1396211673","1396211670","1396211664","1396211666","1396211675","1396211668"],"photo_ids_order":["1396211664","1396211666","1396211668","1396211670","1396211673","1396211675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d8db7b606465f2cfd291163a1e38634e.jpg","text":"TemporaryFile(/tmp/multipartBody7359272648979749006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136952564,"filename":"image_26112025_02_59_36_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/26/e8c6ecda0d8486cd2c04de88dfc92bbc.jpg","text":"TemporaryFile(/tmp/multipartBody4970785172354292404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136952564,"filename":"image_26112025_02_59_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/26/51b459d72c222fc95213dc85229186e9.jpg","text":"TemporaryFile(/tmp/multipartBody7520427139704638470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136952564,"filename":"image_26112025_02_59_25_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/26/714d13dd63e1e649d268d720d881d253.jpg","text":"TemporaryFile(/tmp/multipartBody5470543425097964001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136952564,"filename":"image_26112025_02_59_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/26/0473fdb163c42d08293cef4e0a5a9fa5.jpg","text":"TemporaryFile(/tmp/multipartBody8262525829601401681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136952564,"filename":"image_26112025_02_59_40_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/26/cecbb6a758a34727cb0783dd14954527.jpg","text":"TemporaryFile(/tmp/multipartBody6650879555805927424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136952564,"filename":"image_26112025_02_59_31_3746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211668","file1":"1396211666","file0":"1396211664","file4":"1396211673","file5":"1396211675","file3":"1396211670"},"map_files_photo_id_array":[{"photo_id":"1396211675","filename":"file5"},{"photo_id":"1396211668","filename":"file2"},{"photo_id":"1396211673","filename":"file4"},{"photo_id":"1396211666","filename":"file1"},{"photo_id":"1396211664","filename":"file0"},{"photo_id":"1396211670","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211673":["hashtag1","hashtag2"]},{"1396211670":["hashtag1","hashtag2"]},{"1396211664":["hashtag1","hashtag2"]},{"1396211666":["hashtag1","hashtag2"]},{"1396211675":["hashtag1","hashtag2"]},{"1396211668":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211673, 1396211670, 1396211664, 1396211666, 1396211675, 1396211668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.455873250961304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:02:12.100511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_43_2714.jpg', '/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_45_2565.jpg', '/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_49_3588.jpg', '/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_52_2726.jpg', '/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_54_2561.jpg', '/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_58_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_43_2714.jpg
/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_45_2565.jpg
/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_49_3588.jpg
/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_52_2726.jpg
/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_54_2561.jpg
/home/pi/Desktop/images/26112025/02/59/image_26112025_02_59_58_3653.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":["1396211688","1396211696","1396211690","1396211693","1396211698","1396211701"],"photo_ids_order":["1396211688","1396211690","1396211693","1396211696","1396211698","1396211701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/26c901d0f31a6fdb68162b94c3517cd3.jpg","text":"TemporaryFile(/tmp/multipartBody5733654373347627808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136992766,"filename":"image_26112025_02_59_43_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/26/7f9e815b33edd6c00ee25aeba7baf5a1.jpg","text":"TemporaryFile(/tmp/multipartBody2870701277584289232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136992766,"filename":"image_26112025_02_59_52_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/26/52b082725bdc0802b9135f3a5b747aa1.jpg","text":"TemporaryFile(/tmp/multipartBody8406840276016392872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136992766,"filename":"image_26112025_02_59_45_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/26/ca567d8783eb9bdc0726f8dd18cefabb.jpg","text":"TemporaryFile(/tmp/multipartBody7725051635441348773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136992766,"filename":"image_26112025_02_59_49_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/26/1d4dac867eeb0ae923d521d40c09c45e.jpg","text":"TemporaryFile(/tmp/multipartBody6354614321705493829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136992766,"filename":"image_26112025_02_59_54_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/26/d0ab01df5eeabca73f54298d2e6d9178.jpg","text":"TemporaryFile(/tmp/multipartBody8410241308608141049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764136992766,"filename":"image_26112025_02_59_58_3653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211693","file1":"1396211690","file0":"1396211688","file4":"1396211698","file5":"1396211701","file3":"1396211696"},"map_files_photo_id_array":[{"photo_id":"1396211701","filename":"file5"},{"photo_id":"1396211693","filename":"file2"},{"photo_id":"1396211698","filename":"file4"},{"photo_id":"1396211690","filename":"file1"},{"photo_id":"1396211688","filename":"file0"},{"photo_id":"1396211696","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211688":["hashtag1","hashtag2"]},{"1396211696":["hashtag1","hashtag2"]},{"1396211690":["hashtag1","hashtag2"]},{"1396211693":["hashtag1","hashtag2"]},{"1396211698":["hashtag1","hashtag2"]},{"1396211701":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211688, 1396211696, 1396211690, 1396211693, 1396211698, 1396211701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10619378089905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:03:03.057061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/02/59/image_26112025_03_00_00_2598.jpg', '/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_07_3703.jpg', '/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_10_2618.jpg', '/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_12_2714.jpg', '/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_16_3630.jpg', '/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_18_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/02/59/image_26112025_03_00_00_2598.jpg
/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_07_3703.jpg
/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_10_2618.jpg
/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_12_2714.jpg
/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_16_3630.jpg
/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_18_2562.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":["1396211721","1396211730","1396211727","1396211723","1396211725","1396211719"],"photo_ids_order":["1396211719","1396211721","1396211723","1396211725","1396211727","1396211730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/77c9f324c049ffca3f5a4a9468556b7b.jpg","text":"TemporaryFile(/tmp/multipartBody2305843557713516320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137043851,"filename":"image_26112025_03_00_07_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/26/b4cd5d95beea05a4a634a2d503cee093.jpg","text":"TemporaryFile(/tmp/multipartBody6542635517910963873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137043851,"filename":"image_26112025_03_00_18_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/26/99fd68bd2348f89deb4fd79d6be52e65.jpg","text":"TemporaryFile(/tmp/multipartBody5668104333417349423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137043851,"filename":"image_26112025_03_00_16_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/26/c557cc1523191b9335afe6c0d7e02d5d.jpg","text":"TemporaryFile(/tmp/multipartBody5407656238346804271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137043851,"filename":"image_26112025_03_00_10_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/26/df134ab27a4ed12498e3cd24552aedbe.jpg","text":"TemporaryFile(/tmp/multipartBody2267919522888423811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137043851,"filename":"image_26112025_03_00_12_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/11e166c46554fa5277a077036abb452a.jpg","text":"TemporaryFile(/tmp/multipartBody4867362815179347231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137043851,"filename":"image_26112025_03_00_00_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211723","file1":"1396211721","file0":"1396211719","file4":"1396211727","file5":"1396211730","file3":"1396211725"},"map_files_photo_id_array":[{"photo_id":"1396211730","filename":"file5"},{"photo_id":"1396211723","filename":"file2"},{"photo_id":"1396211727","filename":"file4"},{"photo_id":"1396211721","filename":"file1"},{"photo_id":"1396211719","filename":"file0"},{"photo_id":"1396211725","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211721":["hashtag1","hashtag2"]},{"1396211730":["hashtag1","hashtag2"]},{"1396211727":["hashtag1","hashtag2"]},{"1396211723":["hashtag1","hashtag2"]},{"1396211725":["hashtag1","hashtag2"]},{"1396211719":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211721, 1396211730, 1396211727, 1396211723, 1396211725, 1396211719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8407096862793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 07:03:42.319739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_23_4425.jpg', '/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_24_1578.jpg', '/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_27_2792.jpg', '/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_31_3799.jpg', '/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_34_2602.jpg', '/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_36_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_23_4425.jpg
/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_24_1578.jpg
/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_27_2792.jpg
/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_31_3799.jpg
/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_34_2602.jpg
/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_36_2622.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":["1396211865","1396211789","1396211936","1396211903","1396211827","1396211976"],"photo_ids_order":["1396211789","1396211827","1396211865","1396211903","1396211936","1396211976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4458a5c77dd51ccedae5c59ef9038497.jpg","text":"TemporaryFile(/tmp/multipartBody8811416115438358442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137082991,"filename":"image_26112025_03_00_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/26/1c53dd40b63f5cda40928daac5853eef.jpg","text":"TemporaryFile(/tmp/multipartBody2380202308886467889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137082991,"filename":"image_26112025_03_00_23_4425.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/56e4019ea729eced87e078d38cf26362.jpg","text":"TemporaryFile(/tmp/multipartBody7752202310380756130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137082991,"filename":"image_26112025_03_00_34_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/26/d8ddd8d29f77465117c97d31e81d379b.jpg","text":"TemporaryFile(/tmp/multipartBody6680161740460879411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137082991,"filename":"image_26112025_03_00_31_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/26/ff40ff0dbba0b36bd953f849b44e632c.jpg","text":"TemporaryFile(/tmp/multipartBody4706227061476633915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137082991,"filename":"image_26112025_03_00_24_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/26/6d0da057fafc26e6013c737e01bc23c0.jpg","text":"TemporaryFile(/tmp/multipartBody2937457573341077509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137082991,"filename":"image_26112025_03_00_36_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396211865","file1":"1396211827","file0":"1396211789","file4":"1396211936","file5":"1396211976","file3":"1396211903"},"map_files_photo_id_array":[{"photo_id":"1396211976","filename":"file5"},{"photo_id":"1396211865","filename":"file2"},{"photo_id":"1396211936","filename":"file4"},{"photo_id":"1396211827","filename":"file1"},{"photo_id":"1396211789","filename":"file0"},{"photo_id":"1396211903","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396211865":["hashtag1","hashtag2"]},{"1396211789":["hashtag1","hashtag2"]},{"1396211936":["hashtag1","hashtag2"]},{"1396211903":["hashtag1","hashtag2"]},{"1396211827":["hashtag1","hashtag2"]},{"1396211976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396211865, 1396211789, 1396211936, 1396211903, 1396211827, 1396211976)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.54963564872742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:04:32.655049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_40_3708.jpg', '/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_45_2526.jpg', '/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_49_3580.jpg', '/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_51_2619.jpg', '/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_55_3555.jpg', '/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_06_10922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_40_3708.jpg
/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_45_2526.jpg
/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_49_3580.jpg
/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_51_2619.jpg
/home/pi/Desktop/images/26112025/03/00/image_26112025_03_00_55_3555.jpg
/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_06_10922.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":["1396212327","1396212398","1396212201","1396212363","1396212285","1396212243"],"photo_ids_order":["1396212201","1396212243","1396212285","1396212327","1396212363","1396212398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/616fb4e5057fcd31fc03b0dec289929e.jpg","text":"TemporaryFile(/tmp/multipartBody6858069401367833913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137133357,"filename":"image_26112025_03_00_51_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/26/6479c045a345fd8aa031cb57c9d54956.jpg","text":"TemporaryFile(/tmp/multipartBody1177209628547837426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137133357,"filename":"image_26112025_03_01_06_10922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/195fb7c4a9f23acc4cc0edc89e264b43.jpg","text":"TemporaryFile(/tmp/multipartBody5445580123589259354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137133357,"filename":"image_26112025_03_00_40_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/26/6a4c6dc74d20acfd8115b2c1558b7855.jpg","text":"TemporaryFile(/tmp/multipartBody2438112375444323179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137133357,"filename":"image_26112025_03_00_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/26/2a93f22fb4fd34a25c0938fff6fdaac0.jpg","text":"TemporaryFile(/tmp/multipartBody63008984501158831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137133357,"filename":"image_26112025_03_00_49_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/26/3b9a79c27bd1eda7738a8bdef3b47b47.jpg","text":"TemporaryFile(/tmp/multipartBody8914854580569269333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137133357,"filename":"image_26112025_03_00_45_2526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396212285","file1":"1396212243","file0":"1396212201","file4":"1396212363","file5":"1396212398","file3":"1396212327"},"map_files_photo_id_array":[{"photo_id":"1396212398","filename":"file5"},{"photo_id":"1396212285","filename":"file2"},{"photo_id":"1396212363","filename":"file4"},{"photo_id":"1396212243","filename":"file1"},{"photo_id":"1396212201","filename":"file0"},{"photo_id":"1396212327","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396212327":["hashtag1","hashtag2"]},{"1396212398":["hashtag1","hashtag2"]},{"1396212201":["hashtag1","hashtag2"]},{"1396212363":["hashtag1","hashtag2"]},{"1396212285":["hashtag1","hashtag2"]},{"1396212243":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396212327, 1396212398, 1396212201, 1396212363, 1396212285, 1396212243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.48366618156433 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:05:13.892504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_07_1647.jpg', '/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_09_1862.jpg', '/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_11_1648.jpg', '/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_13_1809.jpg', '/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_14_1708.jpg', '/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_16_1725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_07_1647.jpg
/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_09_1862.jpg
/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_11_1648.jpg
/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_13_1809.jpg
/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_14_1708.jpg
/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_16_1725.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":["1396212563","1396212545","1396212539","1396212548","1396212552","1396212555"],"photo_ids_order":["1396212539","1396212545","1396212548","1396212552","1396212555","1396212563"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4deb854b2abd57a21d4343039174465a.jpg","text":"TemporaryFile(/tmp/multipartBody2381343209514401903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137174579,"filename":"image_26112025_03_01_16_1725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3d9d1d798809511b9e6ba06c357e8dfa.jpg","text":"TemporaryFile(/tmp/multipartBody2568020456890684989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137174579,"filename":"image_26112025_03_01_09_1862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/01a19962aabb7a9782befe8b64722d3f.jpg","text":"TemporaryFile(/tmp/multipartBody3472555958938051951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137174579,"filename":"image_26112025_03_01_07_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/26/0de29c204692c72017b52c48135df53a.jpg","text":"TemporaryFile(/tmp/multipartBody6454181960454888953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137174579,"filename":"image_26112025_03_01_11_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/26/358aa4c220a803affcb27ee9ee4e16eb.jpg","text":"TemporaryFile(/tmp/multipartBody5282041290491860959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137174579,"filename":"image_26112025_03_01_13_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/26/29b7e7912467c59361e4be1277d6d760.jpg","text":"TemporaryFile(/tmp/multipartBody2874273558583905436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137174579,"filename":"image_26112025_03_01_14_1708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396212548","file1":"1396212545","file0":"1396212539","file4":"1396212555","file5":"1396212563","file3":"1396212552"},"map_files_photo_id_array":[{"photo_id":"1396212563","filename":"file5"},{"photo_id":"1396212548","filename":"file2"},{"photo_id":"1396212555","filename":"file4"},{"photo_id":"1396212545","filename":"file1"},{"photo_id":"1396212539","filename":"file0"},{"photo_id":"1396212552","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396212563":["hashtag1","hashtag2"]},{"1396212545":["hashtag1","hashtag2"]},{"1396212539":["hashtag1","hashtag2"]},{"1396212548":["hashtag1","hashtag2"]},{"1396212552":["hashtag1","hashtag2"]},{"1396212555":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396212563, 1396212545, 1396212539, 1396212548, 1396212552, 1396212555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.725876331329346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:06:02.332275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_18_1786.jpg', '/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_22_3548.jpg', '/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_24_2737.jpg', '/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_28_3606.jpg', '/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_31_2693.jpg', '/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_33_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_18_1786.jpg
/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_22_3548.jpg
/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_24_2737.jpg
/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_28_3606.jpg
/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_31_2693.jpg
/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_33_2548.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":["1396212743","1396212740","1396212734","1396212736","1396212706","1396212732"],"photo_ids_order":["1396212706","1396212732","1396212734","1396212736","1396212740","1396212743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/54fcd9aa5f53a75092384855a17bdd93.jpg","text":"TemporaryFile(/tmp/multipartBody7477201843008681824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137225421,"filename":"image_26112025_03_01_33_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/26/b1d5008f9df6df5576603f5ce877494e.jpg","text":"TemporaryFile(/tmp/multipartBody8962175214817242549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137225421,"filename":"image_26112025_03_01_31_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/26/cecc2f43f215d371f37139272c2ffe1b.jpg","text":"TemporaryFile(/tmp/multipartBody3575165516263169268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137225421,"filename":"image_26112025_03_01_24_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/26/5621c25d51649ce99451809fb8b59d65.jpg","text":"TemporaryFile(/tmp/multipartBody5284599252001479800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137225421,"filename":"image_26112025_03_01_28_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/26/bc9d63bf6192bbf482f6bf8f4957c269.jpg","text":"TemporaryFile(/tmp/multipartBody5702805105028248053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137225421,"filename":"image_26112025_03_01_18_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/26/47b6b17e5b9b1c1759b28179ce5ec535.jpg","text":"TemporaryFile(/tmp/multipartBody3548988678423454365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137225421,"filename":"image_26112025_03_01_22_3548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396212734","file1":"1396212732","file0":"1396212706","file4":"1396212740","file5":"1396212743","file3":"1396212736"},"map_files_photo_id_array":[{"photo_id":"1396212743","filename":"file5"},{"photo_id":"1396212734","filename":"file2"},{"photo_id":"1396212740","filename":"file4"},{"photo_id":"1396212732","filename":"file1"},{"photo_id":"1396212706","filename":"file0"},{"photo_id":"1396212736","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396212743":["hashtag1","hashtag2"]},{"1396212740":["hashtag1","hashtag2"]},{"1396212734":["hashtag1","hashtag2"]},{"1396212736":["hashtag1","hashtag2"]},{"1396212706":["hashtag1","hashtag2"]},{"1396212732":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396212743, 1396212740, 1396212734, 1396212736, 1396212706, 1396212732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.555119037628174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 07:06:41.898232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_37_3688.jpg', '/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_40_2986.jpg', '/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_42_2706.jpg', '/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_49_3700.jpg', '/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_51_2664.jpg', '/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_54_2813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_37_3688.jpg
/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_40_2986.jpg
/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_42_2706.jpg
/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_49_3700.jpg
/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_51_2664.jpg
/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_54_2813.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":["1396212764","1396212751","1396212760","1396212754","1396212757","1396212762"],"photo_ids_order":["1396212751","1396212754","1396212757","1396212760","1396212762","1396212764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/efa7511f286c061d033fd28cf70259b1.jpg","text":"TemporaryFile(/tmp/multipartBody6396507382437254503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137262564,"filename":"image_26112025_03_01_54_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cdc1b2281582b594530076314be5a5bc.jpg","text":"TemporaryFile(/tmp/multipartBody4747165347520538010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137262564,"filename":"image_26112025_03_01_37_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/26/3f461306650f10290e47cc4d551e6fc4.jpg","text":"TemporaryFile(/tmp/multipartBody874196012697379346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137262564,"filename":"image_26112025_03_01_49_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/26/d51b1aabe1b39e05948dda6cdd5b1124.jpg","text":"TemporaryFile(/tmp/multipartBody6926686814088800936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137262564,"filename":"image_26112025_03_01_40_2986.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/049473616c37ceb20e96308f5efcba47.jpg","text":"TemporaryFile(/tmp/multipartBody8902474344807210619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137262564,"filename":"image_26112025_03_01_42_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/26/82c7b2c40ec1f1b420e80d112a0cd0a8.jpg","text":"TemporaryFile(/tmp/multipartBody6191760315204788798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137262564,"filename":"image_26112025_03_01_51_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396212757","file1":"1396212754","file0":"1396212751","file4":"1396212762","file5":"1396212764","file3":"1396212760"},"map_files_photo_id_array":[{"photo_id":"1396212764","filename":"file5"},{"photo_id":"1396212757","filename":"file2"},{"photo_id":"1396212762","filename":"file4"},{"photo_id":"1396212754","filename":"file1"},{"photo_id":"1396212751","filename":"file0"},{"photo_id":"1396212760","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396212764":["hashtag1","hashtag2"]},{"1396212751":["hashtag1","hashtag2"]},{"1396212760":["hashtag1","hashtag2"]},{"1396212754":["hashtag1","hashtag2"]},{"1396212757":["hashtag1","hashtag2"]},{"1396212762":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396212764, 1396212751, 1396212760, 1396212754, 1396212757, 1396212762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31291961669922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:07:22.205994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_57_2598.jpg', '/home/pi/Desktop/images/26112025/03/01/image_26112025_03_02_01_3747.jpg', '/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_03_2732.jpg', '/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_06_2557.jpg', '/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_10_3634.jpg', '/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_12_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/01/image_26112025_03_01_57_2598.jpg
/home/pi/Desktop/images/26112025/03/01/image_26112025_03_02_01_3747.jpg
/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_03_2732.jpg
/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_06_2557.jpg
/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_10_3634.jpg
/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_12_2654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396212785","1396212773","1396212782","1396212776","1396212779","1396212771"],"photo_ids_order":["1396212771","1396212773","1396212776","1396212779","1396212782","1396212785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7d535747722ef9681694388805c834db.jpg","text":"TemporaryFile(/tmp/multipartBody6147881880089356487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137302907,"filename":"image_26112025_03_02_12_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/26/acfbd0c5c307a52131027bc859752f09.jpg","text":"TemporaryFile(/tmp/multipartBody3060056690910614348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137302907,"filename":"image_26112025_03_02_01_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/26/8c044a21e05766364df86f2ff8c0e449.jpg","text":"TemporaryFile(/tmp/multipartBody3102436561133792900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137302907,"filename":"image_26112025_03_02_10_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0317d1c227cb710e821627dfaefd114b.jpg","text":"TemporaryFile(/tmp/multipartBody1406946639502655637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137302907,"filename":"image_26112025_03_02_03_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2cd6689642ee7ffb6d4544d2e83fdc35.jpg","text":"TemporaryFile(/tmp/multipartBody5937979613830624074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137302907,"filename":"image_26112025_03_02_06_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/26/f71b3f04a95f70d6a013daaac9e4620b.jpg","text":"TemporaryFile(/tmp/multipartBody439348225288896617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137302907,"filename":"image_26112025_03_01_57_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396212776","file1":"1396212773","file0":"1396212771","file4":"1396212782","file5":"1396212785","file3":"1396212779"},"map_files_photo_id_array":[{"photo_id":"1396212785","filename":"file5"},{"photo_id":"1396212776","filename":"file2"},{"photo_id":"1396212782","filename":"file4"},{"photo_id":"1396212773","filename":"file1"},{"photo_id":"1396212771","filename":"file0"},{"photo_id":"1396212779","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396212785":["hashtag1","hashtag2"]},{"1396212773":["hashtag1","hashtag2"]},{"1396212782":["hashtag1","hashtag2"]},{"1396212776":["hashtag1","hashtag2"]},{"1396212779":["hashtag1","hashtag2"]},{"1396212771":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396212785, 1396212773, 1396212782, 1396212776, 1396212779, 1396212771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57132840156555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:08:02.771709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_15_2662.jpg', '/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_18_3270.jpg', '/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_22_3498.jpg', '/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_24_2623.jpg', '/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_27_2660.jpg', '/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_31_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_15_2662.jpg
/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_18_3270.jpg
/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_22_3498.jpg
/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_24_2623.jpg
/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_27_2660.jpg
/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_31_3651.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":["1396212804","1396212797","1396212806","1396212809","1396212800","1396212802"],"photo_ids_order":["1396212797","1396212800","1396212802","1396212804","1396212806","1396212809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/840baf220bd00431a4aa9be0ccf6974c.jpg","text":"TemporaryFile(/tmp/multipartBody8480380874676813908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137343514,"filename":"image_26112025_03_02_24_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/26/02396bc7b122d353621ff9cfadff7fe2.jpg","text":"TemporaryFile(/tmp/multipartBody4822274999818552588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137343514,"filename":"image_26112025_03_02_15_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/26/ad2668d59f85b335ac0d4b54711cf3c1.jpg","text":"TemporaryFile(/tmp/multipartBody6477897675005196831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137343514,"filename":"image_26112025_03_02_27_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9e03af4a6ac557b0eb08fec99a204310.jpg","text":"TemporaryFile(/tmp/multipartBody5166352914000380066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137343514,"filename":"image_26112025_03_02_31_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/26/ce2e52abb046ff8e751d99826b5e1bb8.jpg","text":"TemporaryFile(/tmp/multipartBody8362680717598979586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137343514,"filename":"image_26112025_03_02_18_3270.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f2ba900eff9d723c0473c428baedbcca.jpg","text":"TemporaryFile(/tmp/multipartBody3701894644739113038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137343514,"filename":"image_26112025_03_02_22_3498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396212802","file1":"1396212800","file0":"1396212797","file4":"1396212806","file5":"1396212809","file3":"1396212804"},"map_files_photo_id_array":[{"photo_id":"1396212809","filename":"file5"},{"photo_id":"1396212802","filename":"file2"},{"photo_id":"1396212806","filename":"file4"},{"photo_id":"1396212800","filename":"file1"},{"photo_id":"1396212797","filename":"file0"},{"photo_id":"1396212804","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396212804":["hashtag1","hashtag2"]},{"1396212797":["hashtag1","hashtag2"]},{"1396212806":["hashtag1","hashtag2"]},{"1396212809":["hashtag1","hashtag2"]},{"1396212800":["hashtag1","hashtag2"]},{"1396212802":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396212804, 1396212797, 1396212806, 1396212809, 1396212800, 1396212802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.567533016204834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 07:08:42.289233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_33_2588.jpg', '/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_36_2675.jpg', '/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_42_6290.jpg', '/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_44_1597.jpg', '/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_45_1694.jpg', '/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_48_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_33_2588.jpg
/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_36_2675.jpg
/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_42_6290.jpg
/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_44_1597.jpg
/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_45_1694.jpg
/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_48_2640.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":["1396212822","1396212819","1396212824","1396212823","1396212826","1396212825"],"photo_ids_order":["1396212819","1396212822","1396212823","1396212824","1396212825","1396212826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b6ab5554ddd675b339953aa18cab3005.jpg","text":"TemporaryFile(/tmp/multipartBody6003971837413317755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137382988,"filename":"image_26112025_03_02_36_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/26/00f5083b9d0a5dc534b5a8af36cdb9a7.jpg","text":"TemporaryFile(/tmp/multipartBody7836697540961493327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137382988,"filename":"image_26112025_03_02_33_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/26/6323ee76c445bd052dcd294e96a13157.jpg","text":"TemporaryFile(/tmp/multipartBody6639525016558537449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137382988,"filename":"image_26112025_03_02_44_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/26/f56c9d8f02a54b5a327375f60ddd3052.jpg","text":"TemporaryFile(/tmp/multipartBody1520042821969005957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137382988,"filename":"image_26112025_03_02_42_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/26/a67c17b506c9c3ac96b78e9f64bd5e85.jpg","text":"TemporaryFile(/tmp/multipartBody7592995882936137626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137382988,"filename":"image_26112025_03_02_48_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/26/b4f1eaa146af5637615d911691d7abd1.jpg","text":"TemporaryFile(/tmp/multipartBody2248128137370057923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137382988,"filename":"image_26112025_03_02_45_1694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396212823","file1":"1396212822","file0":"1396212819","file4":"1396212825","file5":"1396212826","file3":"1396212824"},"map_files_photo_id_array":[{"photo_id":"1396212826","filename":"file5"},{"photo_id":"1396212823","filename":"file2"},{"photo_id":"1396212825","filename":"file4"},{"photo_id":"1396212822","filename":"file1"},{"photo_id":"1396212819","filename":"file0"},{"photo_id":"1396212824","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396212822":["hashtag1","hashtag2"]},{"1396212819":["hashtag1","hashtag2"]},{"1396212824":["hashtag1","hashtag2"]},{"1396212823":["hashtag1","hashtag2"]},{"1396212826":["hashtag1","hashtag2"]},{"1396212825":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396212822, 1396212819, 1396212824, 1396212823, 1396212826, 1396212825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8464241027832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:09:27.033683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_51_2781.jpg', '/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_55_3799.jpg', '/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_57_2582.jpg', '/home/pi/Desktop/images/26112025/03/02/image_26112025_03_03_00_2673.jpg', '/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_03_3549.jpg', '/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_06_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_51_2781.jpg
/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_55_3799.jpg
/home/pi/Desktop/images/26112025/03/02/image_26112025_03_02_57_2582.jpg
/home/pi/Desktop/images/26112025/03/02/image_26112025_03_03_00_2673.jpg
/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_03_3549.jpg
/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_06_2628.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":["1396212849","1396212834","1396212837","1396212847","1396212841","1396212844"],"photo_ids_order":["1396212834","1396212837","1396212841","1396212844","1396212847","1396212849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fdeea43edf68cb1a6a9e00f5e99fca33.jpg","text":"TemporaryFile(/tmp/multipartBody237125410800952340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137427731,"filename":"image_26112025_03_03_06_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/26/55b8a6a9120f64cd1e4e834a63244ed1.jpg","text":"TemporaryFile(/tmp/multipartBody2808264306506139842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137427731,"filename":"image_26112025_03_02_51_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/26/a9c5c5e792d0af792c64e3bcb08b7888.jpg","text":"TemporaryFile(/tmp/multipartBody6575208744041679422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137427731,"filename":"image_26112025_03_02_55_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/26/62c0ce102be054901d4672cd2c82304d.jpg","text":"TemporaryFile(/tmp/multipartBody8168459749347756351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137427731,"filename":"image_26112025_03_03_03_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/26/ea4c01746d240420ee1b4baed5e9d2db.jpg","text":"TemporaryFile(/tmp/multipartBody5632259650303568272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137427731,"filename":"image_26112025_03_02_57_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/26/585dcce94bfedbfa37b33238fa457ad8.jpg","text":"TemporaryFile(/tmp/multipartBody8018694119371893564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137427731,"filename":"image_26112025_03_03_00_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396212841","file1":"1396212837","file0":"1396212834","file4":"1396212847","file5":"1396212849","file3":"1396212844"},"map_files_photo_id_array":[{"photo_id":"1396212849","filename":"file5"},{"photo_id":"1396212841","filename":"file2"},{"photo_id":"1396212847","filename":"file4"},{"photo_id":"1396212837","filename":"file1"},{"photo_id":"1396212834","filename":"file0"},{"photo_id":"1396212844","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396212849":["hashtag1","hashtag2"]},{"1396212834":["hashtag1","hashtag2"]},{"1396212837":["hashtag1","hashtag2"]},{"1396212847":["hashtag1","hashtag2"]},{"1396212841":["hashtag1","hashtag2"]},{"1396212844":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396212849, 1396212834, 1396212837, 1396212847, 1396212841, 1396212844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.259591817855835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:10:12.287460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_10_3517.jpg', '/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_12_2655.jpg', '/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_15_2716.jpg', '/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_19_3681.jpg', '/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_21_2569.jpg', '/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_24_2755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_10_3517.jpg
/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_12_2655.jpg
/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_15_2716.jpg
/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_19_3681.jpg
/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_21_2569.jpg
/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_24_2755.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":["1396212866","1396212854","1396212863","1396212859","1396212856","1396212852"],"photo_ids_order":["1396212852","1396212854","1396212856","1396212859","1396212863","1396212866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d19daa68ea0d317147dbf665e529dca7.jpg","text":"TemporaryFile(/tmp/multipartBody2726491051783357853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137472962,"filename":"image_26112025_03_03_24_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/008225fc88a08075f19fe7b1eeb887ae.jpg","text":"TemporaryFile(/tmp/multipartBody7171393116593447327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137472962,"filename":"image_26112025_03_03_12_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/26/799af9f68effd9c771904189df416dd2.jpg","text":"TemporaryFile(/tmp/multipartBody1650883553415555807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137472962,"filename":"image_26112025_03_03_21_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/26/965a6392776a65bf3b32cc9dfe109d8e.jpg","text":"TemporaryFile(/tmp/multipartBody116920878956185834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137472962,"filename":"image_26112025_03_03_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/26/afd30dbac20814c7a9c42cd6df232a5a.jpg","text":"TemporaryFile(/tmp/multipartBody2887630380743603178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137472962,"filename":"image_26112025_03_03_15_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/26/c5aba126ad59df0308e62bce8fa2ad3e.jpg","text":"TemporaryFile(/tmp/multipartBody4572024153388314800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137472962,"filename":"image_26112025_03_03_10_3517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396212856","file1":"1396212854","file0":"1396212852","file4":"1396212863","file5":"1396212866","file3":"1396212859"},"map_files_photo_id_array":[{"photo_id":"1396212866","filename":"file5"},{"photo_id":"1396212856","filename":"file2"},{"photo_id":"1396212863","filename":"file4"},{"photo_id":"1396212854","filename":"file1"},{"photo_id":"1396212852","filename":"file0"},{"photo_id":"1396212859","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396212866":["hashtag1","hashtag2"]},{"1396212854":["hashtag1","hashtag2"]},{"1396212863":["hashtag1","hashtag2"]},{"1396212859":["hashtag1","hashtag2"]},{"1396212856":["hashtag1","hashtag2"]},{"1396212852":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396212866, 1396212854, 1396212863, 1396212859, 1396212856, 1396212852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09168720245361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:11:03.986787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_28_3714.jpg', '/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_30_2634.jpg', '/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_33_2560.jpg', '/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_37_3647.jpg', '/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_39_2665.jpg', '/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_42_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_28_3714.jpg
/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_30_2634.jpg
/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_33_2560.jpg
/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_37_3647.jpg
/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_39_2665.jpg
/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_42_2683.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":["1396212899","1396212893","1396212896","1396212902","1396212889","1396212891"],"photo_ids_order":["1396212889","1396212891","1396212893","1396212896","1396212899","1396212902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a9c4656d10004b6dd6a6760f47d6db8f.jpg","text":"TemporaryFile(/tmp/multipartBody4110474183112347369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137524728,"filename":"image_26112025_03_03_39_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4f77a920fd67c539dead412d7982ef65.jpg","text":"TemporaryFile(/tmp/multipartBody9098969017692473733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137524728,"filename":"image_26112025_03_03_33_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/26/30fb3b7d4fcf558ecabfaab8339654cc.jpg","text":"TemporaryFile(/tmp/multipartBody885392988240363617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137524728,"filename":"image_26112025_03_03_37_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/26/af7f044474971a8fb92eaa84e2bc0814.jpg","text":"TemporaryFile(/tmp/multipartBody3343106891845367451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137524728,"filename":"image_26112025_03_03_42_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/26/af08f9430d4730b1a89b409312c9a531.jpg","text":"TemporaryFile(/tmp/multipartBody2819006850255541915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137524728,"filename":"image_26112025_03_03_28_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/26/48204cb3afc16569c4a7e3098a3fb42a.jpg","text":"TemporaryFile(/tmp/multipartBody141763930527732183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137524728,"filename":"image_26112025_03_03_30_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396212893","file1":"1396212891","file0":"1396212889","file4":"1396212899","file5":"1396212902","file3":"1396212896"},"map_files_photo_id_array":[{"photo_id":"1396212902","filename":"file5"},{"photo_id":"1396212893","filename":"file2"},{"photo_id":"1396212899","filename":"file4"},{"photo_id":"1396212891","filename":"file1"},{"photo_id":"1396212889","filename":"file0"},{"photo_id":"1396212896","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396212899":["hashtag1","hashtag2"]},{"1396212893":["hashtag1","hashtag2"]},{"1396212896":["hashtag1","hashtag2"]},{"1396212902":["hashtag1","hashtag2"]},{"1396212889":["hashtag1","hashtag2"]},{"1396212891":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396212899, 1396212893, 1396212896, 1396212902, 1396212889, 1396212891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.206902265548706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 07:11:42.622054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_45_3591.jpg', '/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_48_2765.jpg', '/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_51_2501.jpg', '/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_54_3691.jpg', '/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_57_2588.jpg', '/home/pi/Desktop/images/26112025/03/03/image_26112025_03_04_01_3585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_45_3591.jpg
/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_48_2765.jpg
/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_51_2501.jpg
/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_54_3691.jpg
/home/pi/Desktop/images/26112025/03/03/image_26112025_03_03_57_2588.jpg
/home/pi/Desktop/images/26112025/03/03/image_26112025_03_04_01_3585.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":["1396212912","1396212915","1396212909","1396212914","1396212913","1396212916"],"photo_ids_order":["1396212909","1396212912","1396212913","1396212914","1396212915","1396212916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8c0f2eefe8966d151d2aca248903de69.jpg","text":"TemporaryFile(/tmp/multipartBody6935561391955574735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137563325,"filename":"image_26112025_03_03_48_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/26/8c874c1ec5eed07d1d127deac32c3e46.jpg","text":"TemporaryFile(/tmp/multipartBody2931145416383513081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137563325,"filename":"image_26112025_03_03_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/26/bd6f81b775ff4a4eb7dd68634d4a9723.jpg","text":"TemporaryFile(/tmp/multipartBody2587925447031483848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137563325,"filename":"image_26112025_03_03_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/26/72b53d549b4548fddac182fa9bbd97af.jpg","text":"TemporaryFile(/tmp/multipartBody1204812780043698691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137563325,"filename":"image_26112025_03_03_54_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/26/f1298637c192c00956f3c4cf8160abb4.jpg","text":"TemporaryFile(/tmp/multipartBody8780730336979222533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137563325,"filename":"image_26112025_03_03_51_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/26/3fec75a8b4f2140daabf03aa89b8f82e.jpg","text":"TemporaryFile(/tmp/multipartBody7388262155220192798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137563325,"filename":"image_26112025_03_04_01_3585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396212913","file1":"1396212912","file0":"1396212909","file4":"1396212915","file5":"1396212916","file3":"1396212914"},"map_files_photo_id_array":[{"photo_id":"1396212916","filename":"file5"},{"photo_id":"1396212913","filename":"file2"},{"photo_id":"1396212915","filename":"file4"},{"photo_id":"1396212912","filename":"file1"},{"photo_id":"1396212909","filename":"file0"},{"photo_id":"1396212914","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396212912":["hashtag1","hashtag2"]},{"1396212915":["hashtag1","hashtag2"]},{"1396212909":["hashtag1","hashtag2"]},{"1396212914":["hashtag1","hashtag2"]},{"1396212913":["hashtag1","hashtag2"]},{"1396212916":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396212912, 1396212915, 1396212909, 1396212914, 1396212913, 1396212916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81866693496704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:12:22.841635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_03_2609.jpg', '/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_06_2533.jpg', '/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_09_3533.jpg', '/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_12_2825.jpg', '/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_15_2798.jpg', '/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_19_3637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_03_2609.jpg
/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_06_2533.jpg
/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_09_3533.jpg
/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_12_2825.jpg
/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_15_2798.jpg
/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_19_3637.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":["1396212941","1396212935","1396212929","1396212923","1396212926","1396212945"],"photo_ids_order":["1396212923","1396212926","1396212929","1396212935","1396212941","1396212945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3b3fb7d9cef5f49dfbc39d8a4d733176.jpg","text":"TemporaryFile(/tmp/multipartBody1418691789428321522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137603543,"filename":"image_26112025_03_04_15_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/26/a2002c5106baa4896efc476f12d86717.jpg","text":"TemporaryFile(/tmp/multipartBody5436198330559093955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137603543,"filename":"image_26112025_03_04_12_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/26/f6051da87002f1e3c7622769d138e12a.jpg","text":"TemporaryFile(/tmp/multipartBody3562600550777651833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137603543,"filename":"image_26112025_03_04_09_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/26/32079a8dfb67b3c80c9611945244c499.jpg","text":"TemporaryFile(/tmp/multipartBody3857042971424986439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137603543,"filename":"image_26112025_03_04_03_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/31c1bbb479d1d200ce3cb02efb689666.jpg","text":"TemporaryFile(/tmp/multipartBody432388107826410558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137603543,"filename":"image_26112025_03_04_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/26/39a2f4b059e6e0742d7d67404ed71f04.jpg","text":"TemporaryFile(/tmp/multipartBody8509993467913048873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137603543,"filename":"image_26112025_03_04_19_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396212929","file1":"1396212926","file0":"1396212923","file4":"1396212941","file5":"1396212945","file3":"1396212935"},"map_files_photo_id_array":[{"photo_id":"1396212945","filename":"file5"},{"photo_id":"1396212929","filename":"file2"},{"photo_id":"1396212941","filename":"file4"},{"photo_id":"1396212926","filename":"file1"},{"photo_id":"1396212923","filename":"file0"},{"photo_id":"1396212935","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396212941":["hashtag1","hashtag2"]},{"1396212935":["hashtag1","hashtag2"]},{"1396212929":["hashtag1","hashtag2"]},{"1396212923":["hashtag1","hashtag2"]},{"1396212926":["hashtag1","hashtag2"]},{"1396212945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396212941, 1396212935, 1396212929, 1396212923, 1396212926, 1396212945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94214105606079 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:13:02.634613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 07:13:12.038134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_21_2734.jpg', '/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_24_2680.jpg', '/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_27_2879.jpg', '/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_31_3688.jpg', '/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_33_2687.jpg', '/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_36_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_21_2734.jpg
/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_24_2680.jpg
/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_27_2879.jpg
/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_31_3688.jpg
/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_33_2687.jpg
/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_36_2723.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":["1396212954","1396212952","1396212960","1396212963","1396212957","1396212966"],"photo_ids_order":["1396212952","1396212954","1396212957","1396212960","1396212963","1396212966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0fdff7a12ff52704718cd288b576c929.jpg","text":"TemporaryFile(/tmp/multipartBody6055419074853038141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137652722,"filename":"image_26112025_03_04_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/26/73364f702d4a1e164c1f022a4d7ea42d.jpg","text":"TemporaryFile(/tmp/multipartBody2732830726540241952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137652722,"filename":"image_26112025_03_04_21_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/26/5c482aba0e396a716fd280c8ab1fea5f.jpg","text":"TemporaryFile(/tmp/multipartBody5514115572639164018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137652722,"filename":"image_26112025_03_04_31_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/26/97a7f5dcf8dd65f37477ea848ea20631.jpg","text":"TemporaryFile(/tmp/multipartBody3585475245353520565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137652722,"filename":"image_26112025_03_04_33_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/26/30c9d94fc38639804f133daca8ab02be.jpg","text":"TemporaryFile(/tmp/multipartBody221717743457983246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137652722,"filename":"image_26112025_03_04_27_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/26/fc506fcb3f31c3a041e707ff0d46c3ec.jpg","text":"TemporaryFile(/tmp/multipartBody4033937917428228161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137652722,"filename":"image_26112025_03_04_36_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396212957","file1":"1396212954","file0":"1396212952","file4":"1396212963","file5":"1396212966","file3":"1396212960"},"map_files_photo_id_array":[{"photo_id":"1396212966","filename":"file5"},{"photo_id":"1396212957","filename":"file2"},{"photo_id":"1396212963","filename":"file4"},{"photo_id":"1396212954","filename":"file1"},{"photo_id":"1396212952","filename":"file0"},{"photo_id":"1396212960","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396212954":["hashtag1","hashtag2"]},{"1396212952":["hashtag1","hashtag2"]},{"1396212960":["hashtag1","hashtag2"]},{"1396212963":["hashtag1","hashtag2"]},{"1396212957":["hashtag1","hashtag2"]},{"1396212966":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396212954, 1396212952, 1396212960, 1396212963, 1396212957, 1396212966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67729210853577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:14:02.672413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_39_2649.jpg', '/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_42_3579.jpg', '/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_45_2633.jpg', '/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_48_3662.jpg', '/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_51_2751.jpg', '/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_54_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_39_2649.jpg
/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_42_3579.jpg
/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_45_2633.jpg
/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_48_3662.jpg
/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_51_2751.jpg
/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_54_2690.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":["1396212983","1396212986","1396212977","1396212979","1396212975","1396212972"],"photo_ids_order":["1396212972","1396212975","1396212977","1396212979","1396212983","1396212986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/75cf216c357970c03d1cef5a6f090cef.jpg","text":"TemporaryFile(/tmp/multipartBody4877569319036282226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137703482,"filename":"image_26112025_03_04_51_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/26/f6b442e6fd70f9743a37a8a0ca3eebf6.jpg","text":"TemporaryFile(/tmp/multipartBody1873820198031649868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137703482,"filename":"image_26112025_03_04_54_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e3c4ef5e5fedb9df5525ff9d298db76a.jpg","text":"TemporaryFile(/tmp/multipartBody3888567965297769005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137703482,"filename":"image_26112025_03_04_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/26/f3729ff30c4b44bd3893faae3cdeaa75.jpg","text":"TemporaryFile(/tmp/multipartBody4181349343885350883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137703482,"filename":"image_26112025_03_04_48_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/26/c191df1986f78cd6beadf516bc997ad5.jpg","text":"TemporaryFile(/tmp/multipartBody8385883992119415078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137703482,"filename":"image_26112025_03_04_42_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/26/91236dc3d86ab583f122ced25cbf834a.jpg","text":"TemporaryFile(/tmp/multipartBody5482877627340304858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137703482,"filename":"image_26112025_03_04_39_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396212977","file1":"1396212975","file0":"1396212972","file4":"1396212983","file5":"1396212986","file3":"1396212979"},"map_files_photo_id_array":[{"photo_id":"1396212986","filename":"file5"},{"photo_id":"1396212977","filename":"file2"},{"photo_id":"1396212983","filename":"file4"},{"photo_id":"1396212975","filename":"file1"},{"photo_id":"1396212972","filename":"file0"},{"photo_id":"1396212979","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396212983":["hashtag1","hashtag2"]},{"1396212986":["hashtag1","hashtag2"]},{"1396212977":["hashtag1","hashtag2"]},{"1396212979":["hashtag1","hashtag2"]},{"1396212975":["hashtag1","hashtag2"]},{"1396212972":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396212983, 1396212986, 1396212977, 1396212979, 1396212975, 1396212972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42787146568298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 07:14:42.064809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_57_2675.jpg', '/home/pi/Desktop/images/26112025/03/04/image_26112025_03_05_00_3744.jpg', '/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_03_2565.jpg', '/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_06_2876.jpg', '/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_09_3567.jpg', '/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_12_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/04/image_26112025_03_04_57_2675.jpg
/home/pi/Desktop/images/26112025/03/04/image_26112025_03_05_00_3744.jpg
/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_03_2565.jpg
/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_06_2876.jpg
/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_09_3567.jpg
/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_12_2648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396213002","1396213001","1396212994","1396212997","1396213003","1396212999"],"photo_ids_order":["1396212994","1396212997","1396212999","1396213001","1396213002","1396213003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4c849a01e0f5771ab7dbda61c7a869d5.jpg","text":"TemporaryFile(/tmp/multipartBody3483467631067487253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137742737,"filename":"image_26112025_03_05_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/26/54cc9c9dd5d7d324c87e4b74678e44d6.jpg","text":"TemporaryFile(/tmp/multipartBody504399227821765304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137742737,"filename":"image_26112025_03_05_06_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/26/763d1a7e605f638134a1d44062bea849.jpg","text":"TemporaryFile(/tmp/multipartBody7918361339794384805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137742737,"filename":"image_26112025_03_04_57_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/26/bee5b370f3282ecc132e71e2d330912e.jpg","text":"TemporaryFile(/tmp/multipartBody5520697345920033083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137742737,"filename":"image_26112025_03_05_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/26/54821f48b9814483ac541fca08246e02.jpg","text":"TemporaryFile(/tmp/multipartBody2278787506812339393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137742737,"filename":"image_26112025_03_05_12_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/01281ed4fb0f312a19d24ef356efa608.jpg","text":"TemporaryFile(/tmp/multipartBody7254991038717589014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137742737,"filename":"image_26112025_03_05_03_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396212999","file1":"1396212997","file0":"1396212994","file4":"1396213002","file5":"1396213003","file3":"1396213001"},"map_files_photo_id_array":[{"photo_id":"1396213003","filename":"file5"},{"photo_id":"1396212999","filename":"file2"},{"photo_id":"1396213002","filename":"file4"},{"photo_id":"1396212997","filename":"file1"},{"photo_id":"1396212994","filename":"file0"},{"photo_id":"1396213001","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396213002":["hashtag1","hashtag2"]},{"1396213001":["hashtag1","hashtag2"]},{"1396212994":["hashtag1","hashtag2"]},{"1396212997":["hashtag1","hashtag2"]},{"1396213003":["hashtag1","hashtag2"]},{"1396212999":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396213002, 1396213001, 1396212994, 1396212997, 1396213003, 1396212999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.965614795684814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:15:22.323546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_15_2701.jpg', '/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_18_3585.jpg', '/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_21_2662.jpg', '/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_24_2653.jpg', '/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_27_3702.jpg', '/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_30_2547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_15_2701.jpg
/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_18_3585.jpg
/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_21_2662.jpg
/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_24_2653.jpg
/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_27_3702.jpg
/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_30_2547.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":["1396213022","1396213016","1396213025","1396213019","1396213010","1396213013"],"photo_ids_order":["1396213010","1396213013","1396213016","1396213019","1396213022","1396213025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/340102da08bbb6ba298dd4258999720c.jpg","text":"TemporaryFile(/tmp/multipartBody350923000029041008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137783020,"filename":"image_26112025_03_05_27_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/26/3435494093dfac305549ee9290db5128.jpg","text":"TemporaryFile(/tmp/multipartBody8666978722720618035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137783020,"filename":"image_26112025_03_05_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/26/31533391d5aa7d9ec6549bda8cf6dbb0.jpg","text":"TemporaryFile(/tmp/multipartBody5267506224074815289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137783020,"filename":"image_26112025_03_05_30_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/26/0e930ec76e533ce7abbe825a017595a0.jpg","text":"TemporaryFile(/tmp/multipartBody1186770639732843987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137783020,"filename":"image_26112025_03_05_24_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/26/ea328291939906e9e2d979a3d643977a.jpg","text":"TemporaryFile(/tmp/multipartBody3240572549688300139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137783020,"filename":"image_26112025_03_05_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/26/2ae9160f284d0e10a70c8cbf45730643.jpg","text":"TemporaryFile(/tmp/multipartBody6879900074411017615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137783020,"filename":"image_26112025_03_05_18_3585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396213016","file1":"1396213013","file0":"1396213010","file4":"1396213022","file5":"1396213025","file3":"1396213019"},"map_files_photo_id_array":[{"photo_id":"1396213025","filename":"file5"},{"photo_id":"1396213016","filename":"file2"},{"photo_id":"1396213022","filename":"file4"},{"photo_id":"1396213013","filename":"file1"},{"photo_id":"1396213010","filename":"file0"},{"photo_id":"1396213019","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396213022":["hashtag1","hashtag2"]},{"1396213016":["hashtag1","hashtag2"]},{"1396213025":["hashtag1","hashtag2"]},{"1396213019":["hashtag1","hashtag2"]},{"1396213010":["hashtag1","hashtag2"]},{"1396213013":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396213022, 1396213016, 1396213025, 1396213019, 1396213010, 1396213013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.454360246658325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:16:03.120332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_33_3599.jpg', '/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_36_2616.jpg', '/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_39_2577.jpg', '/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_42_3546.jpg', '/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_45_2652.jpg', '/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_47_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_33_3599.jpg
/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_36_2616.jpg
/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_39_2577.jpg
/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_42_3546.jpg
/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_45_2652.jpg
/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_47_2646.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":["1396213037","1396213051","1396213030","1396213048","1396213027","1396213029"],"photo_ids_order":["1396213027","1396213029","1396213030","1396213037","1396213048","1396213051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bdf8b3df503d1dfea1d76dbf0d391b36.jpg","text":"TemporaryFile(/tmp/multipartBody5268243236671860870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137823853,"filename":"image_26112025_03_05_42_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/26/ae9593a662d44a91331c0cb1042ab7a4.jpg","text":"TemporaryFile(/tmp/multipartBody9158704412811493177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137823853,"filename":"image_26112025_03_05_47_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/26/485c807c6cd1f21ad1e22190962aceac.jpg","text":"TemporaryFile(/tmp/multipartBody1651164836301438743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137823853,"filename":"image_26112025_03_05_39_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/26/83a13adbac1e175d708ea87ee498a909.jpg","text":"TemporaryFile(/tmp/multipartBody6905441708220756996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137823853,"filename":"image_26112025_03_05_45_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/26/72b8570234460cf2a43cf372fbb1d8c7.jpg","text":"TemporaryFile(/tmp/multipartBody422958549242824042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137823853,"filename":"image_26112025_03_05_33_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/26/d4cc3f53722d84ca16de3c4947d1bad9.jpg","text":"TemporaryFile(/tmp/multipartBody725305956170035099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137823853,"filename":"image_26112025_03_05_36_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396213030","file1":"1396213029","file0":"1396213027","file4":"1396213048","file5":"1396213051","file3":"1396213037"},"map_files_photo_id_array":[{"photo_id":"1396213051","filename":"file5"},{"photo_id":"1396213030","filename":"file2"},{"photo_id":"1396213048","filename":"file4"},{"photo_id":"1396213029","filename":"file1"},{"photo_id":"1396213027","filename":"file0"},{"photo_id":"1396213037","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396213037":["hashtag1","hashtag2"]},{"1396213051":["hashtag1","hashtag2"]},{"1396213030":["hashtag1","hashtag2"]},{"1396213048":["hashtag1","hashtag2"]},{"1396213027":["hashtag1","hashtag2"]},{"1396213029":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396213037, 1396213051, 1396213030, 1396213048, 1396213027, 1396213029)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.45388126373291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:17:03.344175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_54_2675.jpg', '/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_56_2684.jpg', '/home/pi/Desktop/images/26112025/03/05/image_26112025_03_06_00_3680.jpg', '/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_06_3543.jpg', '/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_09_2531.jpg', '/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_12_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_54_2675.jpg
/home/pi/Desktop/images/26112025/03/05/image_26112025_03_05_56_2684.jpg
/home/pi/Desktop/images/26112025/03/05/image_26112025_03_06_00_3680.jpg
/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_06_3543.jpg
/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_09_2531.jpg
/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_12_2658.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":["1396213076","1396213063","1396213068","1396213071","1396213065","1396213059"],"photo_ids_order":["1396213059","1396213063","1396213065","1396213068","1396213071","1396213076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/68350b99048baabe975f3b6af7ee441a.jpg","text":"TemporaryFile(/tmp/multipartBody270122667023715429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137884109,"filename":"image_26112025_03_06_12_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/26/47e3a14d562db9907ef612ad40225f8f.jpg","text":"TemporaryFile(/tmp/multipartBody407721552286004975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137884109,"filename":"image_26112025_03_05_56_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/26/33017daaed57394c6bf114b08bba8ccc.jpg","text":"TemporaryFile(/tmp/multipartBody8871422796291952358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137884109,"filename":"image_26112025_03_06_06_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/26/0cd54e861acaec8404288ff43b993a5d.jpg","text":"TemporaryFile(/tmp/multipartBody4096419490676653811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137884109,"filename":"image_26112025_03_06_09_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/26/f53bb8bbba92d689d429139b9c00bb97.jpg","text":"TemporaryFile(/tmp/multipartBody7331322206045773200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137884109,"filename":"image_26112025_03_06_00_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/26/9b51b87f33996669787eec90376692a3.jpg","text":"TemporaryFile(/tmp/multipartBody5762806910264267571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137884109,"filename":"image_26112025_03_05_54_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396213065","file1":"1396213063","file0":"1396213059","file4":"1396213071","file5":"1396213076","file3":"1396213068"},"map_files_photo_id_array":[{"photo_id":"1396213076","filename":"file5"},{"photo_id":"1396213065","filename":"file2"},{"photo_id":"1396213071","filename":"file4"},{"photo_id":"1396213063","filename":"file1"},{"photo_id":"1396213059","filename":"file0"},{"photo_id":"1396213068","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396213076":["hashtag1","hashtag2"]},{"1396213063":["hashtag1","hashtag2"]},{"1396213068":["hashtag1","hashtag2"]},{"1396213071":["hashtag1","hashtag2"]},{"1396213065":["hashtag1","hashtag2"]},{"1396213059":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396213076, 1396213063, 1396213068, 1396213071, 1396213065, 1396213059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.003663778305054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 07:17:42.480048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_15_3740.jpg', '/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_18_2691.jpg', '/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_21_2603.jpg', '/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_24_3690.jpg', '/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_27_2676.jpg', '/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_29_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_15_3740.jpg
/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_18_2691.jpg
/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_21_2603.jpg
/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_24_3690.jpg
/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_27_2676.jpg
/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_29_2565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396213085","1396213094","1396213084","1396213087","1396213086","1396213089"],"photo_ids_order":["1396213084","1396213085","1396213086","1396213087","1396213089","1396213094"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/136d5a089241fa65da927f53c9c90abe.jpg","text":"TemporaryFile(/tmp/multipartBody8399727644586214416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137923218,"filename":"image_26112025_03_06_18_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/26/ca9ce8aa3d68f6311d6eefedb33a2664.jpg","text":"TemporaryFile(/tmp/multipartBody5447098218012096423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137923218,"filename":"image_26112025_03_06_29_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/26/e2b59ad7ba7cf85dd07d1263fd343989.jpg","text":"TemporaryFile(/tmp/multipartBody4525677292708666079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137923218,"filename":"image_26112025_03_06_15_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/26/8fb1f438f0208f4df0146b46e208878a.jpg","text":"TemporaryFile(/tmp/multipartBody6600731634701680534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137923218,"filename":"image_26112025_03_06_24_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/26/3f99c87bee763acbcdb09445fb2efc5d.jpg","text":"TemporaryFile(/tmp/multipartBody6458164615122615149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137923218,"filename":"image_26112025_03_06_21_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/26/9bf15b66693b347eb286e9c8e5587491.jpg","text":"TemporaryFile(/tmp/multipartBody4593923389523342214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137923218,"filename":"image_26112025_03_06_27_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396213086","file1":"1396213085","file0":"1396213084","file4":"1396213089","file5":"1396213094","file3":"1396213087"},"map_files_photo_id_array":[{"photo_id":"1396213094","filename":"file5"},{"photo_id":"1396213086","filename":"file2"},{"photo_id":"1396213089","filename":"file4"},{"photo_id":"1396213085","filename":"file1"},{"photo_id":"1396213084","filename":"file0"},{"photo_id":"1396213087","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396213085":["hashtag1","hashtag2"]},{"1396213094":["hashtag1","hashtag2"]},{"1396213084":["hashtag1","hashtag2"]},{"1396213087":["hashtag1","hashtag2"]},{"1396213086":["hashtag1","hashtag2"]},{"1396213089":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396213085, 1396213094, 1396213084, 1396213087, 1396213086, 1396213089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.652398109436035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:18:22.670466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_33_3653.jpg', '/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_36_2688.jpg', '/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_42_3645.jpg', '/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_45_2765.jpg', '/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_48_2690.jpg', '/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_51_3684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_33_3653.jpg
/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_36_2688.jpg
/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_42_3645.jpg
/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_45_2765.jpg
/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_48_2690.jpg
/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_51_3684.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":["1396213127","1396213100","1396213103","1396213106","1396213114","1396213122"],"photo_ids_order":["1396213100","1396213103","1396213106","1396213114","1396213122","1396213127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/954234a34f66f19536038afe71bc5808.jpg","text":"TemporaryFile(/tmp/multipartBody1621468442164802541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137963370,"filename":"image_26112025_03_06_51_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/26/fdcde17b75ded33ea5c238fbd7853835.jpg","text":"TemporaryFile(/tmp/multipartBody8405396516252452936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137963370,"filename":"image_26112025_03_06_33_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/26/d5a867a178bde0373e61a4d8a9208ceb.jpg","text":"TemporaryFile(/tmp/multipartBody8364397240484674644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137963370,"filename":"image_26112025_03_06_36_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/26/a9a3ebb59f2360347bf5897e2082e883.jpg","text":"TemporaryFile(/tmp/multipartBody3134320659926571836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137963370,"filename":"image_26112025_03_06_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/26/514806817f79ff44bbb519e5c4afcf4a.jpg","text":"TemporaryFile(/tmp/multipartBody4725580904873941818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137963370,"filename":"image_26112025_03_06_45_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/26/57cdf46766fa760d49fc19c558b68d13.jpg","text":"TemporaryFile(/tmp/multipartBody132938941255699298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764137963370,"filename":"image_26112025_03_06_48_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396213106","file1":"1396213103","file0":"1396213100","file4":"1396213122","file5":"1396213127","file3":"1396213114"},"map_files_photo_id_array":[{"photo_id":"1396213127","filename":"file5"},{"photo_id":"1396213106","filename":"file2"},{"photo_id":"1396213122","filename":"file4"},{"photo_id":"1396213103","filename":"file1"},{"photo_id":"1396213100","filename":"file0"},{"photo_id":"1396213114","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396213127":["hashtag1","hashtag2"]},{"1396213100":["hashtag1","hashtag2"]},{"1396213103":["hashtag1","hashtag2"]},{"1396213106":["hashtag1","hashtag2"]},{"1396213114":["hashtag1","hashtag2"]},{"1396213122":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396213127, 1396213100, 1396213103, 1396213106, 1396213114, 1396213122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15555763244629 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:19:02.753265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_54_2586.jpg', '/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_56_2635.jpg', '/home/pi/Desktop/images/26112025/03/06/image_26112025_03_07_00_3654.jpg', '/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_03_2754.jpg', '/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_05_2551.jpg', '/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_09_3652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_54_2586.jpg
/home/pi/Desktop/images/26112025/03/06/image_26112025_03_06_56_2635.jpg
/home/pi/Desktop/images/26112025/03/06/image_26112025_03_07_00_3654.jpg
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_03_2754.jpg
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_05_2551.jpg
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_09_3652.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":["1396213172","1396213136","1396213139","1396213130","1396213132","1396213134"],"photo_ids_order":["1396213130","1396213132","1396213134","1396213136","1396213139","1396213172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6166c342acde68e9eefd2224452b14a6.jpg","text":"TemporaryFile(/tmp/multipartBody6098471451323429770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138003675,"filename":"image_26112025_03_07_09_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/26/be5bb92c0a3f43a3fd4ddbe40b62a75a.jpg","text":"TemporaryFile(/tmp/multipartBody1976164764316657440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138003675,"filename":"image_26112025_03_07_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/26/c507dbbd20f5d907e0ddb82d2a08f16f.jpg","text":"TemporaryFile(/tmp/multipartBody2690876047054641693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138003675,"filename":"image_26112025_03_07_05_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/26/53338211663a0506baceaaf776e4eca1.jpg","text":"TemporaryFile(/tmp/multipartBody4210573570121816512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138003675,"filename":"image_26112025_03_06_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/26/7d6c8f88e1b8f89dd223c87157e50f2c.jpg","text":"TemporaryFile(/tmp/multipartBody3504406399769362992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138003675,"filename":"image_26112025_03_06_56_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/26/4e5ac05921668daf32c0684857147fd7.jpg","text":"TemporaryFile(/tmp/multipartBody1900363620035421985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138003675,"filename":"image_26112025_03_07_00_3654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396213134","file1":"1396213132","file0":"1396213130","file4":"1396213139","file5":"1396213172","file3":"1396213136"},"map_files_photo_id_array":[{"photo_id":"1396213172","filename":"file5"},{"photo_id":"1396213134","filename":"file2"},{"photo_id":"1396213139","filename":"file4"},{"photo_id":"1396213132","filename":"file1"},{"photo_id":"1396213130","filename":"file0"},{"photo_id":"1396213136","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396213172":["hashtag1","hashtag2"]},{"1396213136":["hashtag1","hashtag2"]},{"1396213139":["hashtag1","hashtag2"]},{"1396213130":["hashtag1","hashtag2"]},{"1396213132":["hashtag1","hashtag2"]},{"1396213134":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396213172, 1396213136, 1396213139, 1396213130, 1396213132, 1396213134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16923546791077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 07:19:42.062605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_12_2702.jpg', '/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_14_2595.jpg', '/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_18_3551.jpg', '/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_21_2777.jpg', '/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_23_2694.jpg', '/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_27_3681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_12_2702.jpg
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_14_2595.jpg
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_18_3551.jpg
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_21_2777.jpg
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_23_2694.jpg
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_27_3681.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":["1396213361","1396213283","1396213459","1396213323","1396213425","1396213394"],"photo_ids_order":["1396213283","1396213323","1396213361","1396213394","1396213425","1396213459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/05cd8abd303a8d8c0f5a7ac213b811a0.jpg","text":"TemporaryFile(/tmp/multipartBody2755478095419974720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138042759,"filename":"image_26112025_03_07_18_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/26/60987d17321f463b952483bab3f36bdb.jpg","text":"TemporaryFile(/tmp/multipartBody8321194734985781470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138042759,"filename":"image_26112025_03_07_12_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/26/ae93833d88fe1f9ef8d7f6eb5ec7de9e.jpg","text":"TemporaryFile(/tmp/multipartBody9042493881333710840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138042759,"filename":"image_26112025_03_07_27_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/26/2f483bdbf965946ae099264f7ce02c3d.jpg","text":"TemporaryFile(/tmp/multipartBody3094943930833537335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138042759,"filename":"image_26112025_03_07_14_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/26/9501e0f5dfafc6c51bd5232576120b87.jpg","text":"TemporaryFile(/tmp/multipartBody3902664772959328910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138042759,"filename":"image_26112025_03_07_23_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/26/ced0aa1c4319b679f5e08d7ecc910986.jpg","text":"TemporaryFile(/tmp/multipartBody1972188113767054607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138042759,"filename":"image_26112025_03_07_21_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396213361","file1":"1396213323","file0":"1396213283","file4":"1396213425","file5":"1396213459","file3":"1396213394"},"map_files_photo_id_array":[{"photo_id":"1396213459","filename":"file5"},{"photo_id":"1396213361","filename":"file2"},{"photo_id":"1396213425","filename":"file4"},{"photo_id":"1396213323","filename":"file1"},{"photo_id":"1396213283","filename":"file0"},{"photo_id":"1396213394","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396213361":["hashtag1","hashtag2"]},{"1396213283":["hashtag1","hashtag2"]},{"1396213459":["hashtag1","hashtag2"]},{"1396213323":["hashtag1","hashtag2"]},{"1396213425":["hashtag1","hashtag2"]},{"1396213394":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396213361, 1396213283, 1396213459, 1396213323, 1396213425, 1396213394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33188772201538 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:20:22.210966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_30_2572.jpg', '/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_32_2646.jpg', '/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_36_3582.jpg', '/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_39_2789.jpg', '/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_42_3555.jpg', '/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_47_4969.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_30_2572.jpg
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_32_2646.jpg
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_36_3582.jpg
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_39_2789.jpg
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_42_3555.jpg
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_47_4969.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.6623084545135498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:20:32.294870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_30_2572.jpg', '/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_32_2646.jpg', '/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_36_3582.jpg', '/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_39_2789.jpg', '/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_42_3555.jpg', '/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_47_4969.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_30_2572.jpg
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_32_2646.jpg
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_36_3582.jpg
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_39_2789.jpg
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_42_3555.jpg
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_47_4969.jpg
 val : 1 : upload photos already in processing! 
 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":["1396213643","1396213739","1396213798","1396213709","1396213677","1396213758"],"photo_ids_order":["1396213643","1396213677","1396213709","1396213739","1396213758","1396213798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d8aeaba79c03cbbd5c3e95c244ca06f7.jpg","text":"TemporaryFile(/tmp/multipartBody7433545235352961352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138092993,"filename":"image_26112025_03_07_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/26/611cc71727e648a1aa7136c876ca1f7f.jpg","text":"TemporaryFile(/tmp/multipartBody2851345969432592457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138092993,"filename":"image_26112025_03_07_39_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/26/1f3fabcd2e87f1db76785bc11b996fe8.jpg","text":"TemporaryFile(/tmp/multipartBody4478883574858011131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138092993,"filename":"image_26112025_03_07_47_4969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c32f715cc8ca00d7cf87f2f32226ddde.jpg","text":"TemporaryFile(/tmp/multipartBody6499349043144097064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138092993,"filename":"image_26112025_03_07_36_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/26/572528f5a7f2573d0e747f5f339a0f66.jpg","text":"TemporaryFile(/tmp/multipartBody4330504559263965823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138092993,"filename":"image_26112025_03_07_32_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/26/85a7aa4b6cd7608ea2109b844d158460.jpg","text":"TemporaryFile(/tmp/multipartBody1972992735121202187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138092993,"filename":"image_26112025_03_07_42_3555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396213709","file1":"1396213677","file0":"1396213643","file4":"1396213758","file5":"1396213798","file3":"1396213739"},"map_files_photo_id_array":[{"photo_id":"1396213798","filename":"file5"},{"photo_id":"1396213709","filename":"file2"},{"photo_id":"1396213758","filename":"file4"},{"photo_id":"1396213677","filename":"file1"},{"photo_id":"1396213643","filename":"file0"},{"photo_id":"1396213739","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396213643":["hashtag1","hashtag2"]},{"1396213739":["hashtag1","hashtag2"]},{"1396213798":["hashtag1","hashtag2"]},{"1396213709":["hashtag1","hashtag2"]},{"1396213677":["hashtag1","hashtag2"]},{"1396213758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396213643, 1396213739, 1396213798, 1396213709, 1396213677, 1396213758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.05318069458008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:21:32.171684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_49_1642.jpg', '/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_50_1552.jpg', '/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_54_3583.jpg', '/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_57_2931.jpg', '/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_59_2563.jpg', '/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_03_3637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_49_1642.jpg
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_50_1552.jpg
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_54_3583.jpg
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_57_2931.jpg
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_59_2563.jpg
/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_03_3637.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.6653339862823486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 07:21:42.175130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_49_1642.jpg', '/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_50_1552.jpg', '/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_54_3583.jpg', '/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_57_2931.jpg', '/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_59_2563.jpg', '/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_03_3637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_49_1642.jpg
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_50_1552.jpg
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_54_3583.jpg
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_57_2931.jpg
/home/pi/Desktop/images/26112025/03/07/image_26112025_03_07_59_2563.jpg
/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_03_3637.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":["1396214027","1396214050","1396214047","1396214052","1396214049","1396214051"],"photo_ids_order":["1396214027","1396214047","1396214049","1396214050","1396214051","1396214052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7d3fb0c7a5d64c99ebd7950778c2c902.jpg","text":"TemporaryFile(/tmp/multipartBody511836314798616750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138162874,"filename":"image_26112025_03_07_49_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/26/8e750cb96fe63cb78ee5bf6398799a9f.jpg","text":"TemporaryFile(/tmp/multipartBody4697725882134659434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138162874,"filename":"image_26112025_03_07_57_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/26/4e32e457ed42f629832ed06a886acf6f.jpg","text":"TemporaryFile(/tmp/multipartBody8609575883557106266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138162874,"filename":"image_26112025_03_07_50_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/26/5c412662c3648bd7209a6a387926e913.jpg","text":"TemporaryFile(/tmp/multipartBody4268853629802892182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138162874,"filename":"image_26112025_03_08_03_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/26/600ba387ae029b6f85417faccfb3d208.jpg","text":"TemporaryFile(/tmp/multipartBody5855114036734059709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138162874,"filename":"image_26112025_03_07_54_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/26/3c33fc5efdca652095859272a4bd01da.jpg","text":"TemporaryFile(/tmp/multipartBody687636384733430578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138162874,"filename":"image_26112025_03_07_59_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396214049","file1":"1396214047","file0":"1396214027","file4":"1396214051","file5":"1396214052","file3":"1396214050"},"map_files_photo_id_array":[{"photo_id":"1396214052","filename":"file5"},{"photo_id":"1396214049","filename":"file2"},{"photo_id":"1396214051","filename":"file4"},{"photo_id":"1396214047","filename":"file1"},{"photo_id":"1396214027","filename":"file0"},{"photo_id":"1396214050","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396214027":["hashtag1","hashtag2"]},{"1396214050":["hashtag1","hashtag2"]},{"1396214047":["hashtag1","hashtag2"]},{"1396214052":["hashtag1","hashtag2"]},{"1396214049":["hashtag1","hashtag2"]},{"1396214051":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396214027, 1396214050, 1396214047, 1396214052, 1396214049, 1396214051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63869094848633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:22:22.259554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_06_2656.jpg', '/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_08_2642.jpg', '/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_12_3706.jpg', '/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_15_2625.jpg', '/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_17_2683.jpg', '/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_21_3772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_06_2656.jpg
/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_08_2642.jpg
/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_12_3706.jpg
/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_15_2625.jpg
/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_17_2683.jpg
/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_21_3772.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":["1396214126","1396214060","1396214201","1396214163","1396214090","1396214237"],"photo_ids_order":["1396214060","1396214090","1396214126","1396214163","1396214201","1396214237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/95b03b8b7d537b4339755209324f4886.jpg","text":"TemporaryFile(/tmp/multipartBody3142266633045049396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138202922,"filename":"image_26112025_03_08_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/26/0a43e633e24672c7910b5bc8501c1358.jpg","text":"TemporaryFile(/tmp/multipartBody5075972042665733587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138202922,"filename":"image_26112025_03_08_06_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/26/dcf34757c6683dc85e9846f9f96cabc7.jpg","text":"TemporaryFile(/tmp/multipartBody3574898721751434407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138202922,"filename":"image_26112025_03_08_17_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/26/f06ae7196c94716bdbafc5ce547e0d59.jpg","text":"TemporaryFile(/tmp/multipartBody8039227694088271088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138202922,"filename":"image_26112025_03_08_15_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/26/dd201e984b0b74d13801b4623d7cad19.jpg","text":"TemporaryFile(/tmp/multipartBody1710421039548512362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138202922,"filename":"image_26112025_03_08_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/26/838c323621a1ea8f4dfb133759624b43.jpg","text":"TemporaryFile(/tmp/multipartBody6929293575769711749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138202922,"filename":"image_26112025_03_08_21_3772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396214126","file1":"1396214090","file0":"1396214060","file4":"1396214201","file5":"1396214237","file3":"1396214163"},"map_files_photo_id_array":[{"photo_id":"1396214237","filename":"file5"},{"photo_id":"1396214126","filename":"file2"},{"photo_id":"1396214201","filename":"file4"},{"photo_id":"1396214090","filename":"file1"},{"photo_id":"1396214060","filename":"file0"},{"photo_id":"1396214163","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396214126":["hashtag1","hashtag2"]},{"1396214060":["hashtag1","hashtag2"]},{"1396214201":["hashtag1","hashtag2"]},{"1396214163":["hashtag1","hashtag2"]},{"1396214090":["hashtag1","hashtag2"]},{"1396214237":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396214126, 1396214060, 1396214201, 1396214163, 1396214090, 1396214237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13814735412598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:23:02.991439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_24_2685.jpg', '/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_26_2571.jpg', '/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_30_3681.jpg', '/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_33_2640.jpg', '/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_35_2632.jpg', '/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_38_2807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_24_2685.jpg
/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_26_2571.jpg
/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_30_3681.jpg
/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_33_2640.jpg
/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_35_2632.jpg
/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_38_2807.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":["1396214362","1396214323","1396214311","1396214305","1396214307","1396214316"],"photo_ids_order":["1396214305","1396214307","1396214311","1396214316","1396214323","1396214362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/784a4fad55fb0349d880132ccf30695d.jpg","text":"TemporaryFile(/tmp/multipartBody1952775704234685928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138243795,"filename":"image_26112025_03_08_38_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/26/cf1ec44d53233cc0d29275d683033e5d.jpg","text":"TemporaryFile(/tmp/multipartBody6584372217384162377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138243795,"filename":"image_26112025_03_08_35_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/26/0e8917b9f42092cd9ef16f55073b2bb6.jpg","text":"TemporaryFile(/tmp/multipartBody9172144705263946380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138243795,"filename":"image_26112025_03_08_30_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/26/c1cc0f367d856c792d179747455733cc.jpg","text":"TemporaryFile(/tmp/multipartBody4662666213819903982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138243795,"filename":"image_26112025_03_08_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/26/f82338f979227f8571db5ea521d02e9a.jpg","text":"TemporaryFile(/tmp/multipartBody7205751440785977734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138243795,"filename":"image_26112025_03_08_26_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/26/0b9b9b890ff21f53752af16278f7583e.jpg","text":"TemporaryFile(/tmp/multipartBody4906079086244893938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138243795,"filename":"image_26112025_03_08_33_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396214311","file1":"1396214307","file0":"1396214305","file4":"1396214323","file5":"1396214362","file3":"1396214316"},"map_files_photo_id_array":[{"photo_id":"1396214362","filename":"file5"},{"photo_id":"1396214311","filename":"file2"},{"photo_id":"1396214323","filename":"file4"},{"photo_id":"1396214307","filename":"file1"},{"photo_id":"1396214305","filename":"file0"},{"photo_id":"1396214316","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396214362":["hashtag1","hashtag2"]},{"1396214323":["hashtag1","hashtag2"]},{"1396214311":["hashtag1","hashtag2"]},{"1396214305":["hashtag1","hashtag2"]},{"1396214307":["hashtag1","hashtag2"]},{"1396214316":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396214362, 1396214323, 1396214311, 1396214305, 1396214307, 1396214316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89117503166199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 07:23:42.366342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_42_3776.jpg', '/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_45_2683.jpg', '/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_47_2605.jpg', '/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_51_3721.jpg', '/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_54_2662.jpg', '/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_56_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_42_3776.jpg
/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_45_2683.jpg
/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_47_2605.jpg
/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_51_3721.jpg
/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_54_2662.jpg
/home/pi/Desktop/images/26112025/03/08/image_26112025_03_08_56_2673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396214467","1396214461","1396214460","1396214463","1396214457","1396214465"],"photo_ids_order":["1396214457","1396214460","1396214461","1396214463","1396214465","1396214467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3d2fe292650ef37dc97a5b4272c609b8.jpg","text":"TemporaryFile(/tmp/multipartBody9010591213895569558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138283069,"filename":"image_26112025_03_08_56_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/26/6f6b9b1e518b114d0ae938c55d5e3389.jpg","text":"TemporaryFile(/tmp/multipartBody7981981109160115648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138283069,"filename":"image_26112025_03_08_47_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/26/b31be9d090e8650616fe50595a6c75cb.jpg","text":"TemporaryFile(/tmp/multipartBody3335559112836865380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138283069,"filename":"image_26112025_03_08_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/26/c025b9e7b24eb5614ba20e72329bb43d.jpg","text":"TemporaryFile(/tmp/multipartBody7240512080377355147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138283069,"filename":"image_26112025_03_08_51_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/26/ea1eb94d759ff49313d75009ab232437.jpg","text":"TemporaryFile(/tmp/multipartBody3148778752895019500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138283069,"filename":"image_26112025_03_08_42_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/26/44f6fe1e37d0f8b1b72b4ea40ad996ad.jpg","text":"TemporaryFile(/tmp/multipartBody4910070183501978437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138283069,"filename":"image_26112025_03_08_54_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396214461","file1":"1396214460","file0":"1396214457","file4":"1396214465","file5":"1396214467","file3":"1396214463"},"map_files_photo_id_array":[{"photo_id":"1396214467","filename":"file5"},{"photo_id":"1396214461","filename":"file2"},{"photo_id":"1396214465","filename":"file4"},{"photo_id":"1396214460","filename":"file1"},{"photo_id":"1396214457","filename":"file0"},{"photo_id":"1396214463","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396214467":["hashtag1","hashtag2"]},{"1396214461":["hashtag1","hashtag2"]},{"1396214460":["hashtag1","hashtag2"]},{"1396214463":["hashtag1","hashtag2"]},{"1396214457":["hashtag1","hashtag2"]},{"1396214465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396214467, 1396214461, 1396214460, 1396214463, 1396214457, 1396214465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15247702598572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:24:22.549209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/08/image_26112025_03_09_00_3809.jpg', '/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_03_3146.jpg', '/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_06_2556.jpg', '/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_08_2584.jpg', '/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_12_3613.jpg', '/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_15_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/08/image_26112025_03_09_00_3809.jpg
/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_03_3146.jpg
/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_06_2556.jpg
/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_08_2584.jpg
/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_12_3613.jpg
/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_15_2611.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":["1396214680","1396214575","1396214473","1396214533","1396214496","1396214643"],"photo_ids_order":["1396214473","1396214496","1396214533","1396214575","1396214643","1396214680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/79e7e3011dfd721879200ae3836bbea0.jpg","text":"TemporaryFile(/tmp/multipartBody346141036016548387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138323267,"filename":"image_26112025_03_09_15_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/26/97f56430e5afa25da0ac9c40e14d46ba.jpg","text":"TemporaryFile(/tmp/multipartBody8721647900404335168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138323267,"filename":"image_26112025_03_09_08_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0cfa91b08e95d4452c2cbec0cd57068f.jpg","text":"TemporaryFile(/tmp/multipartBody6007508121214161183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138323267,"filename":"image_26112025_03_09_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/26/a076aef0db69fb94c10ef09a3e86552b.jpg","text":"TemporaryFile(/tmp/multipartBody8593588388259396035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138323267,"filename":"image_26112025_03_09_06_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/26/512eb3eb81e049ac990ac57af91171f2.jpg","text":"TemporaryFile(/tmp/multipartBody6572163331723090283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138323267,"filename":"image_26112025_03_09_03_3146.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6d2f9e8363efcb7fda1dfd531ee91d4e.jpg","text":"TemporaryFile(/tmp/multipartBody7347657734701588942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138323267,"filename":"image_26112025_03_09_12_3613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396214533","file1":"1396214496","file0":"1396214473","file4":"1396214643","file5":"1396214680","file3":"1396214575"},"map_files_photo_id_array":[{"photo_id":"1396214680","filename":"file5"},{"photo_id":"1396214533","filename":"file2"},{"photo_id":"1396214643","filename":"file4"},{"photo_id":"1396214496","filename":"file1"},{"photo_id":"1396214473","filename":"file0"},{"photo_id":"1396214575","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396214680":["hashtag1","hashtag2"]},{"1396214575":["hashtag1","hashtag2"]},{"1396214473":["hashtag1","hashtag2"]},{"1396214533":["hashtag1","hashtag2"]},{"1396214496":["hashtag1","hashtag2"]},{"1396214643":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396214680, 1396214575, 1396214473, 1396214533, 1396214496, 1396214643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.45206046104431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:25:12.664252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_17_2601.jpg', '/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_21_3642.jpg', '/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_24_2638.jpg', '/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_26_2603.jpg', '/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_30_3756.jpg', '/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_32_2521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_17_2601.jpg
/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_21_3642.jpg
/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_24_2638.jpg
/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_26_2603.jpg
/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_30_3756.jpg
/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_32_2521.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":["1396214752","1396214766","1396214760","1396214754","1396214763","1396214756"],"photo_ids_order":["1396214752","1396214754","1396214756","1396214760","1396214763","1396214766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c9aa74c6ee49a6395981a3593e371bba.jpg","text":"TemporaryFile(/tmp/multipartBody7579376921545732516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138373359,"filename":"image_26112025_03_09_17_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/26/1a1851b1ca876bdd7280aa1ba5abcd10.jpg","text":"TemporaryFile(/tmp/multipartBody824622720182822733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138373359,"filename":"image_26112025_03_09_32_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/26/d88e568121ed09fdcf09da7737d90b22.jpg","text":"TemporaryFile(/tmp/multipartBody7853972174474011486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138373359,"filename":"image_26112025_03_09_26_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/26/62a157a3e02ec084122eaac87fa3538b.jpg","text":"TemporaryFile(/tmp/multipartBody7464964133184546589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138373359,"filename":"image_26112025_03_09_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/26/755bb39fbbdb302bc76a9f34ac704d04.jpg","text":"TemporaryFile(/tmp/multipartBody2343143752262988550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138373359,"filename":"image_26112025_03_09_30_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/26/952ccec11dd116add07749a1cd51c0ff.jpg","text":"TemporaryFile(/tmp/multipartBody6335390240585252882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138373359,"filename":"image_26112025_03_09_24_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396214756","file1":"1396214754","file0":"1396214752","file4":"1396214763","file5":"1396214766","file3":"1396214760"},"map_files_photo_id_array":[{"photo_id":"1396214766","filename":"file5"},{"photo_id":"1396214756","filename":"file2"},{"photo_id":"1396214763","filename":"file4"},{"photo_id":"1396214754","filename":"file1"},{"photo_id":"1396214752","filename":"file0"},{"photo_id":"1396214760","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396214752":["hashtag1","hashtag2"]},{"1396214766":["hashtag1","hashtag2"]},{"1396214760":["hashtag1","hashtag2"]},{"1396214754":["hashtag1","hashtag2"]},{"1396214763":["hashtag1","hashtag2"]},{"1396214756":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396214752, 1396214766, 1396214760, 1396214754, 1396214763, 1396214756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.757508277893066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:26:02.390677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_36_3574.jpg', '/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_39_2573.jpg', '/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_41_2851.jpg', '/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_45_3647.jpg', '/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_48_2709.jpg', '/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_50_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_36_3574.jpg
/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_39_2573.jpg
/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_41_2851.jpg
/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_45_3647.jpg
/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_48_2709.jpg
/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_50_2610.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.6231281757354736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:26:11.945720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_36_3574.jpg', '/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_39_2573.jpg', '/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_41_2851.jpg', '/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_45_3647.jpg', '/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_48_2709.jpg', '/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_50_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_36_3574.jpg
/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_39_2573.jpg
/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_41_2851.jpg
/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_45_3647.jpg
/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_48_2709.jpg
/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_50_2610.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":["1396214790","1396214793","1396214787","1396214780","1396214783","1396214777"],"photo_ids_order":["1396214777","1396214780","1396214783","1396214787","1396214790","1396214793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/be09ab30f2bbedebee9da9e05cd14792.jpg","text":"TemporaryFile(/tmp/multipartBody3424702949208410231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138432612,"filename":"image_26112025_03_09_48_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/26/5fa27cb86c60b352b96ecda76cd3b950.jpg","text":"TemporaryFile(/tmp/multipartBody2353272985086554237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138432612,"filename":"image_26112025_03_09_50_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/26/f54803de152609da87fbd2fdf4cb31bb.jpg","text":"TemporaryFile(/tmp/multipartBody427411101426568647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138432612,"filename":"image_26112025_03_09_45_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f6a6855458a918546853d17d7458a077.jpg","text":"TemporaryFile(/tmp/multipartBody2016491659449846869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138432612,"filename":"image_26112025_03_09_39_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/26/d22d9fc8a2bd7562e98eeb0cc5dab26f.jpg","text":"TemporaryFile(/tmp/multipartBody8134206797029589433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138432612,"filename":"image_26112025_03_09_41_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/26/4447640ca2a17c3103880cf7d154c9f7.jpg","text":"TemporaryFile(/tmp/multipartBody2275485367604523023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138432612,"filename":"image_26112025_03_09_36_3574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396214783","file1":"1396214780","file0":"1396214777","file4":"1396214790","file5":"1396214793","file3":"1396214787"},"map_files_photo_id_array":[{"photo_id":"1396214793","filename":"file5"},{"photo_id":"1396214783","filename":"file2"},{"photo_id":"1396214790","filename":"file4"},{"photo_id":"1396214780","filename":"file1"},{"photo_id":"1396214777","filename":"file0"},{"photo_id":"1396214787","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396214790":["hashtag1","hashtag2"]},{"1396214793":["hashtag1","hashtag2"]},{"1396214787":["hashtag1","hashtag2"]},{"1396214780":["hashtag1","hashtag2"]},{"1396214783":["hashtag1","hashtag2"]},{"1396214777":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396214790, 1396214793, 1396214787, 1396214780, 1396214783, 1396214777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00683259963989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:27:03.148480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_54_3471.jpg', '/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_57_2712.jpg', '/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_59_2697.jpg', '/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_03_3633.jpg', '/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_12_3636.jpg', '/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_14_2571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_54_3471.jpg
/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_57_2712.jpg
/home/pi/Desktop/images/26112025/03/09/image_26112025_03_09_59_2697.jpg
/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_03_3633.jpg
/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_12_3636.jpg
/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_14_2571.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":["1396214822","1396214824","1396214833","1396214829","1396214826","1396214819"],"photo_ids_order":["1396214819","1396214822","1396214824","1396214826","1396214829","1396214833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2f42b8dc6c2e50aa6e886c0245c47866.jpg","text":"TemporaryFile(/tmp/multipartBody8527568848188228695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138483919,"filename":"image_26112025_03_09_57_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/906a1eb867a9ae3d4a5356d0f5e0f42e.jpg","text":"TemporaryFile(/tmp/multipartBody2564402686551291198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138483919,"filename":"image_26112025_03_09_59_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c5baf05faee3c3ffb44fa82bd93e2e9a.jpg","text":"TemporaryFile(/tmp/multipartBody3626525772457729047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138483919,"filename":"image_26112025_03_10_14_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/26/f5c1d2f9d9917bb6b7bbd8bf4a417d4f.jpg","text":"TemporaryFile(/tmp/multipartBody2486434774558878309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138483919,"filename":"image_26112025_03_10_12_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/26/f5dbdd02138f5fac937c95a5112d0261.jpg","text":"TemporaryFile(/tmp/multipartBody6478324536567787478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138483919,"filename":"image_26112025_03_10_03_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/26/59cde8a946355bbc8730b4ae70d26514.jpg","text":"TemporaryFile(/tmp/multipartBody2240192368047613939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138483919,"filename":"image_26112025_03_09_54_3471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396214824","file1":"1396214822","file0":"1396214819","file4":"1396214829","file5":"1396214833","file3":"1396214826"},"map_files_photo_id_array":[{"photo_id":"1396214833","filename":"file5"},{"photo_id":"1396214824","filename":"file2"},{"photo_id":"1396214829","filename":"file4"},{"photo_id":"1396214822","filename":"file1"},{"photo_id":"1396214819","filename":"file0"},{"photo_id":"1396214826","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396214822":["hashtag1","hashtag2"]},{"1396214824":["hashtag1","hashtag2"]},{"1396214833":["hashtag1","hashtag2"]},{"1396214829":["hashtag1","hashtag2"]},{"1396214826":["hashtag1","hashtag2"]},{"1396214819":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396214822, 1396214824, 1396214833, 1396214829, 1396214826, 1396214819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82769584655762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 07:27:42.495802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_17_2752.jpg', '/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_21_3757.jpg', '/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_23_2563.jpg', '/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_26_2729.jpg', '/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_30_3627.jpg', '/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_32_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_17_2752.jpg
/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_21_3757.jpg
/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_23_2563.jpg
/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_26_2729.jpg
/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_30_3627.jpg
/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_32_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":["1396214842","1396214845","1396214841","1396214844","1396214843","1396214846"],"photo_ids_order":["1396214841","1396214842","1396214843","1396214844","1396214845","1396214846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6bcef0c407be33008110f28002e8537c.jpg","text":"TemporaryFile(/tmp/multipartBody5277334152980819456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138523197,"filename":"image_26112025_03_10_21_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/26/8fe098c293e404f8e04a01645703d93f.jpg","text":"TemporaryFile(/tmp/multipartBody8784880583115449884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138523197,"filename":"image_26112025_03_10_30_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/26/1076b178c24dae9bb39d1d91c209e781.jpg","text":"TemporaryFile(/tmp/multipartBody5810874865258691371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138523197,"filename":"image_26112025_03_10_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/26/9f3d1ad91ef4bff7a6fde70929ca5bc8.jpg","text":"TemporaryFile(/tmp/multipartBody26567707555534768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138523197,"filename":"image_26112025_03_10_26_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/26/4922dff26179e028a5715ea3c857eade.jpg","text":"TemporaryFile(/tmp/multipartBody718635980638037645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138523197,"filename":"image_26112025_03_10_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/26/7de79a15c9ab70c36721df42305a129e.jpg","text":"TemporaryFile(/tmp/multipartBody7796911462691344774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138523197,"filename":"image_26112025_03_10_32_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396214843","file1":"1396214842","file0":"1396214841","file4":"1396214845","file5":"1396214846","file3":"1396214844"},"map_files_photo_id_array":[{"photo_id":"1396214846","filename":"file5"},{"photo_id":"1396214843","filename":"file2"},{"photo_id":"1396214845","filename":"file4"},{"photo_id":"1396214842","filename":"file1"},{"photo_id":"1396214841","filename":"file0"},{"photo_id":"1396214844","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396214842":["hashtag1","hashtag2"]},{"1396214845":["hashtag1","hashtag2"]},{"1396214841":["hashtag1","hashtag2"]},{"1396214844":["hashtag1","hashtag2"]},{"1396214843":["hashtag1","hashtag2"]},{"1396214846":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396214842, 1396214845, 1396214841, 1396214844, 1396214843, 1396214846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.910147190093994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:28:22.668911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_35_2760.jpg', '/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_39_3576.jpg', '/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_41_2642.jpg', '/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_44_2589.jpg', '/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_48_3643.jpg', '/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_50_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_35_2760.jpg
/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_39_3576.jpg
/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_41_2642.jpg
/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_44_2589.jpg
/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_48_3643.jpg
/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_50_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396214871","1396214874","1396214868","1396214853","1396214862","1396214856"],"photo_ids_order":["1396214853","1396214856","1396214862","1396214868","1396214871","1396214874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/08acfe476bd545050918d3439eac62cb.jpg","text":"TemporaryFile(/tmp/multipartBody7423630525523210706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138563418,"filename":"image_26112025_03_10_48_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/26/f1e8c976c652d522d7486ce042ac5d14.jpg","text":"TemporaryFile(/tmp/multipartBody3792240983225485153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138563418,"filename":"image_26112025_03_10_50_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/26/02e4e6c0c7d3f2032431210da83c0388.jpg","text":"TemporaryFile(/tmp/multipartBody1352239122655325628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138563418,"filename":"image_26112025_03_10_44_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/26/a9be731abf5f5b59ed2a583485908b8b.jpg","text":"TemporaryFile(/tmp/multipartBody1913664759747472651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138563418,"filename":"image_26112025_03_10_35_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/26/caa7454c543453f879a4854d47ac60e3.jpg","text":"TemporaryFile(/tmp/multipartBody7089841459149258216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138563418,"filename":"image_26112025_03_10_41_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/26/4b21f466beab4a99c85b89a0b711572d.jpg","text":"TemporaryFile(/tmp/multipartBody5840502825450347130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138563418,"filename":"image_26112025_03_10_39_3576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396214862","file1":"1396214856","file0":"1396214853","file4":"1396214871","file5":"1396214874","file3":"1396214868"},"map_files_photo_id_array":[{"photo_id":"1396214874","filename":"file5"},{"photo_id":"1396214862","filename":"file2"},{"photo_id":"1396214871","filename":"file4"},{"photo_id":"1396214856","filename":"file1"},{"photo_id":"1396214853","filename":"file0"},{"photo_id":"1396214868","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396214871":["hashtag1","hashtag2"]},{"1396214874":["hashtag1","hashtag2"]},{"1396214868":["hashtag1","hashtag2"]},{"1396214853":["hashtag1","hashtag2"]},{"1396214862":["hashtag1","hashtag2"]},{"1396214856":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396214871, 1396214874, 1396214868, 1396214853, 1396214862, 1396214856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9631233215332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:29:03.088858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_53_2694.jpg', '/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_57_3569.jpg', '/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_59_2603.jpg', '/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_03_3522.jpg', '/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_05_2536.jpg', '/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_09_3674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_53_2694.jpg
/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_57_3569.jpg
/home/pi/Desktop/images/26112025/03/10/image_26112025_03_10_59_2603.jpg
/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_03_3522.jpg
/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_05_2536.jpg
/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_09_3674.jpg
 val : 1 : upload photos already in processing! 
 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":["1396214875","1396214877","1396214880","1396214891","1396214888","1396214885"],"photo_ids_order":["1396214875","1396214877","1396214880","1396214885","1396214888","1396214891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dfce90550ca6164958150c60a231105d.jpg","text":"TemporaryFile(/tmp/multipartBody4650579056243297325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138603997,"filename":"image_26112025_03_10_53_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/26/d52efde328ec29b9f9107849d4e10eb5.jpg","text":"TemporaryFile(/tmp/multipartBody824198755703546588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138603997,"filename":"image_26112025_03_10_57_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/26/57ac9270576dcef317402ec637fc612e.jpg","text":"TemporaryFile(/tmp/multipartBody6646238991191709547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138603997,"filename":"image_26112025_03_10_59_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/26/43950d8dfc79ea0a0e17b833f167cc7b.jpg","text":"TemporaryFile(/tmp/multipartBody4576029441207762800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138603997,"filename":"image_26112025_03_11_09_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/26/b44303bbe2b6a4f322474708fee532ea.jpg","text":"TemporaryFile(/tmp/multipartBody1814873666096445664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138603997,"filename":"image_26112025_03_11_05_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/26/2928a318a2f22923dfd81334c3a830d0.jpg","text":"TemporaryFile(/tmp/multipartBody1394753313519801327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138603997,"filename":"image_26112025_03_11_03_3522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396214880","file1":"1396214877","file0":"1396214875","file4":"1396214888","file5":"1396214891","file3":"1396214885"},"map_files_photo_id_array":[{"photo_id":"1396214891","filename":"file5"},{"photo_id":"1396214880","filename":"file2"},{"photo_id":"1396214888","filename":"file4"},{"photo_id":"1396214877","filename":"file1"},{"photo_id":"1396214875","filename":"file0"},{"photo_id":"1396214885","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396214875":["hashtag1","hashtag2"]},{"1396214877":["hashtag1","hashtag2"]},{"1396214880":["hashtag1","hashtag2"]},{"1396214891":["hashtag1","hashtag2"]},{"1396214888":["hashtag1","hashtag2"]},{"1396214885":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396214875, 1396214877, 1396214880, 1396214891, 1396214888, 1396214885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40642499923706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:30:02.669412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_11_2581.jpg', '/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_14_2677.jpg', '/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_17_2772.jpg', '/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_21_3812.jpg', '/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_23_2620.jpg', '/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_26_2783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_11_2581.jpg
/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_14_2677.jpg
/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_17_2772.jpg
/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_21_3812.jpg
/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_23_2620.jpg
/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_26_2783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 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":["1396214915","1396214920","1396214911","1396214908","1396214925","1396214928"],"photo_ids_order":["1396214908","1396214911","1396214915","1396214920","1396214925","1396214928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ff994ccd469d64e4c3808da8e7285f89.jpg","text":"TemporaryFile(/tmp/multipartBody7238420627105961119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138690603,"filename":"image_26112025_03_11_17_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/26/9aec83f9589d678d51871e2b730f857e.jpg","text":"TemporaryFile(/tmp/multipartBody6410475945083672997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138690603,"filename":"image_26112025_03_11_21_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/26/c5c5b63e2e2c8b88935f9a1d822bcac1.jpg","text":"TemporaryFile(/tmp/multipartBody335392959813914546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138690603,"filename":"image_26112025_03_11_14_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/26/3c7c5027b00abc48020b5a3dd4e0c1c0.jpg","text":"TemporaryFile(/tmp/multipartBody3865067827768089137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138690603,"filename":"image_26112025_03_11_11_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/26/3d783250f69c5f897aef0efde3ef260b.jpg","text":"TemporaryFile(/tmp/multipartBody5143121797085556558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138690603,"filename":"image_26112025_03_11_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/26/005647bcc7c9f3b77b606382f03e678d.jpg","text":"TemporaryFile(/tmp/multipartBody1029650490317482371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138690603,"filename":"image_26112025_03_11_26_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396214915","file1":"1396214911","file0":"1396214908","file4":"1396214925","file5":"1396214928","file3":"1396214920"},"map_files_photo_id_array":[{"photo_id":"1396214928","filename":"file5"},{"photo_id":"1396214915","filename":"file2"},{"photo_id":"1396214925","filename":"file4"},{"photo_id":"1396214911","filename":"file1"},{"photo_id":"1396214908","filename":"file0"},{"photo_id":"1396214920","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396214915":["hashtag1","hashtag2"]},{"1396214920":["hashtag1","hashtag2"]},{"1396214911":["hashtag1","hashtag2"]},{"1396214908":["hashtag1","hashtag2"]},{"1396214925":["hashtag1","hashtag2"]},{"1396214928":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396214915, 1396214920, 1396214911, 1396214908, 1396214925, 1396214928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.16738200187683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:31:11.921274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_29_3170.jpg', '/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_32_2588.jpg', '/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_36_3750.jpg', '/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_38_2725.jpg', '/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_41_2703.jpg', '/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_45_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_29_3170.jpg
/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_32_2588.jpg
/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_36_3750.jpg
/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_38_2725.jpg
/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_41_2703.jpg
/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_45_3591.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":["1396214933","1396214941","1396214943","1396214934","1396214937","1396214939"],"photo_ids_order":["1396214933","1396214934","1396214937","1396214939","1396214941","1396214943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eebdf4ad885d50a7dda70302757f1e20.jpg","text":"TemporaryFile(/tmp/multipartBody8445960697125740967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138732670,"filename":"image_26112025_03_11_29_3170.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0a49e19c7671d60d1f32c35501881157.jpg","text":"TemporaryFile(/tmp/multipartBody4718039479171933312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138732670,"filename":"image_26112025_03_11_41_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/26/715dee6193474e5bd44ff86a74a1cd5b.jpg","text":"TemporaryFile(/tmp/multipartBody3207094451414617881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138732670,"filename":"image_26112025_03_11_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/26/e81312d887fed805b843696b43e604dc.jpg","text":"TemporaryFile(/tmp/multipartBody8455601603650989008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138732670,"filename":"image_26112025_03_11_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/26/aa543e6d4a5ea30c1e82c08b19614989.jpg","text":"TemporaryFile(/tmp/multipartBody546667128136240870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138732670,"filename":"image_26112025_03_11_36_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/26/2fead874343c8844252bc4c1ad23aeee.jpg","text":"TemporaryFile(/tmp/multipartBody1303183295936947405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138732670,"filename":"image_26112025_03_11_38_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396214937","file1":"1396214934","file0":"1396214933","file4":"1396214941","file5":"1396214943","file3":"1396214939"},"map_files_photo_id_array":[{"photo_id":"1396214943","filename":"file5"},{"photo_id":"1396214937","filename":"file2"},{"photo_id":"1396214941","filename":"file4"},{"photo_id":"1396214934","filename":"file1"},{"photo_id":"1396214933","filename":"file0"},{"photo_id":"1396214939","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396214933":["hashtag1","hashtag2"]},{"1396214941":["hashtag1","hashtag2"]},{"1396214943":["hashtag1","hashtag2"]},{"1396214934":["hashtag1","hashtag2"]},{"1396214937":["hashtag1","hashtag2"]},{"1396214939":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396214933, 1396214941, 1396214943, 1396214934, 1396214937, 1396214939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.43951463699341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:32:02.519298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_47_2626.jpg', '/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_50_2662.jpg', '/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_54_3828.jpg', '/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_56_2651.jpg', '/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_59_2519.jpg', '/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_03_3634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_47_2626.jpg
/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_50_2662.jpg
/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_54_3828.jpg
/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_56_2651.jpg
/home/pi/Desktop/images/26112025/03/11/image_26112025_03_11_59_2519.jpg
/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_03_3634.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":["1396214971","1396214959","1396214961","1396214967","1396214955","1396214963"],"photo_ids_order":["1396214955","1396214959","1396214961","1396214963","1396214967","1396214971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7cfa91941821a6d7fe6c981f3829620b.jpg","text":"TemporaryFile(/tmp/multipartBody8121413614147768728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138783269,"filename":"image_26112025_03_12_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/26/b671cfa9481cff158fd0668e9c9a15c5.jpg","text":"TemporaryFile(/tmp/multipartBody5158519922975429682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138783269,"filename":"image_26112025_03_11_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/26/ea323b752646d24a9fd50482872cd476.jpg","text":"TemporaryFile(/tmp/multipartBody2910161758433969174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138783269,"filename":"image_26112025_03_11_54_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/26/1213e7a32a8139573d098db34010ae65.jpg","text":"TemporaryFile(/tmp/multipartBody3423318683994220169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138783269,"filename":"image_26112025_03_11_59_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/26/9ae6f2c164165bf10822127ab871b621.jpg","text":"TemporaryFile(/tmp/multipartBody8856449232775715391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138783269,"filename":"image_26112025_03_11_47_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/26/3d95bf4d78601c06597e17586a626bcc.jpg","text":"TemporaryFile(/tmp/multipartBody9027890059348154533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138783269,"filename":"image_26112025_03_11_56_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396214961","file1":"1396214959","file0":"1396214955","file4":"1396214967","file5":"1396214971","file3":"1396214963"},"map_files_photo_id_array":[{"photo_id":"1396214971","filename":"file5"},{"photo_id":"1396214961","filename":"file2"},{"photo_id":"1396214967","filename":"file4"},{"photo_id":"1396214959","filename":"file1"},{"photo_id":"1396214955","filename":"file0"},{"photo_id":"1396214963","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396214971":["hashtag1","hashtag2"]},{"1396214959":["hashtag1","hashtag2"]},{"1396214961":["hashtag1","hashtag2"]},{"1396214967":["hashtag1","hashtag2"]},{"1396214955":["hashtag1","hashtag2"]},{"1396214963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396214971, 1396214959, 1396214961, 1396214967, 1396214955, 1396214963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05357551574707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 07:32:42.072871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_05_2570.jpg', '/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_08_2679.jpg', '/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_12_3712.jpg', '/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_14_2708.jpg', '/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_17_2761.jpg', '/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_21_4033.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_05_2570.jpg
/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_08_2679.jpg
/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_12_3712.jpg
/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_14_2708.jpg
/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_17_2761.jpg
/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_21_4033.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":["1396214992","1396214977","1396215000","1396214990","1396214996","1396214975"],"photo_ids_order":["1396214975","1396214977","1396214990","1396214992","1396214996","1396215000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/03435498e4b3ef81747941245cce35d3.jpg","text":"TemporaryFile(/tmp/multipartBody5562446863919236687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138822741,"filename":"image_26112025_03_12_14_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/664a59ec63fdd8925785afd1c6252f9c.jpg","text":"TemporaryFile(/tmp/multipartBody4124921576412541112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138822741,"filename":"image_26112025_03_12_08_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/26/7b563e850b4f82116df7efb63ddc940b.jpg","text":"TemporaryFile(/tmp/multipartBody3053398770944615929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138822741,"filename":"image_26112025_03_12_21_4033.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f67b15b8e229fcc52ef0f852f764203d.jpg","text":"TemporaryFile(/tmp/multipartBody6947434793090783268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138822741,"filename":"image_26112025_03_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/26/47a0c8db265f64a49e1171b7de08cd7c.jpg","text":"TemporaryFile(/tmp/multipartBody4027749072853441819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138822741,"filename":"image_26112025_03_12_17_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/26/dd2d215b1ad2837908094c1ced33dd19.jpg","text":"TemporaryFile(/tmp/multipartBody5591451163444885731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138822741,"filename":"image_26112025_03_12_05_2570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396214990","file1":"1396214977","file0":"1396214975","file4":"1396214996","file5":"1396215000","file3":"1396214992"},"map_files_photo_id_array":[{"photo_id":"1396215000","filename":"file5"},{"photo_id":"1396214990","filename":"file2"},{"photo_id":"1396214996","filename":"file4"},{"photo_id":"1396214977","filename":"file1"},{"photo_id":"1396214975","filename":"file0"},{"photo_id":"1396214992","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396214992":["hashtag1","hashtag2"]},{"1396214977":["hashtag1","hashtag2"]},{"1396215000":["hashtag1","hashtag2"]},{"1396214990":["hashtag1","hashtag2"]},{"1396214996":["hashtag1","hashtag2"]},{"1396214975":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396214992, 1396214977, 1396215000, 1396214990, 1396214996, 1396214975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80360245704651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:33:22.793977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_24_2616.jpg', '/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_27_2859.jpg', '/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_29_2736.jpg', '/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_32_2709.jpg', '/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_36_3600.jpg', '/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_38_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_24_2616.jpg
/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_27_2859.jpg
/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_29_2736.jpg
/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_32_2709.jpg
/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_36_3600.jpg
/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_38_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396215019","1396215012","1396215021","1396215015","1396215024","1396215017"],"photo_ids_order":["1396215012","1396215015","1396215017","1396215019","1396215021","1396215024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8e8b16adbe5b72f521a93e8ce2067d7f.jpg","text":"TemporaryFile(/tmp/multipartBody5627591153827141371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138863462,"filename":"image_26112025_03_12_32_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/26/9dd4ec667bed93d6f5bf54b64930786d.jpg","text":"TemporaryFile(/tmp/multipartBody2350210854552521461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138863462,"filename":"image_26112025_03_12_24_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/26/2f5ac50c15f81e0737979883ce15e4ff.jpg","text":"TemporaryFile(/tmp/multipartBody2471067040862733906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138863462,"filename":"image_26112025_03_12_36_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/26/6502e90a2112652801935213109eb0e3.jpg","text":"TemporaryFile(/tmp/multipartBody4621911450312173860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138863462,"filename":"image_26112025_03_12_27_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/26/377dd8e754597ad7101d00444bf1b95a.jpg","text":"TemporaryFile(/tmp/multipartBody3870986316166569372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138863462,"filename":"image_26112025_03_12_38_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/26/d9a1e27a30bccbebb5276a8da70d009b.jpg","text":"TemporaryFile(/tmp/multipartBody9032325675853966045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138863462,"filename":"image_26112025_03_12_29_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215017","file1":"1396215015","file0":"1396215012","file4":"1396215021","file5":"1396215024","file3":"1396215019"},"map_files_photo_id_array":[{"photo_id":"1396215024","filename":"file5"},{"photo_id":"1396215017","filename":"file2"},{"photo_id":"1396215021","filename":"file4"},{"photo_id":"1396215015","filename":"file1"},{"photo_id":"1396215012","filename":"file0"},{"photo_id":"1396215019","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215019":["hashtag1","hashtag2"]},{"1396215012":["hashtag1","hashtag2"]},{"1396215021":["hashtag1","hashtag2"]},{"1396215015":["hashtag1","hashtag2"]},{"1396215024":["hashtag1","hashtag2"]},{"1396215017":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215019, 1396215012, 1396215021, 1396215015, 1396215024, 1396215017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5205774307251 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:34:02.705012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_45_3634.jpg', '/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_47_2585.jpg', '/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_50_2595.jpg', '/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_53_3665.jpg', '/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_56_2505.jpg', '/home/pi/Desktop/images/26112025/03/12/image_26112025_03_13_00_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_45_3634.jpg
/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_47_2585.jpg
/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_50_2595.jpg
/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_53_3665.jpg
/home/pi/Desktop/images/26112025/03/12/image_26112025_03_12_56_2505.jpg
/home/pi/Desktop/images/26112025/03/12/image_26112025_03_13_00_3618.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":["1396215031","1396215039","1396215033","1396215042","1396215036","1396215029"],"photo_ids_order":["1396215029","1396215031","1396215033","1396215036","1396215039","1396215042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/93261b6bf0c3ac2cd61f3f1a4c86a185.jpg","text":"TemporaryFile(/tmp/multipartBody5608817249920447642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138903479,"filename":"image_26112025_03_12_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/26/2bd1d599967d696dfca98d9b14d340ce.jpg","text":"TemporaryFile(/tmp/multipartBody7300995925486190263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138903479,"filename":"image_26112025_03_12_56_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/26/e0aeb18badc65b9bd01f284a4de08b82.jpg","text":"TemporaryFile(/tmp/multipartBody7407440865381780285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138903479,"filename":"image_26112025_03_12_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/26/e6bb10ca87f0247625800e498d15bc7b.jpg","text":"TemporaryFile(/tmp/multipartBody4198876221530005710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138903479,"filename":"image_26112025_03_13_00_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/26/2c201829516588b0e811bf784b83368c.jpg","text":"TemporaryFile(/tmp/multipartBody2753329972274160232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138903479,"filename":"image_26112025_03_12_53_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/26/dec36ac9eeee89b05e0f2397f9e5063d.jpg","text":"TemporaryFile(/tmp/multipartBody9073038517863632881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138903479,"filename":"image_26112025_03_12_45_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215033","file1":"1396215031","file0":"1396215029","file4":"1396215039","file5":"1396215042","file3":"1396215036"},"map_files_photo_id_array":[{"photo_id":"1396215042","filename":"file5"},{"photo_id":"1396215033","filename":"file2"},{"photo_id":"1396215039","filename":"file4"},{"photo_id":"1396215031","filename":"file1"},{"photo_id":"1396215029","filename":"file0"},{"photo_id":"1396215036","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215031":["hashtag1","hashtag2"]},{"1396215039":["hashtag1","hashtag2"]},{"1396215033":["hashtag1","hashtag2"]},{"1396215042":["hashtag1","hashtag2"]},{"1396215036":["hashtag1","hashtag2"]},{"1396215029":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215031, 1396215039, 1396215033, 1396215042, 1396215036, 1396215029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56028175354004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 07:34:41.978239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_02_2562.jpg', '/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_05_2715.jpg', '/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_09_3680.jpg', '/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_11_2607.jpg', '/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_14_2612.jpg', '/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_18_3850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_02_2562.jpg
/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_05_2715.jpg
/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_09_3680.jpg
/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_11_2607.jpg
/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_14_2612.jpg
/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_18_3850.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":["1396215055","1396215057","1396215054","1396215053","1396215056","1396215050"],"photo_ids_order":["1396215050","1396215053","1396215054","1396215055","1396215056","1396215057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f3c11584e680e92027b2f11407d15b8e.jpg","text":"TemporaryFile(/tmp/multipartBody466063272262424942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138942645,"filename":"image_26112025_03_13_11_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/26/ce517fa445db08bd5b370f80f8b7a5fc.jpg","text":"TemporaryFile(/tmp/multipartBody5325384436190877606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138942645,"filename":"image_26112025_03_13_18_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/26/79fe93762f38e04f74e39194e0025a9f.jpg","text":"TemporaryFile(/tmp/multipartBody6469426097469930097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138942645,"filename":"image_26112025_03_13_09_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/26/338c7fecb278e68906af647a20ad98d1.jpg","text":"TemporaryFile(/tmp/multipartBody3074381588495794478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138942645,"filename":"image_26112025_03_13_05_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/26/553479af837f5856fcfdb9443c645489.jpg","text":"TemporaryFile(/tmp/multipartBody4780759181735450372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138942645,"filename":"image_26112025_03_13_14_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/26/4d79609f5bf396d9a04df4eaa3b69d38.jpg","text":"TemporaryFile(/tmp/multipartBody2110936022922665259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138942645,"filename":"image_26112025_03_13_02_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215054","file1":"1396215053","file0":"1396215050","file4":"1396215056","file5":"1396215057","file3":"1396215055"},"map_files_photo_id_array":[{"photo_id":"1396215057","filename":"file5"},{"photo_id":"1396215054","filename":"file2"},{"photo_id":"1396215056","filename":"file4"},{"photo_id":"1396215053","filename":"file1"},{"photo_id":"1396215050","filename":"file0"},{"photo_id":"1396215055","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215055":["hashtag1","hashtag2"]},{"1396215057":["hashtag1","hashtag2"]},{"1396215054":["hashtag1","hashtag2"]},{"1396215053":["hashtag1","hashtag2"]},{"1396215056":["hashtag1","hashtag2"]},{"1396215050":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215055, 1396215057, 1396215054, 1396215053, 1396215056, 1396215050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97382855415344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:35:22.248577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_20_2541.jpg', '/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_23_2650.jpg', '/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_27_3869.jpg', '/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_29_2642.jpg', '/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_32_2667.jpg', '/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_36_3636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_20_2541.jpg
/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_23_2650.jpg
/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_27_3869.jpg
/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_29_2642.jpg
/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_32_2667.jpg
/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_36_3636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396215067","1396215084","1396215086","1396215080","1396215074","1396215077"],"photo_ids_order":["1396215067","1396215074","1396215077","1396215080","1396215084","1396215086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e34c23fd564a21dd784eb66a44a6f79a.jpg","text":"TemporaryFile(/tmp/multipartBody3740373964868617443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138982990,"filename":"image_26112025_03_13_20_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/26/ec6e6b32aff173d42f6b6ba18cfdef69.jpg","text":"TemporaryFile(/tmp/multipartBody3754596863247392947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138982990,"filename":"image_26112025_03_13_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/26/cecfcc28a9ebbc8434efe2f53d35a707.jpg","text":"TemporaryFile(/tmp/multipartBody7765505888833347719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138982990,"filename":"image_26112025_03_13_36_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/26/f9207bfbee3a16628bcbfa26740c517e.jpg","text":"TemporaryFile(/tmp/multipartBody4922857290183893054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138982990,"filename":"image_26112025_03_13_29_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/169f666cf64b56c89bea6d53f2054345.jpg","text":"TemporaryFile(/tmp/multipartBody5401958825368206354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138982990,"filename":"image_26112025_03_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/26/c0b16fa378eac12b71a18244a6729a6d.jpg","text":"TemporaryFile(/tmp/multipartBody4982792741341110820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764138982990,"filename":"image_26112025_03_13_27_3869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215077","file1":"1396215074","file0":"1396215067","file4":"1396215084","file5":"1396215086","file3":"1396215080"},"map_files_photo_id_array":[{"photo_id":"1396215086","filename":"file5"},{"photo_id":"1396215077","filename":"file2"},{"photo_id":"1396215084","filename":"file4"},{"photo_id":"1396215074","filename":"file1"},{"photo_id":"1396215067","filename":"file0"},{"photo_id":"1396215080","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215067":["hashtag1","hashtag2"]},{"1396215084":["hashtag1","hashtag2"]},{"1396215086":["hashtag1","hashtag2"]},{"1396215080":["hashtag1","hashtag2"]},{"1396215074":["hashtag1","hashtag2"]},{"1396215077":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215067, 1396215084, 1396215086, 1396215080, 1396215074, 1396215077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72408366203308 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:36:02.889762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_38_2740.jpg', '/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_41_2656.jpg', '/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_45_3602.jpg', '/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_47_2754.jpg', '/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_50_2602.jpg', '/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_53_3526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_38_2740.jpg
/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_41_2656.jpg
/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_45_3602.jpg
/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_47_2754.jpg
/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_50_2602.jpg
/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_53_3526.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":["1396215106","1396215108","1396215117","1396215110","1396215104","1396215113"],"photo_ids_order":["1396215104","1396215106","1396215108","1396215110","1396215113","1396215117"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c5cec8fc19aeec565ba8792b274a5444.jpg","text":"TemporaryFile(/tmp/multipartBody2721409917359285176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139023618,"filename":"image_26112025_03_13_41_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/26/72f9497853ac40acb473f5077dfc209a.jpg","text":"TemporaryFile(/tmp/multipartBody8486789989826564760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139023618,"filename":"image_26112025_03_13_45_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/26/f883a0aa9cd9cd502f8335e0c7e4b682.jpg","text":"TemporaryFile(/tmp/multipartBody2878163273853952481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139023618,"filename":"image_26112025_03_13_53_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/26/1d83cbdf7977ae0c3ef7c9ab1a1d40b3.jpg","text":"TemporaryFile(/tmp/multipartBody5686758673314470409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139023618,"filename":"image_26112025_03_13_47_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/26/058f756e15081ff293e1707cb75b4304.jpg","text":"TemporaryFile(/tmp/multipartBody3473800163275235997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139023618,"filename":"image_26112025_03_13_38_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/26/5ed6a5e166b116d25e82c6e656842856.jpg","text":"TemporaryFile(/tmp/multipartBody8488602119746142734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139023618,"filename":"image_26112025_03_13_50_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215108","file1":"1396215106","file0":"1396215104","file4":"1396215113","file5":"1396215117","file3":"1396215110"},"map_files_photo_id_array":[{"photo_id":"1396215117","filename":"file5"},{"photo_id":"1396215108","filename":"file2"},{"photo_id":"1396215113","filename":"file4"},{"photo_id":"1396215106","filename":"file1"},{"photo_id":"1396215104","filename":"file0"},{"photo_id":"1396215110","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215106":["hashtag1","hashtag2"]},{"1396215108":["hashtag1","hashtag2"]},{"1396215117":["hashtag1","hashtag2"]},{"1396215110":["hashtag1","hashtag2"]},{"1396215104":["hashtag1","hashtag2"]},{"1396215113":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215106, 1396215108, 1396215117, 1396215110, 1396215104, 1396215113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8659451007843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 07:36:42.284444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_56_2512.jpg', '/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_59_2656.jpg', '/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_02_3792.jpg', '/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_05_2541.jpg', '/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_09_3532.jpg', '/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_11_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_56_2512.jpg
/home/pi/Desktop/images/26112025/03/13/image_26112025_03_13_59_2656.jpg
/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_02_3792.jpg
/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_05_2541.jpg
/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_09_3532.jpg
/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_11_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":["1396215136","1396215138","1396215126","1396215129","1396215140","1396215131"],"photo_ids_order":["1396215126","1396215129","1396215131","1396215136","1396215138","1396215140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a1de9ecf8f903fc1504baa97db8a3db8.jpg","text":"TemporaryFile(/tmp/multipartBody4370577818658835865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139062998,"filename":"image_26112025_03_14_05_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/26/b21858a0754b242ad98d6923c4b1fb6e.jpg","text":"TemporaryFile(/tmp/multipartBody2808354999714188647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139062998,"filename":"image_26112025_03_14_09_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/26/79796e8b8f8d9e4b10ed9f9d9d91b7dd.jpg","text":"TemporaryFile(/tmp/multipartBody7610344389616985268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139062998,"filename":"image_26112025_03_13_56_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/26/6b3a82c5b169fcf321a54f4b247c856e.jpg","text":"TemporaryFile(/tmp/multipartBody2959307331229228944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139062998,"filename":"image_26112025_03_13_59_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/26/186d5335b61e1c5640e2c6dbcb9b2e53.jpg","text":"TemporaryFile(/tmp/multipartBody7202167199329087896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139062998,"filename":"image_26112025_03_14_11_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/26/bcd1dcf6871844dafe9f80d79c7cae20.jpg","text":"TemporaryFile(/tmp/multipartBody2707608002409786372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139062998,"filename":"image_26112025_03_14_02_3792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215131","file1":"1396215129","file0":"1396215126","file4":"1396215138","file5":"1396215140","file3":"1396215136"},"map_files_photo_id_array":[{"photo_id":"1396215140","filename":"file5"},{"photo_id":"1396215131","filename":"file2"},{"photo_id":"1396215138","filename":"file4"},{"photo_id":"1396215129","filename":"file1"},{"photo_id":"1396215126","filename":"file0"},{"photo_id":"1396215136","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215136":["hashtag1","hashtag2"]},{"1396215138":["hashtag1","hashtag2"]},{"1396215126":["hashtag1","hashtag2"]},{"1396215129":["hashtag1","hashtag2"]},{"1396215140":["hashtag1","hashtag2"]},{"1396215131":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215136, 1396215138, 1396215126, 1396215129, 1396215140, 1396215131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65944528579712 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:37:22.627011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_14_2540.jpg', '/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_17_3679.jpg', '/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_20_2521.jpg', '/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_23_3637.jpg', '/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_26_2644.jpg', '/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_29_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_14_2540.jpg
/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_17_3679.jpg
/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_20_2521.jpg
/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_23_3637.jpg
/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_26_2644.jpg
/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_29_2704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396215151","1396215157","1396215168","1396215162","1396215165","1396215159"],"photo_ids_order":["1396215151","1396215157","1396215159","1396215162","1396215165","1396215168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/58fa7c0e335490d7efaeaad19d5d0089.jpg","text":"TemporaryFile(/tmp/multipartBody8265357589136310250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139103377,"filename":"image_26112025_03_14_14_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/26/792ebb2e566b1e254ac7e7d38bec6415.jpg","text":"TemporaryFile(/tmp/multipartBody11165730019413504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139103377,"filename":"image_26112025_03_14_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/26/6bcbe939fcbdd00d6dd308b34389561b.jpg","text":"TemporaryFile(/tmp/multipartBody1271827292404139667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139103377,"filename":"image_26112025_03_14_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/26/a1d8f63fc442bbadb877dc8a88c464e1.jpg","text":"TemporaryFile(/tmp/multipartBody1813552221185187448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139103377,"filename":"image_26112025_03_14_23_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/26/49091498939521334e14269856d139c4.jpg","text":"TemporaryFile(/tmp/multipartBody8973580402271825575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139103377,"filename":"image_26112025_03_14_26_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/26/4a74e1b680451dd635f29ddf076c8f88.jpg","text":"TemporaryFile(/tmp/multipartBody2741924553684295033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139103377,"filename":"image_26112025_03_14_20_2521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215159","file1":"1396215157","file0":"1396215151","file4":"1396215165","file5":"1396215168","file3":"1396215162"},"map_files_photo_id_array":[{"photo_id":"1396215168","filename":"file5"},{"photo_id":"1396215159","filename":"file2"},{"photo_id":"1396215165","filename":"file4"},{"photo_id":"1396215157","filename":"file1"},{"photo_id":"1396215151","filename":"file0"},{"photo_id":"1396215162","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215151":["hashtag1","hashtag2"]},{"1396215157":["hashtag1","hashtag2"]},{"1396215168":["hashtag1","hashtag2"]},{"1396215162":["hashtag1","hashtag2"]},{"1396215165":["hashtag1","hashtag2"]},{"1396215159":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215151, 1396215157, 1396215168, 1396215162, 1396215165, 1396215159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.150670766830444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:38:03.158165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_32_3556.jpg', '/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_35_2597.jpg', '/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_38_2688.jpg', '/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_41_3635.jpg', '/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_44_2585.jpg', '/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_47_3519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_32_3556.jpg
/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_35_2597.jpg
/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_38_2688.jpg
/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_41_3635.jpg
/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_44_2585.jpg
/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_47_3519.jpg
 val : 1 : upload photos already in processing! 
 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":["1396215172","1396215171","1396215185","1396215170","1396215176","1396215181"],"photo_ids_order":["1396215170","1396215171","1396215172","1396215176","1396215181","1396215185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/62efbdba92d7615bdcb7a0a81df46bdc.jpg","text":"TemporaryFile(/tmp/multipartBody3509414722087762221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139143857,"filename":"image_26112025_03_14_38_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/26/bc286edba68dcc08d2637e4d60f93a74.jpg","text":"TemporaryFile(/tmp/multipartBody5126627106266873824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139143857,"filename":"image_26112025_03_14_35_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/26/e74e65b21ea7d72bfa647390f3a22feb.jpg","text":"TemporaryFile(/tmp/multipartBody6168362497312994980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139143857,"filename":"image_26112025_03_14_47_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/26/e354e3fcfb478a30a9973fbfd49a9364.jpg","text":"TemporaryFile(/tmp/multipartBody1990909457288536955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139143857,"filename":"image_26112025_03_14_32_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/26/a741c3cf4fe265abcdb80fd7ee9b750c.jpg","text":"TemporaryFile(/tmp/multipartBody4918590786233685966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139143857,"filename":"image_26112025_03_14_41_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/26/516ebc93cd6c369a3e8d3ebf7b30d71f.jpg","text":"TemporaryFile(/tmp/multipartBody827463187558584880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139143857,"filename":"image_26112025_03_14_44_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215172","file1":"1396215171","file0":"1396215170","file4":"1396215181","file5":"1396215185","file3":"1396215176"},"map_files_photo_id_array":[{"photo_id":"1396215185","filename":"file5"},{"photo_id":"1396215172","filename":"file2"},{"photo_id":"1396215181","filename":"file4"},{"photo_id":"1396215171","filename":"file1"},{"photo_id":"1396215170","filename":"file0"},{"photo_id":"1396215176","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215172":["hashtag1","hashtag2"]},{"1396215171":["hashtag1","hashtag2"]},{"1396215185":["hashtag1","hashtag2"]},{"1396215170":["hashtag1","hashtag2"]},{"1396215176":["hashtag1","hashtag2"]},{"1396215181":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215172, 1396215171, 1396215185, 1396215170, 1396215176, 1396215181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.15151643753052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:39:02.718401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_50_2796.jpg', '/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_53_2629.jpg', '/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_56_3604.jpg', '/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_59_2071.jpg', '/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_02_3702.jpg', '/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_05_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_50_2796.jpg
/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_53_2629.jpg
/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_56_3604.jpg
/home/pi/Desktop/images/26112025/03/14/image_26112025_03_14_59_2071.jpg
/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_02_3702.jpg
/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_05_2705.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":["1396215209","1396215208","1396215207","1396215215","1396215212","1396215206"],"photo_ids_order":["1396215206","1396215207","1396215208","1396215209","1396215212","1396215215"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/246d686839692364464745cb2a1cda14.jpg","text":"TemporaryFile(/tmp/multipartBody4117490304058497246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139203573,"filename":"image_26112025_03_14_59_2071.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c903ca826023cb04fb27e36606b61e0d.jpg","text":"TemporaryFile(/tmp/multipartBody3840944706181777274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139203573,"filename":"image_26112025_03_14_56_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/26/d79dee04ce5a860b137952bb7ba10047.jpg","text":"TemporaryFile(/tmp/multipartBody3481298457530911488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139203573,"filename":"image_26112025_03_14_53_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/26/9f42154025e7bddad0683ddfaa2a1a5c.jpg","text":"TemporaryFile(/tmp/multipartBody8920852908993191866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139203573,"filename":"image_26112025_03_15_05_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/26/0131dbc351d6df608a484879c147693c.jpg","text":"TemporaryFile(/tmp/multipartBody2830851283123906516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139203573,"filename":"image_26112025_03_15_02_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/26/026259b13fdfe30f149a8bcf8ea9031f.jpg","text":"TemporaryFile(/tmp/multipartBody7734194851266145446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139203573,"filename":"image_26112025_03_14_50_2796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215208","file1":"1396215207","file0":"1396215206","file4":"1396215212","file5":"1396215215","file3":"1396215209"},"map_files_photo_id_array":[{"photo_id":"1396215215","filename":"file5"},{"photo_id":"1396215208","filename":"file2"},{"photo_id":"1396215212","filename":"file4"},{"photo_id":"1396215207","filename":"file1"},{"photo_id":"1396215206","filename":"file0"},{"photo_id":"1396215209","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215209":["hashtag1","hashtag2"]},{"1396215208":["hashtag1","hashtag2"]},{"1396215207":["hashtag1","hashtag2"]},{"1396215215":["hashtag1","hashtag2"]},{"1396215212":["hashtag1","hashtag2"]},{"1396215206":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215209, 1396215208, 1396215207, 1396215215, 1396215212, 1396215206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50347065925598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 07:39:41.823564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_08_2644.jpg', '/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_11_3799.jpg', '/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_14_2538.jpg', '/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_17_2699.jpg', '/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_20_3675.jpg', '/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_23_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_08_2644.jpg
/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_11_3799.jpg
/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_14_2538.jpg
/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_17_2699.jpg
/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_20_3675.jpg
/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_23_2631.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":["1396215226","1396215235","1396215223","1396215231","1396215234","1396215227"],"photo_ids_order":["1396215223","1396215226","1396215227","1396215231","1396215234","1396215235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c433dcca9ed6c334a3d0e9fa9867d93e.jpg","text":"TemporaryFile(/tmp/multipartBody5818177781910366969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139242520,"filename":"image_26112025_03_15_11_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/26/8fdf686e20d9a1283e8bfb27f98ac72c.jpg","text":"TemporaryFile(/tmp/multipartBody7076681743602410072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139242520,"filename":"image_26112025_03_15_23_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/26/def5b90adbb680ea1fc26e86abf3b89a.jpg","text":"TemporaryFile(/tmp/multipartBody3923094921441983813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139242520,"filename":"image_26112025_03_15_08_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/26/330eb7005bf95b498c95f174d7752d76.jpg","text":"TemporaryFile(/tmp/multipartBody8753229994379390437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139242520,"filename":"image_26112025_03_15_17_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/26/72002382f2b2f06eda0ee8618bf7322a.jpg","text":"TemporaryFile(/tmp/multipartBody3824609912274310265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139242520,"filename":"image_26112025_03_15_20_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a1c399bdad6c594314b67ca63924e407.jpg","text":"TemporaryFile(/tmp/multipartBody5063143332413596481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139242520,"filename":"image_26112025_03_15_14_2538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215227","file1":"1396215226","file0":"1396215223","file4":"1396215234","file5":"1396215235","file3":"1396215231"},"map_files_photo_id_array":[{"photo_id":"1396215235","filename":"file5"},{"photo_id":"1396215227","filename":"file2"},{"photo_id":"1396215234","filename":"file4"},{"photo_id":"1396215226","filename":"file1"},{"photo_id":"1396215223","filename":"file0"},{"photo_id":"1396215231","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215226":["hashtag1","hashtag2"]},{"1396215235":["hashtag1","hashtag2"]},{"1396215223":["hashtag1","hashtag2"]},{"1396215231":["hashtag1","hashtag2"]},{"1396215234":["hashtag1","hashtag2"]},{"1396215227":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215226, 1396215235, 1396215223, 1396215231, 1396215234, 1396215227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8606698513031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:40:22.023975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_26_2733.jpg', '/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_29_3652.jpg', '/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_32_2842.jpg', '/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_35_2733.jpg', '/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_38_2635.jpg', '/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_41_3547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_26_2733.jpg
/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_29_3652.jpg
/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_32_2842.jpg
/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_35_2733.jpg
/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_38_2635.jpg
/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_41_3547.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.6057167053222656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:40:31.953471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_26_2733.jpg', '/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_29_3652.jpg', '/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_32_2842.jpg', '/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_35_2733.jpg', '/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_38_2635.jpg', '/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_41_3547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_26_2733.jpg
/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_29_3652.jpg
/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_32_2842.jpg
/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_35_2733.jpg
/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_38_2635.jpg
/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_41_3547.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":["1396215256","1396215259","1396215253","1396215246","1396215260","1396215248"],"photo_ids_order":["1396215246","1396215248","1396215253","1396215256","1396215259","1396215260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cf904187d84359c65e5e0d57e79d4545.jpg","text":"TemporaryFile(/tmp/multipartBody633208133523556230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139292659,"filename":"image_26112025_03_15_35_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ad8610cc932cbf5581aa6b1e713e054e.jpg","text":"TemporaryFile(/tmp/multipartBody2566888960842733851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139292659,"filename":"image_26112025_03_15_38_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/26/a55a4ea8607d14366d12b16639f27aec.jpg","text":"TemporaryFile(/tmp/multipartBody8421243519385504795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139292659,"filename":"image_26112025_03_15_32_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/26/36d13b345cb54ed781b62d7571bfe0cf.jpg","text":"TemporaryFile(/tmp/multipartBody2394411494489656069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139292659,"filename":"image_26112025_03_15_26_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/26/06066af749122a0129e42719cc424ff0.jpg","text":"TemporaryFile(/tmp/multipartBody5060210887415776402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139292659,"filename":"image_26112025_03_15_41_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/26/72a8ce57ecbc6e91d1333a1fa3ca1e96.jpg","text":"TemporaryFile(/tmp/multipartBody7492639036738771820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139292659,"filename":"image_26112025_03_15_29_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215253","file1":"1396215248","file0":"1396215246","file4":"1396215259","file5":"1396215260","file3":"1396215256"},"map_files_photo_id_array":[{"photo_id":"1396215260","filename":"file5"},{"photo_id":"1396215253","filename":"file2"},{"photo_id":"1396215259","filename":"file4"},{"photo_id":"1396215248","filename":"file1"},{"photo_id":"1396215246","filename":"file0"},{"photo_id":"1396215256","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215256":["hashtag1","hashtag2"]},{"1396215259":["hashtag1","hashtag2"]},{"1396215253":["hashtag1","hashtag2"]},{"1396215246":["hashtag1","hashtag2"]},{"1396215260":["hashtag1","hashtag2"]},{"1396215248":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215256, 1396215259, 1396215253, 1396215246, 1396215260, 1396215248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.644736528396606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:41:12.134083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_44_2614.jpg', '/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_47_3729.jpg', '/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_50_2847.jpg', '/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_53_2684.jpg', '/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_56_2678.jpg', '/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_59_3721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_44_2614.jpg
/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_47_3729.jpg
/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_50_2847.jpg
/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_53_2684.jpg
/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_56_2678.jpg
/home/pi/Desktop/images/26112025/03/15/image_26112025_03_15_59_3721.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":["1396215322","1396215285","1396215324","1396215318","1396215315","1396215320"],"photo_ids_order":["1396215285","1396215315","1396215318","1396215320","1396215322","1396215324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/02299acdfe9619fc4d90bb7e61d055cc.jpg","text":"TemporaryFile(/tmp/multipartBody6971076706097149606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139332808,"filename":"image_26112025_03_15_56_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/26/d641edc1e7040abcf1477ca9b88db800.jpg","text":"TemporaryFile(/tmp/multipartBody2243960123927842875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139332808,"filename":"image_26112025_03_15_44_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/26/3fbf89b62c1c21c0a5959fbdc595f1c2.jpg","text":"TemporaryFile(/tmp/multipartBody2436043710024237427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139332808,"filename":"image_26112025_03_15_59_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/26/afafba1564efd583e42e54608542e646.jpg","text":"TemporaryFile(/tmp/multipartBody8620597970671461399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139332808,"filename":"image_26112025_03_15_50_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/26/3edf9bc1228d04377727509a5b3c3ab9.jpg","text":"TemporaryFile(/tmp/multipartBody4069748401415564816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139332808,"filename":"image_26112025_03_15_47_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/26/7c17de2ca62fcf7420aff33feb36a6e8.jpg","text":"TemporaryFile(/tmp/multipartBody8125736484522770818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139332808,"filename":"image_26112025_03_15_53_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215318","file1":"1396215315","file0":"1396215285","file4":"1396215322","file5":"1396215324","file3":"1396215320"},"map_files_photo_id_array":[{"photo_id":"1396215324","filename":"file5"},{"photo_id":"1396215318","filename":"file2"},{"photo_id":"1396215322","filename":"file4"},{"photo_id":"1396215315","filename":"file1"},{"photo_id":"1396215285","filename":"file0"},{"photo_id":"1396215320","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215322":["hashtag1","hashtag2"]},{"1396215285":["hashtag1","hashtag2"]},{"1396215324":["hashtag1","hashtag2"]},{"1396215318":["hashtag1","hashtag2"]},{"1396215315":["hashtag1","hashtag2"]},{"1396215320":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215322, 1396215285, 1396215324, 1396215318, 1396215315, 1396215320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51248836517334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:42:02.673624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_02_2664.jpg', '/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_05_2560.jpg', '/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_08_3626.jpg', '/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_11_2768.jpg', '/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_14_2555.jpg', '/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_17_3674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_02_2664.jpg
/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_05_2560.jpg
/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_08_3626.jpg
/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_11_2768.jpg
/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_14_2555.jpg
/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_17_3674.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":["1396215352","1396215346","1396215349","1396215345","1396215347","1396215344"],"photo_ids_order":["1396215344","1396215345","1396215346","1396215347","1396215349","1396215352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b770a010a6b6759d170594a9adc4ebfb.jpg","text":"TemporaryFile(/tmp/multipartBody2228583294603213584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139383416,"filename":"image_26112025_03_16_17_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/99351b36d223c2a6285ae6ef6db34119.jpg","text":"TemporaryFile(/tmp/multipartBody4046080333528710519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139383416,"filename":"image_26112025_03_16_08_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/26/dfbeb2c2f91797fc3fe00c09b8665cbb.jpg","text":"TemporaryFile(/tmp/multipartBody3317493931129050785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139383416,"filename":"image_26112025_03_16_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/26/d953a576b53f0576940a3885948f2064.jpg","text":"TemporaryFile(/tmp/multipartBody82531084044384375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139383416,"filename":"image_26112025_03_16_05_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/26/3262bec94783776f300f842564a57f25.jpg","text":"TemporaryFile(/tmp/multipartBody8461730554285152675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139383416,"filename":"image_26112025_03_16_11_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/26/42c63869b99e2e4ac7de1577cb330623.jpg","text":"TemporaryFile(/tmp/multipartBody4266344153996060871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139383416,"filename":"image_26112025_03_16_02_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215346","file1":"1396215345","file0":"1396215344","file4":"1396215349","file5":"1396215352","file3":"1396215347"},"map_files_photo_id_array":[{"photo_id":"1396215352","filename":"file5"},{"photo_id":"1396215346","filename":"file2"},{"photo_id":"1396215349","filename":"file4"},{"photo_id":"1396215345","filename":"file1"},{"photo_id":"1396215344","filename":"file0"},{"photo_id":"1396215347","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215352":["hashtag1","hashtag2"]},{"1396215346":["hashtag1","hashtag2"]},{"1396215349":["hashtag1","hashtag2"]},{"1396215345":["hashtag1","hashtag2"]},{"1396215347":["hashtag1","hashtag2"]},{"1396215344":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215352, 1396215346, 1396215349, 1396215345, 1396215347, 1396215344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.556949853897095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 07:42:42.232282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_20_2805.jpg', '/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_23_2611.jpg', '/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_26_3691.jpg', '/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_29_2524.jpg', '/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_32_2737.jpg', '/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_35_3616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_20_2805.jpg
/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_23_2611.jpg
/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_26_3691.jpg
/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_29_2524.jpg
/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_32_2737.jpg
/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_35_3616.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":["1396215361","1396215364","1396215367","1396215366","1396215368","1396215362"],"photo_ids_order":["1396215361","1396215362","1396215364","1396215366","1396215367","1396215368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1883dcc6136a5b8068e63dc073aeb05c.jpg","text":"TemporaryFile(/tmp/multipartBody124121357407143196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139422894,"filename":"image_26112025_03_16_20_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/26/c37659eaf71553abf780ed7ce7e2376d.jpg","text":"TemporaryFile(/tmp/multipartBody414325906357732061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139422894,"filename":"image_26112025_03_16_26_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/26/c255fcdd7ad950480708cf50ceb12100.jpg","text":"TemporaryFile(/tmp/multipartBody6086882308556452618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139422894,"filename":"image_26112025_03_16_32_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/26/1973b1c5768b75d0adf019b6c2d8bd67.jpg","text":"TemporaryFile(/tmp/multipartBody5211910408583200066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139422894,"filename":"image_26112025_03_16_29_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/26/92e0cc26b633346678ae3f7e739a8bd3.jpg","text":"TemporaryFile(/tmp/multipartBody8328854516074843452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139422894,"filename":"image_26112025_03_16_35_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/26/f41eeecafde9dd1219f24100d3d8a2f7.jpg","text":"TemporaryFile(/tmp/multipartBody5347391379987470145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139422894,"filename":"image_26112025_03_16_23_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215364","file1":"1396215362","file0":"1396215361","file4":"1396215367","file5":"1396215368","file3":"1396215366"},"map_files_photo_id_array":[{"photo_id":"1396215368","filename":"file5"},{"photo_id":"1396215364","filename":"file2"},{"photo_id":"1396215367","filename":"file4"},{"photo_id":"1396215362","filename":"file1"},{"photo_id":"1396215361","filename":"file0"},{"photo_id":"1396215366","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215361":["hashtag1","hashtag2"]},{"1396215364":["hashtag1","hashtag2"]},{"1396215367":["hashtag1","hashtag2"]},{"1396215366":["hashtag1","hashtag2"]},{"1396215368":["hashtag1","hashtag2"]},{"1396215362":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215361, 1396215364, 1396215367, 1396215366, 1396215368, 1396215362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.428335666656494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:43:22.444108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_38_2623.jpg', '/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_40_2598.jpg', '/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_44_3653.jpg', '/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_47_2593.jpg', '/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_50_3597.jpg', '/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_53_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_38_2623.jpg
/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_40_2598.jpg
/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_44_3653.jpg
/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_47_2593.jpg
/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_50_3597.jpg
/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_53_2760.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":["1396215384","1396215381","1396215375","1396215378","1396215392","1396215388"],"photo_ids_order":["1396215375","1396215378","1396215381","1396215384","1396215388","1396215392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bf141e8e6938e4424b642662c94a0a69.jpg","text":"TemporaryFile(/tmp/multipartBody4149983025884843519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139463117,"filename":"image_26112025_03_16_47_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/26/7af0f510b0b014c46d8556b601835c46.jpg","text":"TemporaryFile(/tmp/multipartBody4945971612004810087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139463117,"filename":"image_26112025_03_16_44_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8e79748a0ec538bfa95d43b1b4a9beb3.jpg","text":"TemporaryFile(/tmp/multipartBody7061336765659325802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139463117,"filename":"image_26112025_03_16_38_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/26/42ccfbffbe7e0aa2645e44d54c4fe606.jpg","text":"TemporaryFile(/tmp/multipartBody6471822127597450712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139463117,"filename":"image_26112025_03_16_40_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/26/e1df10f0acab535de36242d1218fc638.jpg","text":"TemporaryFile(/tmp/multipartBody1881344798240964185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139463117,"filename":"image_26112025_03_16_53_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/26/c9297f266b76850dbe5741c89fd30ace.jpg","text":"TemporaryFile(/tmp/multipartBody6456566337603757830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139463117,"filename":"image_26112025_03_16_50_3597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215381","file1":"1396215378","file0":"1396215375","file4":"1396215388","file5":"1396215392","file3":"1396215384"},"map_files_photo_id_array":[{"photo_id":"1396215392","filename":"file5"},{"photo_id":"1396215381","filename":"file2"},{"photo_id":"1396215388","filename":"file4"},{"photo_id":"1396215378","filename":"file1"},{"photo_id":"1396215375","filename":"file0"},{"photo_id":"1396215384","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215384":["hashtag1","hashtag2"]},{"1396215381":["hashtag1","hashtag2"]},{"1396215375":["hashtag1","hashtag2"]},{"1396215378":["hashtag1","hashtag2"]},{"1396215392":["hashtag1","hashtag2"]},{"1396215388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215384, 1396215381, 1396215375, 1396215378, 1396215392, 1396215388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3030219078064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:44:03.449603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_56_2739.jpg', '/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_59_3562.jpg', '/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_02_2486.jpg', '/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_05_2765.jpg', '/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_08_3724.jpg', '/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_11_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_56_2739.jpg
/home/pi/Desktop/images/26112025/03/16/image_26112025_03_16_59_3562.jpg
/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_02_2486.jpg
/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_05_2765.jpg
/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_08_3724.jpg
/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_11_2605.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":["1396215397","1396215412","1396215400","1396215403","1396215405","1396215408"],"photo_ids_order":["1396215397","1396215400","1396215403","1396215405","1396215408","1396215412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c8c7561195a3061cd139600d1715c2b4.jpg","text":"TemporaryFile(/tmp/multipartBody1768782505858379187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139504155,"filename":"image_26112025_03_16_56_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/26/3bca8e9a0a0e4162e910d09ec2785106.jpg","text":"TemporaryFile(/tmp/multipartBody7477134179807837968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139504155,"filename":"image_26112025_03_17_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/26/7e3668d7ac1843cbf5f9364896b1864a.jpg","text":"TemporaryFile(/tmp/multipartBody3035383380637830994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139504155,"filename":"image_26112025_03_16_59_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/26/6af16a5cde2c73d338fe4392005022fd.jpg","text":"TemporaryFile(/tmp/multipartBody2847255367304817746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139504155,"filename":"image_26112025_03_17_02_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/26/d6c35d547a9ac3b9a9a730970d038aa7.jpg","text":"TemporaryFile(/tmp/multipartBody2924034564172224673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139504155,"filename":"image_26112025_03_17_05_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/26/62f3d62c5d355945eea9098befa03f11.jpg","text":"TemporaryFile(/tmp/multipartBody9010307933164360297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139504155,"filename":"image_26112025_03_17_08_3724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215403","file1":"1396215400","file0":"1396215397","file4":"1396215408","file5":"1396215412","file3":"1396215405"},"map_files_photo_id_array":[{"photo_id":"1396215412","filename":"file5"},{"photo_id":"1396215403","filename":"file2"},{"photo_id":"1396215408","filename":"file4"},{"photo_id":"1396215400","filename":"file1"},{"photo_id":"1396215397","filename":"file0"},{"photo_id":"1396215405","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215397":["hashtag1","hashtag2"]},{"1396215412":["hashtag1","hashtag2"]},{"1396215400":["hashtag1","hashtag2"]},{"1396215403":["hashtag1","hashtag2"]},{"1396215405":["hashtag1","hashtag2"]},{"1396215408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215397, 1396215412, 1396215400, 1396215403, 1396215405, 1396215408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25868368148804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 07:44:42.595209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_14_2665.jpg', '/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_17_3721.jpg', '/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_20_2820.jpg', '/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_23_2756.jpg', '/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_26_2656.jpg', '/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_29_3613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_14_2665.jpg
/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_17_3721.jpg
/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_20_2820.jpg
/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_23_2756.jpg
/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_26_2656.jpg
/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_29_3613.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":["1396215430","1396215427","1396215429","1396215423","1396215432","1396215428"],"photo_ids_order":["1396215423","1396215427","1396215428","1396215429","1396215430","1396215432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/823d600a00ce1223e7b0a3a4ba2da2f8.jpg","text":"TemporaryFile(/tmp/multipartBody4432624361987745898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139543301,"filename":"image_26112025_03_17_26_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/26/2235fb3124b64e90ba0b2e5a6550e0b3.jpg","text":"TemporaryFile(/tmp/multipartBody7248539457196360784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139543301,"filename":"image_26112025_03_17_17_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/26/580ff2af7400c85ded5538db76d6bc79.jpg","text":"TemporaryFile(/tmp/multipartBody705792572677684526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139543301,"filename":"image_26112025_03_17_23_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/26/e811f9a2553dccbe12232ee130c8e822.jpg","text":"TemporaryFile(/tmp/multipartBody7818896253478902429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139543301,"filename":"image_26112025_03_17_14_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1a90d1c0152da33f0e540b4f86633a8a.jpg","text":"TemporaryFile(/tmp/multipartBody5148631671715362334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139543301,"filename":"image_26112025_03_17_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/26/ceccd14a0e3498acde21d0d156afd272.jpg","text":"TemporaryFile(/tmp/multipartBody5196176974295125168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139543301,"filename":"image_26112025_03_17_20_2820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215428","file1":"1396215427","file0":"1396215423","file4":"1396215430","file5":"1396215432","file3":"1396215429"},"map_files_photo_id_array":[{"photo_id":"1396215432","filename":"file5"},{"photo_id":"1396215428","filename":"file2"},{"photo_id":"1396215430","filename":"file4"},{"photo_id":"1396215427","filename":"file1"},{"photo_id":"1396215423","filename":"file0"},{"photo_id":"1396215429","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215430":["hashtag1","hashtag2"]},{"1396215427":["hashtag1","hashtag2"]},{"1396215429":["hashtag1","hashtag2"]},{"1396215423":["hashtag1","hashtag2"]},{"1396215432":["hashtag1","hashtag2"]},{"1396215428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215430, 1396215427, 1396215429, 1396215423, 1396215432, 1396215428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21095061302185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:45:22.538464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_32_2829.jpg', '/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_35_2677.jpg', '/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_37_2696.jpg', '/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_41_3727.jpg', '/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_44_2525.jpg', '/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_46_2781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_32_2829.jpg
/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_35_2677.jpg
/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_37_2696.jpg
/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_41_3727.jpg
/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_44_2525.jpg
/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_46_2781.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":["1396215448","1396215450","1396215443","1396215446","1396215440","1396215437"],"photo_ids_order":["1396215437","1396215440","1396215443","1396215446","1396215448","1396215450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6b1e3c5b2aea9ac2ab52f321770c7b00.jpg","text":"TemporaryFile(/tmp/multipartBody7452949539211994054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139583203,"filename":"image_26112025_03_17_44_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/26/e89f578a58776bba582e8c4079e75c4a.jpg","text":"TemporaryFile(/tmp/multipartBody6176061939414369777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139583203,"filename":"image_26112025_03_17_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/26/cce7c128f2586a7dcf7b5bb12ecec4fb.jpg","text":"TemporaryFile(/tmp/multipartBody5790071912667246860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139583203,"filename":"image_26112025_03_17_37_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f89174fbd998affa7ae5bafbabbc669a.jpg","text":"TemporaryFile(/tmp/multipartBody3672000183664353563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139583203,"filename":"image_26112025_03_17_41_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/26/319de8004c94b603cf7c63058e7b7b42.jpg","text":"TemporaryFile(/tmp/multipartBody2082820538726454280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139583203,"filename":"image_26112025_03_17_35_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/26/c2582d0bb6ceb77c99943bebc5408a5c.jpg","text":"TemporaryFile(/tmp/multipartBody7954681720527464180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139583203,"filename":"image_26112025_03_17_32_2829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215443","file1":"1396215440","file0":"1396215437","file4":"1396215448","file5":"1396215450","file3":"1396215446"},"map_files_photo_id_array":[{"photo_id":"1396215450","filename":"file5"},{"photo_id":"1396215443","filename":"file2"},{"photo_id":"1396215448","filename":"file4"},{"photo_id":"1396215440","filename":"file1"},{"photo_id":"1396215437","filename":"file0"},{"photo_id":"1396215446","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215448":["hashtag1","hashtag2"]},{"1396215450":["hashtag1","hashtag2"]},{"1396215443":["hashtag1","hashtag2"]},{"1396215446":["hashtag1","hashtag2"]},{"1396215440":["hashtag1","hashtag2"]},{"1396215437":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215448, 1396215450, 1396215443, 1396215446, 1396215440, 1396215437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87817716598511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:46:03.280739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_50_3541.jpg', '/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_53_2629.jpg', '/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_56_3726.jpg', '/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_59_2670.jpg', '/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_02_3022.jpg', '/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_05_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_50_3541.jpg
/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_53_2629.jpg
/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_56_3726.jpg
/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_59_2670.jpg
/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_02_3022.jpg
/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_05_2702.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.6135973930358887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:46:12.701631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_50_3541.jpg', '/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_53_2629.jpg', '/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_56_3726.jpg', '/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_59_2670.jpg', '/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_02_3022.jpg', '/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_05_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_50_3541.jpg
/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_53_2629.jpg
/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_56_3726.jpg
/home/pi/Desktop/images/26112025/03/17/image_26112025_03_17_59_2670.jpg
/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_02_3022.jpg
/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_05_2702.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":["1396215481","1396215465","1396215477","1396215507","1396215458","1396215503"],"photo_ids_order":["1396215458","1396215465","1396215477","1396215481","1396215503","1396215507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6ffc8fc991369d8f9f0a5a3d44072649.jpg","text":"TemporaryFile(/tmp/multipartBody8280537663362000666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139633403,"filename":"image_26112025_03_17_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/26/7446f210d1524e8c3350ebed7da3b5bb.jpg","text":"TemporaryFile(/tmp/multipartBody5195289799598922700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139633403,"filename":"image_26112025_03_17_53_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/26/11ef0e3c68554c2bf4397e3cee0e43af.jpg","text":"TemporaryFile(/tmp/multipartBody2816885209285859485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139633403,"filename":"image_26112025_03_17_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/26/448ede8abe7009280f9342dcd7899db9.jpg","text":"TemporaryFile(/tmp/multipartBody4444939539120320108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139633403,"filename":"image_26112025_03_18_05_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/26/444ba4e9c03880be577a0c6836946fd8.jpg","text":"TemporaryFile(/tmp/multipartBody4971465091344243189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139633403,"filename":"image_26112025_03_17_50_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/26/04b3f0e517508511325372409b99eab8.jpg","text":"TemporaryFile(/tmp/multipartBody6320522210173245306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139633403,"filename":"image_26112025_03_18_02_3022.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215477","file1":"1396215465","file0":"1396215458","file4":"1396215503","file5":"1396215507","file3":"1396215481"},"map_files_photo_id_array":[{"photo_id":"1396215507","filename":"file5"},{"photo_id":"1396215477","filename":"file2"},{"photo_id":"1396215503","filename":"file4"},{"photo_id":"1396215465","filename":"file1"},{"photo_id":"1396215458","filename":"file0"},{"photo_id":"1396215481","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215481":["hashtag1","hashtag2"]},{"1396215465":["hashtag1","hashtag2"]},{"1396215477":["hashtag1","hashtag2"]},{"1396215507":["hashtag1","hashtag2"]},{"1396215458":["hashtag1","hashtag2"]},{"1396215503":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215481, 1396215465, 1396215477, 1396215507, 1396215458, 1396215503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89115500450134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:47:03.458190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_07_2554.jpg', '/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_11_3536.jpg', '/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_13_2694.jpg', '/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_17_3608.jpg', '/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_20_2566.jpg', '/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_22_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_07_2554.jpg
/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_11_3536.jpg
/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_13_2694.jpg
/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_17_3608.jpg
/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_20_2566.jpg
/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_22_2704.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":["1396215532","1396215520","1396215534","1396215528","1396215537","1396215530"],"photo_ids_order":["1396215520","1396215528","1396215530","1396215532","1396215534","1396215537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/60f57f6104977e372765f505148aa9a0.jpg","text":"TemporaryFile(/tmp/multipartBody4188677399757914743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139684227,"filename":"image_26112025_03_18_17_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/26/fae123ee54cccb05c03d5442ffb9049b.jpg","text":"TemporaryFile(/tmp/multipartBody403152587115747944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139684227,"filename":"image_26112025_03_18_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/26/b7a2e34e573c01b03dba9d0595d92143.jpg","text":"TemporaryFile(/tmp/multipartBody3408070766438716554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139684227,"filename":"image_26112025_03_18_20_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/26/97189e22ef747b875dc5dc760f9c636c.jpg","text":"TemporaryFile(/tmp/multipartBody6551192313059145907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139684227,"filename":"image_26112025_03_18_11_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/26/d39a9752eaace6d1f7aeeef115ef7eb4.jpg","text":"TemporaryFile(/tmp/multipartBody5075266097954198993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139684227,"filename":"image_26112025_03_18_22_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/26/fd3a52456729f163f3a1cf8508972c92.jpg","text":"TemporaryFile(/tmp/multipartBody4600590017116287735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139684227,"filename":"image_26112025_03_18_13_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215530","file1":"1396215528","file0":"1396215520","file4":"1396215534","file5":"1396215537","file3":"1396215532"},"map_files_photo_id_array":[{"photo_id":"1396215537","filename":"file5"},{"photo_id":"1396215530","filename":"file2"},{"photo_id":"1396215534","filename":"file4"},{"photo_id":"1396215528","filename":"file1"},{"photo_id":"1396215520","filename":"file0"},{"photo_id":"1396215532","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215532":["hashtag1","hashtag2"]},{"1396215520":["hashtag1","hashtag2"]},{"1396215534":["hashtag1","hashtag2"]},{"1396215528":["hashtag1","hashtag2"]},{"1396215537":["hashtag1","hashtag2"]},{"1396215530":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215532, 1396215520, 1396215534, 1396215528, 1396215537, 1396215530)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.84099817276001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:48:03.050146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_26_3746.jpg', '/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_31_2637.jpg', '/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_35_3549.jpg', '/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_37_2591.jpg', '/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_40_2824.jpg', '/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_44_3502.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_26_3746.jpg
/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_31_2637.jpg
/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_35_3549.jpg
/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_37_2591.jpg
/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_40_2824.jpg
/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_44_3502.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":["1396215553","1396215550","1396215570","1396215558","1396215549","1396215548"],"photo_ids_order":["1396215548","1396215549","1396215550","1396215553","1396215558","1396215570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6f42f468b4a2ed094ccd7b7f252d89ce.jpg","text":"TemporaryFile(/tmp/multipartBody5455047998511302585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139743775,"filename":"image_26112025_03_18_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/26/0b589e54bc38ceb36590f50c5ea2d259.jpg","text":"TemporaryFile(/tmp/multipartBody2757397841788005148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139743775,"filename":"image_26112025_03_18_35_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/26/87c51ebdedc66fa3d69794f1324fcca0.jpg","text":"TemporaryFile(/tmp/multipartBody2584289086710495533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139743775,"filename":"image_26112025_03_18_44_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/26/47e2dead926c0cc711ceb02f211d0ca8.jpg","text":"TemporaryFile(/tmp/multipartBody8299207417182453776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139743775,"filename":"image_26112025_03_18_40_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/26/0d3141b1b8630690878a80835766ab3a.jpg","text":"TemporaryFile(/tmp/multipartBody5138029458023592310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139743775,"filename":"image_26112025_03_18_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/26/942bca8639a0c1e4263366d77b786ffd.jpg","text":"TemporaryFile(/tmp/multipartBody3409459834822207843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139743775,"filename":"image_26112025_03_18_26_3746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215550","file1":"1396215549","file0":"1396215548","file4":"1396215558","file5":"1396215570","file3":"1396215553"},"map_files_photo_id_array":[{"photo_id":"1396215570","filename":"file5"},{"photo_id":"1396215550","filename":"file2"},{"photo_id":"1396215558","filename":"file4"},{"photo_id":"1396215549","filename":"file1"},{"photo_id":"1396215548","filename":"file0"},{"photo_id":"1396215553","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215553":["hashtag1","hashtag2"]},{"1396215550":["hashtag1","hashtag2"]},{"1396215570":["hashtag1","hashtag2"]},{"1396215558":["hashtag1","hashtag2"]},{"1396215549":["hashtag1","hashtag2"]},{"1396215548":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215553, 1396215550, 1396215570, 1396215558, 1396215549, 1396215548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12223529815674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 07:48:42.617837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_46_2580.jpg', '/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_50_3659.jpg', '/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_56_2517.jpg', '/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_59_3232.jpg', '/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_01_2575.jpg', '/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_05_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_46_2580.jpg
/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_50_3659.jpg
/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_56_2517.jpg
/home/pi/Desktop/images/26112025/03/18/image_26112025_03_18_59_3232.jpg
/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_01_2575.jpg
/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_05_3677.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":["1396215591","1396215585","1396215588","1396215593","1396215590","1396215592"],"photo_ids_order":["1396215585","1396215588","1396215590","1396215591","1396215592","1396215593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9b37841590c164d7c4984d14e6fb3d65.jpg","text":"TemporaryFile(/tmp/multipartBody1286792897415155814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139783322,"filename":"image_26112025_03_18_59_3232.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3cdf453f99455ff17e8a67a3be82290b.jpg","text":"TemporaryFile(/tmp/multipartBody7270020778394068922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139783322,"filename":"image_26112025_03_18_46_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/26/114b73e1241698edc6f209128c2b4aca.jpg","text":"TemporaryFile(/tmp/multipartBody3369982070153810746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139783322,"filename":"image_26112025_03_18_50_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/26/36004f709ec615c0aba969712fed8750.jpg","text":"TemporaryFile(/tmp/multipartBody8710547122205553456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139783322,"filename":"image_26112025_03_19_05_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/26/6f9fa3fbf6177a2d30c08be11ed61399.jpg","text":"TemporaryFile(/tmp/multipartBody5491962840389453059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139783322,"filename":"image_26112025_03_18_56_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/26/b37b0f01c0e631de89fcb8637050d4c2.jpg","text":"TemporaryFile(/tmp/multipartBody8910059966124744695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139783322,"filename":"image_26112025_03_19_01_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215590","file1":"1396215588","file0":"1396215585","file4":"1396215592","file5":"1396215593","file3":"1396215591"},"map_files_photo_id_array":[{"photo_id":"1396215593","filename":"file5"},{"photo_id":"1396215590","filename":"file2"},{"photo_id":"1396215592","filename":"file4"},{"photo_id":"1396215588","filename":"file1"},{"photo_id":"1396215585","filename":"file0"},{"photo_id":"1396215591","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215591":["hashtag1","hashtag2"]},{"1396215585":["hashtag1","hashtag2"]},{"1396215588":["hashtag1","hashtag2"]},{"1396215593":["hashtag1","hashtag2"]},{"1396215590":["hashtag1","hashtag2"]},{"1396215592":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215591, 1396215585, 1396215588, 1396215593, 1396215590, 1396215592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.66251349449158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:49:21.846639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_08_2622.jpg', '/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_10_2573.jpg', '/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_14_3741.jpg', '/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_20_5758.jpg', '/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_21_1643.jpg', '/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_23_1749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_08_2622.jpg
/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_10_2573.jpg
/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_14_3741.jpg
/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_20_5758.jpg
/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_21_1643.jpg
/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_23_1749.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":["1396215615","1396215609","1396215600","1396215603","1396215612","1396215606"],"photo_ids_order":["1396215600","1396215603","1396215606","1396215609","1396215612","1396215615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/60aa487e51b35cae78fdcdc7b72454d9.jpg","text":"TemporaryFile(/tmp/multipartBody9091459586159362354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139822589,"filename":"image_26112025_03_19_23_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/26/507ecb455b02b2ae87dd4abe848a1543.jpg","text":"TemporaryFile(/tmp/multipartBody4899112951812714661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139822589,"filename":"image_26112025_03_19_20_5758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/30057a9cfa8559abf6c7df191e6b6f88.jpg","text":"TemporaryFile(/tmp/multipartBody833053651329105908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139822589,"filename":"image_26112025_03_19_08_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/26/37e6fdc0d9c5d9d4a20a76d6ef18c06a.jpg","text":"TemporaryFile(/tmp/multipartBody7731222831035200312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139822589,"filename":"image_26112025_03_19_10_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/26/e1e1206f56eb83355449e1c2d94232f5.jpg","text":"TemporaryFile(/tmp/multipartBody7305143250247699076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139822589,"filename":"image_26112025_03_19_21_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/26/761cf570da09d641d1c65918781eb219.jpg","text":"TemporaryFile(/tmp/multipartBody666102047748107530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139822589,"filename":"image_26112025_03_19_14_3741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215606","file1":"1396215603","file0":"1396215600","file4":"1396215612","file5":"1396215615","file3":"1396215609"},"map_files_photo_id_array":[{"photo_id":"1396215615","filename":"file5"},{"photo_id":"1396215606","filename":"file2"},{"photo_id":"1396215612","filename":"file4"},{"photo_id":"1396215603","filename":"file1"},{"photo_id":"1396215600","filename":"file0"},{"photo_id":"1396215609","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215615":["hashtag1","hashtag2"]},{"1396215609":["hashtag1","hashtag2"]},{"1396215600":["hashtag1","hashtag2"]},{"1396215603":["hashtag1","hashtag2"]},{"1396215612":["hashtag1","hashtag2"]},{"1396215606":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215615, 1396215609, 1396215600, 1396215603, 1396215612, 1396215606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.053754806518555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:50:02.564544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_26_2638.jpg', '/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_28_2662.jpg', '/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_32_3545.jpg', '/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_35_2645.jpg', '/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_37_2709.jpg', '/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_40_2814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_26_2638.jpg
/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_28_2662.jpg
/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_32_3545.jpg
/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_35_2645.jpg
/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_37_2709.jpg
/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_40_2814.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":["1396215621","1396215618","1396215623","1396215632","1396215626","1396215620"],"photo_ids_order":["1396215618","1396215620","1396215621","1396215623","1396215626","1396215632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/99920f8ade061e3a68305debf7459292.jpg","text":"TemporaryFile(/tmp/multipartBody4791712541642062546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139863272,"filename":"image_26112025_03_19_32_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/26/087168c39d934e00ae429332118f27d6.jpg","text":"TemporaryFile(/tmp/multipartBody2137308839307231756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139863272,"filename":"image_26112025_03_19_26_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/26/d22ad29c287762566b51b7afa2a60bf4.jpg","text":"TemporaryFile(/tmp/multipartBody5280975834053568672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139863272,"filename":"image_26112025_03_19_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/26/267ac460b80f49dddac6edd5cbe35271.jpg","text":"TemporaryFile(/tmp/multipartBody1776733431378765319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139863272,"filename":"image_26112025_03_19_40_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/26/70595f808196c92f3c6a9ec15e8dc08c.jpg","text":"TemporaryFile(/tmp/multipartBody7862707141366136893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139863272,"filename":"image_26112025_03_19_37_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/26/04cd852ba72ce05be720aa8cf93e9270.jpg","text":"TemporaryFile(/tmp/multipartBody6717778066871721110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139863272,"filename":"image_26112025_03_19_28_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215621","file1":"1396215620","file0":"1396215618","file4":"1396215626","file5":"1396215632","file3":"1396215623"},"map_files_photo_id_array":[{"photo_id":"1396215632","filename":"file5"},{"photo_id":"1396215621","filename":"file2"},{"photo_id":"1396215626","filename":"file4"},{"photo_id":"1396215620","filename":"file1"},{"photo_id":"1396215618","filename":"file0"},{"photo_id":"1396215623","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215621":["hashtag1","hashtag2"]},{"1396215618":["hashtag1","hashtag2"]},{"1396215623":["hashtag1","hashtag2"]},{"1396215632":["hashtag1","hashtag2"]},{"1396215626":["hashtag1","hashtag2"]},{"1396215620":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215621, 1396215618, 1396215623, 1396215632, 1396215626, 1396215620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26922798156738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 07:50:42.012860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_44_3544.jpg', '/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_46_2686.jpg', '/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_49_2922.jpg', '/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_52_2788.jpg', '/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_56_3761.jpg', '/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_59_2818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_44_3544.jpg
/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_46_2686.jpg
/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_49_2922.jpg
/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_52_2788.jpg
/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_56_3761.jpg
/home/pi/Desktop/images/26112025/03/19/image_26112025_03_19_59_2818.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":["1396215667","1396215664","1396215663","1396215666","1396215665","1396215647"],"photo_ids_order":["1396215647","1396215663","1396215664","1396215665","1396215666","1396215667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2684b0d496afb6e22735157883ea6c22.jpg","text":"TemporaryFile(/tmp/multipartBody1418236358859152943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139902680,"filename":"image_26112025_03_19_59_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/26/104910887feb20667d0a0d8ae74182e8.jpg","text":"TemporaryFile(/tmp/multipartBody2123669025414176594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139902680,"filename":"image_26112025_03_19_49_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/26/eaff2c790cfe6ac7be31c5c0ceff1f4f.jpg","text":"TemporaryFile(/tmp/multipartBody7526775748640124610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139902680,"filename":"image_26112025_03_19_46_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/26/bf4ecbbfc0c5fb7eba72f0d6ac8a09b5.jpg","text":"TemporaryFile(/tmp/multipartBody8506318157631350403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139902680,"filename":"image_26112025_03_19_56_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/26/d8fa010b395acd30f5038833f4bcedc3.jpg","text":"TemporaryFile(/tmp/multipartBody4707456712584764178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139902680,"filename":"image_26112025_03_19_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/26/d0c5e44035274ef014a0e19b86df18e5.jpg","text":"TemporaryFile(/tmp/multipartBody1819197849427206673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139902680,"filename":"image_26112025_03_19_44_3544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215664","file1":"1396215663","file0":"1396215647","file4":"1396215666","file5":"1396215667","file3":"1396215665"},"map_files_photo_id_array":[{"photo_id":"1396215667","filename":"file5"},{"photo_id":"1396215664","filename":"file2"},{"photo_id":"1396215666","filename":"file4"},{"photo_id":"1396215663","filename":"file1"},{"photo_id":"1396215647","filename":"file0"},{"photo_id":"1396215665","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215667":["hashtag1","hashtag2"]},{"1396215664":["hashtag1","hashtag2"]},{"1396215663":["hashtag1","hashtag2"]},{"1396215666":["hashtag1","hashtag2"]},{"1396215665":["hashtag1","hashtag2"]},{"1396215647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215667, 1396215664, 1396215663, 1396215666, 1396215665, 1396215647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.508567810058594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:51:22.288725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_01_2637.jpg', '/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_04_2700.jpg', '/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_08_3592.jpg', '/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_10_2564.jpg', '/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_14_3607.jpg', '/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_16_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_01_2637.jpg
/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_04_2700.jpg
/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_08_3592.jpg
/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_10_2564.jpg
/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_14_3607.jpg
/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_16_2658.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":["1396215688","1396215673","1396215681","1396215675","1396215684","1396215678"],"photo_ids_order":["1396215673","1396215675","1396215678","1396215681","1396215684","1396215688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6d16759b7e3815b683783198e8a64424.jpg","text":"TemporaryFile(/tmp/multipartBody4814052438835780080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139942958,"filename":"image_26112025_03_20_16_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/26/7fb4451913fed38f4bd7a880de62313f.jpg","text":"TemporaryFile(/tmp/multipartBody3704077218856560820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139942958,"filename":"image_26112025_03_20_01_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/26/d8462adafe1d6b90971e3e46793dc119.jpg","text":"TemporaryFile(/tmp/multipartBody5849359840562884008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139942958,"filename":"image_26112025_03_20_10_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/26/06a7ef3f0a63fe99819efadc6a8755ee.jpg","text":"TemporaryFile(/tmp/multipartBody5359325276420463483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139942958,"filename":"image_26112025_03_20_04_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/26/216797de226e83aa3b2b76aaa1779a4a.jpg","text":"TemporaryFile(/tmp/multipartBody8872334405542266803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139942958,"filename":"image_26112025_03_20_14_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/26/01bde3102b594c48914ee2b6f6800764.jpg","text":"TemporaryFile(/tmp/multipartBody610316966776134652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139942958,"filename":"image_26112025_03_20_08_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215678","file1":"1396215675","file0":"1396215673","file4":"1396215684","file5":"1396215688","file3":"1396215681"},"map_files_photo_id_array":[{"photo_id":"1396215688","filename":"file5"},{"photo_id":"1396215678","filename":"file2"},{"photo_id":"1396215684","filename":"file4"},{"photo_id":"1396215675","filename":"file1"},{"photo_id":"1396215673","filename":"file0"},{"photo_id":"1396215681","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215688":["hashtag1","hashtag2"]},{"1396215673":["hashtag1","hashtag2"]},{"1396215681":["hashtag1","hashtag2"]},{"1396215675":["hashtag1","hashtag2"]},{"1396215684":["hashtag1","hashtag2"]},{"1396215678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215688, 1396215673, 1396215681, 1396215675, 1396215684, 1396215678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09626245498657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:52:02.907712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_19_2677.jpg', '/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_23_3660.jpg', '/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_25_2592.jpg', '/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_29_3552.jpg', '/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_32_2664.jpg', '/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_34_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_19_2677.jpg
/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_23_3660.jpg
/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_25_2592.jpg
/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_29_3552.jpg
/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_32_2664.jpg
/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_34_2701.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":["1396215712","1396215709","1396215700","1396215717","1396215704","1396215707"],"photo_ids_order":["1396215700","1396215704","1396215707","1396215709","1396215712","1396215717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/67bff2d5a36d3498ffbc8c8e4ab7c8dc.jpg","text":"TemporaryFile(/tmp/multipartBody6917847828983107018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139983659,"filename":"image_26112025_03_20_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/26/770cfab175b719fc5ff04764120959f1.jpg","text":"TemporaryFile(/tmp/multipartBody8399486233900955489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139983659,"filename":"image_26112025_03_20_29_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/26/46af1ec12894aea4fb8a5bfa10fd6401.jpg","text":"TemporaryFile(/tmp/multipartBody3075769444519284426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139983659,"filename":"image_26112025_03_20_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/26/b814af81a2ad2c62f428d320c86ce83e.jpg","text":"TemporaryFile(/tmp/multipartBody3437785946402660682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139983659,"filename":"image_26112025_03_20_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/26/24493ba2fac224aa110eb3afbdcca8af.jpg","text":"TemporaryFile(/tmp/multipartBody8648161321479475392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139983659,"filename":"image_26112025_03_20_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/26/a7c666302876ef83dc60878bffd5186a.jpg","text":"TemporaryFile(/tmp/multipartBody936518731892121410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764139983659,"filename":"image_26112025_03_20_25_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215707","file1":"1396215704","file0":"1396215700","file4":"1396215712","file5":"1396215717","file3":"1396215709"},"map_files_photo_id_array":[{"photo_id":"1396215717","filename":"file5"},{"photo_id":"1396215707","filename":"file2"},{"photo_id":"1396215712","filename":"file4"},{"photo_id":"1396215704","filename":"file1"},{"photo_id":"1396215700","filename":"file0"},{"photo_id":"1396215709","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215712":["hashtag1","hashtag2"]},{"1396215709":["hashtag1","hashtag2"]},{"1396215700":["hashtag1","hashtag2"]},{"1396215717":["hashtag1","hashtag2"]},{"1396215704":["hashtag1","hashtag2"]},{"1396215707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215712, 1396215709, 1396215700, 1396215717, 1396215704, 1396215707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47316336631775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 07:52:42.337441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_38_3570.jpg', '/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_41_2680.jpg', '/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_43_2666.jpg', '/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_47_3611.jpg', '/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_49_2576.jpg', '/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_52_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_38_3570.jpg
/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_41_2680.jpg
/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_43_2666.jpg
/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_47_3611.jpg
/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_49_2576.jpg
/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_52_2583.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.6114721298217773 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:53:02.946862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_38_3570.jpg', '/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_41_2680.jpg', '/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_43_2666.jpg', '/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_47_3611.jpg', '/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_49_2576.jpg', '/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_52_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_38_3570.jpg
/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_41_2680.jpg
/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_43_2666.jpg
/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_47_3611.jpg
/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_49_2576.jpg
/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_52_2583.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":["1396215742","1396215744","1396215747","1396215741","1396215749","1396215752"],"photo_ids_order":["1396215741","1396215742","1396215744","1396215747","1396215749","1396215752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/55149c872a1c9abb1d0671b1c32fda67.jpg","text":"TemporaryFile(/tmp/multipartBody1912358558484141095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140043695,"filename":"image_26112025_03_20_41_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/26/f51874677b8ed8d3b24d8c6e72cd6976.jpg","text":"TemporaryFile(/tmp/multipartBody7517712261843897274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140043695,"filename":"image_26112025_03_20_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/26/91cf0881609dadc1e85d4e573a2b9281.jpg","text":"TemporaryFile(/tmp/multipartBody4075449327168309976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140043695,"filename":"image_26112025_03_20_47_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/26/46899b773aa679bb27f339740029f231.jpg","text":"TemporaryFile(/tmp/multipartBody3778775388890562544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140043695,"filename":"image_26112025_03_20_38_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/26/04a5546eb44db470dbbba5d3d6bb9027.jpg","text":"TemporaryFile(/tmp/multipartBody4657368698068969687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140043695,"filename":"image_26112025_03_20_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/26/be3ce9d1a7524add697923cff243696c.jpg","text":"TemporaryFile(/tmp/multipartBody4805327229828529563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140043695,"filename":"image_26112025_03_20_52_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215744","file1":"1396215742","file0":"1396215741","file4":"1396215749","file5":"1396215752","file3":"1396215747"},"map_files_photo_id_array":[{"photo_id":"1396215752","filename":"file5"},{"photo_id":"1396215744","filename":"file2"},{"photo_id":"1396215749","filename":"file4"},{"photo_id":"1396215742","filename":"file1"},{"photo_id":"1396215741","filename":"file0"},{"photo_id":"1396215747","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215742":["hashtag1","hashtag2"]},{"1396215744":["hashtag1","hashtag2"]},{"1396215747":["hashtag1","hashtag2"]},{"1396215741":["hashtag1","hashtag2"]},{"1396215749":["hashtag1","hashtag2"]},{"1396215752":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215742, 1396215744, 1396215747, 1396215741, 1396215749, 1396215752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95171141624451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 07:53:42.468934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_56_3722.jpg', '/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_58_2684.jpg', '/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_04_5094.jpg', '/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_05_1746.jpg', '/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_10_2617.jpg', '/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_13_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_56_3722.jpg
/home/pi/Desktop/images/26112025/03/20/image_26112025_03_20_58_2684.jpg
/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_04_5094.jpg
/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_05_1746.jpg
/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_10_2617.jpg
/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_13_2625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396215766","1396215760","1396215763","1396215762","1396215765","1396215764"],"photo_ids_order":["1396215760","1396215762","1396215763","1396215764","1396215765","1396215766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f5864bb7372dbab87c6fd496e85bd4a3.jpg","text":"TemporaryFile(/tmp/multipartBody728628966504182891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140083204,"filename":"image_26112025_03_21_13_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/26/0c8414a479b4ae07783d3db54a33615f.jpg","text":"TemporaryFile(/tmp/multipartBody7630438499532711802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140083204,"filename":"image_26112025_03_20_56_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/26/b9dc7bfcecbf91a227b9a2dca9ffa91d.jpg","text":"TemporaryFile(/tmp/multipartBody8967595742484660845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140083204,"filename":"image_26112025_03_21_04_5094.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ac6932b611c58432379b1746d4c91aa0.jpg","text":"TemporaryFile(/tmp/multipartBody2333273788030777679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140083204,"filename":"image_26112025_03_20_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/26/df1d68cff36dcd68c01bcdd764875417.jpg","text":"TemporaryFile(/tmp/multipartBody5432831560279691274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140083204,"filename":"image_26112025_03_21_10_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/26/8b637359dff6dac1b5e2e33a46f45e6b.jpg","text":"TemporaryFile(/tmp/multipartBody1097232934451363808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140083204,"filename":"image_26112025_03_21_05_1746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215763","file1":"1396215762","file0":"1396215760","file4":"1396215765","file5":"1396215766","file3":"1396215764"},"map_files_photo_id_array":[{"photo_id":"1396215766","filename":"file5"},{"photo_id":"1396215763","filename":"file2"},{"photo_id":"1396215765","filename":"file4"},{"photo_id":"1396215762","filename":"file1"},{"photo_id":"1396215760","filename":"file0"},{"photo_id":"1396215764","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215766":["hashtag1","hashtag2"]},{"1396215760":["hashtag1","hashtag2"]},{"1396215763":["hashtag1","hashtag2"]},{"1396215762":["hashtag1","hashtag2"]},{"1396215765":["hashtag1","hashtag2"]},{"1396215764":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215766, 1396215760, 1396215763, 1396215762, 1396215765, 1396215764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3111252784729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:54:22.673956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_17_3760.jpg', '/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_20_2676.jpg', '/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_22_2649.jpg', '/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_25_2698.jpg', '/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_29_3876.jpg', '/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_32_2764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_17_3760.jpg
/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_20_2676.jpg
/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_22_2649.jpg
/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_25_2698.jpg
/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_29_3876.jpg
/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_32_2764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396215781","1396215795","1396215774","1396215798","1396215788","1396215778"],"photo_ids_order":["1396215774","1396215778","1396215781","1396215788","1396215795","1396215798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/64c0b623a650dde77b216b2951fa276b.jpg","text":"TemporaryFile(/tmp/multipartBody8257108337253122139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140123382,"filename":"image_26112025_03_21_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/26/b111e3c38da3d32531284b59f5ca3e37.jpg","text":"TemporaryFile(/tmp/multipartBody5140797114459004110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140123382,"filename":"image_26112025_03_21_29_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/26/ff22ead116ffe3b4655b289853c1419a.jpg","text":"TemporaryFile(/tmp/multipartBody5021426063377259743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140123382,"filename":"image_26112025_03_21_17_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/26/d9948c64b9b6eb8795985fbae53557ef.jpg","text":"TemporaryFile(/tmp/multipartBody6769721461484203525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140123382,"filename":"image_26112025_03_21_32_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/26/2901a0950d5dba0e6f2742fc4880bd15.jpg","text":"TemporaryFile(/tmp/multipartBody1708624411640432167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140123382,"filename":"image_26112025_03_21_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/26/cf8f89d42ac17592582183d10e18bfdf.jpg","text":"TemporaryFile(/tmp/multipartBody9208599740504835930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140123382,"filename":"image_26112025_03_21_20_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215781","file1":"1396215778","file0":"1396215774","file4":"1396215795","file5":"1396215798","file3":"1396215788"},"map_files_photo_id_array":[{"photo_id":"1396215798","filename":"file5"},{"photo_id":"1396215781","filename":"file2"},{"photo_id":"1396215795","filename":"file4"},{"photo_id":"1396215778","filename":"file1"},{"photo_id":"1396215774","filename":"file0"},{"photo_id":"1396215788","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215781":["hashtag1","hashtag2"]},{"1396215795":["hashtag1","hashtag2"]},{"1396215774":["hashtag1","hashtag2"]},{"1396215798":["hashtag1","hashtag2"]},{"1396215788":["hashtag1","hashtag2"]},{"1396215778":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215781, 1396215795, 1396215774, 1396215798, 1396215788, 1396215778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60179018974304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:55:03.398625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_34_2599.jpg', '/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_40_6315.jpg', '/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_42_1600.jpg', '/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_44_1529.jpg', '/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_46_2551.jpg', '/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_49_3312.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_34_2599.jpg
/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_40_6315.jpg
/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_42_1600.jpg
/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_44_1529.jpg
/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_46_2551.jpg
/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_49_3312.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":["1396215808","1396215802","1396215811","1396215804","1396215806","1396215800"],"photo_ids_order":["1396215800","1396215802","1396215804","1396215806","1396215808","1396215811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/811213878ddc4263a5f61d5b8f6a7345.jpg","text":"TemporaryFile(/tmp/multipartBody1181335856290720887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140164167,"filename":"image_26112025_03_21_46_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/26/ca9f027ec436ad025fa554767fe38157.jpg","text":"TemporaryFile(/tmp/multipartBody3635072525477601225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140164167,"filename":"image_26112025_03_21_40_6315.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/75aed14dd73cde45e705bc6a973c6d4c.jpg","text":"TemporaryFile(/tmp/multipartBody1503827865978953354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140164167,"filename":"image_26112025_03_21_49_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/26/26452348274514a7f2f20907dd3b062c.jpg","text":"TemporaryFile(/tmp/multipartBody7877564039881286390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140164167,"filename":"image_26112025_03_21_42_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a387c67c3d74dcbf3c67ce80ae051bd1.jpg","text":"TemporaryFile(/tmp/multipartBody1700622601793005180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140164167,"filename":"image_26112025_03_21_44_1529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0bf91415a6cfafa672d48762f8dbb829.jpg","text":"TemporaryFile(/tmp/multipartBody4863440837290396129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140164167,"filename":"image_26112025_03_21_34_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215804","file1":"1396215802","file0":"1396215800","file4":"1396215808","file5":"1396215811","file3":"1396215806"},"map_files_photo_id_array":[{"photo_id":"1396215811","filename":"file5"},{"photo_id":"1396215804","filename":"file2"},{"photo_id":"1396215808","filename":"file4"},{"photo_id":"1396215802","filename":"file1"},{"photo_id":"1396215800","filename":"file0"},{"photo_id":"1396215806","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215808":["hashtag1","hashtag2"]},{"1396215802":["hashtag1","hashtag2"]},{"1396215811":["hashtag1","hashtag2"]},{"1396215804":["hashtag1","hashtag2"]},{"1396215806":["hashtag1","hashtag2"]},{"1396215800":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215808, 1396215802, 1396215811, 1396215804, 1396215806, 1396215800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98612070083618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 07:55:42.711304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_52_2556.jpg', '/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_56_3570.jpg', '/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_58_2578.jpg', '/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_04_6013.jpg', '/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_07_3062.jpg', '/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_09_1577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_52_2556.jpg
/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_56_3570.jpg
/home/pi/Desktop/images/26112025/03/21/image_26112025_03_21_58_2578.jpg
/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_04_6013.jpg
/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_07_3062.jpg
/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_09_1577.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":["1396215829","1396215823","1396215831","1396215821","1396215830","1396215827"],"photo_ids_order":["1396215821","1396215823","1396215827","1396215829","1396215830","1396215831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e6d8346c5006764ad1074254b64682fe.jpg","text":"TemporaryFile(/tmp/multipartBody4830510444412850428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140203417,"filename":"image_26112025_03_22_04_6013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9c906599967a3d167669fc39e4ab189c.jpg","text":"TemporaryFile(/tmp/multipartBody6295714503763891480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140203417,"filename":"image_26112025_03_21_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/26/6c9f876f0f8f69f895dd9413185e0cc6.jpg","text":"TemporaryFile(/tmp/multipartBody8680109184168751652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140203417,"filename":"image_26112025_03_22_09_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/26/c2b4065b0d96e900ebff8230569051f0.jpg","text":"TemporaryFile(/tmp/multipartBody6032869258656651360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140203417,"filename":"image_26112025_03_21_52_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/26/be663d44f08eb2e6858461ce82559f8b.jpg","text":"TemporaryFile(/tmp/multipartBody4907359231458759579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140203417,"filename":"image_26112025_03_22_07_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/26/dcf119ca40322da5cd29ff40466bf180.jpg","text":"TemporaryFile(/tmp/multipartBody720152282433257237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140203417,"filename":"image_26112025_03_21_58_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215827","file1":"1396215823","file0":"1396215821","file4":"1396215830","file5":"1396215831","file3":"1396215829"},"map_files_photo_id_array":[{"photo_id":"1396215831","filename":"file5"},{"photo_id":"1396215827","filename":"file2"},{"photo_id":"1396215830","filename":"file4"},{"photo_id":"1396215823","filename":"file1"},{"photo_id":"1396215821","filename":"file0"},{"photo_id":"1396215829","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215829":["hashtag1","hashtag2"]},{"1396215823":["hashtag1","hashtag2"]},{"1396215831":["hashtag1","hashtag2"]},{"1396215821":["hashtag1","hashtag2"]},{"1396215830":["hashtag1","hashtag2"]},{"1396215827":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215829, 1396215823, 1396215831, 1396215821, 1396215830, 1396215827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09771776199341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 07:56:21.981660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_10_1510.jpg', '/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_13_2598.jpg', '/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_23_10143.jpg', '/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_25_1648.jpg', '/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_26_1633.jpg', '/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_28_1632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_10_1510.jpg
/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_13_2598.jpg
/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_23_10143.jpg
/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_25_1648.jpg
/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_26_1633.jpg
/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_28_1632.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":["1396215837","1396215854","1396215848","1396215842","1396215851","1396215845"],"photo_ids_order":["1396215837","1396215842","1396215845","1396215848","1396215851","1396215854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/06798be47ea0a657b26bdba20d5c5c13.jpg","text":"TemporaryFile(/tmp/multipartBody7763769619900701394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140242688,"filename":"image_26112025_03_22_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/26/bf9f41e2b1c6bbe2c70174dcdeaae87b.jpg","text":"TemporaryFile(/tmp/multipartBody5382594918570105405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140242688,"filename":"image_26112025_03_22_28_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/26/40c30255092492a41ce09d1a8094cd4c.jpg","text":"TemporaryFile(/tmp/multipartBody1145565458870480774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140242688,"filename":"image_26112025_03_22_25_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/26/0b33c709e7e09590819373cfcdec7f04.jpg","text":"TemporaryFile(/tmp/multipartBody3906094748219086070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140242688,"filename":"image_26112025_03_22_13_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/26/d7a81f8f3343c24c8a4e1ba3b0c015ae.jpg","text":"TemporaryFile(/tmp/multipartBody8910073229087926046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140242688,"filename":"image_26112025_03_22_26_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/26/835cc14a3a0b8fde8dbff5ae356da18c.jpg","text":"TemporaryFile(/tmp/multipartBody6468195305207123654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140242688,"filename":"image_26112025_03_22_23_10143.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215845","file1":"1396215842","file0":"1396215837","file4":"1396215851","file5":"1396215854","file3":"1396215848"},"map_files_photo_id_array":[{"photo_id":"1396215854","filename":"file5"},{"photo_id":"1396215845","filename":"file2"},{"photo_id":"1396215851","filename":"file4"},{"photo_id":"1396215842","filename":"file1"},{"photo_id":"1396215837","filename":"file0"},{"photo_id":"1396215848","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215837":["hashtag1","hashtag2"]},{"1396215854":["hashtag1","hashtag2"]},{"1396215848":["hashtag1","hashtag2"]},{"1396215842":["hashtag1","hashtag2"]},{"1396215851":["hashtag1","hashtag2"]},{"1396215845":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215837, 1396215854, 1396215848, 1396215842, 1396215851, 1396215845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.613731384277344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:57:02.843683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_30_1728.jpg', '/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_31_1673.jpg', '/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_34_2669.jpg', '/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_38_3600.jpg', '/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_40_2635.jpg', '/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_43_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_30_1728.jpg
/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_31_1673.jpg
/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_34_2669.jpg
/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_38_3600.jpg
/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_40_2635.jpg
/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_43_2778.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":["1396215873","1396215861","1396215864","1396215866","1396215869","1396215877"],"photo_ids_order":["1396215861","1396215864","1396215866","1396215869","1396215873","1396215877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f9dbd44285d7a503ecd9ed2a4e975356.jpg","text":"TemporaryFile(/tmp/multipartBody4255699690021411536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140283591,"filename":"image_26112025_03_22_40_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/06cbfbddcc5430592b36468c6ef88a40.jpg","text":"TemporaryFile(/tmp/multipartBody2355202291735021451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140283591,"filename":"image_26112025_03_22_30_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/26/c3ee08e76f480492c94c3318ba4913df.jpg","text":"TemporaryFile(/tmp/multipartBody2001086342939198767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140283591,"filename":"image_26112025_03_22_31_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/26/adb85fb1b71bddf596f07aadc23f3550.jpg","text":"TemporaryFile(/tmp/multipartBody8056487608295277502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140283591,"filename":"image_26112025_03_22_34_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/26/79c119e3f43311e29b2978a951dfc65b.jpg","text":"TemporaryFile(/tmp/multipartBody6090089894615915534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140283591,"filename":"image_26112025_03_22_38_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/26/95ba37c8b078e6e568f49c9e75560092.jpg","text":"TemporaryFile(/tmp/multipartBody5957421732147786495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140283591,"filename":"image_26112025_03_22_43_2778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215866","file1":"1396215864","file0":"1396215861","file4":"1396215873","file5":"1396215877","file3":"1396215869"},"map_files_photo_id_array":[{"photo_id":"1396215877","filename":"file5"},{"photo_id":"1396215866","filename":"file2"},{"photo_id":"1396215873","filename":"file4"},{"photo_id":"1396215864","filename":"file1"},{"photo_id":"1396215861","filename":"file0"},{"photo_id":"1396215869","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215873":["hashtag1","hashtag2"]},{"1396215861":["hashtag1","hashtag2"]},{"1396215864":["hashtag1","hashtag2"]},{"1396215866":["hashtag1","hashtag2"]},{"1396215869":["hashtag1","hashtag2"]},{"1396215877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215873, 1396215861, 1396215864, 1396215866, 1396215869, 1396215877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24973726272583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 07:57:42.087027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_47_3650.jpg', '/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_49_2523.jpg', '/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_52_2708.jpg', '/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_56_3752.jpg', '/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_58_2490.jpg', '/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_01_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_47_3650.jpg
/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_49_2523.jpg
/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_52_2708.jpg
/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_56_3752.jpg
/home/pi/Desktop/images/26112025/03/22/image_26112025_03_22_58_2490.jpg
/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_01_2622.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396215891","1396215904","1396215888","1396215885","1396215890","1396215889"],"photo_ids_order":["1396215885","1396215888","1396215889","1396215890","1396215891","1396215904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dd39d9ebd0b8427b80b9a2280fb28b78.jpg","text":"TemporaryFile(/tmp/multipartBody1529496161432367998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140322784,"filename":"image_26112025_03_22_58_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/26/3ee73e01129553898da28686e4aa83df.jpg","text":"TemporaryFile(/tmp/multipartBody1166604548738507671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140322784,"filename":"image_26112025_03_23_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/26/e6178c681688a9f5b0a7a927c53558b3.jpg","text":"TemporaryFile(/tmp/multipartBody8425574943179540431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140322784,"filename":"image_26112025_03_22_49_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/26/54f8ef889326451df029b5b2c3af7696.jpg","text":"TemporaryFile(/tmp/multipartBody4809952228651079608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140322784,"filename":"image_26112025_03_22_47_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/26/b4e449be1fd6b9a51ac7d5cc79f5688e.jpg","text":"TemporaryFile(/tmp/multipartBody2368623698898507444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140322784,"filename":"image_26112025_03_22_56_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/26/d84cb1f5ba04d60878681de9e16a4a0d.jpg","text":"TemporaryFile(/tmp/multipartBody5957022927728131154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140322784,"filename":"image_26112025_03_22_52_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396215889","file1":"1396215888","file0":"1396215885","file4":"1396215891","file5":"1396215904","file3":"1396215890"},"map_files_photo_id_array":[{"photo_id":"1396215904","filename":"file5"},{"photo_id":"1396215889","filename":"file2"},{"photo_id":"1396215891","filename":"file4"},{"photo_id":"1396215888","filename":"file1"},{"photo_id":"1396215885","filename":"file0"},{"photo_id":"1396215890","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396215891":["hashtag1","hashtag2"]},{"1396215904":["hashtag1","hashtag2"]},{"1396215888":["hashtag1","hashtag2"]},{"1396215885":["hashtag1","hashtag2"]},{"1396215890":["hashtag1","hashtag2"]},{"1396215889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396215891, 1396215904, 1396215888, 1396215885, 1396215890, 1396215889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.826663970947266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 07:59:03.572521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_04_3691.jpg', '/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_07_2605.jpg', '/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_11_3532.jpg', '/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_13_2500.jpg', '/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_16_2782.jpg', '/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_20_3710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_04_3691.jpg
/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_07_2605.jpg
/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_11_3532.jpg
/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_13_2500.jpg
/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_16_2782.jpg
/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_20_3710.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":["1396216512","1396216437","1396216475","1396216415","1396216531","1396216528"],"photo_ids_order":["1396216415","1396216437","1396216475","1396216512","1396216528","1396216531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8a5a2dc9aa86d62be65b9aea04c34359.jpg","text":"TemporaryFile(/tmp/multipartBody3936878766864371551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140404410,"filename":"image_26112025_03_23_13_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/26/e2bc5719513de6682c3598b1b8a6eab4.jpg","text":"TemporaryFile(/tmp/multipartBody1288649350076909297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140404410,"filename":"image_26112025_03_23_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/26/3567919b7a2f89352117f8b3dac9d90d.jpg","text":"TemporaryFile(/tmp/multipartBody3295195840860793611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140404410,"filename":"image_26112025_03_23_11_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/26/fe44bcb20d80a2101d4530a4a138dbb5.jpg","text":"TemporaryFile(/tmp/multipartBody3032440491773199153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140404410,"filename":"image_26112025_03_23_04_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/26/934ee18003f4e812c13bbe9a1505083a.jpg","text":"TemporaryFile(/tmp/multipartBody2108865984001547911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140404410,"filename":"image_26112025_03_23_20_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/26/3fd366654593d94caace2bfc2d87ebb5.jpg","text":"TemporaryFile(/tmp/multipartBody7952049330235166343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140404410,"filename":"image_26112025_03_23_16_2782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396216475","file1":"1396216437","file0":"1396216415","file4":"1396216528","file5":"1396216531","file3":"1396216512"},"map_files_photo_id_array":[{"photo_id":"1396216531","filename":"file5"},{"photo_id":"1396216475","filename":"file2"},{"photo_id":"1396216528","filename":"file4"},{"photo_id":"1396216437","filename":"file1"},{"photo_id":"1396216415","filename":"file0"},{"photo_id":"1396216512","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396216512":["hashtag1","hashtag2"]},{"1396216437":["hashtag1","hashtag2"]},{"1396216475":["hashtag1","hashtag2"]},{"1396216415":["hashtag1","hashtag2"]},{"1396216531":["hashtag1","hashtag2"]},{"1396216528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396216512, 1396216437, 1396216475, 1396216415, 1396216531, 1396216528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6789870262146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 07:59:42.408912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_22_2641.jpg', '/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_25_2569.jpg', '/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_28_3571.jpg', '/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_31_2618.jpg', '/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_35_3643.jpg', '/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_38_2876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_22_2641.jpg
/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_25_2569.jpg
/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_28_3571.jpg
/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_31_2618.jpg
/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_35_3643.jpg
/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_38_2876.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.6044187545776367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:00:03.125319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_22_2641.jpg', '/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_25_2569.jpg', '/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_28_3571.jpg', '/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_31_2618.jpg', '/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_35_3643.jpg', '/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_38_2876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_22_2641.jpg
/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_25_2569.jpg
/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_28_3571.jpg
/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_31_2618.jpg
/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_35_3643.jpg
/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_38_2876.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":["1396216615","1396216609","1396216623","1396216620","1396216607","1396216612"],"photo_ids_order":["1396216607","1396216609","1396216612","1396216615","1396216620","1396216623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4389e08468d95f76bbd83cb860bc9865.jpg","text":"TemporaryFile(/tmp/multipartBody7965985012041106873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140463865,"filename":"image_26112025_03_23_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/26/8212ac221c9e6988f2e303de04a71606.jpg","text":"TemporaryFile(/tmp/multipartBody975839988537315620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140463865,"filename":"image_26112025_03_23_25_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/26/6520d6a341a8b91e5c3db1cccf88770d.jpg","text":"TemporaryFile(/tmp/multipartBody7261307166074531500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140463865,"filename":"image_26112025_03_23_38_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/26/aa0ce9b9b4168c5757503804d22dec2a.jpg","text":"TemporaryFile(/tmp/multipartBody7742887952617337986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140463865,"filename":"image_26112025_03_23_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/26/26e3988ca902a57c434dbd7d46deaca7.jpg","text":"TemporaryFile(/tmp/multipartBody1433013665590100521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140463865,"filename":"image_26112025_03_23_22_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/26/c12e800a338d9338848df6a213da0d23.jpg","text":"TemporaryFile(/tmp/multipartBody8007193996687317984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140463865,"filename":"image_26112025_03_23_28_3571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396216612","file1":"1396216609","file0":"1396216607","file4":"1396216620","file5":"1396216623","file3":"1396216615"},"map_files_photo_id_array":[{"photo_id":"1396216623","filename":"file5"},{"photo_id":"1396216612","filename":"file2"},{"photo_id":"1396216620","filename":"file4"},{"photo_id":"1396216609","filename":"file1"},{"photo_id":"1396216607","filename":"file0"},{"photo_id":"1396216615","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396216615":["hashtag1","hashtag2"]},{"1396216609":["hashtag1","hashtag2"]},{"1396216623":["hashtag1","hashtag2"]},{"1396216620":["hashtag1","hashtag2"]},{"1396216607":["hashtag1","hashtag2"]},{"1396216612":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396216615, 1396216609, 1396216623, 1396216620, 1396216607, 1396216612)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.42572212219238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:01:03.235526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_40_2543.jpg', '/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_43_2756.jpg', '/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_47_3694.jpg', '/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_49_2665.jpg', '/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_52_2608.jpg', '/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_55_3538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_40_2543.jpg
/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_43_2756.jpg
/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_47_3694.jpg
/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_49_2665.jpg
/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_52_2608.jpg
/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_55_3538.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":["1396216636","1396216653","1396216646","1396216649","1396216640","1396216643"],"photo_ids_order":["1396216636","1396216640","1396216643","1396216646","1396216649","1396216653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f9a7669e802481af2f56cc23560998a7.jpg","text":"TemporaryFile(/tmp/multipartBody5661465535569248414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140523986,"filename":"image_26112025_03_23_40_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/26/3e878ed1b7be1219eef331cdb69acb2d.jpg","text":"TemporaryFile(/tmp/multipartBody1929855406461763146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140523986,"filename":"image_26112025_03_23_55_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/26/10b43321e5740e2e6e911aadd191e305.jpg","text":"TemporaryFile(/tmp/multipartBody2817977049941478585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140523986,"filename":"image_26112025_03_23_49_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/26/8ee434a20df1e33503b4ecdc1d1aea2d.jpg","text":"TemporaryFile(/tmp/multipartBody3767781151417052867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140523986,"filename":"image_26112025_03_23_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/26/1b8562b810a03a34d64c57d3c9dc19c4.jpg","text":"TemporaryFile(/tmp/multipartBody2530269897340530561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140523986,"filename":"image_26112025_03_23_43_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/26/1fa7241b037fc071f3eff5e8b4070dc8.jpg","text":"TemporaryFile(/tmp/multipartBody4988061250504243076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140523986,"filename":"image_26112025_03_23_47_3694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396216643","file1":"1396216640","file0":"1396216636","file4":"1396216649","file5":"1396216653","file3":"1396216646"},"map_files_photo_id_array":[{"photo_id":"1396216653","filename":"file5"},{"photo_id":"1396216643","filename":"file2"},{"photo_id":"1396216649","filename":"file4"},{"photo_id":"1396216640","filename":"file1"},{"photo_id":"1396216636","filename":"file0"},{"photo_id":"1396216646","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396216636":["hashtag1","hashtag2"]},{"1396216653":["hashtag1","hashtag2"]},{"1396216646":["hashtag1","hashtag2"]},{"1396216649":["hashtag1","hashtag2"]},{"1396216640":["hashtag1","hashtag2"]},{"1396216643":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396216636, 1396216653, 1396216646, 1396216649, 1396216640, 1396216643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.883588790893555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 08:01:42.664926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_58_2691.jpg', '/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_01_2662.jpg', '/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_04_3596.jpg', '/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_07_2659.jpg', '/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_11_3558.jpg', '/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_13_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/23/image_26112025_03_23_58_2691.jpg
/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_01_2662.jpg
/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_04_3596.jpg
/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_07_2659.jpg
/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_11_3558.jpg
/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_13_2587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396216671","1396216679","1396216664","1396216673","1396216658","1396216675"],"photo_ids_order":["1396216658","1396216664","1396216671","1396216673","1396216675","1396216679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/abaa10a8acb311804b2e0024a9825d73.jpg","text":"TemporaryFile(/tmp/multipartBody4532141359696412446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140563452,"filename":"image_26112025_03_24_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/26/5b3fd9537cb71269d44930c521924f24.jpg","text":"TemporaryFile(/tmp/multipartBody3762319898326795840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140563452,"filename":"image_26112025_03_24_13_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3e7ce2c2497938befabc4bda17ae6348.jpg","text":"TemporaryFile(/tmp/multipartBody3303566214844401453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140563452,"filename":"image_26112025_03_24_01_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/26/690989e8bdc84869c6a580d449ab44d9.jpg","text":"TemporaryFile(/tmp/multipartBody6019641261862597026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140563452,"filename":"image_26112025_03_24_07_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/87a36c8fd32591dceff89989ae7d084b.jpg","text":"TemporaryFile(/tmp/multipartBody3191929594216776548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140563452,"filename":"image_26112025_03_23_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/26/f51f4f7ab9fea3fb0a1351bf153cc605.jpg","text":"TemporaryFile(/tmp/multipartBody5776960172138395056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140563452,"filename":"image_26112025_03_24_11_3558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396216671","file1":"1396216664","file0":"1396216658","file4":"1396216675","file5":"1396216679","file3":"1396216673"},"map_files_photo_id_array":[{"photo_id":"1396216679","filename":"file5"},{"photo_id":"1396216671","filename":"file2"},{"photo_id":"1396216675","filename":"file4"},{"photo_id":"1396216664","filename":"file1"},{"photo_id":"1396216658","filename":"file0"},{"photo_id":"1396216673","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396216671":["hashtag1","hashtag2"]},{"1396216679":["hashtag1","hashtag2"]},{"1396216664":["hashtag1","hashtag2"]},{"1396216673":["hashtag1","hashtag2"]},{"1396216658":["hashtag1","hashtag2"]},{"1396216675":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396216671, 1396216679, 1396216664, 1396216673, 1396216658, 1396216675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.996962785720825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:02:21.840489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_16_2673.jpg', '/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_19_3722.jpg', '/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_22_2543.jpg', '/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_25_2665.jpg', '/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_28_3770.jpg', '/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_31_2808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_16_2673.jpg
/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_19_3722.jpg
/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_22_2543.jpg
/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_25_2665.jpg
/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_28_3770.jpg
/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_31_2808.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":["1396216695","1396216697","1396216691","1396216688","1396216693","1396216700"],"photo_ids_order":["1396216688","1396216691","1396216693","1396216695","1396216697","1396216700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/45f2c0bf2280ed52ce149fd2ff5cdd37.jpg","text":"TemporaryFile(/tmp/multipartBody4632586534708219480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140602538,"filename":"image_26112025_03_24_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/26/56489e455916c0177dd1263be147c79d.jpg","text":"TemporaryFile(/tmp/multipartBody5657725480115066154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140602538,"filename":"image_26112025_03_24_28_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/26/5b56b07fccaa9a77d78e60c18280aca5.jpg","text":"TemporaryFile(/tmp/multipartBody7233687615467169534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140602538,"filename":"image_26112025_03_24_19_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/26/0b968300109f79abb4e8c5cfdde39c91.jpg","text":"TemporaryFile(/tmp/multipartBody5954175716864716379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140602538,"filename":"image_26112025_03_24_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/26/e8810c3c27671afb010b197f4fe3e179.jpg","text":"TemporaryFile(/tmp/multipartBody7674998776095631212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140602538,"filename":"image_26112025_03_24_22_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/26/2ac366c7bc5ec57fce33dd36bab9fcbc.jpg","text":"TemporaryFile(/tmp/multipartBody568021319987222691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140602538,"filename":"image_26112025_03_24_31_2808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396216693","file1":"1396216691","file0":"1396216688","file4":"1396216697","file5":"1396216700","file3":"1396216695"},"map_files_photo_id_array":[{"photo_id":"1396216700","filename":"file5"},{"photo_id":"1396216693","filename":"file2"},{"photo_id":"1396216697","filename":"file4"},{"photo_id":"1396216691","filename":"file1"},{"photo_id":"1396216688","filename":"file0"},{"photo_id":"1396216695","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396216695":["hashtag1","hashtag2"]},{"1396216697":["hashtag1","hashtag2"]},{"1396216691":["hashtag1","hashtag2"]},{"1396216688":["hashtag1","hashtag2"]},{"1396216693":["hashtag1","hashtag2"]},{"1396216700":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396216695, 1396216697, 1396216691, 1396216688, 1396216693, 1396216700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21059203147888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:03:02.980940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_35_3682.jpg', '/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_37_1741.jpg', '/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_40_3722.jpg', '/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_43_2538.jpg', '/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_46_2760.jpg', '/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_49_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_35_3682.jpg
/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_37_1741.jpg
/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_40_3722.jpg
/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_43_2538.jpg
/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_46_2760.jpg
/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_49_3679.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":["1396216720","1396216710","1396216718","1396216712","1396216706","1396216726"],"photo_ids_order":["1396216706","1396216710","1396216712","1396216718","1396216720","1396216726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/70478edec0854a56482688467fd7ab9f.jpg","text":"TemporaryFile(/tmp/multipartBody6956084052952224022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140643748,"filename":"image_26112025_03_24_46_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/26/914649f5af526316c4ac73e45ef0056b.jpg","text":"TemporaryFile(/tmp/multipartBody3476179617072110493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140643748,"filename":"image_26112025_03_24_37_1741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b45f94b59bda3b2705b7fe2d54fb196b.jpg","text":"TemporaryFile(/tmp/multipartBody7990194023112057706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140643748,"filename":"image_26112025_03_24_43_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/26/cbc82f8863f1b211d20cf81fbbe4a054.jpg","text":"TemporaryFile(/tmp/multipartBody450208339530430792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140643748,"filename":"image_26112025_03_24_40_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/26/bde017ffa4dc1b32616d5dc1e7c32c97.jpg","text":"TemporaryFile(/tmp/multipartBody5488430723898825662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140643748,"filename":"image_26112025_03_24_35_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b1aabe89f093d0062d88d9899264c144.jpg","text":"TemporaryFile(/tmp/multipartBody6178607276029349063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140643748,"filename":"image_26112025_03_24_49_3679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396216712","file1":"1396216710","file0":"1396216706","file4":"1396216720","file5":"1396216726","file3":"1396216718"},"map_files_photo_id_array":[{"photo_id":"1396216726","filename":"file5"},{"photo_id":"1396216712","filename":"file2"},{"photo_id":"1396216720","filename":"file4"},{"photo_id":"1396216710","filename":"file1"},{"photo_id":"1396216706","filename":"file0"},{"photo_id":"1396216718","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396216720":["hashtag1","hashtag2"]},{"1396216710":["hashtag1","hashtag2"]},{"1396216718":["hashtag1","hashtag2"]},{"1396216712":["hashtag1","hashtag2"]},{"1396216706":["hashtag1","hashtag2"]},{"1396216726":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396216720, 1396216710, 1396216718, 1396216712, 1396216706, 1396216726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.994449853897095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 08:03:42.409422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_52_2654.jpg', '/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_55_2740.jpg', '/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_59_3708.jpg', '/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_01_2526.jpg', '/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_04_2824.jpg', '/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_07_3568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_52_2654.jpg
/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_55_2740.jpg
/home/pi/Desktop/images/26112025/03/24/image_26112025_03_24_59_3708.jpg
/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_01_2526.jpg
/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_04_2824.jpg
/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_07_3568.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":["1396216971","1396216860","1396217007","1396216898","1396216937","1396217047"],"photo_ids_order":["1396216860","1396216898","1396216937","1396216971","1396217007","1396217047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5808b462b76ad1200f46c19e7d287192.jpg","text":"TemporaryFile(/tmp/multipartBody6476700364671368145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140683117,"filename":"image_26112025_03_25_01_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/26/9b801703363e60d307ebf00f43a3dce5.jpg","text":"TemporaryFile(/tmp/multipartBody191867655687288335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140683117,"filename":"image_26112025_03_24_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/26/a65392446a9c0763d7e2dfab752206e8.jpg","text":"TemporaryFile(/tmp/multipartBody2863214688138905251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140683117,"filename":"image_26112025_03_25_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/26/a41d396ea26553f83ba8796300bc2692.jpg","text":"TemporaryFile(/tmp/multipartBody1021573065706566688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140683117,"filename":"image_26112025_03_24_55_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/26/7ff34b364fa07d7251230060859bb173.jpg","text":"TemporaryFile(/tmp/multipartBody4285793350665217040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140683117,"filename":"image_26112025_03_24_59_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/26/7830b0a4175f3952f7c06f8dc45c7773.jpg","text":"TemporaryFile(/tmp/multipartBody8365101602524023753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140683117,"filename":"image_26112025_03_25_07_3568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396216937","file1":"1396216898","file0":"1396216860","file4":"1396217007","file5":"1396217047","file3":"1396216971"},"map_files_photo_id_array":[{"photo_id":"1396217047","filename":"file5"},{"photo_id":"1396216937","filename":"file2"},{"photo_id":"1396217007","filename":"file4"},{"photo_id":"1396216898","filename":"file1"},{"photo_id":"1396216860","filename":"file0"},{"photo_id":"1396216971","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396216971":["hashtag1","hashtag2"]},{"1396216860":["hashtag1","hashtag2"]},{"1396217007":["hashtag1","hashtag2"]},{"1396216898":["hashtag1","hashtag2"]},{"1396216937":["hashtag1","hashtag2"]},{"1396217047":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396216971, 1396216860, 1396217007, 1396216898, 1396216937, 1396217047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55099654197693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:04:22.618263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_10_2716.jpg', '/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_19_9319.jpg', '/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_21_1644.jpg', '/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_23_1678.jpg', '/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_24_1670.jpg', '/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_34_9568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_10_2716.jpg
/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_19_9319.jpg
/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_21_1644.jpg
/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_23_1678.jpg
/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_24_1670.jpg
/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_34_9568.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":["1396217340","1396217241","1396217282","1396217389","1396217428","1396217196"],"photo_ids_order":["1396217196","1396217241","1396217282","1396217340","1396217389","1396217428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bf2defc0490f68a8fb542d1e119edf8d.jpg","text":"TemporaryFile(/tmp/multipartBody33585750455947421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140723404,"filename":"image_26112025_03_25_23_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/26/22d17983c67bd7fa894f6b4c89426a34.jpg","text":"TemporaryFile(/tmp/multipartBody3125665388098541184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140723404,"filename":"image_26112025_03_25_19_9319.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/005b3cd326f2c100325a23a12c9470a5.jpg","text":"TemporaryFile(/tmp/multipartBody1668867025479235535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140723404,"filename":"image_26112025_03_25_21_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6b22467660037feac152631d0234ff87.jpg","text":"TemporaryFile(/tmp/multipartBody2663008561380600959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140723404,"filename":"image_26112025_03_25_24_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/26/bd686965fd1a2a53d5a783c995ec00d6.jpg","text":"TemporaryFile(/tmp/multipartBody6757323283709485054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140723404,"filename":"image_26112025_03_25_34_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/91eef3d666a114be06a643379b6e462c.jpg","text":"TemporaryFile(/tmp/multipartBody2756647053882329932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140723404,"filename":"image_26112025_03_25_10_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396217282","file1":"1396217241","file0":"1396217196","file4":"1396217389","file5":"1396217428","file3":"1396217340"},"map_files_photo_id_array":[{"photo_id":"1396217428","filename":"file5"},{"photo_id":"1396217282","filename":"file2"},{"photo_id":"1396217389","filename":"file4"},{"photo_id":"1396217241","filename":"file1"},{"photo_id":"1396217196","filename":"file0"},{"photo_id":"1396217340","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396217340":["hashtag1","hashtag2"]},{"1396217241":["hashtag1","hashtag2"]},{"1396217282":["hashtag1","hashtag2"]},{"1396217389":["hashtag1","hashtag2"]},{"1396217428":["hashtag1","hashtag2"]},{"1396217196":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396217340, 1396217241, 1396217282, 1396217389, 1396217428, 1396217196)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.777966022491455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:05:12.790210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_36_1773.jpg', '/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_37_1528.jpg', '/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_39_1751.jpg', '/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_41_1547.jpg', '/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_42_1552.jpg', '/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_44_1522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_36_1773.jpg
/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_37_1528.jpg
/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_39_1751.jpg
/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_41_1547.jpg
/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_42_1552.jpg
/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_44_1522.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":["1396217587","1396217519","1396217560","1396217584","1396217479","1396217443"],"photo_ids_order":["1396217443","1396217479","1396217519","1396217560","1396217584","1396217587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5c7823ea56e5a86e7f8403c2debd5fa3.jpg","text":"TemporaryFile(/tmp/multipartBody3316931376063712063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140773483,"filename":"image_26112025_03_25_44_1522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9260ccc1c50f75e0443f752b8b84aaf3.jpg","text":"TemporaryFile(/tmp/multipartBody913213815422028990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140773483,"filename":"image_26112025_03_25_39_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/26/88ca636d605a3e1c5977fc77f76f510c.jpg","text":"TemporaryFile(/tmp/multipartBody5262844830655430024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140773483,"filename":"image_26112025_03_25_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/26/63e46e8ede6544fdf14a8f226224cb50.jpg","text":"TemporaryFile(/tmp/multipartBody4227006343622263431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140773483,"filename":"image_26112025_03_25_42_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/26/3fa8d4452a3acb5af8431e8edafb7f8d.jpg","text":"TemporaryFile(/tmp/multipartBody3236836142798019123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140773483,"filename":"image_26112025_03_25_37_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/26/a7de2ad8f434c1b4cc802c75c41b8938.jpg","text":"TemporaryFile(/tmp/multipartBody6623499341194163731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140773483,"filename":"image_26112025_03_25_36_1773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396217519","file1":"1396217479","file0":"1396217443","file4":"1396217584","file5":"1396217587","file3":"1396217560"},"map_files_photo_id_array":[{"photo_id":"1396217587","filename":"file5"},{"photo_id":"1396217519","filename":"file2"},{"photo_id":"1396217584","filename":"file4"},{"photo_id":"1396217479","filename":"file1"},{"photo_id":"1396217443","filename":"file0"},{"photo_id":"1396217560","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396217587":["hashtag1","hashtag2"]},{"1396217519":["hashtag1","hashtag2"]},{"1396217560":["hashtag1","hashtag2"]},{"1396217584":["hashtag1","hashtag2"]},{"1396217479":["hashtag1","hashtag2"]},{"1396217443":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396217587, 1396217519, 1396217560, 1396217584, 1396217479, 1396217443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37792181968689 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:06:02.487637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_46_2666.jpg', '/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_49_2640.jpg', '/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_52_2583.jpg', '/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_55_3713.jpg', '/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_58_2672.jpg', '/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_01_2804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_46_2666.jpg
/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_49_2640.jpg
/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_52_2583.jpg
/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_55_3713.jpg
/home/pi/Desktop/images/26112025/03/25/image_26112025_03_25_58_2672.jpg
/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_01_2804.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":["1396217742","1396217684","1396217846","1396217810","1396217776","1396217707"],"photo_ids_order":["1396217684","1396217707","1396217742","1396217776","1396217810","1396217846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3940eb92085133464cbd5dac317e6b3f.jpg","text":"TemporaryFile(/tmp/multipartBody6370051870041922948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140823188,"filename":"image_26112025_03_25_52_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/26/5538fe2c97a7d4cd74c9e88145a76c09.jpg","text":"TemporaryFile(/tmp/multipartBody4005106578763602421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140823188,"filename":"image_26112025_03_25_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/26/df862652a8fb678f68122dfc6f252c1b.jpg","text":"TemporaryFile(/tmp/multipartBody1500345676624148354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140823188,"filename":"image_26112025_03_26_01_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/26/52eaf3d213fb33f7591abea66c5634be.jpg","text":"TemporaryFile(/tmp/multipartBody7276296155767857471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140823188,"filename":"image_26112025_03_25_58_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/26/6f6ccade8c77dbd577795afd0879ebdf.jpg","text":"TemporaryFile(/tmp/multipartBody1431883955953785311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140823188,"filename":"image_26112025_03_25_55_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/26/e2442277004b24eef462c4f2a2ee7d8d.jpg","text":"TemporaryFile(/tmp/multipartBody2337249898414363084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140823188,"filename":"image_26112025_03_25_49_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396217742","file1":"1396217707","file0":"1396217684","file4":"1396217810","file5":"1396217846","file3":"1396217776"},"map_files_photo_id_array":[{"photo_id":"1396217846","filename":"file5"},{"photo_id":"1396217742","filename":"file2"},{"photo_id":"1396217810","filename":"file4"},{"photo_id":"1396217707","filename":"file1"},{"photo_id":"1396217684","filename":"file0"},{"photo_id":"1396217776","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396217742":["hashtag1","hashtag2"]},{"1396217684":["hashtag1","hashtag2"]},{"1396217846":["hashtag1","hashtag2"]},{"1396217810":["hashtag1","hashtag2"]},{"1396217776":["hashtag1","hashtag2"]},{"1396217707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396217742, 1396217684, 1396217846, 1396217810, 1396217776, 1396217707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99559998512268 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 08:06:41.893962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_03_2700.jpg', '/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_07_3796.jpg', '/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_10_2702.jpg', '/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_12_2481.jpg', '/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_16_3644.jpg', '/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_19_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_03_2700.jpg
/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_07_3796.jpg
/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_10_2702.jpg
/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_12_2481.jpg
/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_16_3644.jpg
/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_19_2628.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":["1396218132","1396217990","1396218029","1396218097","1396218064","1396218166"],"photo_ids_order":["1396217990","1396218029","1396218064","1396218097","1396218132","1396218166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cfaab37d652bf2e63fc75d0dc5fd2a8a.jpg","text":"TemporaryFile(/tmp/multipartBody4744603375604493058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140862556,"filename":"image_26112025_03_26_16_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/26/faa8d64d224a27dc0c7d595645bdef7b.jpg","text":"TemporaryFile(/tmp/multipartBody1239782884343465984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140862556,"filename":"image_26112025_03_26_03_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4869f78c1ca0b478b9c87143007d3f35.jpg","text":"TemporaryFile(/tmp/multipartBody8630254198254710592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140862556,"filename":"image_26112025_03_26_07_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/26/40fb710fb6e0635ded224717fdf96764.jpg","text":"TemporaryFile(/tmp/multipartBody926603207470219258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140862556,"filename":"image_26112025_03_26_12_2481.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/642697fe093df703a22a2858fa4b8287.jpg","text":"TemporaryFile(/tmp/multipartBody4082917126942254462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140862556,"filename":"image_26112025_03_26_10_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/26/55047baf22e51c9545fe5a5d92393a81.jpg","text":"TemporaryFile(/tmp/multipartBody2514691494538158808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140862556,"filename":"image_26112025_03_26_19_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396218064","file1":"1396218029","file0":"1396217990","file4":"1396218132","file5":"1396218166","file3":"1396218097"},"map_files_photo_id_array":[{"photo_id":"1396218166","filename":"file5"},{"photo_id":"1396218064","filename":"file2"},{"photo_id":"1396218132","filename":"file4"},{"photo_id":"1396218029","filename":"file1"},{"photo_id":"1396217990","filename":"file0"},{"photo_id":"1396218097","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396218132":["hashtag1","hashtag2"]},{"1396217990":["hashtag1","hashtag2"]},{"1396218029":["hashtag1","hashtag2"]},{"1396218097":["hashtag1","hashtag2"]},{"1396218064":["hashtag1","hashtag2"]},{"1396218166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396218132, 1396217990, 1396218029, 1396218097, 1396218064, 1396218166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10153818130493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:07:22.758006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_22_3591.jpg', '/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_25_2788.jpg', '/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_28_2652.jpg', '/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_30_2600.jpg', '/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_34_3640.jpg', '/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_37_2517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_22_3591.jpg
/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_25_2788.jpg
/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_28_2652.jpg
/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_30_2600.jpg
/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_34_3640.jpg
/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_37_2517.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":["1396218339","1396218303","1396218300","1396218356","1396218361","1396218297"],"photo_ids_order":["1396218297","1396218300","1396218303","1396218339","1396218356","1396218361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3d7ded7e3a07bf6ca556888880aa4ddc.jpg","text":"TemporaryFile(/tmp/multipartBody6575160453448633400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140903424,"filename":"image_26112025_03_26_30_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/26/b462bad3f19b372f822e091eb1d077a5.jpg","text":"TemporaryFile(/tmp/multipartBody3914431214312881568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140903424,"filename":"image_26112025_03_26_28_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/26/a58cbc031cd87d6a00cfd4a894390106.jpg","text":"TemporaryFile(/tmp/multipartBody125171809482084925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140903424,"filename":"image_26112025_03_26_25_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/26/2459921ea487ba63b25264b116636950.jpg","text":"TemporaryFile(/tmp/multipartBody4465182842556631897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140903424,"filename":"image_26112025_03_26_34_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/26/09e938be861daa046df057251477e50e.jpg","text":"TemporaryFile(/tmp/multipartBody6317668126751620845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140903424,"filename":"image_26112025_03_26_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/26/94f4142bbd34ae527b4dbdf5fa02980f.jpg","text":"TemporaryFile(/tmp/multipartBody1710868096873966774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140903424,"filename":"image_26112025_03_26_22_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396218303","file1":"1396218300","file0":"1396218297","file4":"1396218356","file5":"1396218361","file3":"1396218339"},"map_files_photo_id_array":[{"photo_id":"1396218361","filename":"file5"},{"photo_id":"1396218303","filename":"file2"},{"photo_id":"1396218356","filename":"file4"},{"photo_id":"1396218300","filename":"file1"},{"photo_id":"1396218297","filename":"file0"},{"photo_id":"1396218339","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396218339":["hashtag1","hashtag2"]},{"1396218303":["hashtag1","hashtag2"]},{"1396218300":["hashtag1","hashtag2"]},{"1396218356":["hashtag1","hashtag2"]},{"1396218361":["hashtag1","hashtag2"]},{"1396218297":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396218339, 1396218303, 1396218300, 1396218356, 1396218361, 1396218297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.710647106170654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:08:02.572906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_40_3817.jpg', '/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_43_2672.jpg', '/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_46_2572.jpg', '/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_48_2844.jpg', '/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_52_3541.jpg', '/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_55_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_40_3817.jpg
/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_43_2672.jpg
/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_46_2572.jpg
/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_48_2844.jpg
/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_52_3541.jpg
/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_55_2720.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":["1396218516","1396218557","1396218500","1396218529","1396218492","1396218552"],"photo_ids_order":["1396218492","1396218500","1396218516","1396218529","1396218552","1396218557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/921e4ada6ec3df66c62fc571abe5c286.jpg","text":"TemporaryFile(/tmp/multipartBody2308747809358069301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140943425,"filename":"image_26112025_03_26_46_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/26/9958ccaebf4ba365f5ff9ca8f40b9b69.jpg","text":"TemporaryFile(/tmp/multipartBody3688688963958934924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140943425,"filename":"image_26112025_03_26_55_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/91a24193774867a9c48be6d0a609378d.jpg","text":"TemporaryFile(/tmp/multipartBody8423460741650429889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140943425,"filename":"image_26112025_03_26_43_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/26/9339ad72a4fdbfddec6b70013ebd1af5.jpg","text":"TemporaryFile(/tmp/multipartBody7614238236048510039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140943425,"filename":"image_26112025_03_26_48_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/26/e3c298d0129259736645f1d325c2d5a3.jpg","text":"TemporaryFile(/tmp/multipartBody479793819191428266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140943425,"filename":"image_26112025_03_26_40_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/26/0aab02b45faf478a4f55a9fb5e183cfe.jpg","text":"TemporaryFile(/tmp/multipartBody815332665375233164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140943425,"filename":"image_26112025_03_26_52_3541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396218516","file1":"1396218500","file0":"1396218492","file4":"1396218552","file5":"1396218557","file3":"1396218529"},"map_files_photo_id_array":[{"photo_id":"1396218557","filename":"file5"},{"photo_id":"1396218516","filename":"file2"},{"photo_id":"1396218552","filename":"file4"},{"photo_id":"1396218500","filename":"file1"},{"photo_id":"1396218492","filename":"file0"},{"photo_id":"1396218529","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396218516":["hashtag1","hashtag2"]},{"1396218557":["hashtag1","hashtag2"]},{"1396218500":["hashtag1","hashtag2"]},{"1396218529":["hashtag1","hashtag2"]},{"1396218492":["hashtag1","hashtag2"]},{"1396218552":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396218516, 1396218557, 1396218500, 1396218529, 1396218492, 1396218552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00321316719055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 08:08:42.047242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_57_2623.jpg', '/home/pi/Desktop/images/26112025/03/26/image_26112025_03_27_01_3598.jpg', '/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_04_2579.jpg', '/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_07_3513.jpg', '/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_10_2572.jpg', '/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_13_3587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/26/image_26112025_03_26_57_2623.jpg
/home/pi/Desktop/images/26112025/03/26/image_26112025_03_27_01_3598.jpg
/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_04_2579.jpg
/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_07_3513.jpg
/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_10_2572.jpg
/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_13_3587.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":["1396218596","1396218683","1396218565","1396218568","1396218666","1396218630"],"photo_ids_order":["1396218565","1396218568","1396218596","1396218630","1396218666","1396218683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4d987995751a68c76d037b8bc6eca658.jpg","text":"TemporaryFile(/tmp/multipartBody7319361830054674839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140982768,"filename":"image_26112025_03_27_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/26/f5a95cefa8419232fe1c94a08bbbda60.jpg","text":"TemporaryFile(/tmp/multipartBody158749498206574101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140982768,"filename":"image_26112025_03_27_13_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/26/a4606799fd088f1eba4e66edf28c64e4.jpg","text":"TemporaryFile(/tmp/multipartBody5324410530550036089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140982768,"filename":"image_26112025_03_26_57_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/26/49c439f2945232161e2d0c0f94c64a23.jpg","text":"TemporaryFile(/tmp/multipartBody294333519951389919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140982768,"filename":"image_26112025_03_27_01_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fe25755113274213c3611c3a62980d1a.jpg","text":"TemporaryFile(/tmp/multipartBody2653287333764831285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140982768,"filename":"image_26112025_03_27_10_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/26/18357a35468ccebcac061f99c3f585cc.jpg","text":"TemporaryFile(/tmp/multipartBody403764127279130868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764140982768,"filename":"image_26112025_03_27_07_3513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396218596","file1":"1396218568","file0":"1396218565","file4":"1396218666","file5":"1396218683","file3":"1396218630"},"map_files_photo_id_array":[{"photo_id":"1396218683","filename":"file5"},{"photo_id":"1396218596","filename":"file2"},{"photo_id":"1396218666","filename":"file4"},{"photo_id":"1396218568","filename":"file1"},{"photo_id":"1396218565","filename":"file0"},{"photo_id":"1396218630","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396218596":["hashtag1","hashtag2"]},{"1396218683":["hashtag1","hashtag2"]},{"1396218565":["hashtag1","hashtag2"]},{"1396218568":["hashtag1","hashtag2"]},{"1396218666":["hashtag1","hashtag2"]},{"1396218630":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396218596, 1396218683, 1396218565, 1396218568, 1396218666, 1396218630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.752772092819214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:09:21.926614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_16_2610.jpg', '/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_18_2603.jpg', '/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_22_3232.jpg', '/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_25_3622.jpg', '/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_28_2533.jpg', '/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_30_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_16_2610.jpg
/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_18_2603.jpg
/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_22_3232.jpg
/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_25_3622.jpg
/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_28_2533.jpg
/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_30_2680.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":["1396218698","1396218734","1396218728","1396218700","1396218703","1396218706"],"photo_ids_order":["1396218698","1396218700","1396218703","1396218706","1396218728","1396218734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5c346706540c01f5c604a58e7b2ff238.jpg","text":"TemporaryFile(/tmp/multipartBody4516391257343554823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141022656,"filename":"image_26112025_03_27_16_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/26/badaaffe97182cda526d227a6ea7c6fc.jpg","text":"TemporaryFile(/tmp/multipartBody5333442048604662335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141022656,"filename":"image_26112025_03_27_30_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/26/b3e466ceff4dc434300d9b67531f6564.jpg","text":"TemporaryFile(/tmp/multipartBody1616241815274964621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141022656,"filename":"image_26112025_03_27_28_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/26/bc9425c965691057909d48425769d660.jpg","text":"TemporaryFile(/tmp/multipartBody638965650798558750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141022656,"filename":"image_26112025_03_27_18_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/26/4f021369939db5a6f969538381f16754.jpg","text":"TemporaryFile(/tmp/multipartBody3740955578026396838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141022656,"filename":"image_26112025_03_27_22_3232.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0fd13f257a40e259a43b02c45a9b1ce3.jpg","text":"TemporaryFile(/tmp/multipartBody7283645146709295950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141022656,"filename":"image_26112025_03_27_25_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396218703","file1":"1396218700","file0":"1396218698","file4":"1396218728","file5":"1396218734","file3":"1396218706"},"map_files_photo_id_array":[{"photo_id":"1396218734","filename":"file5"},{"photo_id":"1396218703","filename":"file2"},{"photo_id":"1396218728","filename":"file4"},{"photo_id":"1396218700","filename":"file1"},{"photo_id":"1396218698","filename":"file0"},{"photo_id":"1396218706","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396218698":["hashtag1","hashtag2"]},{"1396218734":["hashtag1","hashtag2"]},{"1396218728":["hashtag1","hashtag2"]},{"1396218700":["hashtag1","hashtag2"]},{"1396218703":["hashtag1","hashtag2"]},{"1396218706":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396218698, 1396218734, 1396218728, 1396218700, 1396218703, 1396218706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50600862503052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:10:02.606285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_34_3687.jpg', '/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_37_2628.jpg', '/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_39_2650.jpg', '/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_43_3589.jpg', '/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_46_2579.jpg', '/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_48_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_34_3687.jpg
/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_37_2628.jpg
/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_39_2650.jpg
/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_43_3589.jpg
/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_46_2579.jpg
/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_48_2689.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":["1396219001","1396219078","1396219039","1396218964","1396218892","1396218928"],"photo_ids_order":["1396218892","1396218928","1396218964","1396219001","1396219039","1396219078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c8edad85043a3b4e7e6cc5bd6a250a03.jpg","text":"TemporaryFile(/tmp/multipartBody6275757726594121891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141063343,"filename":"image_26112025_03_27_43_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/26/af5a8a813e9a4ba06b7365af130f1548.jpg","text":"TemporaryFile(/tmp/multipartBody4832305933786195686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141063343,"filename":"image_26112025_03_27_48_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/26/477674fae98a47446c5706292dfe96a3.jpg","text":"TemporaryFile(/tmp/multipartBody879917094655099050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141063343,"filename":"image_26112025_03_27_46_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/26/4d24b8264135447296507184f1193809.jpg","text":"TemporaryFile(/tmp/multipartBody8373583988847614215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141063343,"filename":"image_26112025_03_27_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/26/1c71c5a7cb42684c34b3010cea7aad72.jpg","text":"TemporaryFile(/tmp/multipartBody804132821887194447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141063343,"filename":"image_26112025_03_27_34_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dc7fbcf5ca90c735bbf4eb8c94969f5b.jpg","text":"TemporaryFile(/tmp/multipartBody1409247883241308039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141063343,"filename":"image_26112025_03_27_37_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396218964","file1":"1396218928","file0":"1396218892","file4":"1396219039","file5":"1396219078","file3":"1396219001"},"map_files_photo_id_array":[{"photo_id":"1396219078","filename":"file5"},{"photo_id":"1396218964","filename":"file2"},{"photo_id":"1396219039","filename":"file4"},{"photo_id":"1396218928","filename":"file1"},{"photo_id":"1396218892","filename":"file0"},{"photo_id":"1396219001","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396219001":["hashtag1","hashtag2"]},{"1396219078":["hashtag1","hashtag2"]},{"1396219039":["hashtag1","hashtag2"]},{"1396218964":["hashtag1","hashtag2"]},{"1396218892":["hashtag1","hashtag2"]},{"1396218928":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396219001, 1396219078, 1396219039, 1396218964, 1396218892, 1396218928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.693814277648926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 08:10:42.229628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_52_3604.jpg', '/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_54_2576.jpg', '/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_58_3709.jpg', '/home/pi/Desktop/images/26112025/03/28/image_26112025_03_28_01_2575.jpg', '/home/pi/Desktop/images/26112025/03/28/image_26112025_03_28_03_2658.jpg', '/home/pi/Desktop/images/26112025/03/28/image_26112025_03_28_07_3590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_52_3604.jpg
/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_54_2576.jpg
/home/pi/Desktop/images/26112025/03/27/image_26112025_03_27_58_3709.jpg
/home/pi/Desktop/images/26112025/03/28/image_26112025_03_28_01_2575.jpg
/home/pi/Desktop/images/26112025/03/28/image_26112025_03_28_03_2658.jpg
/home/pi/Desktop/images/26112025/03/28/image_26112025_03_28_07_3590.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":["1396219351","1396219237","1396219275","1396219314","1396219422","1396219385"],"photo_ids_order":["1396219237","1396219275","1396219314","1396219351","1396219385","1396219422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/21a218b10baa8d0a9d541bb0ef06ac20.jpg","text":"TemporaryFile(/tmp/multipartBody5636874083290118578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141102896,"filename":"image_26112025_03_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/26/4867ce581a4d02dce3acbf2052f078c9.jpg","text":"TemporaryFile(/tmp/multipartBody3691947185977068527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141102896,"filename":"image_26112025_03_27_52_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/26/7c117e77e1fbdd64209e799660160cd6.jpg","text":"TemporaryFile(/tmp/multipartBody2278542411484141667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141102896,"filename":"image_26112025_03_27_54_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/26/725329fc11a25c15fe2557c9bb1fa62b.jpg","text":"TemporaryFile(/tmp/multipartBody5274740446705056901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141102896,"filename":"image_26112025_03_27_58_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/26/fefc1a04f0bf29d8ddef7e13c914eff7.jpg","text":"TemporaryFile(/tmp/multipartBody5953785746139054230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141102896,"filename":"image_26112025_03_28_07_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/26/6923f8b3adf55173ba78d095a783c795.jpg","text":"TemporaryFile(/tmp/multipartBody8093701893978973085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141102896,"filename":"image_26112025_03_28_03_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396219314","file1":"1396219275","file0":"1396219237","file4":"1396219385","file5":"1396219422","file3":"1396219351"},"map_files_photo_id_array":[{"photo_id":"1396219422","filename":"file5"},{"photo_id":"1396219314","filename":"file2"},{"photo_id":"1396219385","filename":"file4"},{"photo_id":"1396219275","filename":"file1"},{"photo_id":"1396219237","filename":"file0"},{"photo_id":"1396219351","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396219351":["hashtag1","hashtag2"]},{"1396219237":["hashtag1","hashtag2"]},{"1396219275":["hashtag1","hashtag2"]},{"1396219314":["hashtag1","hashtag2"]},{"1396219422":["hashtag1","hashtag2"]},{"1396219385":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396219351, 1396219237, 1396219275, 1396219314, 1396219422, 1396219385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.446266412734985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:11:22.477555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/28/image_26112025_03_28_10_2596.jpg', '/home/pi/Desktop/images/26112025/03/28/image_26112025_03_28_12_2774.jpg', '/home/pi/Desktop/images/26112025/03/28/image_26112025_03_28_16_3737.jpg', '/home/pi/Desktop/images/26112025/03/28/image_26112025_03_28_19_2529.jpg', '/home/pi/Desktop/images/26112025/03/28/image_26112025_03_28_21_2634.jpg', '/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/28/image_26112025_03_28_10_2596.jpg
/home/pi/Desktop/images/26112025/03/28/image_26112025_03_28_12_2774.jpg
/home/pi/Desktop/images/26112025/03/28/image_26112025_03_28_16_3737.jpg
/home/pi/Desktop/images/26112025/03/28/image_26112025_03_28_19_2529.jpg
/home/pi/Desktop/images/26112025/03/28/image_26112025_03_28_21_2634.jpg
/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_07_3011.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396219751","1396219652","1396219732","1396219735","1396219728","1396219707"],"photo_ids_order":["1396219652","1396219707","1396219728","1396219732","1396219735","1396219751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b109617efc686c7fa298083996fcc82f.jpg","text":"TemporaryFile(/tmp/multipartBody6632496125641032004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141143943,"filename":"image_26112025_03_29_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/26/13010033b2640939d509a3bb51bd1c96.jpg","text":"TemporaryFile(/tmp/multipartBody2809502972920004641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141143943,"filename":"image_26112025_03_28_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/26/e66849c5d14fdcd06059b18d2d684370.jpg","text":"TemporaryFile(/tmp/multipartBody241655834335534941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141143943,"filename":"image_26112025_03_28_19_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/26/9f9a60605adb5b313287d60ed1504226.jpg","text":"TemporaryFile(/tmp/multipartBody4083755645230159535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141143943,"filename":"image_26112025_03_28_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/26/121a8e9c68a8478a429d40a16cf78b88.jpg","text":"TemporaryFile(/tmp/multipartBody4172369341374176262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141143943,"filename":"image_26112025_03_28_16_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/26/067996b6a9e2ff61cc529d5308695c79.jpg","text":"TemporaryFile(/tmp/multipartBody5965976488574812455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141143943,"filename":"image_26112025_03_28_12_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396219728","file1":"1396219707","file0":"1396219652","file4":"1396219735","file5":"1396219751","file3":"1396219732"},"map_files_photo_id_array":[{"photo_id":"1396219751","filename":"file5"},{"photo_id":"1396219728","filename":"file2"},{"photo_id":"1396219735","filename":"file4"},{"photo_id":"1396219707","filename":"file1"},{"photo_id":"1396219652","filename":"file0"},{"photo_id":"1396219732","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396219751":["hashtag1","hashtag2"]},{"1396219652":["hashtag1","hashtag2"]},{"1396219732":["hashtag1","hashtag2"]},{"1396219735":["hashtag1","hashtag2"]},{"1396219728":["hashtag1","hashtag2"]},{"1396219707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396219751, 1396219652, 1396219732, 1396219735, 1396219728, 1396219707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.805333614349365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:12:03.084178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_11_3647.jpg', '/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_13_2652.jpg', '/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_17_3574.jpg', '/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_19_2704.jpg', '/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_22_2570.jpg', '/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_26_3554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_11_3647.jpg
/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_13_2652.jpg
/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_17_3574.jpg
/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_19_2704.jpg
/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_22_2570.jpg
/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_26_3554.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":["1396219958","1396220264","1396220030","1396220185","1396220112","1396219883"],"photo_ids_order":["1396219883","1396219958","1396220030","1396220112","1396220185","1396220264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5212a600c9542b26d8015323c5a995ea.jpg","text":"TemporaryFile(/tmp/multipartBody1488309454248333982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141183805,"filename":"image_26112025_03_29_13_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/26/9f63a40cf0aaf53f8a70579c54469f94.jpg","text":"TemporaryFile(/tmp/multipartBody6591645090062042817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141183805,"filename":"image_26112025_03_29_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/26/12cf853181faf8e76d82c828769a07f9.jpg","text":"TemporaryFile(/tmp/multipartBody6910602004656763035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141183805,"filename":"image_26112025_03_29_17_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/26/6aa53e4a0a47e11a352682ca60975b9d.jpg","text":"TemporaryFile(/tmp/multipartBody4482211501699096147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141183805,"filename":"image_26112025_03_29_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/26/6590554a158be0b4801dfd600852df79.jpg","text":"TemporaryFile(/tmp/multipartBody7980934724572262402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141183805,"filename":"image_26112025_03_29_19_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/26/0e64a6aae86325f3fe4ca96c5e943729.jpg","text":"TemporaryFile(/tmp/multipartBody1485934261668175331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141183805,"filename":"image_26112025_03_29_11_3647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396220030","file1":"1396219958","file0":"1396219883","file4":"1396220185","file5":"1396220264","file3":"1396220112"},"map_files_photo_id_array":[{"photo_id":"1396220264","filename":"file5"},{"photo_id":"1396220030","filename":"file2"},{"photo_id":"1396220185","filename":"file4"},{"photo_id":"1396219958","filename":"file1"},{"photo_id":"1396219883","filename":"file0"},{"photo_id":"1396220112","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396219958":["hashtag1","hashtag2"]},{"1396220264":["hashtag1","hashtag2"]},{"1396220030":["hashtag1","hashtag2"]},{"1396220185":["hashtag1","hashtag2"]},{"1396220112":["hashtag1","hashtag2"]},{"1396219883":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396219958, 1396220264, 1396220030, 1396220185, 1396220112, 1396219883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66430974006653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 08:12:42.692901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_28_2531.jpg', '/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_32_3622.jpg', '/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_34_2640.jpg', '/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_37_2639.jpg', '/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_41_3662.jpg', '/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_43_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_28_2531.jpg
/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_32_3622.jpg
/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_34_2640.jpg
/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_37_2639.jpg
/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_41_3662.jpg
/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_43_2647.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":["1396220520","1396220486","1396220465","1396220600","1396220560","1396220458"],"photo_ids_order":["1396220458","1396220465","1396220486","1396220520","1396220560","1396220600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ccad2fc99d183ba1e5b1a6d7f91a91d6.jpg","text":"TemporaryFile(/tmp/multipartBody4742177297848956650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141223391,"filename":"image_26112025_03_29_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/26/cb3069fc4f3d60d74f0a3411a6447486.jpg","text":"TemporaryFile(/tmp/multipartBody7234892815538274000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141223391,"filename":"image_26112025_03_29_34_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/786bdc2d14979fe6ca1626570401e5bc.jpg","text":"TemporaryFile(/tmp/multipartBody1143013693154989141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141223391,"filename":"image_26112025_03_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/26/ec89182b7f012b3360843ecdf6f68da6.jpg","text":"TemporaryFile(/tmp/multipartBody8109328638714488917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141223391,"filename":"image_26112025_03_29_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/26/ec4d85142d370f731eed4fc2777b524e.jpg","text":"TemporaryFile(/tmp/multipartBody3054110030217989232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141223391,"filename":"image_26112025_03_29_41_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/26/b59d4b30f9ec7b14749fc099c63e3eac.jpg","text":"TemporaryFile(/tmp/multipartBody8822161792637328093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141223391,"filename":"image_26112025_03_29_28_2531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396220486","file1":"1396220465","file0":"1396220458","file4":"1396220560","file5":"1396220600","file3":"1396220520"},"map_files_photo_id_array":[{"photo_id":"1396220600","filename":"file5"},{"photo_id":"1396220486","filename":"file2"},{"photo_id":"1396220560","filename":"file4"},{"photo_id":"1396220465","filename":"file1"},{"photo_id":"1396220458","filename":"file0"},{"photo_id":"1396220520","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396220520":["hashtag1","hashtag2"]},{"1396220486":["hashtag1","hashtag2"]},{"1396220465":["hashtag1","hashtag2"]},{"1396220600":["hashtag1","hashtag2"]},{"1396220560":["hashtag1","hashtag2"]},{"1396220458":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396220520, 1396220486, 1396220465, 1396220600, 1396220560, 1396220458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.001737117767334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:13:21.873691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_46_2769.jpg', '/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_50_3569.jpg', '/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_52_2665.jpg', '/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_55_2792.jpg', '/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_58_2846.jpg', '/home/pi/Desktop/images/26112025/03/31/image_26112025_03_31_07_3012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_46_2769.jpg
/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_50_3569.jpg
/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_52_2665.jpg
/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_55_2792.jpg
/home/pi/Desktop/images/26112025/03/29/image_26112025_03_29_58_2846.jpg
/home/pi/Desktop/images/26112025/03/31/image_26112025_03_31_07_3012.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":["1396220666","1396220669","1396220662","1396220671","1396220659","1396220655"],"photo_ids_order":["1396220655","1396220659","1396220662","1396220666","1396220669","1396220671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/722ef418a9a77ecd7b02fd7976b15a66.jpg","text":"TemporaryFile(/tmp/multipartBody8492007521403384936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141262541,"filename":"image_26112025_03_29_55_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e9613f217d0a2009c5e6c97dfc3a9f3e.jpg","text":"TemporaryFile(/tmp/multipartBody4219313926236192452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141262541,"filename":"image_26112025_03_29_58_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/26/3a60abc611954a7ea8b6e2a687740039.jpg","text":"TemporaryFile(/tmp/multipartBody4186233920337650019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141262541,"filename":"image_26112025_03_29_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/26/dd15a54c07af164ec4cdf4479a4e467a.jpg","text":"TemporaryFile(/tmp/multipartBody8266166159252910814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141262541,"filename":"image_26112025_03_31_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/26/885030d30a26d50b70e2ae08034a20cb.jpg","text":"TemporaryFile(/tmp/multipartBody2454938822479053839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141262541,"filename":"image_26112025_03_29_50_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/26/1cb1dd878fd675a707c4d09c9d89c876.jpg","text":"TemporaryFile(/tmp/multipartBody210081574489073502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141262541,"filename":"image_26112025_03_29_46_2769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396220662","file1":"1396220659","file0":"1396220655","file4":"1396220669","file5":"1396220671","file3":"1396220666"},"map_files_photo_id_array":[{"photo_id":"1396220671","filename":"file5"},{"photo_id":"1396220662","filename":"file2"},{"photo_id":"1396220669","filename":"file4"},{"photo_id":"1396220659","filename":"file1"},{"photo_id":"1396220655","filename":"file0"},{"photo_id":"1396220666","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396220666":["hashtag1","hashtag2"]},{"1396220669":["hashtag1","hashtag2"]},{"1396220662":["hashtag1","hashtag2"]},{"1396220671":["hashtag1","hashtag2"]},{"1396220659":["hashtag1","hashtag2"]},{"1396220655":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396220666, 1396220669, 1396220662, 1396220671, 1396220659, 1396220655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.004334688186646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:14:02.787687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/31/image_26112025_03_31_10_3602.jpg', '/home/pi/Desktop/images/26112025/03/31/image_26112025_03_31_13_2687.jpg', '/home/pi/Desktop/images/26112025/03/31/image_26112025_03_31_16_3049.jpg', '/home/pi/Desktop/images/26112025/03/31/image_26112025_03_31_19_2656.jpg', '/home/pi/Desktop/images/26112025/03/31/image_26112025_03_31_22_3530.jpg', '/home/pi/Desktop/images/26112025/03/31/image_26112025_03_31_25_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/31/image_26112025_03_31_10_3602.jpg
/home/pi/Desktop/images/26112025/03/31/image_26112025_03_31_13_2687.jpg
/home/pi/Desktop/images/26112025/03/31/image_26112025_03_31_16_3049.jpg
/home/pi/Desktop/images/26112025/03/31/image_26112025_03_31_19_2656.jpg
/home/pi/Desktop/images/26112025/03/31/image_26112025_03_31_22_3530.jpg
/home/pi/Desktop/images/26112025/03/31/image_26112025_03_31_25_2658.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":["1396220678","1396220692","1396220686","1396220689","1396220680","1396220683"],"photo_ids_order":["1396220678","1396220680","1396220683","1396220686","1396220689","1396220692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b3c2e632fb8542ffb61f604a84ba7dbc.jpg","text":"TemporaryFile(/tmp/multipartBody7004139558763119314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141303611,"filename":"image_26112025_03_31_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/26/dc90627f9db2d6da9208e64dfb671c6b.jpg","text":"TemporaryFile(/tmp/multipartBody1193562595805543305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141303611,"filename":"image_26112025_03_31_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/26/a4aaa3879b1eb12d47e422975b627a48.jpg","text":"TemporaryFile(/tmp/multipartBody1104427858024729238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141303611,"filename":"image_26112025_03_31_19_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/26/d42290696d26096ec613336aa65d59d4.jpg","text":"TemporaryFile(/tmp/multipartBody7329878524371969140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141303611,"filename":"image_26112025_03_31_22_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/26/692711a104c0813d01652fe022373ccc.jpg","text":"TemporaryFile(/tmp/multipartBody1394910889695799707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141303611,"filename":"image_26112025_03_31_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/26/078870535573faaf1d93e7f0384fb958.jpg","text":"TemporaryFile(/tmp/multipartBody8522397191067977646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141303611,"filename":"image_26112025_03_31_16_3049.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396220683","file1":"1396220680","file0":"1396220678","file4":"1396220689","file5":"1396220692","file3":"1396220686"},"map_files_photo_id_array":[{"photo_id":"1396220692","filename":"file5"},{"photo_id":"1396220683","filename":"file2"},{"photo_id":"1396220689","filename":"file4"},{"photo_id":"1396220680","filename":"file1"},{"photo_id":"1396220678","filename":"file0"},{"photo_id":"1396220686","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396220678":["hashtag1","hashtag2"]},{"1396220692":["hashtag1","hashtag2"]},{"1396220686":["hashtag1","hashtag2"]},{"1396220689":["hashtag1","hashtag2"]},{"1396220680":["hashtag1","hashtag2"]},{"1396220683":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396220678, 1396220692, 1396220686, 1396220689, 1396220680, 1396220683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20376658439636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 08:14:42.197556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/31/image_26112025_03_31_28_3670.jpg', '/home/pi/Desktop/images/26112025/03/31/image_26112025_03_31_34_2640.jpg', '/home/pi/Desktop/images/26112025/03/31/image_26112025_03_31_37_3611.jpg', '/home/pi/Desktop/images/26112025/03/31/image_26112025_03_31_40_2668.jpg', '/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_07_3012.jpg', '/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_10_3550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/31/image_26112025_03_31_28_3670.jpg
/home/pi/Desktop/images/26112025/03/31/image_26112025_03_31_34_2640.jpg
/home/pi/Desktop/images/26112025/03/31/image_26112025_03_31_37_3611.jpg
/home/pi/Desktop/images/26112025/03/31/image_26112025_03_31_40_2668.jpg
/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_07_3012.jpg
/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_10_3550.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":["1396220703","1396220706","1396220708","1396220713","1396220707","1396220709"],"photo_ids_order":["1396220703","1396220706","1396220707","1396220708","1396220709","1396220713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/060c2f622fe4a51bea9801da07c3f07d.jpg","text":"TemporaryFile(/tmp/multipartBody3010266641196543920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141342898,"filename":"image_26112025_03_31_28_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/26/f234b3e5f1860e5cd38ca495b7d9de2c.jpg","text":"TemporaryFile(/tmp/multipartBody5713928902251562747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141342898,"filename":"image_26112025_03_31_34_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6188d50a893ac1d9d637b8865b436e1c.jpg","text":"TemporaryFile(/tmp/multipartBody963798039861567063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141342898,"filename":"image_26112025_03_31_40_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/abcad6ff855034326a22f13c8dab478b.jpg","text":"TemporaryFile(/tmp/multipartBody6962646871898787630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141342898,"filename":"image_26112025_03_33_10_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/26/aefe95602cf7df69725b85fa6fe1444f.jpg","text":"TemporaryFile(/tmp/multipartBody8110512308721512277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141342898,"filename":"image_26112025_03_31_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/26/73aea651742ca73b1dae11b8d536f4dd.jpg","text":"TemporaryFile(/tmp/multipartBody3361686285222132911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141342898,"filename":"image_26112025_03_33_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396220707","file1":"1396220706","file0":"1396220703","file4":"1396220709","file5":"1396220713","file3":"1396220708"},"map_files_photo_id_array":[{"photo_id":"1396220713","filename":"file5"},{"photo_id":"1396220707","filename":"file2"},{"photo_id":"1396220709","filename":"file4"},{"photo_id":"1396220706","filename":"file1"},{"photo_id":"1396220703","filename":"file0"},{"photo_id":"1396220708","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396220703":["hashtag1","hashtag2"]},{"1396220706":["hashtag1","hashtag2"]},{"1396220708":["hashtag1","hashtag2"]},{"1396220713":["hashtag1","hashtag2"]},{"1396220707":["hashtag1","hashtag2"]},{"1396220709":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396220703, 1396220706, 1396220708, 1396220713, 1396220707, 1396220709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37910795211792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:15:22.383349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_13_2572.jpg', '/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_17_3741.jpg', '/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_19_2577.jpg', '/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_22_2542.jpg', '/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_25_3533.jpg', '/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_28_2537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_13_2572.jpg
/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_17_3741.jpg
/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_19_2577.jpg
/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_22_2542.jpg
/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_25_3533.jpg
/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_28_2537.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":["1396220726","1396220720","1396220740","1396220751","1396220745","1396220748"],"photo_ids_order":["1396220720","1396220726","1396220740","1396220745","1396220748","1396220751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7b6c41f1b22bed4c957ea3dbd4c3a665.jpg","text":"TemporaryFile(/tmp/multipartBody473155068616983357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141383124,"filename":"image_26112025_03_33_17_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/26/da1256e9bf2659a32f1084e86b24e3d0.jpg","text":"TemporaryFile(/tmp/multipartBody337025429263229598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141383124,"filename":"image_26112025_03_33_13_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/26/0f53b3fdb6048662ce5c786f73363a3d.jpg","text":"TemporaryFile(/tmp/multipartBody5146814250330462429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141383124,"filename":"image_26112025_03_33_19_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/26/611f4e5b1b37127ccb8f4d0a7477b243.jpg","text":"TemporaryFile(/tmp/multipartBody9065818850171415747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141383124,"filename":"image_26112025_03_33_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/26/19d631d591a64102f13764745301fb2b.jpg","text":"TemporaryFile(/tmp/multipartBody1163196342117709378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141383124,"filename":"image_26112025_03_33_22_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/26/47ab2f57a5311bb87887b6c3848e1e73.jpg","text":"TemporaryFile(/tmp/multipartBody4455072209930942340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141383124,"filename":"image_26112025_03_33_25_3533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396220740","file1":"1396220726","file0":"1396220720","file4":"1396220748","file5":"1396220751","file3":"1396220745"},"map_files_photo_id_array":[{"photo_id":"1396220751","filename":"file5"},{"photo_id":"1396220740","filename":"file2"},{"photo_id":"1396220748","filename":"file4"},{"photo_id":"1396220726","filename":"file1"},{"photo_id":"1396220720","filename":"file0"},{"photo_id":"1396220745","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396220726":["hashtag1","hashtag2"]},{"1396220720":["hashtag1","hashtag2"]},{"1396220740":["hashtag1","hashtag2"]},{"1396220751":["hashtag1","hashtag2"]},{"1396220745":["hashtag1","hashtag2"]},{"1396220748":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396220726, 1396220720, 1396220740, 1396220751, 1396220745, 1396220748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42518949508667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:16:03.057948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_32_3813.jpg', '/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_34_2522.jpg', '/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_37_2638.jpg', '/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_41_3808.jpg', '/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_43_2685.jpg', '/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_32_3813.jpg
/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_34_2522.jpg
/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_37_2638.jpg
/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_41_3808.jpg
/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_43_2685.jpg
/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_07_3011.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.6211912631988525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:16:12.508602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_32_3813.jpg', '/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_34_2522.jpg', '/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_37_2638.jpg', '/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_41_3808.jpg', '/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_43_2685.jpg', '/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_32_3813.jpg
/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_34_2522.jpg
/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_37_2638.jpg
/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_41_3808.jpg
/home/pi/Desktop/images/26112025/03/33/image_26112025_03_33_43_2685.jpg
/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_07_3011.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":["1396220817","1396220762","1396220759","1396220906","1396220857","1396220778"],"photo_ids_order":["1396220759","1396220762","1396220778","1396220817","1396220857","1396220906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dbc51ec9f3ffacbf7f355a651c503700.jpg","text":"TemporaryFile(/tmp/multipartBody258552120130150573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141433170,"filename":"image_26112025_03_33_41_3808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a8fb91fc1b9f99f8d65318ad13542643.jpg","text":"TemporaryFile(/tmp/multipartBody4296000722478593305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141433170,"filename":"image_26112025_03_33_34_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/26/59496854b6e7eb5993e14dfb09876bbe.jpg","text":"TemporaryFile(/tmp/multipartBody4832852565475319944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141433170,"filename":"image_26112025_03_33_32_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/26/ddd3a135c6416b3d5d7ea6dde233df90.jpg","text":"TemporaryFile(/tmp/multipartBody7447982586974181401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141433170,"filename":"image_26112025_03_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/26/101620b0eff28d7fe6df5d54c58a44d4.jpg","text":"TemporaryFile(/tmp/multipartBody8428686655905369250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141433170,"filename":"image_26112025_03_33_43_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/26/6c40123e9d3f34239fd72c53f3b35dcc.jpg","text":"TemporaryFile(/tmp/multipartBody5130308260020846559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141433170,"filename":"image_26112025_03_33_37_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396220778","file1":"1396220762","file0":"1396220759","file4":"1396220857","file5":"1396220906","file3":"1396220817"},"map_files_photo_id_array":[{"photo_id":"1396220906","filename":"file5"},{"photo_id":"1396220778","filename":"file2"},{"photo_id":"1396220857","filename":"file4"},{"photo_id":"1396220762","filename":"file1"},{"photo_id":"1396220759","filename":"file0"},{"photo_id":"1396220817","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396220817":["hashtag1","hashtag2"]},{"1396220762":["hashtag1","hashtag2"]},{"1396220759":["hashtag1","hashtag2"]},{"1396220906":["hashtag1","hashtag2"]},{"1396220857":["hashtag1","hashtag2"]},{"1396220778":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396220817, 1396220762, 1396220759, 1396220906, 1396220857, 1396220778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.87125492095947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:17:03.314421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_11_3760.jpg', '/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_15_3567.jpg', '/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_17_2486.jpg', '/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_22_2612.jpg', '/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_26_3604.jpg', '/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_29_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_11_3760.jpg
/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_15_3567.jpg
/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_17_2486.jpg
/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_22_2612.jpg
/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_26_3604.jpg
/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_29_2719.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":["1396220993","1396220995","1396220992","1396220989","1396221025","1396220991"],"photo_ids_order":["1396220989","1396220991","1396220992","1396220993","1396220995","1396221025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/64b4982ca62ef031ac4d6ee1c1da1670.jpg","text":"TemporaryFile(/tmp/multipartBody6262139727301544604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141484127,"filename":"image_26112025_03_35_22_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/26/794800ceb02279961ccc7bdf9af2a397.jpg","text":"TemporaryFile(/tmp/multipartBody8033474841238026917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141484127,"filename":"image_26112025_03_35_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/26/e7753796914129adc33204103a6dcafd.jpg","text":"TemporaryFile(/tmp/multipartBody3525755478491191300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141484127,"filename":"image_26112025_03_35_17_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/26/c26fd01fe52ad5dc08ad9435bb28d2f0.jpg","text":"TemporaryFile(/tmp/multipartBody3628766075322758440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141484127,"filename":"image_26112025_03_35_11_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/26/f015b906fc6013ac2678fc60fe5cc4d4.jpg","text":"TemporaryFile(/tmp/multipartBody8744316094969313075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141484127,"filename":"image_26112025_03_35_29_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/26/e674b914305930626609d0faec297e34.jpg","text":"TemporaryFile(/tmp/multipartBody4434949013020458888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141484127,"filename":"image_26112025_03_35_15_3567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396220992","file1":"1396220991","file0":"1396220989","file4":"1396220995","file5":"1396221025","file3":"1396220993"},"map_files_photo_id_array":[{"photo_id":"1396221025","filename":"file5"},{"photo_id":"1396220992","filename":"file2"},{"photo_id":"1396220995","filename":"file4"},{"photo_id":"1396220991","filename":"file1"},{"photo_id":"1396220989","filename":"file0"},{"photo_id":"1396220993","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396220993":["hashtag1","hashtag2"]},{"1396220995":["hashtag1","hashtag2"]},{"1396220992":["hashtag1","hashtag2"]},{"1396220989":["hashtag1","hashtag2"]},{"1396221025":["hashtag1","hashtag2"]},{"1396220991":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396220993, 1396220995, 1396220992, 1396220989, 1396221025, 1396220991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.493863582611084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 08:17:42.458163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_31_2654.jpg', '/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_35_3631.jpg', '/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_38_2605.jpg', '/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_40_2728.jpg', '/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_44_3518.jpg', '/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_46_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_31_2654.jpg
/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_35_3631.jpg
/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_38_2605.jpg
/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_40_2728.jpg
/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_44_3518.jpg
/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_46_2711.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":["1396221131","1396221133","1396221147","1396221132","1396221129","1396221120"],"photo_ids_order":["1396221120","1396221129","1396221131","1396221132","1396221133","1396221147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e0a139a78ea95ed2af74efe4ef802a76.jpg","text":"TemporaryFile(/tmp/multipartBody6213456325132510558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141523127,"filename":"image_26112025_03_35_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/26/1e2ebcec4dcd3d5a36b79b67fc5609e5.jpg","text":"TemporaryFile(/tmp/multipartBody7232648542859787905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141523127,"filename":"image_26112025_03_35_44_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/26/55b582f9092d4ee53a45babeed37221d.jpg","text":"TemporaryFile(/tmp/multipartBody2334381254521855637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141523127,"filename":"image_26112025_03_35_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/26/65a44ba45c1a3c40372797e141346886.jpg","text":"TemporaryFile(/tmp/multipartBody5982645567050021665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141523127,"filename":"image_26112025_03_35_40_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/26/ff1fe780df01b094a7e1bace72f26735.jpg","text":"TemporaryFile(/tmp/multipartBody7421124981611747760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141523127,"filename":"image_26112025_03_35_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/26/026f15236f536a0e152998398a26977b.jpg","text":"TemporaryFile(/tmp/multipartBody6657463072188933094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141523127,"filename":"image_26112025_03_35_31_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396221131","file1":"1396221129","file0":"1396221120","file4":"1396221133","file5":"1396221147","file3":"1396221132"},"map_files_photo_id_array":[{"photo_id":"1396221147","filename":"file5"},{"photo_id":"1396221131","filename":"file2"},{"photo_id":"1396221133","filename":"file4"},{"photo_id":"1396221129","filename":"file1"},{"photo_id":"1396221120","filename":"file0"},{"photo_id":"1396221132","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396221131":["hashtag1","hashtag2"]},{"1396221133":["hashtag1","hashtag2"]},{"1396221147":["hashtag1","hashtag2"]},{"1396221132":["hashtag1","hashtag2"]},{"1396221129":["hashtag1","hashtag2"]},{"1396221120":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396221131, 1396221133, 1396221147, 1396221132, 1396221129, 1396221120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80926036834717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:18:22.631373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_50_3560.jpg', '/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_53_2779.jpg', '/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_55_2651.jpg', '/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_07_3012.jpg', '/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_11_3532.jpg', '/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_13_2469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_50_3560.jpg
/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_53_2779.jpg
/home/pi/Desktop/images/26112025/03/35/image_26112025_03_35_55_2651.jpg
/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_07_3012.jpg
/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_11_3532.jpg
/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_13_2469.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":["1396221196","1396221200","1396221190","1396221187","1396221204","1396221182"],"photo_ids_order":["1396221182","1396221187","1396221190","1396221196","1396221200","1396221204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/06481fb285bb93a22540ebbdf8b6093b.jpg","text":"TemporaryFile(/tmp/multipartBody3010935312166595947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141563319,"filename":"image_26112025_03_37_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/26/45e33f70fbda73a88a735d5f50ad78a8.jpg","text":"TemporaryFile(/tmp/multipartBody1396424066896224374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141563319,"filename":"image_26112025_03_37_11_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/26/6b6d69dc5ffdf90082618f93d7d7d0e5.jpg","text":"TemporaryFile(/tmp/multipartBody5966252916345403573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141563319,"filename":"image_26112025_03_35_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/26/70917241332e3864ef5bd48c13d35eb2.jpg","text":"TemporaryFile(/tmp/multipartBody7319888997486751048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141563319,"filename":"image_26112025_03_35_53_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d1ff919073a82bacb424ce378ff9dedf.jpg","text":"TemporaryFile(/tmp/multipartBody8703266390733418913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141563319,"filename":"image_26112025_03_37_13_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/26/519cb7c142dd363dcaf7833a2b9d666c.jpg","text":"TemporaryFile(/tmp/multipartBody1800335716415142262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141563319,"filename":"image_26112025_03_35_50_3560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396221190","file1":"1396221187","file0":"1396221182","file4":"1396221200","file5":"1396221204","file3":"1396221196"},"map_files_photo_id_array":[{"photo_id":"1396221204","filename":"file5"},{"photo_id":"1396221190","filename":"file2"},{"photo_id":"1396221200","filename":"file4"},{"photo_id":"1396221187","filename":"file1"},{"photo_id":"1396221182","filename":"file0"},{"photo_id":"1396221196","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396221196":["hashtag1","hashtag2"]},{"1396221200":["hashtag1","hashtag2"]},{"1396221190":["hashtag1","hashtag2"]},{"1396221187":["hashtag1","hashtag2"]},{"1396221204":["hashtag1","hashtag2"]},{"1396221182":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396221196, 1396221200, 1396221190, 1396221187, 1396221204, 1396221182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03635263442993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:19:02.877841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_17_3664.jpg', '/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_19_2702.jpg', '/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_22_2598.jpg', '/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_26_3689.jpg', '/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_29_2882.jpg', '/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_31_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_17_3664.jpg
/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_19_2702.jpg
/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_22_2598.jpg
/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_26_3689.jpg
/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_29_2882.jpg
/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_31_2657.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":["1396221221","1396221215","1396221218","1396221212","1396221208","1396221210"],"photo_ids_order":["1396221208","1396221210","1396221212","1396221215","1396221218","1396221221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/08a136f4e92e42e9c53ee98ef36c6d31.jpg","text":"TemporaryFile(/tmp/multipartBody5528321929449736170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141603660,"filename":"image_26112025_03_37_31_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/26/d25a3ef5fb1a776fd2ffc2ba041ca553.jpg","text":"TemporaryFile(/tmp/multipartBody1270892834546074624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141603660,"filename":"image_26112025_03_37_26_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2c8c233e5e48437dcb02cd377434eb8e.jpg","text":"TemporaryFile(/tmp/multipartBody2331510646681773683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141603660,"filename":"image_26112025_03_37_29_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/26/577ef51e45ca1d63c48ea5bee413289a.jpg","text":"TemporaryFile(/tmp/multipartBody8280478368073986803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141603660,"filename":"image_26112025_03_37_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/26/fc1820f892e3b54c31807c9325e92414.jpg","text":"TemporaryFile(/tmp/multipartBody6627355373654319398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141603660,"filename":"image_26112025_03_37_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/26/b042b2417714a491e205967cf17d440c.jpg","text":"TemporaryFile(/tmp/multipartBody8433647030979157628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141603660,"filename":"image_26112025_03_37_19_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396221212","file1":"1396221210","file0":"1396221208","file4":"1396221218","file5":"1396221221","file3":"1396221215"},"map_files_photo_id_array":[{"photo_id":"1396221221","filename":"file5"},{"photo_id":"1396221212","filename":"file2"},{"photo_id":"1396221218","filename":"file4"},{"photo_id":"1396221210","filename":"file1"},{"photo_id":"1396221208","filename":"file0"},{"photo_id":"1396221215","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396221221":["hashtag1","hashtag2"]},{"1396221215":["hashtag1","hashtag2"]},{"1396221218":["hashtag1","hashtag2"]},{"1396221212":["hashtag1","hashtag2"]},{"1396221208":["hashtag1","hashtag2"]},{"1396221210":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396221221, 1396221215, 1396221218, 1396221212, 1396221208, 1396221210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02847695350647 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 08:19:41.830545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_35_3573.jpg', '/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_37_2575.jpg', '/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_40_2688.jpg', '/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_44_3585.jpg', '/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_46_2645.jpg', '/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_50_3531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_35_3573.jpg
/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_37_2575.jpg
/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_40_2688.jpg
/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_44_3585.jpg
/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_46_2645.jpg
/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_50_3531.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":["1396221359","1396221394","1396221283","1396221319","1396221246","1396221228"],"photo_ids_order":["1396221228","1396221246","1396221283","1396221319","1396221359","1396221394"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6ce558d0cee7e5727eb205cad2b8861b.jpg","text":"TemporaryFile(/tmp/multipartBody47452998141151110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141642565,"filename":"image_26112025_03_37_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/26/184131619e6bbe13b8ff3dcab5e4c181.jpg","text":"TemporaryFile(/tmp/multipartBody9107403928919616670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141642565,"filename":"image_26112025_03_37_50_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/26/62cd80e45b05b738926eb6768f925a6c.jpg","text":"TemporaryFile(/tmp/multipartBody912481397531485364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141642565,"filename":"image_26112025_03_37_40_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/26/c63be4947dee35012b6675c1938a3955.jpg","text":"TemporaryFile(/tmp/multipartBody984899764253679152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141642565,"filename":"image_26112025_03_37_44_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/26/56e73721c9ed82ed3febc6eac8e56731.jpg","text":"TemporaryFile(/tmp/multipartBody4356836481270002369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141642565,"filename":"image_26112025_03_37_37_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/26/ef005f534aa1c62b91ac11dd457943b0.jpg","text":"TemporaryFile(/tmp/multipartBody6962224014071341030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141642565,"filename":"image_26112025_03_37_35_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396221283","file1":"1396221246","file0":"1396221228","file4":"1396221359","file5":"1396221394","file3":"1396221319"},"map_files_photo_id_array":[{"photo_id":"1396221394","filename":"file5"},{"photo_id":"1396221283","filename":"file2"},{"photo_id":"1396221359","filename":"file4"},{"photo_id":"1396221246","filename":"file1"},{"photo_id":"1396221228","filename":"file0"},{"photo_id":"1396221319","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396221359":["hashtag1","hashtag2"]},{"1396221394":["hashtag1","hashtag2"]},{"1396221283":["hashtag1","hashtag2"]},{"1396221319":["hashtag1","hashtag2"]},{"1396221246":["hashtag1","hashtag2"]},{"1396221228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396221359, 1396221394, 1396221283, 1396221319, 1396221246, 1396221228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.611180782318115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:20:22.077998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_52_2477.jpg', '/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_55_2702.jpg', '/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_59_3637.jpg', '/home/pi/Desktop/images/26112025/03/38/image_26112025_03_38_01_2642.jpg', '/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_07_3019.jpg', '/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_13_2526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_52_2477.jpg
/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_55_2702.jpg
/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_59_3637.jpg
/home/pi/Desktop/images/26112025/03/38/image_26112025_03_38_01_2642.jpg
/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_07_3019.jpg
/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_13_2526.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.6055183410644531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:20:32.009208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_52_2477.jpg', '/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_55_2702.jpg', '/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_59_3637.jpg', '/home/pi/Desktop/images/26112025/03/38/image_26112025_03_38_01_2642.jpg', '/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_07_3019.jpg', '/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_13_2526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_52_2477.jpg
/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_55_2702.jpg
/home/pi/Desktop/images/26112025/03/37/image_26112025_03_37_59_3637.jpg
/home/pi/Desktop/images/26112025/03/38/image_26112025_03_38_01_2642.jpg
/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_07_3019.jpg
/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_13_2526.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":["1396221563","1396221554","1396221562","1396221559","1396221546","1396221549"],"photo_ids_order":["1396221546","1396221549","1396221554","1396221559","1396221562","1396221563"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f255d5c8c2f0777eebbefd3195b8d7fc.jpg","text":"TemporaryFile(/tmp/multipartBody2561505861095255517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141692719,"filename":"image_26112025_03_39_13_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/26/4e3e0722a7807b91957de4dc25690d3e.jpg","text":"TemporaryFile(/tmp/multipartBody1994279557189969600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141692719,"filename":"image_26112025_03_37_59_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/26/935eff0b8391583bef7ac659c5719e7f.jpg","text":"TemporaryFile(/tmp/multipartBody843425467844735852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141692719,"filename":"image_26112025_03_39_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/26/8238a26cd22b414e665b1c11715b7478.jpg","text":"TemporaryFile(/tmp/multipartBody5339287572056189592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141692719,"filename":"image_26112025_03_38_01_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/082cfe96146931a4da2b85063b79ee2d.jpg","text":"TemporaryFile(/tmp/multipartBody3848324416483068099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141692719,"filename":"image_26112025_03_37_52_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/26/b1fce7dc7500d1ec3a6145513b648988.jpg","text":"TemporaryFile(/tmp/multipartBody2064732532082521220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141692719,"filename":"image_26112025_03_37_55_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396221554","file1":"1396221549","file0":"1396221546","file4":"1396221562","file5":"1396221563","file3":"1396221559"},"map_files_photo_id_array":[{"photo_id":"1396221563","filename":"file5"},{"photo_id":"1396221554","filename":"file2"},{"photo_id":"1396221562","filename":"file4"},{"photo_id":"1396221549","filename":"file1"},{"photo_id":"1396221546","filename":"file0"},{"photo_id":"1396221559","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396221563":["hashtag1","hashtag2"]},{"1396221554":["hashtag1","hashtag2"]},{"1396221562":["hashtag1","hashtag2"]},{"1396221559":["hashtag1","hashtag2"]},{"1396221546":["hashtag1","hashtag2"]},{"1396221549":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396221563, 1396221554, 1396221562, 1396221559, 1396221546, 1396221549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.47096300125122 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:21:16.052206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_16_3672.jpg', '/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_19_2609.jpg', '/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_22_2612.jpg', '/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_25_3715.jpg', '/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_28_2594.jpg', '/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_31_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_16_3672.jpg
/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_19_2609.jpg
/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_22_2612.jpg
/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_25_3715.jpg
/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_28_2594.jpg
/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_31_2694.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":["1396221652","1396221655","1396221649","1396221658","1396221717","1396221692"],"photo_ids_order":["1396221649","1396221652","1396221655","1396221658","1396221692","1396221717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cb5c6e22577e8b3ab60cb14ba3f687fc.jpg","text":"TemporaryFile(/tmp/multipartBody8648228064625548852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141736741,"filename":"image_26112025_03_39_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/26/1250dcf55e9633a181dc4a3d237b6269.jpg","text":"TemporaryFile(/tmp/multipartBody8575628230544489916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141736741,"filename":"image_26112025_03_39_22_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/26/fc61701504299402e39777b96607b0f8.jpg","text":"TemporaryFile(/tmp/multipartBody7398218051387797483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141736741,"filename":"image_26112025_03_39_16_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/26/c624896ac9503c6816681751c070a701.jpg","text":"TemporaryFile(/tmp/multipartBody3971844754227025247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141736741,"filename":"image_26112025_03_39_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/26/cb70db21726450603b5d76067bcaa4d1.jpg","text":"TemporaryFile(/tmp/multipartBody2081327629786256492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141736741,"filename":"image_26112025_03_39_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/26/61cf8ad0be966992334a3118360d0e5a.jpg","text":"TemporaryFile(/tmp/multipartBody1969060141207304169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141736741,"filename":"image_26112025_03_39_28_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396221655","file1":"1396221652","file0":"1396221649","file4":"1396221692","file5":"1396221717","file3":"1396221658"},"map_files_photo_id_array":[{"photo_id":"1396221717","filename":"file5"},{"photo_id":"1396221655","filename":"file2"},{"photo_id":"1396221692","filename":"file4"},{"photo_id":"1396221652","filename":"file1"},{"photo_id":"1396221649","filename":"file0"},{"photo_id":"1396221658","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396221652":["hashtag1","hashtag2"]},{"1396221655":["hashtag1","hashtag2"]},{"1396221649":["hashtag1","hashtag2"]},{"1396221658":["hashtag1","hashtag2"]},{"1396221717":["hashtag1","hashtag2"]},{"1396221692":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396221652, 1396221655, 1396221649, 1396221658, 1396221717, 1396221692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.902623891830444 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-26 08:22:13.656247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_34_2874.jpg', '/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_37_3802.jpg', '/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_40_2733.jpg', '/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_43_2714.jpg', '/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_49_6391.jpg', '/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_51_1618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_34_2874.jpg
/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_37_3802.jpg
/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_40_2733.jpg
/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_43_2714.jpg
/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_49_6391.jpg
/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_51_1618.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":["1396221751","1396221745","1396221754","1396221748","1396221739","1396221741"],"photo_ids_order":["1396221739","1396221741","1396221745","1396221748","1396221751","1396221754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/61b3f7d2d4b324dbd09d0349dd6bfcdd.jpg","text":"TemporaryFile(/tmp/multipartBody2610681227194959318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141794360,"filename":"image_26112025_03_39_49_6391.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8bdc862f5d82c1bfd8e594bc458d2da7.jpg","text":"TemporaryFile(/tmp/multipartBody7997226644380839506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141794360,"filename":"image_26112025_03_39_40_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/26/095cb753be38e0c416d5d42c12234ee7.jpg","text":"TemporaryFile(/tmp/multipartBody3857356668001436284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141794360,"filename":"image_26112025_03_39_51_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/26/8072eed3195423088d2c09b1a6fd264a.jpg","text":"TemporaryFile(/tmp/multipartBody5081875651618878797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141794360,"filename":"image_26112025_03_39_43_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/26/568e42aee7c0fdd17e835bd3cb7ea210.jpg","text":"TemporaryFile(/tmp/multipartBody4948234835455819363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141794360,"filename":"image_26112025_03_39_34_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/26/b05d328d053a59860e2316e955acb5ce.jpg","text":"TemporaryFile(/tmp/multipartBody1948176403666509466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141794360,"filename":"image_26112025_03_39_37_3802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396221745","file1":"1396221741","file0":"1396221739","file4":"1396221751","file5":"1396221754","file3":"1396221748"},"map_files_photo_id_array":[{"photo_id":"1396221754","filename":"file5"},{"photo_id":"1396221745","filename":"file2"},{"photo_id":"1396221751","filename":"file4"},{"photo_id":"1396221741","filename":"file1"},{"photo_id":"1396221739","filename":"file0"},{"photo_id":"1396221748","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396221751":["hashtag1","hashtag2"]},{"1396221745":["hashtag1","hashtag2"]},{"1396221754":["hashtag1","hashtag2"]},{"1396221748":["hashtag1","hashtag2"]},{"1396221739":["hashtag1","hashtag2"]},{"1396221741":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396221751, 1396221745, 1396221754, 1396221748, 1396221739, 1396221741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15088415145874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:23:02.648205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_53_1737.jpg', '/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_55_2750.jpg', '/home/pi/Desktop/images/26112025/03/41/image_26112025_03_41_07_3012.jpg', '/home/pi/Desktop/images/26112025/03/41/image_26112025_03_41_10_3511.jpg', '/home/pi/Desktop/images/26112025/03/41/image_26112025_03_41_13_2711.jpg', '/home/pi/Desktop/images/26112025/03/41/image_26112025_03_41_17_3605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_53_1737.jpg
/home/pi/Desktop/images/26112025/03/39/image_26112025_03_39_55_2750.jpg
/home/pi/Desktop/images/26112025/03/41/image_26112025_03_41_07_3012.jpg
/home/pi/Desktop/images/26112025/03/41/image_26112025_03_41_10_3511.jpg
/home/pi/Desktop/images/26112025/03/41/image_26112025_03_41_13_2711.jpg
/home/pi/Desktop/images/26112025/03/41/image_26112025_03_41_17_3605.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":["1396221781","1396221784","1396221787","1396221775","1396221777","1396221779"],"photo_ids_order":["1396221775","1396221777","1396221779","1396221781","1396221784","1396221787"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2955188322aab712b2e0c0687fb4f820.jpg","text":"TemporaryFile(/tmp/multipartBody8330402880533401134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141843403,"filename":"image_26112025_03_41_10_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/26/05f38cf88b69faff6b6501e7fd5f356b.jpg","text":"TemporaryFile(/tmp/multipartBody5718257984484268763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141843403,"filename":"image_26112025_03_41_13_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/26/29f6d806e1a2b11172e32e4712df5aa7.jpg","text":"TemporaryFile(/tmp/multipartBody8586671467208035890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141843403,"filename":"image_26112025_03_41_17_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/26/b642e9762bf8f0cc7d660c33f5b2cdd2.jpg","text":"TemporaryFile(/tmp/multipartBody5880488882093303997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141843403,"filename":"image_26112025_03_39_53_1737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9bb71567a14abd0cae98e1992e211c5b.jpg","text":"TemporaryFile(/tmp/multipartBody4691384642313540662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141843403,"filename":"image_26112025_03_39_55_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d339e117bc9d2f2e2e36ba1ae06b72f1.jpg","text":"TemporaryFile(/tmp/multipartBody4523544540406725168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141843403,"filename":"image_26112025_03_41_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396221779","file1":"1396221777","file0":"1396221775","file4":"1396221784","file5":"1396221787","file3":"1396221781"},"map_files_photo_id_array":[{"photo_id":"1396221787","filename":"file5"},{"photo_id":"1396221779","filename":"file2"},{"photo_id":"1396221784","filename":"file4"},{"photo_id":"1396221777","filename":"file1"},{"photo_id":"1396221775","filename":"file0"},{"photo_id":"1396221781","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396221781":["hashtag1","hashtag2"]},{"1396221784":["hashtag1","hashtag2"]},{"1396221787":["hashtag1","hashtag2"]},{"1396221775":["hashtag1","hashtag2"]},{"1396221777":["hashtag1","hashtag2"]},{"1396221779":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396221781, 1396221784, 1396221787, 1396221775, 1396221777, 1396221779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.372581243515015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 08:23:41.900708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/41/image_26112025_03_41_19_2738.jpg', '/home/pi/Desktop/images/26112025/03/41/image_26112025_03_41_22_2776.jpg', '/home/pi/Desktop/images/26112025/03/41/image_26112025_03_41_26_3559.jpg', '/home/pi/Desktop/images/26112025/03/41/image_26112025_03_41_28_2714.jpg', '/home/pi/Desktop/images/26112025/03/41/image_26112025_03_41_31_2538.jpg', '/home/pi/Desktop/images/26112025/03/41/image_26112025_03_41_34_3551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/41/image_26112025_03_41_19_2738.jpg
/home/pi/Desktop/images/26112025/03/41/image_26112025_03_41_22_2776.jpg
/home/pi/Desktop/images/26112025/03/41/image_26112025_03_41_26_3559.jpg
/home/pi/Desktop/images/26112025/03/41/image_26112025_03_41_28_2714.jpg
/home/pi/Desktop/images/26112025/03/41/image_26112025_03_41_31_2538.jpg
/home/pi/Desktop/images/26112025/03/41/image_26112025_03_41_34_3551.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":["1396221803","1396221796","1396221800","1396221799","1396221802","1396221804"],"photo_ids_order":["1396221796","1396221799","1396221800","1396221802","1396221803","1396221804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0842c57b0f7d5692b65b7a5a58d3307d.jpg","text":"TemporaryFile(/tmp/multipartBody9138016186177729005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141882595,"filename":"image_26112025_03_41_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/26/6a2b4d7f5afffdc825570ebf7fb036e3.jpg","text":"TemporaryFile(/tmp/multipartBody6230362511051027695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141882595,"filename":"image_26112025_03_41_19_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c4c8d254744213b4f541c5cae794eac7.jpg","text":"TemporaryFile(/tmp/multipartBody179851444596028024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141882595,"filename":"image_26112025_03_41_26_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/26/359fd8e1b5853b2f2de84fa1cb83c6ed.jpg","text":"TemporaryFile(/tmp/multipartBody7935999014591808941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141882595,"filename":"image_26112025_03_41_22_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/26/ee4e7270343020691b5fddd3715a6ce2.jpg","text":"TemporaryFile(/tmp/multipartBody8367558224057687392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141882595,"filename":"image_26112025_03_41_28_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/26/25f0f750490039df594834e45755cb02.jpg","text":"TemporaryFile(/tmp/multipartBody8289174089678731677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141882595,"filename":"image_26112025_03_41_34_3551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396221800","file1":"1396221799","file0":"1396221796","file4":"1396221803","file5":"1396221804","file3":"1396221802"},"map_files_photo_id_array":[{"photo_id":"1396221804","filename":"file5"},{"photo_id":"1396221800","filename":"file2"},{"photo_id":"1396221803","filename":"file4"},{"photo_id":"1396221799","filename":"file1"},{"photo_id":"1396221796","filename":"file0"},{"photo_id":"1396221802","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396221803":["hashtag1","hashtag2"]},{"1396221796":["hashtag1","hashtag2"]},{"1396221800":["hashtag1","hashtag2"]},{"1396221799":["hashtag1","hashtag2"]},{"1396221802":["hashtag1","hashtag2"]},{"1396221804":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396221803, 1396221796, 1396221800, 1396221799, 1396221802, 1396221804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.481011629104614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:24:22.108625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/41/image_26112025_03_41_37_2663.jpg', '/home/pi/Desktop/images/26112025/03/41/image_26112025_03_41_40_2734.jpg', '/home/pi/Desktop/images/26112025/03/41/image_26112025_03_41_44_3652.jpg', '/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_06_3011.jpg', '/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_10_3592.jpg', '/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_12_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/41/image_26112025_03_41_37_2663.jpg
/home/pi/Desktop/images/26112025/03/41/image_26112025_03_41_40_2734.jpg
/home/pi/Desktop/images/26112025/03/41/image_26112025_03_41_44_3652.jpg
/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_06_3011.jpg
/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_10_3592.jpg
/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_12_2695.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":["1396221811","1396221825","1396221819","1396221828","1396221822","1396221816"],"photo_ids_order":["1396221811","1396221816","1396221819","1396221822","1396221825","1396221828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e5a17abe9499255d6f7a677d076ce6ec.jpg","text":"TemporaryFile(/tmp/multipartBody9185404638112661004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141922847,"filename":"image_26112025_03_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/26/88799fc00a4e604b764662eb77010565.jpg","text":"TemporaryFile(/tmp/multipartBody4447351604776596083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141922847,"filename":"image_26112025_03_43_10_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/26/24157a60be0fe6af6a98ae3abe155319.jpg","text":"TemporaryFile(/tmp/multipartBody701527674264189202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141922847,"filename":"image_26112025_03_41_44_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/26/502ebf0e9c3f36d994aa0f4a68464409.jpg","text":"TemporaryFile(/tmp/multipartBody4330090925124731958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141922847,"filename":"image_26112025_03_43_12_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/26/96e83fba72febfbd1281f497df935db3.jpg","text":"TemporaryFile(/tmp/multipartBody3520295090835408896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141922847,"filename":"image_26112025_03_43_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/26/090e0bceb39a4b025b3af1729be3bd5b.jpg","text":"TemporaryFile(/tmp/multipartBody4492192446403580302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141922847,"filename":"image_26112025_03_41_40_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396221819","file1":"1396221816","file0":"1396221811","file4":"1396221825","file5":"1396221828","file3":"1396221822"},"map_files_photo_id_array":[{"photo_id":"1396221828","filename":"file5"},{"photo_id":"1396221819","filename":"file2"},{"photo_id":"1396221825","filename":"file4"},{"photo_id":"1396221816","filename":"file1"},{"photo_id":"1396221811","filename":"file0"},{"photo_id":"1396221822","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396221811":["hashtag1","hashtag2"]},{"1396221825":["hashtag1","hashtag2"]},{"1396221819":["hashtag1","hashtag2"]},{"1396221828":["hashtag1","hashtag2"]},{"1396221822":["hashtag1","hashtag2"]},{"1396221816":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396221811, 1396221825, 1396221819, 1396221828, 1396221822, 1396221816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99002242088318 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:25:03.077617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_16_3579.jpg', '/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_19_2614.jpg', '/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_21_2566.jpg', '/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_25_3741.jpg', '/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_29_4360.jpg', '/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_31_1646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_16_3579.jpg
/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_19_2614.jpg
/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_21_2566.jpg
/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_25_3741.jpg
/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_29_4360.jpg
/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_31_1646.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":["1396221839","1396221844","1396221847","1396221856","1396221841","1396221851"],"photo_ids_order":["1396221839","1396221841","1396221844","1396221847","1396221851","1396221856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/49276decbf5b3617794d33d14b6fb91e.jpg","text":"TemporaryFile(/tmp/multipartBody229682150262103052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141963838,"filename":"image_26112025_03_43_16_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/26/646239ee391d73bdce2d41cfa582f675.jpg","text":"TemporaryFile(/tmp/multipartBody3360351439130933794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141963838,"filename":"image_26112025_03_43_21_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/26/79a7741fd9c92c20544d34561baf2a83.jpg","text":"TemporaryFile(/tmp/multipartBody5058738440534016783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141963838,"filename":"image_26112025_03_43_25_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/26/cdd66a4eb3abb1de6969a4bf4b6b6ce5.jpg","text":"TemporaryFile(/tmp/multipartBody2137105459358754402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141963838,"filename":"image_26112025_03_43_31_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/26/e90cbde1173d23d9acec8117d61055fe.jpg","text":"TemporaryFile(/tmp/multipartBody8708052016062949560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141963838,"filename":"image_26112025_03_43_19_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/26/c924a8eba30feceef1217d9fd882ab16.jpg","text":"TemporaryFile(/tmp/multipartBody1786943117614674749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764141963838,"filename":"image_26112025_03_43_29_4360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396221844","file1":"1396221841","file0":"1396221839","file4":"1396221851","file5":"1396221856","file3":"1396221847"},"map_files_photo_id_array":[{"photo_id":"1396221856","filename":"file5"},{"photo_id":"1396221844","filename":"file2"},{"photo_id":"1396221851","filename":"file4"},{"photo_id":"1396221841","filename":"file1"},{"photo_id":"1396221839","filename":"file0"},{"photo_id":"1396221847","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396221839":["hashtag1","hashtag2"]},{"1396221844":["hashtag1","hashtag2"]},{"1396221847":["hashtag1","hashtag2"]},{"1396221856":["hashtag1","hashtag2"]},{"1396221841":["hashtag1","hashtag2"]},{"1396221851":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396221839, 1396221844, 1396221847, 1396221856, 1396221841, 1396221851)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.12759327888489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:26:03.164455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 08:26:12.794377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_34_2633.jpg', '/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_36_2787.jpg', '/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_39_2715.jpg', '/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_43_3634.jpg', '/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_45_2677.jpg', '/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_49_3577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_34_2633.jpg
/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_36_2787.jpg
/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_39_2715.jpg
/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_43_3634.jpg
/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_45_2677.jpg
/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_49_3577.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":["1396221869","1396221880","1396221883","1396221877","1396221871","1396221874"],"photo_ids_order":["1396221869","1396221871","1396221874","1396221877","1396221880","1396221883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a561534f8e5340ff45555c36b1fd53d2.jpg","text":"TemporaryFile(/tmp/multipartBody5301090888571887330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142033496,"filename":"image_26112025_03_43_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/26/fc24aa51849d84446e38f5f02ee3061e.jpg","text":"TemporaryFile(/tmp/multipartBody4211935692568260182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142033496,"filename":"image_26112025_03_43_45_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cb287de4251621bb4f24e942971dcc06.jpg","text":"TemporaryFile(/tmp/multipartBody4087970511962267071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142033496,"filename":"image_26112025_03_43_49_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/26/4531c1719f4a5ac883e5f281435b62cb.jpg","text":"TemporaryFile(/tmp/multipartBody159825544177958038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142033496,"filename":"image_26112025_03_43_43_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/26/669c1183857dcb8df84d5f3e6b4237f9.jpg","text":"TemporaryFile(/tmp/multipartBody1162262757997996368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142033496,"filename":"image_26112025_03_43_36_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/26/c63fb6441231376748033d22a9f8b1fb.jpg","text":"TemporaryFile(/tmp/multipartBody6931073539069609778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142033496,"filename":"image_26112025_03_43_39_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396221874","file1":"1396221871","file0":"1396221869","file4":"1396221880","file5":"1396221883","file3":"1396221877"},"map_files_photo_id_array":[{"photo_id":"1396221883","filename":"file5"},{"photo_id":"1396221874","filename":"file2"},{"photo_id":"1396221880","filename":"file4"},{"photo_id":"1396221871","filename":"file1"},{"photo_id":"1396221869","filename":"file0"},{"photo_id":"1396221877","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396221869":["hashtag1","hashtag2"]},{"1396221880":["hashtag1","hashtag2"]},{"1396221883":["hashtag1","hashtag2"]},{"1396221877":["hashtag1","hashtag2"]},{"1396221871":["hashtag1","hashtag2"]},{"1396221874":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396221869, 1396221880, 1396221883, 1396221877, 1396221871, 1396221874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09931993484497 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:27:02.900599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_52_2696.jpg', '/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_54_2680.jpg', '/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_58_3650.jpg', '/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_07_3012.jpg', '/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_10_3590.jpg', '/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_13_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_52_2696.jpg
/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_54_2680.jpg
/home/pi/Desktop/images/26112025/03/43/image_26112025_03_43_58_3650.jpg
/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_07_3012.jpg
/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_10_3590.jpg
/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_13_2590.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":["1396221905","1396221889","1396221892","1396221891","1396221900","1396221890"],"photo_ids_order":["1396221889","1396221890","1396221891","1396221892","1396221900","1396221905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8dc2c0c1d6270a3bb64b13d1b36aae36.jpg","text":"TemporaryFile(/tmp/multipartBody460949758440823288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142083660,"filename":"image_26112025_03_45_13_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/26/2ebde971079e2db66731125f66e2d291.jpg","text":"TemporaryFile(/tmp/multipartBody9042752968390161342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142083660,"filename":"image_26112025_03_43_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/26/75a6a0d7a92ca4d585a37d0947883e9d.jpg","text":"TemporaryFile(/tmp/multipartBody4549043171846360054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142083660,"filename":"image_26112025_03_45_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/26/abd86ba8ee87deb502666b0b7dfe113b.jpg","text":"TemporaryFile(/tmp/multipartBody7503437541112631759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142083660,"filename":"image_26112025_03_43_58_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/26/bfbaf0db2390206f7c0f35d8e513ceea.jpg","text":"TemporaryFile(/tmp/multipartBody5329487327379569560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142083660,"filename":"image_26112025_03_45_10_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0ed67e428fb3b1242a5bd76b30e97b1b.jpg","text":"TemporaryFile(/tmp/multipartBody8293294357648375159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142083660,"filename":"image_26112025_03_43_54_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396221891","file1":"1396221890","file0":"1396221889","file4":"1396221900","file5":"1396221905","file3":"1396221892"},"map_files_photo_id_array":[{"photo_id":"1396221905","filename":"file5"},{"photo_id":"1396221891","filename":"file2"},{"photo_id":"1396221900","filename":"file4"},{"photo_id":"1396221890","filename":"file1"},{"photo_id":"1396221889","filename":"file0"},{"photo_id":"1396221892","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396221905":["hashtag1","hashtag2"]},{"1396221889":["hashtag1","hashtag2"]},{"1396221892":["hashtag1","hashtag2"]},{"1396221891":["hashtag1","hashtag2"]},{"1396221900":["hashtag1","hashtag2"]},{"1396221890":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396221905, 1396221889, 1396221892, 1396221891, 1396221900, 1396221890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76657676696777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 08:27:42.281662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_17_3695.jpg', '/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_19_2479.jpg', '/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_22_2770.jpg', '/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_25_3621.jpg', '/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_28_2986.jpg', '/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_31_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_17_3695.jpg
/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_19_2479.jpg
/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_22_2770.jpg
/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_25_3621.jpg
/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_28_2986.jpg
/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_31_2564.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":["1396221929","1396221920","1396221914","1396221917","1396221916","1396221918"],"photo_ids_order":["1396221914","1396221916","1396221917","1396221918","1396221920","1396221929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7fb60795ca695a497f871c823576289b.jpg","text":"TemporaryFile(/tmp/multipartBody8047010391120046494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142122980,"filename":"image_26112025_03_45_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/26/c95cc98e9fdf1b1be3b9c35f88fcfd23.jpg","text":"TemporaryFile(/tmp/multipartBody8500993532413047276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142122980,"filename":"image_26112025_03_45_28_2986.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5d5391f4342b62d76b0fe2eee3869f39.jpg","text":"TemporaryFile(/tmp/multipartBody7593917382778319035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142122980,"filename":"image_26112025_03_45_17_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/26/7334f6f723984987564cef17ea9a23dc.jpg","text":"TemporaryFile(/tmp/multipartBody1169236026658182096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142122980,"filename":"image_26112025_03_45_22_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/92ad7416b84b936f7f806439dd8dfa07.jpg","text":"TemporaryFile(/tmp/multipartBody5811299063273425208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142122980,"filename":"image_26112025_03_45_19_2479.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e44df9025071a7540854407777840bf7.jpg","text":"TemporaryFile(/tmp/multipartBody561863549189247344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142122980,"filename":"image_26112025_03_45_25_3621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396221917","file1":"1396221916","file0":"1396221914","file4":"1396221920","file5":"1396221929","file3":"1396221918"},"map_files_photo_id_array":[{"photo_id":"1396221929","filename":"file5"},{"photo_id":"1396221917","filename":"file2"},{"photo_id":"1396221920","filename":"file4"},{"photo_id":"1396221916","filename":"file1"},{"photo_id":"1396221914","filename":"file0"},{"photo_id":"1396221918","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396221929":["hashtag1","hashtag2"]},{"1396221920":["hashtag1","hashtag2"]},{"1396221914":["hashtag1","hashtag2"]},{"1396221917":["hashtag1","hashtag2"]},{"1396221916":["hashtag1","hashtag2"]},{"1396221918":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396221929, 1396221920, 1396221914, 1396221917, 1396221916, 1396221918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57140612602234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:28:22.424762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_34_2655.jpg', '/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_37_3665.jpg', '/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_40_2683.jpg', '/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_44_3535.jpg', '/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_46_2615.jpg', '/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_49_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_34_2655.jpg
/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_37_3665.jpg
/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_40_2683.jpg
/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_44_3535.jpg
/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_46_2615.jpg
/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_49_2739.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":["1396221958","1396221943","1396221952","1396221946","1396221940","1396221950"],"photo_ids_order":["1396221940","1396221943","1396221946","1396221950","1396221952","1396221958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5695363b189883af263c7301490decf8.jpg","text":"TemporaryFile(/tmp/multipartBody2985975821453309624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142163094,"filename":"image_26112025_03_45_49_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/26/c5780fb1325cb1cfa051bbfd6afdd7f9.jpg","text":"TemporaryFile(/tmp/multipartBody3271778907737629871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142163094,"filename":"image_26112025_03_45_37_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/26/7d262acb38a0a658e32a2a8973bcec29.jpg","text":"TemporaryFile(/tmp/multipartBody4830371709118101685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142163094,"filename":"image_26112025_03_45_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/26/c8d348ed799e7867a59c3e8666a5cbe5.jpg","text":"TemporaryFile(/tmp/multipartBody2435075571857073817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142163094,"filename":"image_26112025_03_45_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/26/5d5b49eee7c98d2b36e22844f5d7b24e.jpg","text":"TemporaryFile(/tmp/multipartBody6940727688877720537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142163094,"filename":"image_26112025_03_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/26/21bc923b6b06eda81ef5289fe3e54b8d.jpg","text":"TemporaryFile(/tmp/multipartBody3183527908798006680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142163094,"filename":"image_26112025_03_45_44_3535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396221946","file1":"1396221943","file0":"1396221940","file4":"1396221952","file5":"1396221958","file3":"1396221950"},"map_files_photo_id_array":[{"photo_id":"1396221958","filename":"file5"},{"photo_id":"1396221946","filename":"file2"},{"photo_id":"1396221952","filename":"file4"},{"photo_id":"1396221943","filename":"file1"},{"photo_id":"1396221940","filename":"file0"},{"photo_id":"1396221950","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396221958":["hashtag1","hashtag2"]},{"1396221943":["hashtag1","hashtag2"]},{"1396221952":["hashtag1","hashtag2"]},{"1396221946":["hashtag1","hashtag2"]},{"1396221940":["hashtag1","hashtag2"]},{"1396221950":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396221958, 1396221943, 1396221952, 1396221946, 1396221940, 1396221950)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.18845534324646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:29:13.584558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_53_3679.jpg', '/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_55_2689.jpg', '/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_07_3012.jpg', '/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_11_3699.jpg', '/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_13_2727.jpg', '/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_16_2570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_53_3679.jpg
/home/pi/Desktop/images/26112025/03/45/image_26112025_03_45_55_2689.jpg
/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_07_3012.jpg
/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_11_3699.jpg
/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_13_2727.jpg
/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_16_2570.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":["1396221974","1396221985","1396221979","1396221983","1396221977","1396221971"],"photo_ids_order":["1396221971","1396221974","1396221977","1396221979","1396221983","1396221985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1689e736ac6e3d62a9a0c0a1e6ed1fb1.jpg","text":"TemporaryFile(/tmp/multipartBody6654966380853103708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142214242,"filename":"image_26112025_03_45_55_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/26/90ddeef406c61f21e626d55a34fec561.jpg","text":"TemporaryFile(/tmp/multipartBody1608430506804553028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142214242,"filename":"image_26112025_03_47_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/26/49b60c5b522bfade50d7e4082c80a5a8.jpg","text":"TemporaryFile(/tmp/multipartBody5993679268723376703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142214242,"filename":"image_26112025_03_47_11_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/26/5d3768630fe3b1f55335c872842a9c72.jpg","text":"TemporaryFile(/tmp/multipartBody5006460299327071710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142214242,"filename":"image_26112025_03_47_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/26/f3103f3868e7ebba635e5a68105d6e21.jpg","text":"TemporaryFile(/tmp/multipartBody8557709382078888499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142214242,"filename":"image_26112025_03_47_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/26/93fd08f85ea9def2481e029d404c4533.jpg","text":"TemporaryFile(/tmp/multipartBody2608917056416579001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142214242,"filename":"image_26112025_03_45_53_3679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396221977","file1":"1396221974","file0":"1396221971","file4":"1396221983","file5":"1396221985","file3":"1396221979"},"map_files_photo_id_array":[{"photo_id":"1396221985","filename":"file5"},{"photo_id":"1396221977","filename":"file2"},{"photo_id":"1396221983","filename":"file4"},{"photo_id":"1396221974","filename":"file1"},{"photo_id":"1396221971","filename":"file0"},{"photo_id":"1396221979","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396221974":["hashtag1","hashtag2"]},{"1396221985":["hashtag1","hashtag2"]},{"1396221979":["hashtag1","hashtag2"]},{"1396221983":["hashtag1","hashtag2"]},{"1396221977":["hashtag1","hashtag2"]},{"1396221971":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396221974, 1396221985, 1396221979, 1396221983, 1396221977, 1396221971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.727699995040894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:30:03.061617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_19_3592.jpg', '/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_22_2776.jpg', '/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_25_2668.jpg', '/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_29_3692.jpg', '/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_31_2618.jpg', '/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_34_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_19_3592.jpg
/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_22_2776.jpg
/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_25_2668.jpg
/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_29_3692.jpg
/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_31_2618.jpg
/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_34_2609.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":["1396222009","1396222000","1396222005","1396222002","1396221995","1396221998"],"photo_ids_order":["1396221995","1396221998","1396222000","1396222002","1396222005","1396222009"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d14a0b2c2df45d931f2e9ab3ce6329d0.jpg","text":"TemporaryFile(/tmp/multipartBody4699631452177687001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142263842,"filename":"image_26112025_03_47_34_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/26/76de08baaafe12146aee9fc5706de3d9.jpg","text":"TemporaryFile(/tmp/multipartBody4768032062370346566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142263842,"filename":"image_26112025_03_47_25_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b5ac6057eca1220726bf9f7b39df67b3.jpg","text":"TemporaryFile(/tmp/multipartBody7813342003165064274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142263842,"filename":"image_26112025_03_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/26/8abec1cfcde2324f12ee85ff5feac458.jpg","text":"TemporaryFile(/tmp/multipartBody2476447874056545470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142263842,"filename":"image_26112025_03_47_29_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/26/fd0399ebc2c1d844b6e1da8a4184ee43.jpg","text":"TemporaryFile(/tmp/multipartBody748116568773829343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142263842,"filename":"image_26112025_03_47_19_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/26/cd7cefb1089731ca87fe28e21d0ff9db.jpg","text":"TemporaryFile(/tmp/multipartBody3168043939530347367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142263842,"filename":"image_26112025_03_47_22_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396222000","file1":"1396221998","file0":"1396221995","file4":"1396222005","file5":"1396222009","file3":"1396222002"},"map_files_photo_id_array":[{"photo_id":"1396222009","filename":"file5"},{"photo_id":"1396222000","filename":"file2"},{"photo_id":"1396222005","filename":"file4"},{"photo_id":"1396221998","filename":"file1"},{"photo_id":"1396221995","filename":"file0"},{"photo_id":"1396222002","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396222009":["hashtag1","hashtag2"]},{"1396222000":["hashtag1","hashtag2"]},{"1396222005":["hashtag1","hashtag2"]},{"1396222002":["hashtag1","hashtag2"]},{"1396221995":["hashtag1","hashtag2"]},{"1396221998":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396222009, 1396222000, 1396222005, 1396222002, 1396221995, 1396221998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.630980253219604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 08:30:42.582317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_37_3598.jpg', '/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_40_2678.jpg', '/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_43_2778.jpg', '/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_46_3575.jpg', '/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_49_2634.jpg', '/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_52_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_37_3598.jpg
/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_40_2678.jpg
/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_43_2778.jpg
/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_46_3575.jpg
/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_49_2634.jpg
/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_52_2691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396222025","1396222024","1396222027","1396222021","1396222026","1396222028"],"photo_ids_order":["1396222021","1396222024","1396222025","1396222026","1396222027","1396222028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fa5c36cd49e6a52b84a99750ee6f140c.jpg","text":"TemporaryFile(/tmp/multipartBody1051233825443898324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142303253,"filename":"image_26112025_03_47_43_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/26/cb755a2dd698543c15fc9bae4e9682ec.jpg","text":"TemporaryFile(/tmp/multipartBody7214556770284533516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142303253,"filename":"image_26112025_03_47_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/26/735c407fcd06cb38043bf5100dd6f755.jpg","text":"TemporaryFile(/tmp/multipartBody8887567661401730443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142303253,"filename":"image_26112025_03_47_49_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9510ab7b336efb5f5f650cfe466f20f3.jpg","text":"TemporaryFile(/tmp/multipartBody6930407494924811635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142303253,"filename":"image_26112025_03_47_37_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/26/ef4615741bb839491df1c257069c54e5.jpg","text":"TemporaryFile(/tmp/multipartBody5973294348924273196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142303253,"filename":"image_26112025_03_47_46_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/26/2d6a39c5bdf1ef666a070bd4e665f40b.jpg","text":"TemporaryFile(/tmp/multipartBody1551946195116926723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142303253,"filename":"image_26112025_03_47_52_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396222025","file1":"1396222024","file0":"1396222021","file4":"1396222027","file5":"1396222028","file3":"1396222026"},"map_files_photo_id_array":[{"photo_id":"1396222028","filename":"file5"},{"photo_id":"1396222025","filename":"file2"},{"photo_id":"1396222027","filename":"file4"},{"photo_id":"1396222024","filename":"file1"},{"photo_id":"1396222021","filename":"file0"},{"photo_id":"1396222026","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396222025":["hashtag1","hashtag2"]},{"1396222024":["hashtag1","hashtag2"]},{"1396222027":["hashtag1","hashtag2"]},{"1396222021":["hashtag1","hashtag2"]},{"1396222026":["hashtag1","hashtag2"]},{"1396222028":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396222025, 1396222024, 1396222027, 1396222021, 1396222026, 1396222028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.530001640319824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:31:24.100201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_55_3700.jpg', '/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_58_2675.jpg', '/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_06_3012.jpg', '/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_10_3634.jpg', '/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_12_2581.jpg', '/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_16_3622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_55_3700.jpg
/home/pi/Desktop/images/26112025/03/47/image_26112025_03_47_58_2675.jpg
/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_06_3012.jpg
/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_10_3634.jpg
/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_12_2581.jpg
/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_16_3622.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":["1396222057","1396222042","1396222039","1396222054","1396222050","1396222046"],"photo_ids_order":["1396222039","1396222042","1396222046","1396222050","1396222054","1396222057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0478a81b73d5cff194ab87d12333334d.jpg","text":"TemporaryFile(/tmp/multipartBody2056058354134742296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142344795,"filename":"image_26112025_03_49_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/26/fe52923e74f4dd2dd25c846e8e15d08e.jpg","text":"TemporaryFile(/tmp/multipartBody7960024844054106457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142344795,"filename":"image_26112025_03_47_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/26/9d8e90a2b2fa8885656e16e69f51700f.jpg","text":"TemporaryFile(/tmp/multipartBody12581117201836393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142344795,"filename":"image_26112025_03_47_55_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/26/4df577cf4a721b761a062a07a5472c55.jpg","text":"TemporaryFile(/tmp/multipartBody505780018331245090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142344795,"filename":"image_26112025_03_49_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/26/63f0b9c37ebef53a253ac4816f5c56d7.jpg","text":"TemporaryFile(/tmp/multipartBody6255930216830330334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142344795,"filename":"image_26112025_03_49_10_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2f446037516dad2b35c8bcb07e22c9f3.jpg","text":"TemporaryFile(/tmp/multipartBody6887993510783153848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142344795,"filename":"image_26112025_03_49_06_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396222046","file1":"1396222042","file0":"1396222039","file4":"1396222054","file5":"1396222057","file3":"1396222050"},"map_files_photo_id_array":[{"photo_id":"1396222057","filename":"file5"},{"photo_id":"1396222046","filename":"file2"},{"photo_id":"1396222054","filename":"file4"},{"photo_id":"1396222042","filename":"file1"},{"photo_id":"1396222039","filename":"file0"},{"photo_id":"1396222050","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396222057":["hashtag1","hashtag2"]},{"1396222042":["hashtag1","hashtag2"]},{"1396222039":["hashtag1","hashtag2"]},{"1396222054":["hashtag1","hashtag2"]},{"1396222050":["hashtag1","hashtag2"]},{"1396222046":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396222057, 1396222042, 1396222039, 1396222054, 1396222050, 1396222046)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 37.977036237716675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:32:12.400577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_19_2731.jpg', '/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_21_2553.jpg', '/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_25_3785.jpg', '/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_28_2589.jpg', '/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_31_2744.jpg', '/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_34_3569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_19_2731.jpg
/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_21_2553.jpg
/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_25_3785.jpg
/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_28_2589.jpg
/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_31_2744.jpg
/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_34_3569.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":["1396222083","1396222086","1396222076","1396222079","1396222070","1396222073"],"photo_ids_order":["1396222070","1396222073","1396222076","1396222079","1396222083","1396222086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/69d40de8bc7fba255089f8f3bf0caa38.jpg","text":"TemporaryFile(/tmp/multipartBody7589732619129634903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142393064,"filename":"image_26112025_03_49_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/26/dccc4d1bb4f078cbe63f8190f243da46.jpg","text":"TemporaryFile(/tmp/multipartBody1652765987263923914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142393064,"filename":"image_26112025_03_49_34_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/26/b8b3e817ad898b61970fb65fc55cc39b.jpg","text":"TemporaryFile(/tmp/multipartBody3006943963733211276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142393064,"filename":"image_26112025_03_49_25_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/26/7d2b43969ed72e3e2b5acae9e042fdf5.jpg","text":"TemporaryFile(/tmp/multipartBody4972544532365462298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142393064,"filename":"image_26112025_03_49_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/26/907ab8f1de860dcd213d278ac5712dde.jpg","text":"TemporaryFile(/tmp/multipartBody4748674637669070681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142393064,"filename":"image_26112025_03_49_19_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/26/589e494ef21afb722c9ffefbb1a42351.jpg","text":"TemporaryFile(/tmp/multipartBody648106355613642130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142393064,"filename":"image_26112025_03_49_21_2553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396222076","file1":"1396222073","file0":"1396222070","file4":"1396222083","file5":"1396222086","file3":"1396222079"},"map_files_photo_id_array":[{"photo_id":"1396222086","filename":"file5"},{"photo_id":"1396222076","filename":"file2"},{"photo_id":"1396222083","filename":"file4"},{"photo_id":"1396222073","filename":"file1"},{"photo_id":"1396222070","filename":"file0"},{"photo_id":"1396222079","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396222083":["hashtag1","hashtag2"]},{"1396222086":["hashtag1","hashtag2"]},{"1396222076":["hashtag1","hashtag2"]},{"1396222079":["hashtag1","hashtag2"]},{"1396222070":["hashtag1","hashtag2"]},{"1396222073":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396222083, 1396222086, 1396222076, 1396222079, 1396222070, 1396222073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30883240699768 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:33:03.616133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_37_2605.jpg', '/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_39_2613.jpg', '/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_43_3783.jpg', '/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_46_2590.jpg', '/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_48_2642.jpg', '/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_52_3595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_37_2605.jpg
/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_39_2613.jpg
/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_43_3783.jpg
/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_46_2590.jpg
/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_48_2642.jpg
/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_52_3595.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":["1396222121","1396222115","1396222124","1396222111","1396222117","1396222113"],"photo_ids_order":["1396222111","1396222113","1396222115","1396222117","1396222121","1396222124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/14e18eebdcd1a36fbbc6756dcc1388f3.jpg","text":"TemporaryFile(/tmp/multipartBody4059217243483791512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142444377,"filename":"image_26112025_03_49_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/26/56d9d9783526cb57653c4edf746e95c6.jpg","text":"TemporaryFile(/tmp/multipartBody8155433232735041817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142444377,"filename":"image_26112025_03_49_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/26/b7aa013db62cbfe1a1aa039d9ed8f361.jpg","text":"TemporaryFile(/tmp/multipartBody2589923615887906889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142444377,"filename":"image_26112025_03_49_52_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/26/c054210e261ff2f1daccdfeb935ce72a.jpg","text":"TemporaryFile(/tmp/multipartBody5498491562497951765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142444377,"filename":"image_26112025_03_49_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/26/00b4ab4af790e78138483c6d99985838.jpg","text":"TemporaryFile(/tmp/multipartBody6311366625604238954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142444377,"filename":"image_26112025_03_49_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/26/af3ee0a5924f2b04da977634ad19d925.jpg","text":"TemporaryFile(/tmp/multipartBody1420525457690047815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142444377,"filename":"image_26112025_03_49_39_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396222115","file1":"1396222113","file0":"1396222111","file4":"1396222121","file5":"1396222124","file3":"1396222117"},"map_files_photo_id_array":[{"photo_id":"1396222124","filename":"file5"},{"photo_id":"1396222115","filename":"file2"},{"photo_id":"1396222121","filename":"file4"},{"photo_id":"1396222113","filename":"file1"},{"photo_id":"1396222111","filename":"file0"},{"photo_id":"1396222117","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396222121":["hashtag1","hashtag2"]},{"1396222115":["hashtag1","hashtag2"]},{"1396222124":["hashtag1","hashtag2"]},{"1396222111":["hashtag1","hashtag2"]},{"1396222117":["hashtag1","hashtag2"]},{"1396222113":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396222121, 1396222115, 1396222124, 1396222111, 1396222117, 1396222113)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.79539251327515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:34:02.848902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_55_2643.jpg', '/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_57_2857.jpg', '/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_06_3011.jpg', '/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_10_3613.jpg', '/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_13_2668.jpg', '/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_16_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_55_2643.jpg
/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_57_2857.jpg
/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_06_3011.jpg
/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_10_3613.jpg
/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_13_2668.jpg
/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_16_3663.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.7256534099578857 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:34:12.209064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_55_2643.jpg', '/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_57_2857.jpg', '/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_06_3011.jpg', '/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_10_3613.jpg', '/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_13_2668.jpg', '/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_16_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_55_2643.jpg
/home/pi/Desktop/images/26112025/03/49/image_26112025_03_49_57_2857.jpg
/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_06_3011.jpg
/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_10_3613.jpg
/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_13_2668.jpg
/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_16_3663.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":["1396222141","1396222159","1396222138","1396222155","1396222151","1396222145"],"photo_ids_order":["1396222138","1396222141","1396222145","1396222151","1396222155","1396222159"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4d5b46be7217c9db7b0240a3a8ab76e2.jpg","text":"TemporaryFile(/tmp/multipartBody5985357058044802519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142512876,"filename":"image_26112025_03_49_57_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/26/48e6c8a748341fdc87e4c3eb3ecb78fb.jpg","text":"TemporaryFile(/tmp/multipartBody3109423892642919347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142512876,"filename":"image_26112025_03_51_16_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/26/ed005f26935f7e0b4955f8fefe8505cf.jpg","text":"TemporaryFile(/tmp/multipartBody341425751608121458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142512876,"filename":"image_26112025_03_49_55_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/26/456f7935cefff8cdd7f0e29ec261f801.jpg","text":"TemporaryFile(/tmp/multipartBody4654970227666762125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142512876,"filename":"image_26112025_03_51_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/26/951e558fc9ad04e21855ba8e059f21c4.jpg","text":"TemporaryFile(/tmp/multipartBody3234079365890338250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142512876,"filename":"image_26112025_03_51_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/26/3237c76222b9da8669818db404da1fe3.jpg","text":"TemporaryFile(/tmp/multipartBody4858163552179165932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142512876,"filename":"image_26112025_03_51_06_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396222145","file1":"1396222141","file0":"1396222138","file4":"1396222155","file5":"1396222159","file3":"1396222151"},"map_files_photo_id_array":[{"photo_id":"1396222159","filename":"file5"},{"photo_id":"1396222145","filename":"file2"},{"photo_id":"1396222155","filename":"file4"},{"photo_id":"1396222141","filename":"file1"},{"photo_id":"1396222138","filename":"file0"},{"photo_id":"1396222151","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396222141":["hashtag1","hashtag2"]},{"1396222159":["hashtag1","hashtag2"]},{"1396222138":["hashtag1","hashtag2"]},{"1396222155":["hashtag1","hashtag2"]},{"1396222151":["hashtag1","hashtag2"]},{"1396222145":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396222141, 1396222159, 1396222138, 1396222155, 1396222151, 1396222145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78787279129028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:35:03.431702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_19_2642.jpg', '/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_22_2682.jpg', '/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_24_2690.jpg', '/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_28_3741.jpg', '/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_31_2631.jpg', '/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_33_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_19_2642.jpg
/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_22_2682.jpg
/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_24_2690.jpg
/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_28_3741.jpg
/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_31_2631.jpg
/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_33_2663.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":["1396222180","1396222168","1396222170","1396222176","1396222172","1396222166"],"photo_ids_order":["1396222166","1396222168","1396222170","1396222172","1396222176","1396222180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/333babaae08fb1a1f9d5e7f84b6dc272.jpg","text":"TemporaryFile(/tmp/multipartBody6186212641632355308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142564191,"filename":"image_26112025_03_51_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/26/fa75165fefa7782f9941dc796d88c081.jpg","text":"TemporaryFile(/tmp/multipartBody4231700032957568039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142564191,"filename":"image_26112025_03_51_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/26/883715c222db0c1fe52a91abcbecd6a1.jpg","text":"TemporaryFile(/tmp/multipartBody5237498450483757870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142564191,"filename":"image_26112025_03_51_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/26/bf573ad8087bb64826fa3b177ea33c03.jpg","text":"TemporaryFile(/tmp/multipartBody3933728135365103409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142564191,"filename":"image_26112025_03_51_31_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/26/7fa508d66150b36cdb334d141ee56bfd.jpg","text":"TemporaryFile(/tmp/multipartBody1850347761082848843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142564191,"filename":"image_26112025_03_51_28_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/26/213ecb1915f42464490103d89f820c02.jpg","text":"TemporaryFile(/tmp/multipartBody1322471507133669115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142564191,"filename":"image_26112025_03_51_19_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396222170","file1":"1396222168","file0":"1396222166","file4":"1396222176","file5":"1396222180","file3":"1396222172"},"map_files_photo_id_array":[{"photo_id":"1396222180","filename":"file5"},{"photo_id":"1396222170","filename":"file2"},{"photo_id":"1396222176","filename":"file4"},{"photo_id":"1396222168","filename":"file1"},{"photo_id":"1396222166","filename":"file0"},{"photo_id":"1396222172","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396222180":["hashtag1","hashtag2"]},{"1396222168":["hashtag1","hashtag2"]},{"1396222170":["hashtag1","hashtag2"]},{"1396222176":["hashtag1","hashtag2"]},{"1396222172":["hashtag1","hashtag2"]},{"1396222166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396222180, 1396222168, 1396222170, 1396222176, 1396222172, 1396222166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19038271903992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 08:35:42.917776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_37_3554.jpg', '/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_39_2621.jpg', '/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_43_3669.jpg', '/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_46_2661.jpg', '/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_48_2608.jpg', '/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_52_3596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_37_3554.jpg
/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_39_2621.jpg
/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_43_3669.jpg
/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_46_2661.jpg
/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_48_2608.jpg
/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_52_3596.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":["1396222192","1396222195","1396222197","1396222194","1396222193","1396222190"],"photo_ids_order":["1396222190","1396222192","1396222193","1396222194","1396222195","1396222197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/be33f392ebf09167b49ef388a410b09c.jpg","text":"TemporaryFile(/tmp/multipartBody2878475925568925689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142603649,"filename":"image_26112025_03_51_39_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/26/2f5112a15bbefba8cc35df5c8e3bf193.jpg","text":"TemporaryFile(/tmp/multipartBody7894144042236489747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142603649,"filename":"image_26112025_03_51_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/26/dbb085bfd971588211ae86e92670136a.jpg","text":"TemporaryFile(/tmp/multipartBody8208931247978566073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142603649,"filename":"image_26112025_03_51_52_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/26/75772bbec6f4e705a6265f5e0d3e0ca0.jpg","text":"TemporaryFile(/tmp/multipartBody7426037044353785279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142603649,"filename":"image_26112025_03_51_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/26/36eb15fd1ef2cb03b530baf46a143cbf.jpg","text":"TemporaryFile(/tmp/multipartBody7212406253972035927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142603649,"filename":"image_26112025_03_51_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/26/4d522c1ebf0c69bdeae9df6faf6f86a3.jpg","text":"TemporaryFile(/tmp/multipartBody3796327920422980128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142603649,"filename":"image_26112025_03_51_37_3554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396222193","file1":"1396222192","file0":"1396222190","file4":"1396222195","file5":"1396222197","file3":"1396222194"},"map_files_photo_id_array":[{"photo_id":"1396222197","filename":"file5"},{"photo_id":"1396222193","filename":"file2"},{"photo_id":"1396222195","filename":"file4"},{"photo_id":"1396222192","filename":"file1"},{"photo_id":"1396222190","filename":"file0"},{"photo_id":"1396222194","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396222192":["hashtag1","hashtag2"]},{"1396222195":["hashtag1","hashtag2"]},{"1396222197":["hashtag1","hashtag2"]},{"1396222194":["hashtag1","hashtag2"]},{"1396222193":["hashtag1","hashtag2"]},{"1396222190":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396222192, 1396222195, 1396222197, 1396222194, 1396222193, 1396222190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.725136518478394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:36:22.132128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_55_2776.jpg', '/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_06_3012.jpg', '/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_10_3843.jpg', '/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_13_2613.jpg', '/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_15_2719.jpg', '/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_19_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/51/image_26112025_03_51_55_2776.jpg
/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_06_3012.jpg
/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_10_3843.jpg
/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_13_2613.jpg
/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_15_2719.jpg
/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_19_3663.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":["1396222220","1396222222","1396222216","1396222200","1396222212","1396222206"],"photo_ids_order":["1396222200","1396222206","1396222212","1396222216","1396222220","1396222222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/108f53227e5d16e5bfe4ac8f3194d5e8.jpg","text":"TemporaryFile(/tmp/multipartBody5145272171873013823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142642791,"filename":"image_26112025_03_53_15_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/26/1104579f7a6b6493f9902929b91ba7e5.jpg","text":"TemporaryFile(/tmp/multipartBody3566090133579104955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142642791,"filename":"image_26112025_03_53_19_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/26/a47d7bef26aa7415319cd75b96074cad.jpg","text":"TemporaryFile(/tmp/multipartBody3828586767685399749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142642791,"filename":"image_26112025_03_53_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/26/432e9b223c8c90349872e9c4d849aab4.jpg","text":"TemporaryFile(/tmp/multipartBody961842814459658899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142642791,"filename":"image_26112025_03_51_55_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/26/28721c215829e0616a85e93d9040c667.jpg","text":"TemporaryFile(/tmp/multipartBody5045772737659776410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142642791,"filename":"image_26112025_03_53_10_3843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ecb4b7cf144571c1b15b60403da18992.jpg","text":"TemporaryFile(/tmp/multipartBody364418935483363940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142642791,"filename":"image_26112025_03_53_06_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396222212","file1":"1396222206","file0":"1396222200","file4":"1396222220","file5":"1396222222","file3":"1396222216"},"map_files_photo_id_array":[{"photo_id":"1396222222","filename":"file5"},{"photo_id":"1396222212","filename":"file2"},{"photo_id":"1396222220","filename":"file4"},{"photo_id":"1396222206","filename":"file1"},{"photo_id":"1396222200","filename":"file0"},{"photo_id":"1396222216","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396222220":["hashtag1","hashtag2"]},{"1396222222":["hashtag1","hashtag2"]},{"1396222216":["hashtag1","hashtag2"]},{"1396222200":["hashtag1","hashtag2"]},{"1396222212":["hashtag1","hashtag2"]},{"1396222206":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396222220, 1396222222, 1396222216, 1396222200, 1396222212, 1396222206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.4994580745697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:37:02.554743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 08:37:11.816510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_22_2552.jpg', '/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_24_2661.jpg', '/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_28_3847.jpg', '/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_31_2662.jpg', '/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_33_2544.jpg', '/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_37_3601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_22_2552.jpg
/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_24_2661.jpg
/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_28_3847.jpg
/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_31_2662.jpg
/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_33_2544.jpg
/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_37_3601.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":["1396222241","1396222235","1396222237","1396222231","1396222228","1396222226"],"photo_ids_order":["1396222226","1396222228","1396222231","1396222235","1396222237","1396222241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5cd985c1b8c48e3d699f877fdd34ad1b.jpg","text":"TemporaryFile(/tmp/multipartBody5557752349045808039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142692505,"filename":"image_26112025_03_53_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/26/c39be5f7282449d07c040b6dbadd96be.jpg","text":"TemporaryFile(/tmp/multipartBody6897009201833444505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142692505,"filename":"image_26112025_03_53_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/26/5dda61eb97a27902f6502f1c53a0beab.jpg","text":"TemporaryFile(/tmp/multipartBody2585468655865506773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142692505,"filename":"image_26112025_03_53_33_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/26/ceb550cabac02768d1049558d4261f41.jpg","text":"TemporaryFile(/tmp/multipartBody3450427008947128258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142692505,"filename":"image_26112025_03_53_28_3847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3a69e0ee91ddaa50bb56bb489dd25339.jpg","text":"TemporaryFile(/tmp/multipartBody1322370792022761529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142692505,"filename":"image_26112025_03_53_24_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/26/36a61284dd1a5924a1ae4413da8d51d5.jpg","text":"TemporaryFile(/tmp/multipartBody8981198728638318699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142692505,"filename":"image_26112025_03_53_22_2552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396222231","file1":"1396222228","file0":"1396222226","file4":"1396222237","file5":"1396222241","file3":"1396222235"},"map_files_photo_id_array":[{"photo_id":"1396222241","filename":"file5"},{"photo_id":"1396222231","filename":"file2"},{"photo_id":"1396222237","filename":"file4"},{"photo_id":"1396222228","filename":"file1"},{"photo_id":"1396222226","filename":"file0"},{"photo_id":"1396222235","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396222241":["hashtag1","hashtag2"]},{"1396222235":["hashtag1","hashtag2"]},{"1396222237":["hashtag1","hashtag2"]},{"1396222231":["hashtag1","hashtag2"]},{"1396222228":["hashtag1","hashtag2"]},{"1396222226":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396222241, 1396222235, 1396222237, 1396222231, 1396222228, 1396222226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.78222966194153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:38:02.431600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_40_2620.jpg', '/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_43_2920.jpg', '/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_46_3581.jpg', '/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_49_2581.jpg', '/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_51_2781.jpg', '/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_54_2878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_40_2620.jpg
/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_43_2920.jpg
/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_46_3581.jpg
/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_49_2581.jpg
/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_51_2781.jpg
/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_54_2878.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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396222252","1396222261","1396222264","1396222258","1396222254","1396222250"],"photo_ids_order":["1396222250","1396222252","1396222254","1396222258","1396222261","1396222264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c530737e9ae93c538dc7674826e7cb72.jpg","text":"TemporaryFile(/tmp/multipartBody3588781166980345410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142743143,"filename":"image_26112025_03_53_43_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/26/88208c55c6a51cc5a7668ee8d1277bee.jpg","text":"TemporaryFile(/tmp/multipartBody3687764473657243891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142743143,"filename":"image_26112025_03_53_51_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/26/f6e44d69f740172661b205ced1cd0843.jpg","text":"TemporaryFile(/tmp/multipartBody4436720480203751234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142743143,"filename":"image_26112025_03_53_54_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/26/339e9b07dd6e81cef7d285995713c48d.jpg","text":"TemporaryFile(/tmp/multipartBody3518825722326314050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142743143,"filename":"image_26112025_03_53_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/26/2de4eb35acc3bd274085be35b621f89c.jpg","text":"TemporaryFile(/tmp/multipartBody7795355672026817267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142743143,"filename":"image_26112025_03_53_46_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/26/46b3b50e0c31d8eeade00a63108fe82d.jpg","text":"TemporaryFile(/tmp/multipartBody1490803334675077806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142743143,"filename":"image_26112025_03_53_40_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396222254","file1":"1396222252","file0":"1396222250","file4":"1396222261","file5":"1396222264","file3":"1396222258"},"map_files_photo_id_array":[{"photo_id":"1396222264","filename":"file5"},{"photo_id":"1396222254","filename":"file2"},{"photo_id":"1396222261","filename":"file4"},{"photo_id":"1396222252","filename":"file1"},{"photo_id":"1396222250","filename":"file0"},{"photo_id":"1396222258","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396222252":["hashtag1","hashtag2"]},{"1396222261":["hashtag1","hashtag2"]},{"1396222264":["hashtag1","hashtag2"]},{"1396222258":["hashtag1","hashtag2"]},{"1396222254":["hashtag1","hashtag2"]},{"1396222250":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396222252, 1396222261, 1396222264, 1396222258, 1396222254, 1396222250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06517744064331 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:39:03.172695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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 10
2025-11-26 08:39:24.661784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_58_3772.jpg', '/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_07_3012.jpg', '/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_11_3689.jpg', '/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_14_2557.jpg', '/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_17_3582.jpg', '/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_20_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/53/image_26112025_03_53_58_3772.jpg
/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_07_3012.jpg
/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_11_3689.jpg
/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_14_2557.jpg
/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_17_3582.jpg
/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_20_2645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396222313","1396222307","1396222304","1396222317","1396222319","1396222310"],"photo_ids_order":["1396222304","1396222307","1396222310","1396222313","1396222317","1396222319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3e7c8188a057a24a2744283c9fae9276.jpg","text":"TemporaryFile(/tmp/multipartBody1308655856467549721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142825326,"filename":"image_26112025_03_55_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/26/6973f7f0487b21aa322793839abc4deb.jpg","text":"TemporaryFile(/tmp/multipartBody1381044249011199797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142825326,"filename":"image_26112025_03_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/26/f5f15ff0aff642dd9e10e68832ea4dde.jpg","text":"TemporaryFile(/tmp/multipartBody271954829303565822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142825326,"filename":"image_26112025_03_53_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/26/0db1b218d1f4c7a66e47458b68154aa4.jpg","text":"TemporaryFile(/tmp/multipartBody7410007437179514229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142825326,"filename":"image_26112025_03_55_17_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/26/b15dbe0c63d554e874c24a28d4cac116.jpg","text":"TemporaryFile(/tmp/multipartBody7988667540286690585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142825326,"filename":"image_26112025_03_55_20_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/26/ae90d986354a9526ba7557f59fd97048.jpg","text":"TemporaryFile(/tmp/multipartBody9165370860754687995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142825326,"filename":"image_26112025_03_55_11_3689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396222310","file1":"1396222307","file0":"1396222304","file4":"1396222317","file5":"1396222319","file3":"1396222313"},"map_files_photo_id_array":[{"photo_id":"1396222319","filename":"file5"},{"photo_id":"1396222310","filename":"file2"},{"photo_id":"1396222317","filename":"file4"},{"photo_id":"1396222307","filename":"file1"},{"photo_id":"1396222304","filename":"file0"},{"photo_id":"1396222313","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396222313":["hashtag1","hashtag2"]},{"1396222307":["hashtag1","hashtag2"]},{"1396222304":["hashtag1","hashtag2"]},{"1396222317":["hashtag1","hashtag2"]},{"1396222319":["hashtag1","hashtag2"]},{"1396222310":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396222313, 1396222307, 1396222304, 1396222317, 1396222319, 1396222310)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.84206438064575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:40:12.440822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_22_2574.jpg', '/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_26_3721.jpg', '/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_29_2733.jpg', '/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_32_2645.jpg', '/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_35_3578.jpg', '/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_38_2498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_22_2574.jpg
/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_26_3721.jpg
/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_29_2733.jpg
/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_32_2645.jpg
/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_35_3578.jpg
/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_38_2498.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":["1396222415","1396222480","1396222438","1396222455","1396222487","1396222373"],"photo_ids_order":["1396222373","1396222415","1396222438","1396222455","1396222480","1396222487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2c6eaeb822c60eb230c6209b65c583ff.jpg","text":"TemporaryFile(/tmp/multipartBody7456683414292976566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142873132,"filename":"image_26112025_03_55_26_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/26/8ca8a725f317bb491e5db264c0112840.jpg","text":"TemporaryFile(/tmp/multipartBody2445102152509084937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142873132,"filename":"image_26112025_03_55_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/26/e85afe2c806f9074b041e8b990375b48.jpg","text":"TemporaryFile(/tmp/multipartBody7533452683784089732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142873132,"filename":"image_26112025_03_55_29_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/26/e24ea967faea762dfc39e8071ae66bf0.jpg","text":"TemporaryFile(/tmp/multipartBody5835737915548454099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142873132,"filename":"image_26112025_03_55_32_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/26/893bbd73278550b23161e510e260244b.jpg","text":"TemporaryFile(/tmp/multipartBody1821078384375365147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142873132,"filename":"image_26112025_03_55_38_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/26/c7410a6c920fcb17aae955893abbb437.jpg","text":"TemporaryFile(/tmp/multipartBody2020911316607244266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142873132,"filename":"image_26112025_03_55_22_2574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396222438","file1":"1396222415","file0":"1396222373","file4":"1396222480","file5":"1396222487","file3":"1396222455"},"map_files_photo_id_array":[{"photo_id":"1396222487","filename":"file5"},{"photo_id":"1396222438","filename":"file2"},{"photo_id":"1396222480","filename":"file4"},{"photo_id":"1396222415","filename":"file1"},{"photo_id":"1396222373","filename":"file0"},{"photo_id":"1396222455","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396222415":["hashtag1","hashtag2"]},{"1396222480":["hashtag1","hashtag2"]},{"1396222438":["hashtag1","hashtag2"]},{"1396222455":["hashtag1","hashtag2"]},{"1396222487":["hashtag1","hashtag2"]},{"1396222373":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396222415, 1396222480, 1396222438, 1396222455, 1396222487, 1396222373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.026511430740356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:41:03.373355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_41_3685.jpg', '/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_44_2570.jpg', '/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_46_2611.jpg', '/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_50_3644.jpg', '/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_53_2786.jpg', '/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_56_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_41_3685.jpg
/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_44_2570.jpg
/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_46_2611.jpg
/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_50_3644.jpg
/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_53_2786.jpg
/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_56_2616.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":["1396222558","1396222552","1396222554","1396222568","1396222556","1396222550"],"photo_ids_order":["1396222550","1396222552","1396222554","1396222556","1396222558","1396222568"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7176f1d68b52983398e8dc081835dad9.jpg","text":"TemporaryFile(/tmp/multipartBody7274708021620808761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142924121,"filename":"image_26112025_03_55_53_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/26/54b357e5bba1756cc9cd6128cdd80119.jpg","text":"TemporaryFile(/tmp/multipartBody2957876012890686152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142924121,"filename":"image_26112025_03_55_44_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/26/f938ed225a5e78401f06b81c9c4afb40.jpg","text":"TemporaryFile(/tmp/multipartBody1529214792407675831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142924121,"filename":"image_26112025_03_55_46_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/26/c7437d924956684aeb755b1c5d0f9f79.jpg","text":"TemporaryFile(/tmp/multipartBody4683355691039746812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142924121,"filename":"image_26112025_03_55_56_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/26/9dc88651b758100eda764253977569a2.jpg","text":"TemporaryFile(/tmp/multipartBody5824052973326714600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142924121,"filename":"image_26112025_03_55_50_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/26/fad06e74847c842b3013cad78b64effc.jpg","text":"TemporaryFile(/tmp/multipartBody3412260607447667085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142924121,"filename":"image_26112025_03_55_41_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396222554","file1":"1396222552","file0":"1396222550","file4":"1396222558","file5":"1396222568","file3":"1396222556"},"map_files_photo_id_array":[{"photo_id":"1396222568","filename":"file5"},{"photo_id":"1396222554","filename":"file2"},{"photo_id":"1396222558","filename":"file4"},{"photo_id":"1396222552","filename":"file1"},{"photo_id":"1396222550","filename":"file0"},{"photo_id":"1396222556","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396222558":["hashtag1","hashtag2"]},{"1396222552":["hashtag1","hashtag2"]},{"1396222554":["hashtag1","hashtag2"]},{"1396222568":["hashtag1","hashtag2"]},{"1396222556":["hashtag1","hashtag2"]},{"1396222550":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396222558, 1396222552, 1396222554, 1396222568, 1396222556, 1396222550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.672717809677124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 08:41:42.586451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_59_3639.jpg', '/home/pi/Desktop/images/26112025/03/57/image_26112025_03_57_07_3110.jpg', '/home/pi/Desktop/images/26112025/03/57/image_26112025_03_57_11_3815.jpg', '/home/pi/Desktop/images/26112025/03/57/image_26112025_03_57_13_2557.jpg', '/home/pi/Desktop/images/26112025/03/57/image_26112025_03_57_16_2758.jpg', '/home/pi/Desktop/images/26112025/03/57/image_26112025_03_57_19_2824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/55/image_26112025_03_55_59_3639.jpg
/home/pi/Desktop/images/26112025/03/57/image_26112025_03_57_07_3110.jpg
/home/pi/Desktop/images/26112025/03/57/image_26112025_03_57_11_3815.jpg
/home/pi/Desktop/images/26112025/03/57/image_26112025_03_57_13_2557.jpg
/home/pi/Desktop/images/26112025/03/57/image_26112025_03_57_16_2758.jpg
/home/pi/Desktop/images/26112025/03/57/image_26112025_03_57_19_2824.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":["1396222625","1396222597","1396222621","1396222624","1396222623","1396222622"],"photo_ids_order":["1396222597","1396222621","1396222622","1396222623","1396222624","1396222625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e83e11deb05935f81aafd6ce2f5c890d.jpg","text":"TemporaryFile(/tmp/multipartBody23100488171726446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142963260,"filename":"image_26112025_03_57_19_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/26/abe157087ff32b6fb72cb460b91a737a.jpg","text":"TemporaryFile(/tmp/multipartBody5085172991489763943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142963260,"filename":"image_26112025_03_55_59_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/26/125c46e17f9d95d71217ec26a654ddb9.jpg","text":"TemporaryFile(/tmp/multipartBody4420934738426682384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142963260,"filename":"image_26112025_03_57_07_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/26/0a72792bc0f561dea184ad4a6a9e3bd0.jpg","text":"TemporaryFile(/tmp/multipartBody1492757862266959477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142963260,"filename":"image_26112025_03_57_16_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/26/05512cec6fc6a8415e4c92eee844b86e.jpg","text":"TemporaryFile(/tmp/multipartBody5201993209814515740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142963260,"filename":"image_26112025_03_57_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/26/38dfa6d475ffa98d48d797ccda41929e.jpg","text":"TemporaryFile(/tmp/multipartBody3340743087502012069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764142963260,"filename":"image_26112025_03_57_11_3815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396222622","file1":"1396222621","file0":"1396222597","file4":"1396222624","file5":"1396222625","file3":"1396222623"},"map_files_photo_id_array":[{"photo_id":"1396222625","filename":"file5"},{"photo_id":"1396222622","filename":"file2"},{"photo_id":"1396222624","filename":"file4"},{"photo_id":"1396222621","filename":"file1"},{"photo_id":"1396222597","filename":"file0"},{"photo_id":"1396222623","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396222625":["hashtag1","hashtag2"]},{"1396222597":["hashtag1","hashtag2"]},{"1396222621":["hashtag1","hashtag2"]},{"1396222624":["hashtag1","hashtag2"]},{"1396222623":["hashtag1","hashtag2"]},{"1396222622":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396222625, 1396222597, 1396222621, 1396222624, 1396222623, 1396222622)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.41295051574707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:42:31.896005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/57/image_26112025_03_57_22_3742.jpg', '/home/pi/Desktop/images/26112025/03/57/image_26112025_03_57_25_2576.jpg', '/home/pi/Desktop/images/26112025/03/57/image_26112025_03_57_28_2885.jpg', '/home/pi/Desktop/images/26112025/03/57/image_26112025_03_57_31_3529.jpg', '/home/pi/Desktop/images/26112025/03/57/image_26112025_03_57_34_2874.jpg', '/home/pi/Desktop/images/26112025/03/57/image_26112025_03_57_37_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/57/image_26112025_03_57_22_3742.jpg
/home/pi/Desktop/images/26112025/03/57/image_26112025_03_57_25_2576.jpg
/home/pi/Desktop/images/26112025/03/57/image_26112025_03_57_28_2885.jpg
/home/pi/Desktop/images/26112025/03/57/image_26112025_03_57_31_3529.jpg
/home/pi/Desktop/images/26112025/03/57/image_26112025_03_57_34_2874.jpg
/home/pi/Desktop/images/26112025/03/57/image_26112025_03_57_37_2604.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":["1396222645","1396222639","1396222642","1396222644","1396222646","1396222637"],"photo_ids_order":["1396222637","1396222639","1396222642","1396222644","1396222645","1396222646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c96f8b6a73050d4817d3feae1f8375a3.jpg","text":"TemporaryFile(/tmp/multipartBody2969830108454281391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143012591,"filename":"image_26112025_03_57_34_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/26/fb2dae0ee95035c84eb01c6c268ce42a.jpg","text":"TemporaryFile(/tmp/multipartBody1438707351269855277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143012591,"filename":"image_26112025_03_57_25_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/26/6b98c74b120535e7d9bd38241d714c23.jpg","text":"TemporaryFile(/tmp/multipartBody8727066631913736907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143012591,"filename":"image_26112025_03_57_28_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/26/f6d15c09c61e3840b4fab445a4dbdd36.jpg","text":"TemporaryFile(/tmp/multipartBody7173429682259888869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143012591,"filename":"image_26112025_03_57_31_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/26/6d7976c1942e0f8a94690f293bba8096.jpg","text":"TemporaryFile(/tmp/multipartBody1893249489898034551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143012591,"filename":"image_26112025_03_57_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/26/82238dc25b598f8f0215d94b136025a8.jpg","text":"TemporaryFile(/tmp/multipartBody6052039798987315135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143012591,"filename":"image_26112025_03_57_22_3742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396222642","file1":"1396222639","file0":"1396222637","file4":"1396222645","file5":"1396222646","file3":"1396222644"},"map_files_photo_id_array":[{"photo_id":"1396222646","filename":"file5"},{"photo_id":"1396222642","filename":"file2"},{"photo_id":"1396222645","filename":"file4"},{"photo_id":"1396222639","filename":"file1"},{"photo_id":"1396222637","filename":"file0"},{"photo_id":"1396222644","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396222645":["hashtag1","hashtag2"]},{"1396222639":["hashtag1","hashtag2"]},{"1396222642":["hashtag1","hashtag2"]},{"1396222644":["hashtag1","hashtag2"]},{"1396222646":["hashtag1","hashtag2"]},{"1396222637":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396222645, 1396222639, 1396222642, 1396222644, 1396222646, 1396222637)","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: 49.830771684646606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:43:32.017094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_07_3011.jpg', '/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_11_3531.jpg', '/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_13_2669.jpg', '/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_17_3699.jpg', '/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_20_2957.jpg', '/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_23_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_07_3011.jpg
/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_11_3531.jpg
/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_13_2669.jpg
/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_17_3699.jpg
/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_20_2957.jpg
/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_23_2662.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":["1396222867","1396222869","1396222862","1396222865","1396222859","1396222868"],"photo_ids_order":["1396222859","1396222862","1396222865","1396222867","1396222868","1396222869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c8ce7874e849232c393c287c0f06fb05.jpg","text":"TemporaryFile(/tmp/multipartBody1943495340109078042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143072681,"filename":"image_26112025_03_59_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/26/6071f515d0c18272585bef4e30704b57.jpg","text":"TemporaryFile(/tmp/multipartBody5488036751976127506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143072681,"filename":"image_26112025_03_59_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/26/52ed959407d360534880e9f1ef10bb02.jpg","text":"TemporaryFile(/tmp/multipartBody3688469274759214236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143072681,"filename":"image_26112025_03_59_11_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/26/018e7229683890c2ebddcc6c52da2a00.jpg","text":"TemporaryFile(/tmp/multipartBody1433293167155445368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143072681,"filename":"image_26112025_03_59_13_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/26/75e7966a220bd61e74f9cfa18b445d01.jpg","text":"TemporaryFile(/tmp/multipartBody1739253190396347730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143072681,"filename":"image_26112025_03_59_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/26/02861e3ed11e59d60402150646d828e0.jpg","text":"TemporaryFile(/tmp/multipartBody6875357175735988320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143072681,"filename":"image_26112025_03_59_20_2957.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396222865","file1":"1396222862","file0":"1396222859","file4":"1396222868","file5":"1396222869","file3":"1396222867"},"map_files_photo_id_array":[{"photo_id":"1396222869","filename":"file5"},{"photo_id":"1396222865","filename":"file2"},{"photo_id":"1396222868","filename":"file4"},{"photo_id":"1396222862","filename":"file1"},{"photo_id":"1396222859","filename":"file0"},{"photo_id":"1396222867","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396222867":["hashtag1","hashtag2"]},{"1396222869":["hashtag1","hashtag2"]},{"1396222862":["hashtag1","hashtag2"]},{"1396222865":["hashtag1","hashtag2"]},{"1396222859":["hashtag1","hashtag2"]},{"1396222868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396222867, 1396222869, 1396222862, 1396222865, 1396222859, 1396222868)","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 = 1396222865 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_13_2669.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 56.331528663635254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:44:35.437376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_25_2560.jpg', '/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_29_3695.jpg', '/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_32_2850.jpg', '/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_34_2693.jpg', '/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_37_2689.jpg', '/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_41_3780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_25_2560.jpg
/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_29_3695.jpg
/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_32_2850.jpg
/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_34_2693.jpg
/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_37_2689.jpg
/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_41_3780.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":["1396223089","1396223094","1396223127","1396223083","1396223092","1396223086"],"photo_ids_order":["1396223083","1396223086","1396223089","1396223092","1396223094","1396223127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c3caf651a518e59e254b32e6f93ed1ce.jpg","text":"TemporaryFile(/tmp/multipartBody5861985077471917652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143136130,"filename":"image_26112025_03_59_32_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/26/82a0f010f474f772ba8af035948ad210.jpg","text":"TemporaryFile(/tmp/multipartBody3560647739623923235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143136130,"filename":"image_26112025_03_59_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/26/ce1e3f6a18c2d2ead1a5aa2ed0b13243.jpg","text":"TemporaryFile(/tmp/multipartBody6512459324568956912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143136130,"filename":"image_26112025_03_59_41_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/26/17afee658a16d1c5929ea07681c18d08.jpg","text":"TemporaryFile(/tmp/multipartBody3679534871512924656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143136130,"filename":"image_26112025_03_59_25_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/26/ea3308d3f5a3a815d241263e6fd38397.jpg","text":"TemporaryFile(/tmp/multipartBody5681519762435729961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143136130,"filename":"image_26112025_03_59_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/26/f1e56538f30da0bfff5b64d658827bc7.jpg","text":"TemporaryFile(/tmp/multipartBody5349813495395857546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143136130,"filename":"image_26112025_03_59_29_3695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396223089","file1":"1396223086","file0":"1396223083","file4":"1396223094","file5":"1396223127","file3":"1396223092"},"map_files_photo_id_array":[{"photo_id":"1396223127","filename":"file5"},{"photo_id":"1396223089","filename":"file2"},{"photo_id":"1396223094","filename":"file4"},{"photo_id":"1396223086","filename":"file1"},{"photo_id":"1396223083","filename":"file0"},{"photo_id":"1396223092","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396223089":["hashtag1","hashtag2"]},{"1396223094":["hashtag1","hashtag2"]},{"1396223127":["hashtag1","hashtag2"]},{"1396223083":["hashtag1","hashtag2"]},{"1396223092":["hashtag1","hashtag2"]},{"1396223086":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396223089, 1396223094, 1396223127, 1396223083, 1396223092, 1396223086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01026272773743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:45:12.494531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_43_2541.jpg', '/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_46_2590.jpg', '/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_50_3779.jpg', '/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_52_2667.jpg', '/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_55_2901.jpg', '/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_58_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_43_2541.jpg
/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_46_2590.jpg
/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_50_3779.jpg
/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_52_2667.jpg
/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_55_2901.jpg
/home/pi/Desktop/images/26112025/03/59/image_26112025_03_59_58_2697.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":["1396223173","1396223218","1396223168","1396223177","1396223179","1396223170"],"photo_ids_order":["1396223168","1396223170","1396223173","1396223177","1396223179","1396223218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/459822762b33009b0632056d02ee4b5d.jpg","text":"TemporaryFile(/tmp/multipartBody3351033076888203176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143173200,"filename":"image_26112025_03_59_50_3779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/93aad933c8e0985ae36f34bcbb26b2b4.jpg","text":"TemporaryFile(/tmp/multipartBody8520691892556797791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143173200,"filename":"image_26112025_03_59_58_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/26/57b490d712250f969d007cc568321732.jpg","text":"TemporaryFile(/tmp/multipartBody5910092858804667943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143173200,"filename":"image_26112025_03_59_43_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/26/c7ee918e9b0e016f5c1fe9bccc52a80a.jpg","text":"TemporaryFile(/tmp/multipartBody1937468839429400338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143173200,"filename":"image_26112025_03_59_52_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/be0c06ee662042782816b334a807107a.jpg","text":"TemporaryFile(/tmp/multipartBody6087522049555722898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143173200,"filename":"image_26112025_03_59_55_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/26/5af65649cb3cd2796679f5b70e712aff.jpg","text":"TemporaryFile(/tmp/multipartBody8792229179213864709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143173200,"filename":"image_26112025_03_59_46_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396223173","file1":"1396223170","file0":"1396223168","file4":"1396223179","file5":"1396223218","file3":"1396223177"},"map_files_photo_id_array":[{"photo_id":"1396223218","filename":"file5"},{"photo_id":"1396223173","filename":"file2"},{"photo_id":"1396223179","filename":"file4"},{"photo_id":"1396223170","filename":"file1"},{"photo_id":"1396223168","filename":"file0"},{"photo_id":"1396223177","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396223173":["hashtag1","hashtag2"]},{"1396223218":["hashtag1","hashtag2"]},{"1396223168":["hashtag1","hashtag2"]},{"1396223177":["hashtag1","hashtag2"]},{"1396223179":["hashtag1","hashtag2"]},{"1396223170":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396223173, 1396223218, 1396223168, 1396223177, 1396223179, 1396223170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94480919837952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:46:03.205473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/01/image_26112025_04_01_07_3011.jpg', '/home/pi/Desktop/images/26112025/04/01/image_26112025_04_01_10_3683.jpg', '/home/pi/Desktop/images/26112025/04/01/image_26112025_04_01_13_2799.jpg', '/home/pi/Desktop/images/26112025/04/01/image_26112025_04_01_16_2652.jpg', '/home/pi/Desktop/images/26112025/04/01/image_26112025_04_01_19_3690.jpg', '/home/pi/Desktop/images/26112025/04/01/image_26112025_04_01_22_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/01/image_26112025_04_01_07_3011.jpg
/home/pi/Desktop/images/26112025/04/01/image_26112025_04_01_10_3683.jpg
/home/pi/Desktop/images/26112025/04/01/image_26112025_04_01_13_2799.jpg
/home/pi/Desktop/images/26112025/04/01/image_26112025_04_01_16_2652.jpg
/home/pi/Desktop/images/26112025/04/01/image_26112025_04_01_19_3690.jpg
/home/pi/Desktop/images/26112025/04/01/image_26112025_04_01_22_2645.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":["1396223269","1396223271","1396223265","1396223273","1396223267","1396223276"],"photo_ids_order":["1396223265","1396223267","1396223269","1396223271","1396223273","1396223276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/60bba88a339b86e29fd21d5e161dbe21.jpg","text":"TemporaryFile(/tmp/multipartBody4756827469820165586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143223939,"filename":"image_26112025_04_01_13_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/26/7adeea1eb3e224d4236973fc25965f96.jpg","text":"TemporaryFile(/tmp/multipartBody7260974447729205060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143223939,"filename":"image_26112025_04_01_16_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5aebeee06184c866c03e7f0da95dfa3d.jpg","text":"TemporaryFile(/tmp/multipartBody5255752309765519642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143223939,"filename":"image_26112025_04_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/26/ceffad6bb6cec324a32c1986d879c30e.jpg","text":"TemporaryFile(/tmp/multipartBody6051715443846314077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143223939,"filename":"image_26112025_04_01_19_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/efebd88f166a6e58b9dd0a81c51eb279.jpg","text":"TemporaryFile(/tmp/multipartBody4980209738021387749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143223939,"filename":"image_26112025_04_01_10_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/26/d47762633d8c6c7e65866afac4dbb394.jpg","text":"TemporaryFile(/tmp/multipartBody8111505374047800905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143223939,"filename":"image_26112025_04_01_22_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396223269","file1":"1396223267","file0":"1396223265","file4":"1396223273","file5":"1396223276","file3":"1396223271"},"map_files_photo_id_array":[{"photo_id":"1396223276","filename":"file5"},{"photo_id":"1396223269","filename":"file2"},{"photo_id":"1396223273","filename":"file4"},{"photo_id":"1396223267","filename":"file1"},{"photo_id":"1396223265","filename":"file0"},{"photo_id":"1396223271","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396223269":["hashtag1","hashtag2"]},{"1396223271":["hashtag1","hashtag2"]},{"1396223265":["hashtag1","hashtag2"]},{"1396223273":["hashtag1","hashtag2"]},{"1396223267":["hashtag1","hashtag2"]},{"1396223276":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396223269, 1396223271, 1396223265, 1396223273, 1396223267, 1396223276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79044032096863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 08:46:42.755888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/01/image_26112025_04_01_25_2668.jpg', '/home/pi/Desktop/images/26112025/04/01/image_26112025_04_01_35_10096.jpg', '/home/pi/Desktop/images/26112025/04/01/image_26112025_04_01_37_1715.jpg', '/home/pi/Desktop/images/26112025/04/01/image_26112025_04_01_40_1581.jpg', '/home/pi/Desktop/images/26112025/04/01/image_26112025_04_01_41_1620.jpg', '/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/01/image_26112025_04_01_25_2668.jpg
/home/pi/Desktop/images/26112025/04/01/image_26112025_04_01_35_10096.jpg
/home/pi/Desktop/images/26112025/04/01/image_26112025_04_01_37_1715.jpg
/home/pi/Desktop/images/26112025/04/01/image_26112025_04_01_40_1581.jpg
/home/pi/Desktop/images/26112025/04/01/image_26112025_04_01_41_1620.jpg
/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_07_3011.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396223305","1396223307","1396223297","1396223301","1396223303","1396223306"],"photo_ids_order":["1396223297","1396223301","1396223303","1396223305","1396223306","1396223307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f667448ed5105a438a69d857269f10a1.jpg","text":"TemporaryFile(/tmp/multipartBody6343315365692163577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143263457,"filename":"image_26112025_04_01_40_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fa402af7ede698545533beef24367b1e.jpg","text":"TemporaryFile(/tmp/multipartBody6736892666656604575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143263457,"filename":"image_26112025_04_03_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/26/67fbbbbf7320f3fd910fed28ec840f41.jpg","text":"TemporaryFile(/tmp/multipartBody6644689283405397082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143263457,"filename":"image_26112025_04_01_25_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e3a5b61c14a235b2abec222cd047aee8.jpg","text":"TemporaryFile(/tmp/multipartBody4323549250587460356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143263457,"filename":"image_26112025_04_01_35_10096.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5ef6db886f9d2830991ee213283e642e.jpg","text":"TemporaryFile(/tmp/multipartBody3759487004073118941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143263457,"filename":"image_26112025_04_01_37_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/26/9686f74823dc26097ef619193796716c.jpg","text":"TemporaryFile(/tmp/multipartBody6391877232062997945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143263457,"filename":"image_26112025_04_01_41_1620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396223303","file1":"1396223301","file0":"1396223297","file4":"1396223306","file5":"1396223307","file3":"1396223305"},"map_files_photo_id_array":[{"photo_id":"1396223307","filename":"file5"},{"photo_id":"1396223303","filename":"file2"},{"photo_id":"1396223306","filename":"file4"},{"photo_id":"1396223301","filename":"file1"},{"photo_id":"1396223297","filename":"file0"},{"photo_id":"1396223305","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396223305":["hashtag1","hashtag2"]},{"1396223307":["hashtag1","hashtag2"]},{"1396223297":["hashtag1","hashtag2"]},{"1396223301":["hashtag1","hashtag2"]},{"1396223303":["hashtag1","hashtag2"]},{"1396223306":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396223305, 1396223307, 1396223297, 1396223301, 1396223303, 1396223306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4704532623291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:47:21.895064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_11_3745.jpg', '/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_13_2616.jpg', '/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_17_3504.jpg', '/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_19_2496.jpg', '/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_23_3485.jpg', '/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_25_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_11_3745.jpg
/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_13_2616.jpg
/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_17_3504.jpg
/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_19_2496.jpg
/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_23_3485.jpg
/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_25_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: 0.5799098014831543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:47:31.818309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_11_3745.jpg', '/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_13_2616.jpg', '/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_17_3504.jpg', '/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_19_2496.jpg', '/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_23_3485.jpg', '/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_25_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_11_3745.jpg
/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_13_2616.jpg
/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_17_3504.jpg
/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_19_2496.jpg
/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_23_3485.jpg
/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_25_2630.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":["1396223608","1396223529","1396223457","1396223409","1396223372","1396223573"],"photo_ids_order":["1396223372","1396223409","1396223457","1396223529","1396223573","1396223608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5bfe88107129f12f87b0248fec6e2b5b.jpg","text":"TemporaryFile(/tmp/multipartBody5349782559030557323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143312483,"filename":"image_26112025_04_03_25_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/26/5e4fe18d9a33ce0c3b5b2c5eb4ea5234.jpg","text":"TemporaryFile(/tmp/multipartBody375217282937421763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143312483,"filename":"image_26112025_04_03_19_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/26/51e0e2b958b5cf4328da85ce009472b2.jpg","text":"TemporaryFile(/tmp/multipartBody2123635181705953558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143312483,"filename":"image_26112025_04_03_17_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/26/1b80dc69671211fc128f66d46aee1801.jpg","text":"TemporaryFile(/tmp/multipartBody5052231497911184755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143312483,"filename":"image_26112025_04_03_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/26/ce7729fee0939c3d1699dcc579dd677e.jpg","text":"TemporaryFile(/tmp/multipartBody1051140436903431302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143312483,"filename":"image_26112025_04_03_11_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d06de2c35559ecec92bbf9a86751d1ad.jpg","text":"TemporaryFile(/tmp/multipartBody7310720398768774849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143312483,"filename":"image_26112025_04_03_23_3485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396223457","file1":"1396223409","file0":"1396223372","file4":"1396223573","file5":"1396223608","file3":"1396223529"},"map_files_photo_id_array":[{"photo_id":"1396223608","filename":"file5"},{"photo_id":"1396223457","filename":"file2"},{"photo_id":"1396223573","filename":"file4"},{"photo_id":"1396223409","filename":"file1"},{"photo_id":"1396223372","filename":"file0"},{"photo_id":"1396223529","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396223608":["hashtag1","hashtag2"]},{"1396223529":["hashtag1","hashtag2"]},{"1396223457":["hashtag1","hashtag2"]},{"1396223409":["hashtag1","hashtag2"]},{"1396223372":["hashtag1","hashtag2"]},{"1396223573":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396223608, 1396223529, 1396223457, 1396223409, 1396223372, 1396223573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99382257461548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:48:12.148830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_28_2509.jpg', '/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_31_3547.jpg', '/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_34_2711.jpg', '/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_38_3631.jpg', '/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_40_2525.jpg', '/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_43_2558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_28_2509.jpg
/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_31_3547.jpg
/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_34_2711.jpg
/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_38_3631.jpg
/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_40_2525.jpg
/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_43_2558.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":["1396223792","1396223795","1396223798","1396223804","1396223807","1396223801"],"photo_ids_order":["1396223792","1396223795","1396223798","1396223801","1396223804","1396223807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/769e4ccbf7636ba973119d305127bd43.jpg","text":"TemporaryFile(/tmp/multipartBody190536362682404968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143352817,"filename":"image_26112025_04_03_28_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/26/c25cdc373677d4c52726bf75a59013d2.jpg","text":"TemporaryFile(/tmp/multipartBody3401588792361848139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143352817,"filename":"image_26112025_04_03_31_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/26/a0e99b2eb0ce0a540017e4015f26fe0f.jpg","text":"TemporaryFile(/tmp/multipartBody7090065544820140128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143352817,"filename":"image_26112025_04_03_34_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/26/6479c60d0683aaaf3349e117f0852238.jpg","text":"TemporaryFile(/tmp/multipartBody2227388484817765700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143352817,"filename":"image_26112025_04_03_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/26/31e5d92e931d94cf098253c23e4de896.jpg","text":"TemporaryFile(/tmp/multipartBody5670471631421459437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143352817,"filename":"image_26112025_04_03_43_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/26/972b9d411ada18b142237c84094e82b2.jpg","text":"TemporaryFile(/tmp/multipartBody8115288028575115244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143352817,"filename":"image_26112025_04_03_38_3631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396223798","file1":"1396223795","file0":"1396223792","file4":"1396223804","file5":"1396223807","file3":"1396223801"},"map_files_photo_id_array":[{"photo_id":"1396223807","filename":"file5"},{"photo_id":"1396223798","filename":"file2"},{"photo_id":"1396223804","filename":"file4"},{"photo_id":"1396223795","filename":"file1"},{"photo_id":"1396223792","filename":"file0"},{"photo_id":"1396223801","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396223792":["hashtag1","hashtag2"]},{"1396223795":["hashtag1","hashtag2"]},{"1396223798":["hashtag1","hashtag2"]},{"1396223804":["hashtag1","hashtag2"]},{"1396223807":["hashtag1","hashtag2"]},{"1396223801":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396223792, 1396223795, 1396223798, 1396223804, 1396223807, 1396223801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01361632347107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:49:13.658780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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 10
2025-11-26 08:49:33.059733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_46_3649.jpg', '/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_49_2424.jpg', '/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_52_3529.jpg', '/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_55_2670.jpg', '/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_58_2716.jpg', '/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_08_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_46_3649.jpg
/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_49_2424.jpg
/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_52_3529.jpg
/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_55_2670.jpg
/home/pi/Desktop/images/26112025/04/03/image_26112025_04_03_58_2716.jpg
/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_08_3011.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":["1396223845","1396223838","1396223841","1396223843","1396223831","1396223834"],"photo_ids_order":["1396223831","1396223834","1396223838","1396223841","1396223843","1396223845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b1c9be2d67227c14f92308b557052a89.jpg","text":"TemporaryFile(/tmp/multipartBody7777364695375304747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143433720,"filename":"image_26112025_04_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/26/12c480803471638390e40381a36fd347.jpg","text":"TemporaryFile(/tmp/multipartBody5893221986051852227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143433720,"filename":"image_26112025_04_03_52_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/26/67745890ddd7ad45a24d3fa96d6b0fc0.jpg","text":"TemporaryFile(/tmp/multipartBody1547773290864154555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143433720,"filename":"image_26112025_04_03_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/26/c338385c8ec59c72dd73d1b58157c45a.jpg","text":"TemporaryFile(/tmp/multipartBody7835285643603661963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143433720,"filename":"image_26112025_04_03_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/26/132a05b8c267133dadce9313b4525001.jpg","text":"TemporaryFile(/tmp/multipartBody4727005922850004266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143433720,"filename":"image_26112025_04_03_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/26/db5b66f5d3556568af7d0c66914a07d8.jpg","text":"TemporaryFile(/tmp/multipartBody8101250575156507416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143433720,"filename":"image_26112025_04_03_49_2424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396223838","file1":"1396223834","file0":"1396223831","file4":"1396223843","file5":"1396223845","file3":"1396223841"},"map_files_photo_id_array":[{"photo_id":"1396223845","filename":"file5"},{"photo_id":"1396223838","filename":"file2"},{"photo_id":"1396223843","filename":"file4"},{"photo_id":"1396223834","filename":"file1"},{"photo_id":"1396223831","filename":"file0"},{"photo_id":"1396223841","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396223845":["hashtag1","hashtag2"]},{"1396223838":["hashtag1","hashtag2"]},{"1396223841":["hashtag1","hashtag2"]},{"1396223843":["hashtag1","hashtag2"]},{"1396223831":["hashtag1","hashtag2"]},{"1396223834":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396223845, 1396223838, 1396223841, 1396223843, 1396223831, 1396223834)","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: 54.73140263557434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:50:32.727516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_11_3706.jpg', '/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_14_2571.jpg', '/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_17_2728.jpg', '/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_19_2964.jpg', '/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_23_3772.jpg', '/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_26_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_11_3706.jpg
/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_14_2571.jpg
/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_17_2728.jpg
/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_19_2964.jpg
/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_23_3772.jpg
/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_26_2700.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":["1396223860","1396223877","1396223867","1396223876","1396223878","1396223872"],"photo_ids_order":["1396223860","1396223867","1396223872","1396223876","1396223877","1396223878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cd3d423c39fcb1d1573bcbac71191233.jpg","text":"TemporaryFile(/tmp/multipartBody5554596775635882383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143493387,"filename":"image_26112025_04_05_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/26/6705b501eac0922d46116aa14d6b54dd.jpg","text":"TemporaryFile(/tmp/multipartBody2376919928909249218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143493387,"filename":"image_26112025_04_05_23_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/26/46a365b9749ff2fedf8760cd4aadda22.jpg","text":"TemporaryFile(/tmp/multipartBody5292748978076985749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143493387,"filename":"image_26112025_04_05_14_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/26/22a6542bf5e5ed7b87a88de60358c809.jpg","text":"TemporaryFile(/tmp/multipartBody6191331508221917975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143493387,"filename":"image_26112025_04_05_19_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/26/ad498d7028703f3aefc32222c8532632.jpg","text":"TemporaryFile(/tmp/multipartBody1080983857879260134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143493387,"filename":"image_26112025_04_05_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/26/b1a9e5b2115bf06ef365df9c944d9c0a.jpg","text":"TemporaryFile(/tmp/multipartBody7284261619800376632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143493387,"filename":"image_26112025_04_05_17_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396223872","file1":"1396223867","file0":"1396223860","file4":"1396223877","file5":"1396223878","file3":"1396223876"},"map_files_photo_id_array":[{"photo_id":"1396223878","filename":"file5"},{"photo_id":"1396223872","filename":"file2"},{"photo_id":"1396223877","filename":"file4"},{"photo_id":"1396223867","filename":"file1"},{"photo_id":"1396223860","filename":"file0"},{"photo_id":"1396223876","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396223860":["hashtag1","hashtag2"]},{"1396223877":["hashtag1","hashtag2"]},{"1396223867":["hashtag1","hashtag2"]},{"1396223876":["hashtag1","hashtag2"]},{"1396223878":["hashtag1","hashtag2"]},{"1396223872":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396223860, 1396223877, 1396223867, 1396223876, 1396223878, 1396223872)","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 = 1396223872 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_17_2728.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 60.836204051971436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:51:37.870250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_29_2607.jpg', '/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_32_3721.jpg', '/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_35_2669.jpg', '/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_38_2716.jpg', '/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_40_2770.jpg', '/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_44_3572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_29_2607.jpg
/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_32_3721.jpg
/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_35_2669.jpg
/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_38_2716.jpg
/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_40_2770.jpg
/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_44_3572.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":["1396223902","1396223898","1396223901","1396223903","1396223896","1396223900"],"photo_ids_order":["1396223896","1396223898","1396223900","1396223901","1396223902","1396223903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/29f5a743886a08604db77e23dd431c91.jpg","text":"TemporaryFile(/tmp/multipartBody2253740231012109125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143558549,"filename":"image_26112025_04_05_40_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/26/95c967d6faaa03273e763189a36a0311.jpg","text":"TemporaryFile(/tmp/multipartBody8548256496344538189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143558549,"filename":"image_26112025_04_05_32_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/26/765f705725c753a5f0bde9125d86b6d0.jpg","text":"TemporaryFile(/tmp/multipartBody7382883813898984196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143558549,"filename":"image_26112025_04_05_38_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/65f5316f5718db537e203763065499c1.jpg","text":"TemporaryFile(/tmp/multipartBody377696536337435908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143558549,"filename":"image_26112025_04_05_44_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/26/8aa5308b9644d4ac5e0174dbcd6720d9.jpg","text":"TemporaryFile(/tmp/multipartBody8784427862441649165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143558549,"filename":"image_26112025_04_05_29_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/754a5fc6d9711aa51dea31e567531544.jpg","text":"TemporaryFile(/tmp/multipartBody8721203184211490302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143558549,"filename":"image_26112025_04_05_35_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396223900","file1":"1396223898","file0":"1396223896","file4":"1396223902","file5":"1396223903","file3":"1396223901"},"map_files_photo_id_array":[{"photo_id":"1396223903","filename":"file5"},{"photo_id":"1396223900","filename":"file2"},{"photo_id":"1396223902","filename":"file4"},{"photo_id":"1396223898","filename":"file1"},{"photo_id":"1396223896","filename":"file0"},{"photo_id":"1396223901","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396223902":["hashtag1","hashtag2"]},{"1396223898":["hashtag1","hashtag2"]},{"1396223901":["hashtag1","hashtag2"]},{"1396223903":["hashtag1","hashtag2"]},{"1396223896":["hashtag1","hashtag2"]},{"1396223900":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396223902, 1396223898, 1396223901, 1396223903, 1396223896, 1396223900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46883535385132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:52:22.648765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_47_2605.jpg', '/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_50_3656.jpg', '/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_53_2719.jpg', '/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_56_2596.jpg', '/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_59_3634.jpg', '/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_07_3012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_47_2605.jpg
/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_50_3656.jpg
/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_53_2719.jpg
/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_56_2596.jpg
/home/pi/Desktop/images/26112025/04/05/image_26112025_04_05_59_3634.jpg
/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_07_3012.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":["1396223932","1396223926","1396223935","1396223929","1396223938","1396223922"],"photo_ids_order":["1396223922","1396223926","1396223929","1396223932","1396223935","1396223938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4fa42e2f8db7cb4bf4a03fc1bfddc106.jpg","text":"TemporaryFile(/tmp/multipartBody767202905607764372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143603339,"filename":"image_26112025_04_05_56_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/26/946623b602ae9c2e40ccbc19d2a384eb.jpg","text":"TemporaryFile(/tmp/multipartBody4506584235265574309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143603339,"filename":"image_26112025_04_05_50_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/26/f5f23d6c9b1442b64b0b3f2f0676f10c.jpg","text":"TemporaryFile(/tmp/multipartBody5262531176298143317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143603339,"filename":"image_26112025_04_05_59_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/26/172d5e6a89b865005d69c05767323eb1.jpg","text":"TemporaryFile(/tmp/multipartBody4859883306968918086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143603339,"filename":"image_26112025_04_05_53_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/26/8c83c381476f03129d164dedbf2e4528.jpg","text":"TemporaryFile(/tmp/multipartBody5235615521794921946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143603339,"filename":"image_26112025_04_07_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/26/12481138b5a7cc546d51841a46972371.jpg","text":"TemporaryFile(/tmp/multipartBody6502005866844035239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143603339,"filename":"image_26112025_04_05_47_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396223929","file1":"1396223926","file0":"1396223922","file4":"1396223935","file5":"1396223938","file3":"1396223932"},"map_files_photo_id_array":[{"photo_id":"1396223938","filename":"file5"},{"photo_id":"1396223929","filename":"file2"},{"photo_id":"1396223935","filename":"file4"},{"photo_id":"1396223926","filename":"file1"},{"photo_id":"1396223922","filename":"file0"},{"photo_id":"1396223932","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396223932":["hashtag1","hashtag2"]},{"1396223926":["hashtag1","hashtag2"]},{"1396223935":["hashtag1","hashtag2"]},{"1396223929":["hashtag1","hashtag2"]},{"1396223938":["hashtag1","hashtag2"]},{"1396223922":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396223932, 1396223926, 1396223935, 1396223929, 1396223938, 1396223922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77177143096924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:53:02.712023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_10_3862.jpg', '/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_13_2708.jpg', '/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_16_2558.jpg', '/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_19_3622.jpg', '/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_22_2546.jpg', '/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_26_3654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_10_3862.jpg
/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_13_2708.jpg
/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_16_2558.jpg
/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_19_3622.jpg
/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_22_2546.jpg
/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_26_3654.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":["1396223953","1396223946","1396223949","1396223940","1396223942","1396223944"],"photo_ids_order":["1396223940","1396223942","1396223944","1396223946","1396223949","1396223953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5ab7ade215bf7a196ae521790ff24b2d.jpg","text":"TemporaryFile(/tmp/multipartBody5347284660357104024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143643484,"filename":"image_26112025_04_07_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/26/27e1b4d2b23306f41a5ce6f08f34706c.jpg","text":"TemporaryFile(/tmp/multipartBody5362724261572425097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143643484,"filename":"image_26112025_04_07_19_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/26/f30b91f253dc6d3753ff7e802669d6ed.jpg","text":"TemporaryFile(/tmp/multipartBody216746091055048989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143643484,"filename":"image_26112025_04_07_22_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/26/ee4b0c1544242a00cb119e1e51afd83b.jpg","text":"TemporaryFile(/tmp/multipartBody431090608130027812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143643484,"filename":"image_26112025_04_07_10_3862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6584679daf0b4e4d6ea70eb057a63a93.jpg","text":"TemporaryFile(/tmp/multipartBody2853718407600158589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143643484,"filename":"image_26112025_04_07_13_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/26/8621dc4af2330db6d7a56f88859cecf0.jpg","text":"TemporaryFile(/tmp/multipartBody121378639465078671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143643484,"filename":"image_26112025_04_07_16_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396223944","file1":"1396223942","file0":"1396223940","file4":"1396223949","file5":"1396223953","file3":"1396223946"},"map_files_photo_id_array":[{"photo_id":"1396223953","filename":"file5"},{"photo_id":"1396223944","filename":"file2"},{"photo_id":"1396223949","filename":"file4"},{"photo_id":"1396223942","filename":"file1"},{"photo_id":"1396223940","filename":"file0"},{"photo_id":"1396223946","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396223953":["hashtag1","hashtag2"]},{"1396223946":["hashtag1","hashtag2"]},{"1396223949":["hashtag1","hashtag2"]},{"1396223940":["hashtag1","hashtag2"]},{"1396223942":["hashtag1","hashtag2"]},{"1396223944":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396223953, 1396223946, 1396223949, 1396223940, 1396223942, 1396223944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62747931480408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 08:53:41.916511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_28_2838.jpg', '/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_31_2618.jpg', '/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_34_2643.jpg', '/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_37_3747.jpg', '/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_40_2829.jpg', '/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_43_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_28_2838.jpg
/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_31_2618.jpg
/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_34_2643.jpg
/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_37_3747.jpg
/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_40_2829.jpg
/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_43_2654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396223968","1396223967","1396223966","1396223969","1396223962","1396223965"],"photo_ids_order":["1396223962","1396223965","1396223966","1396223967","1396223968","1396223969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dede23429d13cc55da285c9d49487fbc.jpg","text":"TemporaryFile(/tmp/multipartBody8579798619236359350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143682585,"filename":"image_26112025_04_07_40_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/26/fac3c319ee54b69900afc2a2fdaefa3a.jpg","text":"TemporaryFile(/tmp/multipartBody2157769733227622479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143682585,"filename":"image_26112025_04_07_37_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/26/9357d4eb196108b0db1128f10017b2e1.jpg","text":"TemporaryFile(/tmp/multipartBody7209753335415365805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143682585,"filename":"image_26112025_04_07_34_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/26/62d6e1eb4eab5a9c2e835533d0ada616.jpg","text":"TemporaryFile(/tmp/multipartBody748865646031321571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143682585,"filename":"image_26112025_04_07_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/26/c5b687eb39da1c9156cb7b3b20c91ca2.jpg","text":"TemporaryFile(/tmp/multipartBody7250042692828603027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143682585,"filename":"image_26112025_04_07_28_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/26/5044b5ebd675ae68416562e9ffa81a6b.jpg","text":"TemporaryFile(/tmp/multipartBody5360346255811140609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143682585,"filename":"image_26112025_04_07_31_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396223966","file1":"1396223965","file0":"1396223962","file4":"1396223968","file5":"1396223969","file3":"1396223967"},"map_files_photo_id_array":[{"photo_id":"1396223969","filename":"file5"},{"photo_id":"1396223966","filename":"file2"},{"photo_id":"1396223968","filename":"file4"},{"photo_id":"1396223965","filename":"file1"},{"photo_id":"1396223962","filename":"file0"},{"photo_id":"1396223967","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396223968":["hashtag1","hashtag2"]},{"1396223967":["hashtag1","hashtag2"]},{"1396223966":["hashtag1","hashtag2"]},{"1396223969":["hashtag1","hashtag2"]},{"1396223962":["hashtag1","hashtag2"]},{"1396223965":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396223968, 1396223967, 1396223966, 1396223969, 1396223962, 1396223965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47550368309021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:54:22.137180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_46_2740.jpg', '/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_49_3803.jpg', '/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_52_2672.jpg', '/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_55_2824.jpg', '/home/pi/Desktop/images/26112025/04/09/image_26112025_04_09_06_3011.jpg', '/home/pi/Desktop/images/26112025/04/09/image_26112025_04_09_10_3769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_46_2740.jpg
/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_49_3803.jpg
/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_52_2672.jpg
/home/pi/Desktop/images/26112025/04/07/image_26112025_04_07_55_2824.jpg
/home/pi/Desktop/images/26112025/04/09/image_26112025_04_09_06_3011.jpg
/home/pi/Desktop/images/26112025/04/09/image_26112025_04_09_10_3769.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":["1396223994","1396223997","1396223982","1396223979","1396223987","1396223975"],"photo_ids_order":["1396223975","1396223979","1396223982","1396223987","1396223994","1396223997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9f1836a2d9b92d6e6b32d413d5412f1b.jpg","text":"TemporaryFile(/tmp/multipartBody8005003067184018645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143722809,"filename":"image_26112025_04_09_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/26/eebedad8c5603a5ae2557979a93e9531.jpg","text":"TemporaryFile(/tmp/multipartBody7247951603082847739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143722809,"filename":"image_26112025_04_09_10_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/26/67efca47275271ff1e51e3e6159bc62f.jpg","text":"TemporaryFile(/tmp/multipartBody113666932842877829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143722809,"filename":"image_26112025_04_07_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/26/cbb75d77f0719c7b14108fe16ed3a81a.jpg","text":"TemporaryFile(/tmp/multipartBody3167915196589730351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143722809,"filename":"image_26112025_04_07_49_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/26/6246eaa671a77b28013f9cc7c0d01846.jpg","text":"TemporaryFile(/tmp/multipartBody8687550004183091279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143722809,"filename":"image_26112025_04_07_55_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/26/86e330b78eb1a95c88f8f21733a2bb18.jpg","text":"TemporaryFile(/tmp/multipartBody2713502722472129198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143722809,"filename":"image_26112025_04_07_46_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396223982","file1":"1396223979","file0":"1396223975","file4":"1396223994","file5":"1396223997","file3":"1396223987"},"map_files_photo_id_array":[{"photo_id":"1396223997","filename":"file5"},{"photo_id":"1396223982","filename":"file2"},{"photo_id":"1396223994","filename":"file4"},{"photo_id":"1396223979","filename":"file1"},{"photo_id":"1396223975","filename":"file0"},{"photo_id":"1396223987","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396223994":["hashtag1","hashtag2"]},{"1396223997":["hashtag1","hashtag2"]},{"1396223982":["hashtag1","hashtag2"]},{"1396223979":["hashtag1","hashtag2"]},{"1396223987":["hashtag1","hashtag2"]},{"1396223975":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396223994, 1396223997, 1396223982, 1396223979, 1396223987, 1396223975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88214683532715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:55:03.018838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/09/image_26112025_04_09_13_2653.jpg', '/home/pi/Desktop/images/26112025/04/09/image_26112025_04_09_16_2963.jpg', '/home/pi/Desktop/images/26112025/04/09/image_26112025_04_09_19_2703.jpg', '/home/pi/Desktop/images/26112025/04/09/image_26112025_04_09_22_3699.jpg', '/home/pi/Desktop/images/26112025/04/09/image_26112025_04_09_25_2652.jpg', '/home/pi/Desktop/images/26112025/04/09/image_26112025_04_09_27_2557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/09/image_26112025_04_09_13_2653.jpg
/home/pi/Desktop/images/26112025/04/09/image_26112025_04_09_16_2963.jpg
/home/pi/Desktop/images/26112025/04/09/image_26112025_04_09_19_2703.jpg
/home/pi/Desktop/images/26112025/04/09/image_26112025_04_09_22_3699.jpg
/home/pi/Desktop/images/26112025/04/09/image_26112025_04_09_25_2652.jpg
/home/pi/Desktop/images/26112025/04/09/image_26112025_04_09_27_2557.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":["1396224001","1396224004","1396224000","1396223999","1396224002","1396224008"],"photo_ids_order":["1396223999","1396224000","1396224001","1396224002","1396224004","1396224008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e162d2b934582423439022647c5ba7ec.jpg","text":"TemporaryFile(/tmp/multipartBody4247132660060486640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143763797,"filename":"image_26112025_04_09_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/26/781275ffdef6bb618f1a700ff3dba516.jpg","text":"TemporaryFile(/tmp/multipartBody2137134340566136451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143763797,"filename":"image_26112025_04_09_25_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/26/93a745735f6ff77b41fe8d925c809276.jpg","text":"TemporaryFile(/tmp/multipartBody3907870808697013113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143763797,"filename":"image_26112025_04_09_16_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/26/491074630a6f32851712aceb73c91232.jpg","text":"TemporaryFile(/tmp/multipartBody4190618668622507459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143763797,"filename":"image_26112025_04_09_13_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/26/d8833d2c17a36f70cab8027593cb9f54.jpg","text":"TemporaryFile(/tmp/multipartBody7020048305700804325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143763797,"filename":"image_26112025_04_09_22_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/26/5d284344c0e28a0997876181dfd0ce40.jpg","text":"TemporaryFile(/tmp/multipartBody6804169895715631484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143763797,"filename":"image_26112025_04_09_27_2557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396224001","file1":"1396224000","file0":"1396223999","file4":"1396224004","file5":"1396224008","file3":"1396224002"},"map_files_photo_id_array":[{"photo_id":"1396224008","filename":"file5"},{"photo_id":"1396224001","filename":"file2"},{"photo_id":"1396224004","filename":"file4"},{"photo_id":"1396224000","filename":"file1"},{"photo_id":"1396223999","filename":"file0"},{"photo_id":"1396224002","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396224001":["hashtag1","hashtag2"]},{"1396224004":["hashtag1","hashtag2"]},{"1396224000":["hashtag1","hashtag2"]},{"1396223999":["hashtag1","hashtag2"]},{"1396224002":["hashtag1","hashtag2"]},{"1396224008":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396224001, 1396224004, 1396224000, 1396223999, 1396224002, 1396224008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55870842933655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 08:55:42.312388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/09/image_26112025_04_09_31_3563.jpg', '/home/pi/Desktop/images/26112025/04/09/image_26112025_04_09_34_2662.jpg', '/home/pi/Desktop/images/26112025/04/09/image_26112025_04_09_37_3551.jpg', '/home/pi/Desktop/images/26112025/04/09/image_26112025_04_09_40_2535.jpg', '/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_06_3011.jpg', '/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_10_3570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/09/image_26112025_04_09_31_3563.jpg
/home/pi/Desktop/images/26112025/04/09/image_26112025_04_09_34_2662.jpg
/home/pi/Desktop/images/26112025/04/09/image_26112025_04_09_37_3551.jpg
/home/pi/Desktop/images/26112025/04/09/image_26112025_04_09_40_2535.jpg
/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_06_3011.jpg
/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_10_3570.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":["1396224016","1396224019","1396224018","1396224020","1396224026","1396224034"],"photo_ids_order":["1396224016","1396224018","1396224019","1396224020","1396224026","1396224034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c6683c75698a5658a74691f481e193d5.jpg","text":"TemporaryFile(/tmp/multipartBody5812548744842548881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143802981,"filename":"image_26112025_04_09_31_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/26/6324fbe6acdd56d6aef5f130fe9fbfa6.jpg","text":"TemporaryFile(/tmp/multipartBody1139224296737308900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143802981,"filename":"image_26112025_04_09_37_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/26/097a6a9dc1cff0ba63c50185f25dd12c.jpg","text":"TemporaryFile(/tmp/multipartBody6957356157867782000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143802981,"filename":"image_26112025_04_09_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/26/c1de381ad4ce540c8a8fa32e65c40498.jpg","text":"TemporaryFile(/tmp/multipartBody3379531518567601688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143802981,"filename":"image_26112025_04_09_40_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/26/a2e2df39967ac53c6042277f4128a880.jpg","text":"TemporaryFile(/tmp/multipartBody2402856355496117294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143802981,"filename":"image_26112025_04_11_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/26/e6ee380861a375f9e9e5f23c984dd784.jpg","text":"TemporaryFile(/tmp/multipartBody4543261549940181723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143802981,"filename":"image_26112025_04_11_10_3570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396224019","file1":"1396224018","file0":"1396224016","file4":"1396224026","file5":"1396224034","file3":"1396224020"},"map_files_photo_id_array":[{"photo_id":"1396224034","filename":"file5"},{"photo_id":"1396224019","filename":"file2"},{"photo_id":"1396224026","filename":"file4"},{"photo_id":"1396224018","filename":"file1"},{"photo_id":"1396224016","filename":"file0"},{"photo_id":"1396224020","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396224016":["hashtag1","hashtag2"]},{"1396224019":["hashtag1","hashtag2"]},{"1396224018":["hashtag1","hashtag2"]},{"1396224020":["hashtag1","hashtag2"]},{"1396224026":["hashtag1","hashtag2"]},{"1396224034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396224016, 1396224019, 1396224018, 1396224020, 1396224026, 1396224034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79140877723694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 08:56:22.534686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_12_2560.jpg', '/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_16_3731.jpg', '/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_19_2596.jpg', '/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_21_2560.jpg', '/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_25_3623.jpg', '/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_28_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_12_2560.jpg
/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_16_3731.jpg
/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_19_2596.jpg
/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_21_2560.jpg
/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_25_3623.jpg
/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_28_2716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396224060","1396224054","1396224045","1396224048","1396224041","1396224058"],"photo_ids_order":["1396224041","1396224045","1396224048","1396224054","1396224058","1396224060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8ba58cd65cf903d326a99abadd3058d6.jpg","text":"TemporaryFile(/tmp/multipartBody6151981734823428521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143843231,"filename":"image_26112025_04_11_28_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eb3c98d69d4d141254be402477c3a2a7.jpg","text":"TemporaryFile(/tmp/multipartBody8511470765675814237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143843231,"filename":"image_26112025_04_11_21_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/26/932a0bd265c865a64eab8308b94503a6.jpg","text":"TemporaryFile(/tmp/multipartBody2862943949397683443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143843231,"filename":"image_26112025_04_11_16_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/26/38abace8ca93875268e8c27961b4026f.jpg","text":"TemporaryFile(/tmp/multipartBody3921694087556659437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143843231,"filename":"image_26112025_04_11_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/26/575dff5651a43ad022aa61d2eb697b36.jpg","text":"TemporaryFile(/tmp/multipartBody2572714208113052969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143843231,"filename":"image_26112025_04_11_12_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/26/0621a68f5a2869d5405c8f74f4293c23.jpg","text":"TemporaryFile(/tmp/multipartBody2216437458044409762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143843231,"filename":"image_26112025_04_11_25_3623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396224048","file1":"1396224045","file0":"1396224041","file4":"1396224058","file5":"1396224060","file3":"1396224054"},"map_files_photo_id_array":[{"photo_id":"1396224060","filename":"file5"},{"photo_id":"1396224048","filename":"file2"},{"photo_id":"1396224058","filename":"file4"},{"photo_id":"1396224045","filename":"file1"},{"photo_id":"1396224041","filename":"file0"},{"photo_id":"1396224054","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396224060":["hashtag1","hashtag2"]},{"1396224054":["hashtag1","hashtag2"]},{"1396224045":["hashtag1","hashtag2"]},{"1396224048":["hashtag1","hashtag2"]},{"1396224041":["hashtag1","hashtag2"]},{"1396224058":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396224060, 1396224054, 1396224045, 1396224048, 1396224041, 1396224058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22014784812927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:57:03.347565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_30_2705.jpg', '/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_34_3688.jpg', '/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_37_2684.jpg', '/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_39_2704.jpg', '/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_43_3606.jpg', '/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_46_2874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_30_2705.jpg
/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_34_3688.jpg
/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_37_2684.jpg
/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_39_2704.jpg
/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_43_3606.jpg
/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_46_2874.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":["1396224069","1396224063","1396224066","1396224077","1396224064","1396224073"],"photo_ids_order":["1396224063","1396224064","1396224066","1396224069","1396224073","1396224077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/86a9d3007a16d230d2b9e899031afce1.jpg","text":"TemporaryFile(/tmp/multipartBody9022275381022069560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143884151,"filename":"image_26112025_04_11_39_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/26/51705f8022d629ab5d8a049a67002f8f.jpg","text":"TemporaryFile(/tmp/multipartBody3634744486901590576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143884151,"filename":"image_26112025_04_11_30_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/26/50d7ef3ccbcddf702d5bbd9508100c2f.jpg","text":"TemporaryFile(/tmp/multipartBody5839644331050778247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143884151,"filename":"image_26112025_04_11_37_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/26/51e494c281658ba9b61b58b8b5f9f948.jpg","text":"TemporaryFile(/tmp/multipartBody6451165833235013571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143884151,"filename":"image_26112025_04_11_46_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/26/efc5f4bbc4ff642c884761b49bc49fbc.jpg","text":"TemporaryFile(/tmp/multipartBody1303208755211389421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143884151,"filename":"image_26112025_04_11_34_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/26/37f9d8915fb41ba4314a12815e9a9cbd.jpg","text":"TemporaryFile(/tmp/multipartBody3105850622431543250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143884151,"filename":"image_26112025_04_11_43_3606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396224066","file1":"1396224064","file0":"1396224063","file4":"1396224073","file5":"1396224077","file3":"1396224069"},"map_files_photo_id_array":[{"photo_id":"1396224077","filename":"file5"},{"photo_id":"1396224066","filename":"file2"},{"photo_id":"1396224073","filename":"file4"},{"photo_id":"1396224064","filename":"file1"},{"photo_id":"1396224063","filename":"file0"},{"photo_id":"1396224069","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396224069":["hashtag1","hashtag2"]},{"1396224063":["hashtag1","hashtag2"]},{"1396224066":["hashtag1","hashtag2"]},{"1396224077":["hashtag1","hashtag2"]},{"1396224064":["hashtag1","hashtag2"]},{"1396224073":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396224069, 1396224063, 1396224066, 1396224077, 1396224064, 1396224073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02502179145813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 08:57:42.650620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_48_2583.jpg', '/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_52_3629.jpg', '/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_55_2674.jpg', '/home/pi/Desktop/images/26112025/04/13/image_26112025_04_13_06_3018.jpg', '/home/pi/Desktop/images/26112025/04/13/image_26112025_04_13_10_3768.jpg', '/home/pi/Desktop/images/26112025/04/13/image_26112025_04_13_13_2558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_48_2583.jpg
/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_52_3629.jpg
/home/pi/Desktop/images/26112025/04/11/image_26112025_04_11_55_2674.jpg
/home/pi/Desktop/images/26112025/04/13/image_26112025_04_13_06_3018.jpg
/home/pi/Desktop/images/26112025/04/13/image_26112025_04_13_10_3768.jpg
/home/pi/Desktop/images/26112025/04/13/image_26112025_04_13_13_2558.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396224270","1396224217","1396224269","1396224254","1396224268","1396224184"],"photo_ids_order":["1396224184","1396224217","1396224254","1396224268","1396224269","1396224270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/af5027117762abef82185d1bb354cbdc.jpg","text":"TemporaryFile(/tmp/multipartBody206064428097270708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143923342,"filename":"image_26112025_04_13_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/26/029944987f799f215c21bad0fae65b4c.jpg","text":"TemporaryFile(/tmp/multipartBody8156981467155438307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143923342,"filename":"image_26112025_04_11_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/26/f3cf1039b933c9fc35187ebf7064d2da.jpg","text":"TemporaryFile(/tmp/multipartBody1802618792851321449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143923342,"filename":"image_26112025_04_13_10_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/26/a83bced498446e3501772d3784db52f4.jpg","text":"TemporaryFile(/tmp/multipartBody1838392944000340922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143923342,"filename":"image_26112025_04_11_55_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cb71bfc2da0a2fc46afe38be95bcbbd9.jpg","text":"TemporaryFile(/tmp/multipartBody8139974212283743699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143923342,"filename":"image_26112025_04_13_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/26/dc5ed4832d0eb40ed75f52c476bed92c.jpg","text":"TemporaryFile(/tmp/multipartBody1474624917578423700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764143923342,"filename":"image_26112025_04_11_48_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396224254","file1":"1396224217","file0":"1396224184","file4":"1396224269","file5":"1396224270","file3":"1396224268"},"map_files_photo_id_array":[{"photo_id":"1396224270","filename":"file5"},{"photo_id":"1396224254","filename":"file2"},{"photo_id":"1396224269","filename":"file4"},{"photo_id":"1396224217","filename":"file1"},{"photo_id":"1396224184","filename":"file0"},{"photo_id":"1396224268","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396224270":["hashtag1","hashtag2"]},{"1396224217":["hashtag1","hashtag2"]},{"1396224269":["hashtag1","hashtag2"]},{"1396224254":["hashtag1","hashtag2"]},{"1396224268":["hashtag1","hashtag2"]},{"1396224184":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396224270, 1396224217, 1396224269, 1396224254, 1396224268, 1396224184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.828325033187866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 08:59:03.182556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/13/image_26112025_04_13_16_3610.jpg', '/home/pi/Desktop/images/26112025/04/13/image_26112025_04_13_19_2713.jpg', '/home/pi/Desktop/images/26112025/04/13/image_26112025_04_13_22_2706.jpg', '/home/pi/Desktop/images/26112025/04/13/image_26112025_04_13_24_2810.jpg', '/home/pi/Desktop/images/26112025/04/13/image_26112025_04_13_28_3744.jpg', '/home/pi/Desktop/images/26112025/04/13/image_26112025_04_13_31_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/13/image_26112025_04_13_16_3610.jpg
/home/pi/Desktop/images/26112025/04/13/image_26112025_04_13_19_2713.jpg
/home/pi/Desktop/images/26112025/04/13/image_26112025_04_13_22_2706.jpg
/home/pi/Desktop/images/26112025/04/13/image_26112025_04_13_24_2810.jpg
/home/pi/Desktop/images/26112025/04/13/image_26112025_04_13_28_3744.jpg
/home/pi/Desktop/images/26112025/04/13/image_26112025_04_13_31_2699.jpg
 val : 1 : upload photos already in processing! 
 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":["1396224415","1396224402","1396224411","1396224395","1396224407","1396224418"],"photo_ids_order":["1396224395","1396224402","1396224407","1396224411","1396224415","1396224418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/864493bb806221bbd7a05741674157b2.jpg","text":"TemporaryFile(/tmp/multipartBody7204213707361420319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144004081,"filename":"image_26112025_04_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/26/61440394000aecc799026246126668c9.jpg","text":"TemporaryFile(/tmp/multipartBody512950252200295849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144004081,"filename":"image_26112025_04_13_19_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/26/2722feef89a7ad3e15f8688fbec938dd.jpg","text":"TemporaryFile(/tmp/multipartBody2875149033722499281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144004081,"filename":"image_26112025_04_13_24_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/26/8cbf208d92cc456d41e7508d8a5ac644.jpg","text":"TemporaryFile(/tmp/multipartBody6383749134362357412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144004081,"filename":"image_26112025_04_13_16_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/26/3c5f2bddf76b55f0daed58dc4838bcc5.jpg","text":"TemporaryFile(/tmp/multipartBody6057344770423958830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144004081,"filename":"image_26112025_04_13_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/26/a4b50f59987eb2c1a36dc5f27c42367a.jpg","text":"TemporaryFile(/tmp/multipartBody934717130375822637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144004081,"filename":"image_26112025_04_13_31_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396224407","file1":"1396224402","file0":"1396224395","file4":"1396224415","file5":"1396224418","file3":"1396224411"},"map_files_photo_id_array":[{"photo_id":"1396224418","filename":"file5"},{"photo_id":"1396224407","filename":"file2"},{"photo_id":"1396224415","filename":"file4"},{"photo_id":"1396224402","filename":"file1"},{"photo_id":"1396224395","filename":"file0"},{"photo_id":"1396224411","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396224415":["hashtag1","hashtag2"]},{"1396224402":["hashtag1","hashtag2"]},{"1396224411":["hashtag1","hashtag2"]},{"1396224395":["hashtag1","hashtag2"]},{"1396224407":["hashtag1","hashtag2"]},{"1396224418":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396224415, 1396224402, 1396224411, 1396224395, 1396224407, 1396224418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.63192629814148 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:00:02.970148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/13/image_26112025_04_13_34_2582.jpg', '/home/pi/Desktop/images/26112025/04/13/image_26112025_04_13_37_3700.jpg', '/home/pi/Desktop/images/26112025/04/13/image_26112025_04_13_40_2753.jpg', '/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_07_3011.jpg', '/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_11_3695.jpg', '/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_13_2895.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/13/image_26112025_04_13_34_2582.jpg
/home/pi/Desktop/images/26112025/04/13/image_26112025_04_13_37_3700.jpg
/home/pi/Desktop/images/26112025/04/13/image_26112025_04_13_40_2753.jpg
/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_07_3011.jpg
/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_11_3695.jpg
/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_13_2895.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":["1396224447","1396224441","1396224443","1396224449","1396224436","1396224445"],"photo_ids_order":["1396224436","1396224441","1396224443","1396224445","1396224447","1396224449"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/17c8e235fff4f046ee1fb0ce0ed4e64b.jpg","text":"TemporaryFile(/tmp/multipartBody7501480983893197023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144063678,"filename":"image_26112025_04_15_11_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c424dd211e49d75fb0bc7c93f71bfacc.jpg","text":"TemporaryFile(/tmp/multipartBody8543884909852317288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144063678,"filename":"image_26112025_04_13_37_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/26/dbb438129ddec3372224dcf96fbf250c.jpg","text":"TemporaryFile(/tmp/multipartBody8833060489307948832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144063678,"filename":"image_26112025_04_13_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/26/23e76c3b4d1fa87822dacc7299b7bec5.jpg","text":"TemporaryFile(/tmp/multipartBody870567903425184623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144063678,"filename":"image_26112025_04_15_13_2895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/542bf08c0d8df8bffe6dbab06bb4bfbf.jpg","text":"TemporaryFile(/tmp/multipartBody1239977676109667887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144063678,"filename":"image_26112025_04_13_34_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/26/074e5b37e750e853b42e80e0eb5d0aad.jpg","text":"TemporaryFile(/tmp/multipartBody740988146722584452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144063678,"filename":"image_26112025_04_15_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396224443","file1":"1396224441","file0":"1396224436","file4":"1396224447","file5":"1396224449","file3":"1396224445"},"map_files_photo_id_array":[{"photo_id":"1396224449","filename":"file5"},{"photo_id":"1396224443","filename":"file2"},{"photo_id":"1396224447","filename":"file4"},{"photo_id":"1396224441","filename":"file1"},{"photo_id":"1396224436","filename":"file0"},{"photo_id":"1396224445","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396224447":["hashtag1","hashtag2"]},{"1396224441":["hashtag1","hashtag2"]},{"1396224443":["hashtag1","hashtag2"]},{"1396224449":["hashtag1","hashtag2"]},{"1396224436":["hashtag1","hashtag2"]},{"1396224445":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396224447, 1396224441, 1396224443, 1396224449, 1396224436, 1396224445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57880997657776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 09:00:42.378039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_16_2571.jpg', '/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_20_3621.jpg', '/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_22_2588.jpg', '/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_25_2648.jpg', '/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_28_3590.jpg', '/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_34_5273.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_16_2571.jpg
/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_20_3621.jpg
/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_22_2588.jpg
/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_25_2648.jpg
/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_28_3590.jpg
/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_34_5273.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":["1396224459","1396224551","1396224515","1396224454","1396224478","1396224457"],"photo_ids_order":["1396224454","1396224457","1396224459","1396224478","1396224515","1396224551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/30a5f5eefbd6426007694b909b10cc8a.jpg","text":"TemporaryFile(/tmp/multipartBody7611904501663412468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144103074,"filename":"image_26112025_04_15_22_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4887615306aa73d879f2dd75e22ac896.jpg","text":"TemporaryFile(/tmp/multipartBody8420184854490420253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144103074,"filename":"image_26112025_04_15_34_5273.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/67830a36e931d09ee3d1d6b3c9e0ddbc.jpg","text":"TemporaryFile(/tmp/multipartBody5353769518952675435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144103074,"filename":"image_26112025_04_15_28_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/26/81e938763c2fafcdbea44e9bf7c0ccf7.jpg","text":"TemporaryFile(/tmp/multipartBody5785065394992974078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144103074,"filename":"image_26112025_04_15_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/26/9dffb5fec2ecc6e2d875a2f0f25f1ccd.jpg","text":"TemporaryFile(/tmp/multipartBody6360874620412137604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144103074,"filename":"image_26112025_04_15_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/26/1d54f7cd2cb18c8cede810d3ecb8aaeb.jpg","text":"TemporaryFile(/tmp/multipartBody6055663603780230771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144103074,"filename":"image_26112025_04_15_20_3621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396224459","file1":"1396224457","file0":"1396224454","file4":"1396224515","file5":"1396224551","file3":"1396224478"},"map_files_photo_id_array":[{"photo_id":"1396224551","filename":"file5"},{"photo_id":"1396224459","filename":"file2"},{"photo_id":"1396224515","filename":"file4"},{"photo_id":"1396224457","filename":"file1"},{"photo_id":"1396224454","filename":"file0"},{"photo_id":"1396224478","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396224459":["hashtag1","hashtag2"]},{"1396224551":["hashtag1","hashtag2"]},{"1396224515":["hashtag1","hashtag2"]},{"1396224454":["hashtag1","hashtag2"]},{"1396224478":["hashtag1","hashtag2"]},{"1396224457":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396224459, 1396224551, 1396224515, 1396224454, 1396224478, 1396224457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.615280628204346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:01:22.530025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_35_1641.jpg', '/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_37_1696.jpg', '/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_41_3618.jpg', '/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_43_2595.jpg', '/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_46_2704.jpg', '/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_50_3573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_35_1641.jpg
/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_37_1696.jpg
/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_41_3618.jpg
/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_43_2595.jpg
/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_46_2704.jpg
/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_50_3573.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":["1396224894","1396224855","1396224782","1396224818","1396224701","1396224742"],"photo_ids_order":["1396224701","1396224742","1396224782","1396224818","1396224855","1396224894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/20bc3a3b8ba1e4a02c38e3eae9315450.jpg","text":"TemporaryFile(/tmp/multipartBody7634038999426573326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144143199,"filename":"image_26112025_04_15_50_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/26/a1105f034f9182097d363d1ef4aba963.jpg","text":"TemporaryFile(/tmp/multipartBody2897725888407921644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144143199,"filename":"image_26112025_04_15_46_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/26/220074370fa8385f4a9e099d8186df30.jpg","text":"TemporaryFile(/tmp/multipartBody2010396071749649035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144143199,"filename":"image_26112025_04_15_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/26/a8630ea2a96669a344683458f9514b29.jpg","text":"TemporaryFile(/tmp/multipartBody1761896943393744439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144143199,"filename":"image_26112025_04_15_43_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/26/989fba0e4904f9cc35d40a1ead5f4cda.jpg","text":"TemporaryFile(/tmp/multipartBody2886758885237231804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144143199,"filename":"image_26112025_04_15_35_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c77887b799579c72439a1065bcef5de7.jpg","text":"TemporaryFile(/tmp/multipartBody5801591366828239724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144143199,"filename":"image_26112025_04_15_37_1696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396224782","file1":"1396224742","file0":"1396224701","file4":"1396224855","file5":"1396224894","file3":"1396224818"},"map_files_photo_id_array":[{"photo_id":"1396224894","filename":"file5"},{"photo_id":"1396224782","filename":"file2"},{"photo_id":"1396224855","filename":"file4"},{"photo_id":"1396224742","filename":"file1"},{"photo_id":"1396224701","filename":"file0"},{"photo_id":"1396224818","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396224894":["hashtag1","hashtag2"]},{"1396224855":["hashtag1","hashtag2"]},{"1396224782":["hashtag1","hashtag2"]},{"1396224818":["hashtag1","hashtag2"]},{"1396224701":["hashtag1","hashtag2"]},{"1396224742":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396224894, 1396224855, 1396224782, 1396224818, 1396224701, 1396224742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.46394348144531 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-26 09:02:13.641725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_52_2636.jpg', '/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_55_2570.jpg', '/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_58_3337.jpg', '/home/pi/Desktop/images/26112025/04/16/image_26112025_04_16_02_3626.jpg', '/home/pi/Desktop/images/26112025/04/16/image_26112025_04_16_04_2640.jpg', '/home/pi/Desktop/images/26112025/04/16/image_26112025_04_16_07_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_52_2636.jpg
/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_55_2570.jpg
/home/pi/Desktop/images/26112025/04/15/image_26112025_04_15_58_3337.jpg
/home/pi/Desktop/images/26112025/04/16/image_26112025_04_16_02_3626.jpg
/home/pi/Desktop/images/26112025/04/16/image_26112025_04_16_04_2640.jpg
/home/pi/Desktop/images/26112025/04/16/image_26112025_04_16_07_2677.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":["1396225253","1396225106","1396225141","1396225213","1396225290","1396225179"],"photo_ids_order":["1396225106","1396225141","1396225179","1396225213","1396225253","1396225290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c65b87f9b7451729be827028fb42a93f.jpg","text":"TemporaryFile(/tmp/multipartBody7305763787666855037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144194334,"filename":"image_26112025_04_16_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/26/4117d7a609c4cdfed2cdf00d3e4f35c5.jpg","text":"TemporaryFile(/tmp/multipartBody6262725942247494380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144194334,"filename":"image_26112025_04_15_52_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/540a03d540940077d0bd097fe92a6931.jpg","text":"TemporaryFile(/tmp/multipartBody1608913909714054005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144194334,"filename":"image_26112025_04_15_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/26/74da7c77fe06c4a45ba8fba50c43667c.jpg","text":"TemporaryFile(/tmp/multipartBody1198389141098973250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144194334,"filename":"image_26112025_04_16_02_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/26/26f7676c9116c728e22ceb750a114a1f.jpg","text":"TemporaryFile(/tmp/multipartBody2291975488889653176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144194334,"filename":"image_26112025_04_16_07_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/26/dda279a070b9ee4333b88b5276313b40.jpg","text":"TemporaryFile(/tmp/multipartBody875169466049292475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144194334,"filename":"image_26112025_04_15_58_3337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396225179","file1":"1396225141","file0":"1396225106","file4":"1396225253","file5":"1396225290","file3":"1396225213"},"map_files_photo_id_array":[{"photo_id":"1396225290","filename":"file5"},{"photo_id":"1396225179","filename":"file2"},{"photo_id":"1396225253","filename":"file4"},{"photo_id":"1396225141","filename":"file1"},{"photo_id":"1396225106","filename":"file0"},{"photo_id":"1396225213","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396225253":["hashtag1","hashtag2"]},{"1396225106":["hashtag1","hashtag2"]},{"1396225141":["hashtag1","hashtag2"]},{"1396225213":["hashtag1","hashtag2"]},{"1396225290":["hashtag1","hashtag2"]},{"1396225179":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396225253, 1396225106, 1396225141, 1396225213, 1396225290, 1396225179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35364103317261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:03:03.477748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/16/image_26112025_04_16_11_3644.jpg', '/home/pi/Desktop/images/26112025/04/16/image_26112025_04_16_13_2669.jpg', '/home/pi/Desktop/images/26112025/04/17/image_26112025_04_17_07_3017.jpg', '/home/pi/Desktop/images/26112025/04/17/image_26112025_04_17_11_3585.jpg', '/home/pi/Desktop/images/26112025/04/17/image_26112025_04_17_13_2783.jpg', '/home/pi/Desktop/images/26112025/04/17/image_26112025_04_17_16_2770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/16/image_26112025_04_16_11_3644.jpg
/home/pi/Desktop/images/26112025/04/16/image_26112025_04_16_13_2669.jpg
/home/pi/Desktop/images/26112025/04/17/image_26112025_04_17_07_3017.jpg
/home/pi/Desktop/images/26112025/04/17/image_26112025_04_17_11_3585.jpg
/home/pi/Desktop/images/26112025/04/17/image_26112025_04_17_13_2783.jpg
/home/pi/Desktop/images/26112025/04/17/image_26112025_04_17_16_2770.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":["1396225464","1396225365","1396225496","1396225428","1396225394","1396225364"],"photo_ids_order":["1396225364","1396225365","1396225394","1396225428","1396225464","1396225496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/32a91ab5a4a1f160081db8a17c4a3bfc.jpg","text":"TemporaryFile(/tmp/multipartBody7382302056907512330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144244265,"filename":"image_26112025_04_17_13_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/26/18e5e208c4a30931c7bafce13deae8a5.jpg","text":"TemporaryFile(/tmp/multipartBody181501704846478680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144244265,"filename":"image_26112025_04_16_13_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/26/5b9f5b86c1a416b8889987d36c905c74.jpg","text":"TemporaryFile(/tmp/multipartBody526959313867371872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144244265,"filename":"image_26112025_04_17_16_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/26/764f3f525888cb86ce238c61cad5e783.jpg","text":"TemporaryFile(/tmp/multipartBody6063637158683895388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144244265,"filename":"image_26112025_04_17_11_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/26/9baf8b5f0b506c090eae2a9a4b22994b.jpg","text":"TemporaryFile(/tmp/multipartBody3015581037863575788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144244265,"filename":"image_26112025_04_17_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/26/d9b2c9403b1f6ce61e5ab7acaee5a70b.jpg","text":"TemporaryFile(/tmp/multipartBody6978462892315224292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144244265,"filename":"image_26112025_04_16_11_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396225394","file1":"1396225365","file0":"1396225364","file4":"1396225464","file5":"1396225496","file3":"1396225428"},"map_files_photo_id_array":[{"photo_id":"1396225496","filename":"file5"},{"photo_id":"1396225394","filename":"file2"},{"photo_id":"1396225464","filename":"file4"},{"photo_id":"1396225365","filename":"file1"},{"photo_id":"1396225364","filename":"file0"},{"photo_id":"1396225428","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396225464":["hashtag1","hashtag2"]},{"1396225365":["hashtag1","hashtag2"]},{"1396225496":["hashtag1","hashtag2"]},{"1396225428":["hashtag1","hashtag2"]},{"1396225394":["hashtag1","hashtag2"]},{"1396225364":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396225464, 1396225365, 1396225496, 1396225428, 1396225394, 1396225364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23477554321289 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 09:03:42.732666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/17/image_26112025_04_17_20_3789.jpg', '/home/pi/Desktop/images/26112025/04/17/image_26112025_04_17_23_2699.jpg', '/home/pi/Desktop/images/26112025/04/17/image_26112025_04_17_25_2670.jpg', '/home/pi/Desktop/images/26112025/04/17/image_26112025_04_17_28_2654.jpg', '/home/pi/Desktop/images/26112025/04/17/image_26112025_04_17_32_3691.jpg', '/home/pi/Desktop/images/26112025/04/17/image_26112025_04_17_34_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/17/image_26112025_04_17_20_3789.jpg
/home/pi/Desktop/images/26112025/04/17/image_26112025_04_17_23_2699.jpg
/home/pi/Desktop/images/26112025/04/17/image_26112025_04_17_25_2670.jpg
/home/pi/Desktop/images/26112025/04/17/image_26112025_04_17_28_2654.jpg
/home/pi/Desktop/images/26112025/04/17/image_26112025_04_17_32_3691.jpg
/home/pi/Desktop/images/26112025/04/17/image_26112025_04_17_34_2601.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":["1396225557","1396225577","1396225550","1396225589","1396225588","1396225593"],"photo_ids_order":["1396225550","1396225557","1396225577","1396225588","1396225589","1396225593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8de295480aa32a77fa01c1cc83f0451f.jpg","text":"TemporaryFile(/tmp/multipartBody8290865049493927868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144283397,"filename":"image_26112025_04_17_23_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/26/3e5fbb3d5e1ddfaf8baf3fd5c465a51d.jpg","text":"TemporaryFile(/tmp/multipartBody5915792774808076805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144283397,"filename":"image_26112025_04_17_25_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/26/a80a236308c8eeca41cffe1968830ab2.jpg","text":"TemporaryFile(/tmp/multipartBody2652625852176261277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144283397,"filename":"image_26112025_04_17_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/26/3dd8a886cc9ab022c4b078aa79f31fbf.jpg","text":"TemporaryFile(/tmp/multipartBody3540117164024102483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144283397,"filename":"image_26112025_04_17_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/26/abb070f6f7cf530bbdbb700b95421fdd.jpg","text":"TemporaryFile(/tmp/multipartBody4616661991472359592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144283397,"filename":"image_26112025_04_17_28_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/10705b5a33bb511a338378627ff4fd65.jpg","text":"TemporaryFile(/tmp/multipartBody7050836438806060297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144283397,"filename":"image_26112025_04_17_34_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396225577","file1":"1396225557","file0":"1396225550","file4":"1396225589","file5":"1396225593","file3":"1396225588"},"map_files_photo_id_array":[{"photo_id":"1396225593","filename":"file5"},{"photo_id":"1396225577","filename":"file2"},{"photo_id":"1396225589","filename":"file4"},{"photo_id":"1396225557","filename":"file1"},{"photo_id":"1396225550","filename":"file0"},{"photo_id":"1396225588","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396225557":["hashtag1","hashtag2"]},{"1396225577":["hashtag1","hashtag2"]},{"1396225550":["hashtag1","hashtag2"]},{"1396225589":["hashtag1","hashtag2"]},{"1396225588":["hashtag1","hashtag2"]},{"1396225593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396225557, 1396225577, 1396225550, 1396225589, 1396225588, 1396225593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43221950531006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:04:21.955802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/17/image_26112025_04_17_38_3662.jpg', '/home/pi/Desktop/images/26112025/04/19/image_26112025_04_19_06_3012.jpg', '/home/pi/Desktop/images/26112025/04/19/image_26112025_04_19_10_3588.jpg', '/home/pi/Desktop/images/26112025/04/19/image_26112025_04_19_13_2686.jpg', '/home/pi/Desktop/images/26112025/04/19/image_26112025_04_19_16_3624.jpg', '/home/pi/Desktop/images/26112025/04/19/image_26112025_04_19_19_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/17/image_26112025_04_17_38_3662.jpg
/home/pi/Desktop/images/26112025/04/19/image_26112025_04_19_06_3012.jpg
/home/pi/Desktop/images/26112025/04/19/image_26112025_04_19_10_3588.jpg
/home/pi/Desktop/images/26112025/04/19/image_26112025_04_19_13_2686.jpg
/home/pi/Desktop/images/26112025/04/19/image_26112025_04_19_16_3624.jpg
/home/pi/Desktop/images/26112025/04/19/image_26112025_04_19_19_2678.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":["1396225611","1396225605","1396225608","1396225598","1396225602","1396225615"],"photo_ids_order":["1396225598","1396225602","1396225605","1396225608","1396225611","1396225615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/884c94eeacc69bbf5e104fadc405be73.jpg","text":"TemporaryFile(/tmp/multipartBody348608938665707595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144322624,"filename":"image_26112025_04_19_16_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/26/5021e5877b0d750d45fcab3db15f73cb.jpg","text":"TemporaryFile(/tmp/multipartBody4016980369291306645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144322624,"filename":"image_26112025_04_19_10_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/26/1d6c3cde042d787cade6178ad1ab1bf9.jpg","text":"TemporaryFile(/tmp/multipartBody9116878393125440502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144322624,"filename":"image_26112025_04_19_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/26/ce442dd9011276abdcd13453663ad754.jpg","text":"TemporaryFile(/tmp/multipartBody8682876117054037115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144322624,"filename":"image_26112025_04_17_38_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/26/48b6eb31a42abe73dd81e63a3fedffba.jpg","text":"TemporaryFile(/tmp/multipartBody5030757964486089971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144322624,"filename":"image_26112025_04_19_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/26/9b639018e22cd1f9caf42b7159bde400.jpg","text":"TemporaryFile(/tmp/multipartBody5732236619230895488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144322624,"filename":"image_26112025_04_19_19_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396225605","file1":"1396225602","file0":"1396225598","file4":"1396225611","file5":"1396225615","file3":"1396225608"},"map_files_photo_id_array":[{"photo_id":"1396225615","filename":"file5"},{"photo_id":"1396225605","filename":"file2"},{"photo_id":"1396225611","filename":"file4"},{"photo_id":"1396225602","filename":"file1"},{"photo_id":"1396225598","filename":"file0"},{"photo_id":"1396225608","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396225611":["hashtag1","hashtag2"]},{"1396225605":["hashtag1","hashtag2"]},{"1396225608":["hashtag1","hashtag2"]},{"1396225598":["hashtag1","hashtag2"]},{"1396225602":["hashtag1","hashtag2"]},{"1396225615":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396225611, 1396225605, 1396225608, 1396225598, 1396225602, 1396225615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5845365524292 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:05:02.907496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/19/image_26112025_04_19_21_2546.jpg', '/home/pi/Desktop/images/26112025/04/19/image_26112025_04_19_25_3760.jpg', '/home/pi/Desktop/images/26112025/04/19/image_26112025_04_19_28_2600.jpg', '/home/pi/Desktop/images/26112025/04/19/image_26112025_04_19_30_2667.jpg', '/home/pi/Desktop/images/26112025/04/19/image_26112025_04_19_34_3617.jpg', '/home/pi/Desktop/images/26112025/04/19/image_26112025_04_19_37_2851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/19/image_26112025_04_19_21_2546.jpg
/home/pi/Desktop/images/26112025/04/19/image_26112025_04_19_25_3760.jpg
/home/pi/Desktop/images/26112025/04/19/image_26112025_04_19_28_2600.jpg
/home/pi/Desktop/images/26112025/04/19/image_26112025_04_19_30_2667.jpg
/home/pi/Desktop/images/26112025/04/19/image_26112025_04_19_34_3617.jpg
/home/pi/Desktop/images/26112025/04/19/image_26112025_04_19_37_2851.jpg
 val : 1 : upload photos already in processing! 
 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":["1396225623","1396225619","1396225642","1396225624","1396225633","1396225621"],"photo_ids_order":["1396225619","1396225621","1396225623","1396225624","1396225633","1396225642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5c60402418193570c4c6708d5c38c6bf.jpg","text":"TemporaryFile(/tmp/multipartBody5376709928627727240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144363771,"filename":"image_26112025_04_19_28_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/26/5d9fdf8e15c447a4f8ad499da5c4bbd7.jpg","text":"TemporaryFile(/tmp/multipartBody7267983769937139322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144363771,"filename":"image_26112025_04_19_21_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/26/eec156bdb0e3cc10672c2b11869ab319.jpg","text":"TemporaryFile(/tmp/multipartBody9007124722722853594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144363771,"filename":"image_26112025_04_19_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/26/17e791fc23a53c4836fa2912afdc8edf.jpg","text":"TemporaryFile(/tmp/multipartBody469442682096106936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144363771,"filename":"image_26112025_04_19_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/26/926151902698a649f469079cfe8d5ff8.jpg","text":"TemporaryFile(/tmp/multipartBody717063933462335869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144363771,"filename":"image_26112025_04_19_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/26/fd933d864a50738fe272995b7a96f8b5.jpg","text":"TemporaryFile(/tmp/multipartBody2225638591201581677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144363771,"filename":"image_26112025_04_19_25_3760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396225623","file1":"1396225621","file0":"1396225619","file4":"1396225633","file5":"1396225642","file3":"1396225624"},"map_files_photo_id_array":[{"photo_id":"1396225642","filename":"file5"},{"photo_id":"1396225623","filename":"file2"},{"photo_id":"1396225633","filename":"file4"},{"photo_id":"1396225621","filename":"file1"},{"photo_id":"1396225619","filename":"file0"},{"photo_id":"1396225624","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396225623":["hashtag1","hashtag2"]},{"1396225619":["hashtag1","hashtag2"]},{"1396225642":["hashtag1","hashtag2"]},{"1396225624":["hashtag1","hashtag2"]},{"1396225633":["hashtag1","hashtag2"]},{"1396225621":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396225623, 1396225619, 1396225642, 1396225624, 1396225633, 1396225621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.25653338432312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:06:02.790897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/19/image_26112025_04_19_40_2699.jpg', '/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_10_3570.jpg', '/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_12_2575.jpg', '/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_16_3546.jpg', '/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_18_2585.jpg', '/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_21_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/19/image_26112025_04_19_40_2699.jpg
/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_10_3570.jpg
/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_12_2575.jpg
/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_16_3546.jpg
/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_18_2585.jpg
/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_21_2685.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":["1396225662","1396225656","1396225659","1396225658","1396225660","1396225666"],"photo_ids_order":["1396225656","1396225658","1396225659","1396225660","1396225662","1396225666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c3c86ca6e521ceecb0a36761db265da3.jpg","text":"TemporaryFile(/tmp/multipartBody4938972538270140786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144423558,"filename":"image_26112025_04_21_18_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/26/abe39c20b0ca4f9be3ad8f30fa8ea12e.jpg","text":"TemporaryFile(/tmp/multipartBody6786363342720750292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144423558,"filename":"image_26112025_04_19_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/26/15d639b86a8bb8a3b977f2465d5d4b76.jpg","text":"TemporaryFile(/tmp/multipartBody7192573830918598839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144423558,"filename":"image_26112025_04_21_12_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/26/92579b48e488360fa21314e19c1d002a.jpg","text":"TemporaryFile(/tmp/multipartBody3079232008759084272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144423558,"filename":"image_26112025_04_21_10_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e5bfb62fbfe8c36320e45bb4e5216d93.jpg","text":"TemporaryFile(/tmp/multipartBody8999074414661798684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144423558,"filename":"image_26112025_04_21_16_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/26/e59fac884f6665665a4051f7a2ab649a.jpg","text":"TemporaryFile(/tmp/multipartBody7415827723680827941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144423558,"filename":"image_26112025_04_21_21_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396225659","file1":"1396225658","file0":"1396225656","file4":"1396225662","file5":"1396225666","file3":"1396225660"},"map_files_photo_id_array":[{"photo_id":"1396225666","filename":"file5"},{"photo_id":"1396225659","filename":"file2"},{"photo_id":"1396225662","filename":"file4"},{"photo_id":"1396225658","filename":"file1"},{"photo_id":"1396225656","filename":"file0"},{"photo_id":"1396225660","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396225662":["hashtag1","hashtag2"]},{"1396225656":["hashtag1","hashtag2"]},{"1396225659":["hashtag1","hashtag2"]},{"1396225658":["hashtag1","hashtag2"]},{"1396225660":["hashtag1","hashtag2"]},{"1396225666":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396225662, 1396225656, 1396225659, 1396225658, 1396225660, 1396225666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09465026855469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 09:06:42.462857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_25_3690.jpg', '/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_27_2682.jpg', '/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_31_3552.jpg', '/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_34_2669.jpg', '/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_36_2676.jpg', '/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_39_2803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_25_3690.jpg
/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_27_2682.jpg
/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_31_3552.jpg
/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_34_2669.jpg
/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_36_2676.jpg
/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_39_2803.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":["1396225677","1396225676","1396225685","1396225678","1396225692","1396225674"],"photo_ids_order":["1396225674","1396225676","1396225677","1396225678","1396225685","1396225692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/81bafda6636e119cdf01311d1159395a.jpg","text":"TemporaryFile(/tmp/multipartBody485443577703615754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144463199,"filename":"image_26112025_04_21_31_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/26/14776d508e676a82e6b2c99d0b374a9f.jpg","text":"TemporaryFile(/tmp/multipartBody5542382376002111888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144463199,"filename":"image_26112025_04_21_27_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8ca3d46b9e6573a2e0d7721842af2a4f.jpg","text":"TemporaryFile(/tmp/multipartBody5390551116089700644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144463199,"filename":"image_26112025_04_21_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/26/f646d16c18d498c7d6998104aa062820.jpg","text":"TemporaryFile(/tmp/multipartBody4719261770403429410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144463199,"filename":"image_26112025_04_21_34_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/26/e100dc1e3ba47b75511914f2c8c0fbf6.jpg","text":"TemporaryFile(/tmp/multipartBody3366992538361087755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144463199,"filename":"image_26112025_04_21_39_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3887618f6e4fc6922496902fe888c1fc.jpg","text":"TemporaryFile(/tmp/multipartBody1205381962661079767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144463199,"filename":"image_26112025_04_21_25_3690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396225677","file1":"1396225676","file0":"1396225674","file4":"1396225685","file5":"1396225692","file3":"1396225678"},"map_files_photo_id_array":[{"photo_id":"1396225692","filename":"file5"},{"photo_id":"1396225677","filename":"file2"},{"photo_id":"1396225685","filename":"file4"},{"photo_id":"1396225676","filename":"file1"},{"photo_id":"1396225674","filename":"file0"},{"photo_id":"1396225678","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396225677":["hashtag1","hashtag2"]},{"1396225676":["hashtag1","hashtag2"]},{"1396225685":["hashtag1","hashtag2"]},{"1396225678":["hashtag1","hashtag2"]},{"1396225692":["hashtag1","hashtag2"]},{"1396225674":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396225677, 1396225676, 1396225685, 1396225678, 1396225692, 1396225674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.04392051696777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:07:22.569912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_43_3633.jpg', '/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_45_2499.jpg', '/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_49_3594.jpg', '/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_51_2578.jpg', '/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_54_2779.jpg', '/home/pi/Desktop/images/26112025/04/23/image_26112025_04_23_07_3019.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_43_3633.jpg
/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_45_2499.jpg
/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_49_3594.jpg
/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_51_2578.jpg
/home/pi/Desktop/images/26112025/04/21/image_26112025_04_21_54_2779.jpg
/home/pi/Desktop/images/26112025/04/23/image_26112025_04_23_07_3019.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":["1396225713","1396225715","1396225711","1396225705","1396225708","1396225702"],"photo_ids_order":["1396225702","1396225705","1396225708","1396225711","1396225713","1396225715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bdabc4b710366ca0a762f556459753f3.jpg","text":"TemporaryFile(/tmp/multipartBody5301848512398108273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144503239,"filename":"image_26112025_04_21_54_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/26/2d05914f370b7452089a9a6cf52da539.jpg","text":"TemporaryFile(/tmp/multipartBody6196878684709477846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144503239,"filename":"image_26112025_04_23_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/26/d81e9981ecc14139bd6f40f5ca7e271c.jpg","text":"TemporaryFile(/tmp/multipartBody2620781900627093407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144503239,"filename":"image_26112025_04_21_51_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/26/2cca3a4a8a6eede06603d4a1376b1245.jpg","text":"TemporaryFile(/tmp/multipartBody7577819327438790507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144503239,"filename":"image_26112025_04_21_45_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/26/9e3607944437f213b273f042598d1dce.jpg","text":"TemporaryFile(/tmp/multipartBody4959260877859271207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144503239,"filename":"image_26112025_04_21_49_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/26/0f6543adf7cd01115fc406041d5eacbf.jpg","text":"TemporaryFile(/tmp/multipartBody1871551490644819636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144503239,"filename":"image_26112025_04_21_43_3633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396225708","file1":"1396225705","file0":"1396225702","file4":"1396225713","file5":"1396225715","file3":"1396225711"},"map_files_photo_id_array":[{"photo_id":"1396225715","filename":"file5"},{"photo_id":"1396225708","filename":"file2"},{"photo_id":"1396225713","filename":"file4"},{"photo_id":"1396225705","filename":"file1"},{"photo_id":"1396225702","filename":"file0"},{"photo_id":"1396225711","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396225713":["hashtag1","hashtag2"]},{"1396225715":["hashtag1","hashtag2"]},{"1396225711":["hashtag1","hashtag2"]},{"1396225705":["hashtag1","hashtag2"]},{"1396225708":["hashtag1","hashtag2"]},{"1396225702":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396225713, 1396225715, 1396225711, 1396225705, 1396225708, 1396225702)","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: 52.65279412269592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:08:21.885355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/23/image_26112025_04_23_10_3721.jpg', '/home/pi/Desktop/images/26112025/04/23/image_26112025_04_23_13_2792.jpg', '/home/pi/Desktop/images/26112025/04/23/image_26112025_04_23_16_2655.jpg', '/home/pi/Desktop/images/26112025/04/23/image_26112025_04_23_19_3556.jpg', '/home/pi/Desktop/images/26112025/04/23/image_26112025_04_23_25_2607.jpg', '/home/pi/Desktop/images/26112025/04/23/image_26112025_04_23_28_3594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/23/image_26112025_04_23_10_3721.jpg
/home/pi/Desktop/images/26112025/04/23/image_26112025_04_23_13_2792.jpg
/home/pi/Desktop/images/26112025/04/23/image_26112025_04_23_16_2655.jpg
/home/pi/Desktop/images/26112025/04/23/image_26112025_04_23_19_3556.jpg
/home/pi/Desktop/images/26112025/04/23/image_26112025_04_23_25_2607.jpg
/home/pi/Desktop/images/26112025/04/23/image_26112025_04_23_28_3594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396225730","1396225727","1396225721","1396225724","1396225718","1396225735"],"photo_ids_order":["1396225718","1396225721","1396225724","1396225727","1396225730","1396225735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/89578dc9d5fad1fb1b7da542841459dc.jpg","text":"TemporaryFile(/tmp/multipartBody3672960278719708837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144562548,"filename":"image_26112025_04_23_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/26/ba4899121a10cb2ee1fbdd904da5b180.jpg","text":"TemporaryFile(/tmp/multipartBody1305228074057467765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144562548,"filename":"image_26112025_04_23_19_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/26/1050a3fbc0eab43dc5ce60193b7d4c67.jpg","text":"TemporaryFile(/tmp/multipartBody5624425409853055496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144562548,"filename":"image_26112025_04_23_13_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/26/1ad0e00722cd66ab45d8c0fccaabe0a6.jpg","text":"TemporaryFile(/tmp/multipartBody7399928336005672468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144562548,"filename":"image_26112025_04_23_16_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/393de559dc072c29e94c81e65087b052.jpg","text":"TemporaryFile(/tmp/multipartBody2378925697848130099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144562548,"filename":"image_26112025_04_23_10_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/26/9741030f805aefdd7d7bd2a952da41ef.jpg","text":"TemporaryFile(/tmp/multipartBody6141362249396782064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144562548,"filename":"image_26112025_04_23_28_3594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396225724","file1":"1396225721","file0":"1396225718","file4":"1396225730","file5":"1396225735","file3":"1396225727"},"map_files_photo_id_array":[{"photo_id":"1396225735","filename":"file5"},{"photo_id":"1396225724","filename":"file2"},{"photo_id":"1396225730","filename":"file4"},{"photo_id":"1396225721","filename":"file1"},{"photo_id":"1396225718","filename":"file0"},{"photo_id":"1396225727","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396225730":["hashtag1","hashtag2"]},{"1396225727":["hashtag1","hashtag2"]},{"1396225721":["hashtag1","hashtag2"]},{"1396225724":["hashtag1","hashtag2"]},{"1396225718":["hashtag1","hashtag2"]},{"1396225735":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396225730, 1396225727, 1396225721, 1396225724, 1396225718, 1396225735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31274151802063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:09:03.088920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/23/image_26112025_04_23_31_2552.jpg', '/home/pi/Desktop/images/26112025/04/23/image_26112025_04_23_35_3785.jpg', '/home/pi/Desktop/images/26112025/04/23/image_26112025_04_23_37_2587.jpg', '/home/pi/Desktop/images/26112025/04/23/image_26112025_04_23_43_3768.jpg', '/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_06_3011.jpg', '/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_10_3556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/23/image_26112025_04_23_31_2552.jpg
/home/pi/Desktop/images/26112025/04/23/image_26112025_04_23_35_3785.jpg
/home/pi/Desktop/images/26112025/04/23/image_26112025_04_23_37_2587.jpg
/home/pi/Desktop/images/26112025/04/23/image_26112025_04_23_43_3768.jpg
/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_06_3011.jpg
/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_10_3556.jpg
 val : 1 : upload photos already in processing! 
 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":["1396225755","1396225757","1396225762","1396225756","1396225765","1396225759"],"photo_ids_order":["1396225755","1396225756","1396225757","1396225759","1396225762","1396225765"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9ff73b6ccdc57cdfd27c95201fd56b89.jpg","text":"TemporaryFile(/tmp/multipartBody2419598097009250815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144605667,"filename":"image_26112025_04_23_31_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/26/59c1b0972d470cb375ce7d6d0ee16270.jpg","text":"TemporaryFile(/tmp/multipartBody2293975086837286438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144605667,"filename":"image_26112025_04_23_37_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/26/5daa627e35ab986b889df91a92d6f89c.jpg","text":"TemporaryFile(/tmp/multipartBody9054587491681346556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144605667,"filename":"image_26112025_04_25_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/26/a243c995601f1d9dd6faed62b26898a2.jpg","text":"TemporaryFile(/tmp/multipartBody5756565664323429614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144605667,"filename":"image_26112025_04_23_35_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/26/cbbcf5a8728d8151dbf5862675bb0359.jpg","text":"TemporaryFile(/tmp/multipartBody480417619653319958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144605667,"filename":"image_26112025_04_25_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/26/491a5d80eb45ecd08f925f6d6e287b85.jpg","text":"TemporaryFile(/tmp/multipartBody2853821211599060691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144605667,"filename":"image_26112025_04_23_43_3768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396225757","file1":"1396225756","file0":"1396225755","file4":"1396225762","file5":"1396225765","file3":"1396225759"},"map_files_photo_id_array":[{"photo_id":"1396225765","filename":"file5"},{"photo_id":"1396225757","filename":"file2"},{"photo_id":"1396225762","filename":"file4"},{"photo_id":"1396225756","filename":"file1"},{"photo_id":"1396225755","filename":"file0"},{"photo_id":"1396225759","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396225755":["hashtag1","hashtag2"]},{"1396225757":["hashtag1","hashtag2"]},{"1396225762":["hashtag1","hashtag2"]},{"1396225756":["hashtag1","hashtag2"]},{"1396225765":["hashtag1","hashtag2"]},{"1396225759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396225755, 1396225757, 1396225762, 1396225756, 1396225765, 1396225759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.66971564292908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:10:02.849520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_12_2570.jpg', '/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_16_3600.jpg', '/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_19_2602.jpg', '/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_21_2661.jpg', '/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_25_3678.jpg', '/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_28_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_12_2570.jpg
/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_16_3600.jpg
/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_19_2602.jpg
/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_21_2661.jpg
/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_25_3678.jpg
/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_28_2608.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":["1396225776","1396225775","1396225778","1396225780","1396225777","1396225782"],"photo_ids_order":["1396225775","1396225776","1396225777","1396225778","1396225780","1396225782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8eeaad58a7d26485d2c4deab89b9c14a.jpg","text":"TemporaryFile(/tmp/multipartBody1418041766431147203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144663601,"filename":"image_26112025_04_25_16_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/26/586e76e30988230c21991fb57422215f.jpg","text":"TemporaryFile(/tmp/multipartBody4009546764773930677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144663601,"filename":"image_26112025_04_25_12_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ba6669a869d5ad7c18aa851d5b046baf.jpg","text":"TemporaryFile(/tmp/multipartBody6799699277645722202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144663601,"filename":"image_26112025_04_25_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/26/2d8b991b85c19695ebf162cd774dec49.jpg","text":"TemporaryFile(/tmp/multipartBody5812356827598332614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144663601,"filename":"image_26112025_04_25_25_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/26/d3ce8cc49c3ad9fcc2f66a7712401488.jpg","text":"TemporaryFile(/tmp/multipartBody2541953122907595052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144663601,"filename":"image_26112025_04_25_19_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/26/2acd96480706d460c098906f32b4280a.jpg","text":"TemporaryFile(/tmp/multipartBody9000965390102652299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144663601,"filename":"image_26112025_04_25_28_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396225777","file1":"1396225776","file0":"1396225775","file4":"1396225780","file5":"1396225782","file3":"1396225778"},"map_files_photo_id_array":[{"photo_id":"1396225782","filename":"file5"},{"photo_id":"1396225777","filename":"file2"},{"photo_id":"1396225780","filename":"file4"},{"photo_id":"1396225776","filename":"file1"},{"photo_id":"1396225775","filename":"file0"},{"photo_id":"1396225778","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396225776":["hashtag1","hashtag2"]},{"1396225775":["hashtag1","hashtag2"]},{"1396225778":["hashtag1","hashtag2"]},{"1396225780":["hashtag1","hashtag2"]},{"1396225777":["hashtag1","hashtag2"]},{"1396225782":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396225776, 1396225775, 1396225778, 1396225780, 1396225777, 1396225782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.991607904434204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 09:10:42.466751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_31_3592.jpg', '/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_34_2629.jpg', '/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_40_3597.jpg', '/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_43_2542.jpg', '/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_45_2657.jpg', '/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_49_3675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_31_3592.jpg
/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_34_2629.jpg
/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_40_3597.jpg
/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_43_2542.jpg
/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_45_2657.jpg
/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_49_3675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396225815","1396225809","1396225811","1396225798","1396225817","1396225813"],"photo_ids_order":["1396225798","1396225809","1396225811","1396225813","1396225815","1396225817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f44eb010cd4bd75253083b964883c6f7.jpg","text":"TemporaryFile(/tmp/multipartBody1201153469953952826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144703227,"filename":"image_26112025_04_25_45_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/26/6029e349547d4d9a8ba9705bd3c468d9.jpg","text":"TemporaryFile(/tmp/multipartBody2635103998091265227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144703227,"filename":"image_26112025_04_25_34_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6b994ebb364e793b0dccae63268a30a8.jpg","text":"TemporaryFile(/tmp/multipartBody2342392395490604148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144703227,"filename":"image_26112025_04_25_40_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/26/5022c7fd2c91cf21af2cf322c229137c.jpg","text":"TemporaryFile(/tmp/multipartBody8355270972158425444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144703227,"filename":"image_26112025_04_25_31_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/26/fb063eb9e4ca3d57fc4121c9eeb68f24.jpg","text":"TemporaryFile(/tmp/multipartBody4395763502463083196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144703227,"filename":"image_26112025_04_25_49_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/26/693afb7a95649e29daa4ba2484205758.jpg","text":"TemporaryFile(/tmp/multipartBody3640045894009513124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144703227,"filename":"image_26112025_04_25_43_2542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396225811","file1":"1396225809","file0":"1396225798","file4":"1396225815","file5":"1396225817","file3":"1396225813"},"map_files_photo_id_array":[{"photo_id":"1396225817","filename":"file5"},{"photo_id":"1396225811","filename":"file2"},{"photo_id":"1396225815","filename":"file4"},{"photo_id":"1396225809","filename":"file1"},{"photo_id":"1396225798","filename":"file0"},{"photo_id":"1396225813","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396225815":["hashtag1","hashtag2"]},{"1396225809":["hashtag1","hashtag2"]},{"1396225811":["hashtag1","hashtag2"]},{"1396225798":["hashtag1","hashtag2"]},{"1396225817":["hashtag1","hashtag2"]},{"1396225813":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396225815, 1396225809, 1396225811, 1396225798, 1396225817, 1396225813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80413365364075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:11:22.729045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_52_2720.jpg', '/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_54_2563.jpg', '/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_58_3635.jpg', '/home/pi/Desktop/images/26112025/04/26/image_26112025_04_26_01_2650.jpg', '/home/pi/Desktop/images/26112025/04/26/image_26112025_04_26_03_2660.jpg', '/home/pi/Desktop/images/26112025/04/26/image_26112025_04_26_07_3701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_52_2720.jpg
/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_54_2563.jpg
/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_58_3635.jpg
/home/pi/Desktop/images/26112025/04/26/image_26112025_04_26_01_2650.jpg
/home/pi/Desktop/images/26112025/04/26/image_26112025_04_26_03_2660.jpg
/home/pi/Desktop/images/26112025/04/26/image_26112025_04_26_07_3701.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.5723922252655029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:11:32.596036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_52_2720.jpg', '/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_54_2563.jpg', '/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_58_3635.jpg', '/home/pi/Desktop/images/26112025/04/26/image_26112025_04_26_01_2650.jpg', '/home/pi/Desktop/images/26112025/04/26/image_26112025_04_26_03_2660.jpg', '/home/pi/Desktop/images/26112025/04/26/image_26112025_04_26_07_3701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_52_2720.jpg
/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_54_2563.jpg
/home/pi/Desktop/images/26112025/04/25/image_26112025_04_25_58_3635.jpg
/home/pi/Desktop/images/26112025/04/26/image_26112025_04_26_01_2650.jpg
/home/pi/Desktop/images/26112025/04/26/image_26112025_04_26_03_2660.jpg
/home/pi/Desktop/images/26112025/04/26/image_26112025_04_26_07_3701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396225854","1396225848","1396225836","1396225832","1396225855","1396225852"],"photo_ids_order":["1396225832","1396225836","1396225848","1396225852","1396225854","1396225855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9dfe34844ac1b0e90c04ed2f0aa8e43f.jpg","text":"TemporaryFile(/tmp/multipartBody4892942297094605801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144753291,"filename":"image_26112025_04_26_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/26/347156ba7845f9f500b2a5b329847924.jpg","text":"TemporaryFile(/tmp/multipartBody525764727758259435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144753291,"filename":"image_26112025_04_25_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/26/911992c69ee6e620c83c955835403891.jpg","text":"TemporaryFile(/tmp/multipartBody2824240217452296767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144753291,"filename":"image_26112025_04_25_54_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/26/7a9a4704c9f700cee2141a85e6c91f67.jpg","text":"TemporaryFile(/tmp/multipartBody5342741689306133087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144753291,"filename":"image_26112025_04_25_52_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/26/bcd5b93e7ab2a5d57ce927d3832e75e9.jpg","text":"TemporaryFile(/tmp/multipartBody6170163677211448425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144753291,"filename":"image_26112025_04_26_07_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/26/e1e6c7ba6193bcc611312580acf635b4.jpg","text":"TemporaryFile(/tmp/multipartBody1882096698042813310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144753291,"filename":"image_26112025_04_26_01_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396225848","file1":"1396225836","file0":"1396225832","file4":"1396225854","file5":"1396225855","file3":"1396225852"},"map_files_photo_id_array":[{"photo_id":"1396225855","filename":"file5"},{"photo_id":"1396225848","filename":"file2"},{"photo_id":"1396225854","filename":"file4"},{"photo_id":"1396225836","filename":"file1"},{"photo_id":"1396225832","filename":"file0"},{"photo_id":"1396225852","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396225854":["hashtag1","hashtag2"]},{"1396225848":["hashtag1","hashtag2"]},{"1396225836":["hashtag1","hashtag2"]},{"1396225832":["hashtag1","hashtag2"]},{"1396225855":["hashtag1","hashtag2"]},{"1396225852":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396225854, 1396225848, 1396225836, 1396225832, 1396225855, 1396225852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40632677078247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:12:11.833870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/26/image_26112025_04_26_10_2579.jpg', '/home/pi/Desktop/images/26112025/04/26/image_26112025_04_26_12_2788.jpg', '/home/pi/Desktop/images/26112025/04/26/image_26112025_04_26_16_3764.jpg', '/home/pi/Desktop/images/26112025/04/26/image_26112025_04_26_19_2754.jpg', '/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_07_3015.jpg', '/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_10_3675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/26/image_26112025_04_26_10_2579.jpg
/home/pi/Desktop/images/26112025/04/26/image_26112025_04_26_12_2788.jpg
/home/pi/Desktop/images/26112025/04/26/image_26112025_04_26_16_3764.jpg
/home/pi/Desktop/images/26112025/04/26/image_26112025_04_26_19_2754.jpg
/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_07_3015.jpg
/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_10_3675.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":["1396225857","1396225862","1396225856","1396225859","1396225868","1396225866"],"photo_ids_order":["1396225856","1396225857","1396225859","1396225862","1396225866","1396225868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0375b4b72b70b47cd70393aad723865b.jpg","text":"TemporaryFile(/tmp/multipartBody5338659824470048673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144792521,"filename":"image_26112025_04_26_12_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/26/d4c404a94fc010c210b81389cbd2d3e8.jpg","text":"TemporaryFile(/tmp/multipartBody4597826110280731920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144792521,"filename":"image_26112025_04_26_19_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/26/b66e6b7ded4140b5d3e36ed58e64e639.jpg","text":"TemporaryFile(/tmp/multipartBody826078327381588594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144792521,"filename":"image_26112025_04_26_10_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/26/0c05cc0a6cfcf91b5c2334b093055a93.jpg","text":"TemporaryFile(/tmp/multipartBody7859028683552592907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144792521,"filename":"image_26112025_04_26_16_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/26/ee5cc51072f339b81cd19f62990351e1.jpg","text":"TemporaryFile(/tmp/multipartBody7609257261490518973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144792521,"filename":"image_26112025_04_27_10_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/26/445030b4a157039e0c434760f0d2052f.jpg","text":"TemporaryFile(/tmp/multipartBody1513928578727817505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144792521,"filename":"image_26112025_04_27_07_3015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396225859","file1":"1396225857","file0":"1396225856","file4":"1396225866","file5":"1396225868","file3":"1396225862"},"map_files_photo_id_array":[{"photo_id":"1396225868","filename":"file5"},{"photo_id":"1396225859","filename":"file2"},{"photo_id":"1396225866","filename":"file4"},{"photo_id":"1396225857","filename":"file1"},{"photo_id":"1396225856","filename":"file0"},{"photo_id":"1396225862","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396225857":["hashtag1","hashtag2"]},{"1396225862":["hashtag1","hashtag2"]},{"1396225856":["hashtag1","hashtag2"]},{"1396225859":["hashtag1","hashtag2"]},{"1396225868":["hashtag1","hashtag2"]},{"1396225866":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396225857, 1396225862, 1396225856, 1396225859, 1396225868, 1396225866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.521801471710205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:13:02.876371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_13_2512.jpg', '/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_16_2849.jpg', '/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_19_3615.jpg', '/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_22_2575.jpg', '/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_25_3630.jpg', '/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_28_2543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_13_2512.jpg
/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_16_2849.jpg
/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_19_3615.jpg
/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_22_2575.jpg
/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_25_3630.jpg
/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_28_2543.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":["1396225892","1396225897","1396225891","1396225894","1396225881","1396225890"],"photo_ids_order":["1396225881","1396225890","1396225891","1396225892","1396225894","1396225897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/058ecce695246f0741e5765dc453dc67.jpg","text":"TemporaryFile(/tmp/multipartBody2973834054581339043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144843751,"filename":"image_26112025_04_27_22_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/26/cf0257b900adc970ce86f2328e0134cf.jpg","text":"TemporaryFile(/tmp/multipartBody5406958639738419667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144843751,"filename":"image_26112025_04_27_28_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/26/c9ce294a844936569aab2ebf69d67d07.jpg","text":"TemporaryFile(/tmp/multipartBody6830769110933758727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144843751,"filename":"image_26112025_04_27_19_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/26/233ee4544079f9e848a907e46147a02b.jpg","text":"TemporaryFile(/tmp/multipartBody2456405992421126221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144843751,"filename":"image_26112025_04_27_25_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/26/30ceea3b6ae3afc5f7b35158fc1044fa.jpg","text":"TemporaryFile(/tmp/multipartBody5301166135913594164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144843751,"filename":"image_26112025_04_27_13_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/26/f5182e4dafce10ee0414e8aa6889bccc.jpg","text":"TemporaryFile(/tmp/multipartBody5295794077237622292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144843751,"filename":"image_26112025_04_27_16_2849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396225891","file1":"1396225890","file0":"1396225881","file4":"1396225894","file5":"1396225897","file3":"1396225892"},"map_files_photo_id_array":[{"photo_id":"1396225897","filename":"file5"},{"photo_id":"1396225891","filename":"file2"},{"photo_id":"1396225894","filename":"file4"},{"photo_id":"1396225890","filename":"file1"},{"photo_id":"1396225881","filename":"file0"},{"photo_id":"1396225892","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396225892":["hashtag1","hashtag2"]},{"1396225897":["hashtag1","hashtag2"]},{"1396225891":["hashtag1","hashtag2"]},{"1396225894":["hashtag1","hashtag2"]},{"1396225881":["hashtag1","hashtag2"]},{"1396225890":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396225892, 1396225897, 1396225891, 1396225894, 1396225881, 1396225890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96982288360596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 09:13:42.097273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_31_2685.jpg', '/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_34_3722.jpg', '/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_37_2513.jpg', '/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_40_3553.jpg', '/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_43_2799.jpg', '/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_46_2544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_31_2685.jpg
/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_34_3722.jpg
/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_37_2513.jpg
/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_40_3553.jpg
/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_43_2799.jpg
/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_46_2544.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":["1396225914","1396225911","1396225910","1396225913","1396225907","1396225912"],"photo_ids_order":["1396225907","1396225910","1396225911","1396225912","1396225913","1396225914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ad0764027a9a9f5e910a7d548d1dd3c9.jpg","text":"TemporaryFile(/tmp/multipartBody631063064595133532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144882774,"filename":"image_26112025_04_27_46_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/26/fdd01a18b69f515d9696e9395a14c238.jpg","text":"TemporaryFile(/tmp/multipartBody8269456951555824103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144882774,"filename":"image_26112025_04_27_37_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/26/f1ca20ae411c8f30bba76f0e8814f96b.jpg","text":"TemporaryFile(/tmp/multipartBody468225128324710075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144882774,"filename":"image_26112025_04_27_34_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/26/58fd560a4aa718026bf2d7bf399348e5.jpg","text":"TemporaryFile(/tmp/multipartBody6544509961308473035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144882774,"filename":"image_26112025_04_27_43_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/26/068e32485e711d8fd8deb7f67e892cdd.jpg","text":"TemporaryFile(/tmp/multipartBody1665178209873045836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144882774,"filename":"image_26112025_04_27_31_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/26/f56d8839c4f7223a7e515414090d5e37.jpg","text":"TemporaryFile(/tmp/multipartBody3304058623453964164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144882774,"filename":"image_26112025_04_27_40_3553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396225911","file1":"1396225910","file0":"1396225907","file4":"1396225913","file5":"1396225914","file3":"1396225912"},"map_files_photo_id_array":[{"photo_id":"1396225914","filename":"file5"},{"photo_id":"1396225911","filename":"file2"},{"photo_id":"1396225913","filename":"file4"},{"photo_id":"1396225910","filename":"file1"},{"photo_id":"1396225907","filename":"file0"},{"photo_id":"1396225912","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396225914":["hashtag1","hashtag2"]},{"1396225911":["hashtag1","hashtag2"]},{"1396225910":["hashtag1","hashtag2"]},{"1396225913":["hashtag1","hashtag2"]},{"1396225907":["hashtag1","hashtag2"]},{"1396225912":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396225914, 1396225911, 1396225910, 1396225913, 1396225907, 1396225912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.536691188812256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:14:22.440483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_49_3514.jpg', '/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_52_2517.jpg', '/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_54_2646.jpg', '/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_58_3595.jpg', '/home/pi/Desktop/images/26112025/04/28/image_26112025_04_28_01_2607.jpg', '/home/pi/Desktop/images/26112025/04/28/image_26112025_04_28_04_3596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_49_3514.jpg
/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_52_2517.jpg
/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_54_2646.jpg
/home/pi/Desktop/images/26112025/04/27/image_26112025_04_27_58_3595.jpg
/home/pi/Desktop/images/26112025/04/28/image_26112025_04_28_01_2607.jpg
/home/pi/Desktop/images/26112025/04/28/image_26112025_04_28_04_3596.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":["1396225932","1396225926","1396225935","1396225921","1396225930","1396225918"],"photo_ids_order":["1396225918","1396225921","1396225926","1396225930","1396225932","1396225935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c331c40f174de6001cf350911e71d475.jpg","text":"TemporaryFile(/tmp/multipartBody1434519861110505459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144923153,"filename":"image_26112025_04_28_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/26/7b9833363085fc12a5a7f24c35c86064.jpg","text":"TemporaryFile(/tmp/multipartBody2799478445505696089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144923153,"filename":"image_26112025_04_27_54_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/26/074ae32fba7892a14eb6b4a043b0b5d6.jpg","text":"TemporaryFile(/tmp/multipartBody5317121483035642791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144923153,"filename":"image_26112025_04_28_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/26/bf6bded9dd3afb35756d86d70536449b.jpg","text":"TemporaryFile(/tmp/multipartBody7293587318774068435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144923153,"filename":"image_26112025_04_27_52_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/26/ecef7b9f3e18aae665a5c8fc0deea80f.jpg","text":"TemporaryFile(/tmp/multipartBody6422120968945864425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144923153,"filename":"image_26112025_04_27_58_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/26/4537fa2ac760e025c3bbadb1e5b0a435.jpg","text":"TemporaryFile(/tmp/multipartBody2622377686269518293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144923153,"filename":"image_26112025_04_27_49_3514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396225926","file1":"1396225921","file0":"1396225918","file4":"1396225932","file5":"1396225935","file3":"1396225930"},"map_files_photo_id_array":[{"photo_id":"1396225935","filename":"file5"},{"photo_id":"1396225926","filename":"file2"},{"photo_id":"1396225932","filename":"file4"},{"photo_id":"1396225921","filename":"file1"},{"photo_id":"1396225918","filename":"file0"},{"photo_id":"1396225930","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396225932":["hashtag1","hashtag2"]},{"1396225926":["hashtag1","hashtag2"]},{"1396225935":["hashtag1","hashtag2"]},{"1396225921":["hashtag1","hashtag2"]},{"1396225930":["hashtag1","hashtag2"]},{"1396225918":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396225932, 1396225926, 1396225935, 1396225921, 1396225930, 1396225918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91282677650452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:15:03.335891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/28/image_26112025_04_28_07_2765.jpg', '/home/pi/Desktop/images/26112025/04/28/image_26112025_04_28_10_2517.jpg', '/home/pi/Desktop/images/26112025/04/28/image_26112025_04_28_13_3635.jpg', '/home/pi/Desktop/images/26112025/04/28/image_26112025_04_28_16_2604.jpg', '/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_07_3016.jpg', '/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_11_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/28/image_26112025_04_28_07_2765.jpg
/home/pi/Desktop/images/26112025/04/28/image_26112025_04_28_10_2517.jpg
/home/pi/Desktop/images/26112025/04/28/image_26112025_04_28_13_3635.jpg
/home/pi/Desktop/images/26112025/04/28/image_26112025_04_28_16_2604.jpg
/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_07_3016.jpg
/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_11_3676.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":["1396225938","1396225937","1396225940","1396225942","1396225945","1396225939"],"photo_ids_order":["1396225937","1396225938","1396225939","1396225940","1396225942","1396225945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9d90af1311e8a4798ac9157c654e7ba5.jpg","text":"TemporaryFile(/tmp/multipartBody993951767068627606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144964089,"filename":"image_26112025_04_28_10_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/26/369e889d46e76134abad01c54cb72aa0.jpg","text":"TemporaryFile(/tmp/multipartBody4061970919238368525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144964089,"filename":"image_26112025_04_28_07_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/26/4b7236eb4d842499f78db432c9e345a1.jpg","text":"TemporaryFile(/tmp/multipartBody3160559421879335523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144964089,"filename":"image_26112025_04_28_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/26/32a4babe41c835fc95289f97d539fc69.jpg","text":"TemporaryFile(/tmp/multipartBody2049649920990223135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144964089,"filename":"image_26112025_04_29_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/26/2db0f0ef6aa182d792f5753c8cf15008.jpg","text":"TemporaryFile(/tmp/multipartBody8034587345172368462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144964089,"filename":"image_26112025_04_29_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/26/8b41cdf05024151963cad52cbbf20e98.jpg","text":"TemporaryFile(/tmp/multipartBody2918453384666762830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764144964089,"filename":"image_26112025_04_28_13_3635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396225939","file1":"1396225938","file0":"1396225937","file4":"1396225942","file5":"1396225945","file3":"1396225940"},"map_files_photo_id_array":[{"photo_id":"1396225945","filename":"file5"},{"photo_id":"1396225939","filename":"file2"},{"photo_id":"1396225942","filename":"file4"},{"photo_id":"1396225938","filename":"file1"},{"photo_id":"1396225937","filename":"file0"},{"photo_id":"1396225940","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396225938":["hashtag1","hashtag2"]},{"1396225937":["hashtag1","hashtag2"]},{"1396225940":["hashtag1","hashtag2"]},{"1396225942":["hashtag1","hashtag2"]},{"1396225945":["hashtag1","hashtag2"]},{"1396225939":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396225938, 1396225937, 1396225940, 1396225942, 1396225945, 1396225939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31873273849487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 09:15:42.528399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_13_2600.jpg', '/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_16_2850.jpg', '/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_20_3691.jpg', '/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_23_2667.jpg', '/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_25_2594.jpg', '/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_29_3670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_13_2600.jpg
/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_16_2850.jpg
/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_20_3691.jpg
/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_23_2667.jpg
/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_25_2594.jpg
/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_29_3670.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":["1396225967","1396225955","1396225964","1396225958","1396225966","1396225957"],"photo_ids_order":["1396225955","1396225957","1396225958","1396225964","1396225966","1396225967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1e28d5263d4fae12957ca918901c4e21.jpg","text":"TemporaryFile(/tmp/multipartBody5918356859468605512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145003199,"filename":"image_26112025_04_29_29_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/26/1097727fbe9a65ad4d5315e46d2549ca.jpg","text":"TemporaryFile(/tmp/multipartBody8358499490381105218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145003199,"filename":"image_26112025_04_29_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/26/5c22782f8eafb43f89d095b6bd7b5277.jpg","text":"TemporaryFile(/tmp/multipartBody1186801690252064266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145003199,"filename":"image_26112025_04_29_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/26/b1422d00cae1af44ee4dfb3426e6521a.jpg","text":"TemporaryFile(/tmp/multipartBody1817542977490495181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145003199,"filename":"image_26112025_04_29_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/26/adf922259d0fe09142880f12bf9b26a6.jpg","text":"TemporaryFile(/tmp/multipartBody4435110525919609754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145003199,"filename":"image_26112025_04_29_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/26/c60d34f3502088e408bc8ec268b766a3.jpg","text":"TemporaryFile(/tmp/multipartBody7596045785338078531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145003199,"filename":"image_26112025_04_29_16_2850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396225958","file1":"1396225957","file0":"1396225955","file4":"1396225966","file5":"1396225967","file3":"1396225964"},"map_files_photo_id_array":[{"photo_id":"1396225967","filename":"file5"},{"photo_id":"1396225958","filename":"file2"},{"photo_id":"1396225966","filename":"file4"},{"photo_id":"1396225957","filename":"file1"},{"photo_id":"1396225955","filename":"file0"},{"photo_id":"1396225964","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396225967":["hashtag1","hashtag2"]},{"1396225955":["hashtag1","hashtag2"]},{"1396225964":["hashtag1","hashtag2"]},{"1396225958":["hashtag1","hashtag2"]},{"1396225966":["hashtag1","hashtag2"]},{"1396225957":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396225967, 1396225955, 1396225964, 1396225958, 1396225966, 1396225957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62750840187073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:16:22.744620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_31_2650.jpg', '/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_34_2663.jpg', '/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_38_3615.jpg', '/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_40_2551.jpg', '/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_44_3642.jpg', '/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_47_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_31_2650.jpg
/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_34_2663.jpg
/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_38_3615.jpg
/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_40_2551.jpg
/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_44_3642.jpg
/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_47_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":["1396225973","1396225970","1396225987","1396225980","1396225983","1396225977"],"photo_ids_order":["1396225970","1396225973","1396225977","1396225980","1396225983","1396225987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8d5eb19e04a61d29465a1ffb979aaf64.jpg","text":"TemporaryFile(/tmp/multipartBody2484557824181778651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145043443,"filename":"image_26112025_04_29_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/26/737625a1b89b622d806053bf69e08b63.jpg","text":"TemporaryFile(/tmp/multipartBody1000661012580653157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145043443,"filename":"image_26112025_04_29_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/26/dfd5764071e12a2a17f3cd9476b34736.jpg","text":"TemporaryFile(/tmp/multipartBody4552604071330197377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145043443,"filename":"image_26112025_04_29_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/26/a92b49274d4caa9cad15764e802a8163.jpg","text":"TemporaryFile(/tmp/multipartBody2324874308262244902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145043443,"filename":"image_26112025_04_29_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/26/71bcac6127271a2bdeebb87d275e6961.jpg","text":"TemporaryFile(/tmp/multipartBody8642315705115513538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145043443,"filename":"image_26112025_04_29_44_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/26/588d6e35daf4a6296a7638af6fcf4084.jpg","text":"TemporaryFile(/tmp/multipartBody827068386918372479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145043443,"filename":"image_26112025_04_29_38_3615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396225977","file1":"1396225973","file0":"1396225970","file4":"1396225983","file5":"1396225987","file3":"1396225980"},"map_files_photo_id_array":[{"photo_id":"1396225987","filename":"file5"},{"photo_id":"1396225977","filename":"file2"},{"photo_id":"1396225983","filename":"file4"},{"photo_id":"1396225973","filename":"file1"},{"photo_id":"1396225970","filename":"file0"},{"photo_id":"1396225980","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396225973":["hashtag1","hashtag2"]},{"1396225970":["hashtag1","hashtag2"]},{"1396225987":["hashtag1","hashtag2"]},{"1396225980":["hashtag1","hashtag2"]},{"1396225983":["hashtag1","hashtag2"]},{"1396225977":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396225973, 1396225970, 1396225987, 1396225980, 1396225983, 1396225977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9637885093689 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:17:02.754078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_49_2825.jpg', '/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_52_2614.jpg', '/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_56_3600.jpg', '/home/pi/Desktop/images/26112025/04/31/image_26112025_04_31_06_3012.jpg', '/home/pi/Desktop/images/26112025/04/31/image_26112025_04_31_10_3522.jpg', '/home/pi/Desktop/images/26112025/04/31/image_26112025_04_31_12_2624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_49_2825.jpg
/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_52_2614.jpg
/home/pi/Desktop/images/26112025/04/29/image_26112025_04_29_56_3600.jpg
/home/pi/Desktop/images/26112025/04/31/image_26112025_04_31_06_3012.jpg
/home/pi/Desktop/images/26112025/04/31/image_26112025_04_31_10_3522.jpg
/home/pi/Desktop/images/26112025/04/31/image_26112025_04_31_12_2624.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":["1396225994","1396225997","1396226006","1396226011","1396225995","1396225992"],"photo_ids_order":["1396225992","1396225994","1396225995","1396225997","1396226006","1396226011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0cdc8810a86511d708294544d4f19b0e.jpg","text":"TemporaryFile(/tmp/multipartBody5555562210592740696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145083534,"filename":"image_26112025_04_29_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/26/3aff8aede421f985a24ca28f33cb6c1f.jpg","text":"TemporaryFile(/tmp/multipartBody1864445034371279068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145083534,"filename":"image_26112025_04_31_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/26/92d2de1b443af253daa3d59abb19b9fa.jpg","text":"TemporaryFile(/tmp/multipartBody4481551402980518558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145083534,"filename":"image_26112025_04_31_10_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/26/bf03a6563ddfb041624650898ab5d8a2.jpg","text":"TemporaryFile(/tmp/multipartBody1567826058031711545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145083534,"filename":"image_26112025_04_31_12_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/26/0d3ac04b76bfc68af4212c87f6a88363.jpg","text":"TemporaryFile(/tmp/multipartBody6081196913473796404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145083534,"filename":"image_26112025_04_29_56_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/26/dc188b370518f36b195689f21d69716a.jpg","text":"TemporaryFile(/tmp/multipartBody978980509303694162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145083534,"filename":"image_26112025_04_29_49_2825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396225995","file1":"1396225994","file0":"1396225992","file4":"1396226006","file5":"1396226011","file3":"1396225997"},"map_files_photo_id_array":[{"photo_id":"1396226011","filename":"file5"},{"photo_id":"1396225995","filename":"file2"},{"photo_id":"1396226006","filename":"file4"},{"photo_id":"1396225994","filename":"file1"},{"photo_id":"1396225992","filename":"file0"},{"photo_id":"1396225997","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396225994":["hashtag1","hashtag2"]},{"1396225997":["hashtag1","hashtag2"]},{"1396226006":["hashtag1","hashtag2"]},{"1396226011":["hashtag1","hashtag2"]},{"1396225995":["hashtag1","hashtag2"]},{"1396225992":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396225994, 1396225997, 1396226006, 1396226011, 1396225995, 1396225992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.361889362335205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 09:17:41.929732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/31/image_26112025_04_31_16_3567.jpg', '/home/pi/Desktop/images/26112025/04/31/image_26112025_04_31_18_2530.jpg', '/home/pi/Desktop/images/26112025/04/31/image_26112025_04_31_22_3604.jpg', '/home/pi/Desktop/images/26112025/04/31/image_26112025_04_31_25_2572.jpg', '/home/pi/Desktop/images/26112025/04/31/image_26112025_04_31_28_3516.jpg', '/home/pi/Desktop/images/26112025/04/31/image_26112025_04_31_31_2573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/31/image_26112025_04_31_16_3567.jpg
/home/pi/Desktop/images/26112025/04/31/image_26112025_04_31_18_2530.jpg
/home/pi/Desktop/images/26112025/04/31/image_26112025_04_31_22_3604.jpg
/home/pi/Desktop/images/26112025/04/31/image_26112025_04_31_25_2572.jpg
/home/pi/Desktop/images/26112025/04/31/image_26112025_04_31_28_3516.jpg
/home/pi/Desktop/images/26112025/04/31/image_26112025_04_31_31_2573.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":["1396226030","1396226033","1396226020","1396226023","1396226026","1396226028"],"photo_ids_order":["1396226020","1396226023","1396226026","1396226028","1396226030","1396226033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/75639cdccebeb87412d7e4ba70ef410d.jpg","text":"TemporaryFile(/tmp/multipartBody7528116765248716145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145122595,"filename":"image_26112025_04_31_28_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/26/a6a4eca643bf943fd6c6d151d55e1b50.jpg","text":"TemporaryFile(/tmp/multipartBody8590074240148531276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145122595,"filename":"image_26112025_04_31_31_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/26/78d11e6ed0a35d379529290816f4897d.jpg","text":"TemporaryFile(/tmp/multipartBody6626414621419773511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145122595,"filename":"image_26112025_04_31_16_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/26/c9ea542ee7178954b8acc21349442ae6.jpg","text":"TemporaryFile(/tmp/multipartBody8632144349734992478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145122595,"filename":"image_26112025_04_31_18_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/26/fedcdb856e5ca22870acf74369e2410a.jpg","text":"TemporaryFile(/tmp/multipartBody6995647332821705647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145122595,"filename":"image_26112025_04_31_22_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/26/6abd2df558d687c2459080d02b2813de.jpg","text":"TemporaryFile(/tmp/multipartBody3861888467481177204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145122595,"filename":"image_26112025_04_31_25_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226026","file1":"1396226023","file0":"1396226020","file4":"1396226030","file5":"1396226033","file3":"1396226028"},"map_files_photo_id_array":[{"photo_id":"1396226033","filename":"file5"},{"photo_id":"1396226026","filename":"file2"},{"photo_id":"1396226030","filename":"file4"},{"photo_id":"1396226023","filename":"file1"},{"photo_id":"1396226020","filename":"file0"},{"photo_id":"1396226028","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226030":["hashtag1","hashtag2"]},{"1396226033":["hashtag1","hashtag2"]},{"1396226020":["hashtag1","hashtag2"]},{"1396226023":["hashtag1","hashtag2"]},{"1396226026":["hashtag1","hashtag2"]},{"1396226028":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226030, 1396226033, 1396226020, 1396226023, 1396226026, 1396226028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17555522918701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:18:22.854911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/31/image_26112025_04_31_33_2780.jpg', '/home/pi/Desktop/images/26112025/04/31/image_26112025_04_31_36_2999.jpg', '/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_07_3012.jpg', '/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_11_3778.jpg', '/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_13_2695.jpg', '/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_16_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/31/image_26112025_04_31_33_2780.jpg
/home/pi/Desktop/images/26112025/04/31/image_26112025_04_31_36_2999.jpg
/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_07_3012.jpg
/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_11_3778.jpg
/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_13_2695.jpg
/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_16_2665.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":["1396226050","1396226047","1396226041","1396226044","1396226038","1396226049"],"photo_ids_order":["1396226038","1396226041","1396226044","1396226047","1396226049","1396226050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/32d51ac25f54823e7d9e9fa875a09e0c.jpg","text":"TemporaryFile(/tmp/multipartBody3521235169760793562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145163590,"filename":"image_26112025_04_33_16_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/26/7b13362a91da2e5bb97786039f9a7e3e.jpg","text":"TemporaryFile(/tmp/multipartBody5595782397277313249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145163590,"filename":"image_26112025_04_33_11_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/26/d8454744cc189e993e3875c3ec906de3.jpg","text":"TemporaryFile(/tmp/multipartBody315482505695721151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145163590,"filename":"image_26112025_04_31_36_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/26/1f812924b4c02c747ee2724e59e169e6.jpg","text":"TemporaryFile(/tmp/multipartBody6184119748183157276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145163590,"filename":"image_26112025_04_33_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/26/f918ed04efd4fa3efc3b1183ee35f603.jpg","text":"TemporaryFile(/tmp/multipartBody5594123051402086722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145163590,"filename":"image_26112025_04_31_33_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/26/2b33788ff6850620258608a60b0a2990.jpg","text":"TemporaryFile(/tmp/multipartBody2895514972684353933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145163590,"filename":"image_26112025_04_33_13_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226044","file1":"1396226041","file0":"1396226038","file4":"1396226049","file5":"1396226050","file3":"1396226047"},"map_files_photo_id_array":[{"photo_id":"1396226050","filename":"file5"},{"photo_id":"1396226044","filename":"file2"},{"photo_id":"1396226049","filename":"file4"},{"photo_id":"1396226041","filename":"file1"},{"photo_id":"1396226038","filename":"file0"},{"photo_id":"1396226047","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226050":["hashtag1","hashtag2"]},{"1396226047":["hashtag1","hashtag2"]},{"1396226041":["hashtag1","hashtag2"]},{"1396226044":["hashtag1","hashtag2"]},{"1396226038":["hashtag1","hashtag2"]},{"1396226049":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226050, 1396226047, 1396226041, 1396226044, 1396226038, 1396226049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.829188108444214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:19:03.009972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_20_3542.jpg', '/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_22_2509.jpg', '/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_26_3591.jpg', '/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_28_2586.jpg', '/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_32_3510.jpg', '/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_34_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_20_3542.jpg
/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_22_2509.jpg
/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_26_3591.jpg
/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_28_2586.jpg
/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_32_3510.jpg
/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_34_2680.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":["1396226054","1396226051","1396226053","1396226061","1396226058","1396226055"],"photo_ids_order":["1396226051","1396226053","1396226054","1396226055","1396226058","1396226061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e825445491f8aaabd9fb16e492822d15.jpg","text":"TemporaryFile(/tmp/multipartBody5567686588084221665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145203850,"filename":"image_26112025_04_33_26_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/924980ce29fc547e71f5413ff8d28b8a.jpg","text":"TemporaryFile(/tmp/multipartBody8255321691456439156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145203850,"filename":"image_26112025_04_33_20_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/26/d9df4d643029d835da19894f27ede5bc.jpg","text":"TemporaryFile(/tmp/multipartBody5364888149775437305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145203850,"filename":"image_26112025_04_33_22_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/26/811c9809067bff7e93cb6aab89d0320d.jpg","text":"TemporaryFile(/tmp/multipartBody2051988915510303276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145203850,"filename":"image_26112025_04_33_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/26/a4478cffd7ff5a571c5271e2973cb7a4.jpg","text":"TemporaryFile(/tmp/multipartBody3924833939450099953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145203850,"filename":"image_26112025_04_33_32_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/26/85b0b5bf9f092ed2e5b304075d4975b2.jpg","text":"TemporaryFile(/tmp/multipartBody4048178151833575632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145203850,"filename":"image_26112025_04_33_28_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226054","file1":"1396226053","file0":"1396226051","file4":"1396226058","file5":"1396226061","file3":"1396226055"},"map_files_photo_id_array":[{"photo_id":"1396226061","filename":"file5"},{"photo_id":"1396226054","filename":"file2"},{"photo_id":"1396226058","filename":"file4"},{"photo_id":"1396226053","filename":"file1"},{"photo_id":"1396226051","filename":"file0"},{"photo_id":"1396226055","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226054":["hashtag1","hashtag2"]},{"1396226051":["hashtag1","hashtag2"]},{"1396226053":["hashtag1","hashtag2"]},{"1396226061":["hashtag1","hashtag2"]},{"1396226058":["hashtag1","hashtag2"]},{"1396226055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226054, 1396226051, 1396226053, 1396226061, 1396226058, 1396226055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36936283111572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 09:19:42.074680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_40_2665.jpg', '/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_44_3689.jpg', '/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_46_2636.jpg', '/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_49_2619.jpg', '/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_53_3800.jpg', '/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_55_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_40_2665.jpg
/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_44_3689.jpg
/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_46_2636.jpg
/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_49_2619.jpg
/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_53_3800.jpg
/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_55_2737.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":["1396226072","1396226075","1396226077","1396226074","1396226068","1396226073"],"photo_ids_order":["1396226068","1396226072","1396226073","1396226074","1396226075","1396226077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8452dac5128a4b93621875147c84da76.jpg","text":"TemporaryFile(/tmp/multipartBody9149986126602266058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145242746,"filename":"image_26112025_04_33_44_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/26/b45ab71f60837b8a51fc91d9c1a6dec9.jpg","text":"TemporaryFile(/tmp/multipartBody1920914616091968113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145242746,"filename":"image_26112025_04_33_53_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/26/0acd79fe0a23effbb651529c20e62845.jpg","text":"TemporaryFile(/tmp/multipartBody1447428947066292212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145242746,"filename":"image_26112025_04_33_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/26/31865aab101282d05892587e05938d19.jpg","text":"TemporaryFile(/tmp/multipartBody5017905843681504700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145242746,"filename":"image_26112025_04_33_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/26/06b8263a3e3bdb4ba9740d6b877e7304.jpg","text":"TemporaryFile(/tmp/multipartBody5483051033998150811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145242746,"filename":"image_26112025_04_33_40_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/26/bc1bd59b089952910968d84c42d7bd3e.jpg","text":"TemporaryFile(/tmp/multipartBody3213753131832186903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145242746,"filename":"image_26112025_04_33_46_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226073","file1":"1396226072","file0":"1396226068","file4":"1396226075","file5":"1396226077","file3":"1396226074"},"map_files_photo_id_array":[{"photo_id":"1396226077","filename":"file5"},{"photo_id":"1396226073","filename":"file2"},{"photo_id":"1396226075","filename":"file4"},{"photo_id":"1396226072","filename":"file1"},{"photo_id":"1396226068","filename":"file0"},{"photo_id":"1396226074","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226072":["hashtag1","hashtag2"]},{"1396226075":["hashtag1","hashtag2"]},{"1396226077":["hashtag1","hashtag2"]},{"1396226074":["hashtag1","hashtag2"]},{"1396226068":["hashtag1","hashtag2"]},{"1396226073":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226072, 1396226075, 1396226077, 1396226074, 1396226068, 1396226073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.523686170578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:20:22.341420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_58_2577.jpg', '/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_07_3011.jpg', '/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_10_3565.jpg', '/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_13_2683.jpg', '/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_17_3623.jpg', '/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_19_2776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/33/image_26112025_04_33_58_2577.jpg
/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_07_3011.jpg
/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_10_3565.jpg
/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_13_2683.jpg
/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_17_3623.jpg
/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_19_2776.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":["1396226090","1396226093","1396226087","1396226084","1396226095","1396226080"],"photo_ids_order":["1396226080","1396226084","1396226087","1396226090","1396226093","1396226095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/45f8884c929fb2b6e2447bee9c702083.jpg","text":"TemporaryFile(/tmp/multipartBody478126669846608972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145283084,"filename":"image_26112025_04_35_13_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/26/85b622975e52da92b290db72c84715ca.jpg","text":"TemporaryFile(/tmp/multipartBody1910949751256946268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145283084,"filename":"image_26112025_04_35_17_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/26/27bd51e6bd7630cb324aa2a3ad9d7289.jpg","text":"TemporaryFile(/tmp/multipartBody5937278546989090453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145283084,"filename":"image_26112025_04_35_10_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/26/fd504de62de0128d99b2792fd90ba621.jpg","text":"TemporaryFile(/tmp/multipartBody5185505911082265981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145283084,"filename":"image_26112025_04_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/26/1bda2d4a5913330730c1dbbe60da906a.jpg","text":"TemporaryFile(/tmp/multipartBody3871512318836401479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145283084,"filename":"image_26112025_04_35_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/26/1d096c32bf6d24e00a7ac22db40537a5.jpg","text":"TemporaryFile(/tmp/multipartBody4187268144636778156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145283084,"filename":"image_26112025_04_33_58_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226087","file1":"1396226084","file0":"1396226080","file4":"1396226093","file5":"1396226095","file3":"1396226090"},"map_files_photo_id_array":[{"photo_id":"1396226095","filename":"file5"},{"photo_id":"1396226087","filename":"file2"},{"photo_id":"1396226093","filename":"file4"},{"photo_id":"1396226084","filename":"file1"},{"photo_id":"1396226080","filename":"file0"},{"photo_id":"1396226090","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226090":["hashtag1","hashtag2"]},{"1396226093":["hashtag1","hashtag2"]},{"1396226087":["hashtag1","hashtag2"]},{"1396226084":["hashtag1","hashtag2"]},{"1396226095":["hashtag1","hashtag2"]},{"1396226080":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226090, 1396226093, 1396226087, 1396226084, 1396226095, 1396226080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69891977310181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:21:03.248635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_22_2573.jpg', '/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_26_3617.jpg', '/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_28_2641.jpg', '/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_31_2643.jpg', '/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_35_3674.jpg', '/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_37_2552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_22_2573.jpg
/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_26_3617.jpg
/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_28_2641.jpg
/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_31_2643.jpg
/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_35_3674.jpg
/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_37_2552.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":["1396226117","1396226111","1396226114","1396226108","1396226110","1396226112"],"photo_ids_order":["1396226108","1396226110","1396226111","1396226112","1396226114","1396226117"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/70eaee3ce080452f72725407da4a031d.jpg","text":"TemporaryFile(/tmp/multipartBody7933869572041322911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145323980,"filename":"image_26112025_04_35_37_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/26/cea0d0fc5c1ce5d2ee29d4281e98638e.jpg","text":"TemporaryFile(/tmp/multipartBody2090048725423133504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145323980,"filename":"image_26112025_04_35_28_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/26/b9eab94c646d0935ef1c11e501a88175.jpg","text":"TemporaryFile(/tmp/multipartBody8215064454262799913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145323980,"filename":"image_26112025_04_35_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/26/50b1b608d2deaeb341de5c7e7420cb44.jpg","text":"TemporaryFile(/tmp/multipartBody6909942084194185130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145323980,"filename":"image_26112025_04_35_22_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/26/0df34920cd5f827b7997283718904333.jpg","text":"TemporaryFile(/tmp/multipartBody5724419568382453790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145323980,"filename":"image_26112025_04_35_26_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/26/54e00b7f3b12e5356ec179756d71b4c7.jpg","text":"TemporaryFile(/tmp/multipartBody4050091448980934857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145323980,"filename":"image_26112025_04_35_31_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226111","file1":"1396226110","file0":"1396226108","file4":"1396226114","file5":"1396226117","file3":"1396226112"},"map_files_photo_id_array":[{"photo_id":"1396226117","filename":"file5"},{"photo_id":"1396226111","filename":"file2"},{"photo_id":"1396226114","filename":"file4"},{"photo_id":"1396226110","filename":"file1"},{"photo_id":"1396226108","filename":"file0"},{"photo_id":"1396226112","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226117":["hashtag1","hashtag2"]},{"1396226111":["hashtag1","hashtag2"]},{"1396226114":["hashtag1","hashtag2"]},{"1396226108":["hashtag1","hashtag2"]},{"1396226110":["hashtag1","hashtag2"]},{"1396226112":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226117, 1396226111, 1396226114, 1396226108, 1396226110, 1396226112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74072289466858 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 09:21:42.497034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_40_2667.jpg', '/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_43_3509.jpg', '/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_46_2675.jpg', '/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_49_2787.jpg', '/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_52_3572.jpg', '/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_55_2559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_40_2667.jpg
/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_43_3509.jpg
/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_46_2675.jpg
/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_49_2787.jpg
/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_52_3572.jpg
/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_55_2559.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":["1396226132","1396226131","1396226134","1396226130","1396226133","1396226127"],"photo_ids_order":["1396226127","1396226130","1396226131","1396226132","1396226133","1396226134"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3d7ff864350e972442a19f93888e4302.jpg","text":"TemporaryFile(/tmp/multipartBody7964996479101099846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145363195,"filename":"image_26112025_04_35_49_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/26/d39a2e327cce311d0e5b821aeb288223.jpg","text":"TemporaryFile(/tmp/multipartBody1086537882887388528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145363195,"filename":"image_26112025_04_35_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/26/464f9f9cd4f1180f1c585d3a93cae027.jpg","text":"TemporaryFile(/tmp/multipartBody7927434082123565020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145363195,"filename":"image_26112025_04_35_55_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dcd4edc8fb2bb7eb18859aacd016045b.jpg","text":"TemporaryFile(/tmp/multipartBody7267434074015939063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145363195,"filename":"image_26112025_04_35_43_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/26/e336600021be7b139f4d969a5e255b3c.jpg","text":"TemporaryFile(/tmp/multipartBody2230499966662736844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145363195,"filename":"image_26112025_04_35_52_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/26/b6b8bbdedb2b37a48620063679d7128b.jpg","text":"TemporaryFile(/tmp/multipartBody3282275918380153380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145363195,"filename":"image_26112025_04_35_40_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226131","file1":"1396226130","file0":"1396226127","file4":"1396226133","file5":"1396226134","file3":"1396226132"},"map_files_photo_id_array":[{"photo_id":"1396226134","filename":"file5"},{"photo_id":"1396226131","filename":"file2"},{"photo_id":"1396226133","filename":"file4"},{"photo_id":"1396226130","filename":"file1"},{"photo_id":"1396226127","filename":"file0"},{"photo_id":"1396226132","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226132":["hashtag1","hashtag2"]},{"1396226131":["hashtag1","hashtag2"]},{"1396226134":["hashtag1","hashtag2"]},{"1396226130":["hashtag1","hashtag2"]},{"1396226133":["hashtag1","hashtag2"]},{"1396226127":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226132, 1396226131, 1396226134, 1396226130, 1396226133, 1396226127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.035157203674316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:22:22.299492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_58_3543.jpg', '/home/pi/Desktop/images/26112025/04/37/image_26112025_04_37_07_3012.jpg', '/home/pi/Desktop/images/26112025/04/37/image_26112025_04_37_10_3654.jpg', '/home/pi/Desktop/images/26112025/04/37/image_26112025_04_37_13_2742.jpg', '/home/pi/Desktop/images/26112025/04/37/image_26112025_04_37_16_2715.jpg', '/home/pi/Desktop/images/26112025/04/37/image_26112025_04_37_20_3852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/35/image_26112025_04_35_58_3543.jpg
/home/pi/Desktop/images/26112025/04/37/image_26112025_04_37_07_3012.jpg
/home/pi/Desktop/images/26112025/04/37/image_26112025_04_37_10_3654.jpg
/home/pi/Desktop/images/26112025/04/37/image_26112025_04_37_13_2742.jpg
/home/pi/Desktop/images/26112025/04/37/image_26112025_04_37_16_2715.jpg
/home/pi/Desktop/images/26112025/04/37/image_26112025_04_37_20_3852.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":["1396226152","1396226146","1396226149","1396226140","1396226143","1396226137"],"photo_ids_order":["1396226137","1396226140","1396226143","1396226146","1396226149","1396226152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8a34d30f1b8efe9dad836f2f7a8a9487.jpg","text":"TemporaryFile(/tmp/multipartBody7032121717590479200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145402998,"filename":"image_26112025_04_37_20_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/26/2d0346bad65783549445f2a3d50a281c.jpg","text":"TemporaryFile(/tmp/multipartBody3759346459393479056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145402998,"filename":"image_26112025_04_37_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/26/f182640caf5221ab602562705ceb9016.jpg","text":"TemporaryFile(/tmp/multipartBody5548816291091989740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145402998,"filename":"image_26112025_04_37_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/26/7d8979d871261ac057e914f960fe7434.jpg","text":"TemporaryFile(/tmp/multipartBody5870808248846700591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145402998,"filename":"image_26112025_04_37_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/26/0119cf90fe86e2224d3a49cc32168822.jpg","text":"TemporaryFile(/tmp/multipartBody4706367284512233664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145402998,"filename":"image_26112025_04_37_10_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/26/ee4cb4a4aa203ca99e2abd6dc7836403.jpg","text":"TemporaryFile(/tmp/multipartBody8018756837417969459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145402998,"filename":"image_26112025_04_35_58_3543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226143","file1":"1396226140","file0":"1396226137","file4":"1396226149","file5":"1396226152","file3":"1396226146"},"map_files_photo_id_array":[{"photo_id":"1396226152","filename":"file5"},{"photo_id":"1396226143","filename":"file2"},{"photo_id":"1396226149","filename":"file4"},{"photo_id":"1396226140","filename":"file1"},{"photo_id":"1396226137","filename":"file0"},{"photo_id":"1396226146","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226152":["hashtag1","hashtag2"]},{"1396226146":["hashtag1","hashtag2"]},{"1396226149":["hashtag1","hashtag2"]},{"1396226140":["hashtag1","hashtag2"]},{"1396226143":["hashtag1","hashtag2"]},{"1396226137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226152, 1396226146, 1396226149, 1396226140, 1396226143, 1396226137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0201518535614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:23:03.095738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/37/image_26112025_04_37_22_2759.jpg', '/home/pi/Desktop/images/26112025/04/37/image_26112025_04_37_25_2682.jpg', '/home/pi/Desktop/images/26112025/04/37/image_26112025_04_37_29_3532.jpg', '/home/pi/Desktop/images/26112025/04/37/image_26112025_04_37_31_2807.jpg', '/home/pi/Desktop/images/26112025/04/37/image_26112025_04_37_34_2738.jpg', '/home/pi/Desktop/images/26112025/04/37/image_26112025_04_37_37_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/37/image_26112025_04_37_22_2759.jpg
/home/pi/Desktop/images/26112025/04/37/image_26112025_04_37_25_2682.jpg
/home/pi/Desktop/images/26112025/04/37/image_26112025_04_37_29_3532.jpg
/home/pi/Desktop/images/26112025/04/37/image_26112025_04_37_31_2807.jpg
/home/pi/Desktop/images/26112025/04/37/image_26112025_04_37_34_2738.jpg
/home/pi/Desktop/images/26112025/04/37/image_26112025_04_37_37_2691.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":["1396226156","1396226159","1396226164","1396226158","1396226161","1396226154"],"photo_ids_order":["1396226154","1396226156","1396226158","1396226159","1396226161","1396226164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5736dd266e86dc9a54037c6ea093a6ff.jpg","text":"TemporaryFile(/tmp/multipartBody2826165954568014116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145443852,"filename":"image_26112025_04_37_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/26/62b6c8cd64686aacb0f80a52c663048a.jpg","text":"TemporaryFile(/tmp/multipartBody8681161795313715430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145443852,"filename":"image_26112025_04_37_31_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/26/e731d37ae47f23bfa17f2d8bb3f09e4a.jpg","text":"TemporaryFile(/tmp/multipartBody2661351459176292888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145443852,"filename":"image_26112025_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/26/54ebf207e8f31a08f6657bc71122e167.jpg","text":"TemporaryFile(/tmp/multipartBody5113966130489128217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145443852,"filename":"image_26112025_04_37_29_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/26/8635585c98aaffcc643d18879a7a37ee.jpg","text":"TemporaryFile(/tmp/multipartBody5059022335535036762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145443852,"filename":"image_26112025_04_37_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/26/1f5fe2ee68891b2689a8511d7c6da82d.jpg","text":"TemporaryFile(/tmp/multipartBody6807954576658395887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145443852,"filename":"image_26112025_04_37_22_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226158","file1":"1396226156","file0":"1396226154","file4":"1396226161","file5":"1396226164","file3":"1396226159"},"map_files_photo_id_array":[{"photo_id":"1396226164","filename":"file5"},{"photo_id":"1396226158","filename":"file2"},{"photo_id":"1396226161","filename":"file4"},{"photo_id":"1396226156","filename":"file1"},{"photo_id":"1396226154","filename":"file0"},{"photo_id":"1396226159","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226156":["hashtag1","hashtag2"]},{"1396226159":["hashtag1","hashtag2"]},{"1396226164":["hashtag1","hashtag2"]},{"1396226158":["hashtag1","hashtag2"]},{"1396226161":["hashtag1","hashtag2"]},{"1396226154":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226156, 1396226159, 1396226164, 1396226158, 1396226161, 1396226154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57761335372925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 09:23:42.344796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_06_3012.jpg', '/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_10_3705.jpg', '/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_12_2657.jpg', '/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_16_3521.jpg', '/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_19_2720.jpg', '/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_21_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_06_3012.jpg
/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_10_3705.jpg
/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_12_2657.jpg
/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_16_3521.jpg
/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_19_2720.jpg
/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_21_2600.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":["1396226177","1396226176","1396226179","1396226173","1396226175","1396226178"],"photo_ids_order":["1396226173","1396226175","1396226176","1396226177","1396226178","1396226179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8d01a5908aadd6aa50cdfe7f71acfa16.jpg","text":"TemporaryFile(/tmp/multipartBody1099623916419662118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145483020,"filename":"image_26112025_04_39_16_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/26/c85c3bac305942d1327082136e62f4e7.jpg","text":"TemporaryFile(/tmp/multipartBody7282204125754762052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145483020,"filename":"image_26112025_04_39_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/26/bf7b5b2eaf9379939fdda2b37f274a75.jpg","text":"TemporaryFile(/tmp/multipartBody5966108381462893733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145483020,"filename":"image_26112025_04_39_21_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/26/45b8c4e54ee4970d6b940972638567e8.jpg","text":"TemporaryFile(/tmp/multipartBody7175573534395805397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145483020,"filename":"image_26112025_04_39_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/26/f0c3f0b8201482d69078c2668488329e.jpg","text":"TemporaryFile(/tmp/multipartBody3875554036561902219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145483020,"filename":"image_26112025_04_39_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/26/0d25a9d1f0b747c38395cdd0acd71ec1.jpg","text":"TemporaryFile(/tmp/multipartBody3794480398195647443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145483020,"filename":"image_26112025_04_39_19_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226176","file1":"1396226175","file0":"1396226173","file4":"1396226178","file5":"1396226179","file3":"1396226177"},"map_files_photo_id_array":[{"photo_id":"1396226179","filename":"file5"},{"photo_id":"1396226176","filename":"file2"},{"photo_id":"1396226178","filename":"file4"},{"photo_id":"1396226175","filename":"file1"},{"photo_id":"1396226173","filename":"file0"},{"photo_id":"1396226177","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226177":["hashtag1","hashtag2"]},{"1396226176":["hashtag1","hashtag2"]},{"1396226179":["hashtag1","hashtag2"]},{"1396226173":["hashtag1","hashtag2"]},{"1396226175":["hashtag1","hashtag2"]},{"1396226178":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226177, 1396226176, 1396226179, 1396226173, 1396226175, 1396226178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01787805557251 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:24:22.712476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_25_3708.jpg', '/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_27_2484.jpg', '/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_30_2597.jpg', '/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_34_3548.jpg', '/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_36_2652.jpg', '/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_52_16171.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_25_3708.jpg
/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_27_2484.jpg
/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_30_2597.jpg
/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_34_3548.jpg
/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_36_2652.jpg
/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_52_16171.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":["1396226208","1396226195","1396226204","1396226191","1396226199","1396226184"],"photo_ids_order":["1396226184","1396226191","1396226195","1396226199","1396226204","1396226208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6b86c29f10e5a06370a3300cf3908a4a.jpg","text":"TemporaryFile(/tmp/multipartBody227764669194370935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145523408,"filename":"image_26112025_04_39_52_16171.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9388f9c55df1d7b8fdf89a1148bd7517.jpg","text":"TemporaryFile(/tmp/multipartBody8183141838641925799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145523408,"filename":"image_26112025_04_39_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/26/06df566bd0fd7f42535420ca5d03dd01.jpg","text":"TemporaryFile(/tmp/multipartBody6158424488994757285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145523408,"filename":"image_26112025_04_39_36_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/26/c94be18e1e643171750941e37cf7ed27.jpg","text":"TemporaryFile(/tmp/multipartBody4304245014801338552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145523408,"filename":"image_26112025_04_39_27_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/26/b7b8bafef5f26667804ee650f7caca5d.jpg","text":"TemporaryFile(/tmp/multipartBody1140911418578192147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145523408,"filename":"image_26112025_04_39_34_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/26/13fcb82c178e61c8600981f5cebff710.jpg","text":"TemporaryFile(/tmp/multipartBody4384855334537535824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145523408,"filename":"image_26112025_04_39_25_3708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226195","file1":"1396226191","file0":"1396226184","file4":"1396226204","file5":"1396226208","file3":"1396226199"},"map_files_photo_id_array":[{"photo_id":"1396226208","filename":"file5"},{"photo_id":"1396226195","filename":"file2"},{"photo_id":"1396226204","filename":"file4"},{"photo_id":"1396226191","filename":"file1"},{"photo_id":"1396226184","filename":"file0"},{"photo_id":"1396226199","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226208":["hashtag1","hashtag2"]},{"1396226195":["hashtag1","hashtag2"]},{"1396226204":["hashtag1","hashtag2"]},{"1396226191":["hashtag1","hashtag2"]},{"1396226199":["hashtag1","hashtag2"]},{"1396226184":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226208, 1396226195, 1396226204, 1396226191, 1396226199, 1396226184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53134608268738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:25:03.469038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_54_1641.jpg', '/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_56_1769.jpg', '/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_57_1576.jpg', '/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_59_1681.jpg', '/home/pi/Desktop/images/26112025/04/40/image_26112025_04_40_01_1810.jpg', '/home/pi/Desktop/images/26112025/04/40/image_26112025_04_40_02_1592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_54_1641.jpg
/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_56_1769.jpg
/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_57_1576.jpg
/home/pi/Desktop/images/26112025/04/39/image_26112025_04_39_59_1681.jpg
/home/pi/Desktop/images/26112025/04/40/image_26112025_04_40_01_1810.jpg
/home/pi/Desktop/images/26112025/04/40/image_26112025_04_40_02_1592.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":["1396226214","1396226216","1396226213","1396226227","1396226215","1396226232"],"photo_ids_order":["1396226213","1396226214","1396226215","1396226216","1396226227","1396226232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0410d9e65b837265c20081c77633fee2.jpg","text":"TemporaryFile(/tmp/multipartBody2809644648268687173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145564224,"filename":"image_26112025_04_39_56_1769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/de1c93a67b6b6dbe8c4f8adbba5317f2.jpg","text":"TemporaryFile(/tmp/multipartBody6824009459212750505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145564224,"filename":"image_26112025_04_39_59_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/26/bf9d8171e5ae6e09528f11e2d3301f23.jpg","text":"TemporaryFile(/tmp/multipartBody4652127814164752091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145564224,"filename":"image_26112025_04_39_54_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8378eca23b3623be3c3254cc06346b1c.jpg","text":"TemporaryFile(/tmp/multipartBody715922077053639173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145564224,"filename":"image_26112025_04_40_01_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/26/5d5167c6dcb675c8d8f9f17f5cf8123d.jpg","text":"TemporaryFile(/tmp/multipartBody2167281180149673892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145564224,"filename":"image_26112025_04_39_57_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/26/7c6d91d3a6dab2897168ec702578fab0.jpg","text":"TemporaryFile(/tmp/multipartBody8036400563045675304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145564224,"filename":"image_26112025_04_40_02_1592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226215","file1":"1396226214","file0":"1396226213","file4":"1396226227","file5":"1396226232","file3":"1396226216"},"map_files_photo_id_array":[{"photo_id":"1396226232","filename":"file5"},{"photo_id":"1396226215","filename":"file2"},{"photo_id":"1396226227","filename":"file4"},{"photo_id":"1396226214","filename":"file1"},{"photo_id":"1396226213","filename":"file0"},{"photo_id":"1396226216","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226214":["hashtag1","hashtag2"]},{"1396226216":["hashtag1","hashtag2"]},{"1396226213":["hashtag1","hashtag2"]},{"1396226227":["hashtag1","hashtag2"]},{"1396226215":["hashtag1","hashtag2"]},{"1396226232":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226214, 1396226216, 1396226213, 1396226227, 1396226215, 1396226232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59718632698059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 09:25:42.643073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_07_3019.jpg', '/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_10_3649.jpg', '/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_13_2713.jpg', '/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_16_2728.jpg', '/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_19_3594.jpg', '/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_22_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_07_3019.jpg
/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_10_3649.jpg
/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_13_2713.jpg
/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_16_2728.jpg
/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_19_3594.jpg
/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_22_2576.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":["1396226261","1396226263","1396226257","1396226260","1396226262","1396226259"],"photo_ids_order":["1396226257","1396226259","1396226260","1396226261","1396226262","1396226263"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/78363f403f35631490a01de538f85267.jpg","text":"TemporaryFile(/tmp/multipartBody3050943969664350321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145603334,"filename":"image_26112025_04_41_16_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/26/4ff8695116c4d2a857a0ce32968c6500.jpg","text":"TemporaryFile(/tmp/multipartBody8968155517680268397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145603334,"filename":"image_26112025_04_41_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/26/19021ef2236081fed0136f91047dd374.jpg","text":"TemporaryFile(/tmp/multipartBody7727339580477539651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145603334,"filename":"image_26112025_04_41_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/26/3ec892c7afdee1ffbc6a2f0c79e51ba9.jpg","text":"TemporaryFile(/tmp/multipartBody2142475550675220807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145603334,"filename":"image_26112025_04_41_13_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/26/cedfb5dc8eb315887292cd2c01990dc8.jpg","text":"TemporaryFile(/tmp/multipartBody8253165020909229209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145603334,"filename":"image_26112025_04_41_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/26/2c6ee669c6be1ffb31c708d31f7da605.jpg","text":"TemporaryFile(/tmp/multipartBody4851502970619838866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145603334,"filename":"image_26112025_04_41_10_3649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226260","file1":"1396226259","file0":"1396226257","file4":"1396226262","file5":"1396226263","file3":"1396226261"},"map_files_photo_id_array":[{"photo_id":"1396226263","filename":"file5"},{"photo_id":"1396226260","filename":"file2"},{"photo_id":"1396226262","filename":"file4"},{"photo_id":"1396226259","filename":"file1"},{"photo_id":"1396226257","filename":"file0"},{"photo_id":"1396226261","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226261":["hashtag1","hashtag2"]},{"1396226263":["hashtag1","hashtag2"]},{"1396226257":["hashtag1","hashtag2"]},{"1396226260":["hashtag1","hashtag2"]},{"1396226262":["hashtag1","hashtag2"]},{"1396226259":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226261, 1396226263, 1396226257, 1396226260, 1396226262, 1396226259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.936195611953735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:26:21.933301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_26_3562.jpg', '/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_28_2519.jpg', '/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_31_2650.jpg', '/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_34_3592.jpg', '/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_37_2641.jpg', '/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_40_2784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_26_3562.jpg
/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_28_2519.jpg
/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_31_2650.jpg
/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_34_3592.jpg
/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_37_2641.jpg
/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_40_2784.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.6278364658355713 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:26:31.960790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_26_3562.jpg', '/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_28_2519.jpg', '/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_31_2650.jpg', '/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_34_3592.jpg', '/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_37_2641.jpg', '/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_40_2784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_26_3562.jpg
/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_28_2519.jpg
/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_31_2650.jpg
/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_34_3592.jpg
/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_37_2641.jpg
/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_40_2784.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":["1396226282","1396226285","1396226273","1396226284","1396226286","1396226277"],"photo_ids_order":["1396226273","1396226277","1396226282","1396226284","1396226285","1396226286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b330caea48fb04f6e71e9c8e72a21049.jpg","text":"TemporaryFile(/tmp/multipartBody8415142607181374619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145652696,"filename":"image_26112025_04_41_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/26/c380ceae70be6c5bfe4e0baf31e5c87e.jpg","text":"TemporaryFile(/tmp/multipartBody1056173538349797067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145652696,"filename":"image_26112025_04_41_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/26/26fd05fe03e20be6b111d33bda020a49.jpg","text":"TemporaryFile(/tmp/multipartBody5808957228303501689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145652696,"filename":"image_26112025_04_41_26_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/26/446c834c5e6e89bd2de71fa1d359b412.jpg","text":"TemporaryFile(/tmp/multipartBody7667504630582973985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145652696,"filename":"image_26112025_04_41_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/26/f153f718893e908c5209e55ba28516cb.jpg","text":"TemporaryFile(/tmp/multipartBody5464932645968398173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145652696,"filename":"image_26112025_04_41_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/26/f2de89a16875b43f445244cbade73c6c.jpg","text":"TemporaryFile(/tmp/multipartBody4071629142232273770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145652696,"filename":"image_26112025_04_41_28_2519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226282","file1":"1396226277","file0":"1396226273","file4":"1396226285","file5":"1396226286","file3":"1396226284"},"map_files_photo_id_array":[{"photo_id":"1396226286","filename":"file5"},{"photo_id":"1396226282","filename":"file2"},{"photo_id":"1396226285","filename":"file4"},{"photo_id":"1396226277","filename":"file1"},{"photo_id":"1396226273","filename":"file0"},{"photo_id":"1396226284","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226282":["hashtag1","hashtag2"]},{"1396226285":["hashtag1","hashtag2"]},{"1396226273":["hashtag1","hashtag2"]},{"1396226284":["hashtag1","hashtag2"]},{"1396226286":["hashtag1","hashtag2"]},{"1396226277":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226282, 1396226285, 1396226273, 1396226284, 1396226286, 1396226277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89864921569824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:27:12.023490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_43_3597.jpg', '/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_46_2646.jpg', '/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_50_3614.jpg', '/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_52_2548.jpg', '/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_55_2821.jpg', '/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_59_3540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_43_3597.jpg
/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_46_2646.jpg
/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_50_3614.jpg
/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_52_2548.jpg
/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_55_2821.jpg
/home/pi/Desktop/images/26112025/04/41/image_26112025_04_41_59_3540.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":["1396226297","1396226288","1396226300","1396226293","1396226290","1396226287"],"photo_ids_order":["1396226287","1396226288","1396226290","1396226293","1396226297","1396226300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9228b2e73e6439b006a68c003ceb12fc.jpg","text":"TemporaryFile(/tmp/multipartBody1936820612311594398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145692686,"filename":"image_26112025_04_41_55_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/26/680a1aad47cce858b579b1f27529bb00.jpg","text":"TemporaryFile(/tmp/multipartBody737831422249998627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145692686,"filename":"image_26112025_04_41_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/26/7c905150599692d584ebb7ad1bd132f1.jpg","text":"TemporaryFile(/tmp/multipartBody7128833571198265368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145692686,"filename":"image_26112025_04_41_59_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/26/47cf1dc47912e15eee9dca4bc2be3037.jpg","text":"TemporaryFile(/tmp/multipartBody8104168154095362821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145692686,"filename":"image_26112025_04_41_52_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/26/868fabe9d72d3cd0e7d23051d9127f7e.jpg","text":"TemporaryFile(/tmp/multipartBody3366616956834105005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145692686,"filename":"image_26112025_04_41_50_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/26/d69e09f982b3bc9745d1bf917e918248.jpg","text":"TemporaryFile(/tmp/multipartBody198852131337222134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145692686,"filename":"image_26112025_04_41_43_3597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226290","file1":"1396226288","file0":"1396226287","file4":"1396226297","file5":"1396226300","file3":"1396226293"},"map_files_photo_id_array":[{"photo_id":"1396226300","filename":"file5"},{"photo_id":"1396226290","filename":"file2"},{"photo_id":"1396226297","filename":"file4"},{"photo_id":"1396226288","filename":"file1"},{"photo_id":"1396226287","filename":"file0"},{"photo_id":"1396226293","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226297":["hashtag1","hashtag2"]},{"1396226288":["hashtag1","hashtag2"]},{"1396226300":["hashtag1","hashtag2"]},{"1396226293":["hashtag1","hashtag2"]},{"1396226290":["hashtag1","hashtag2"]},{"1396226287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226297, 1396226288, 1396226300, 1396226293, 1396226290, 1396226287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09200358390808 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:28:02.877282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/42/image_26112025_04_42_01_2676.jpg', '/home/pi/Desktop/images/26112025/04/42/image_26112025_04_42_04_2702.jpg', '/home/pi/Desktop/images/26112025/04/42/image_26112025_04_42_08_3703.jpg', '/home/pi/Desktop/images/26112025/04/42/image_26112025_04_42_10_2725.jpg', '/home/pi/Desktop/images/26112025/04/42/image_26112025_04_42_13_2587.jpg', '/home/pi/Desktop/images/26112025/04/43/image_26112025_04_43_06_3016.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/42/image_26112025_04_42_01_2676.jpg
/home/pi/Desktop/images/26112025/04/42/image_26112025_04_42_04_2702.jpg
/home/pi/Desktop/images/26112025/04/42/image_26112025_04_42_08_3703.jpg
/home/pi/Desktop/images/26112025/04/42/image_26112025_04_42_10_2725.jpg
/home/pi/Desktop/images/26112025/04/42/image_26112025_04_42_13_2587.jpg
/home/pi/Desktop/images/26112025/04/43/image_26112025_04_43_06_3016.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":["1396226339","1396226344","1396226338","1396226341","1396226335","1396226337"],"photo_ids_order":["1396226335","1396226337","1396226338","1396226339","1396226341","1396226344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f5bb09b09ae488f0ec959942376a5160.jpg","text":"TemporaryFile(/tmp/multipartBody5498740590284470877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145743583,"filename":"image_26112025_04_42_10_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/26/c004a5e273e16e8fc5cc407d6aeee823.jpg","text":"TemporaryFile(/tmp/multipartBody8800596293484835124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145743583,"filename":"image_26112025_04_43_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/26/b9a013349883efd23a5341694ede17ea.jpg","text":"TemporaryFile(/tmp/multipartBody808173645188758699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145743583,"filename":"image_26112025_04_42_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/26/864a46deaa98a324513edbfed1b167ea.jpg","text":"TemporaryFile(/tmp/multipartBody5641885130255018995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145743583,"filename":"image_26112025_04_42_13_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/827a229f40edc19185ef2d884bbb9cc3.jpg","text":"TemporaryFile(/tmp/multipartBody5656895455357589442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145743583,"filename":"image_26112025_04_42_01_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/26/882ab120d21c063519e6a4081bed18f1.jpg","text":"TemporaryFile(/tmp/multipartBody196224582532078567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145743583,"filename":"image_26112025_04_42_04_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226338","file1":"1396226337","file0":"1396226335","file4":"1396226341","file5":"1396226344","file3":"1396226339"},"map_files_photo_id_array":[{"photo_id":"1396226344","filename":"file5"},{"photo_id":"1396226338","filename":"file2"},{"photo_id":"1396226341","filename":"file4"},{"photo_id":"1396226337","filename":"file1"},{"photo_id":"1396226335","filename":"file0"},{"photo_id":"1396226339","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226339":["hashtag1","hashtag2"]},{"1396226344":["hashtag1","hashtag2"]},{"1396226338":["hashtag1","hashtag2"]},{"1396226341":["hashtag1","hashtag2"]},{"1396226335":["hashtag1","hashtag2"]},{"1396226337":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226339, 1396226344, 1396226338, 1396226341, 1396226335, 1396226337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.298360109329224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 09:28:42.368307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/43/image_26112025_04_43_10_3648.jpg', '/home/pi/Desktop/images/26112025/04/43/image_26112025_04_43_12_2655.jpg', '/home/pi/Desktop/images/26112025/04/43/image_26112025_04_43_16_3657.jpg', '/home/pi/Desktop/images/26112025/04/43/image_26112025_04_43_19_2697.jpg', '/home/pi/Desktop/images/26112025/04/44/image_26112025_04_44_07_3016.jpg', '/home/pi/Desktop/images/26112025/04/44/image_26112025_04_44_11_3577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/43/image_26112025_04_43_10_3648.jpg
/home/pi/Desktop/images/26112025/04/43/image_26112025_04_43_12_2655.jpg
/home/pi/Desktop/images/26112025/04/43/image_26112025_04_43_16_3657.jpg
/home/pi/Desktop/images/26112025/04/43/image_26112025_04_43_19_2697.jpg
/home/pi/Desktop/images/26112025/04/44/image_26112025_04_44_07_3016.jpg
/home/pi/Desktop/images/26112025/04/44/image_26112025_04_44_11_3577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396226400","1396226399","1396226393","1396226402","1396226398","1396226401"],"photo_ids_order":["1396226393","1396226398","1396226399","1396226400","1396226401","1396226402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/20f81a49c22e7a33a3ae46a62b8a16b8.jpg","text":"TemporaryFile(/tmp/multipartBody2885294924872377307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145783037,"filename":"image_26112025_04_43_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/26/ea4b44eef59beb7abb6dde328c02f339.jpg","text":"TemporaryFile(/tmp/multipartBody5961770065133300690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145783037,"filename":"image_26112025_04_43_16_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b5d3ca8c80329819438cbcd0dabf0349.jpg","text":"TemporaryFile(/tmp/multipartBody9029898712588913854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145783037,"filename":"image_26112025_04_43_10_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/26/52b5893adc86a114bdbf2f6108d74fcd.jpg","text":"TemporaryFile(/tmp/multipartBody8495764445549784619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145783037,"filename":"image_26112025_04_44_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/26/f52258431460133edc91d5ce822de754.jpg","text":"TemporaryFile(/tmp/multipartBody6106034883157751659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145783037,"filename":"image_26112025_04_43_12_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/26/4130d21cb769761ea17b2f6b9a171cae.jpg","text":"TemporaryFile(/tmp/multipartBody7679130224434017672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145783037,"filename":"image_26112025_04_44_07_3016.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226399","file1":"1396226398","file0":"1396226393","file4":"1396226401","file5":"1396226402","file3":"1396226400"},"map_files_photo_id_array":[{"photo_id":"1396226402","filename":"file5"},{"photo_id":"1396226399","filename":"file2"},{"photo_id":"1396226401","filename":"file4"},{"photo_id":"1396226398","filename":"file1"},{"photo_id":"1396226393","filename":"file0"},{"photo_id":"1396226400","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226400":["hashtag1","hashtag2"]},{"1396226399":["hashtag1","hashtag2"]},{"1396226393":["hashtag1","hashtag2"]},{"1396226402":["hashtag1","hashtag2"]},{"1396226398":["hashtag1","hashtag2"]},{"1396226401":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226400, 1396226399, 1396226393, 1396226402, 1396226398, 1396226401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18950033187866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:29:22.207021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/44/image_26112025_04_44_14_2825.jpg', '/home/pi/Desktop/images/26112025/04/44/image_26112025_04_44_16_2690.jpg', '/home/pi/Desktop/images/26112025/04/44/image_26112025_04_44_20_3613.jpg', '/home/pi/Desktop/images/26112025/04/44/image_26112025_04_44_23_2686.jpg', '/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_07_3012.jpg', '/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_11_3696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/44/image_26112025_04_44_14_2825.jpg
/home/pi/Desktop/images/26112025/04/44/image_26112025_04_44_16_2690.jpg
/home/pi/Desktop/images/26112025/04/44/image_26112025_04_44_20_3613.jpg
/home/pi/Desktop/images/26112025/04/44/image_26112025_04_44_23_2686.jpg
/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_07_3012.jpg
/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_11_3696.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":["1396226420","1396226414","1396226423","1396226417","1396226411","1396226407"],"photo_ids_order":["1396226407","1396226411","1396226414","1396226417","1396226420","1396226423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0ac3fa72042075d1bca4a4bb81d20df6.jpg","text":"TemporaryFile(/tmp/multipartBody1719116411094572071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145822870,"filename":"image_26112025_04_46_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/26/0046ad7200fc82d76e394700cd4f7638.jpg","text":"TemporaryFile(/tmp/multipartBody6616632209476569683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145822870,"filename":"image_26112025_04_44_20_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/26/6e571527ff494a40e0499dbe00dfd553.jpg","text":"TemporaryFile(/tmp/multipartBody6428017459854598605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145822870,"filename":"image_26112025_04_46_11_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/26/655848873176956a0042eb22375e1a62.jpg","text":"TemporaryFile(/tmp/multipartBody6142079909211965077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145822870,"filename":"image_26112025_04_44_23_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/26/aad088a1b4a0be8be9c60895cb4a50e2.jpg","text":"TemporaryFile(/tmp/multipartBody8928362453198210750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145822870,"filename":"image_26112025_04_44_16_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6f584b496227efb960d723eaf7a3621e.jpg","text":"TemporaryFile(/tmp/multipartBody7084271010669048870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145822870,"filename":"image_26112025_04_44_14_2825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226414","file1":"1396226411","file0":"1396226407","file4":"1396226420","file5":"1396226423","file3":"1396226417"},"map_files_photo_id_array":[{"photo_id":"1396226423","filename":"file5"},{"photo_id":"1396226414","filename":"file2"},{"photo_id":"1396226420","filename":"file4"},{"photo_id":"1396226411","filename":"file1"},{"photo_id":"1396226407","filename":"file0"},{"photo_id":"1396226417","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226420":["hashtag1","hashtag2"]},{"1396226414":["hashtag1","hashtag2"]},{"1396226423":["hashtag1","hashtag2"]},{"1396226417":["hashtag1","hashtag2"]},{"1396226411":["hashtag1","hashtag2"]},{"1396226407":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226420, 1396226414, 1396226423, 1396226417, 1396226411, 1396226407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64688730239868 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:30:02.758353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_13_2559.jpg', '/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_17_3644.jpg', '/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_19_2627.jpg', '/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_22_2724.jpg', '/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_26_3556.jpg', '/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_28_2807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_13_2559.jpg
/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_17_3644.jpg
/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_19_2627.jpg
/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_22_2724.jpg
/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_26_3556.jpg
/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_28_2807.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.6354002952575684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:30:12.381779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_13_2559.jpg', '/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_17_3644.jpg', '/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_19_2627.jpg', '/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_22_2724.jpg', '/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_26_3556.jpg', '/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_28_2807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_13_2559.jpg
/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_17_3644.jpg
/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_19_2627.jpg
/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_22_2724.jpg
/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_26_3556.jpg
/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_28_2807.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":["1396226480","1396226474","1396226488","1396226476","1396226484","1396226472"],"photo_ids_order":["1396226472","1396226474","1396226476","1396226480","1396226484","1396226488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/322a291a2912fa14817536fb85ee83c6.jpg","text":"TemporaryFile(/tmp/multipartBody426931311942978515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145873127,"filename":"image_26112025_04_46_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/26/b08144867859183bf6f504223032c181.jpg","text":"TemporaryFile(/tmp/multipartBody5488138743078611602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145873127,"filename":"image_26112025_04_46_17_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/26/c77739900df13467dce3f897171eefee.jpg","text":"TemporaryFile(/tmp/multipartBody6802331752997800713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145873127,"filename":"image_26112025_04_46_28_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bbb91f873e9f4ee152403a61890c07de.jpg","text":"TemporaryFile(/tmp/multipartBody5576346453996952137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145873127,"filename":"image_26112025_04_46_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/26/df5f1c7979571c1d8230921ec2cb49ed.jpg","text":"TemporaryFile(/tmp/multipartBody8811418456566123352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145873127,"filename":"image_26112025_04_46_26_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/26/a0a68797b16eebb9284dda1b279f851a.jpg","text":"TemporaryFile(/tmp/multipartBody490477519491710489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145873127,"filename":"image_26112025_04_46_13_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226476","file1":"1396226474","file0":"1396226472","file4":"1396226484","file5":"1396226488","file3":"1396226480"},"map_files_photo_id_array":[{"photo_id":"1396226488","filename":"file5"},{"photo_id":"1396226476","filename":"file2"},{"photo_id":"1396226484","filename":"file4"},{"photo_id":"1396226474","filename":"file1"},{"photo_id":"1396226472","filename":"file0"},{"photo_id":"1396226480","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226480":["hashtag1","hashtag2"]},{"1396226474":["hashtag1","hashtag2"]},{"1396226488":["hashtag1","hashtag2"]},{"1396226476":["hashtag1","hashtag2"]},{"1396226484":["hashtag1","hashtag2"]},{"1396226472":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226480, 1396226474, 1396226488, 1396226476, 1396226484, 1396226472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1304714679718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:31:03.400228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_31_2573.jpg', '/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_35_3615.jpg', '/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_37_2637.jpg', '/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_40_2755.jpg', '/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_44_3531.jpg', '/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_46_2573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_31_2573.jpg
/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_35_3615.jpg
/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_37_2637.jpg
/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_40_2755.jpg
/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_44_3531.jpg
/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_46_2573.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":["1396226526","1396226543","1396226512","1396226515","1396226532","1396226517"],"photo_ids_order":["1396226512","1396226515","1396226517","1396226526","1396226532","1396226543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ad4151b35ebc02a9b2265d93e5252548.jpg","text":"TemporaryFile(/tmp/multipartBody1810120346827315515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145924211,"filename":"image_26112025_04_46_40_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/26/18516c04ec8823ef4f4bf7943b336500.jpg","text":"TemporaryFile(/tmp/multipartBody3195997658647312928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145924211,"filename":"image_26112025_04_46_46_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/26/62c64db3ec2d3c1b652ce7c6b2f89a1d.jpg","text":"TemporaryFile(/tmp/multipartBody6024020116101327596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145924211,"filename":"image_26112025_04_46_31_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/26/7746b2625445658f1bd9748a973cadbb.jpg","text":"TemporaryFile(/tmp/multipartBody3100816737952232978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145924211,"filename":"image_26112025_04_46_35_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e302f06686ff9a9d0159d19ea5a41d4c.jpg","text":"TemporaryFile(/tmp/multipartBody1786223995888332846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145924211,"filename":"image_26112025_04_46_44_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/26/a4bd8e9734a2691c0c5373dee27d7c0b.jpg","text":"TemporaryFile(/tmp/multipartBody7756152841841433704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145924211,"filename":"image_26112025_04_46_37_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226517","file1":"1396226515","file0":"1396226512","file4":"1396226532","file5":"1396226543","file3":"1396226526"},"map_files_photo_id_array":[{"photo_id":"1396226543","filename":"file5"},{"photo_id":"1396226517","filename":"file2"},{"photo_id":"1396226532","filename":"file4"},{"photo_id":"1396226515","filename":"file1"},{"photo_id":"1396226512","filename":"file0"},{"photo_id":"1396226526","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226526":["hashtag1","hashtag2"]},{"1396226543":["hashtag1","hashtag2"]},{"1396226512":["hashtag1","hashtag2"]},{"1396226515":["hashtag1","hashtag2"]},{"1396226532":["hashtag1","hashtag2"]},{"1396226517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226526, 1396226543, 1396226512, 1396226515, 1396226532, 1396226517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8490047454834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 09:31:42.616545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_49_2844.jpg', '/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_52_2810.jpg', '/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_56_3732.jpg', '/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_58_2601.jpg', '/home/pi/Desktop/images/26112025/04/47/image_26112025_04_47_01_2759.jpg', '/home/pi/Desktop/images/26112025/04/47/image_26112025_04_47_05_3764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_49_2844.jpg
/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_52_2810.jpg
/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_56_3732.jpg
/home/pi/Desktop/images/26112025/04/46/image_26112025_04_46_58_2601.jpg
/home/pi/Desktop/images/26112025/04/47/image_26112025_04_47_01_2759.jpg
/home/pi/Desktop/images/26112025/04/47/image_26112025_04_47_05_3764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396226570","1396226572","1396226566","1396226569","1396226571","1396226568"],"photo_ids_order":["1396226566","1396226568","1396226569","1396226570","1396226571","1396226572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c49e8de11569efa295de9bce0c4af9fa.jpg","text":"TemporaryFile(/tmp/multipartBody2615639895596324378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145963373,"filename":"image_26112025_04_46_58_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/26/e0e3221dd07041a976c94588b207346a.jpg","text":"TemporaryFile(/tmp/multipartBody288178262397431723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145963373,"filename":"image_26112025_04_47_05_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/26/aee9a8b48d5893633c031c68e4fbacc2.jpg","text":"TemporaryFile(/tmp/multipartBody7500939061677422253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145963373,"filename":"image_26112025_04_46_49_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/26/66e379ecef8aaecb2f6333691c2c8624.jpg","text":"TemporaryFile(/tmp/multipartBody6193779552395615637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145963373,"filename":"image_26112025_04_46_56_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/26/a59cfe7464d45b044dd9aae9a929341b.jpg","text":"TemporaryFile(/tmp/multipartBody8825847432463077925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145963373,"filename":"image_26112025_04_47_01_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/26/028a3a094b606277e575adf682555f9d.jpg","text":"TemporaryFile(/tmp/multipartBody376795788515594046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764145963373,"filename":"image_26112025_04_46_52_2810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226569","file1":"1396226568","file0":"1396226566","file4":"1396226571","file5":"1396226572","file3":"1396226570"},"map_files_photo_id_array":[{"photo_id":"1396226572","filename":"file5"},{"photo_id":"1396226569","filename":"file2"},{"photo_id":"1396226571","filename":"file4"},{"photo_id":"1396226568","filename":"file1"},{"photo_id":"1396226566","filename":"file0"},{"photo_id":"1396226570","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226570":["hashtag1","hashtag2"]},{"1396226572":["hashtag1","hashtag2"]},{"1396226566":["hashtag1","hashtag2"]},{"1396226569":["hashtag1","hashtag2"]},{"1396226571":["hashtag1","hashtag2"]},{"1396226568":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226570, 1396226572, 1396226566, 1396226569, 1396226571, 1396226568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62462306022644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:32:22.807958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/47/image_26112025_04_47_07_2614.jpg', '/home/pi/Desktop/images/26112025/04/47/image_26112025_04_47_10_2725.jpg', '/home/pi/Desktop/images/26112025/04/47/image_26112025_04_47_14_3611.jpg', '/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_07_3014.jpg', '/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_11_3743.jpg', '/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_14_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/47/image_26112025_04_47_07_2614.jpg
/home/pi/Desktop/images/26112025/04/47/image_26112025_04_47_10_2725.jpg
/home/pi/Desktop/images/26112025/04/47/image_26112025_04_47_14_3611.jpg
/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_07_3014.jpg
/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_11_3743.jpg
/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_14_2658.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":["1396226588","1396226582","1396226591","1396226585","1396226579","1396226593"],"photo_ids_order":["1396226579","1396226582","1396226585","1396226588","1396226591","1396226593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2f2d675d7ed2a8bb48bc78a8440ba8d2.jpg","text":"TemporaryFile(/tmp/multipartBody8249084734953569372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146003489,"filename":"image_26112025_04_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/26/6ffe69d60b40d6a68f1892dbe9c2e6db.jpg","text":"TemporaryFile(/tmp/multipartBody947600907146792551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146003489,"filename":"image_26112025_04_47_10_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/26/ee5792549c3684b31e4854433c639792.jpg","text":"TemporaryFile(/tmp/multipartBody7942571597884632950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146003489,"filename":"image_26112025_04_48_11_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/26/72691f13ae16ffb54d68f4817f62ea80.jpg","text":"TemporaryFile(/tmp/multipartBody1807952028101693142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146003489,"filename":"image_26112025_04_47_14_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/26/06cb496c18a12efd7a541e027d496694.jpg","text":"TemporaryFile(/tmp/multipartBody8282081147567279163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146003489,"filename":"image_26112025_04_47_07_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/26/84b74f4d7332b121410e9a4e072c7413.jpg","text":"TemporaryFile(/tmp/multipartBody4466329732597622839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146003489,"filename":"image_26112025_04_48_14_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226585","file1":"1396226582","file0":"1396226579","file4":"1396226591","file5":"1396226593","file3":"1396226588"},"map_files_photo_id_array":[{"photo_id":"1396226593","filename":"file5"},{"photo_id":"1396226585","filename":"file2"},{"photo_id":"1396226591","filename":"file4"},{"photo_id":"1396226582","filename":"file1"},{"photo_id":"1396226579","filename":"file0"},{"photo_id":"1396226588","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226588":["hashtag1","hashtag2"]},{"1396226582":["hashtag1","hashtag2"]},{"1396226591":["hashtag1","hashtag2"]},{"1396226585":["hashtag1","hashtag2"]},{"1396226579":["hashtag1","hashtag2"]},{"1396226593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226588, 1396226582, 1396226591, 1396226585, 1396226579, 1396226593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70771074295044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:33:02.602850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_17_2761.jpg', '/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_20_3590.jpg', '/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_23_2515.jpg', '/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_25_2705.jpg', '/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_29_3650.jpg', '/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_32_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_17_2761.jpg
/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_20_3590.jpg
/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_23_2515.jpg
/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_25_2705.jpg
/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_29_3650.jpg
/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_32_2593.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":["1396226594","1396226600","1396226599","1396226596","1396226605","1396226602"],"photo_ids_order":["1396226594","1396226596","1396226599","1396226600","1396226602","1396226605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7cbbfce39cb68132b0b2d86c47124580.jpg","text":"TemporaryFile(/tmp/multipartBody6706095478571822775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146043356,"filename":"image_26112025_04_48_17_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/26/157fbf1e3b80ebf7d212f0f341ed9a0a.jpg","text":"TemporaryFile(/tmp/multipartBody6615867596482688966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146043356,"filename":"image_26112025_04_48_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/26/ea67c74fc135a65ed70d959a3c40691b.jpg","text":"TemporaryFile(/tmp/multipartBody6029565667054641223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146043356,"filename":"image_26112025_04_48_23_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/26/78f4dc791ac5778ca43be3c08bbe8d03.jpg","text":"TemporaryFile(/tmp/multipartBody8352950494569507614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146043356,"filename":"image_26112025_04_48_20_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/26/e17d94a7c0a8b4e5b858c662dbca313c.jpg","text":"TemporaryFile(/tmp/multipartBody8815529423858112149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146043356,"filename":"image_26112025_04_48_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/26/b1404fa1db9a164fefe15cf2dd8a0d16.jpg","text":"TemporaryFile(/tmp/multipartBody6034502514871098642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146043356,"filename":"image_26112025_04_48_29_3650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226599","file1":"1396226596","file0":"1396226594","file4":"1396226602","file5":"1396226605","file3":"1396226600"},"map_files_photo_id_array":[{"photo_id":"1396226605","filename":"file5"},{"photo_id":"1396226599","filename":"file2"},{"photo_id":"1396226602","filename":"file4"},{"photo_id":"1396226596","filename":"file1"},{"photo_id":"1396226594","filename":"file0"},{"photo_id":"1396226600","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226594":["hashtag1","hashtag2"]},{"1396226600":["hashtag1","hashtag2"]},{"1396226599":["hashtag1","hashtag2"]},{"1396226596":["hashtag1","hashtag2"]},{"1396226605":["hashtag1","hashtag2"]},{"1396226602":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226594, 1396226600, 1396226599, 1396226596, 1396226605, 1396226602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10724329948425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 09:33:42.109192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_35_3635.jpg', '/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_38_2701.jpg', '/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_41_2608.jpg', '/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_44_3648.jpg', '/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_47_2502.jpg', '/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_50_3597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_35_3635.jpg
/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_38_2701.jpg
/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_41_2608.jpg
/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_44_3648.jpg
/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_47_2502.jpg
/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_50_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":["1396226619","1396226624","1396226621","1396226623","1396226626","1396226622"],"photo_ids_order":["1396226619","1396226621","1396226622","1396226623","1396226624","1396226626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9401a48ad1ca9918f7290be6fd79f13a.jpg","text":"TemporaryFile(/tmp/multipartBody2280143079806702372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146082818,"filename":"image_26112025_04_48_35_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/26/ed92993772ec648c6b27cb41959ddb66.jpg","text":"TemporaryFile(/tmp/multipartBody7586648988974249324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146082818,"filename":"image_26112025_04_48_47_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/26/631e4bb8af85bb8cd667feabb6c198f7.jpg","text":"TemporaryFile(/tmp/multipartBody8449636771182354959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146082818,"filename":"image_26112025_04_48_38_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/26/bb6f3e7915f8bc684482b1c26c6e6a20.jpg","text":"TemporaryFile(/tmp/multipartBody8763934373487387878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146082818,"filename":"image_26112025_04_48_44_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/26/b46a0ba828052cf5054d829a4a6cd191.jpg","text":"TemporaryFile(/tmp/multipartBody3057195999151574801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146082818,"filename":"image_26112025_04_48_50_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/26/3641f94ce82a94575f0dd38cf9e796e4.jpg","text":"TemporaryFile(/tmp/multipartBody7334788705300329860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146082818,"filename":"image_26112025_04_48_41_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226622","file1":"1396226621","file0":"1396226619","file4":"1396226624","file5":"1396226626","file3":"1396226623"},"map_files_photo_id_array":[{"photo_id":"1396226626","filename":"file5"},{"photo_id":"1396226622","filename":"file2"},{"photo_id":"1396226624","filename":"file4"},{"photo_id":"1396226621","filename":"file1"},{"photo_id":"1396226619","filename":"file0"},{"photo_id":"1396226623","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226619":["hashtag1","hashtag2"]},{"1396226624":["hashtag1","hashtag2"]},{"1396226621":["hashtag1","hashtag2"]},{"1396226623":["hashtag1","hashtag2"]},{"1396226626":["hashtag1","hashtag2"]},{"1396226622":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226619, 1396226624, 1396226621, 1396226623, 1396226626, 1396226622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68716025352478 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:34:22.162189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_59_8696.jpg', '/home/pi/Desktop/images/26112025/04/49/image_26112025_04_49_01_1511.jpg', '/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_07_3017.jpg', '/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_11_3681.jpg', '/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_14_2684.jpg', '/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_16_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/48/image_26112025_04_48_59_8696.jpg
/home/pi/Desktop/images/26112025/04/49/image_26112025_04_49_01_1511.jpg
/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_07_3017.jpg
/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_11_3681.jpg
/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_14_2684.jpg
/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_16_2757.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":["1396226633","1396226653","1396226650","1396226646","1396226643","1396226637"],"photo_ids_order":["1396226633","1396226637","1396226643","1396226646","1396226650","1396226653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7347bc2cccff71d24bf579a772e7063c.jpg","text":"TemporaryFile(/tmp/multipartBody1997269822268341103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146122885,"filename":"image_26112025_04_48_59_8696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/533e68d67e3e8c9aaf4295ee530530c0.jpg","text":"TemporaryFile(/tmp/multipartBody4458999825477792461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146122885,"filename":"image_26112025_04_50_16_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/26/4eec2c6db2e583b2cb635eb16466e143.jpg","text":"TemporaryFile(/tmp/multipartBody2711430766004388909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146122885,"filename":"image_26112025_04_50_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/26/61a685235103c0acbaa5c740f811fcd5.jpg","text":"TemporaryFile(/tmp/multipartBody1385749733596190478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146122885,"filename":"image_26112025_04_50_11_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/26/aae7a046f35adda0daa836b0e4d353e3.jpg","text":"TemporaryFile(/tmp/multipartBody8118572261640422748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146122885,"filename":"image_26112025_04_50_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/26/ced9ff42c6da550c7ae6103812e685e4.jpg","text":"TemporaryFile(/tmp/multipartBody8084465014048015625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146122885,"filename":"image_26112025_04_49_01_1511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226643","file1":"1396226637","file0":"1396226633","file4":"1396226650","file5":"1396226653","file3":"1396226646"},"map_files_photo_id_array":[{"photo_id":"1396226653","filename":"file5"},{"photo_id":"1396226643","filename":"file2"},{"photo_id":"1396226650","filename":"file4"},{"photo_id":"1396226637","filename":"file1"},{"photo_id":"1396226633","filename":"file0"},{"photo_id":"1396226646","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226633":["hashtag1","hashtag2"]},{"1396226653":["hashtag1","hashtag2"]},{"1396226650":["hashtag1","hashtag2"]},{"1396226646":["hashtag1","hashtag2"]},{"1396226643":["hashtag1","hashtag2"]},{"1396226637":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226633, 1396226653, 1396226650, 1396226646, 1396226643, 1396226637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52368688583374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:35:03.245418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_19_2862.jpg', '/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_23_3664.jpg', '/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_26_2674.jpg', '/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_28_2791.jpg', '/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_32_3694.jpg', '/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_35_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_19_2862.jpg
/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_23_3664.jpg
/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_26_2674.jpg
/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_28_2791.jpg
/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_32_3694.jpg
/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_35_2722.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":["1396226669","1396226660","1396226662","1396226656","1396226658","1396226667"],"photo_ids_order":["1396226656","1396226658","1396226660","1396226662","1396226667","1396226669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d08e7238219c7c8ed7792d5f38db2a05.jpg","text":"TemporaryFile(/tmp/multipartBody8741262458121834213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146164030,"filename":"image_26112025_04_50_35_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/26/e67f1fd187cfe996f6f28aeb915cb40d.jpg","text":"TemporaryFile(/tmp/multipartBody859692162883453920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146164030,"filename":"image_26112025_04_50_26_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/26/aa030cea93ce1b5bd2d7e7312abb465b.jpg","text":"TemporaryFile(/tmp/multipartBody5502551517944368127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146164030,"filename":"image_26112025_04_50_28_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/26/8749c1afd4887226c8b026f7d7b7cf20.jpg","text":"TemporaryFile(/tmp/multipartBody2950619121506965194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146164030,"filename":"image_26112025_04_50_19_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/26/695b1b20cc01d2ebc5a1e06d9544a9a7.jpg","text":"TemporaryFile(/tmp/multipartBody4177932468959253040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146164030,"filename":"image_26112025_04_50_23_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b408cc3f0748a8cf0c5eeabe642b02a8.jpg","text":"TemporaryFile(/tmp/multipartBody3654612136366519172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146164030,"filename":"image_26112025_04_50_32_3694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226660","file1":"1396226658","file0":"1396226656","file4":"1396226667","file5":"1396226669","file3":"1396226662"},"map_files_photo_id_array":[{"photo_id":"1396226669","filename":"file5"},{"photo_id":"1396226660","filename":"file2"},{"photo_id":"1396226667","filename":"file4"},{"photo_id":"1396226658","filename":"file1"},{"photo_id":"1396226656","filename":"file0"},{"photo_id":"1396226662","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226669":["hashtag1","hashtag2"]},{"1396226660":["hashtag1","hashtag2"]},{"1396226662":["hashtag1","hashtag2"]},{"1396226656":["hashtag1","hashtag2"]},{"1396226658":["hashtag1","hashtag2"]},{"1396226667":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226669, 1396226660, 1396226662, 1396226656, 1396226658, 1396226667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.004382610321045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 09:35:42.490831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_38_2747.jpg', '/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_40_2804.jpg', '/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_44_3537.jpg', '/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_47_2596.jpg', '/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_49_2701.jpg', '/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_53_3775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_38_2747.jpg
/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_40_2804.jpg
/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_44_3537.jpg
/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_47_2596.jpg
/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_49_2701.jpg
/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_53_3775.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":["1396226706","1396226705","1396226708","1396226702","1396226704","1396226707"],"photo_ids_order":["1396226702","1396226704","1396226705","1396226706","1396226707","1396226708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4952e19d35856dcfbf76ededeec64ca4.jpg","text":"TemporaryFile(/tmp/multipartBody8492465144672895670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146203198,"filename":"image_26112025_04_50_47_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/26/0c72836c16c7cffc1698754cda740f98.jpg","text":"TemporaryFile(/tmp/multipartBody4800617806949442709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146203198,"filename":"image_26112025_04_50_44_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/26/65a93b0be5f07fbb81843d93f14ad30d.jpg","text":"TemporaryFile(/tmp/multipartBody7173611923552170001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146203198,"filename":"image_26112025_04_50_53_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/26/52dae285beca67088a9600cc4b7f03d5.jpg","text":"TemporaryFile(/tmp/multipartBody5132387552338348336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146203198,"filename":"image_26112025_04_50_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/26/90724db829a4d4338896b45f2d46c4f4.jpg","text":"TemporaryFile(/tmp/multipartBody7046972188731454197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146203198,"filename":"image_26112025_04_50_40_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/26/986628c30068dc46d9c0d0d114ea3852.jpg","text":"TemporaryFile(/tmp/multipartBody3164391955233907670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146203198,"filename":"image_26112025_04_50_49_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226705","file1":"1396226704","file0":"1396226702","file4":"1396226707","file5":"1396226708","file3":"1396226706"},"map_files_photo_id_array":[{"photo_id":"1396226708","filename":"file5"},{"photo_id":"1396226705","filename":"file2"},{"photo_id":"1396226707","filename":"file4"},{"photo_id":"1396226704","filename":"file1"},{"photo_id":"1396226702","filename":"file0"},{"photo_id":"1396226706","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226706":["hashtag1","hashtag2"]},{"1396226705":["hashtag1","hashtag2"]},{"1396226708":["hashtag1","hashtag2"]},{"1396226702":["hashtag1","hashtag2"]},{"1396226704":["hashtag1","hashtag2"]},{"1396226707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226706, 1396226705, 1396226708, 1396226702, 1396226704, 1396226707)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.929829597473145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:36:32.747192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_56_2511.jpg', '/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_07_3011.jpg', '/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_10_3585.jpg', '/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_13_2734.jpg', '/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_16_2749.jpg', '/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_19_3558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/50/image_26112025_04_50_56_2511.jpg
/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_07_3011.jpg
/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_10_3585.jpg
/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_13_2734.jpg
/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_16_2749.jpg
/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_19_3558.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":["1396226724","1396226723","1396226722","1396226725","1396226719","1396226721"],"photo_ids_order":["1396226719","1396226721","1396226722","1396226723","1396226724","1396226725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/277004361934c35c497b352562045288.jpg","text":"TemporaryFile(/tmp/multipartBody3528500288397023340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146253460,"filename":"image_26112025_04_52_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/26/831684e576296f4bcb3b165281d19b73.jpg","text":"TemporaryFile(/tmp/multipartBody5569303664104843127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146253460,"filename":"image_26112025_04_52_13_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/56f8f17d2e2e20d523c07aac0b0c06bc.jpg","text":"TemporaryFile(/tmp/multipartBody2327277687047083254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146253460,"filename":"image_26112025_04_52_10_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/26/324697ba21ac84ea9bb7374111265d3a.jpg","text":"TemporaryFile(/tmp/multipartBody3800381070609158792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146253460,"filename":"image_26112025_04_52_19_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/26/f66a3d58418918bb86b71eb289375289.jpg","text":"TemporaryFile(/tmp/multipartBody8305409377360327376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146253460,"filename":"image_26112025_04_50_56_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/26/5db8336e211dd6de0ae01d489317f6b9.jpg","text":"TemporaryFile(/tmp/multipartBody912661426305974463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146253460,"filename":"image_26112025_04_52_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226722","file1":"1396226721","file0":"1396226719","file4":"1396226724","file5":"1396226725","file3":"1396226723"},"map_files_photo_id_array":[{"photo_id":"1396226725","filename":"file5"},{"photo_id":"1396226722","filename":"file2"},{"photo_id":"1396226724","filename":"file4"},{"photo_id":"1396226721","filename":"file1"},{"photo_id":"1396226719","filename":"file0"},{"photo_id":"1396226723","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226724":["hashtag1","hashtag2"]},{"1396226723":["hashtag1","hashtag2"]},{"1396226722":["hashtag1","hashtag2"]},{"1396226725":["hashtag1","hashtag2"]},{"1396226719":["hashtag1","hashtag2"]},{"1396226721":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226724, 1396226723, 1396226722, 1396226725, 1396226719, 1396226721)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.79965019226074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:37:22.125375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_22_3036.jpg', '/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_25_2538.jpg', '/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_28_2760.jpg', '/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_31_3786.jpg', '/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_34_2772.jpg', '/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_37_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_22_3036.jpg
/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_25_2538.jpg
/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_28_2760.jpg
/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_31_3786.jpg
/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_34_2772.jpg
/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_37_2672.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":["1396226747","1396226752","1396226749","1396226734","1396226743","1396226739"],"photo_ids_order":["1396226734","1396226739","1396226743","1396226747","1396226749","1396226752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0cf7e98ccadeb923040b26c46f671213.jpg","text":"TemporaryFile(/tmp/multipartBody1215072356659671286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146302879,"filename":"image_26112025_04_52_31_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/26/0828c2b4b2d4c23cca53e6e199100bc2.jpg","text":"TemporaryFile(/tmp/multipartBody2010147017724267568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146302879,"filename":"image_26112025_04_52_37_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/26/86d84b5398ae19ff34d53540797d20cf.jpg","text":"TemporaryFile(/tmp/multipartBody1507719691721127751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146302879,"filename":"image_26112025_04_52_34_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/26/eba0ee4fc4038e4657f5533e74eff04e.jpg","text":"TemporaryFile(/tmp/multipartBody2752856001603020257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146302879,"filename":"image_26112025_04_52_22_3036.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/58d4f64692aa6e06a4a3f2a7713fd48a.jpg","text":"TemporaryFile(/tmp/multipartBody2836906361026764474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146302879,"filename":"image_26112025_04_52_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/26/fadf841eee525e964cb1458b6bf2142a.jpg","text":"TemporaryFile(/tmp/multipartBody329118691357158101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146302879,"filename":"image_26112025_04_52_25_2538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226743","file1":"1396226739","file0":"1396226734","file4":"1396226749","file5":"1396226752","file3":"1396226747"},"map_files_photo_id_array":[{"photo_id":"1396226752","filename":"file5"},{"photo_id":"1396226743","filename":"file2"},{"photo_id":"1396226749","filename":"file4"},{"photo_id":"1396226739","filename":"file1"},{"photo_id":"1396226734","filename":"file0"},{"photo_id":"1396226747","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226747":["hashtag1","hashtag2"]},{"1396226752":["hashtag1","hashtag2"]},{"1396226749":["hashtag1","hashtag2"]},{"1396226734":["hashtag1","hashtag2"]},{"1396226743":["hashtag1","hashtag2"]},{"1396226739":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226747, 1396226752, 1396226749, 1396226734, 1396226743, 1396226739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40244507789612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:38:02.713867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_40_3663.jpg', '/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_43_2610.jpg', '/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_46_2643.jpg', '/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_49_3668.jpg', '/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_52_2610.jpg', '/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_55_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_40_3663.jpg
/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_43_2610.jpg
/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_46_2643.jpg
/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_49_3668.jpg
/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_52_2610.jpg
/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_55_2679.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.7293088436126709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:38:12.312380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_40_3663.jpg', '/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_43_2610.jpg', '/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_46_2643.jpg', '/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_49_3668.jpg', '/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_52_2610.jpg', '/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_55_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_40_3663.jpg
/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_43_2610.jpg
/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_46_2643.jpg
/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_49_3668.jpg
/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_52_2610.jpg
/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_55_2679.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":["1396226904","1396226918","1396226900","1396226914","1396226908","1396226911"],"photo_ids_order":["1396226900","1396226904","1396226908","1396226911","1396226914","1396226918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5e1c26ba3f2689263310ddb126a1d55f.jpg","text":"TemporaryFile(/tmp/multipartBody6162783129865994416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146353066,"filename":"image_26112025_04_52_43_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/26/86a3f7f645f6b555a2387c63095621af.jpg","text":"TemporaryFile(/tmp/multipartBody5564932868283317669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146353066,"filename":"image_26112025_04_52_55_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/26/418e1bfebd80f75fc57824a4ac05d942.jpg","text":"TemporaryFile(/tmp/multipartBody8474981301660014837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146353066,"filename":"image_26112025_04_52_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/26/2d5a44aef06cef93cdf724a07fe62e5e.jpg","text":"TemporaryFile(/tmp/multipartBody1418725335527360160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146353066,"filename":"image_26112025_04_52_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/26/558081ff094f964cba71d1a59564891b.jpg","text":"TemporaryFile(/tmp/multipartBody3988003443015883633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146353066,"filename":"image_26112025_04_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/26/057aa5738484f3b34bb1a306d0b232f2.jpg","text":"TemporaryFile(/tmp/multipartBody2585332880157831849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146353066,"filename":"image_26112025_04_52_49_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226908","file1":"1396226904","file0":"1396226900","file4":"1396226914","file5":"1396226918","file3":"1396226911"},"map_files_photo_id_array":[{"photo_id":"1396226918","filename":"file5"},{"photo_id":"1396226908","filename":"file2"},{"photo_id":"1396226914","filename":"file4"},{"photo_id":"1396226904","filename":"file1"},{"photo_id":"1396226900","filename":"file0"},{"photo_id":"1396226911","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226904":["hashtag1","hashtag2"]},{"1396226918":["hashtag1","hashtag2"]},{"1396226900":["hashtag1","hashtag2"]},{"1396226914":["hashtag1","hashtag2"]},{"1396226908":["hashtag1","hashtag2"]},{"1396226911":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226904, 1396226918, 1396226900, 1396226914, 1396226908, 1396226911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39032554626465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:39:03.622179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_58_3614.jpg', '/home/pi/Desktop/images/26112025/04/54/image_26112025_04_54_07_3011.jpg', '/home/pi/Desktop/images/26112025/04/54/image_26112025_04_54_11_3636.jpg', '/home/pi/Desktop/images/26112025/04/54/image_26112025_04_54_13_2871.jpg', '/home/pi/Desktop/images/26112025/04/54/image_26112025_04_54_16_2642.jpg', '/home/pi/Desktop/images/26112025/04/54/image_26112025_04_54_20_3674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/52/image_26112025_04_52_58_3614.jpg
/home/pi/Desktop/images/26112025/04/54/image_26112025_04_54_07_3011.jpg
/home/pi/Desktop/images/26112025/04/54/image_26112025_04_54_11_3636.jpg
/home/pi/Desktop/images/26112025/04/54/image_26112025_04_54_13_2871.jpg
/home/pi/Desktop/images/26112025/04/54/image_26112025_04_54_16_2642.jpg
/home/pi/Desktop/images/26112025/04/54/image_26112025_04_54_20_3674.jpg
 val : 1 : upload photos already in processing! 
 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":["1396226962","1396226965","1396226950","1396226953","1396226956","1396226958"],"photo_ids_order":["1396226950","1396226953","1396226956","1396226958","1396226962","1396226965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/25325b9bc6280fa30e39f4624f64ef7a.jpg","text":"TemporaryFile(/tmp/multipartBody2513356472100831162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146404496,"filename":"image_26112025_04_54_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/26/f7e88088e2e605445778a256971fd3b6.jpg","text":"TemporaryFile(/tmp/multipartBody242884614211758986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146404496,"filename":"image_26112025_04_54_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/26/239e5bcbe3312792249df984e308a66c.jpg","text":"TemporaryFile(/tmp/multipartBody2287983734769837806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146404496,"filename":"image_26112025_04_52_58_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/26/e56860da95308a310d9db49b36644f67.jpg","text":"TemporaryFile(/tmp/multipartBody5452470938989722631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146404496,"filename":"image_26112025_04_54_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/26/5b6cedb3be220893be0dde634e5987da.jpg","text":"TemporaryFile(/tmp/multipartBody6141522345947605865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146404496,"filename":"image_26112025_04_54_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/26/2c3d8713e1c69577656c9d70ceb705a5.jpg","text":"TemporaryFile(/tmp/multipartBody2058659960068895786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146404496,"filename":"image_26112025_04_54_13_2871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226956","file1":"1396226953","file0":"1396226950","file4":"1396226962","file5":"1396226965","file3":"1396226958"},"map_files_photo_id_array":[{"photo_id":"1396226965","filename":"file5"},{"photo_id":"1396226956","filename":"file2"},{"photo_id":"1396226962","filename":"file4"},{"photo_id":"1396226953","filename":"file1"},{"photo_id":"1396226950","filename":"file0"},{"photo_id":"1396226958","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226962":["hashtag1","hashtag2"]},{"1396226965":["hashtag1","hashtag2"]},{"1396226950":["hashtag1","hashtag2"]},{"1396226953":["hashtag1","hashtag2"]},{"1396226956":["hashtag1","hashtag2"]},{"1396226958":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226962, 1396226965, 1396226950, 1396226953, 1396226956, 1396226958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.05209136009216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:40:03.207543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/54/image_26112025_04_54_22_2797.jpg', '/home/pi/Desktop/images/26112025/04/54/image_26112025_04_54_25_2604.jpg', '/home/pi/Desktop/images/26112025/04/54/image_26112025_04_54_29_3702.jpg', '/home/pi/Desktop/images/26112025/04/54/image_26112025_04_54_32_2706.jpg', '/home/pi/Desktop/images/26112025/04/54/image_26112025_04_54_34_2751.jpg', '/home/pi/Desktop/images/26112025/04/54/image_26112025_04_54_37_2894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/54/image_26112025_04_54_22_2797.jpg
/home/pi/Desktop/images/26112025/04/54/image_26112025_04_54_25_2604.jpg
/home/pi/Desktop/images/26112025/04/54/image_26112025_04_54_29_3702.jpg
/home/pi/Desktop/images/26112025/04/54/image_26112025_04_54_32_2706.jpg
/home/pi/Desktop/images/26112025/04/54/image_26112025_04_54_34_2751.jpg
/home/pi/Desktop/images/26112025/04/54/image_26112025_04_54_37_2894.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":["1396226984","1396226972","1396226980","1396226974","1396226976","1396226970"],"photo_ids_order":["1396226970","1396226972","1396226974","1396226976","1396226980","1396226984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8ee00868d04fb10d7687eaac5f9f7ddf.jpg","text":"TemporaryFile(/tmp/multipartBody5226366917867668310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146463941,"filename":"image_26112025_04_54_37_2894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/45348471723a404492ab9611083ae284.jpg","text":"TemporaryFile(/tmp/multipartBody8219798778953048090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146463941,"filename":"image_26112025_04_54_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/26/97a6127a2b0c53da29a03dc747a5b517.jpg","text":"TemporaryFile(/tmp/multipartBody2425390131398304016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146463941,"filename":"image_26112025_04_54_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/26/1a94fe444c091445694660fc76f066b0.jpg","text":"TemporaryFile(/tmp/multipartBody6446860592035730157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146463941,"filename":"image_26112025_04_54_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/26/74d4d8bdc24653a1051f1fa8a14612a3.jpg","text":"TemporaryFile(/tmp/multipartBody671272333261759720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146463941,"filename":"image_26112025_04_54_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/26/f2ea0d397e0b16d2a8a16166c5ee1c1e.jpg","text":"TemporaryFile(/tmp/multipartBody5633074077963457136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146463941,"filename":"image_26112025_04_54_22_2797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396226974","file1":"1396226972","file0":"1396226970","file4":"1396226980","file5":"1396226984","file3":"1396226976"},"map_files_photo_id_array":[{"photo_id":"1396226984","filename":"file5"},{"photo_id":"1396226974","filename":"file2"},{"photo_id":"1396226980","filename":"file4"},{"photo_id":"1396226972","filename":"file1"},{"photo_id":"1396226970","filename":"file0"},{"photo_id":"1396226976","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396226984":["hashtag1","hashtag2"]},{"1396226972":["hashtag1","hashtag2"]},{"1396226980":["hashtag1","hashtag2"]},{"1396226974":["hashtag1","hashtag2"]},{"1396226976":["hashtag1","hashtag2"]},{"1396226970":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396226984, 1396226972, 1396226980, 1396226974, 1396226976, 1396226970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72852373123169 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 09:40:42.601941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_07_3012.jpg', '/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_11_3657.jpg', '/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_13_2732.jpg', '/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_16_2693.jpg', '/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_20_3625.jpg', '/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_22_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_07_3012.jpg
/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_11_3657.jpg
/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_13_2732.jpg
/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_16_2693.jpg
/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_20_3625.jpg
/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_22_2610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396227062","1396227061","1396227043","1396227042","1396226994","1396227077"],"photo_ids_order":["1396226994","1396227042","1396227043","1396227061","1396227062","1396227077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8dd7ed108479a768ec4e87afd6df8c30.jpg","text":"TemporaryFile(/tmp/multipartBody2105360417552744247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146503282,"filename":"image_26112025_04_56_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/26/8dcfee76c9d207e3da3008d57d650322.jpg","text":"TemporaryFile(/tmp/multipartBody8738053012694393111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146503282,"filename":"image_26112025_04_56_16_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/26/bd46738d9c6bafa3c94003446a0356e0.jpg","text":"TemporaryFile(/tmp/multipartBody7824317092458246434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146503282,"filename":"image_26112025_04_56_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/26/603ee4da15ad1e216143f8a94e42052b.jpg","text":"TemporaryFile(/tmp/multipartBody8645142873270111569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146503282,"filename":"image_26112025_04_56_11_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/26/f3795afacec52a5fbd4b48fbf2f88435.jpg","text":"TemporaryFile(/tmp/multipartBody4701692774417371570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146503282,"filename":"image_26112025_04_56_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/26/61ba136696747fcec3bcb684eda815ae.jpg","text":"TemporaryFile(/tmp/multipartBody7227289993306448765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146503282,"filename":"image_26112025_04_56_22_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396227043","file1":"1396227042","file0":"1396226994","file4":"1396227062","file5":"1396227077","file3":"1396227061"},"map_files_photo_id_array":[{"photo_id":"1396227077","filename":"file5"},{"photo_id":"1396227043","filename":"file2"},{"photo_id":"1396227062","filename":"file4"},{"photo_id":"1396227042","filename":"file1"},{"photo_id":"1396226994","filename":"file0"},{"photo_id":"1396227061","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396227062":["hashtag1","hashtag2"]},{"1396227061":["hashtag1","hashtag2"]},{"1396227043":["hashtag1","hashtag2"]},{"1396227042":["hashtag1","hashtag2"]},{"1396226994":["hashtag1","hashtag2"]},{"1396227077":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396227062, 1396227061, 1396227043, 1396227042, 1396226994, 1396227077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.041035890579224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:41:22.618116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_26_3586.jpg', '/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_29_2619.jpg', '/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_31_2777.jpg', '/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_34_2682.jpg', '/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_38_3613.jpg', '/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_40_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_26_3586.jpg
/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_29_2619.jpg
/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_31_2777.jpg
/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_34_2682.jpg
/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_38_3613.jpg
/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_40_2634.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":["1396227089","1396227104","1396227124","1396227121","1396227087","1396227102"],"photo_ids_order":["1396227087","1396227089","1396227102","1396227104","1396227121","1396227124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/522f09e7db365615eaa853d56d57858b.jpg","text":"TemporaryFile(/tmp/multipartBody470428398210829036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146543394,"filename":"image_26112025_04_56_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/26/701dd413afb8d417155d6198bb0ddc23.jpg","text":"TemporaryFile(/tmp/multipartBody8386108112851762167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146543394,"filename":"image_26112025_04_56_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/26/bf25f88187653c527baffff7f2ae6eef.jpg","text":"TemporaryFile(/tmp/multipartBody6320552855798808311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146543394,"filename":"image_26112025_04_56_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/26/ceaacfa1d21b82ce40d2318446573e49.jpg","text":"TemporaryFile(/tmp/multipartBody1399424372489596733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146543394,"filename":"image_26112025_04_56_38_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/26/07acb9094ed0a0a92ada5dda339eecaa.jpg","text":"TemporaryFile(/tmp/multipartBody6900174230405704044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146543394,"filename":"image_26112025_04_56_26_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/26/df3b5f29c1c0ab8ab4f17845fb226b9f.jpg","text":"TemporaryFile(/tmp/multipartBody8076704441368246524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146543394,"filename":"image_26112025_04_56_31_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396227102","file1":"1396227089","file0":"1396227087","file4":"1396227121","file5":"1396227124","file3":"1396227104"},"map_files_photo_id_array":[{"photo_id":"1396227124","filename":"file5"},{"photo_id":"1396227102","filename":"file2"},{"photo_id":"1396227121","filename":"file4"},{"photo_id":"1396227089","filename":"file1"},{"photo_id":"1396227087","filename":"file0"},{"photo_id":"1396227104","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396227089":["hashtag1","hashtag2"]},{"1396227104":["hashtag1","hashtag2"]},{"1396227124":["hashtag1","hashtag2"]},{"1396227121":["hashtag1","hashtag2"]},{"1396227087":["hashtag1","hashtag2"]},{"1396227102":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396227089, 1396227104, 1396227124, 1396227121, 1396227087, 1396227102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.600528955459595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:42:03.241679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_44_3598.jpg', '/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_47_2869.jpg', '/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_49_2560.jpg', '/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_53_3602.jpg', '/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_55_2501.jpg', '/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_44_3598.jpg
/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_47_2869.jpg
/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_49_2560.jpg
/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_53_3602.jpg
/home/pi/Desktop/images/26112025/04/56/image_26112025_04_56_55_2501.jpg
/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_07_3011.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":["1396227131","1396227161","1396227134","1396227125","1396227127","1396227129"],"photo_ids_order":["1396227125","1396227127","1396227129","1396227131","1396227134","1396227161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/384ccc37fabe77663b648443904d4569.jpg","text":"TemporaryFile(/tmp/multipartBody6373374622170020850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146583994,"filename":"image_26112025_04_56_53_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/26/af604a19ac904026ebac60ace18bfe1b.jpg","text":"TemporaryFile(/tmp/multipartBody2930584645427554538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146583994,"filename":"image_26112025_04_58_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/26/1e104fea1e00da7331be6b005724bd47.jpg","text":"TemporaryFile(/tmp/multipartBody6954312616939111344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146583994,"filename":"image_26112025_04_56_55_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/26/7b2825eaa6f602d31642ce9d2334014f.jpg","text":"TemporaryFile(/tmp/multipartBody5418475036808235384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146583994,"filename":"image_26112025_04_56_44_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/26/f9a461383c08b0c6ca18bc98bc92e10d.jpg","text":"TemporaryFile(/tmp/multipartBody6361350922297685576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146583994,"filename":"image_26112025_04_56_47_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/26/14bc7a401eb2f23be939f5450a8af66b.jpg","text":"TemporaryFile(/tmp/multipartBody7675793339057331318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146583994,"filename":"image_26112025_04_56_49_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396227129","file1":"1396227127","file0":"1396227125","file4":"1396227134","file5":"1396227161","file3":"1396227131"},"map_files_photo_id_array":[{"photo_id":"1396227161","filename":"file5"},{"photo_id":"1396227129","filename":"file2"},{"photo_id":"1396227134","filename":"file4"},{"photo_id":"1396227127","filename":"file1"},{"photo_id":"1396227125","filename":"file0"},{"photo_id":"1396227131","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396227131":["hashtag1","hashtag2"]},{"1396227161":["hashtag1","hashtag2"]},{"1396227134":["hashtag1","hashtag2"]},{"1396227125":["hashtag1","hashtag2"]},{"1396227127":["hashtag1","hashtag2"]},{"1396227129":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396227131, 1396227161, 1396227134, 1396227125, 1396227127, 1396227129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74962496757507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 09:42:42.698521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_11_3691.jpg', '/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_14_2887.jpg', '/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_17_2710.jpg', '/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_19_2758.jpg', '/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_23_3630.jpg', '/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_26_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_11_3691.jpg
/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_14_2887.jpg
/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_17_2710.jpg
/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_19_2758.jpg
/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_23_3630.jpg
/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_26_2575.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":["1396227311","1396227361","1396227358","1396227319","1396227313","1396227300"],"photo_ids_order":["1396227300","1396227311","1396227313","1396227319","1396227358","1396227361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/035fe281a3f2b3303fb394761523bfd2.jpg","text":"TemporaryFile(/tmp/multipartBody6112008113814668067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146623371,"filename":"image_26112025_04_58_14_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/26/eb6cf1e686d8af60c05cad89c486db60.jpg","text":"TemporaryFile(/tmp/multipartBody4897804122502420105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146623371,"filename":"image_26112025_04_58_26_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/26/ee1bfee80343134c332f1bb8894aa955.jpg","text":"TemporaryFile(/tmp/multipartBody5284432919244676577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146623371,"filename":"image_26112025_04_58_23_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/26/8808cad38390e831ad39c240da2ac90b.jpg","text":"TemporaryFile(/tmp/multipartBody4792246938956891880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146623371,"filename":"image_26112025_04_58_19_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/26/b0701fc153072243a681181d00f2509b.jpg","text":"TemporaryFile(/tmp/multipartBody6075068082764529661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146623371,"filename":"image_26112025_04_58_17_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/26/d7ed89ebc77368434c2c698ddd59f23c.jpg","text":"TemporaryFile(/tmp/multipartBody7339811821080746242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146623371,"filename":"image_26112025_04_58_11_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396227313","file1":"1396227311","file0":"1396227300","file4":"1396227358","file5":"1396227361","file3":"1396227319"},"map_files_photo_id_array":[{"photo_id":"1396227361","filename":"file5"},{"photo_id":"1396227313","filename":"file2"},{"photo_id":"1396227358","filename":"file4"},{"photo_id":"1396227311","filename":"file1"},{"photo_id":"1396227300","filename":"file0"},{"photo_id":"1396227319","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396227311":["hashtag1","hashtag2"]},{"1396227361":["hashtag1","hashtag2"]},{"1396227358":["hashtag1","hashtag2"]},{"1396227319":["hashtag1","hashtag2"]},{"1396227313":["hashtag1","hashtag2"]},{"1396227300":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396227311, 1396227361, 1396227358, 1396227319, 1396227313, 1396227300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.827067375183105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:43:21.901990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_29_3622.jpg', '/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_32_3014.jpg', '/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_35_2497.jpg', '/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_40_2571.jpg', '/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_44_3654.jpg', '/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_47_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_29_3622.jpg
/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_32_3014.jpg
/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_35_2497.jpg
/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_40_2571.jpg
/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_44_3654.jpg
/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_47_2677.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":["1396227399","1396227471","1396227444","1396227402","1396227411","1396227395"],"photo_ids_order":["1396227395","1396227399","1396227402","1396227411","1396227444","1396227471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2fb8fe1c490d3d5a08a24593beb198b6.jpg","text":"TemporaryFile(/tmp/multipartBody8393351663677151883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146662572,"filename":"image_26112025_04_58_32_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/26/ad3381bde581548d660d112754cc3614.jpg","text":"TemporaryFile(/tmp/multipartBody8323654298076834263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146662572,"filename":"image_26112025_04_58_47_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8591149d7b6891b786ec98ece2c93c2b.jpg","text":"TemporaryFile(/tmp/multipartBody7094818953605666214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146662572,"filename":"image_26112025_04_58_44_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/26/2acbba69b761818730a8c048acbe63d8.jpg","text":"TemporaryFile(/tmp/multipartBody8357484609600230516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146662572,"filename":"image_26112025_04_58_35_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/26/6a3f5df35c42b62adadefa6c1ff9b538.jpg","text":"TemporaryFile(/tmp/multipartBody5671378495279854089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146662572,"filename":"image_26112025_04_58_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/26/29a7d115b96fc0fe7ec838b27550e930.jpg","text":"TemporaryFile(/tmp/multipartBody5788683016955549777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146662572,"filename":"image_26112025_04_58_29_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396227402","file1":"1396227399","file0":"1396227395","file4":"1396227444","file5":"1396227471","file3":"1396227411"},"map_files_photo_id_array":[{"photo_id":"1396227471","filename":"file5"},{"photo_id":"1396227402","filename":"file2"},{"photo_id":"1396227444","filename":"file4"},{"photo_id":"1396227399","filename":"file1"},{"photo_id":"1396227395","filename":"file0"},{"photo_id":"1396227411","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396227399":["hashtag1","hashtag2"]},{"1396227471":["hashtag1","hashtag2"]},{"1396227444":["hashtag1","hashtag2"]},{"1396227402":["hashtag1","hashtag2"]},{"1396227411":["hashtag1","hashtag2"]},{"1396227395":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396227399, 1396227471, 1396227444, 1396227402, 1396227411, 1396227395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.638564348220825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:44:02.795662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_49_2821.jpg', '/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_53_3692.jpg', '/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_56_2665.jpg', '/home/pi/Desktop/images/26112025/05/00/image_26112025_05_00_07_3011.jpg', '/home/pi/Desktop/images/26112025/05/00/image_26112025_05_00_11_3533.jpg', '/home/pi/Desktop/images/26112025/05/00/image_26112025_05_00_14_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_49_2821.jpg
/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_53_3692.jpg
/home/pi/Desktop/images/26112025/04/58/image_26112025_04_58_56_2665.jpg
/home/pi/Desktop/images/26112025/05/00/image_26112025_05_00_07_3011.jpg
/home/pi/Desktop/images/26112025/05/00/image_26112025_05_00_11_3533.jpg
/home/pi/Desktop/images/26112025/05/00/image_26112025_05_00_14_2634.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":["1396227478","1396227493","1396227489","1396227483","1396227477","1396227486"],"photo_ids_order":["1396227477","1396227478","1396227483","1396227486","1396227489","1396227493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/51122d9efb053dfdce59412550e42fb2.jpg","text":"TemporaryFile(/tmp/multipartBody262343822425732827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146703611,"filename":"image_26112025_04_58_53_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/26/9ec763e75d4444c55477cd91bf381e87.jpg","text":"TemporaryFile(/tmp/multipartBody7753181153196687889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146703611,"filename":"image_26112025_05_00_14_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/26/dc3bae6463b953616d40ea483fe3e4a7.jpg","text":"TemporaryFile(/tmp/multipartBody5283418553232925482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146703611,"filename":"image_26112025_05_00_11_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/26/ae5d2c1c634b3c78741c2a703d748852.jpg","text":"TemporaryFile(/tmp/multipartBody2849837710857375716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146703611,"filename":"image_26112025_04_58_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/26/6cd7ba8c22cf3c83c7eae9c80c04cece.jpg","text":"TemporaryFile(/tmp/multipartBody7735725737039498574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146703611,"filename":"image_26112025_04_58_49_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/26/8b741cd08af3748638711808ff75c197.jpg","text":"TemporaryFile(/tmp/multipartBody4211316783913699933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146703611,"filename":"image_26112025_05_00_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396227483","file1":"1396227478","file0":"1396227477","file4":"1396227489","file5":"1396227493","file3":"1396227486"},"map_files_photo_id_array":[{"photo_id":"1396227493","filename":"file5"},{"photo_id":"1396227483","filename":"file2"},{"photo_id":"1396227489","filename":"file4"},{"photo_id":"1396227478","filename":"file1"},{"photo_id":"1396227477","filename":"file0"},{"photo_id":"1396227486","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396227478":["hashtag1","hashtag2"]},{"1396227493":["hashtag1","hashtag2"]},{"1396227489":["hashtag1","hashtag2"]},{"1396227483":["hashtag1","hashtag2"]},{"1396227477":["hashtag1","hashtag2"]},{"1396227486":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396227478, 1396227493, 1396227489, 1396227483, 1396227477, 1396227486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96173691749573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 09:44:42.090355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/00/image_26112025_05_00_17_3574.jpg', '/home/pi/Desktop/images/26112025/05/00/image_26112025_05_00_20_2625.jpg', '/home/pi/Desktop/images/26112025/05/00/image_26112025_05_00_22_2656.jpg', '/home/pi/Desktop/images/26112025/05/00/image_26112025_05_00_26_3694.jpg', '/home/pi/Desktop/images/26112025/05/00/image_26112025_05_00_29_2623.jpg', '/home/pi/Desktop/images/26112025/05/00/image_26112025_05_00_32_2965.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/00/image_26112025_05_00_17_3574.jpg
/home/pi/Desktop/images/26112025/05/00/image_26112025_05_00_20_2625.jpg
/home/pi/Desktop/images/26112025/05/00/image_26112025_05_00_22_2656.jpg
/home/pi/Desktop/images/26112025/05/00/image_26112025_05_00_26_3694.jpg
/home/pi/Desktop/images/26112025/05/00/image_26112025_05_00_29_2623.jpg
/home/pi/Desktop/images/26112025/05/00/image_26112025_05_00_32_2965.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":["1396227503","1396227500","1396227502","1396227511","1396227505","1396227504"],"photo_ids_order":["1396227500","1396227502","1396227503","1396227504","1396227505","1396227511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9650beae254793676bf7cf6a8bf8411a.jpg","text":"TemporaryFile(/tmp/multipartBody6339072111555554049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146742764,"filename":"image_26112025_05_00_22_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/26/e177a0dd2fab9ace6f323dd1dd388576.jpg","text":"TemporaryFile(/tmp/multipartBody3981178258982909184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146742764,"filename":"image_26112025_05_00_17_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/26/44a59d76ec09d452364cc7b12eb6f0e7.jpg","text":"TemporaryFile(/tmp/multipartBody3425068757580332577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146742764,"filename":"image_26112025_05_00_20_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cc532ade77a65ebac87808a5be869cf6.jpg","text":"TemporaryFile(/tmp/multipartBody5066816216095904741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146742764,"filename":"image_26112025_05_00_32_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/26/121b8506c5a2554781e798cc39136974.jpg","text":"TemporaryFile(/tmp/multipartBody3517096105773781633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146742764,"filename":"image_26112025_05_00_29_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/26/1be1b8aa34386b2f081e691bd729e79a.jpg","text":"TemporaryFile(/tmp/multipartBody6879115838869929523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146742764,"filename":"image_26112025_05_00_26_3694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396227503","file1":"1396227502","file0":"1396227500","file4":"1396227505","file5":"1396227511","file3":"1396227504"},"map_files_photo_id_array":[{"photo_id":"1396227511","filename":"file5"},{"photo_id":"1396227503","filename":"file2"},{"photo_id":"1396227505","filename":"file4"},{"photo_id":"1396227502","filename":"file1"},{"photo_id":"1396227500","filename":"file0"},{"photo_id":"1396227504","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396227503":["hashtag1","hashtag2"]},{"1396227500":["hashtag1","hashtag2"]},{"1396227502":["hashtag1","hashtag2"]},{"1396227511":["hashtag1","hashtag2"]},{"1396227505":["hashtag1","hashtag2"]},{"1396227504":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396227503, 1396227500, 1396227502, 1396227511, 1396227505, 1396227504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09090495109558 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:45:22.434821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/00/image_26112025_05_00_34_2641.jpg', '/home/pi/Desktop/images/26112025/05/00/image_26112025_05_00_38_3643.jpg', '/home/pi/Desktop/images/26112025/05/00/image_26112025_05_00_41_2707.jpg', '/home/pi/Desktop/images/26112025/05/00/image_26112025_05_00_44_3532.jpg', '/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_07_3012.jpg', '/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_11_3711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/00/image_26112025_05_00_34_2641.jpg
/home/pi/Desktop/images/26112025/05/00/image_26112025_05_00_38_3643.jpg
/home/pi/Desktop/images/26112025/05/00/image_26112025_05_00_41_2707.jpg
/home/pi/Desktop/images/26112025/05/00/image_26112025_05_00_44_3532.jpg
/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_07_3012.jpg
/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_11_3711.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":["1396227545","1396227527","1396227547","1396227535","1396227531","1396227540"],"photo_ids_order":["1396227527","1396227531","1396227535","1396227540","1396227545","1396227547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1562a95f4368c7ce304aa2b28fcac024.jpg","text":"TemporaryFile(/tmp/multipartBody369699511221690306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146783187,"filename":"image_26112025_05_02_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/26/a9160cbfcf96ffc655b73b3b0603116f.jpg","text":"TemporaryFile(/tmp/multipartBody4726439323367637172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146783187,"filename":"image_26112025_05_00_34_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bfbd8b778a12c183db78361703b29df4.jpg","text":"TemporaryFile(/tmp/multipartBody3097202500464398185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146783187,"filename":"image_26112025_05_02_11_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/26/4c986fbdac43c1485f1e3dd559a96581.jpg","text":"TemporaryFile(/tmp/multipartBody1615571562981661407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146783187,"filename":"image_26112025_05_00_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/26/f27b31d4a67f9741fa4366b3bb279f7b.jpg","text":"TemporaryFile(/tmp/multipartBody4357171654673764756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146783187,"filename":"image_26112025_05_00_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/26/5aa54f6363f13b30655f677c02e0b5a7.jpg","text":"TemporaryFile(/tmp/multipartBody4655337815024517774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146783187,"filename":"image_26112025_05_00_44_3532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396227535","file1":"1396227531","file0":"1396227527","file4":"1396227545","file5":"1396227547","file3":"1396227540"},"map_files_photo_id_array":[{"photo_id":"1396227547","filename":"file5"},{"photo_id":"1396227535","filename":"file2"},{"photo_id":"1396227545","filename":"file4"},{"photo_id":"1396227531","filename":"file1"},{"photo_id":"1396227527","filename":"file0"},{"photo_id":"1396227540","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396227545":["hashtag1","hashtag2"]},{"1396227527":["hashtag1","hashtag2"]},{"1396227547":["hashtag1","hashtag2"]},{"1396227535":["hashtag1","hashtag2"]},{"1396227531":["hashtag1","hashtag2"]},{"1396227540":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396227545, 1396227527, 1396227547, 1396227535, 1396227531, 1396227540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.293607234954834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:46:03.018950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_13_2604.jpg', '/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_16_2681.jpg', '/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_20_3663.jpg', '/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_22_2671.jpg', '/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_25_2742.jpg', '/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_29_3754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_13_2604.jpg
/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_16_2681.jpg
/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_20_3663.jpg
/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_22_2671.jpg
/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_25_2742.jpg
/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_29_3754.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":["1396227557","1396227559","1396227562","1396227555","1396227552","1396227549"],"photo_ids_order":["1396227549","1396227552","1396227555","1396227557","1396227559","1396227562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2ce3417d5b237b942c201f2131c4126e.jpg","text":"TemporaryFile(/tmp/multipartBody2246000058534670222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146823735,"filename":"image_26112025_05_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/26/eadd5c1a70bbee508641491bf241ca2a.jpg","text":"TemporaryFile(/tmp/multipartBody5204137814954635766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146823735,"filename":"image_26112025_05_02_25_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1b568da935544044f9cceee35a41a820.jpg","text":"TemporaryFile(/tmp/multipartBody158285807359291974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146823735,"filename":"image_26112025_05_02_29_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/26/27784f9384da11b367f0b6ac631c5d9c.jpg","text":"TemporaryFile(/tmp/multipartBody7128467863743725038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146823735,"filename":"image_26112025_05_02_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/26/303b0311e277aaa7677039cf33792b30.jpg","text":"TemporaryFile(/tmp/multipartBody26617791800994450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146823735,"filename":"image_26112025_05_02_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/26/408221cb63a6ebd4b3d139757262fe27.jpg","text":"TemporaryFile(/tmp/multipartBody8253977889153498786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146823735,"filename":"image_26112025_05_02_13_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396227555","file1":"1396227552","file0":"1396227549","file4":"1396227559","file5":"1396227562","file3":"1396227557"},"map_files_photo_id_array":[{"photo_id":"1396227562","filename":"file5"},{"photo_id":"1396227555","filename":"file2"},{"photo_id":"1396227559","filename":"file4"},{"photo_id":"1396227552","filename":"file1"},{"photo_id":"1396227549","filename":"file0"},{"photo_id":"1396227557","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396227557":["hashtag1","hashtag2"]},{"1396227559":["hashtag1","hashtag2"]},{"1396227562":["hashtag1","hashtag2"]},{"1396227555":["hashtag1","hashtag2"]},{"1396227552":["hashtag1","hashtag2"]},{"1396227549":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396227557, 1396227559, 1396227562, 1396227555, 1396227552, 1396227549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15046715736389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 09:46:42.486748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_32_2843.jpg', '/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_34_2556.jpg', '/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_38_3656.jpg', '/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_40_2546.jpg', '/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_43_2523.jpg', '/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_46_3583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_32_2843.jpg
/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_34_2556.jpg
/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_38_3656.jpg
/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_40_2546.jpg
/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_43_2523.jpg
/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_46_3583.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":["1396227578","1396227611","1396227583","1396227571","1396227574","1396227575"],"photo_ids_order":["1396227571","1396227574","1396227575","1396227578","1396227583","1396227611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8063b464f865fccd13c3d862a3938803.jpg","text":"TemporaryFile(/tmp/multipartBody6465937015884195360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146863160,"filename":"image_26112025_05_02_40_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/26/42dc329a41fec3c89d4c9a545bb44b64.jpg","text":"TemporaryFile(/tmp/multipartBody347384698113525076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146863160,"filename":"image_26112025_05_02_46_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/527c23dd90176a3c4f9611d1d1e2b063.jpg","text":"TemporaryFile(/tmp/multipartBody830659649796750574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146863160,"filename":"image_26112025_05_02_43_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/26/4bc3be7510ac4595009d27a33d0f450a.jpg","text":"TemporaryFile(/tmp/multipartBody4228828128703997443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146863160,"filename":"image_26112025_05_02_32_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/26/d20a7a9150125035f55540875f967190.jpg","text":"TemporaryFile(/tmp/multipartBody2701575789652422683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146863160,"filename":"image_26112025_05_02_34_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/26/a75881dc4ad1e2092f0fa708bea4e92c.jpg","text":"TemporaryFile(/tmp/multipartBody1634525987477529271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146863160,"filename":"image_26112025_05_02_38_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396227575","file1":"1396227574","file0":"1396227571","file4":"1396227583","file5":"1396227611","file3":"1396227578"},"map_files_photo_id_array":[{"photo_id":"1396227611","filename":"file5"},{"photo_id":"1396227575","filename":"file2"},{"photo_id":"1396227583","filename":"file4"},{"photo_id":"1396227574","filename":"file1"},{"photo_id":"1396227571","filename":"file0"},{"photo_id":"1396227578","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396227578":["hashtag1","hashtag2"]},{"1396227611":["hashtag1","hashtag2"]},{"1396227583":["hashtag1","hashtag2"]},{"1396227571":["hashtag1","hashtag2"]},{"1396227574":["hashtag1","hashtag2"]},{"1396227575":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396227578, 1396227611, 1396227583, 1396227571, 1396227574, 1396227575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35699462890625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:47:22.772613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_49_2653.jpg', '/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_53_3675.jpg', '/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_56_2767.jpg', '/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_07_3012.jpg', '/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_10_3514.jpg', '/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_16_3548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_49_2653.jpg
/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_53_3675.jpg
/home/pi/Desktop/images/26112025/05/02/image_26112025_05_02_56_2767.jpg
/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_07_3012.jpg
/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_10_3514.jpg
/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_16_3548.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":["1396227857","1396227892","1396227922","1396227772","1396227817","1396227927"],"photo_ids_order":["1396227772","1396227817","1396227857","1396227892","1396227922","1396227927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/243dae6b4d1fc8d4836f0b719000550c.jpg","text":"TemporaryFile(/tmp/multipartBody6229862111841350201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146903466,"filename":"image_26112025_05_02_56_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/26/977470de686dd3386775cb40aade197a.jpg","text":"TemporaryFile(/tmp/multipartBody2909549438903199174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146903466,"filename":"image_26112025_05_04_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/26/e918df9e8ed8a82964327918d510aae4.jpg","text":"TemporaryFile(/tmp/multipartBody1265671792949566450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146903466,"filename":"image_26112025_05_04_10_3514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/652aa4e611ddb4debbf0602b9d792833.jpg","text":"TemporaryFile(/tmp/multipartBody6393176473880399250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146903466,"filename":"image_26112025_05_02_49_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/26/a70a14c5678f6d3074496a99d704bcb3.jpg","text":"TemporaryFile(/tmp/multipartBody5100479749034825103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146903466,"filename":"image_26112025_05_02_53_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/26/7e7267d853fbce1e01a5541f48deddac.jpg","text":"TemporaryFile(/tmp/multipartBody2021852494750421780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146903466,"filename":"image_26112025_05_04_16_3548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396227857","file1":"1396227817","file0":"1396227772","file4":"1396227922","file5":"1396227927","file3":"1396227892"},"map_files_photo_id_array":[{"photo_id":"1396227927","filename":"file5"},{"photo_id":"1396227857","filename":"file2"},{"photo_id":"1396227922","filename":"file4"},{"photo_id":"1396227817","filename":"file1"},{"photo_id":"1396227772","filename":"file0"},{"photo_id":"1396227892","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396227857":["hashtag1","hashtag2"]},{"1396227892":["hashtag1","hashtag2"]},{"1396227922":["hashtag1","hashtag2"]},{"1396227772":["hashtag1","hashtag2"]},{"1396227817":["hashtag1","hashtag2"]},{"1396227927":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396227857, 1396227892, 1396227922, 1396227772, 1396227817, 1396227927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25510573387146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:48:02.411924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_22_2656.jpg', '/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_25_3644.jpg', '/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_28_2635.jpg', '/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_31_2657.jpg', '/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_34_3784.jpg', '/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_37_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_22_2656.jpg
/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_25_3644.jpg
/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_28_2635.jpg
/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_31_2657.jpg
/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_34_3784.jpg
/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_37_2638.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.65787672996521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:48:11.878388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_22_2656.jpg', '/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_25_3644.jpg', '/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_28_2635.jpg', '/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_31_2657.jpg', '/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_34_3784.jpg', '/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_37_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_22_2656.jpg
/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_25_3644.jpg
/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_28_2635.jpg
/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_31_2657.jpg
/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_34_3784.jpg
/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_37_2638.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":["1396227953","1396227949","1396227943","1396227946","1396227956","1396227959"],"photo_ids_order":["1396227943","1396227946","1396227949","1396227953","1396227956","1396227959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e68b33811a0855406cc953504fdcec39.jpg","text":"TemporaryFile(/tmp/multipartBody3596639542148783846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146952589,"filename":"image_26112025_05_04_31_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/26/24f2ae754ef4f4e4726b6c1d8da3e8be.jpg","text":"TemporaryFile(/tmp/multipartBody7594794292173917517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146952589,"filename":"image_26112025_05_04_28_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/26/728f280c65c3508231f0d119c3130a8a.jpg","text":"TemporaryFile(/tmp/multipartBody2696760252165020151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146952589,"filename":"image_26112025_05_04_22_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/26/2b44ea55d537a7ab7233ed7e82444b1f.jpg","text":"TemporaryFile(/tmp/multipartBody7500162812077674291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146952589,"filename":"image_26112025_05_04_25_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/26/078b8a5d706b52e6c94e648256655cc9.jpg","text":"TemporaryFile(/tmp/multipartBody2147428782771165824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146952589,"filename":"image_26112025_05_04_34_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/26/e79ad863634ac0ee1f6eb3b025940eaf.jpg","text":"TemporaryFile(/tmp/multipartBody2830077142758518510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764146952589,"filename":"image_26112025_05_04_37_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396227949","file1":"1396227946","file0":"1396227943","file4":"1396227956","file5":"1396227959","file3":"1396227953"},"map_files_photo_id_array":[{"photo_id":"1396227959","filename":"file5"},{"photo_id":"1396227949","filename":"file2"},{"photo_id":"1396227956","filename":"file4"},{"photo_id":"1396227946","filename":"file1"},{"photo_id":"1396227943","filename":"file0"},{"photo_id":"1396227953","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396227953":["hashtag1","hashtag2"]},{"1396227949":["hashtag1","hashtag2"]},{"1396227943":["hashtag1","hashtag2"]},{"1396227946":["hashtag1","hashtag2"]},{"1396227956":["hashtag1","hashtag2"]},{"1396227959":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396227953, 1396227949, 1396227943, 1396227946, 1396227956, 1396227959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.76560068130493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:49:03.157358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_40_2618.jpg', '/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_43_3652.jpg', '/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_46_2765.jpg', '/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_49_2589.jpg', '/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_52_3723.jpg', '/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_55_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_40_2618.jpg
/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_43_3652.jpg
/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_46_2765.jpg
/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_49_2589.jpg
/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_52_3723.jpg
/home/pi/Desktop/images/26112025/05/04/image_26112025_05_04_55_2684.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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396227968","1396227979","1396227970","1396227972","1396227966","1396227975"],"photo_ids_order":["1396227966","1396227968","1396227970","1396227972","1396227975","1396227979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/71d82d5a89686745adc52c4ed64b4d4a.jpg","text":"TemporaryFile(/tmp/multipartBody7338306772776990623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147004022,"filename":"image_26112025_05_04_43_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/26/e69aba800ae09420a178c11969c7f658.jpg","text":"TemporaryFile(/tmp/multipartBody747427155771811426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147004022,"filename":"image_26112025_05_04_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/26/074e5e0e68d55e3fb6008300d2980d9c.jpg","text":"TemporaryFile(/tmp/multipartBody274985683740572144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147004022,"filename":"image_26112025_05_04_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/26/618438496a5ebd03840c1be38e4bafe9.jpg","text":"TemporaryFile(/tmp/multipartBody2656653600668227333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147004022,"filename":"image_26112025_05_04_49_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/26/dfc322367f933c56d436d514f297c68b.jpg","text":"TemporaryFile(/tmp/multipartBody3822098002723528675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147004022,"filename":"image_26112025_05_04_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/26/5b40c6ad9aefdb35dc113fb684ad2688.jpg","text":"TemporaryFile(/tmp/multipartBody4985536602793385720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147004022,"filename":"image_26112025_05_04_52_3723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396227970","file1":"1396227968","file0":"1396227966","file4":"1396227975","file5":"1396227979","file3":"1396227972"},"map_files_photo_id_array":[{"photo_id":"1396227979","filename":"file5"},{"photo_id":"1396227970","filename":"file2"},{"photo_id":"1396227975","filename":"file4"},{"photo_id":"1396227968","filename":"file1"},{"photo_id":"1396227966","filename":"file0"},{"photo_id":"1396227972","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396227968":["hashtag1","hashtag2"]},{"1396227979":["hashtag1","hashtag2"]},{"1396227970":["hashtag1","hashtag2"]},{"1396227972":["hashtag1","hashtag2"]},{"1396227966":["hashtag1","hashtag2"]},{"1396227975":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396227968, 1396227979, 1396227970, 1396227972, 1396227966, 1396227975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.327224254608154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:50:04.914694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_07_3011.jpg', '/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_11_3498.jpg', '/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_13_2685.jpg', '/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_17_3705.jpg', '/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_20_2675.jpg', '/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_26_3493.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_07_3011.jpg
/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_11_3498.jpg
/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_13_2685.jpg
/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_17_3705.jpg
/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_20_2675.jpg
/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_26_3493.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.6168763637542725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:50:14.420062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_07_3011.jpg', '/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_11_3498.jpg', '/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_13_2685.jpg', '/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_17_3705.jpg', '/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_20_2675.jpg', '/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_26_3493.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_07_3011.jpg
/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_11_3498.jpg
/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_13_2685.jpg
/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_17_3705.jpg
/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_20_2675.jpg
/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_26_3493.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":["1396228027","1396228035","1396228023","1396228008","1396228019","1396228013"],"photo_ids_order":["1396228008","1396228013","1396228019","1396228023","1396228027","1396228035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9568d755bac8c7cad9c24ef1f75107a2.jpg","text":"TemporaryFile(/tmp/multipartBody8830029840829948189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147075191,"filename":"image_26112025_05_06_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/26/7deadfd5a4ea0eb8a673fa57f7e040c8.jpg","text":"TemporaryFile(/tmp/multipartBody2768205201168674547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147075191,"filename":"image_26112025_05_06_26_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/26/cd85b977942b1809ce9360bd6d76fe71.jpg","text":"TemporaryFile(/tmp/multipartBody1872335177650784287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147075191,"filename":"image_26112025_05_06_17_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/26/31536b458389e55dd6da6074866918b6.jpg","text":"TemporaryFile(/tmp/multipartBody3554765668360802059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147075191,"filename":"image_26112025_05_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/26/2af5167a73bdcf375e308a2eb2982827.jpg","text":"TemporaryFile(/tmp/multipartBody8498169601581514278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147075191,"filename":"image_26112025_05_06_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/26/b8f5ce1b225571a715905c2ba65f70a2.jpg","text":"TemporaryFile(/tmp/multipartBody7222377865262592218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147075191,"filename":"image_26112025_05_06_11_3498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396228019","file1":"1396228013","file0":"1396228008","file4":"1396228027","file5":"1396228035","file3":"1396228023"},"map_files_photo_id_array":[{"photo_id":"1396228035","filename":"file5"},{"photo_id":"1396228019","filename":"file2"},{"photo_id":"1396228027","filename":"file4"},{"photo_id":"1396228013","filename":"file1"},{"photo_id":"1396228008","filename":"file0"},{"photo_id":"1396228023","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396228027":["hashtag1","hashtag2"]},{"1396228035":["hashtag1","hashtag2"]},{"1396228023":["hashtag1","hashtag2"]},{"1396228008":["hashtag1","hashtag2"]},{"1396228019":["hashtag1","hashtag2"]},{"1396228013":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396228027, 1396228035, 1396228023, 1396228008, 1396228019, 1396228013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33458685874939 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:51:03.374776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_29_2667.jpg', '/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_32_3547.jpg', '/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_35_2804.jpg', '/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_38_2731.jpg', '/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_40_2603.jpg', '/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_44_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_29_2667.jpg
/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_32_3547.jpg
/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_35_2804.jpg
/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_38_2731.jpg
/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_40_2603.jpg
/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_44_3640.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":["1396228066","1396228060","1396228062","1396228073","1396228070","1396228064"],"photo_ids_order":["1396228060","1396228062","1396228064","1396228066","1396228070","1396228073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/334f856172a4a16ebb42397266decf8a.jpg","text":"TemporaryFile(/tmp/multipartBody167801759194085224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147124131,"filename":"image_26112025_05_06_38_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/26/1cac8f8d5b0943f669c65f5e6a607711.jpg","text":"TemporaryFile(/tmp/multipartBody5940919531286706582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147124131,"filename":"image_26112025_05_06_29_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/26/b8751e0bc0ac2a975445d1326f03d109.jpg","text":"TemporaryFile(/tmp/multipartBody7262067938690917634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147124131,"filename":"image_26112025_05_06_32_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/26/2bb1e7d482f76e561349619bc625f4d5.jpg","text":"TemporaryFile(/tmp/multipartBody2166577877629968026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147124131,"filename":"image_26112025_05_06_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/26/ffe7c4629220e464e36a625dd3d9b25c.jpg","text":"TemporaryFile(/tmp/multipartBody3323847419297333276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147124131,"filename":"image_26112025_05_06_40_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/26/173c944c3e5ba6349af0f3f244d9ad05.jpg","text":"TemporaryFile(/tmp/multipartBody732080010540699480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147124131,"filename":"image_26112025_05_06_35_2804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396228064","file1":"1396228062","file0":"1396228060","file4":"1396228070","file5":"1396228073","file3":"1396228066"},"map_files_photo_id_array":[{"photo_id":"1396228073","filename":"file5"},{"photo_id":"1396228064","filename":"file2"},{"photo_id":"1396228070","filename":"file4"},{"photo_id":"1396228062","filename":"file1"},{"photo_id":"1396228060","filename":"file0"},{"photo_id":"1396228066","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396228066":["hashtag1","hashtag2"]},{"1396228060":["hashtag1","hashtag2"]},{"1396228062":["hashtag1","hashtag2"]},{"1396228073":["hashtag1","hashtag2"]},{"1396228070":["hashtag1","hashtag2"]},{"1396228064":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396228066, 1396228060, 1396228062, 1396228073, 1396228070, 1396228064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7955162525177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 09:51:42.599252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_50_3577.jpg', '/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_53_2554.jpg', '/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_55_2539.jpg', '/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_59_3598.jpg', '/home/pi/Desktop/images/26112025/05/07/image_26112025_05_07_02_2681.jpg', '/home/pi/Desktop/images/26112025/05/08/image_26112025_05_08_07_3018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_50_3577.jpg
/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_53_2554.jpg
/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_55_2539.jpg
/home/pi/Desktop/images/26112025/05/06/image_26112025_05_06_59_3598.jpg
/home/pi/Desktop/images/26112025/05/07/image_26112025_05_07_02_2681.jpg
/home/pi/Desktop/images/26112025/05/08/image_26112025_05_08_07_3018.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":["1396228087","1396228089","1396228091","1396228088","1396228082","1396228085"],"photo_ids_order":["1396228082","1396228085","1396228087","1396228088","1396228089","1396228091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6a2d4960e880b3ce09b5a3fc25301796.jpg","text":"TemporaryFile(/tmp/multipartBody104437692086251538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147163314,"filename":"image_26112025_05_06_55_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/26/2020a74f8aca58a893bd1aead4cdca0d.jpg","text":"TemporaryFile(/tmp/multipartBody3892389424430635470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147163314,"filename":"image_26112025_05_07_02_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/26/20c1d4f57d11482c188bd2a005a8be0e.jpg","text":"TemporaryFile(/tmp/multipartBody7935914734358795337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147163314,"filename":"image_26112025_05_08_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/26/c4d0b1984e39a995cd47014750f404ee.jpg","text":"TemporaryFile(/tmp/multipartBody7971619194448848965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147163314,"filename":"image_26112025_05_06_59_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/26/3880dca69c697c9096dd0d173a261ded.jpg","text":"TemporaryFile(/tmp/multipartBody3980897898109740257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147163314,"filename":"image_26112025_05_06_50_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/26/b4f1bae48f08a0cbc71132e585834e63.jpg","text":"TemporaryFile(/tmp/multipartBody5735879005920083594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147163314,"filename":"image_26112025_05_06_53_2554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396228087","file1":"1396228085","file0":"1396228082","file4":"1396228089","file5":"1396228091","file3":"1396228088"},"map_files_photo_id_array":[{"photo_id":"1396228091","filename":"file5"},{"photo_id":"1396228087","filename":"file2"},{"photo_id":"1396228089","filename":"file4"},{"photo_id":"1396228085","filename":"file1"},{"photo_id":"1396228082","filename":"file0"},{"photo_id":"1396228088","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396228087":["hashtag1","hashtag2"]},{"1396228089":["hashtag1","hashtag2"]},{"1396228091":["hashtag1","hashtag2"]},{"1396228088":["hashtag1","hashtag2"]},{"1396228082":["hashtag1","hashtag2"]},{"1396228085":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396228087, 1396228089, 1396228091, 1396228088, 1396228082, 1396228085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0006058216095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:52:22.768671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/08/image_26112025_05_08_10_3750.jpg', '/home/pi/Desktop/images/26112025/05/08/image_26112025_05_08_13_2636.jpg', '/home/pi/Desktop/images/26112025/05/08/image_26112025_05_08_16_2754.jpg', '/home/pi/Desktop/images/26112025/05/08/image_26112025_05_08_19_3525.jpg', '/home/pi/Desktop/images/26112025/05/08/image_26112025_05_08_22_2737.jpg', '/home/pi/Desktop/images/26112025/05/08/image_26112025_05_08_25_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/08/image_26112025_05_08_10_3750.jpg
/home/pi/Desktop/images/26112025/05/08/image_26112025_05_08_13_2636.jpg
/home/pi/Desktop/images/26112025/05/08/image_26112025_05_08_16_2754.jpg
/home/pi/Desktop/images/26112025/05/08/image_26112025_05_08_19_3525.jpg
/home/pi/Desktop/images/26112025/05/08/image_26112025_05_08_22_2737.jpg
/home/pi/Desktop/images/26112025/05/08/image_26112025_05_08_25_2657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396228099","1396228103","1396228114","1396228108","1396228118","1396228112"],"photo_ids_order":["1396228099","1396228103","1396228108","1396228112","1396228114","1396228118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3abe1621cc1382a4226d6685ff8de8ac.jpg","text":"TemporaryFile(/tmp/multipartBody3431862694559068333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147203551,"filename":"image_26112025_05_08_10_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/26/2582b7a34bff950f3f529e1579552f0c.jpg","text":"TemporaryFile(/tmp/multipartBody1672484518805116041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147203551,"filename":"image_26112025_05_08_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/26/f11d9cb6a0465466b5ec1b222da3f861.jpg","text":"TemporaryFile(/tmp/multipartBody2511952990929104918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147203551,"filename":"image_26112025_05_08_22_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0927fff10531eff81b3fad3925d8968c.jpg","text":"TemporaryFile(/tmp/multipartBody5423880860577553124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147203551,"filename":"image_26112025_05_08_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/26/6d30980fa86f841769a177ec4b91147d.jpg","text":"TemporaryFile(/tmp/multipartBody1156653940091077167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147203551,"filename":"image_26112025_05_08_25_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a38423cbb47993eddb0ca2ecef34e7a8.jpg","text":"TemporaryFile(/tmp/multipartBody2425821881151612694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147203551,"filename":"image_26112025_05_08_19_3525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396228108","file1":"1396228103","file0":"1396228099","file4":"1396228114","file5":"1396228118","file3":"1396228112"},"map_files_photo_id_array":[{"photo_id":"1396228118","filename":"file5"},{"photo_id":"1396228108","filename":"file2"},{"photo_id":"1396228114","filename":"file4"},{"photo_id":"1396228103","filename":"file1"},{"photo_id":"1396228099","filename":"file0"},{"photo_id":"1396228112","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396228099":["hashtag1","hashtag2"]},{"1396228103":["hashtag1","hashtag2"]},{"1396228114":["hashtag1","hashtag2"]},{"1396228108":["hashtag1","hashtag2"]},{"1396228118":["hashtag1","hashtag2"]},{"1396228112":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396228099, 1396228103, 1396228114, 1396228108, 1396228118, 1396228112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02027726173401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:53:02.896923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/08/image_26112025_05_08_28_3595.jpg', '/home/pi/Desktop/images/26112025/05/08/image_26112025_05_08_31_2648.jpg', '/home/pi/Desktop/images/26112025/05/08/image_26112025_05_08_34_3567.jpg', '/home/pi/Desktop/images/26112025/05/08/image_26112025_05_08_37_2640.jpg', '/home/pi/Desktop/images/26112025/05/08/image_26112025_05_08_40_2636.jpg', '/home/pi/Desktop/images/26112025/05/08/image_26112025_05_08_43_3534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/08/image_26112025_05_08_28_3595.jpg
/home/pi/Desktop/images/26112025/05/08/image_26112025_05_08_31_2648.jpg
/home/pi/Desktop/images/26112025/05/08/image_26112025_05_08_34_3567.jpg
/home/pi/Desktop/images/26112025/05/08/image_26112025_05_08_37_2640.jpg
/home/pi/Desktop/images/26112025/05/08/image_26112025_05_08_40_2636.jpg
/home/pi/Desktop/images/26112025/05/08/image_26112025_05_08_43_3534.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":["1396228121","1396228123","1396228132","1396228128","1396228125","1396228119"],"photo_ids_order":["1396228119","1396228121","1396228123","1396228125","1396228128","1396228132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/39f1994000fc52933fb9d5e0faf808a6.jpg","text":"TemporaryFile(/tmp/multipartBody4489666270984523249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147243673,"filename":"image_26112025_05_08_31_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/26/182007dd25cca1c0f0369e24889f7593.jpg","text":"TemporaryFile(/tmp/multipartBody9027867318701455184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147243673,"filename":"image_26112025_05_08_34_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/26/7b9e11ecc490929b6439e25aefc27e6a.jpg","text":"TemporaryFile(/tmp/multipartBody8181415061430813331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147243673,"filename":"image_26112025_05_08_43_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/26/cb489abf64b8b4aff446fe8e8b0e9bf8.jpg","text":"TemporaryFile(/tmp/multipartBody1103866649183958987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147243673,"filename":"image_26112025_05_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/26/3e24f6fbc463f9d14545e8355d33fd30.jpg","text":"TemporaryFile(/tmp/multipartBody4419219993593757916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147243673,"filename":"image_26112025_05_08_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/26/0d47a57eb163995e816505194c1eefae.jpg","text":"TemporaryFile(/tmp/multipartBody8711550849351958116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147243673,"filename":"image_26112025_05_08_28_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396228123","file1":"1396228121","file0":"1396228119","file4":"1396228128","file5":"1396228132","file3":"1396228125"},"map_files_photo_id_array":[{"photo_id":"1396228132","filename":"file5"},{"photo_id":"1396228123","filename":"file2"},{"photo_id":"1396228128","filename":"file4"},{"photo_id":"1396228121","filename":"file1"},{"photo_id":"1396228119","filename":"file0"},{"photo_id":"1396228125","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396228121":["hashtag1","hashtag2"]},{"1396228123":["hashtag1","hashtag2"]},{"1396228132":["hashtag1","hashtag2"]},{"1396228128":["hashtag1","hashtag2"]},{"1396228125":["hashtag1","hashtag2"]},{"1396228119":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396228121, 1396228123, 1396228132, 1396228128, 1396228125, 1396228119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84520363807678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 09:53:42.296072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_07_3011.jpg', '/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_10_3575.jpg', '/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_13_2484.jpg', '/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_17_3685.jpg', '/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_19_2672.jpg', '/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_22_2800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_07_3011.jpg
/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_10_3575.jpg
/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_13_2484.jpg
/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_17_3685.jpg
/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_19_2672.jpg
/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_22_2800.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":["1396228162","1396228158","1396228161","1396228155","1396228160","1396228142"],"photo_ids_order":["1396228142","1396228155","1396228158","1396228160","1396228161","1396228162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/29d79e670a8ac362bf3a1598f3ee2aff.jpg","text":"TemporaryFile(/tmp/multipartBody5036756760204490835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147283002,"filename":"image_26112025_05_10_22_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/26/6075076fb7f5a8606d8e77fa4d34c302.jpg","text":"TemporaryFile(/tmp/multipartBody2986091633960727041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147283002,"filename":"image_26112025_05_10_13_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/26/9619720e24a4625aab0dbcb7a6e33df5.jpg","text":"TemporaryFile(/tmp/multipartBody7370222240861479303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147283002,"filename":"image_26112025_05_10_19_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/26/1bc2799c42e29d79de4a02f5527dc23e.jpg","text":"TemporaryFile(/tmp/multipartBody6797109231237160077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147283002,"filename":"image_26112025_05_10_10_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/26/e08bf8e2c77a372de917dd752d60c758.jpg","text":"TemporaryFile(/tmp/multipartBody4028776776352632782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147283002,"filename":"image_26112025_05_10_17_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/26/f26d48b788ce25e97bba5be8fff7b0a8.jpg","text":"TemporaryFile(/tmp/multipartBody2546999489961001506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147283002,"filename":"image_26112025_05_10_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396228158","file1":"1396228155","file0":"1396228142","file4":"1396228161","file5":"1396228162","file3":"1396228160"},"map_files_photo_id_array":[{"photo_id":"1396228162","filename":"file5"},{"photo_id":"1396228158","filename":"file2"},{"photo_id":"1396228161","filename":"file4"},{"photo_id":"1396228155","filename":"file1"},{"photo_id":"1396228142","filename":"file0"},{"photo_id":"1396228160","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396228162":["hashtag1","hashtag2"]},{"1396228158":["hashtag1","hashtag2"]},{"1396228161":["hashtag1","hashtag2"]},{"1396228155":["hashtag1","hashtag2"]},{"1396228160":["hashtag1","hashtag2"]},{"1396228142":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396228162, 1396228158, 1396228161, 1396228155, 1396228160, 1396228142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42778182029724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:54:22.505264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_26_3669.jpg', '/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_28_2565.jpg', '/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_31_2645.jpg', '/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_35_3596.jpg', '/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_37_2582.jpg', '/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_41_3648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_26_3669.jpg
/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_28_2565.jpg
/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_31_2645.jpg
/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_35_3596.jpg
/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_37_2582.jpg
/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_41_3648.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.6149594783782959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:54:32.491870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_26_3669.jpg', '/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_28_2565.jpg', '/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_31_2645.jpg', '/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_35_3596.jpg', '/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_37_2582.jpg', '/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_41_3648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_26_3669.jpg
/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_28_2565.jpg
/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_31_2645.jpg
/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_35_3596.jpg
/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_37_2582.jpg
/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_41_3648.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":["1396228183","1396228186","1396228179","1396228187","1396228196","1396228175"],"photo_ids_order":["1396228175","1396228179","1396228183","1396228186","1396228187","1396228196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/548284b360bd716d1cff497735ada4ec.jpg","text":"TemporaryFile(/tmp/multipartBody7415853425122630782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147333205,"filename":"image_26112025_05_10_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/26/bfbd36feb2940515f0d54e9f983e0461.jpg","text":"TemporaryFile(/tmp/multipartBody5123991305190318561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147333205,"filename":"image_26112025_05_10_35_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/26/8c27ae31acd7dc349264636cbb5e6e0d.jpg","text":"TemporaryFile(/tmp/multipartBody4261624069402444506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147333205,"filename":"image_26112025_05_10_28_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/26/62f7f46123bfaad0a380f276056b9aca.jpg","text":"TemporaryFile(/tmp/multipartBody8946846246598535240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147333205,"filename":"image_26112025_05_10_37_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3bd9c3639c996549dc413eecbcf7a1fc.jpg","text":"TemporaryFile(/tmp/multipartBody2682007791691689159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147333205,"filename":"image_26112025_05_10_41_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/26/c3f6adb22be0e49189e5d979640bd28f.jpg","text":"TemporaryFile(/tmp/multipartBody655856736890620204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147333205,"filename":"image_26112025_05_10_26_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396228183","file1":"1396228179","file0":"1396228175","file4":"1396228187","file5":"1396228196","file3":"1396228186"},"map_files_photo_id_array":[{"photo_id":"1396228196","filename":"file5"},{"photo_id":"1396228183","filename":"file2"},{"photo_id":"1396228187","filename":"file4"},{"photo_id":"1396228179","filename":"file1"},{"photo_id":"1396228175","filename":"file0"},{"photo_id":"1396228186","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396228183":["hashtag1","hashtag2"]},{"1396228186":["hashtag1","hashtag2"]},{"1396228179":["hashtag1","hashtag2"]},{"1396228187":["hashtag1","hashtag2"]},{"1396228196":["hashtag1","hashtag2"]},{"1396228175":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396228183, 1396228186, 1396228179, 1396228187, 1396228196, 1396228175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50111699104309 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:55:11.958269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_43_2583.jpg', '/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_46_2716.jpg', '/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_50_3600.jpg', '/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_52_2519.jpg', '/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_55_2775.jpg', '/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_59_3550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_43_2583.jpg
/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_46_2716.jpg
/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_50_3600.jpg
/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_52_2519.jpg
/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_55_2775.jpg
/home/pi/Desktop/images/26112025/05/10/image_26112025_05_10_59_3550.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":["1396228229","1396228239","1396228212","1396228242","1396228244","1396228211"],"photo_ids_order":["1396228211","1396228212","1396228229","1396228239","1396228242","1396228244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7a83fa44d3fac1b33db7370f39061a60.jpg","text":"TemporaryFile(/tmp/multipartBody8240731604322105200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147372631,"filename":"image_26112025_05_10_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/26/c791cdc93c03dbd03bd489d07e5b0520.jpg","text":"TemporaryFile(/tmp/multipartBody2800613881206144486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147372631,"filename":"image_26112025_05_10_52_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/26/35c643a65815a5d9f9a0e99267a36fc8.jpg","text":"TemporaryFile(/tmp/multipartBody6517826428689180618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147372631,"filename":"image_26112025_05_10_46_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/26/4ffd29c472b35a34cbdfbfdf2692489e.jpg","text":"TemporaryFile(/tmp/multipartBody3334262585731131300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147372631,"filename":"image_26112025_05_10_55_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/26/f993d8667e819cf461eb15d81dc70422.jpg","text":"TemporaryFile(/tmp/multipartBody8215527920403105288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147372631,"filename":"image_26112025_05_10_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/26/ef5fa0d68ac707946c743305b94e23cd.jpg","text":"TemporaryFile(/tmp/multipartBody158585919813582148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147372631,"filename":"image_26112025_05_10_43_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396228229","file1":"1396228212","file0":"1396228211","file4":"1396228242","file5":"1396228244","file3":"1396228239"},"map_files_photo_id_array":[{"photo_id":"1396228244","filename":"file5"},{"photo_id":"1396228229","filename":"file2"},{"photo_id":"1396228242","filename":"file4"},{"photo_id":"1396228212","filename":"file1"},{"photo_id":"1396228211","filename":"file0"},{"photo_id":"1396228239","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396228229":["hashtag1","hashtag2"]},{"1396228239":["hashtag1","hashtag2"]},{"1396228212":["hashtag1","hashtag2"]},{"1396228242":["hashtag1","hashtag2"]},{"1396228244":["hashtag1","hashtag2"]},{"1396228211":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396228229, 1396228239, 1396228212, 1396228242, 1396228244, 1396228211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24098467826843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:56:02.803173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_07_3012.jpg', '/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_17_3567.jpg', '/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_19_2537.jpg', '/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_23_3602.jpg', '/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_25_2637.jpg', '/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_28_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_07_3012.jpg
/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_17_3567.jpg
/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_19_2537.jpg
/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_23_3602.jpg
/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_25_2637.jpg
/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_28_2684.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":["1396228264","1396228261","1396228255","1396228257","1396228253","1396228259"],"photo_ids_order":["1396228253","1396228255","1396228257","1396228259","1396228261","1396228264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a0eea75d1b90674a1e69959ea26011d9.jpg","text":"TemporaryFile(/tmp/multipartBody6952114649106163751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147423535,"filename":"image_26112025_05_12_28_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/26/7e3fd8bbd00ba256a5a17d565e0c0dd4.jpg","text":"TemporaryFile(/tmp/multipartBody3039481870561155955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147423535,"filename":"image_26112025_05_12_25_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/26/5a01031413d8bc47885d6aecf6cc700c.jpg","text":"TemporaryFile(/tmp/multipartBody9122223489371422273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147423535,"filename":"image_26112025_05_12_17_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/26/84e216ff87fbd490d9beec860723011e.jpg","text":"TemporaryFile(/tmp/multipartBody1279421593950380682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147423535,"filename":"image_26112025_05_12_19_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/26/7d1e59002bab41e7d1879b1a3c405c26.jpg","text":"TemporaryFile(/tmp/multipartBody3604137923177642867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147423535,"filename":"image_26112025_05_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/26/73e3c21df2451bc734990888e0df7109.jpg","text":"TemporaryFile(/tmp/multipartBody3310857804001141259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147423535,"filename":"image_26112025_05_12_23_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396228257","file1":"1396228255","file0":"1396228253","file4":"1396228261","file5":"1396228264","file3":"1396228259"},"map_files_photo_id_array":[{"photo_id":"1396228264","filename":"file5"},{"photo_id":"1396228257","filename":"file2"},{"photo_id":"1396228261","filename":"file4"},{"photo_id":"1396228255","filename":"file1"},{"photo_id":"1396228253","filename":"file0"},{"photo_id":"1396228259","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396228264":["hashtag1","hashtag2"]},{"1396228261":["hashtag1","hashtag2"]},{"1396228255":["hashtag1","hashtag2"]},{"1396228257":["hashtag1","hashtag2"]},{"1396228253":["hashtag1","hashtag2"]},{"1396228259":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396228264, 1396228261, 1396228255, 1396228257, 1396228253, 1396228259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.909292697906494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 09:56:42.224766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_34_2717.jpg', '/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_37_2699.jpg', '/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_41_3566.jpg', '/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_43_2499.jpg', '/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_46_2670.jpg', '/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_49_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_34_2717.jpg
/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_37_2699.jpg
/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_41_3566.jpg
/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_43_2499.jpg
/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_46_2670.jpg
/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_49_3600.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":["1396228276","1396228296","1396228290","1396228278","1396228305","1396228289"],"photo_ids_order":["1396228276","1396228278","1396228289","1396228290","1396228296","1396228305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/80b9b9c8d78d51edb0160daafeea9e4c.jpg","text":"TemporaryFile(/tmp/multipartBody3801924460626505559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147462917,"filename":"image_26112025_05_12_34_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/387d22d910bfaf1f26795a9fbc09be77.jpg","text":"TemporaryFile(/tmp/multipartBody5534785258684579492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147462917,"filename":"image_26112025_05_12_46_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/26/db913e29375a7bef3ee8bcbc65dbb009.jpg","text":"TemporaryFile(/tmp/multipartBody5819345456736267576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147462917,"filename":"image_26112025_05_12_43_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/26/13c1a775967b507692c6f2ee68865e2c.jpg","text":"TemporaryFile(/tmp/multipartBody678439359341313463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147462917,"filename":"image_26112025_05_12_37_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/26/eff09482fc0b1c68a518b1a45048a21d.jpg","text":"TemporaryFile(/tmp/multipartBody3268589404741957298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147462917,"filename":"image_26112025_05_12_49_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/26/ee6f2fdd88db2dfde27052c823f4626c.jpg","text":"TemporaryFile(/tmp/multipartBody6025433885890843694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147462917,"filename":"image_26112025_05_12_41_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396228289","file1":"1396228278","file0":"1396228276","file4":"1396228296","file5":"1396228305","file3":"1396228290"},"map_files_photo_id_array":[{"photo_id":"1396228305","filename":"file5"},{"photo_id":"1396228289","filename":"file2"},{"photo_id":"1396228296","filename":"file4"},{"photo_id":"1396228278","filename":"file1"},{"photo_id":"1396228276","filename":"file0"},{"photo_id":"1396228290","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396228276":["hashtag1","hashtag2"]},{"1396228296":["hashtag1","hashtag2"]},{"1396228290":["hashtag1","hashtag2"]},{"1396228278":["hashtag1","hashtag2"]},{"1396228305":["hashtag1","hashtag2"]},{"1396228289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396228276, 1396228296, 1396228290, 1396228278, 1396228305, 1396228289)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.401169776916504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 09:57:34.065398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_52_2556.jpg', '/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_55_2979.jpg', '/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_07_3012.jpg', '/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_10_3616.jpg', '/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_13_2708.jpg', '/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_16_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_52_2556.jpg
/home/pi/Desktop/images/26112025/05/12/image_26112025_05_12_55_2979.jpg
/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_07_3012.jpg
/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_10_3616.jpg
/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_13_2708.jpg
/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_16_2645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396228324","1396228323","1396228320","1396228314","1396228317","1396228322"],"photo_ids_order":["1396228314","1396228317","1396228320","1396228322","1396228323","1396228324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/30b6584fde8356bf951b9ddfc3dd208a.jpg","text":"TemporaryFile(/tmp/multipartBody7916579359467377674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147515307,"filename":"image_26112025_05_14_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/26/5bfa23491c56109e436ff833a1f44a9b.jpg","text":"TemporaryFile(/tmp/multipartBody66091061552978680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147515307,"filename":"image_26112025_05_14_13_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/26/8e4a24a9a6b5f8330dde1392858a8bde.jpg","text":"TemporaryFile(/tmp/multipartBody1300144414770627840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147515307,"filename":"image_26112025_05_14_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/26/30b93623345742a52f4c67eb5ee036a0.jpg","text":"TemporaryFile(/tmp/multipartBody5677144918525041669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147515307,"filename":"image_26112025_05_12_52_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/26/bd4816b8c2185a58061d473053e51165.jpg","text":"TemporaryFile(/tmp/multipartBody8981926141587887410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147515307,"filename":"image_26112025_05_12_55_2979.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dc77c9a764177a969920daee5ca1cc98.jpg","text":"TemporaryFile(/tmp/multipartBody2912502598198070433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147515307,"filename":"image_26112025_05_14_10_3616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396228320","file1":"1396228317","file0":"1396228314","file4":"1396228323","file5":"1396228324","file3":"1396228322"},"map_files_photo_id_array":[{"photo_id":"1396228324","filename":"file5"},{"photo_id":"1396228320","filename":"file2"},{"photo_id":"1396228323","filename":"file4"},{"photo_id":"1396228317","filename":"file1"},{"photo_id":"1396228314","filename":"file0"},{"photo_id":"1396228322","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396228324":["hashtag1","hashtag2"]},{"1396228323":["hashtag1","hashtag2"]},{"1396228320":["hashtag1","hashtag2"]},{"1396228314":["hashtag1","hashtag2"]},{"1396228317":["hashtag1","hashtag2"]},{"1396228322":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396228324, 1396228323, 1396228320, 1396228314, 1396228317, 1396228322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82565402984619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 09:59:03.468909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 09:59:12.599146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_19_3537.jpg', '/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_22_2609.jpg', '/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_26_3697.jpg', '/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_31_2688.jpg', '/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_34_3579.jpg', '/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_37_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_19_3537.jpg
/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_22_2609.jpg
/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_26_3697.jpg
/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_31_2688.jpg
/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_34_3579.jpg
/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_37_2681.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":["1396228345","1396228348","1396228342","1396228336","1396228339","1396228349"],"photo_ids_order":["1396228336","1396228339","1396228342","1396228345","1396228348","1396228349"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dd581bac70bb1012395426801988d044.jpg","text":"TemporaryFile(/tmp/multipartBody3279784057988544321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147613325,"filename":"image_26112025_05_14_31_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/26/685c6c2c16cb7feabe9cc277d97e32fa.jpg","text":"TemporaryFile(/tmp/multipartBody5006238590131131822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147613325,"filename":"image_26112025_05_14_34_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/26/7847e22f0a71eafac5f3ab3bfde1cef8.jpg","text":"TemporaryFile(/tmp/multipartBody2281828229959793735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147613325,"filename":"image_26112025_05_14_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/26/97a5c73fa544121b86cf5f0215d06a10.jpg","text":"TemporaryFile(/tmp/multipartBody7128568798157446430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147613325,"filename":"image_26112025_05_14_19_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/26/c38bb489e6cd69374dcd96fd02d8b3a0.jpg","text":"TemporaryFile(/tmp/multipartBody8389166976485727569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147613325,"filename":"image_26112025_05_14_22_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/26/43da7c8baabda9c95ef032d8fcd9b72e.jpg","text":"TemporaryFile(/tmp/multipartBody5156346118734397771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147613325,"filename":"image_26112025_05_14_37_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396228342","file1":"1396228339","file0":"1396228336","file4":"1396228348","file5":"1396228349","file3":"1396228345"},"map_files_photo_id_array":[{"photo_id":"1396228349","filename":"file5"},{"photo_id":"1396228342","filename":"file2"},{"photo_id":"1396228348","filename":"file4"},{"photo_id":"1396228339","filename":"file1"},{"photo_id":"1396228336","filename":"file0"},{"photo_id":"1396228345","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396228345":["hashtag1","hashtag2"]},{"1396228348":["hashtag1","hashtag2"]},{"1396228342":["hashtag1","hashtag2"]},{"1396228336":["hashtag1","hashtag2"]},{"1396228339":["hashtag1","hashtag2"]},{"1396228349":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396228345, 1396228348, 1396228342, 1396228336, 1396228339, 1396228349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81565546989441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:00:03.259166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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 10
2025-11-26 10:00:22.801051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_41_3560.jpg', '/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_46_2539.jpg', '/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_50_3625.jpg', '/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_52_2628.jpg', '/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_55_2735.jpg', '/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_58_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_41_3560.jpg
/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_46_2539.jpg
/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_50_3625.jpg
/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_52_2628.jpg
/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_55_2735.jpg
/home/pi/Desktop/images/26112025/05/14/image_26112025_05_14_58_3591.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":["1396228399","1396228392","1396228395","1396228397","1396228394","1396228403"],"photo_ids_order":["1396228392","1396228394","1396228395","1396228397","1396228399","1396228403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/70732a6c66ecb412e7afc8b575de512c.jpg","text":"TemporaryFile(/tmp/multipartBody8398436364329543119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147683480,"filename":"image_26112025_05_14_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/26/ff6a83adbb6171496254225c0321af42.jpg","text":"TemporaryFile(/tmp/multipartBody5639164665912292026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147683480,"filename":"image_26112025_05_14_41_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/26/c244a7ebb747a97397bc444eaf660d5f.jpg","text":"TemporaryFile(/tmp/multipartBody1898791782393840291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147683480,"filename":"image_26112025_05_14_50_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/26/18ccb745474bbba24b5b935be4738ec9.jpg","text":"TemporaryFile(/tmp/multipartBody3289227631162530699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147683480,"filename":"image_26112025_05_14_52_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/26/3c2e3ac3376a86321a1fbc5af58c1404.jpg","text":"TemporaryFile(/tmp/multipartBody7590139298573007597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147683480,"filename":"image_26112025_05_14_46_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/26/96d9d30d2d22d0fba8966ec1f75d4c10.jpg","text":"TemporaryFile(/tmp/multipartBody923787299701210373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147683480,"filename":"image_26112025_05_14_58_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396228395","file1":"1396228394","file0":"1396228392","file4":"1396228399","file5":"1396228403","file3":"1396228397"},"map_files_photo_id_array":[{"photo_id":"1396228403","filename":"file5"},{"photo_id":"1396228395","filename":"file2"},{"photo_id":"1396228399","filename":"file4"},{"photo_id":"1396228394","filename":"file1"},{"photo_id":"1396228392","filename":"file0"},{"photo_id":"1396228397","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396228399":["hashtag1","hashtag2"]},{"1396228392":["hashtag1","hashtag2"]},{"1396228395":["hashtag1","hashtag2"]},{"1396228397":["hashtag1","hashtag2"]},{"1396228394":["hashtag1","hashtag2"]},{"1396228403":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396228399, 1396228392, 1396228395, 1396228397, 1396228394, 1396228403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.889644145965576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:01:03.470821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/15/image_26112025_05_15_01_2596.jpg', '/home/pi/Desktop/images/26112025/05/15/image_26112025_05_15_04_2686.jpg', '/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_08_3021.jpg', '/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_11_3693.jpg', '/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_14_2572.jpg', '/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_17_3558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/15/image_26112025_05_15_01_2596.jpg
/home/pi/Desktop/images/26112025/05/15/image_26112025_05_15_04_2686.jpg
/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_08_3021.jpg
/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_11_3693.jpg
/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_14_2572.jpg
/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_17_3558.jpg
 val : 1 : upload photos already in processing! 
 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":["1396228610","1396228412","1396228465","1396228429","1396228504","1396228563"],"photo_ids_order":["1396228412","1396228429","1396228465","1396228504","1396228563","1396228610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1ce25d90a792af0c7a4e8d8ff415d6eb.jpg","text":"TemporaryFile(/tmp/multipartBody8722842503532461660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147726781,"filename":"image_26112025_05_16_17_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/26/9b7258d4a34a7bb793430fde83d13da4.jpg","text":"TemporaryFile(/tmp/multipartBody7267016253680947370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147726781,"filename":"image_26112025_05_15_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/26/27641dfa2c1ada66e8819dbba67eb022.jpg","text":"TemporaryFile(/tmp/multipartBody8742143721728761169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147726781,"filename":"image_26112025_05_16_08_3021.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4dc1772594cf47b4c934072bf39dfd52.jpg","text":"TemporaryFile(/tmp/multipartBody6626746202295566854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147726781,"filename":"image_26112025_05_15_04_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/be3c543724c8ba1a4ac5e5192f61aeea.jpg","text":"TemporaryFile(/tmp/multipartBody5720020972983372875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147726781,"filename":"image_26112025_05_16_11_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c7cd3b790dbe3b9e6a36c3317b51a4e7.jpg","text":"TemporaryFile(/tmp/multipartBody4726599661258822731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147726781,"filename":"image_26112025_05_16_14_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396228465","file1":"1396228429","file0":"1396228412","file4":"1396228563","file5":"1396228610","file3":"1396228504"},"map_files_photo_id_array":[{"photo_id":"1396228610","filename":"file5"},{"photo_id":"1396228465","filename":"file2"},{"photo_id":"1396228563","filename":"file4"},{"photo_id":"1396228429","filename":"file1"},{"photo_id":"1396228412","filename":"file0"},{"photo_id":"1396228504","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396228610":["hashtag1","hashtag2"]},{"1396228412":["hashtag1","hashtag2"]},{"1396228465":["hashtag1","hashtag2"]},{"1396228429":["hashtag1","hashtag2"]},{"1396228504":["hashtag1","hashtag2"]},{"1396228563":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396228610, 1396228412, 1396228465, 1396228429, 1396228504, 1396228563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.665355920791626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:02:05.916923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_20_2716.jpg', '/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_23_2665.jpg', '/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_26_3684.jpg', '/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_29_2663.jpg', '/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_32_2607.jpg', '/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_35_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_20_2716.jpg
/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_23_2665.jpg
/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_26_3684.jpg
/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_29_2663.jpg
/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_32_2607.jpg
/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_35_3661.jpg
 val : 1 : upload photos already in processing! 
 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":["1396229131","1396229020","1396229094","1396229058","1396228985","1396229170"],"photo_ids_order":["1396228985","1396229020","1396229058","1396229094","1396229131","1396229170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/873b764a9fdf3707056a27ef5457f5a0.jpg","text":"TemporaryFile(/tmp/multipartBody6427879468409601982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147790771,"filename":"image_26112025_05_16_32_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/26/6eb75b8dd6518f756ee8315eedf50594.jpg","text":"TemporaryFile(/tmp/multipartBody4112398741880601498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147790771,"filename":"image_26112025_05_16_23_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/26/51d5817f2e3b179342c202e0f31e21bf.jpg","text":"TemporaryFile(/tmp/multipartBody7707668314685705804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147790771,"filename":"image_26112025_05_16_29_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/26/3f59fcc7ed9c43682ee5cacc1f0c2710.jpg","text":"TemporaryFile(/tmp/multipartBody8654063601927258518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147790771,"filename":"image_26112025_05_16_26_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/26/30e8ac7cd1b6d1aff5f759d70de67164.jpg","text":"TemporaryFile(/tmp/multipartBody8041635447708850020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147790771,"filename":"image_26112025_05_16_20_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/26/32ac41963c39187dc73e10b61616c51d.jpg","text":"TemporaryFile(/tmp/multipartBody8835178503231153687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147790771,"filename":"image_26112025_05_16_35_3661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396229058","file1":"1396229020","file0":"1396228985","file4":"1396229131","file5":"1396229170","file3":"1396229094"},"map_files_photo_id_array":[{"photo_id":"1396229170","filename":"file5"},{"photo_id":"1396229058","filename":"file2"},{"photo_id":"1396229131","filename":"file4"},{"photo_id":"1396229020","filename":"file1"},{"photo_id":"1396228985","filename":"file0"},{"photo_id":"1396229094","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396229131":["hashtag1","hashtag2"]},{"1396229020":["hashtag1","hashtag2"]},{"1396229094":["hashtag1","hashtag2"]},{"1396229058":["hashtag1","hashtag2"]},{"1396228985":["hashtag1","hashtag2"]},{"1396229170":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396229131, 1396229020, 1396229094, 1396229058, 1396228985, 1396229170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.872602701187134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:03:02.783698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 10:03:12.211562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_38_2625.jpg', '/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_40_2544.jpg', '/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_44_3565.jpg', '/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_47_2671.jpg', '/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_50_3621.jpg', '/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_55_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_38_2625.jpg
/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_40_2544.jpg
/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_44_3565.jpg
/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_47_2671.jpg
/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_50_3621.jpg
/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_55_2619.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":["1396229452","1396229415","1396229390","1396229392","1396229395","1396229389"],"photo_ids_order":["1396229389","1396229390","1396229392","1396229395","1396229415","1396229452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/07139d9a77f6f614a7144f041e473b91.jpg","text":"TemporaryFile(/tmp/multipartBody8337861211000393146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147852935,"filename":"image_26112025_05_16_55_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/26/31acc34b4b55805043b73077569aa1d1.jpg","text":"TemporaryFile(/tmp/multipartBody4066479788504099827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147852935,"filename":"image_26112025_05_16_50_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/26/12905abb8b5a65cfff5553bbe71261f2.jpg","text":"TemporaryFile(/tmp/multipartBody6645478624902821566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147852935,"filename":"image_26112025_05_16_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/26/6f3717158d5fd9a37e305f6936f6828a.jpg","text":"TemporaryFile(/tmp/multipartBody2187883869799925317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147852935,"filename":"image_26112025_05_16_44_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/26/510da066d25ae16cb47d83f0e6ab3620.jpg","text":"TemporaryFile(/tmp/multipartBody7371403068289972022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147852935,"filename":"image_26112025_05_16_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/26/add59df494f56d49acd3f16ed819598d.jpg","text":"TemporaryFile(/tmp/multipartBody6411799037030574144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147852935,"filename":"image_26112025_05_16_38_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396229392","file1":"1396229390","file0":"1396229389","file4":"1396229415","file5":"1396229452","file3":"1396229395"},"map_files_photo_id_array":[{"photo_id":"1396229452","filename":"file5"},{"photo_id":"1396229392","filename":"file2"},{"photo_id":"1396229415","filename":"file4"},{"photo_id":"1396229390","filename":"file1"},{"photo_id":"1396229389","filename":"file0"},{"photo_id":"1396229395","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396229452":["hashtag1","hashtag2"]},{"1396229415":["hashtag1","hashtag2"]},{"1396229390":["hashtag1","hashtag2"]},{"1396229392":["hashtag1","hashtag2"]},{"1396229395":["hashtag1","hashtag2"]},{"1396229389":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396229452, 1396229415, 1396229390, 1396229392, 1396229395, 1396229389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74916958808899 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:04:02.976728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_59_3655.jpg', '/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_07_3018.jpg', '/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_10_3570.jpg', '/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_13_2590.jpg', '/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_16_3573.jpg', '/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_19_2573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/16/image_26112025_05_16_59_3655.jpg
/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_07_3018.jpg
/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_10_3570.jpg
/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_13_2590.jpg
/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_16_3573.jpg
/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_19_2573.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":["1396229595","1396229661","1396229693","1396229663","1396229633","1396229587"],"photo_ids_order":["1396229587","1396229595","1396229633","1396229661","1396229663","1396229693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c3d81709e4263808450ebc642efdae39.jpg","text":"TemporaryFile(/tmp/multipartBody5150035030925932244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147903728,"filename":"image_26112025_05_18_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/26/0c9534ee3e545d871c92ff773812f75a.jpg","text":"TemporaryFile(/tmp/multipartBody8311244050432109412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147903728,"filename":"image_26112025_05_18_13_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/26/9c9f8509657f0012af999dc6c2386173.jpg","text":"TemporaryFile(/tmp/multipartBody3521493240346385948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147903728,"filename":"image_26112025_05_18_19_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/26/b20dddd4cf8f71358f074a40eb3384d6.jpg","text":"TemporaryFile(/tmp/multipartBody8468523563082811691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147903728,"filename":"image_26112025_05_18_16_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/26/ba5bfb2984d04fd2c13e62d76534b517.jpg","text":"TemporaryFile(/tmp/multipartBody1714309932906875004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147903728,"filename":"image_26112025_05_18_10_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/14f861727f55af71a27f2e650d12b9ea.jpg","text":"TemporaryFile(/tmp/multipartBody3808312374159152004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147903728,"filename":"image_26112025_05_16_59_3655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396229633","file1":"1396229595","file0":"1396229587","file4":"1396229663","file5":"1396229693","file3":"1396229661"},"map_files_photo_id_array":[{"photo_id":"1396229693","filename":"file5"},{"photo_id":"1396229633","filename":"file2"},{"photo_id":"1396229663","filename":"file4"},{"photo_id":"1396229595","filename":"file1"},{"photo_id":"1396229587","filename":"file0"},{"photo_id":"1396229661","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396229595":["hashtag1","hashtag2"]},{"1396229661":["hashtag1","hashtag2"]},{"1396229693":["hashtag1","hashtag2"]},{"1396229663":["hashtag1","hashtag2"]},{"1396229633":["hashtag1","hashtag2"]},{"1396229587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396229595, 1396229661, 1396229693, 1396229663, 1396229633, 1396229587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.947365045547485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 10:04:42.336850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_22_2709.jpg', '/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_25_3745.jpg', '/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_28_2597.jpg', '/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_31_2675.jpg', '/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_34_3613.jpg', '/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_37_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_22_2709.jpg
/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_25_3745.jpg
/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_28_2597.jpg
/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_31_2675.jpg
/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_34_3613.jpg
/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_37_2704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396229728","1396229724","1396229721","1396229715","1396229718","1396229726"],"photo_ids_order":["1396229715","1396229718","1396229721","1396229724","1396229726","1396229728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ddce0d3d2056e01746385aab54cfb55a.jpg","text":"TemporaryFile(/tmp/multipartBody3269664392299350528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147943011,"filename":"image_26112025_05_18_37_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cbdd9558deb77accf4e9b31483247136.jpg","text":"TemporaryFile(/tmp/multipartBody8714274087041609587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147943011,"filename":"image_26112025_05_18_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/26/9f61a62dda31905f1b93e412e693837d.jpg","text":"TemporaryFile(/tmp/multipartBody398272278312836580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147943011,"filename":"image_26112025_05_18_28_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/26/2cc4b4216bf5d0cd0064940fa0991f5e.jpg","text":"TemporaryFile(/tmp/multipartBody4270519385281806410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147943011,"filename":"image_26112025_05_18_22_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/26/04302510458858a2e9b874c57d5c61ab.jpg","text":"TemporaryFile(/tmp/multipartBody2275646839967451494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147943011,"filename":"image_26112025_05_18_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/26/2792fe0b1a0c8f5ab83c7a5b3afd96f8.jpg","text":"TemporaryFile(/tmp/multipartBody6118424931918938139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147943011,"filename":"image_26112025_05_18_34_3613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396229721","file1":"1396229718","file0":"1396229715","file4":"1396229726","file5":"1396229728","file3":"1396229724"},"map_files_photo_id_array":[{"photo_id":"1396229728","filename":"file5"},{"photo_id":"1396229721","filename":"file2"},{"photo_id":"1396229726","filename":"file4"},{"photo_id":"1396229718","filename":"file1"},{"photo_id":"1396229715","filename":"file0"},{"photo_id":"1396229724","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396229728":["hashtag1","hashtag2"]},{"1396229724":["hashtag1","hashtag2"]},{"1396229721":["hashtag1","hashtag2"]},{"1396229715":["hashtag1","hashtag2"]},{"1396229718":["hashtag1","hashtag2"]},{"1396229726":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396229728, 1396229724, 1396229721, 1396229715, 1396229718, 1396229726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54596781730652 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-26 10:05:32.644026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_40_2677.jpg', '/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_43_3551.jpg', '/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_47_4176.jpg', '/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_49_1658.jpg', '/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_52_2738.jpg', '/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_55_3696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_40_2677.jpg
/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_43_3551.jpg
/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_47_4176.jpg
/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_49_1658.jpg
/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_52_2738.jpg
/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_55_3696.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":["1396229740","1396229743","1396229737","1396229757","1396229745","1396229756"],"photo_ids_order":["1396229737","1396229740","1396229743","1396229745","1396229756","1396229757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/588021fc8069387eedfeaa7e68d2d6ef.jpg","text":"TemporaryFile(/tmp/multipartBody6769583838396621522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147993356,"filename":"image_26112025_05_18_43_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/26/b08c0a760a38cab3b698a7decc4592fa.jpg","text":"TemporaryFile(/tmp/multipartBody3620019929242446153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147993356,"filename":"image_26112025_05_18_47_4176.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/03a2293501414224e79a1727e4f31f97.jpg","text":"TemporaryFile(/tmp/multipartBody6045727927201294524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147993356,"filename":"image_26112025_05_18_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/26/adf161a586d0248ca80dcab1873472d7.jpg","text":"TemporaryFile(/tmp/multipartBody3143580971966853411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147993356,"filename":"image_26112025_05_18_55_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/26/8ebfce5f3cc2467ec1786bed9c15ba56.jpg","text":"TemporaryFile(/tmp/multipartBody2441302600106370670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147993356,"filename":"image_26112025_05_18_49_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/26/efa9749c0a0c78b9ef3113f0070dbcb1.jpg","text":"TemporaryFile(/tmp/multipartBody4061573756649367532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764147993356,"filename":"image_26112025_05_18_52_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396229743","file1":"1396229740","file0":"1396229737","file4":"1396229756","file5":"1396229757","file3":"1396229745"},"map_files_photo_id_array":[{"photo_id":"1396229757","filename":"file5"},{"photo_id":"1396229743","filename":"file2"},{"photo_id":"1396229756","filename":"file4"},{"photo_id":"1396229740","filename":"file1"},{"photo_id":"1396229737","filename":"file0"},{"photo_id":"1396229745","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396229740":["hashtag1","hashtag2"]},{"1396229743":["hashtag1","hashtag2"]},{"1396229737":["hashtag1","hashtag2"]},{"1396229757":["hashtag1","hashtag2"]},{"1396229745":["hashtag1","hashtag2"]},{"1396229756":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396229740, 1396229743, 1396229737, 1396229757, 1396229745, 1396229756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86397075653076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:06:11.961581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_58_2705.jpg', '/home/pi/Desktop/images/26112025/05/19/image_26112025_05_19_01_2810.jpg', '/home/pi/Desktop/images/26112025/05/20/image_26112025_05_20_07_3010.jpg', '/home/pi/Desktop/images/26112025/05/20/image_26112025_05_20_11_3569.jpg', '/home/pi/Desktop/images/26112025/05/20/image_26112025_05_20_14_2759.jpg', '/home/pi/Desktop/images/26112025/05/20/image_26112025_05_20_16_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/18/image_26112025_05_18_58_2705.jpg
/home/pi/Desktop/images/26112025/05/19/image_26112025_05_19_01_2810.jpg
/home/pi/Desktop/images/26112025/05/20/image_26112025_05_20_07_3010.jpg
/home/pi/Desktop/images/26112025/05/20/image_26112025_05_20_11_3569.jpg
/home/pi/Desktop/images/26112025/05/20/image_26112025_05_20_14_2759.jpg
/home/pi/Desktop/images/26112025/05/20/image_26112025_05_20_16_2718.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":["1396229761","1396229771","1396229768","1396229765","1396229759","1396229758"],"photo_ids_order":["1396229758","1396229759","1396229761","1396229765","1396229768","1396229771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ae31c564096c83c7d2708a3ee8e91784.jpg","text":"TemporaryFile(/tmp/multipartBody31170547309584205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148032639,"filename":"image_26112025_05_20_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/26/5c14901bf2c29ddd28cddaac492011c2.jpg","text":"TemporaryFile(/tmp/multipartBody5181916085951242833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148032639,"filename":"image_26112025_05_20_16_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/26/adf2c1fbebe851366462ec98088c9146.jpg","text":"TemporaryFile(/tmp/multipartBody720988656748195439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148032639,"filename":"image_26112025_05_20_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/26/f30ed00d9d34a8880bba30241112db1a.jpg","text":"TemporaryFile(/tmp/multipartBody6708604332042327426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148032639,"filename":"image_26112025_05_20_11_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/26/2c444f75aa5defce1fb927c71c7fab8d.jpg","text":"TemporaryFile(/tmp/multipartBody8429301867072862498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148032639,"filename":"image_26112025_05_19_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/26/0eb3bdf7d6157a167633396264d7a2d3.jpg","text":"TemporaryFile(/tmp/multipartBody2266087197788735770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148032639,"filename":"image_26112025_05_18_58_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396229761","file1":"1396229759","file0":"1396229758","file4":"1396229768","file5":"1396229771","file3":"1396229765"},"map_files_photo_id_array":[{"photo_id":"1396229771","filename":"file5"},{"photo_id":"1396229761","filename":"file2"},{"photo_id":"1396229768","filename":"file4"},{"photo_id":"1396229759","filename":"file1"},{"photo_id":"1396229758","filename":"file0"},{"photo_id":"1396229765","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396229761":["hashtag1","hashtag2"]},{"1396229771":["hashtag1","hashtag2"]},{"1396229768":["hashtag1","hashtag2"]},{"1396229765":["hashtag1","hashtag2"]},{"1396229759":["hashtag1","hashtag2"]},{"1396229758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396229761, 1396229771, 1396229768, 1396229765, 1396229759, 1396229758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51870036125183 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:07:02.875121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/20/image_26112025_05_20_20_3684.jpg', '/home/pi/Desktop/images/26112025/05/20/image_26112025_05_20_23_2570.jpg', '/home/pi/Desktop/images/26112025/05/20/image_26112025_05_20_26_3581.jpg', '/home/pi/Desktop/images/26112025/05/20/image_26112025_05_20_29_2698.jpg', '/home/pi/Desktop/images/26112025/05/20/image_26112025_05_20_32_2784.jpg', '/home/pi/Desktop/images/26112025/05/20/image_26112025_05_20_34_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/20/image_26112025_05_20_20_3684.jpg
/home/pi/Desktop/images/26112025/05/20/image_26112025_05_20_23_2570.jpg
/home/pi/Desktop/images/26112025/05/20/image_26112025_05_20_26_3581.jpg
/home/pi/Desktop/images/26112025/05/20/image_26112025_05_20_29_2698.jpg
/home/pi/Desktop/images/26112025/05/20/image_26112025_05_20_32_2784.jpg
/home/pi/Desktop/images/26112025/05/20/image_26112025_05_20_34_2717.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":["1396229800","1396229786","1396229789","1396229783","1396229791","1396229788"],"photo_ids_order":["1396229783","1396229786","1396229788","1396229789","1396229791","1396229800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/97f429f7df4a83e13634bd476929b145.jpg","text":"TemporaryFile(/tmp/multipartBody3395722730697059725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148083811,"filename":"image_26112025_05_20_34_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ed994f462d58a88eb01182ea351118ae.jpg","text":"TemporaryFile(/tmp/multipartBody8717623186029460510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148083811,"filename":"image_26112025_05_20_23_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/26/f2eb697a4bbf5cc822cb61489ea45593.jpg","text":"TemporaryFile(/tmp/multipartBody4222145554516125814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148083811,"filename":"image_26112025_05_20_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/26/7abaf83243968c6c9e8bcfd9da97690c.jpg","text":"TemporaryFile(/tmp/multipartBody5696301537266513159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148083811,"filename":"image_26112025_05_20_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/26/3a59f44feafefeab81bc1624181189f0.jpg","text":"TemporaryFile(/tmp/multipartBody8384074343693469979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148083811,"filename":"image_26112025_05_20_32_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/26/7bd179b2f26f77447f8fa4bf87282a7d.jpg","text":"TemporaryFile(/tmp/multipartBody3739423290267884894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148083811,"filename":"image_26112025_05_20_26_3581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396229788","file1":"1396229786","file0":"1396229783","file4":"1396229791","file5":"1396229800","file3":"1396229789"},"map_files_photo_id_array":[{"photo_id":"1396229800","filename":"file5"},{"photo_id":"1396229788","filename":"file2"},{"photo_id":"1396229791","filename":"file4"},{"photo_id":"1396229786","filename":"file1"},{"photo_id":"1396229783","filename":"file0"},{"photo_id":"1396229789","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396229800":["hashtag1","hashtag2"]},{"1396229786":["hashtag1","hashtag2"]},{"1396229789":["hashtag1","hashtag2"]},{"1396229783":["hashtag1","hashtag2"]},{"1396229791":["hashtag1","hashtag2"]},{"1396229788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396229800, 1396229786, 1396229789, 1396229783, 1396229791, 1396229788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80682420730591 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 10:07:42.165064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/20/image_26112025_05_20_38_3535.jpg', '/home/pi/Desktop/images/26112025/05/20/image_26112025_05_20_41_2696.jpg', '/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_07_3012.jpg', '/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_10_3617.jpg', '/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_13_2548.jpg', '/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_16_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/20/image_26112025_05_20_38_3535.jpg
/home/pi/Desktop/images/26112025/05/20/image_26112025_05_20_41_2696.jpg
/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_07_3012.jpg
/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_10_3617.jpg
/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_13_2548.jpg
/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_16_3620.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":["1396229821","1396229823","1396229820","1396229817","1396229822","1396229819"],"photo_ids_order":["1396229817","1396229819","1396229820","1396229821","1396229822","1396229823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/93efa3297802001dc30fe45a751daaa4.jpg","text":"TemporaryFile(/tmp/multipartBody1558601587036888327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148122876,"filename":"image_26112025_05_22_10_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/26/256875231604be484df86abd71d8ace0.jpg","text":"TemporaryFile(/tmp/multipartBody208687691860220283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148122876,"filename":"image_26112025_05_22_16_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/26/32f30d07ad514dbfd0d8bedfeba16c31.jpg","text":"TemporaryFile(/tmp/multipartBody3234190218458677556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148122876,"filename":"image_26112025_05_22_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/26/e376a3b336454823988ada82975006b3.jpg","text":"TemporaryFile(/tmp/multipartBody4315433482770501160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148122876,"filename":"image_26112025_05_20_38_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/26/e2374bcdbf13a6ffd99e69536a96cf6d.jpg","text":"TemporaryFile(/tmp/multipartBody8934635973048736162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148122876,"filename":"image_26112025_05_22_13_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/26/ec1cc659e435778eb71f5a5c6bd86cfd.jpg","text":"TemporaryFile(/tmp/multipartBody6141879473429997147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148122876,"filename":"image_26112025_05_20_41_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396229820","file1":"1396229819","file0":"1396229817","file4":"1396229822","file5":"1396229823","file3":"1396229821"},"map_files_photo_id_array":[{"photo_id":"1396229823","filename":"file5"},{"photo_id":"1396229820","filename":"file2"},{"photo_id":"1396229822","filename":"file4"},{"photo_id":"1396229819","filename":"file1"},{"photo_id":"1396229817","filename":"file0"},{"photo_id":"1396229821","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396229821":["hashtag1","hashtag2"]},{"1396229823":["hashtag1","hashtag2"]},{"1396229820":["hashtag1","hashtag2"]},{"1396229817":["hashtag1","hashtag2"]},{"1396229822":["hashtag1","hashtag2"]},{"1396229819":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396229821, 1396229823, 1396229820, 1396229817, 1396229822, 1396229819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.560340881347656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:08:22.166914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_19_2563.jpg', '/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_23_3534.jpg', '/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_25_2725.jpg', '/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_28_2729.jpg', '/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_31_2633.jpg', '/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_34_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_19_2563.jpg
/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_23_3534.jpg
/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_25_2725.jpg
/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_28_2729.jpg
/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_31_2633.jpg
/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_34_3649.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":["1396229833","1396229827","1396229836","1396229843","1396229839","1396229830"],"photo_ids_order":["1396229827","1396229830","1396229833","1396229836","1396229839","1396229843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c06642e2c75350c102a72b2b25f99344.jpg","text":"TemporaryFile(/tmp/multipartBody675162366948333087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148162883,"filename":"image_26112025_05_22_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/26/6e9d38c99c7395789bd847721f731a40.jpg","text":"TemporaryFile(/tmp/multipartBody5855683153404498951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148162883,"filename":"image_26112025_05_22_19_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/26/38f391f062c6d17dbd9d6843c0e342c5.jpg","text":"TemporaryFile(/tmp/multipartBody5868537568644624488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148162883,"filename":"image_26112025_05_22_28_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/26/e51020ed5ab19b313ed1426c5ec2536d.jpg","text":"TemporaryFile(/tmp/multipartBody2467177396293775651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148162883,"filename":"image_26112025_05_22_34_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/26/c3b0abb7e190ef6813ed3d0a020fe6da.jpg","text":"TemporaryFile(/tmp/multipartBody9083733945791769974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148162883,"filename":"image_26112025_05_22_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/26/e7aca1b65d91be35dbbabe1ba7609815.jpg","text":"TemporaryFile(/tmp/multipartBody246621461808616486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148162883,"filename":"image_26112025_05_22_23_3534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396229833","file1":"1396229830","file0":"1396229827","file4":"1396229839","file5":"1396229843","file3":"1396229836"},"map_files_photo_id_array":[{"photo_id":"1396229843","filename":"file5"},{"photo_id":"1396229833","filename":"file2"},{"photo_id":"1396229839","filename":"file4"},{"photo_id":"1396229830","filename":"file1"},{"photo_id":"1396229827","filename":"file0"},{"photo_id":"1396229836","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396229833":["hashtag1","hashtag2"]},{"1396229827":["hashtag1","hashtag2"]},{"1396229836":["hashtag1","hashtag2"]},{"1396229843":["hashtag1","hashtag2"]},{"1396229839":["hashtag1","hashtag2"]},{"1396229830":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396229833, 1396229827, 1396229836, 1396229843, 1396229839, 1396229830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.719314098358154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:09:03.120918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_37_2585.jpg', '/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_40_2900.jpg', '/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_46_2687.jpg', '/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_49_2582.jpg', '/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_52_3654.jpg', '/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_55_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_37_2585.jpg
/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_40_2900.jpg
/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_46_2687.jpg
/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_49_2582.jpg
/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_52_3654.jpg
/home/pi/Desktop/images/26112025/05/22/image_26112025_05_22_55_2564.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":["1396229856","1396229853","1396229879","1396229846","1396229849","1396229845"],"photo_ids_order":["1396229845","1396229846","1396229849","1396229853","1396229856","1396229879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e78ef58ed203a797f06230283c2e1e88.jpg","text":"TemporaryFile(/tmp/multipartBody8786436575702837299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148203933,"filename":"image_26112025_05_22_52_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/26/c887629cb1c633d541c9013f6c0b17b1.jpg","text":"TemporaryFile(/tmp/multipartBody1330404779468198274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148203933,"filename":"image_26112025_05_22_49_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/26/c853686069d5d93769e64d55ecf3c0ed.jpg","text":"TemporaryFile(/tmp/multipartBody1934649582726927698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148203933,"filename":"image_26112025_05_22_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/26/9d8ba5bcdfe7b35a9d86a89a3ae127e9.jpg","text":"TemporaryFile(/tmp/multipartBody3995091552851382649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148203933,"filename":"image_26112025_05_22_40_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/26/9c946b54b4e713a3b169617297e9fb2e.jpg","text":"TemporaryFile(/tmp/multipartBody7814933572952519925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148203933,"filename":"image_26112025_05_22_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/26/e8395954f76bb826142ec4f0427d47e7.jpg","text":"TemporaryFile(/tmp/multipartBody1679922952995162405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148203933,"filename":"image_26112025_05_22_37_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396229849","file1":"1396229846","file0":"1396229845","file4":"1396229856","file5":"1396229879","file3":"1396229853"},"map_files_photo_id_array":[{"photo_id":"1396229879","filename":"file5"},{"photo_id":"1396229849","filename":"file2"},{"photo_id":"1396229856","filename":"file4"},{"photo_id":"1396229846","filename":"file1"},{"photo_id":"1396229845","filename":"file0"},{"photo_id":"1396229853","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396229856":["hashtag1","hashtag2"]},{"1396229853":["hashtag1","hashtag2"]},{"1396229879":["hashtag1","hashtag2"]},{"1396229846":["hashtag1","hashtag2"]},{"1396229849":["hashtag1","hashtag2"]},{"1396229845":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396229856, 1396229853, 1396229879, 1396229846, 1396229849, 1396229845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18714666366577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 10:09:42.220181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_07_3011.jpg', '/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_10_3562.jpg', '/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_13_2791.jpg', '/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_17_3609.jpg', '/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_20_2684.jpg', '/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_22_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_07_3011.jpg
/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_10_3562.jpg
/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_13_2791.jpg
/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_17_3609.jpg
/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_20_2684.jpg
/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_22_2581.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":["1396229892","1396229886","1396229889","1396229907","1396229891","1396229890"],"photo_ids_order":["1396229886","1396229889","1396229890","1396229891","1396229892","1396229907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fc167c1f0d06c787a415986c9352b2e5.jpg","text":"TemporaryFile(/tmp/multipartBody4753210714255203657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148242924,"filename":"image_26112025_05_24_20_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/26/c4723731bed25116ce463ab80af39612.jpg","text":"TemporaryFile(/tmp/multipartBody601354866835143849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148242924,"filename":"image_26112025_05_24_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/26/fcda5072470c437cd642661cc4e7063a.jpg","text":"TemporaryFile(/tmp/multipartBody6119056925049370556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148242924,"filename":"image_26112025_05_24_10_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/26/d3537e27f93d4e177070e158c93cf167.jpg","text":"TemporaryFile(/tmp/multipartBody1444505413394603175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148242924,"filename":"image_26112025_05_24_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/26/59b30f40094200fbb562e0bcc84fb915.jpg","text":"TemporaryFile(/tmp/multipartBody3990792668325333421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148242924,"filename":"image_26112025_05_24_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/26/2b30db0ed6feee9cbd1d3604dd2eb85a.jpg","text":"TemporaryFile(/tmp/multipartBody2969669447205188820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148242924,"filename":"image_26112025_05_24_13_2791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396229890","file1":"1396229889","file0":"1396229886","file4":"1396229892","file5":"1396229907","file3":"1396229891"},"map_files_photo_id_array":[{"photo_id":"1396229907","filename":"file5"},{"photo_id":"1396229890","filename":"file2"},{"photo_id":"1396229892","filename":"file4"},{"photo_id":"1396229889","filename":"file1"},{"photo_id":"1396229886","filename":"file0"},{"photo_id":"1396229891","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396229892":["hashtag1","hashtag2"]},{"1396229886":["hashtag1","hashtag2"]},{"1396229889":["hashtag1","hashtag2"]},{"1396229907":["hashtag1","hashtag2"]},{"1396229891":["hashtag1","hashtag2"]},{"1396229890":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396229892, 1396229886, 1396229889, 1396229907, 1396229891, 1396229890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.813602447509766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:10:22.556069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_26_3662.jpg', '/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_28_2677.jpg', '/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_31_2729.jpg', '/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_34_2696.jpg', '/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_38_3735.jpg', '/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_40_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_26_3662.jpg
/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_28_2677.jpg
/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_31_2729.jpg
/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_34_2696.jpg
/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_38_3735.jpg
/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_40_2561.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":["1396230005","1396229997","1396230001","1396229987","1396229992","1396229989"],"photo_ids_order":["1396229987","1396229989","1396229992","1396229997","1396230001","1396230005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2c168575e97147e6526bf82a654765e8.jpg","text":"TemporaryFile(/tmp/multipartBody4719881044548717498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148283271,"filename":"image_26112025_05_24_40_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/26/456646b53e9c732dd38c66ccc6d5d7e9.jpg","text":"TemporaryFile(/tmp/multipartBody2738077629040968629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148283271,"filename":"image_26112025_05_24_34_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/26/dc3b726e32aa02504a705a740b3b38c7.jpg","text":"TemporaryFile(/tmp/multipartBody4283213539823709966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148283271,"filename":"image_26112025_05_24_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/26/1805699a156f20c5e4655261776bdf65.jpg","text":"TemporaryFile(/tmp/multipartBody6285051387484026518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148283271,"filename":"image_26112025_05_24_26_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/26/58794d237f08b24a3f51f92456f0554d.jpg","text":"TemporaryFile(/tmp/multipartBody5258777937859897758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148283271,"filename":"image_26112025_05_24_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/26/c7da74b74949d82cad5c1e68b0a0376f.jpg","text":"TemporaryFile(/tmp/multipartBody2569531101908838817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148283271,"filename":"image_26112025_05_24_28_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396229992","file1":"1396229989","file0":"1396229987","file4":"1396230001","file5":"1396230005","file3":"1396229997"},"map_files_photo_id_array":[{"photo_id":"1396230005","filename":"file5"},{"photo_id":"1396229992","filename":"file2"},{"photo_id":"1396230001","filename":"file4"},{"photo_id":"1396229989","filename":"file1"},{"photo_id":"1396229987","filename":"file0"},{"photo_id":"1396229997","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396230005":["hashtag1","hashtag2"]},{"1396229997":["hashtag1","hashtag2"]},{"1396230001":["hashtag1","hashtag2"]},{"1396229987":["hashtag1","hashtag2"]},{"1396229992":["hashtag1","hashtag2"]},{"1396229989":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396230005, 1396229997, 1396230001, 1396229987, 1396229992, 1396229989)","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: 50.606160163879395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:11:22.101496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 10:11:32.222532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_43_2632.jpg', '/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_47_3740.jpg', '/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_49_2632.jpg', '/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_52_2641.jpg', '/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_56_3853.jpg', '/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_58_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_43_2632.jpg
/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_47_3740.jpg
/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_49_2632.jpg
/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_52_2641.jpg
/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_56_3853.jpg
/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_58_2702.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":["1396230061","1396230064","1396230066","1396230057","1396230068","1396230053"],"photo_ids_order":["1396230053","1396230057","1396230061","1396230064","1396230066","1396230068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0b17acfb638b1c02c2c1f154ed07a945.jpg","text":"TemporaryFile(/tmp/multipartBody3496043413620151855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148354520,"filename":"image_26112025_05_24_49_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/26/247542af582281b074176b761468b234.jpg","text":"TemporaryFile(/tmp/multipartBody1464276895459251067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148354520,"filename":"image_26112025_05_24_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/26/d4152d94091d5b15b466c0652862a8ed.jpg","text":"TemporaryFile(/tmp/multipartBody2515486110826966867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148354520,"filename":"image_26112025_05_24_56_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/26/d56f566cd810011b576e331bb020131f.jpg","text":"TemporaryFile(/tmp/multipartBody3667585529284146340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148354520,"filename":"image_26112025_05_24_47_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/26/3412d0a9c79a4c98b70af161219086c6.jpg","text":"TemporaryFile(/tmp/multipartBody2538390362241857566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148354520,"filename":"image_26112025_05_24_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/26/e11db57fdca30d900d031a9beb6131b2.jpg","text":"TemporaryFile(/tmp/multipartBody2512225697908587337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148354520,"filename":"image_26112025_05_24_43_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396230061","file1":"1396230057","file0":"1396230053","file4":"1396230066","file5":"1396230068","file3":"1396230064"},"map_files_photo_id_array":[{"photo_id":"1396230068","filename":"file5"},{"photo_id":"1396230061","filename":"file2"},{"photo_id":"1396230066","filename":"file4"},{"photo_id":"1396230057","filename":"file1"},{"photo_id":"1396230053","filename":"file0"},{"photo_id":"1396230064","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396230061":["hashtag1","hashtag2"]},{"1396230064":["hashtag1","hashtag2"]},{"1396230066":["hashtag1","hashtag2"]},{"1396230057":["hashtag1","hashtag2"]},{"1396230068":["hashtag1","hashtag2"]},{"1396230053":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396230061, 1396230064, 1396230066, 1396230057, 1396230068, 1396230053)","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 = 1396230061 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26112025/05/24/image_26112025_05_24_49_2632.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 58.29812932014465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:12:34.009169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_08_3011.jpg', '/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_11_3792.jpg', '/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_14_2760.jpg', '/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_17_2728.jpg', '/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_20_2706.jpg', '/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_23_3599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_08_3011.jpg
/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_11_3792.jpg
/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_14_2760.jpg
/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_17_2728.jpg
/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_20_2706.jpg
/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_23_3599.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.5847194194793701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 10:12:44.030495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_08_3011.jpg', '/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_11_3792.jpg', '/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_14_2760.jpg', '/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_17_2728.jpg', '/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_20_2706.jpg', '/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_23_3599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_08_3011.jpg
/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_11_3792.jpg
/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_14_2760.jpg
/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_17_2728.jpg
/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_20_2706.jpg
/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_23_3599.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":["1396230094","1396230097","1396230100","1396230099","1396230098","1396230089"],"photo_ids_order":["1396230089","1396230094","1396230097","1396230098","1396230099","1396230100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d4996d41e55d1340b5e9580d76c99074.jpg","text":"TemporaryFile(/tmp/multipartBody6043733988843444004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148424706,"filename":"image_26112025_05_26_11_3792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bb3014d62b40075f570c5f7e7a7881d8.jpg","text":"TemporaryFile(/tmp/multipartBody8130994357143260123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148424706,"filename":"image_26112025_05_26_14_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/26/bac33fed6e8a5a1d373c6ea330a8e433.jpg","text":"TemporaryFile(/tmp/multipartBody4801808239005100354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148424706,"filename":"image_26112025_05_26_23_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/26/53e19589be96bcddf2f63a0b2968ad20.jpg","text":"TemporaryFile(/tmp/multipartBody4510782952334736841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148424706,"filename":"image_26112025_05_26_20_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/26/1b3711c00c8dba783c15a2c00286af10.jpg","text":"TemporaryFile(/tmp/multipartBody3325207528589179865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148424706,"filename":"image_26112025_05_26_17_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/26/4d5b6a62432c35efafda9404e17de0f3.jpg","text":"TemporaryFile(/tmp/multipartBody5079744819254002116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148424706,"filename":"image_26112025_05_26_08_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396230097","file1":"1396230094","file0":"1396230089","file4":"1396230099","file5":"1396230100","file3":"1396230098"},"map_files_photo_id_array":[{"photo_id":"1396230100","filename":"file5"},{"photo_id":"1396230097","filename":"file2"},{"photo_id":"1396230099","filename":"file4"},{"photo_id":"1396230094","filename":"file1"},{"photo_id":"1396230089","filename":"file0"},{"photo_id":"1396230098","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396230094":["hashtag1","hashtag2"]},{"1396230097":["hashtag1","hashtag2"]},{"1396230100":["hashtag1","hashtag2"]},{"1396230099":["hashtag1","hashtag2"]},{"1396230098":["hashtag1","hashtag2"]},{"1396230089":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396230094, 1396230097, 1396230100, 1396230099, 1396230098, 1396230089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.396092891693115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:13:22.275063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_26_2753.jpg', '/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_29_3498.jpg', '/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_32_2597.jpg', '/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_35_2599.jpg', '/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_38_3760.jpg', '/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_41_2543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_26_2753.jpg
/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_29_3498.jpg
/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_32_2597.jpg
/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_35_2599.jpg
/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_38_3760.jpg
/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_41_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":["1396230107","1396230124","1396230115","1396230118","1396230111","1396230122"],"photo_ids_order":["1396230107","1396230111","1396230115","1396230118","1396230122","1396230124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2c1d21818c29aa1c3d2210fbcebc6472.jpg","text":"TemporaryFile(/tmp/multipartBody672378348741022307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148462960,"filename":"image_26112025_05_26_26_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/26/ace414def1cabd8e025a16f2a443ee9b.jpg","text":"TemporaryFile(/tmp/multipartBody949370593527974729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148462960,"filename":"image_26112025_05_26_41_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/26/32b87e21201bf168d6bfbc8827935eb3.jpg","text":"TemporaryFile(/tmp/multipartBody126413477864743763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148462960,"filename":"image_26112025_05_26_32_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/26/5bdf73905b35935183a8aeed855c4298.jpg","text":"TemporaryFile(/tmp/multipartBody6819741440869939664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148462960,"filename":"image_26112025_05_26_35_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/26/bd1f36dc7943d380d06c62e280ecc102.jpg","text":"TemporaryFile(/tmp/multipartBody2169496946673429832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148462960,"filename":"image_26112025_05_26_29_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/26/541e7319c03d60f9ff15af2eb8372d52.jpg","text":"TemporaryFile(/tmp/multipartBody7383460019997516649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148462960,"filename":"image_26112025_05_26_38_3760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396230115","file1":"1396230111","file0":"1396230107","file4":"1396230122","file5":"1396230124","file3":"1396230118"},"map_files_photo_id_array":[{"photo_id":"1396230124","filename":"file5"},{"photo_id":"1396230115","filename":"file2"},{"photo_id":"1396230122","filename":"file4"},{"photo_id":"1396230111","filename":"file1"},{"photo_id":"1396230107","filename":"file0"},{"photo_id":"1396230118","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396230107":["hashtag1","hashtag2"]},{"1396230124":["hashtag1","hashtag2"]},{"1396230115":["hashtag1","hashtag2"]},{"1396230118":["hashtag1","hashtag2"]},{"1396230111":["hashtag1","hashtag2"]},{"1396230122":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396230107, 1396230124, 1396230115, 1396230118, 1396230111, 1396230122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.380698680877686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:14:03.147610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_44_2652.jpg', '/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_47_3776.jpg', '/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_50_2737.jpg', '/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_53_2588.jpg', '/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_56_3606.jpg', '/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_07_3012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_44_2652.jpg
/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_47_3776.jpg
/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_50_2737.jpg
/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_53_2588.jpg
/home/pi/Desktop/images/26112025/05/26/image_26112025_05_26_56_3606.jpg
/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_07_3012.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":["1396230142","1396230133","1396230138","1396230126","1396230131","1396230128"],"photo_ids_order":["1396230126","1396230128","1396230131","1396230133","1396230138","1396230142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2b586b742dc6aa0794c3baf6bbd0afa0.jpg","text":"TemporaryFile(/tmp/multipartBody5526159826356818368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148504078,"filename":"image_26112025_05_28_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/26/aad90e3b87ac8d49d68fed78d03d244e.jpg","text":"TemporaryFile(/tmp/multipartBody2773087251030619538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148504078,"filename":"image_26112025_05_26_53_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/26/8a09653228ecbc6aaa15977c98c8aefb.jpg","text":"TemporaryFile(/tmp/multipartBody7055567981200033797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148504078,"filename":"image_26112025_05_26_56_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6b4f1ad465725af2acaa5a15324693f6.jpg","text":"TemporaryFile(/tmp/multipartBody542986934057978948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148504078,"filename":"image_26112025_05_26_44_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/af0b9a32b214e9542113d95ef6e93cff.jpg","text":"TemporaryFile(/tmp/multipartBody6977312021706092958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148504078,"filename":"image_26112025_05_26_50_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/26/137ed3020aad3ff4cd4e466e1363106d.jpg","text":"TemporaryFile(/tmp/multipartBody7558916740174446905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148504078,"filename":"image_26112025_05_26_47_3776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396230131","file1":"1396230128","file0":"1396230126","file4":"1396230138","file5":"1396230142","file3":"1396230133"},"map_files_photo_id_array":[{"photo_id":"1396230142","filename":"file5"},{"photo_id":"1396230131","filename":"file2"},{"photo_id":"1396230138","filename":"file4"},{"photo_id":"1396230128","filename":"file1"},{"photo_id":"1396230126","filename":"file0"},{"photo_id":"1396230133","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396230142":["hashtag1","hashtag2"]},{"1396230133":["hashtag1","hashtag2"]},{"1396230138":["hashtag1","hashtag2"]},{"1396230126":["hashtag1","hashtag2"]},{"1396230131":["hashtag1","hashtag2"]},{"1396230128":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396230142, 1396230133, 1396230138, 1396230126, 1396230131, 1396230128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.306785106658936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 10:14:42.401242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_11_3673.jpg', '/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_13_2575.jpg', '/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_17_3583.jpg', '/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_19_2501.jpg', '/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_22_2665.jpg', '/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_26_3703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_11_3673.jpg
/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_13_2575.jpg
/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_17_3583.jpg
/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_19_2501.jpg
/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_22_2665.jpg
/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_26_3703.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":["1396230154","1396230156","1396230150","1396230158","1396230152","1396230155"],"photo_ids_order":["1396230150","1396230152","1396230154","1396230155","1396230156","1396230158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3efc9bc60d9629e0eea0d035754d9ff7.jpg","text":"TemporaryFile(/tmp/multipartBody2521079787863013848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148543076,"filename":"image_26112025_05_28_17_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/26/a608731197e0971767ea6579d785949f.jpg","text":"TemporaryFile(/tmp/multipartBody4336020400295041956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148543076,"filename":"image_26112025_05_28_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/26/b8acd7596dfef38bba4e332934e34a72.jpg","text":"TemporaryFile(/tmp/multipartBody2133583438057053379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148543076,"filename":"image_26112025_05_28_11_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/26/1d90cfa856b6cc3962681cb9865f6bb1.jpg","text":"TemporaryFile(/tmp/multipartBody8064504836468143149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148543076,"filename":"image_26112025_05_28_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/26/db961087b5842fb8e8b7acdb4df5420d.jpg","text":"TemporaryFile(/tmp/multipartBody7534817556539470384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148543076,"filename":"image_26112025_05_28_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/26/21cd28185e877c0a02973e770f4cd6c8.jpg","text":"TemporaryFile(/tmp/multipartBody5765296352016401279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148543076,"filename":"image_26112025_05_28_19_2501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396230154","file1":"1396230152","file0":"1396230150","file4":"1396230156","file5":"1396230158","file3":"1396230155"},"map_files_photo_id_array":[{"photo_id":"1396230158","filename":"file5"},{"photo_id":"1396230154","filename":"file2"},{"photo_id":"1396230156","filename":"file4"},{"photo_id":"1396230152","filename":"file1"},{"photo_id":"1396230150","filename":"file0"},{"photo_id":"1396230155","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396230154":["hashtag1","hashtag2"]},{"1396230156":["hashtag1","hashtag2"]},{"1396230150":["hashtag1","hashtag2"]},{"1396230158":["hashtag1","hashtag2"]},{"1396230152":["hashtag1","hashtag2"]},{"1396230155":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396230154, 1396230156, 1396230150, 1396230158, 1396230152, 1396230155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50652575492859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:15:22.481981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_28_2633.jpg', '/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_31_2727.jpg', '/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_35_3589.jpg', '/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_37_2592.jpg', '/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_40_2712.jpg', '/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_44_3675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_28_2633.jpg
/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_31_2727.jpg
/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_35_3589.jpg
/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_37_2592.jpg
/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_40_2712.jpg
/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_44_3675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396230196","1396230175","1396230198","1396230192","1396230179","1396230167"],"photo_ids_order":["1396230167","1396230175","1396230179","1396230192","1396230196","1396230198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/36ceff51effbf99ac782bda79d9f1590.jpg","text":"TemporaryFile(/tmp/multipartBody5970844027569642676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148583191,"filename":"image_26112025_05_28_40_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/26/a8dfec43eef63794f07f259333805a23.jpg","text":"TemporaryFile(/tmp/multipartBody4915420729450638384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148583191,"filename":"image_26112025_05_28_31_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/26/78f5de245d5cd247059aa476f4a2bac9.jpg","text":"TemporaryFile(/tmp/multipartBody2860566916571594752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148583191,"filename":"image_26112025_05_28_44_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/26/97c671094e42ce5a8507f9ee8333c5e0.jpg","text":"TemporaryFile(/tmp/multipartBody7034734794777997917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148583191,"filename":"image_26112025_05_28_37_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/26/508843dd6936635a412aada26207e45e.jpg","text":"TemporaryFile(/tmp/multipartBody29069627650973520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148583191,"filename":"image_26112025_05_28_35_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/26/044008358cc688805b4a1d0dea61265f.jpg","text":"TemporaryFile(/tmp/multipartBody2272639853994763629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148583191,"filename":"image_26112025_05_28_28_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396230179","file1":"1396230175","file0":"1396230167","file4":"1396230196","file5":"1396230198","file3":"1396230192"},"map_files_photo_id_array":[{"photo_id":"1396230198","filename":"file5"},{"photo_id":"1396230179","filename":"file2"},{"photo_id":"1396230196","filename":"file4"},{"photo_id":"1396230175","filename":"file1"},{"photo_id":"1396230167","filename":"file0"},{"photo_id":"1396230192","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396230196":["hashtag1","hashtag2"]},{"1396230175":["hashtag1","hashtag2"]},{"1396230198":["hashtag1","hashtag2"]},{"1396230192":["hashtag1","hashtag2"]},{"1396230179":["hashtag1","hashtag2"]},{"1396230167":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396230196, 1396230175, 1396230198, 1396230192, 1396230179, 1396230167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48383283615112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:16:03.151429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_47_2808.jpg', '/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_49_2587.jpg', '/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_53_3706.jpg', '/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_55_2597.jpg', '/home/pi/Desktop/images/26112025/05/30/image_26112025_05_30_07_3011.jpg', '/home/pi/Desktop/images/26112025/05/30/image_26112025_05_30_10_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_47_2808.jpg
/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_49_2587.jpg
/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_53_3706.jpg
/home/pi/Desktop/images/26112025/05/28/image_26112025_05_28_55_2597.jpg
/home/pi/Desktop/images/26112025/05/30/image_26112025_05_30_07_3011.jpg
/home/pi/Desktop/images/26112025/05/30/image_26112025_05_30_10_3630.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":["1396230203","1396230205","1396230235","1396230208","1396230200","1396230199"],"photo_ids_order":["1396230199","1396230200","1396230203","1396230205","1396230208","1396230235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/63208c8741b70a1d0a84b8ebec589d4e.jpg","text":"TemporaryFile(/tmp/multipartBody2093258174029233180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148623906,"filename":"image_26112025_05_28_53_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/26/3cee221fcc9ddebfea7abe0143dca2dc.jpg","text":"TemporaryFile(/tmp/multipartBody3141770182242913808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148623906,"filename":"image_26112025_05_28_55_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d66a12681241f30c5882e5ed8d84531a.jpg","text":"TemporaryFile(/tmp/multipartBody8821027189021550310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148623906,"filename":"image_26112025_05_30_10_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/26/f1808970144fe1e7c5b0176f0ff3c7ac.jpg","text":"TemporaryFile(/tmp/multipartBody4775379023033137455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148623906,"filename":"image_26112025_05_30_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e7c0f25755b6b2ec78d0f11b4d9993a1.jpg","text":"TemporaryFile(/tmp/multipartBody6414362124716730220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148623906,"filename":"image_26112025_05_28_49_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/26/769a8d06ae374076057d4ac1d05ebe15.jpg","text":"TemporaryFile(/tmp/multipartBody5526713936283486682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148623906,"filename":"image_26112025_05_28_47_2808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396230203","file1":"1396230200","file0":"1396230199","file4":"1396230208","file5":"1396230235","file3":"1396230205"},"map_files_photo_id_array":[{"photo_id":"1396230235","filename":"file5"},{"photo_id":"1396230203","filename":"file2"},{"photo_id":"1396230208","filename":"file4"},{"photo_id":"1396230200","filename":"file1"},{"photo_id":"1396230199","filename":"file0"},{"photo_id":"1396230205","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396230203":["hashtag1","hashtag2"]},{"1396230205":["hashtag1","hashtag2"]},{"1396230235":["hashtag1","hashtag2"]},{"1396230208":["hashtag1","hashtag2"]},{"1396230200":["hashtag1","hashtag2"]},{"1396230199":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396230203, 1396230205, 1396230235, 1396230208, 1396230200, 1396230199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.369845390319824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 10:16:42.576850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/30/image_26112025_05_30_13_2646.jpg', '/home/pi/Desktop/images/26112025/05/30/image_26112025_05_30_16_2699.jpg', '/home/pi/Desktop/images/26112025/05/30/image_26112025_05_30_19_3567.jpg', '/home/pi/Desktop/images/26112025/05/30/image_26112025_05_30_22_2608.jpg', '/home/pi/Desktop/images/26112025/05/30/image_26112025_05_30_25_3708.jpg', '/home/pi/Desktop/images/26112025/05/30/image_26112025_05_30_28_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/30/image_26112025_05_30_13_2646.jpg
/home/pi/Desktop/images/26112025/05/30/image_26112025_05_30_16_2699.jpg
/home/pi/Desktop/images/26112025/05/30/image_26112025_05_30_19_3567.jpg
/home/pi/Desktop/images/26112025/05/30/image_26112025_05_30_22_2608.jpg
/home/pi/Desktop/images/26112025/05/30/image_26112025_05_30_25_3708.jpg
/home/pi/Desktop/images/26112025/05/30/image_26112025_05_30_28_2615.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":["1396230401","1396230399","1396230375","1396230395","1396230398","1396230383"],"photo_ids_order":["1396230375","1396230383","1396230395","1396230398","1396230399","1396230401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ee5e6967e1683a5cdf5221f93d642110.jpg","text":"TemporaryFile(/tmp/multipartBody4871715917209913800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148663259,"filename":"image_26112025_05_30_28_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/26/2e2d0e238032dc5eaed1e032880863d3.jpg","text":"TemporaryFile(/tmp/multipartBody4270701162251665028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148663259,"filename":"image_26112025_05_30_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/26/7679100e80443e2d34d533cd127480d9.jpg","text":"TemporaryFile(/tmp/multipartBody5841380026963097310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148663259,"filename":"image_26112025_05_30_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/26/3154672a18cac7a20840dc3937211d4e.jpg","text":"TemporaryFile(/tmp/multipartBody2391093913645161062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148663259,"filename":"image_26112025_05_30_19_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/26/2bd7c8595d95ceaeae9d99d0aebebb2d.jpg","text":"TemporaryFile(/tmp/multipartBody7758425773845918755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148663259,"filename":"image_26112025_05_30_22_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0d802a01f8932f3a1d1087c497111c71.jpg","text":"TemporaryFile(/tmp/multipartBody7876752160457870622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148663259,"filename":"image_26112025_05_30_16_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396230395","file1":"1396230383","file0":"1396230375","file4":"1396230399","file5":"1396230401","file3":"1396230398"},"map_files_photo_id_array":[{"photo_id":"1396230401","filename":"file5"},{"photo_id":"1396230395","filename":"file2"},{"photo_id":"1396230399","filename":"file4"},{"photo_id":"1396230383","filename":"file1"},{"photo_id":"1396230375","filename":"file0"},{"photo_id":"1396230398","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396230401":["hashtag1","hashtag2"]},{"1396230399":["hashtag1","hashtag2"]},{"1396230375":["hashtag1","hashtag2"]},{"1396230395":["hashtag1","hashtag2"]},{"1396230398":["hashtag1","hashtag2"]},{"1396230383":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396230401, 1396230399, 1396230375, 1396230395, 1396230398, 1396230383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01318168640137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:17:21.867503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/30/image_26112025_05_30_31_2570.jpg', '/home/pi/Desktop/images/26112025/05/30/image_26112025_05_30_34_3657.jpg', '/home/pi/Desktop/images/26112025/05/30/image_26112025_05_30_37_2601.jpg', '/home/pi/Desktop/images/26112025/05/30/image_26112025_05_30_40_3537.jpg', '/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_07_3019.jpg', '/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_11_3802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/30/image_26112025_05_30_31_2570.jpg
/home/pi/Desktop/images/26112025/05/30/image_26112025_05_30_34_3657.jpg
/home/pi/Desktop/images/26112025/05/30/image_26112025_05_30_37_2601.jpg
/home/pi/Desktop/images/26112025/05/30/image_26112025_05_30_40_3537.jpg
/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_07_3019.jpg
/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_11_3802.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":["1396230499","1396230493","1396230597","1396230465","1396230525","1396230560"],"photo_ids_order":["1396230465","1396230493","1396230499","1396230525","1396230560","1396230597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f4e2450ce0445cc1f4d5439d5cb4d409.jpg","text":"TemporaryFile(/tmp/multipartBody3081461536886864352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148702572,"filename":"image_26112025_05_30_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/26/c77de0fbb10eb2a90b160ed4603edf33.jpg","text":"TemporaryFile(/tmp/multipartBody8726768617030685650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148702572,"filename":"image_26112025_05_30_34_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/26/ebaaadf5ca1f95677ae8876607463eab.jpg","text":"TemporaryFile(/tmp/multipartBody2528848707660724027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148702572,"filename":"image_26112025_05_32_11_3802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/90f0e22ec13c59750d20d774fca5d39e.jpg","text":"TemporaryFile(/tmp/multipartBody3831875805723150230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148702572,"filename":"image_26112025_05_30_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/26/5125b3fe66e2694c24135850030e66fc.jpg","text":"TemporaryFile(/tmp/multipartBody2198696423971826319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148702572,"filename":"image_26112025_05_30_40_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/26/395ccc48aee512ddd0d946667368ba03.jpg","text":"TemporaryFile(/tmp/multipartBody4766773712732176159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148702572,"filename":"image_26112025_05_32_07_3019.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396230499","file1":"1396230493","file0":"1396230465","file4":"1396230560","file5":"1396230597","file3":"1396230525"},"map_files_photo_id_array":[{"photo_id":"1396230597","filename":"file5"},{"photo_id":"1396230499","filename":"file2"},{"photo_id":"1396230560","filename":"file4"},{"photo_id":"1396230493","filename":"file1"},{"photo_id":"1396230465","filename":"file0"},{"photo_id":"1396230525","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396230499":["hashtag1","hashtag2"]},{"1396230493":["hashtag1","hashtag2"]},{"1396230597":["hashtag1","hashtag2"]},{"1396230465":["hashtag1","hashtag2"]},{"1396230525":["hashtag1","hashtag2"]},{"1396230560":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396230499, 1396230493, 1396230597, 1396230465, 1396230525, 1396230560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.374266386032104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:18:02.477541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_14_2756.jpg', '/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_16_2703.jpg', '/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_19_2708.jpg', '/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_23_3743.jpg', '/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_25_2579.jpg', '/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_28_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_14_2756.jpg
/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_16_2703.jpg
/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_19_2708.jpg
/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_23_3743.jpg
/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_25_2579.jpg
/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_28_2730.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.6560649871826172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:18:11.977998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_14_2756.jpg', '/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_16_2703.jpg', '/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_19_2708.jpg', '/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_23_3743.jpg', '/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_25_2579.jpg', '/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_28_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_14_2756.jpg
/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_16_2703.jpg
/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_19_2708.jpg
/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_23_3743.jpg
/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_25_2579.jpg
/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_28_2730.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":["1396230727","1396230712","1396230709","1396230774","1396230720","1396230716"],"photo_ids_order":["1396230709","1396230712","1396230716","1396230720","1396230727","1396230774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1cdfbb0b7e0f5a7ed93e32700036177f.jpg","text":"TemporaryFile(/tmp/multipartBody7004929669177718450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148752661,"filename":"image_26112025_05_32_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/26/f94e1209ba31eaf9d0ff493a5ea443c8.jpg","text":"TemporaryFile(/tmp/multipartBody968070425898336754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148752661,"filename":"image_26112025_05_32_16_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/26/6a11e9a81fa998a6fe2a9cff876d4fc6.jpg","text":"TemporaryFile(/tmp/multipartBody8158978436531191567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148752661,"filename":"image_26112025_05_32_14_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/26/aa39c5a1b26a2eae67aaf2fabd92224f.jpg","text":"TemporaryFile(/tmp/multipartBody7226851449071826154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148752661,"filename":"image_26112025_05_32_28_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/26/5f5d94db2c1e283369ebff43ef1c1ef9.jpg","text":"TemporaryFile(/tmp/multipartBody8453443635224655439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148752661,"filename":"image_26112025_05_32_23_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/26/bc1a1710a81cc112ca17d63461d980a2.jpg","text":"TemporaryFile(/tmp/multipartBody5019744992558810032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148752661,"filename":"image_26112025_05_32_19_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396230716","file1":"1396230712","file0":"1396230709","file4":"1396230727","file5":"1396230774","file3":"1396230720"},"map_files_photo_id_array":[{"photo_id":"1396230774","filename":"file5"},{"photo_id":"1396230716","filename":"file2"},{"photo_id":"1396230727","filename":"file4"},{"photo_id":"1396230712","filename":"file1"},{"photo_id":"1396230709","filename":"file0"},{"photo_id":"1396230720","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396230727":["hashtag1","hashtag2"]},{"1396230712":["hashtag1","hashtag2"]},{"1396230709":["hashtag1","hashtag2"]},{"1396230774":["hashtag1","hashtag2"]},{"1396230720":["hashtag1","hashtag2"]},{"1396230716":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396230727, 1396230712, 1396230709, 1396230774, 1396230720, 1396230716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64609694480896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:19:03.438296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_32_3599.jpg', '/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_34_2650.jpg', '/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_37_2698.jpg', '/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_07_3019.jpg', '/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_10_3759.jpg', '/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_13_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_32_3599.jpg
/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_34_2650.jpg
/home/pi/Desktop/images/26112025/05/32/image_26112025_05_32_37_2698.jpg
/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_07_3019.jpg
/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_10_3759.jpg
/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_13_2599.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":["1396231144","1396231101","1396231172","1396231183","1396231180","1396231174"],"photo_ids_order":["1396231101","1396231144","1396231172","1396231174","1396231180","1396231183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c3f5d0f2e235b2679e22efd34f902642.jpg","text":"TemporaryFile(/tmp/multipartBody9203505693366560435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148804352,"filename":"image_26112025_05_32_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/26/665443e1128022258d91e73880f82d43.jpg","text":"TemporaryFile(/tmp/multipartBody5553590761236353590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148804352,"filename":"image_26112025_05_32_32_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/26/b4ce99d70bde6f21982c77907a492d66.jpg","text":"TemporaryFile(/tmp/multipartBody8089584258472617534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148804352,"filename":"image_26112025_05_32_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/26/82fb4fcca5ab8f28c6a561ff56a09d44.jpg","text":"TemporaryFile(/tmp/multipartBody1205500318760072751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148804352,"filename":"image_26112025_05_34_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/26/ed8110f2187f4e319c42ea7b5b871560.jpg","text":"TemporaryFile(/tmp/multipartBody990970780592185374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148804352,"filename":"image_26112025_05_34_10_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/26/82d766ddd61c5de51637043b69c79f52.jpg","text":"TemporaryFile(/tmp/multipartBody725726616046440672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148804352,"filename":"image_26112025_05_34_07_3019.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396231172","file1":"1396231144","file0":"1396231101","file4":"1396231180","file5":"1396231183","file3":"1396231174"},"map_files_photo_id_array":[{"photo_id":"1396231183","filename":"file5"},{"photo_id":"1396231172","filename":"file2"},{"photo_id":"1396231180","filename":"file4"},{"photo_id":"1396231144","filename":"file1"},{"photo_id":"1396231101","filename":"file0"},{"photo_id":"1396231174","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396231144":["hashtag1","hashtag2"]},{"1396231101":["hashtag1","hashtag2"]},{"1396231172":["hashtag1","hashtag2"]},{"1396231183":["hashtag1","hashtag2"]},{"1396231180":["hashtag1","hashtag2"]},{"1396231174":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396231144, 1396231101, 1396231172, 1396231183, 1396231180, 1396231174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95359182357788 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 10:19:42.531488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_16_2641.jpg', '/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_27_11949.jpg', '/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_29_1745.jpg', '/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_33_4071.jpg', '/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_35_1536.jpg', '/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_36_1659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_16_2641.jpg
/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_27_11949.jpg
/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_29_1745.jpg
/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_33_4071.jpg
/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_35_1536.jpg
/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_36_1659.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":["1396231197","1396231200","1396231199","1396231193","1396231196","1396231198"],"photo_ids_order":["1396231193","1396231196","1396231197","1396231198","1396231199","1396231200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/816f38b520998b43743c2d04f249cf0b.jpg","text":"TemporaryFile(/tmp/multipartBody6217434295954247791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148843259,"filename":"image_26112025_05_34_29_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/26/c549209851d14774b0b84cae87eb1f83.jpg","text":"TemporaryFile(/tmp/multipartBody7649867289419962816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148843259,"filename":"image_26112025_05_34_36_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9abcd9261e98ad28d978f26065353f8b.jpg","text":"TemporaryFile(/tmp/multipartBody5945391252725917087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148843259,"filename":"image_26112025_05_34_35_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/26/f531278de4e8a7fbad988d4189a5c899.jpg","text":"TemporaryFile(/tmp/multipartBody3204912825381578893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148843259,"filename":"image_26112025_05_34_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/26/a382a2da7e26ca3347e0bdca2bf25633.jpg","text":"TemporaryFile(/tmp/multipartBody7714608955279885419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148843259,"filename":"image_26112025_05_34_27_11949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ca1ec5fdcaeea7515aa9b47279b0fc91.jpg","text":"TemporaryFile(/tmp/multipartBody2290859783093837684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148843259,"filename":"image_26112025_05_34_33_4071.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396231197","file1":"1396231196","file0":"1396231193","file4":"1396231199","file5":"1396231200","file3":"1396231198"},"map_files_photo_id_array":[{"photo_id":"1396231200","filename":"file5"},{"photo_id":"1396231197","filename":"file2"},{"photo_id":"1396231199","filename":"file4"},{"photo_id":"1396231196","filename":"file1"},{"photo_id":"1396231193","filename":"file0"},{"photo_id":"1396231198","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396231197":["hashtag1","hashtag2"]},{"1396231200":["hashtag1","hashtag2"]},{"1396231199":["hashtag1","hashtag2"]},{"1396231193":["hashtag1","hashtag2"]},{"1396231196":["hashtag1","hashtag2"]},{"1396231198":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396231197, 1396231200, 1396231199, 1396231193, 1396231196, 1396231198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.668991804122925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:20:22.689616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_40_1643.jpg', '/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_42_1857.jpg', '/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_43_1735.jpg', '/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_46_2717.jpg', '/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_49_2640.jpg', '/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_52_2819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_40_1643.jpg
/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_42_1857.jpg
/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_43_1735.jpg
/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_46_2717.jpg
/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_49_2640.jpg
/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_52_2819.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":["1396231222","1396231219","1396231226","1396231211","1396231214","1396231208"],"photo_ids_order":["1396231208","1396231211","1396231214","1396231219","1396231222","1396231226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/777dea582b711b521b229a8400ad3f00.jpg","text":"TemporaryFile(/tmp/multipartBody4370195912755357221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148883408,"filename":"image_26112025_05_34_49_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a6445e7ee2044950d2ef855ec30a5e74.jpg","text":"TemporaryFile(/tmp/multipartBody6181204447108111841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148883408,"filename":"image_26112025_05_34_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/26/22edfb41c1957b99bf5746e27c52a48f.jpg","text":"TemporaryFile(/tmp/multipartBody250360361343493813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148883408,"filename":"image_26112025_05_34_52_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/32ab5534ce22fb0ec1d35120fe0d86e9.jpg","text":"TemporaryFile(/tmp/multipartBody7394280632217125101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148883408,"filename":"image_26112025_05_34_42_1857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a4fd74690e46bfaa9817213e3726b4ae.jpg","text":"TemporaryFile(/tmp/multipartBody1752889309436031620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148883408,"filename":"image_26112025_05_34_43_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/740cefa1fed4d31ce65a564d305f773a.jpg","text":"TemporaryFile(/tmp/multipartBody8608395770452506587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148883408,"filename":"image_26112025_05_34_40_1643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396231214","file1":"1396231211","file0":"1396231208","file4":"1396231222","file5":"1396231226","file3":"1396231219"},"map_files_photo_id_array":[{"photo_id":"1396231226","filename":"file5"},{"photo_id":"1396231214","filename":"file2"},{"photo_id":"1396231222","filename":"file4"},{"photo_id":"1396231211","filename":"file1"},{"photo_id":"1396231208","filename":"file0"},{"photo_id":"1396231219","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396231222":["hashtag1","hashtag2"]},{"1396231219":["hashtag1","hashtag2"]},{"1396231226":["hashtag1","hashtag2"]},{"1396231211":["hashtag1","hashtag2"]},{"1396231214":["hashtag1","hashtag2"]},{"1396231208":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396231222, 1396231219, 1396231226, 1396231211, 1396231214, 1396231208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.080426931381226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:21:03.099343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_55_3671.jpg', '/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_58_2588.jpg', '/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_07_3011.jpg', '/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_11_3671.jpg', '/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_13_2916.jpg', '/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_16_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_55_3671.jpg
/home/pi/Desktop/images/26112025/05/34/image_26112025_05_34_58_2588.jpg
/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_07_3011.jpg
/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_11_3671.jpg
/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_13_2916.jpg
/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_16_2666.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":["1396231234","1396231228","1396231237","1396231230","1396231242","1396231232"],"photo_ids_order":["1396231228","1396231230","1396231232","1396231234","1396231237","1396231242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4bafdeb94df282bf457d142877ace159.jpg","text":"TemporaryFile(/tmp/multipartBody8814230451411938190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148923884,"filename":"image_26112025_05_36_11_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/26/bc57a1b5743158d2012e7239f87188bc.jpg","text":"TemporaryFile(/tmp/multipartBody65148816025190768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148923884,"filename":"image_26112025_05_34_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/26/68c00ba855e82e7eb015629332430834.jpg","text":"TemporaryFile(/tmp/multipartBody3702195212621160548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148923884,"filename":"image_26112025_05_36_13_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/26/e013051547eaae7b6b9f112cd9d63d45.jpg","text":"TemporaryFile(/tmp/multipartBody6750158567064652792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148923884,"filename":"image_26112025_05_34_58_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/26/3890f4cde8b166bdedf7ccf54f68a41f.jpg","text":"TemporaryFile(/tmp/multipartBody75221462166804361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148923884,"filename":"image_26112025_05_36_16_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/26/00c49c3b3eb97aae6e0faa40b83c8370.jpg","text":"TemporaryFile(/tmp/multipartBody788745774646567727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148923884,"filename":"image_26112025_05_36_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396231232","file1":"1396231230","file0":"1396231228","file4":"1396231237","file5":"1396231242","file3":"1396231234"},"map_files_photo_id_array":[{"photo_id":"1396231242","filename":"file5"},{"photo_id":"1396231232","filename":"file2"},{"photo_id":"1396231237","filename":"file4"},{"photo_id":"1396231230","filename":"file1"},{"photo_id":"1396231228","filename":"file0"},{"photo_id":"1396231234","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396231234":["hashtag1","hashtag2"]},{"1396231228":["hashtag1","hashtag2"]},{"1396231237":["hashtag1","hashtag2"]},{"1396231230":["hashtag1","hashtag2"]},{"1396231242":["hashtag1","hashtag2"]},{"1396231232":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396231234, 1396231228, 1396231237, 1396231230, 1396231242, 1396231232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3293182849884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 10:21:42.573021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_19_2735.jpg', '/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_23_3737.jpg', '/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_26_3301.jpg', '/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_29_2670.jpg', '/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_31_2534.jpg', '/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_34_2754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_19_2735.jpg
/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_23_3737.jpg
/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_26_3301.jpg
/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_29_2670.jpg
/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_31_2534.jpg
/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_34_2754.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":["1396231261","1396231263","1396231266","1396231262","1396231265","1396231264"],"photo_ids_order":["1396231261","1396231262","1396231263","1396231264","1396231265","1396231266"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/01714cd9b0669e3ade797b22c2ab7746.jpg","text":"TemporaryFile(/tmp/multipartBody881750713452643625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148963283,"filename":"image_26112025_05_36_19_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/26/7dab783fa3ce44a059767ac7bec37469.jpg","text":"TemporaryFile(/tmp/multipartBody800955422357797445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148963283,"filename":"image_26112025_05_36_26_3301.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ea592653c2bd357db44d05419a50940f.jpg","text":"TemporaryFile(/tmp/multipartBody6412017089757155168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148963283,"filename":"image_26112025_05_36_34_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/26/14b8cfb630c94c960bd56380e8ec44e6.jpg","text":"TemporaryFile(/tmp/multipartBody6816771307537137161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148963283,"filename":"image_26112025_05_36_23_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/26/adc09c10d922fdd73b4dd42c2b324017.jpg","text":"TemporaryFile(/tmp/multipartBody6719456726323470185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148963283,"filename":"image_26112025_05_36_31_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/26/a0d7a359a2ea6390010d04c6f83b26f8.jpg","text":"TemporaryFile(/tmp/multipartBody7523314305670732585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764148963283,"filename":"image_26112025_05_36_29_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396231263","file1":"1396231262","file0":"1396231261","file4":"1396231265","file5":"1396231266","file3":"1396231264"},"map_files_photo_id_array":[{"photo_id":"1396231266","filename":"file5"},{"photo_id":"1396231263","filename":"file2"},{"photo_id":"1396231265","filename":"file4"},{"photo_id":"1396231262","filename":"file1"},{"photo_id":"1396231261","filename":"file0"},{"photo_id":"1396231264","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396231261":["hashtag1","hashtag2"]},{"1396231263":["hashtag1","hashtag2"]},{"1396231266":["hashtag1","hashtag2"]},{"1396231262":["hashtag1","hashtag2"]},{"1396231265":["hashtag1","hashtag2"]},{"1396231264":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396231261, 1396231263, 1396231266, 1396231262, 1396231265, 1396231264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08859133720398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:22:22.800040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_38_3708.jpg', '/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_40_2722.jpg', '/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_43_2511.jpg', '/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_46_3693.jpg', '/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_49_2603.jpg', '/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_53_3662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_38_3708.jpg
/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_40_2722.jpg
/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_43_2511.jpg
/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_46_3693.jpg
/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_49_2603.jpg
/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_53_3662.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":["1396231289","1396231280","1396231274","1396231277","1396231282","1396231285"],"photo_ids_order":["1396231274","1396231277","1396231280","1396231282","1396231285","1396231289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f47f2f4b48d0d3314d2002d555b2d7cc.jpg","text":"TemporaryFile(/tmp/multipartBody7071591580140845389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149003523,"filename":"image_26112025_05_36_53_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/26/f1753b0756e7f44243fd72af1b8e12e5.jpg","text":"TemporaryFile(/tmp/multipartBody3455048309000493167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149003523,"filename":"image_26112025_05_36_43_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/26/3a621968aa79e486b43e77d9655df6ac.jpg","text":"TemporaryFile(/tmp/multipartBody4768654982165052594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149003523,"filename":"image_26112025_05_36_38_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/26/d6d35faae089130a7fb805c841655716.jpg","text":"TemporaryFile(/tmp/multipartBody5550536521954695088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149003523,"filename":"image_26112025_05_36_40_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/26/417ac5faa887587ba63fbc408c453552.jpg","text":"TemporaryFile(/tmp/multipartBody7094408550918574244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149003523,"filename":"image_26112025_05_36_46_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/26/46857eccbc4e3a6a0fac6b31070c20ac.jpg","text":"TemporaryFile(/tmp/multipartBody6090682714484769799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149003523,"filename":"image_26112025_05_36_49_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396231280","file1":"1396231277","file0":"1396231274","file4":"1396231285","file5":"1396231289","file3":"1396231282"},"map_files_photo_id_array":[{"photo_id":"1396231289","filename":"file5"},{"photo_id":"1396231280","filename":"file2"},{"photo_id":"1396231285","filename":"file4"},{"photo_id":"1396231277","filename":"file1"},{"photo_id":"1396231274","filename":"file0"},{"photo_id":"1396231282","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396231289":["hashtag1","hashtag2"]},{"1396231280":["hashtag1","hashtag2"]},{"1396231274":["hashtag1","hashtag2"]},{"1396231277":["hashtag1","hashtag2"]},{"1396231282":["hashtag1","hashtag2"]},{"1396231285":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396231289, 1396231280, 1396231274, 1396231277, 1396231282, 1396231285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26543402671814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:23:02.595358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_57_3794.jpg', '/home/pi/Desktop/images/26112025/05/37/image_26112025_05_37_05_8723.jpg', '/home/pi/Desktop/images/26112025/05/37/image_26112025_05_37_08_3003.jpg', '/home/pi/Desktop/images/26112025/05/37/image_26112025_05_37_10_1634.jpg', '/home/pi/Desktop/images/26112025/05/37/image_26112025_05_37_11_1533.jpg', '/home/pi/Desktop/images/26112025/05/37/image_26112025_05_37_13_1680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/36/image_26112025_05_36_57_3794.jpg
/home/pi/Desktop/images/26112025/05/37/image_26112025_05_37_05_8723.jpg
/home/pi/Desktop/images/26112025/05/37/image_26112025_05_37_08_3003.jpg
/home/pi/Desktop/images/26112025/05/37/image_26112025_05_37_10_1634.jpg
/home/pi/Desktop/images/26112025/05/37/image_26112025_05_37_11_1533.jpg
/home/pi/Desktop/images/26112025/05/37/image_26112025_05_37_13_1680.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":["1396231293","1396231296","1396231298","1396231305","1396231301","1396231291"],"photo_ids_order":["1396231291","1396231293","1396231296","1396231298","1396231301","1396231305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/042599272d355d57790c3444a154332d.jpg","text":"TemporaryFile(/tmp/multipartBody4086287618359495418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149043391,"filename":"image_26112025_05_37_05_8723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3983241a5013574c9827ca6d563fa386.jpg","text":"TemporaryFile(/tmp/multipartBody8107083864754953183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149043391,"filename":"image_26112025_05_37_08_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/26/9d9fdeaa7895a721a016ab26151fcafc.jpg","text":"TemporaryFile(/tmp/multipartBody7133472910069791030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149043391,"filename":"image_26112025_05_37_10_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/26/23afcf776ac3fcd380c0339d7573b5ee.jpg","text":"TemporaryFile(/tmp/multipartBody7382222604872291855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149043391,"filename":"image_26112025_05_37_13_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a39b7129a579997836789f1d62259d07.jpg","text":"TemporaryFile(/tmp/multipartBody1113913630653331440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149043391,"filename":"image_26112025_05_37_11_1533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1425b21846fa74cc3e4b59cb520c42e0.jpg","text":"TemporaryFile(/tmp/multipartBody4843565066970107925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149043391,"filename":"image_26112025_05_36_57_3794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396231296","file1":"1396231293","file0":"1396231291","file4":"1396231301","file5":"1396231305","file3":"1396231298"},"map_files_photo_id_array":[{"photo_id":"1396231305","filename":"file5"},{"photo_id":"1396231296","filename":"file2"},{"photo_id":"1396231301","filename":"file4"},{"photo_id":"1396231293","filename":"file1"},{"photo_id":"1396231291","filename":"file0"},{"photo_id":"1396231298","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396231293":["hashtag1","hashtag2"]},{"1396231296":["hashtag1","hashtag2"]},{"1396231298":["hashtag1","hashtag2"]},{"1396231305":["hashtag1","hashtag2"]},{"1396231301":["hashtag1","hashtag2"]},{"1396231291":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396231293, 1396231296, 1396231298, 1396231305, 1396231301, 1396231291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75810194015503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 10:23:41.894326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/37/image_26112025_05_37_15_1746.jpg', '/home/pi/Desktop/images/26112025/05/37/image_26112025_05_37_17_1692.jpg', '/home/pi/Desktop/images/26112025/05/38/image_26112025_05_38_07_3014.jpg', '/home/pi/Desktop/images/26112025/05/38/image_26112025_05_38_11_3748.jpg', '/home/pi/Desktop/images/26112025/05/38/image_26112025_05_38_14_2751.jpg', '/home/pi/Desktop/images/26112025/05/38/image_26112025_05_38_16_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/37/image_26112025_05_37_15_1746.jpg
/home/pi/Desktop/images/26112025/05/37/image_26112025_05_37_17_1692.jpg
/home/pi/Desktop/images/26112025/05/38/image_26112025_05_38_07_3014.jpg
/home/pi/Desktop/images/26112025/05/38/image_26112025_05_38_11_3748.jpg
/home/pi/Desktop/images/26112025/05/38/image_26112025_05_38_14_2751.jpg
/home/pi/Desktop/images/26112025/05/38/image_26112025_05_38_16_2684.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":["1396231327","1396231330","1396231324","1396231329","1396231352","1396231346"],"photo_ids_order":["1396231324","1396231327","1396231329","1396231330","1396231346","1396231352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/10fb1ff0e48e73a634b10369a93f99a1.jpg","text":"TemporaryFile(/tmp/multipartBody6934937511515785538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149082607,"filename":"image_26112025_05_37_17_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/26/da0169a9cfaaf3a0f0b7457f07008e6f.jpg","text":"TemporaryFile(/tmp/multipartBody1310687662365094260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149082607,"filename":"image_26112025_05_38_11_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/26/e499311e29d8384e5c22fc6f6a56ac51.jpg","text":"TemporaryFile(/tmp/multipartBody5222488848644207728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149082607,"filename":"image_26112025_05_37_15_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/26/e7f1c0b3de5402a2773a218102e20905.jpg","text":"TemporaryFile(/tmp/multipartBody3798673275484154673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149082607,"filename":"image_26112025_05_38_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/26/5dd4b256349628b9d6e0ba45e81823d0.jpg","text":"TemporaryFile(/tmp/multipartBody4580218671514591226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149082607,"filename":"image_26112025_05_38_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/26/575c7a1b6c5ecb2c8b8e2c227eb1c1da.jpg","text":"TemporaryFile(/tmp/multipartBody4109850211740658562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149082607,"filename":"image_26112025_05_38_14_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396231329","file1":"1396231327","file0":"1396231324","file4":"1396231346","file5":"1396231352","file3":"1396231330"},"map_files_photo_id_array":[{"photo_id":"1396231352","filename":"file5"},{"photo_id":"1396231329","filename":"file2"},{"photo_id":"1396231346","filename":"file4"},{"photo_id":"1396231327","filename":"file1"},{"photo_id":"1396231324","filename":"file0"},{"photo_id":"1396231330","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396231327":["hashtag1","hashtag2"]},{"1396231330":["hashtag1","hashtag2"]},{"1396231324":["hashtag1","hashtag2"]},{"1396231329":["hashtag1","hashtag2"]},{"1396231352":["hashtag1","hashtag2"]},{"1396231346":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396231327, 1396231330, 1396231324, 1396231329, 1396231352, 1396231346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2825493812561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:24:22.046255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/38/image_26112025_05_38_20_3742.jpg', '/home/pi/Desktop/images/26112025/05/38/image_26112025_05_38_23_2590.jpg', '/home/pi/Desktop/images/26112025/05/38/image_26112025_05_38_25_2658.jpg', '/home/pi/Desktop/images/26112025/05/38/image_26112025_05_38_29_3612.jpg', '/home/pi/Desktop/images/26112025/05/38/image_26112025_05_38_36_6913.jpg', '/home/pi/Desktop/images/26112025/05/38/image_26112025_05_38_38_1775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/38/image_26112025_05_38_20_3742.jpg
/home/pi/Desktop/images/26112025/05/38/image_26112025_05_38_23_2590.jpg
/home/pi/Desktop/images/26112025/05/38/image_26112025_05_38_25_2658.jpg
/home/pi/Desktop/images/26112025/05/38/image_26112025_05_38_29_3612.jpg
/home/pi/Desktop/images/26112025/05/38/image_26112025_05_38_36_6913.jpg
/home/pi/Desktop/images/26112025/05/38/image_26112025_05_38_38_1775.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":["1396231375","1396231398","1396231371","1396231385","1396231382","1396231378"],"photo_ids_order":["1396231371","1396231375","1396231378","1396231382","1396231385","1396231398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f95cd47248a4e056df0fee329841c812.jpg","text":"TemporaryFile(/tmp/multipartBody2603111562553113204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149122773,"filename":"image_26112025_05_38_23_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/721754e736cb22e4cc52e29484a79483.jpg","text":"TemporaryFile(/tmp/multipartBody1940500081081157350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149122773,"filename":"image_26112025_05_38_38_1775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c7b369bc88d6a482857abf828c3d34c1.jpg","text":"TemporaryFile(/tmp/multipartBody912917677978870848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149122773,"filename":"image_26112025_05_38_20_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/26/e380d1bbaeb9fdab4d6c9eda6304922f.jpg","text":"TemporaryFile(/tmp/multipartBody8570803226183549866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149122773,"filename":"image_26112025_05_38_36_6913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2e85e2b7dccca1290028f37e5f53a53c.jpg","text":"TemporaryFile(/tmp/multipartBody6604981938571074040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149122773,"filename":"image_26112025_05_38_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/26/1bbde6b0e41336b24f633e64586bed00.jpg","text":"TemporaryFile(/tmp/multipartBody8095924295469205556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149122773,"filename":"image_26112025_05_38_25_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396231378","file1":"1396231375","file0":"1396231371","file4":"1396231385","file5":"1396231398","file3":"1396231382"},"map_files_photo_id_array":[{"photo_id":"1396231398","filename":"file5"},{"photo_id":"1396231378","filename":"file2"},{"photo_id":"1396231385","filename":"file4"},{"photo_id":"1396231375","filename":"file1"},{"photo_id":"1396231371","filename":"file0"},{"photo_id":"1396231382","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396231375":["hashtag1","hashtag2"]},{"1396231398":["hashtag1","hashtag2"]},{"1396231371":["hashtag1","hashtag2"]},{"1396231385":["hashtag1","hashtag2"]},{"1396231382":["hashtag1","hashtag2"]},{"1396231378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396231375, 1396231398, 1396231371, 1396231385, 1396231382, 1396231378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5625216960907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:25:02.789523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/38/image_26112025_05_38_39_1657.jpg', '/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_07_3011.jpg', '/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_11_3650.jpg', '/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_13_2767.jpg', '/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_16_2723.jpg', '/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_20_3611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/38/image_26112025_05_38_39_1657.jpg
/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_07_3011.jpg
/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_11_3650.jpg
/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_13_2767.jpg
/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_16_2723.jpg
/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_20_3611.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":["1396231441","1396231429","1396231431","1396231433","1396231436","1396231427"],"photo_ids_order":["1396231427","1396231429","1396231431","1396231433","1396231436","1396231441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7abbc40643bc3bbaff384e7092ea6006.jpg","text":"TemporaryFile(/tmp/multipartBody8226411063721629561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149163603,"filename":"image_26112025_05_40_20_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/26/64964fb8ba11d55b2d87024329491e52.jpg","text":"TemporaryFile(/tmp/multipartBody1260608337481309309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149163603,"filename":"image_26112025_05_40_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/26/62e05fda15bf8179848ec9872db7dd3a.jpg","text":"TemporaryFile(/tmp/multipartBody1158061663046226864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149163603,"filename":"image_26112025_05_40_11_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/26/83db017a8fca5b0c3abe73b1cd1e51bc.jpg","text":"TemporaryFile(/tmp/multipartBody7960561377349086646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149163603,"filename":"image_26112025_05_40_13_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/26/b26240834fbdaafd64f6ec70b9f832cb.jpg","text":"TemporaryFile(/tmp/multipartBody8776164593411775496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149163603,"filename":"image_26112025_05_40_16_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/26/50a6ba520c752420de4b146fc539849a.jpg","text":"TemporaryFile(/tmp/multipartBody8229656185349268737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149163603,"filename":"image_26112025_05_38_39_1657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396231431","file1":"1396231429","file0":"1396231427","file4":"1396231436","file5":"1396231441","file3":"1396231433"},"map_files_photo_id_array":[{"photo_id":"1396231441","filename":"file5"},{"photo_id":"1396231431","filename":"file2"},{"photo_id":"1396231436","filename":"file4"},{"photo_id":"1396231429","filename":"file1"},{"photo_id":"1396231427","filename":"file0"},{"photo_id":"1396231433","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396231441":["hashtag1","hashtag2"]},{"1396231429":["hashtag1","hashtag2"]},{"1396231431":["hashtag1","hashtag2"]},{"1396231433":["hashtag1","hashtag2"]},{"1396231436":["hashtag1","hashtag2"]},{"1396231427":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396231441, 1396231429, 1396231431, 1396231433, 1396231436, 1396231427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41475248336792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 10:25:42.244551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_22_2680.jpg', '/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_25_2641.jpg', '/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_29_3518.jpg', '/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_31_2654.jpg', '/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_35_3528.jpg', '/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_37_2497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_22_2680.jpg
/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_25_2641.jpg
/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_29_3518.jpg
/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_31_2654.jpg
/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_35_3528.jpg
/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_37_2497.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":["1396231474","1396231512","1396231583","1396231547","1396231622","1396231450"],"photo_ids_order":["1396231450","1396231474","1396231512","1396231547","1396231583","1396231622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1aec1f3a857702fb4b221954944eb281.jpg","text":"TemporaryFile(/tmp/multipartBody1069254288136924598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149202985,"filename":"image_26112025_05_40_25_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/26/2dba449e8d993874c1fecb3309fb1763.jpg","text":"TemporaryFile(/tmp/multipartBody2313140411076175075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149202985,"filename":"image_26112025_05_40_29_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/26/d372b127049108bd6dfd316966ae23af.jpg","text":"TemporaryFile(/tmp/multipartBody2395688693517187536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149202985,"filename":"image_26112025_05_40_35_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/26/a9a46b53c235670924b0a0254cd12cc0.jpg","text":"TemporaryFile(/tmp/multipartBody2980498856970405716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149202985,"filename":"image_26112025_05_40_31_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/26/26d27dd7ff3efa0f77ede262ea0621c0.jpg","text":"TemporaryFile(/tmp/multipartBody7645433998847428382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149202985,"filename":"image_26112025_05_40_37_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/26/9512dec69df9d2a0d5d0d75807115ab9.jpg","text":"TemporaryFile(/tmp/multipartBody1228450441882755059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149202985,"filename":"image_26112025_05_40_22_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396231512","file1":"1396231474","file0":"1396231450","file4":"1396231583","file5":"1396231622","file3":"1396231547"},"map_files_photo_id_array":[{"photo_id":"1396231622","filename":"file5"},{"photo_id":"1396231512","filename":"file2"},{"photo_id":"1396231583","filename":"file4"},{"photo_id":"1396231474","filename":"file1"},{"photo_id":"1396231450","filename":"file0"},{"photo_id":"1396231547","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396231474":["hashtag1","hashtag2"]},{"1396231512":["hashtag1","hashtag2"]},{"1396231583":["hashtag1","hashtag2"]},{"1396231547":["hashtag1","hashtag2"]},{"1396231622":["hashtag1","hashtag2"]},{"1396231450":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396231474, 1396231512, 1396231583, 1396231547, 1396231622, 1396231450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96306562423706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:26:22.394696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_43_5324.jpg', '/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_44_1594.jpg', '/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_47_2538.jpg', '/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_49_2762.jpg', '/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_52_2905.jpg', '/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_55_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_43_5324.jpg
/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_44_1594.jpg
/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_47_2538.jpg
/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_49_2762.jpg
/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_52_2905.jpg
/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_55_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.6528034210205078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:26:32.419709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_43_5324.jpg', '/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_44_1594.jpg', '/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_47_2538.jpg', '/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_49_2762.jpg', '/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_52_2905.jpg', '/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_55_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_43_5324.jpg
/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_44_1594.jpg
/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_47_2538.jpg
/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_49_2762.jpg
/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_52_2905.jpg
/home/pi/Desktop/images/26112025/05/40/image_26112025_05_40_55_2728.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":["1396231740","1396231743","1396231694","1396231707","1396231715","1396231703"],"photo_ids_order":["1396231694","1396231703","1396231707","1396231715","1396231740","1396231743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f7a55addace7e9ce7f0f602aa9c203d3.jpg","text":"TemporaryFile(/tmp/multipartBody1322919930421030888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149253131,"filename":"image_26112025_05_40_52_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/26/4f499065f346419066b79cf8dd38ec00.jpg","text":"TemporaryFile(/tmp/multipartBody4060106310445802699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149253131,"filename":"image_26112025_05_40_55_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/26/169db3ecbfa343fe456d6f3bcaf57905.jpg","text":"TemporaryFile(/tmp/multipartBody7580317495704933692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149253131,"filename":"image_26112025_05_40_43_5324.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1df6de8ed6f9934150325ee96f1b6be4.jpg","text":"TemporaryFile(/tmp/multipartBody6372784478914106830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149253131,"filename":"image_26112025_05_40_47_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/26/3839c47892b0f349a3f565198add0e7b.jpg","text":"TemporaryFile(/tmp/multipartBody6054592174507317400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149253131,"filename":"image_26112025_05_40_49_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/26/c7f36d567f48b6876ba2419b3003a397.jpg","text":"TemporaryFile(/tmp/multipartBody5496737550806712307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149253131,"filename":"image_26112025_05_40_44_1594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396231707","file1":"1396231703","file0":"1396231694","file4":"1396231740","file5":"1396231743","file3":"1396231715"},"map_files_photo_id_array":[{"photo_id":"1396231743","filename":"file5"},{"photo_id":"1396231707","filename":"file2"},{"photo_id":"1396231740","filename":"file4"},{"photo_id":"1396231703","filename":"file1"},{"photo_id":"1396231694","filename":"file0"},{"photo_id":"1396231715","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396231740":["hashtag1","hashtag2"]},{"1396231743":["hashtag1","hashtag2"]},{"1396231694":["hashtag1","hashtag2"]},{"1396231707":["hashtag1","hashtag2"]},{"1396231715":["hashtag1","hashtag2"]},{"1396231703":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396231740, 1396231743, 1396231694, 1396231707, 1396231715, 1396231703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.219574213027954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:27:12.697424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/42/image_26112025_05_42_07_3012.jpg', '/home/pi/Desktop/images/26112025/05/42/image_26112025_05_42_11_3731.jpg', '/home/pi/Desktop/images/26112025/05/42/image_26112025_05_42_13_2612.jpg', '/home/pi/Desktop/images/26112025/05/42/image_26112025_05_42_16_2664.jpg', '/home/pi/Desktop/images/26112025/05/42/image_26112025_05_42_20_3794.jpg', '/home/pi/Desktop/images/26112025/05/42/image_26112025_05_42_22_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/42/image_26112025_05_42_07_3012.jpg
/home/pi/Desktop/images/26112025/05/42/image_26112025_05_42_11_3731.jpg
/home/pi/Desktop/images/26112025/05/42/image_26112025_05_42_13_2612.jpg
/home/pi/Desktop/images/26112025/05/42/image_26112025_05_42_16_2664.jpg
/home/pi/Desktop/images/26112025/05/42/image_26112025_05_42_20_3794.jpg
/home/pi/Desktop/images/26112025/05/42/image_26112025_05_42_22_2712.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":["1396231816","1396231819","1396231813","1396231746","1396231818","1396231784"],"photo_ids_order":["1396231746","1396231784","1396231813","1396231816","1396231818","1396231819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f648a4a6a915823d2a48287af73bf781.jpg","text":"TemporaryFile(/tmp/multipartBody552723773706219952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149293399,"filename":"image_26112025_05_42_16_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/26/c5a4c44da40fae9e4ab1836a218e7d92.jpg","text":"TemporaryFile(/tmp/multipartBody1613086495321454638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149293399,"filename":"image_26112025_05_42_22_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/26/31d8686d6cc2e80e87e5aca30d2d2503.jpg","text":"TemporaryFile(/tmp/multipartBody5882405876415506131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149293399,"filename":"image_26112025_05_42_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/26/2fdc7deef1288c62d33468df188621cb.jpg","text":"TemporaryFile(/tmp/multipartBody4665116849858600637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149293399,"filename":"image_26112025_05_42_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/26/b5359200739b28a52c578f9e5eb96eaf.jpg","text":"TemporaryFile(/tmp/multipartBody7348561864254555432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149293399,"filename":"image_26112025_05_42_20_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/26/197d7e1b1d1a946b0d2ad6de4cda66f5.jpg","text":"TemporaryFile(/tmp/multipartBody1084573454978948346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149293399,"filename":"image_26112025_05_42_11_3731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396231813","file1":"1396231784","file0":"1396231746","file4":"1396231818","file5":"1396231819","file3":"1396231816"},"map_files_photo_id_array":[{"photo_id":"1396231819","filename":"file5"},{"photo_id":"1396231813","filename":"file2"},{"photo_id":"1396231818","filename":"file4"},{"photo_id":"1396231784","filename":"file1"},{"photo_id":"1396231746","filename":"file0"},{"photo_id":"1396231816","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396231816":["hashtag1","hashtag2"]},{"1396231819":["hashtag1","hashtag2"]},{"1396231813":["hashtag1","hashtag2"]},{"1396231746":["hashtag1","hashtag2"]},{"1396231818":["hashtag1","hashtag2"]},{"1396231784":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396231816, 1396231819, 1396231813, 1396231746, 1396231818, 1396231784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6478533744812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:28:02.416395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_06_3011.jpg', '/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_10_3543.jpg', '/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_12_2576.jpg', '/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_16_3698.jpg', '/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_19_2635.jpg', '/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_21_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_06_3011.jpg
/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_10_3543.jpg
/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_12_2576.jpg
/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_16_3698.jpg
/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_19_2635.jpg
/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_21_2652.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":["1396231843","1396231837","1396231839","1396231827","1396231830","1396231835"],"photo_ids_order":["1396231827","1396231830","1396231835","1396231837","1396231839","1396231843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a470f29ccc4b97fe43817d1f8301994a.jpg","text":"TemporaryFile(/tmp/multipartBody8850319782051697796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149343152,"filename":"image_26112025_05_44_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/26/0ac891e21e6e1b32999f53dbe5635217.jpg","text":"TemporaryFile(/tmp/multipartBody2508825833514100690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149343152,"filename":"image_26112025_05_44_16_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/26/6906d38255e5291a98362337fb44b567.jpg","text":"TemporaryFile(/tmp/multipartBody2715366292381136971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149343152,"filename":"image_26112025_05_44_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/26/a8c4152eea8451239cc4fe4656ab38e5.jpg","text":"TemporaryFile(/tmp/multipartBody1326803042606782831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149343152,"filename":"image_26112025_05_44_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/26/a8e61c405c9a6db33b8a2a1154422ad6.jpg","text":"TemporaryFile(/tmp/multipartBody5217570476331486610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149343152,"filename":"image_26112025_05_44_10_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/26/06e6320768fd6e17925747c50586839e.jpg","text":"TemporaryFile(/tmp/multipartBody8255986566617392733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149343152,"filename":"image_26112025_05_44_12_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396231835","file1":"1396231830","file0":"1396231827","file4":"1396231839","file5":"1396231843","file3":"1396231837"},"map_files_photo_id_array":[{"photo_id":"1396231843","filename":"file5"},{"photo_id":"1396231835","filename":"file2"},{"photo_id":"1396231839","filename":"file4"},{"photo_id":"1396231830","filename":"file1"},{"photo_id":"1396231827","filename":"file0"},{"photo_id":"1396231837","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396231843":["hashtag1","hashtag2"]},{"1396231837":["hashtag1","hashtag2"]},{"1396231839":["hashtag1","hashtag2"]},{"1396231827":["hashtag1","hashtag2"]},{"1396231830":["hashtag1","hashtag2"]},{"1396231835":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396231843, 1396231837, 1396231839, 1396231827, 1396231830, 1396231835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.620089530944824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 10:28:41.896736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_25_3712.jpg', '/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_27_2199.jpg', '/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_31_3590.jpg', '/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_35_4191.jpg', '/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_37_1684.jpg', '/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_39_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_25_3712.jpg
/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_27_2199.jpg
/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_31_3590.jpg
/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_35_4191.jpg
/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_37_1684.jpg
/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_39_2604.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":["1396231906","1396231902","1396231905","1396231868","1396231865","1396231882"],"photo_ids_order":["1396231865","1396231868","1396231882","1396231902","1396231905","1396231906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7de4ea498ef40cf87dad25d2c8d13057.jpg","text":"TemporaryFile(/tmp/multipartBody3133212449073578911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149382694,"filename":"image_26112025_05_44_39_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/26/f8ebc21deb887732dd67b958d315563a.jpg","text":"TemporaryFile(/tmp/multipartBody3298746374578799403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149382694,"filename":"image_26112025_05_44_35_4191.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/330cf68fcf15b914ccd5d499bf734a09.jpg","text":"TemporaryFile(/tmp/multipartBody2658776962777090976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149382694,"filename":"image_26112025_05_44_37_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/26/161caba0bbd3bcdbd65c544c90b2f6dd.jpg","text":"TemporaryFile(/tmp/multipartBody3147101434011115456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149382694,"filename":"image_26112025_05_44_27_2199.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/08a3d513887852f1509311cd3dbe2fa1.jpg","text":"TemporaryFile(/tmp/multipartBody5796459133011190583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149382694,"filename":"image_26112025_05_44_25_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/26/cbb9cb3e056517d2a66f14e3062df969.jpg","text":"TemporaryFile(/tmp/multipartBody8620039709458463230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149382694,"filename":"image_26112025_05_44_31_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396231882","file1":"1396231868","file0":"1396231865","file4":"1396231905","file5":"1396231906","file3":"1396231902"},"map_files_photo_id_array":[{"photo_id":"1396231906","filename":"file5"},{"photo_id":"1396231882","filename":"file2"},{"photo_id":"1396231905","filename":"file4"},{"photo_id":"1396231868","filename":"file1"},{"photo_id":"1396231865","filename":"file0"},{"photo_id":"1396231902","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396231906":["hashtag1","hashtag2"]},{"1396231902":["hashtag1","hashtag2"]},{"1396231905":["hashtag1","hashtag2"]},{"1396231868":["hashtag1","hashtag2"]},{"1396231865":["hashtag1","hashtag2"]},{"1396231882":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396231906, 1396231902, 1396231905, 1396231868, 1396231865, 1396231882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.075844526290894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:29:22.097212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_43_3776.jpg', '/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_46_2710.jpg', '/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_49_2830.jpg', '/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_51_2805.jpg', '/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_55_3694.jpg', '/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_58_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_43_3776.jpg
/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_46_2710.jpg
/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_49_2830.jpg
/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_51_2805.jpg
/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_55_3694.jpg
/home/pi/Desktop/images/26112025/05/44/image_26112025_05_44_58_2695.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":["1396231911","1396231922","1396231925","1396231919","1396231928","1396231916"],"photo_ids_order":["1396231911","1396231916","1396231919","1396231922","1396231925","1396231928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8b4ec2671e20222829b110044147fb54.jpg","text":"TemporaryFile(/tmp/multipartBody92508446580414187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149422807,"filename":"image_26112025_05_44_43_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/26/d6cd2435fec83716b69da8a7429d4dec.jpg","text":"TemporaryFile(/tmp/multipartBody9063248370968781336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149422807,"filename":"image_26112025_05_44_51_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/26/2d1af0ea2d42191637e3ec42a684c461.jpg","text":"TemporaryFile(/tmp/multipartBody3758379047676357092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149422807,"filename":"image_26112025_05_44_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/26/2023bea805dc47585750d6c99644e5c9.jpg","text":"TemporaryFile(/tmp/multipartBody1769501895771999062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149422807,"filename":"image_26112025_05_44_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/26/3e28d4645f9aa99eefa0a1f73d75f936.jpg","text":"TemporaryFile(/tmp/multipartBody4595368950156128352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149422807,"filename":"image_26112025_05_44_58_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7c07734a34ddc529b503d1f2f7519a17.jpg","text":"TemporaryFile(/tmp/multipartBody7285023232870364662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149422807,"filename":"image_26112025_05_44_46_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396231919","file1":"1396231916","file0":"1396231911","file4":"1396231925","file5":"1396231928","file3":"1396231922"},"map_files_photo_id_array":[{"photo_id":"1396231928","filename":"file5"},{"photo_id":"1396231919","filename":"file2"},{"photo_id":"1396231925","filename":"file4"},{"photo_id":"1396231916","filename":"file1"},{"photo_id":"1396231911","filename":"file0"},{"photo_id":"1396231922","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396231911":["hashtag1","hashtag2"]},{"1396231922":["hashtag1","hashtag2"]},{"1396231925":["hashtag1","hashtag2"]},{"1396231919":["hashtag1","hashtag2"]},{"1396231928":["hashtag1","hashtag2"]},{"1396231916":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396231911, 1396231922, 1396231925, 1396231919, 1396231928, 1396231916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46297883987427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:30:02.901481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/45/image_26112025_05_45_01_2645.jpg', '/home/pi/Desktop/images/26112025/05/45/image_26112025_05_45_03_2862.jpg', '/home/pi/Desktop/images/26112025/05/45/image_26112025_05_45_07_3730.jpg', '/home/pi/Desktop/images/26112025/05/45/image_26112025_05_45_10_2785.jpg', '/home/pi/Desktop/images/26112025/05/45/image_26112025_05_45_13_2630.jpg', '/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_07_3018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/45/image_26112025_05_45_01_2645.jpg
/home/pi/Desktop/images/26112025/05/45/image_26112025_05_45_03_2862.jpg
/home/pi/Desktop/images/26112025/05/45/image_26112025_05_45_07_3730.jpg
/home/pi/Desktop/images/26112025/05/45/image_26112025_05_45_10_2785.jpg
/home/pi/Desktop/images/26112025/05/45/image_26112025_05_45_13_2630.jpg
/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_07_3018.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 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":["1396231945","1396231939","1396231959","1396231950","1396231958","1396231954"],"photo_ids_order":["1396231939","1396231945","1396231950","1396231954","1396231958","1396231959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/60deaeae41a26cc3ebbf4a05a8bbee7a.jpg","text":"TemporaryFile(/tmp/multipartBody1334728757935149830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149489190,"filename":"image_26112025_05_45_03_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/26/73105c037689671c24712582a9d2dd00.jpg","text":"TemporaryFile(/tmp/multipartBody4437012006465009613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149489190,"filename":"image_26112025_05_45_01_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/26/dd09eb15bd3424adf08c0907819fd1b7.jpg","text":"TemporaryFile(/tmp/multipartBody9055613383674813826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149489190,"filename":"image_26112025_05_46_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8ee42f2d03b15833d14e9e2bc847f187.jpg","text":"TemporaryFile(/tmp/multipartBody4153634087200668006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149489190,"filename":"image_26112025_05_45_07_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/26/f01777430c2bd023e208b280717c973b.jpg","text":"TemporaryFile(/tmp/multipartBody315642245613766001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149489190,"filename":"image_26112025_05_45_13_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5411426f0fd5a9d9e2d0f6ef4e5e31e7.jpg","text":"TemporaryFile(/tmp/multipartBody7731437221228873981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149489190,"filename":"image_26112025_05_45_10_2785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396231950","file1":"1396231945","file0":"1396231939","file4":"1396231958","file5":"1396231959","file3":"1396231954"},"map_files_photo_id_array":[{"photo_id":"1396231959","filename":"file5"},{"photo_id":"1396231950","filename":"file2"},{"photo_id":"1396231958","filename":"file4"},{"photo_id":"1396231945","filename":"file1"},{"photo_id":"1396231939","filename":"file0"},{"photo_id":"1396231954","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396231945":["hashtag1","hashtag2"]},{"1396231939":["hashtag1","hashtag2"]},{"1396231959":["hashtag1","hashtag2"]},{"1396231950":["hashtag1","hashtag2"]},{"1396231958":["hashtag1","hashtag2"]},{"1396231954":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396231945, 1396231939, 1396231959, 1396231950, 1396231958, 1396231954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.703415632247925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:31:13.562123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_10_3699.jpg', '/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_13_2556.jpg', '/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_16_2728.jpg', '/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_19_3539.jpg', '/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_22_2587.jpg', '/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_25_3556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_10_3699.jpg
/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_13_2556.jpg
/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_16_2728.jpg
/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_19_3539.jpg
/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_22_2587.jpg
/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_25_3556.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":["1396231989","1396231977","1396231979","1396231984","1396231987","1396231981"],"photo_ids_order":["1396231977","1396231979","1396231981","1396231984","1396231987","1396231989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0ad7a5dbf6d2eaf9c20d12187c1bb12b.jpg","text":"TemporaryFile(/tmp/multipartBody2138438637177071297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149534248,"filename":"image_26112025_05_46_25_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/26/f7a0aab66b09306a9d149a2cf6ebe19e.jpg","text":"TemporaryFile(/tmp/multipartBody2550364796865547576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149534248,"filename":"image_26112025_05_46_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/26/cf6213b32a1e9026df0a022bf63e6f7d.jpg","text":"TemporaryFile(/tmp/multipartBody1451808944118399030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149534248,"filename":"image_26112025_05_46_13_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/26/f656036c32d717262179f1d1508e4fc6.jpg","text":"TemporaryFile(/tmp/multipartBody4904673128403070687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149534248,"filename":"image_26112025_05_46_19_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/26/f75d921c952b37fa56ec44f83e8e168a.jpg","text":"TemporaryFile(/tmp/multipartBody6251431021975296942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149534248,"filename":"image_26112025_05_46_22_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/26/6b33f3c79cc5c491eaec227a2eb59916.jpg","text":"TemporaryFile(/tmp/multipartBody3831063794461142385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149534248,"filename":"image_26112025_05_46_16_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396231981","file1":"1396231979","file0":"1396231977","file4":"1396231987","file5":"1396231989","file3":"1396231984"},"map_files_photo_id_array":[{"photo_id":"1396231989","filename":"file5"},{"photo_id":"1396231981","filename":"file2"},{"photo_id":"1396231987","filename":"file4"},{"photo_id":"1396231979","filename":"file1"},{"photo_id":"1396231977","filename":"file0"},{"photo_id":"1396231984","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396231989":["hashtag1","hashtag2"]},{"1396231977":["hashtag1","hashtag2"]},{"1396231979":["hashtag1","hashtag2"]},{"1396231984":["hashtag1","hashtag2"]},{"1396231987":["hashtag1","hashtag2"]},{"1396231981":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396231989, 1396231977, 1396231979, 1396231984, 1396231987, 1396231981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.420007944107056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:32:03.151603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_28_2681.jpg', '/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_31_2794.jpg', '/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_34_3533.jpg', '/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_37_2776.jpg', '/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_40_2591.jpg', '/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_43_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_28_2681.jpg
/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_31_2794.jpg
/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_34_3533.jpg
/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_37_2776.jpg
/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_40_2591.jpg
/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_43_3661.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":["1396231995","1396232001","1396232004","1396231997","1396231999","1396231993"],"photo_ids_order":["1396231993","1396231995","1396231997","1396231999","1396232001","1396232004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ed3d268875aff48ce54e0a1f6d15e6c8.jpg","text":"TemporaryFile(/tmp/multipartBody4042255176355141675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149584078,"filename":"image_26112025_05_46_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/26/9434c730d323401f671a0bfe94d41bd1.jpg","text":"TemporaryFile(/tmp/multipartBody266302224633793489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149584078,"filename":"image_26112025_05_46_40_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/26/2bc6ecea985e20bb906b32746d61c829.jpg","text":"TemporaryFile(/tmp/multipartBody4020753352831633643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149584078,"filename":"image_26112025_05_46_43_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6549ce2dd6268b2a4fbdb94cb48a5444.jpg","text":"TemporaryFile(/tmp/multipartBody8908563729304306332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149584078,"filename":"image_26112025_05_46_34_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/26/abff7e0bf17193a61c60d84b61bbe6f0.jpg","text":"TemporaryFile(/tmp/multipartBody4465775554812822405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149584078,"filename":"image_26112025_05_46_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/26/43bd04467327318ed254345eefbcba65.jpg","text":"TemporaryFile(/tmp/multipartBody8594475223314898883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149584078,"filename":"image_26112025_05_46_28_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396231997","file1":"1396231995","file0":"1396231993","file4":"1396232001","file5":"1396232004","file3":"1396231999"},"map_files_photo_id_array":[{"photo_id":"1396232004","filename":"file5"},{"photo_id":"1396231997","filename":"file2"},{"photo_id":"1396232001","filename":"file4"},{"photo_id":"1396231995","filename":"file1"},{"photo_id":"1396231993","filename":"file0"},{"photo_id":"1396231999","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396231995":["hashtag1","hashtag2"]},{"1396232001":["hashtag1","hashtag2"]},{"1396232004":["hashtag1","hashtag2"]},{"1396231997":["hashtag1","hashtag2"]},{"1396231999":["hashtag1","hashtag2"]},{"1396231993":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396231995, 1396232001, 1396232004, 1396231997, 1396231999, 1396231993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1554172039032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 10:32:42.664888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_46_2611.jpg', '/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_50_3575.jpg', '/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_52_2742.jpg', '/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_55_2781.jpg', '/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_58_2616.jpg', '/home/pi/Desktop/images/26112025/05/46/image_26112025_05_47_01_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_46_2611.jpg
/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_50_3575.jpg
/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_52_2742.jpg
/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_55_2781.jpg
/home/pi/Desktop/images/26112025/05/46/image_26112025_05_46_58_2616.jpg
/home/pi/Desktop/images/26112025/05/46/image_26112025_05_47_01_3591.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":["1396232026","1396232025","1396232019","1396232028","1396232027","1396232029"],"photo_ids_order":["1396232019","1396232025","1396232026","1396232027","1396232028","1396232029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8e9f4980bd848acf842fcc9c9e307e25.jpg","text":"TemporaryFile(/tmp/multipartBody583347784208558349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149623347,"filename":"image_26112025_05_46_52_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/26/c53f4eec028861bdf3256717e4d32aa9.jpg","text":"TemporaryFile(/tmp/multipartBody768025408740886673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149623347,"filename":"image_26112025_05_46_50_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/26/2b8e3bab3500103ce66d23ea0add3587.jpg","text":"TemporaryFile(/tmp/multipartBody8207289544615006362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149623347,"filename":"image_26112025_05_46_46_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/26/f4687dba259e0310f8933688008857ce.jpg","text":"TemporaryFile(/tmp/multipartBody552694748349717630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149623347,"filename":"image_26112025_05_46_58_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/26/db731f72212b4b8c6ac23940a87ef814.jpg","text":"TemporaryFile(/tmp/multipartBody5237730332736431112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149623347,"filename":"image_26112025_05_46_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/26/edf7f917fb661c477e893db0347f0c66.jpg","text":"TemporaryFile(/tmp/multipartBody510536801566073759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149623347,"filename":"image_26112025_05_47_01_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396232026","file1":"1396232025","file0":"1396232019","file4":"1396232028","file5":"1396232029","file3":"1396232027"},"map_files_photo_id_array":[{"photo_id":"1396232029","filename":"file5"},{"photo_id":"1396232026","filename":"file2"},{"photo_id":"1396232028","filename":"file4"},{"photo_id":"1396232025","filename":"file1"},{"photo_id":"1396232019","filename":"file0"},{"photo_id":"1396232027","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396232026":["hashtag1","hashtag2"]},{"1396232025":["hashtag1","hashtag2"]},{"1396232019":["hashtag1","hashtag2"]},{"1396232028":["hashtag1","hashtag2"]},{"1396232027":["hashtag1","hashtag2"]},{"1396232029":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396232026, 1396232025, 1396232019, 1396232028, 1396232027, 1396232029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60793685913086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:33:21.871535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/47/image_26112025_05_47_04_2545.jpg', '/home/pi/Desktop/images/26112025/05/47/image_26112025_05_47_07_3664.jpg', '/home/pi/Desktop/images/26112025/05/47/image_26112025_05_47_10_2875.jpg', '/home/pi/Desktop/images/26112025/05/47/image_26112025_05_47_13_2643.jpg', '/home/pi/Desktop/images/26112025/05/48/image_26112025_05_48_07_3012.jpg', '/home/pi/Desktop/images/26112025/05/48/image_26112025_05_48_11_3609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/47/image_26112025_05_47_04_2545.jpg
/home/pi/Desktop/images/26112025/05/47/image_26112025_05_47_07_3664.jpg
/home/pi/Desktop/images/26112025/05/47/image_26112025_05_47_10_2875.jpg
/home/pi/Desktop/images/26112025/05/47/image_26112025_05_47_13_2643.jpg
/home/pi/Desktop/images/26112025/05/48/image_26112025_05_48_07_3012.jpg
/home/pi/Desktop/images/26112025/05/48/image_26112025_05_48_11_3609.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":["1396232037","1396232040","1396232034","1396232048","1396232042","1396232044"],"photo_ids_order":["1396232034","1396232037","1396232040","1396232042","1396232044","1396232048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ce5a9cd2c8e2afdc7e939548b24b46b4.jpg","text":"TemporaryFile(/tmp/multipartBody3923388051115566280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149662555,"filename":"image_26112025_05_47_07_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/26/6b073040674893b0c5da32ad206ab4b8.jpg","text":"TemporaryFile(/tmp/multipartBody3740109555263096845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149662555,"filename":"image_26112025_05_47_10_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/26/75a59a74235e5bb3731c572655dde08d.jpg","text":"TemporaryFile(/tmp/multipartBody4818462374901568132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149662555,"filename":"image_26112025_05_47_04_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c8e2dfbad94e508bbfc38d6223930713.jpg","text":"TemporaryFile(/tmp/multipartBody399757053655174392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149662555,"filename":"image_26112025_05_48_11_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/26/63c56099bf842da4f108034b50edac8c.jpg","text":"TemporaryFile(/tmp/multipartBody5090338792052757544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149662555,"filename":"image_26112025_05_47_13_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/26/52df5336a35a40f7370700b6adc634b2.jpg","text":"TemporaryFile(/tmp/multipartBody2808245460561554603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149662555,"filename":"image_26112025_05_48_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396232040","file1":"1396232037","file0":"1396232034","file4":"1396232044","file5":"1396232048","file3":"1396232042"},"map_files_photo_id_array":[{"photo_id":"1396232048","filename":"file5"},{"photo_id":"1396232040","filename":"file2"},{"photo_id":"1396232044","filename":"file4"},{"photo_id":"1396232037","filename":"file1"},{"photo_id":"1396232034","filename":"file0"},{"photo_id":"1396232042","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396232037":["hashtag1","hashtag2"]},{"1396232040":["hashtag1","hashtag2"]},{"1396232034":["hashtag1","hashtag2"]},{"1396232048":["hashtag1","hashtag2"]},{"1396232042":["hashtag1","hashtag2"]},{"1396232044":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396232037, 1396232040, 1396232034, 1396232048, 1396232042, 1396232044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66324591636658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:34:02.913625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/48/image_26112025_05_48_14_2726.jpg', '/home/pi/Desktop/images/26112025/05/48/image_26112025_05_48_17_3549.jpg', '/home/pi/Desktop/images/26112025/05/48/image_26112025_05_48_20_2695.jpg', '/home/pi/Desktop/images/26112025/05/48/image_26112025_05_48_22_2574.jpg', '/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_07_3011.jpg', '/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_10_3536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/48/image_26112025_05_48_14_2726.jpg
/home/pi/Desktop/images/26112025/05/48/image_26112025_05_48_17_3549.jpg
/home/pi/Desktop/images/26112025/05/48/image_26112025_05_48_20_2695.jpg
/home/pi/Desktop/images/26112025/05/48/image_26112025_05_48_22_2574.jpg
/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_07_3011.jpg
/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_10_3536.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.7084894180297852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:34:12.125116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/48/image_26112025_05_48_14_2726.jpg', '/home/pi/Desktop/images/26112025/05/48/image_26112025_05_48_17_3549.jpg', '/home/pi/Desktop/images/26112025/05/48/image_26112025_05_48_20_2695.jpg', '/home/pi/Desktop/images/26112025/05/48/image_26112025_05_48_22_2574.jpg', '/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_07_3011.jpg', '/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_10_3536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/48/image_26112025_05_48_14_2726.jpg
/home/pi/Desktop/images/26112025/05/48/image_26112025_05_48_17_3549.jpg
/home/pi/Desktop/images/26112025/05/48/image_26112025_05_48_20_2695.jpg
/home/pi/Desktop/images/26112025/05/48/image_26112025_05_48_22_2574.jpg
/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_07_3011.jpg
/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_10_3536.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":["1396232064","1396232066","1396232059","1396232053","1396232062","1396232056"],"photo_ids_order":["1396232053","1396232056","1396232059","1396232062","1396232064","1396232066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/47c1cf96d557413d95880cdda3026ffa.jpg","text":"TemporaryFile(/tmp/multipartBody3013589802668411454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149712837,"filename":"image_26112025_05_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/26/512354ba51818cb85043a1ed7e685778.jpg","text":"TemporaryFile(/tmp/multipartBody2189265218878259345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149712837,"filename":"image_26112025_05_50_10_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/26/151a9c5c286e86c72cc3b31357b07ab3.jpg","text":"TemporaryFile(/tmp/multipartBody3440665061998429906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149712837,"filename":"image_26112025_05_48_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/26/1afb3fa777afec765f88d62e23b9488a.jpg","text":"TemporaryFile(/tmp/multipartBody359266666229150403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149712837,"filename":"image_26112025_05_48_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/26/91efad1c9cc93cac7ec2c83e7f9ea82f.jpg","text":"TemporaryFile(/tmp/multipartBody3686246084492806210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149712837,"filename":"image_26112025_05_48_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/26/1e6d3c3c310a31af3e4699e520711ce1.jpg","text":"TemporaryFile(/tmp/multipartBody6260469940087447528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149712837,"filename":"image_26112025_05_48_17_3549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396232059","file1":"1396232056","file0":"1396232053","file4":"1396232064","file5":"1396232066","file3":"1396232062"},"map_files_photo_id_array":[{"photo_id":"1396232066","filename":"file5"},{"photo_id":"1396232059","filename":"file2"},{"photo_id":"1396232064","filename":"file4"},{"photo_id":"1396232056","filename":"file1"},{"photo_id":"1396232053","filename":"file0"},{"photo_id":"1396232062","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396232064":["hashtag1","hashtag2"]},{"1396232066":["hashtag1","hashtag2"]},{"1396232059":["hashtag1","hashtag2"]},{"1396232053":["hashtag1","hashtag2"]},{"1396232062":["hashtag1","hashtag2"]},{"1396232056":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396232064, 1396232066, 1396232059, 1396232053, 1396232062, 1396232056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45515537261963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:35:03.081924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_13_2566.jpg', '/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_16_3670.jpg', '/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_19_2668.jpg', '/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_22_2744.jpg', '/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_25_3537.jpg', '/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_34_8574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_13_2566.jpg
/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_16_3670.jpg
/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_19_2668.jpg
/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_22_2744.jpg
/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_25_3537.jpg
/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_34_8574.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":["1396232085","1396232084","1396232087","1396232089","1396232083","1396232086"],"photo_ids_order":["1396232083","1396232084","1396232085","1396232086","1396232087","1396232089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c9790b4a6c6eb32f5b4708b4718abcee.jpg","text":"TemporaryFile(/tmp/multipartBody550998939168968648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149763877,"filename":"image_26112025_05_50_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/26/9ed7605c07b58e11bc3d69a2b5b86e62.jpg","text":"TemporaryFile(/tmp/multipartBody2762027821612444332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149763877,"filename":"image_26112025_05_50_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/26/141274f0d5a053e7237bf39baa24fc50.jpg","text":"TemporaryFile(/tmp/multipartBody400740694681863306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149763877,"filename":"image_26112025_05_50_25_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/26/56569fcc9e1b4162414a2ba96f5849e5.jpg","text":"TemporaryFile(/tmp/multipartBody7599682254949613884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149763877,"filename":"image_26112025_05_50_34_8574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7a0a5af505ab9d61c16cd48d5c7bdfe3.jpg","text":"TemporaryFile(/tmp/multipartBody1143119549537323869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149763877,"filename":"image_26112025_05_50_13_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eddf1971f4ab337f0079a4b0e4421c98.jpg","text":"TemporaryFile(/tmp/multipartBody3602998113336257934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149763877,"filename":"image_26112025_05_50_22_2744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396232085","file1":"1396232084","file0":"1396232083","file4":"1396232087","file5":"1396232089","file3":"1396232086"},"map_files_photo_id_array":[{"photo_id":"1396232089","filename":"file5"},{"photo_id":"1396232085","filename":"file2"},{"photo_id":"1396232087","filename":"file4"},{"photo_id":"1396232084","filename":"file1"},{"photo_id":"1396232083","filename":"file0"},{"photo_id":"1396232086","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396232085":["hashtag1","hashtag2"]},{"1396232084":["hashtag1","hashtag2"]},{"1396232087":["hashtag1","hashtag2"]},{"1396232089":["hashtag1","hashtag2"]},{"1396232083":["hashtag1","hashtag2"]},{"1396232086":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396232085, 1396232084, 1396232087, 1396232089, 1396232083, 1396232086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79479169845581 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 10:35:42.283266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_36_1653.jpg', '/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_37_1542.jpg', '/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_39_1643.jpg', '/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_40_1655.jpg', '/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_43_2669.jpg', '/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_46_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_36_1653.jpg
/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_37_1542.jpg
/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_39_1643.jpg
/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_40_1655.jpg
/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_43_2669.jpg
/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_46_2669.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":["1396232094","1396232097","1396232100","1396232099","1396232102","1396232098"],"photo_ids_order":["1396232094","1396232097","1396232098","1396232099","1396232100","1396232102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/996071b23f8c89154186b6f5f9f161be.jpg","text":"TemporaryFile(/tmp/multipartBody2694214807158365155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149803000,"filename":"image_26112025_05_50_36_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/26/10298b0ec24dc6129d6b3a7bdb52ac93.jpg","text":"TemporaryFile(/tmp/multipartBody6525023293556742112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149803000,"filename":"image_26112025_05_50_37_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2168dd2e8678c7460eb40ab70efaaac6.jpg","text":"TemporaryFile(/tmp/multipartBody6957169178281188828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149803000,"filename":"image_26112025_05_50_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/26/4fd02596c65cb010aa11bf2fd3b12840.jpg","text":"TemporaryFile(/tmp/multipartBody4858843427628646067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149803000,"filename":"image_26112025_05_50_40_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/26/c680fa9839508ea36f982a86c3614051.jpg","text":"TemporaryFile(/tmp/multipartBody7995558464572070958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149803000,"filename":"image_26112025_05_50_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/26/e64c52f07c766b22a3966f01a0aedcde.jpg","text":"TemporaryFile(/tmp/multipartBody756213088971571399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149803000,"filename":"image_26112025_05_50_39_1643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396232098","file1":"1396232097","file0":"1396232094","file4":"1396232100","file5":"1396232102","file3":"1396232099"},"map_files_photo_id_array":[{"photo_id":"1396232102","filename":"file5"},{"photo_id":"1396232098","filename":"file2"},{"photo_id":"1396232100","filename":"file4"},{"photo_id":"1396232097","filename":"file1"},{"photo_id":"1396232094","filename":"file0"},{"photo_id":"1396232099","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396232094":["hashtag1","hashtag2"]},{"1396232097":["hashtag1","hashtag2"]},{"1396232100":["hashtag1","hashtag2"]},{"1396232099":["hashtag1","hashtag2"]},{"1396232102":["hashtag1","hashtag2"]},{"1396232098":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396232094, 1396232097, 1396232100, 1396232099, 1396232102, 1396232098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28970265388489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:36:22.586527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_50_3784.jpg', '/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_52_2557.jpg', '/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_11_16508.jpg', '/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_13_1616.jpg', '/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_15_1664.jpg', '/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_25_10747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_50_3784.jpg
/home/pi/Desktop/images/26112025/05/50/image_26112025_05_50_52_2557.jpg
/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_11_16508.jpg
/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_13_1616.jpg
/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_15_1664.jpg
/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_25_10747.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":["1396232112","1396232106","1396232115","1396232109","1396232135","1396232131"],"photo_ids_order":["1396232106","1396232109","1396232112","1396232115","1396232131","1396232135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aab3b0d92aea9fd0fc63f909db591b3a.jpg","text":"TemporaryFile(/tmp/multipartBody5843310049784371405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149843344,"filename":"image_26112025_05_51_11_16508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/31b2e38815dc100a8587373ce1f1ddf2.jpg","text":"TemporaryFile(/tmp/multipartBody6443916635768734800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149843344,"filename":"image_26112025_05_50_50_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/26/a3b43ef67821bad61b7c967dedc57c51.jpg","text":"TemporaryFile(/tmp/multipartBody808840146765021680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149843344,"filename":"image_26112025_05_51_13_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/26/0b28fec4cbdc840bf02586071fe92b39.jpg","text":"TemporaryFile(/tmp/multipartBody3811947218668910579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149843344,"filename":"image_26112025_05_50_52_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/26/8a151094810e0bdc50e7e0befd1cffd1.jpg","text":"TemporaryFile(/tmp/multipartBody5471659187233502588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149843344,"filename":"image_26112025_05_51_25_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1365b63b818f92f82816ed1722e428bb.jpg","text":"TemporaryFile(/tmp/multipartBody3896377510074027401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149843344,"filename":"image_26112025_05_51_15_1664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396232112","file1":"1396232109","file0":"1396232106","file4":"1396232131","file5":"1396232135","file3":"1396232115"},"map_files_photo_id_array":[{"photo_id":"1396232135","filename":"file5"},{"photo_id":"1396232112","filename":"file2"},{"photo_id":"1396232131","filename":"file4"},{"photo_id":"1396232109","filename":"file1"},{"photo_id":"1396232106","filename":"file0"},{"photo_id":"1396232115","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396232112":["hashtag1","hashtag2"]},{"1396232106":["hashtag1","hashtag2"]},{"1396232115":["hashtag1","hashtag2"]},{"1396232109":["hashtag1","hashtag2"]},{"1396232135":["hashtag1","hashtag2"]},{"1396232131":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396232112, 1396232106, 1396232115, 1396232109, 1396232135, 1396232131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68502402305603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:37:03.386195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_27_1754.jpg', '/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_29_1657.jpg', '/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_30_1639.jpg', '/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_32_1641.jpg', '/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_34_1756.jpg', '/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_35_1636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_27_1754.jpg
/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_29_1657.jpg
/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_30_1639.jpg
/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_32_1641.jpg
/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_34_1756.jpg
/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_35_1636.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":["1396232187","1396232178","1396232166","1396232183","1396232180","1396232174"],"photo_ids_order":["1396232166","1396232174","1396232178","1396232180","1396232183","1396232187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/65554bcc8e1de44ca33aff8252a7054d.jpg","text":"TemporaryFile(/tmp/multipartBody2516884724416624502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149884150,"filename":"image_26112025_05_51_35_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/26/13a200e18b13fc29937b04d0e9433582.jpg","text":"TemporaryFile(/tmp/multipartBody262610358464598657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149884150,"filename":"image_26112025_05_51_30_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/26/8781a5190595621872c2921de008935d.jpg","text":"TemporaryFile(/tmp/multipartBody7344960039455324118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149884150,"filename":"image_26112025_05_51_27_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/26/e08dce79e60845e5e4e95194b449ec99.jpg","text":"TemporaryFile(/tmp/multipartBody6264151377028784438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149884150,"filename":"image_26112025_05_51_34_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/26/091862099ff949797298771d6871a800.jpg","text":"TemporaryFile(/tmp/multipartBody6119821663022503574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149884150,"filename":"image_26112025_05_51_32_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f1f04a4952572102231df5b18409122d.jpg","text":"TemporaryFile(/tmp/multipartBody1871975379888302368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149884150,"filename":"image_26112025_05_51_29_1657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396232178","file1":"1396232174","file0":"1396232166","file4":"1396232183","file5":"1396232187","file3":"1396232180"},"map_files_photo_id_array":[{"photo_id":"1396232187","filename":"file5"},{"photo_id":"1396232178","filename":"file2"},{"photo_id":"1396232183","filename":"file4"},{"photo_id":"1396232174","filename":"file1"},{"photo_id":"1396232166","filename":"file0"},{"photo_id":"1396232180","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396232187":["hashtag1","hashtag2"]},{"1396232178":["hashtag1","hashtag2"]},{"1396232166":["hashtag1","hashtag2"]},{"1396232183":["hashtag1","hashtag2"]},{"1396232180":["hashtag1","hashtag2"]},{"1396232174":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396232187, 1396232178, 1396232166, 1396232183, 1396232180, 1396232174)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.870607137680054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:38:02.306901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 10:38:11.783858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_37_1674.jpg', '/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_39_1587.jpg', '/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_42_1659.jpg', '/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_44_1680.jpg', '/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_46_1768.jpg', '/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_47_1636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_37_1674.jpg
/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_39_1587.jpg
/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_42_1659.jpg
/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_44_1680.jpg
/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_46_1768.jpg
/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_47_1636.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":["1396232203","1396232206","1396232214","1396232195","1396232210","1396232212"],"photo_ids_order":["1396232195","1396232203","1396232206","1396232210","1396232212","1396232214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eeaf3a0a1de0f907666b5e7f29541888.jpg","text":"TemporaryFile(/tmp/multipartBody2596116014768451550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149952461,"filename":"image_26112025_05_51_39_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/26/244d93364002f7f4fcf2998f2f69c0f1.jpg","text":"TemporaryFile(/tmp/multipartBody2245266539693995807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149952461,"filename":"image_26112025_05_51_42_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aaa04b22c666465a6621a9ed430cd859.jpg","text":"TemporaryFile(/tmp/multipartBody8582222240020984282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149952461,"filename":"image_26112025_05_51_47_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/26/2238502d29ad2277b2e20e5052bd1b15.jpg","text":"TemporaryFile(/tmp/multipartBody6369476514986697351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149952461,"filename":"image_26112025_05_51_37_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/26/f0cc292a7becd858869062a0d1f65765.jpg","text":"TemporaryFile(/tmp/multipartBody6579646306760614322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149952461,"filename":"image_26112025_05_51_44_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bdf183212d72e6dc18649b7bec809cc9.jpg","text":"TemporaryFile(/tmp/multipartBody4748864559361664585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764149952461,"filename":"image_26112025_05_51_46_1768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396232206","file1":"1396232203","file0":"1396232195","file4":"1396232212","file5":"1396232214","file3":"1396232210"},"map_files_photo_id_array":[{"photo_id":"1396232214","filename":"file5"},{"photo_id":"1396232206","filename":"file2"},{"photo_id":"1396232212","filename":"file4"},{"photo_id":"1396232203","filename":"file1"},{"photo_id":"1396232195","filename":"file0"},{"photo_id":"1396232210","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396232203":["hashtag1","hashtag2"]},{"1396232206":["hashtag1","hashtag2"]},{"1396232214":["hashtag1","hashtag2"]},{"1396232195":["hashtag1","hashtag2"]},{"1396232210":["hashtag1","hashtag2"]},{"1396232212":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396232203, 1396232206, 1396232214, 1396232195, 1396232210, 1396232212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08818507194519 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:39:03.088816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_58_10838.jpg', '/home/pi/Desktop/images/26112025/05/54/image_26112025_05_54_07_3011.jpg', '/home/pi/Desktop/images/26112025/05/54/image_26112025_05_54_11_3674.jpg', '/home/pi/Desktop/images/26112025/05/54/image_26112025_05_54_14_2634.jpg', '/home/pi/Desktop/images/26112025/05/54/image_26112025_05_54_16_2786.jpg', '/home/pi/Desktop/images/26112025/05/54/image_26112025_05_54_29_12805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/51/image_26112025_05_51_58_10838.jpg
/home/pi/Desktop/images/26112025/05/54/image_26112025_05_54_07_3011.jpg
/home/pi/Desktop/images/26112025/05/54/image_26112025_05_54_11_3674.jpg
/home/pi/Desktop/images/26112025/05/54/image_26112025_05_54_14_2634.jpg
/home/pi/Desktop/images/26112025/05/54/image_26112025_05_54_16_2786.jpg
/home/pi/Desktop/images/26112025/05/54/image_26112025_05_54_29_12805.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":["1396232224","1396232226","1396232220","1396232228","1396232222","1396232230"],"photo_ids_order":["1396232220","1396232222","1396232224","1396232226","1396232228","1396232230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cbca0541e9a62990d9230d4f7965b562.jpg","text":"TemporaryFile(/tmp/multipartBody6660909025618736341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150003979,"filename":"image_26112025_05_54_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/26/81b971fade83bc19eb9dcdc20585e504.jpg","text":"TemporaryFile(/tmp/multipartBody7636761460599725141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150003979,"filename":"image_26112025_05_54_14_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/26/57ac63a19590d704c5cdee4221b6e64f.jpg","text":"TemporaryFile(/tmp/multipartBody6238272265029913425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150003979,"filename":"image_26112025_05_51_58_10838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/24bb12c5f0a54bfcfddf9fb9f782086b.jpg","text":"TemporaryFile(/tmp/multipartBody6162436302321444522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150003979,"filename":"image_26112025_05_54_16_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/26/775282c5f6e4be6f0ca7dac1d23003ff.jpg","text":"TemporaryFile(/tmp/multipartBody1069875476546536610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150003979,"filename":"image_26112025_05_54_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/26/c692ec0a3b8bee32234ce3814e5ed5b5.jpg","text":"TemporaryFile(/tmp/multipartBody3273045539480938539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150003979,"filename":"image_26112025_05_54_29_12805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396232224","file1":"1396232222","file0":"1396232220","file4":"1396232228","file5":"1396232230","file3":"1396232226"},"map_files_photo_id_array":[{"photo_id":"1396232230","filename":"file5"},{"photo_id":"1396232224","filename":"file2"},{"photo_id":"1396232228","filename":"file4"},{"photo_id":"1396232222","filename":"file1"},{"photo_id":"1396232220","filename":"file0"},{"photo_id":"1396232226","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396232224":["hashtag1","hashtag2"]},{"1396232226":["hashtag1","hashtag2"]},{"1396232220":["hashtag1","hashtag2"]},{"1396232228":["hashtag1","hashtag2"]},{"1396232222":["hashtag1","hashtag2"]},{"1396232230":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396232224, 1396232226, 1396232220, 1396232228, 1396232222, 1396232230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.660051584243774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 10:39:42.152998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/54/image_26112025_05_54_31_1540.jpg', '/home/pi/Desktop/images/26112025/05/54/image_26112025_05_54_32_1628.jpg', '/home/pi/Desktop/images/26112025/05/54/image_26112025_05_54_34_1632.jpg', '/home/pi/Desktop/images/26112025/05/54/image_26112025_05_54_36_1588.jpg', '/home/pi/Desktop/images/26112025/05/54/image_26112025_05_54_37_1838.jpg', '/home/pi/Desktop/images/26112025/05/54/image_26112025_05_54_39_1569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/54/image_26112025_05_54_31_1540.jpg
/home/pi/Desktop/images/26112025/05/54/image_26112025_05_54_32_1628.jpg
/home/pi/Desktop/images/26112025/05/54/image_26112025_05_54_34_1632.jpg
/home/pi/Desktop/images/26112025/05/54/image_26112025_05_54_36_1588.jpg
/home/pi/Desktop/images/26112025/05/54/image_26112025_05_54_37_1838.jpg
/home/pi/Desktop/images/26112025/05/54/image_26112025_05_54_39_1569.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":["1396232241","1396232235","1396232238","1396232240","1396232237","1396232239"],"photo_ids_order":["1396232235","1396232237","1396232238","1396232239","1396232240","1396232241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/af1863b5cd077dae3854d3244ebd6506.jpg","text":"TemporaryFile(/tmp/multipartBody1092448497656263725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150042891,"filename":"image_26112025_05_54_39_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/26/14c17b9041817cc6b34ea5332afc955c.jpg","text":"TemporaryFile(/tmp/multipartBody8249176833318667677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150042891,"filename":"image_26112025_05_54_31_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/26/be3bb866e865ac33dc9a81a4cc16d674.jpg","text":"TemporaryFile(/tmp/multipartBody1125635480462652545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150042891,"filename":"image_26112025_05_54_34_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/26/cde5e021bdff282a54a632dc09da312a.jpg","text":"TemporaryFile(/tmp/multipartBody1093725883465279212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150042891,"filename":"image_26112025_05_54_37_1838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ab9aa61af4fc9e5f19439559e3c10382.jpg","text":"TemporaryFile(/tmp/multipartBody1055249161453428224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150042891,"filename":"image_26112025_05_54_32_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/26/83f59d3b35c8a5da46a0d0c0e295349d.jpg","text":"TemporaryFile(/tmp/multipartBody2954284970797469065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150042891,"filename":"image_26112025_05_54_36_1588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396232238","file1":"1396232237","file0":"1396232235","file4":"1396232240","file5":"1396232241","file3":"1396232239"},"map_files_photo_id_array":[{"photo_id":"1396232241","filename":"file5"},{"photo_id":"1396232238","filename":"file2"},{"photo_id":"1396232240","filename":"file4"},{"photo_id":"1396232237","filename":"file1"},{"photo_id":"1396232235","filename":"file0"},{"photo_id":"1396232239","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396232241":["hashtag1","hashtag2"]},{"1396232235":["hashtag1","hashtag2"]},{"1396232238":["hashtag1","hashtag2"]},{"1396232240":["hashtag1","hashtag2"]},{"1396232237":["hashtag1","hashtag2"]},{"1396232239":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396232241, 1396232235, 1396232238, 1396232240, 1396232237, 1396232239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98716449737549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:40:22.335043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/54/image_26112025_05_54_41_1568.jpg', '/home/pi/Desktop/images/26112025/05/54/image_26112025_05_54_44_3645.jpg', '/home/pi/Desktop/images/26112025/05/55/image_26112025_05_55_15_31282.jpg', '/home/pi/Desktop/images/26112025/05/55/image_26112025_05_55_17_1817.jpg', '/home/pi/Desktop/images/26112025/05/55/image_26112025_05_55_19_1732.jpg', '/home/pi/Desktop/images/26112025/05/55/image_26112025_05_55_21_1501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/54/image_26112025_05_54_41_1568.jpg
/home/pi/Desktop/images/26112025/05/54/image_26112025_05_54_44_3645.jpg
/home/pi/Desktop/images/26112025/05/55/image_26112025_05_55_15_31282.jpg
/home/pi/Desktop/images/26112025/05/55/image_26112025_05_55_17_1817.jpg
/home/pi/Desktop/images/26112025/05/55/image_26112025_05_55_19_1732.jpg
/home/pi/Desktop/images/26112025/05/55/image_26112025_05_55_21_1501.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":["1396232317","1396232295","1396232387","1396232300","1396232425","1396232298"],"photo_ids_order":["1396232295","1396232298","1396232300","1396232317","1396232387","1396232425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/feeda747b2c4a2ee3d81f566ebb0de57.jpg","text":"TemporaryFile(/tmp/multipartBody423380960628177471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150083054,"filename":"image_26112025_05_55_17_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/26/1ad026d962e569d894b1cbb48633fdcc.jpg","text":"TemporaryFile(/tmp/multipartBody4501999038939276011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150083054,"filename":"image_26112025_05_54_41_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/26/0f71ac9262e229f9f3da7f71162df0b1.jpg","text":"TemporaryFile(/tmp/multipartBody8595741697295152427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150083054,"filename":"image_26112025_05_55_19_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/26/70d30a872babea1e23d2ffceb2237774.jpg","text":"TemporaryFile(/tmp/multipartBody588549228030235302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150083054,"filename":"image_26112025_05_55_15_31282.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c15034303aed3a78d298466eda6705ca.jpg","text":"TemporaryFile(/tmp/multipartBody1277281364613234381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150083054,"filename":"image_26112025_05_55_21_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/26/357e46ba293b31234f504d9e1b63d71b.jpg","text":"TemporaryFile(/tmp/multipartBody3791676167673622400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150083054,"filename":"image_26112025_05_54_44_3645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396232300","file1":"1396232298","file0":"1396232295","file4":"1396232387","file5":"1396232425","file3":"1396232317"},"map_files_photo_id_array":[{"photo_id":"1396232425","filename":"file5"},{"photo_id":"1396232300","filename":"file2"},{"photo_id":"1396232387","filename":"file4"},{"photo_id":"1396232298","filename":"file1"},{"photo_id":"1396232295","filename":"file0"},{"photo_id":"1396232317","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396232317":["hashtag1","hashtag2"]},{"1396232295":["hashtag1","hashtag2"]},{"1396232387":["hashtag1","hashtag2"]},{"1396232300":["hashtag1","hashtag2"]},{"1396232425":["hashtag1","hashtag2"]},{"1396232298":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396232317, 1396232295, 1396232387, 1396232300, 1396232425, 1396232298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.530561447143555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:41:02.559504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/55/image_26112025_05_55_22_1631.jpg', '/home/pi/Desktop/images/26112025/05/56/image_26112025_05_56_07_3011.jpg', '/home/pi/Desktop/images/26112025/05/56/image_26112025_05_56_11_3706.jpg', '/home/pi/Desktop/images/26112025/05/56/image_26112025_05_56_14_2641.jpg', '/home/pi/Desktop/images/26112025/05/56/image_26112025_05_56_16_2725.jpg', '/home/pi/Desktop/images/26112025/05/56/image_26112025_05_56_20_3760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/55/image_26112025_05_55_22_1631.jpg
/home/pi/Desktop/images/26112025/05/56/image_26112025_05_56_07_3011.jpg
/home/pi/Desktop/images/26112025/05/56/image_26112025_05_56_11_3706.jpg
/home/pi/Desktop/images/26112025/05/56/image_26112025_05_56_14_2641.jpg
/home/pi/Desktop/images/26112025/05/56/image_26112025_05_56_16_2725.jpg
/home/pi/Desktop/images/26112025/05/56/image_26112025_05_56_20_3760.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":["1396232565","1396232550","1396232636","1396232552","1396232602","1396232626"],"photo_ids_order":["1396232550","1396232552","1396232565","1396232602","1396232626","1396232636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9cbf34826c415e4161a74eff572f153a.jpg","text":"TemporaryFile(/tmp/multipartBody1590723153562135805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150124893,"filename":"image_26112025_05_56_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/26/407445961119d6129f4116b306296e92.jpg","text":"TemporaryFile(/tmp/multipartBody2388043684799745810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150124893,"filename":"image_26112025_05_55_22_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/26/f0b479e3013ece4b3bd39de48845d4f6.jpg","text":"TemporaryFile(/tmp/multipartBody8279009868301389953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150124893,"filename":"image_26112025_05_56_20_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/26/e0fca03fab4cf273f7e84cfdea2f7c76.jpg","text":"TemporaryFile(/tmp/multipartBody2756729783504409732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150124893,"filename":"image_26112025_05_56_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2481ff1dcf3951e02ebbb4f85fea5bb0.jpg","text":"TemporaryFile(/tmp/multipartBody4229091895267818117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150124893,"filename":"image_26112025_05_56_14_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/26/0737359559e965b5c3142916de7a05c9.jpg","text":"TemporaryFile(/tmp/multipartBody4738870797129165293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150124893,"filename":"image_26112025_05_56_16_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396232565","file1":"1396232552","file0":"1396232550","file4":"1396232626","file5":"1396232636","file3":"1396232602"},"map_files_photo_id_array":[{"photo_id":"1396232636","filename":"file5"},{"photo_id":"1396232565","filename":"file2"},{"photo_id":"1396232626","filename":"file4"},{"photo_id":"1396232552","filename":"file1"},{"photo_id":"1396232550","filename":"file0"},{"photo_id":"1396232602","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396232565":["hashtag1","hashtag2"]},{"1396232550":["hashtag1","hashtag2"]},{"1396232636":["hashtag1","hashtag2"]},{"1396232552":["hashtag1","hashtag2"]},{"1396232602":["hashtag1","hashtag2"]},{"1396232626":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396232565, 1396232550, 1396232636, 1396232552, 1396232602, 1396232626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5346565246582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 10:41:42.081639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/56/image_26112025_05_56_23_2605.jpg', '/home/pi/Desktop/images/26112025/05/56/image_26112025_05_56_26_2659.jpg', '/home/pi/Desktop/images/26112025/05/56/image_26112025_05_56_29_3650.jpg', '/home/pi/Desktop/images/26112025/05/56/image_26112025_05_56_32_2696.jpg', '/home/pi/Desktop/images/26112025/05/56/image_26112025_05_56_34_2636.jpg', '/home/pi/Desktop/images/26112025/05/56/image_26112025_05_56_38_3672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/56/image_26112025_05_56_23_2605.jpg
/home/pi/Desktop/images/26112025/05/56/image_26112025_05_56_26_2659.jpg
/home/pi/Desktop/images/26112025/05/56/image_26112025_05_56_29_3650.jpg
/home/pi/Desktop/images/26112025/05/56/image_26112025_05_56_32_2696.jpg
/home/pi/Desktop/images/26112025/05/56/image_26112025_05_56_34_2636.jpg
/home/pi/Desktop/images/26112025/05/56/image_26112025_05_56_38_3672.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":["1396232693","1396232756","1396232720","1396232692","1396232767","1396232689"],"photo_ids_order":["1396232689","1396232692","1396232693","1396232720","1396232756","1396232767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/976f773b29728fb612bfe854f72f9dce.jpg","text":"TemporaryFile(/tmp/multipartBody4141193529085333033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150162786,"filename":"image_26112025_05_56_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/26/3882298899199ffcf5feb5326951f66f.jpg","text":"TemporaryFile(/tmp/multipartBody4435664123505414130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150162786,"filename":"image_26112025_05_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/26/9c1076f4db33abae75cb523438850868.jpg","text":"TemporaryFile(/tmp/multipartBody6114870195852305373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150162786,"filename":"image_26112025_05_56_32_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/26/3d979aa3bc24b6ca4f103a52220a1b8a.jpg","text":"TemporaryFile(/tmp/multipartBody7919298959735489645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150162786,"filename":"image_26112025_05_56_26_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/26/9468bd94eb9bf5e0b59e4e5fbcf90609.jpg","text":"TemporaryFile(/tmp/multipartBody4741150463357151145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150162786,"filename":"image_26112025_05_56_38_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/26/f115a5fa0aa45947e9ad31f412facb50.jpg","text":"TemporaryFile(/tmp/multipartBody4386997146158388995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150162786,"filename":"image_26112025_05_56_23_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396232693","file1":"1396232692","file0":"1396232689","file4":"1396232756","file5":"1396232767","file3":"1396232720"},"map_files_photo_id_array":[{"photo_id":"1396232767","filename":"file5"},{"photo_id":"1396232693","filename":"file2"},{"photo_id":"1396232756","filename":"file4"},{"photo_id":"1396232692","filename":"file1"},{"photo_id":"1396232689","filename":"file0"},{"photo_id":"1396232720","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396232693":["hashtag1","hashtag2"]},{"1396232756":["hashtag1","hashtag2"]},{"1396232720":["hashtag1","hashtag2"]},{"1396232692":["hashtag1","hashtag2"]},{"1396232767":["hashtag1","hashtag2"]},{"1396232689":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396232693, 1396232756, 1396232720, 1396232692, 1396232767, 1396232689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76108121871948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:42:22.202589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/56/image_26112025_05_56_41_2663.jpg', '/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_07_3011.jpg', '/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_11_3742.jpg', '/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_14_2906.jpg', '/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_17_2563.jpg', '/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_19_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/56/image_26112025_05_56_41_2663.jpg
/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_07_3011.jpg
/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_11_3742.jpg
/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_14_2906.jpg
/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_17_2563.jpg
/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_19_2768.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":["1396232772","1396232780","1396232774","1396232782","1396232785","1396232770"],"photo_ids_order":["1396232770","1396232772","1396232774","1396232780","1396232782","1396232785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e4daa2a003c6a888355b0015af74afa0.jpg","text":"TemporaryFile(/tmp/multipartBody659899341629729603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150202883,"filename":"image_26112025_05_58_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/26/7340b2528fd0dc3ba89ed1bef4662d8d.jpg","text":"TemporaryFile(/tmp/multipartBody6909896779007783099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150202883,"filename":"image_26112025_05_58_14_2906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9b31575c1f0e826fca7a265da577db7c.jpg","text":"TemporaryFile(/tmp/multipartBody5970632209941365184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150202883,"filename":"image_26112025_05_58_11_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/26/c130df1e8affac267d3cd19bc5405db6.jpg","text":"TemporaryFile(/tmp/multipartBody5789627121738763085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150202883,"filename":"image_26112025_05_58_17_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/26/3a79a027aa4ed3e454ab53b70833a4a5.jpg","text":"TemporaryFile(/tmp/multipartBody6181805046289719382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150202883,"filename":"image_26112025_05_58_19_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/26/08884cd967f8f5804c052f72a46e3c62.jpg","text":"TemporaryFile(/tmp/multipartBody8533718426579681932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150202883,"filename":"image_26112025_05_56_41_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396232774","file1":"1396232772","file0":"1396232770","file4":"1396232782","file5":"1396232785","file3":"1396232780"},"map_files_photo_id_array":[{"photo_id":"1396232785","filename":"file5"},{"photo_id":"1396232774","filename":"file2"},{"photo_id":"1396232782","filename":"file4"},{"photo_id":"1396232772","filename":"file1"},{"photo_id":"1396232770","filename":"file0"},{"photo_id":"1396232780","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396232772":["hashtag1","hashtag2"]},{"1396232780":["hashtag1","hashtag2"]},{"1396232774":["hashtag1","hashtag2"]},{"1396232782":["hashtag1","hashtag2"]},{"1396232785":["hashtag1","hashtag2"]},{"1396232770":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396232772, 1396232780, 1396232774, 1396232782, 1396232785, 1396232770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43146085739136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:43:03.251288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_23_3745.jpg', '/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_26_2706.jpg', '/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_29_3408.jpg', '/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_32_2749.jpg', '/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_34_2546.jpg', '/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_38_3790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_23_3745.jpg
/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_26_2706.jpg
/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_29_3408.jpg
/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_32_2749.jpg
/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_34_2546.jpg
/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_38_3790.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":["1396232796","1396232799","1396232790","1396232792","1396232794","1396232788"],"photo_ids_order":["1396232788","1396232790","1396232792","1396232794","1396232796","1396232799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/193a91b2ff9d345d1ed04c44d90b995d.jpg","text":"TemporaryFile(/tmp/multipartBody8143751251865407882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150244004,"filename":"image_26112025_05_58_34_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/26/44ab63ce661f3ae3208680f0ac63a130.jpg","text":"TemporaryFile(/tmp/multipartBody8810619070270530539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150244004,"filename":"image_26112025_05_58_38_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/26/665dfd7235079f8c51023336f3961054.jpg","text":"TemporaryFile(/tmp/multipartBody4844984819870052410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150244004,"filename":"image_26112025_05_58_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/26/fccbe4550f21bb26fc42e5820713dc1a.jpg","text":"TemporaryFile(/tmp/multipartBody8064593658609517033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150244004,"filename":"image_26112025_05_58_29_3408.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7b87788049a720659a3785094f67d031.jpg","text":"TemporaryFile(/tmp/multipartBody3221961071663762847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150244004,"filename":"image_26112025_05_58_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/26/b4ede3f4ee23e0bacf541134f4b6e4b4.jpg","text":"TemporaryFile(/tmp/multipartBody8114672747105305071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150244004,"filename":"image_26112025_05_58_23_3745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396232792","file1":"1396232790","file0":"1396232788","file4":"1396232796","file5":"1396232799","file3":"1396232794"},"map_files_photo_id_array":[{"photo_id":"1396232799","filename":"file5"},{"photo_id":"1396232792","filename":"file2"},{"photo_id":"1396232796","filename":"file4"},{"photo_id":"1396232790","filename":"file1"},{"photo_id":"1396232788","filename":"file0"},{"photo_id":"1396232794","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396232796":["hashtag1","hashtag2"]},{"1396232799":["hashtag1","hashtag2"]},{"1396232790":["hashtag1","hashtag2"]},{"1396232792":["hashtag1","hashtag2"]},{"1396232794":["hashtag1","hashtag2"]},{"1396232788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396232796, 1396232799, 1396232790, 1396232792, 1396232794, 1396232788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.191978216171265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 10:43:42.500500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_41_2695.jpg', '/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_44_2685.jpg', '/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_47_3572.jpg', '/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_50_2671.jpg', '/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_52_2578.jpg', '/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_56_3650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_41_2695.jpg
/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_44_2685.jpg
/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_47_3572.jpg
/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_50_2671.jpg
/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_52_2578.jpg
/home/pi/Desktop/images/26112025/05/58/image_26112025_05_58_56_3650.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":["1396232812","1396232811","1396232810","1396232813","1396232807","1396232815"],"photo_ids_order":["1396232807","1396232810","1396232811","1396232812","1396232813","1396232815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d275c7ee1a0fb499f5ac4c7fdfa9f68a.jpg","text":"TemporaryFile(/tmp/multipartBody2731590592296633814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150283215,"filename":"image_26112025_05_58_50_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/26/0e10b2d83060050892b722eb8cc06ef5.jpg","text":"TemporaryFile(/tmp/multipartBody4832704309621811421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150283215,"filename":"image_26112025_05_58_47_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/26/23f3517ee7891b269a93621524c30073.jpg","text":"TemporaryFile(/tmp/multipartBody5275847930142028051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150283215,"filename":"image_26112025_05_58_44_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/26/b29e145c6aeac4d6172e1e67027daf84.jpg","text":"TemporaryFile(/tmp/multipartBody6521578701093818031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150283215,"filename":"image_26112025_05_58_52_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/26/c2906f48e992ce37c8a09de3699a2872.jpg","text":"TemporaryFile(/tmp/multipartBody7408749013520406319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150283215,"filename":"image_26112025_05_58_41_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/26/f805bb20fe15d64b8c98916de47ea0c6.jpg","text":"TemporaryFile(/tmp/multipartBody7643738936073040368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150283215,"filename":"image_26112025_05_58_56_3650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396232811","file1":"1396232810","file0":"1396232807","file4":"1396232813","file5":"1396232815","file3":"1396232812"},"map_files_photo_id_array":[{"photo_id":"1396232815","filename":"file5"},{"photo_id":"1396232811","filename":"file2"},{"photo_id":"1396232813","filename":"file4"},{"photo_id":"1396232810","filename":"file1"},{"photo_id":"1396232807","filename":"file0"},{"photo_id":"1396232812","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396232812":["hashtag1","hashtag2"]},{"1396232811":["hashtag1","hashtag2"]},{"1396232810":["hashtag1","hashtag2"]},{"1396232813":["hashtag1","hashtag2"]},{"1396232807":["hashtag1","hashtag2"]},{"1396232815":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396232812, 1396232811, 1396232810, 1396232813, 1396232807, 1396232815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3344452381134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:44:22.814448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/05/59/image_26112025_05_59_01_5354.jpg', '/home/pi/Desktop/images/26112025/05/59/image_26112025_05_59_03_1647.jpg', '/home/pi/Desktop/images/26112025/05/59/image_26112025_05_59_05_1525.jpg', '/home/pi/Desktop/images/26112025/05/59/image_26112025_05_59_07_2624.jpg', '/home/pi/Desktop/images/26112025/05/59/image_26112025_05_59_11_3660.jpg', '/home/pi/Desktop/images/26112025/05/59/image_26112025_05_59_13_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/05/59/image_26112025_05_59_01_5354.jpg
/home/pi/Desktop/images/26112025/05/59/image_26112025_05_59_03_1647.jpg
/home/pi/Desktop/images/26112025/05/59/image_26112025_05_59_05_1525.jpg
/home/pi/Desktop/images/26112025/05/59/image_26112025_05_59_07_2624.jpg
/home/pi/Desktop/images/26112025/05/59/image_26112025_05_59_11_3660.jpg
/home/pi/Desktop/images/26112025/05/59/image_26112025_05_59_13_2583.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":["1396232823","1396232826","1396232828","1396232833","1396232836","1396232830"],"photo_ids_order":["1396232823","1396232826","1396232828","1396232830","1396232833","1396232836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1a0aea33152526801dd4ecc9dbbccda0.jpg","text":"TemporaryFile(/tmp/multipartBody7207408443399909305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150323531,"filename":"image_26112025_05_59_01_5354.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/74299989da16cd15f8cb8c067b6b957d.jpg","text":"TemporaryFile(/tmp/multipartBody5123211830875889398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150323531,"filename":"image_26112025_05_59_03_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/26/94c7c07ac9afc65ab35ad7cccd2b30c9.jpg","text":"TemporaryFile(/tmp/multipartBody7250417985907893888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150323531,"filename":"image_26112025_05_59_05_1525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8c0d30051f7d36c45437fd6a0ebdc5b7.jpg","text":"TemporaryFile(/tmp/multipartBody5986827045353774842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150323531,"filename":"image_26112025_05_59_11_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/face7a68eb729e9acf48c9b394d08f5e.jpg","text":"TemporaryFile(/tmp/multipartBody3170222243427195169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150323531,"filename":"image_26112025_05_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/26/393712354089ee7367824425f4808674.jpg","text":"TemporaryFile(/tmp/multipartBody4715199907829085127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150323531,"filename":"image_26112025_05_59_07_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396232828","file1":"1396232826","file0":"1396232823","file4":"1396232833","file5":"1396232836","file3":"1396232830"},"map_files_photo_id_array":[{"photo_id":"1396232836","filename":"file5"},{"photo_id":"1396232828","filename":"file2"},{"photo_id":"1396232833","filename":"file4"},{"photo_id":"1396232826","filename":"file1"},{"photo_id":"1396232823","filename":"file0"},{"photo_id":"1396232830","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396232823":["hashtag1","hashtag2"]},{"1396232826":["hashtag1","hashtag2"]},{"1396232828":["hashtag1","hashtag2"]},{"1396232833":["hashtag1","hashtag2"]},{"1396232836":["hashtag1","hashtag2"]},{"1396232830":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396232823, 1396232826, 1396232828, 1396232833, 1396232836, 1396232830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37228965759277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:45:02.388866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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! 
 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-26 10:45:31.787429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/00/image_26112025_06_00_07_3015.jpg', '/home/pi/Desktop/images/26112025/06/00/image_26112025_06_00_11_3726.jpg', '/home/pi/Desktop/images/26112025/06/00/image_26112025_06_00_13_2666.jpg', '/home/pi/Desktop/images/26112025/06/00/image_26112025_06_00_46_32555.jpg', '/home/pi/Desktop/images/26112025/06/00/image_26112025_06_00_48_1472.jpg', '/home/pi/Desktop/images/26112025/06/00/image_26112025_06_00_49_1754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/00/image_26112025_06_00_07_3015.jpg
/home/pi/Desktop/images/26112025/06/00/image_26112025_06_00_11_3726.jpg
/home/pi/Desktop/images/26112025/06/00/image_26112025_06_00_13_2666.jpg
/home/pi/Desktop/images/26112025/06/00/image_26112025_06_00_46_32555.jpg
/home/pi/Desktop/images/26112025/06/00/image_26112025_06_00_48_1472.jpg
/home/pi/Desktop/images/26112025/06/00/image_26112025_06_00_49_1754.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":["1396232889","1396232883","1396232891","1396232885","1396232890","1396232887"],"photo_ids_order":["1396232883","1396232885","1396232887","1396232889","1396232890","1396232891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/934d057366bb8a0afb8cd201300d7154.jpg","text":"TemporaryFile(/tmp/multipartBody3131629122449034806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150392461,"filename":"image_26112025_06_00_46_32555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/08714d046f8dd75dd758bddbef45fea1.jpg","text":"TemporaryFile(/tmp/multipartBody8387849671683103615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150392461,"filename":"image_26112025_06_00_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/26/a9c5bd7fafbaa295cff22dc79d9bda4b.jpg","text":"TemporaryFile(/tmp/multipartBody3450614081679197406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150392461,"filename":"image_26112025_06_00_49_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/26/f71d952127df1a9131528852273769cc.jpg","text":"TemporaryFile(/tmp/multipartBody3604082964817459772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150392461,"filename":"image_26112025_06_00_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/26/b34e46d604c0f73f44d8c1a52fa0051f.jpg","text":"TemporaryFile(/tmp/multipartBody5026285658270634087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150392461,"filename":"image_26112025_06_00_48_1472.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a5430a2436cf023d51d45f4122c2c513.jpg","text":"TemporaryFile(/tmp/multipartBody4005050060365962627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150392461,"filename":"image_26112025_06_00_13_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396232887","file1":"1396232885","file0":"1396232883","file4":"1396232890","file5":"1396232891","file3":"1396232889"},"map_files_photo_id_array":[{"photo_id":"1396232891","filename":"file5"},{"photo_id":"1396232887","filename":"file2"},{"photo_id":"1396232890","filename":"file4"},{"photo_id":"1396232885","filename":"file1"},{"photo_id":"1396232883","filename":"file0"},{"photo_id":"1396232889","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396232889":["hashtag1","hashtag2"]},{"1396232883":["hashtag1","hashtag2"]},{"1396232891":["hashtag1","hashtag2"]},{"1396232885":["hashtag1","hashtag2"]},{"1396232890":["hashtag1","hashtag2"]},{"1396232887":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396232889, 1396232883, 1396232891, 1396232885, 1396232890, 1396232887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76758170127869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:46:12.175598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/00/image_26112025_06_00_51_1575.jpg', '/home/pi/Desktop/images/26112025/06/00/image_26112025_06_00_52_1580.jpg', '/home/pi/Desktop/images/26112025/06/00/image_26112025_06_00_54_1693.jpg', '/home/pi/Desktop/images/26112025/06/00/image_26112025_06_00_56_1549.jpg', '/home/pi/Desktop/images/26112025/06/00/image_26112025_06_00_57_1737.jpg', '/home/pi/Desktop/images/26112025/06/00/image_26112025_06_00_59_1672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/00/image_26112025_06_00_51_1575.jpg
/home/pi/Desktop/images/26112025/06/00/image_26112025_06_00_52_1580.jpg
/home/pi/Desktop/images/26112025/06/00/image_26112025_06_00_54_1693.jpg
/home/pi/Desktop/images/26112025/06/00/image_26112025_06_00_56_1549.jpg
/home/pi/Desktop/images/26112025/06/00/image_26112025_06_00_57_1737.jpg
/home/pi/Desktop/images/26112025/06/00/image_26112025_06_00_59_1672.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":["1396232898","1396232894","1396232927","1396232906","1396232929","1396232923"],"photo_ids_order":["1396232894","1396232898","1396232906","1396232923","1396232927","1396232929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0623020ae041493331bf75a330ee8436.jpg","text":"TemporaryFile(/tmp/multipartBody6119333532288101433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150432847,"filename":"image_26112025_06_00_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/26/fb765309b2e1146e319c32afed5d2cc6.jpg","text":"TemporaryFile(/tmp/multipartBody4706531662520250511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150432847,"filename":"image_26112025_06_00_51_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/26/5e225c9e3b34fe2c16c8f016977a971a.jpg","text":"TemporaryFile(/tmp/multipartBody7596370931201527275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150432847,"filename":"image_26112025_06_00_57_1737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/15a52a8cd960212bcadc4d87fdbd6b25.jpg","text":"TemporaryFile(/tmp/multipartBody7698341465924676996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150432847,"filename":"image_26112025_06_00_54_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/26/8fd0f15505d76e21edb26ed0207edf34.jpg","text":"TemporaryFile(/tmp/multipartBody7681999471820321311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150432847,"filename":"image_26112025_06_00_59_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/26/93494ac3789c7049e040595637d63fc8.jpg","text":"TemporaryFile(/tmp/multipartBody1915472991840253177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150432847,"filename":"image_26112025_06_00_56_1549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396232906","file1":"1396232898","file0":"1396232894","file4":"1396232927","file5":"1396232929","file3":"1396232923"},"map_files_photo_id_array":[{"photo_id":"1396232929","filename":"file5"},{"photo_id":"1396232906","filename":"file2"},{"photo_id":"1396232927","filename":"file4"},{"photo_id":"1396232898","filename":"file1"},{"photo_id":"1396232894","filename":"file0"},{"photo_id":"1396232923","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396232898":["hashtag1","hashtag2"]},{"1396232894":["hashtag1","hashtag2"]},{"1396232927":["hashtag1","hashtag2"]},{"1396232906":["hashtag1","hashtag2"]},{"1396232929":["hashtag1","hashtag2"]},{"1396232923":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396232898, 1396232894, 1396232927, 1396232906, 1396232929, 1396232923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00427055358887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:47:03.106638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/02/image_26112025_06_02_09_3014.jpg', '/home/pi/Desktop/images/26112025/06/02/image_26112025_06_02_13_3634.jpg', '/home/pi/Desktop/images/26112025/06/02/image_26112025_06_02_35_21742.jpg', '/home/pi/Desktop/images/26112025/06/02/image_26112025_06_02_36_1593.jpg', '/home/pi/Desktop/images/26112025/06/02/image_26112025_06_02_38_1582.jpg', '/home/pi/Desktop/images/26112025/06/02/image_26112025_06_02_39_1684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/02/image_26112025_06_02_09_3014.jpg
/home/pi/Desktop/images/26112025/06/02/image_26112025_06_02_13_3634.jpg
/home/pi/Desktop/images/26112025/06/02/image_26112025_06_02_35_21742.jpg
/home/pi/Desktop/images/26112025/06/02/image_26112025_06_02_36_1593.jpg
/home/pi/Desktop/images/26112025/06/02/image_26112025_06_02_38_1582.jpg
/home/pi/Desktop/images/26112025/06/02/image_26112025_06_02_39_1684.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":["1396232937","1396232946","1396232951","1396232948","1396232941","1396232935"],"photo_ids_order":["1396232935","1396232937","1396232941","1396232946","1396232948","1396232951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/626ea61ae89a4fe58a3e210aa786a6a8.jpg","text":"TemporaryFile(/tmp/multipartBody7875655333402303126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150483880,"filename":"image_26112025_06_02_13_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/26/d0444e825723f24fc78f7c85c520b588.jpg","text":"TemporaryFile(/tmp/multipartBody8207133795834119608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150483880,"filename":"image_26112025_06_02_36_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/26/0dd6fcfe89f31a7fe46f63880528a2eb.jpg","text":"TemporaryFile(/tmp/multipartBody2188001228292827835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150483880,"filename":"image_26112025_06_02_39_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/26/ce4efbfdc3ea041e3a863817acf8741f.jpg","text":"TemporaryFile(/tmp/multipartBody1449446570792841055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150483880,"filename":"image_26112025_06_02_38_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/26/0aa973c8a9721cad6d9b50c5eb2a6da0.jpg","text":"TemporaryFile(/tmp/multipartBody6619402345843031281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150483880,"filename":"image_26112025_06_02_35_21742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/459b821e4f81bb30d8aaad27e94f228b.jpg","text":"TemporaryFile(/tmp/multipartBody8997797464613209644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150483880,"filename":"image_26112025_06_02_09_3014.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396232941","file1":"1396232937","file0":"1396232935","file4":"1396232948","file5":"1396232951","file3":"1396232946"},"map_files_photo_id_array":[{"photo_id":"1396232951","filename":"file5"},{"photo_id":"1396232941","filename":"file2"},{"photo_id":"1396232948","filename":"file4"},{"photo_id":"1396232937","filename":"file1"},{"photo_id":"1396232935","filename":"file0"},{"photo_id":"1396232946","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396232937":["hashtag1","hashtag2"]},{"1396232946":["hashtag1","hashtag2"]},{"1396232951":["hashtag1","hashtag2"]},{"1396232948":["hashtag1","hashtag2"]},{"1396232941":["hashtag1","hashtag2"]},{"1396232935":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396232937, 1396232946, 1396232951, 1396232948, 1396232941, 1396232935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83988857269287 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 10:47:42.329946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_07_3011.jpg', '/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_10_3619.jpg', '/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_13_2623.jpg', '/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_16_2815.jpg', '/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_19_3624.jpg', '/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_22_2573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_07_3011.jpg
/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_10_3619.jpg
/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_13_2623.jpg
/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_16_2815.jpg
/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_19_3624.jpg
/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_22_2573.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":["1396232961","1396232963","1396232960","1396232962","1396232956","1396232959"],"photo_ids_order":["1396232956","1396232959","1396232960","1396232961","1396232962","1396232963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7fb4642c318046d802ffb33ec487880d.jpg","text":"TemporaryFile(/tmp/multipartBody3242592906881913549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150523015,"filename":"image_26112025_06_04_16_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/26/504703f5f5692bf3d1e87df7791a38c5.jpg","text":"TemporaryFile(/tmp/multipartBody8954944398963924062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150523015,"filename":"image_26112025_06_04_22_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/26/f48c630e19fef64f54f8f928dbc6d49c.jpg","text":"TemporaryFile(/tmp/multipartBody7422833318301153919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150523015,"filename":"image_26112025_06_04_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/26/4e39541d46cdd82c5dce5b7950799429.jpg","text":"TemporaryFile(/tmp/multipartBody7566213806485744602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150523015,"filename":"image_26112025_06_04_19_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/26/d145c9a812c04517e6fad8a72dd41f87.jpg","text":"TemporaryFile(/tmp/multipartBody1208707090510667405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150523015,"filename":"image_26112025_06_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/26/a24fe13e7b311e3f53d46de35a586037.jpg","text":"TemporaryFile(/tmp/multipartBody3010883687680690779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150523015,"filename":"image_26112025_06_04_10_3619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396232960","file1":"1396232959","file0":"1396232956","file4":"1396232962","file5":"1396232963","file3":"1396232961"},"map_files_photo_id_array":[{"photo_id":"1396232963","filename":"file5"},{"photo_id":"1396232960","filename":"file2"},{"photo_id":"1396232962","filename":"file4"},{"photo_id":"1396232959","filename":"file1"},{"photo_id":"1396232956","filename":"file0"},{"photo_id":"1396232961","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396232961":["hashtag1","hashtag2"]},{"1396232963":["hashtag1","hashtag2"]},{"1396232960":["hashtag1","hashtag2"]},{"1396232962":["hashtag1","hashtag2"]},{"1396232956":["hashtag1","hashtag2"]},{"1396232959":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396232961, 1396232963, 1396232960, 1396232962, 1396232956, 1396232959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58386254310608 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:48:22.501062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_25_3479.jpg', '/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_28_2702.jpg', '/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_31_2670.jpg', '/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_34_3662.jpg', '/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_37_2750.jpg', '/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_40_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_25_3479.jpg
/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_28_2702.jpg
/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_31_2670.jpg
/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_34_3662.jpg
/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_37_2750.jpg
/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_40_2597.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":["1396232973","1396232981","1396232987","1396232983","1396232991","1396232985"],"photo_ids_order":["1396232973","1396232981","1396232983","1396232985","1396232987","1396232991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ce6c85819e663180e7bb5ccc9d4c08fc.jpg","text":"TemporaryFile(/tmp/multipartBody1320615512598174372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150563199,"filename":"image_26112025_06_04_25_3479.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7ddfa3f5fb79d877260deaf84a92fb25.jpg","text":"TemporaryFile(/tmp/multipartBody3171080161661305164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150563199,"filename":"image_26112025_06_04_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/26/80853648b83fc8606323117b6aad3b41.jpg","text":"TemporaryFile(/tmp/multipartBody7281551575862908780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150563199,"filename":"image_26112025_06_04_37_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/26/c6327b42e3010a8f971dc11877ee594c.jpg","text":"TemporaryFile(/tmp/multipartBody4596069781439448377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150563199,"filename":"image_26112025_06_04_31_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/26/dab0cf0700af942aa49c54aabcc6eb57.jpg","text":"TemporaryFile(/tmp/multipartBody7722704847383090835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150563199,"filename":"image_26112025_06_04_40_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0527f3108cce4de3075c82b2c007298e.jpg","text":"TemporaryFile(/tmp/multipartBody882067966699535367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150563199,"filename":"image_26112025_06_04_34_3662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396232983","file1":"1396232981","file0":"1396232973","file4":"1396232987","file5":"1396232991","file3":"1396232985"},"map_files_photo_id_array":[{"photo_id":"1396232991","filename":"file5"},{"photo_id":"1396232983","filename":"file2"},{"photo_id":"1396232987","filename":"file4"},{"photo_id":"1396232981","filename":"file1"},{"photo_id":"1396232973","filename":"file0"},{"photo_id":"1396232985","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396232973":["hashtag1","hashtag2"]},{"1396232981":["hashtag1","hashtag2"]},{"1396232987":["hashtag1","hashtag2"]},{"1396232983":["hashtag1","hashtag2"]},{"1396232991":["hashtag1","hashtag2"]},{"1396232985":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396232973, 1396232981, 1396232987, 1396232983, 1396232991, 1396232985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08859133720398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:49:03.816371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_43_3604.jpg', '/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_46_2586.jpg', '/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_49_2656.jpg', '/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_52_3766.jpg', '/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_55_2534.jpg', '/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_58_2841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_43_3604.jpg
/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_46_2586.jpg
/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_49_2656.jpg
/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_52_3766.jpg
/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_55_2534.jpg
/home/pi/Desktop/images/26112025/06/04/image_26112025_06_04_58_2841.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":["1396233012","1396233006","1396233008","1396233010","1396233001","1396233004"],"photo_ids_order":["1396233001","1396233004","1396233006","1396233008","1396233010","1396233012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/43827692be5b479c8bcc962fdae87f33.jpg","text":"TemporaryFile(/tmp/multipartBody7923187140226953766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150604687,"filename":"image_26112025_06_04_58_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/26/61e025316338553cd8e10d137062cc37.jpg","text":"TemporaryFile(/tmp/multipartBody3896088292820503615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150604687,"filename":"image_26112025_06_04_49_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/26/bd1dab5b560b0cd3c151df51bbbc5b5a.jpg","text":"TemporaryFile(/tmp/multipartBody4123215210456087084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150604687,"filename":"image_26112025_06_04_52_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/26/471b11f7dd3d98ae5d8479b9fc65918b.jpg","text":"TemporaryFile(/tmp/multipartBody8852833899725297049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150604687,"filename":"image_26112025_06_04_55_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/26/016bdbf7ef0b831a9662dc6a4f83f428.jpg","text":"TemporaryFile(/tmp/multipartBody7997967354418724429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150604687,"filename":"image_26112025_06_04_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/26/6a042f90880bf0f1d11c1d9ec234bdb8.jpg","text":"TemporaryFile(/tmp/multipartBody2897188333633069040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150604687,"filename":"image_26112025_06_04_46_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396233006","file1":"1396233004","file0":"1396233001","file4":"1396233010","file5":"1396233012","file3":"1396233008"},"map_files_photo_id_array":[{"photo_id":"1396233012","filename":"file5"},{"photo_id":"1396233006","filename":"file2"},{"photo_id":"1396233010","filename":"file4"},{"photo_id":"1396233004","filename":"file1"},{"photo_id":"1396233001","filename":"file0"},{"photo_id":"1396233008","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396233012":["hashtag1","hashtag2"]},{"1396233006":["hashtag1","hashtag2"]},{"1396233008":["hashtag1","hashtag2"]},{"1396233010":["hashtag1","hashtag2"]},{"1396233001":["hashtag1","hashtag2"]},{"1396233004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396233012, 1396233006, 1396233008, 1396233010, 1396233001, 1396233004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21776270866394 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-26 10:50:02.400377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/04/image_26112025_06_05_01_3686.jpg', '/home/pi/Desktop/images/26112025/06/05/image_26112025_06_05_04_2656.jpg', '/home/pi/Desktop/images/26112025/06/05/image_26112025_06_05_07_2760.jpg', '/home/pi/Desktop/images/26112025/06/05/image_26112025_06_05_10_3634.jpg', '/home/pi/Desktop/images/26112025/06/05/image_26112025_06_05_13_2640.jpg', '/home/pi/Desktop/images/26112025/06/06/image_26112025_06_06_08_3904.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/04/image_26112025_06_05_01_3686.jpg
/home/pi/Desktop/images/26112025/06/05/image_26112025_06_05_04_2656.jpg
/home/pi/Desktop/images/26112025/06/05/image_26112025_06_05_07_2760.jpg
/home/pi/Desktop/images/26112025/06/05/image_26112025_06_05_10_3634.jpg
/home/pi/Desktop/images/26112025/06/05/image_26112025_06_05_13_2640.jpg
/home/pi/Desktop/images/26112025/06/06/image_26112025_06_06_08_3904.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":["1396233027","1396233032","1396233035","1396233029","1396233023","1396233026"],"photo_ids_order":["1396233023","1396233026","1396233027","1396233029","1396233032","1396233035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8f11aaa761fc58c1378c8075e35d8c4e.jpg","text":"TemporaryFile(/tmp/multipartBody7922320050886851560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150663121,"filename":"image_26112025_06_05_07_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/26/fcafd07207eefa7f23971e481f63ad8a.jpg","text":"TemporaryFile(/tmp/multipartBody9198230576510180607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150663121,"filename":"image_26112025_06_05_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/26/c300ac0eb3d17c40572bb7ec6ee9918e.jpg","text":"TemporaryFile(/tmp/multipartBody8473538388736424950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150663121,"filename":"image_26112025_06_06_08_3904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2e3ab21629409e4fbe39cfecf4ee3098.jpg","text":"TemporaryFile(/tmp/multipartBody2099707469466787202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150663121,"filename":"image_26112025_06_05_10_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f9ffb801392796fba2aaa8fbfe782a8b.jpg","text":"TemporaryFile(/tmp/multipartBody5444051042285311023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150663121,"filename":"image_26112025_06_05_01_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/26/27325e2456347ed27b6b2575db4a7359.jpg","text":"TemporaryFile(/tmp/multipartBody7334461590651180355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150663121,"filename":"image_26112025_06_05_04_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396233027","file1":"1396233026","file0":"1396233023","file4":"1396233032","file5":"1396233035","file3":"1396233029"},"map_files_photo_id_array":[{"photo_id":"1396233035","filename":"file5"},{"photo_id":"1396233027","filename":"file2"},{"photo_id":"1396233032","filename":"file4"},{"photo_id":"1396233026","filename":"file1"},{"photo_id":"1396233023","filename":"file0"},{"photo_id":"1396233029","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396233027":["hashtag1","hashtag2"]},{"1396233032":["hashtag1","hashtag2"]},{"1396233035":["hashtag1","hashtag2"]},{"1396233029":["hashtag1","hashtag2"]},{"1396233023":["hashtag1","hashtag2"]},{"1396233026":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396233027, 1396233032, 1396233035, 1396233029, 1396233023, 1396233026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21225094795227 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 10:50:41.936757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/06/image_26112025_06_06_10_2581.jpg', '/home/pi/Desktop/images/26112025/06/06/image_26112025_06_06_14_4175.jpg', '/home/pi/Desktop/images/26112025/06/06/image_26112025_06_06_16_1594.jpg', '/home/pi/Desktop/images/26112025/06/06/image_26112025_06_06_20_3677.jpg', '/home/pi/Desktop/images/26112025/06/06/image_26112025_06_06_29_9495.jpg', '/home/pi/Desktop/images/26112025/06/07/image_26112025_06_07_07_3012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/06/image_26112025_06_06_10_2581.jpg
/home/pi/Desktop/images/26112025/06/06/image_26112025_06_06_14_4175.jpg
/home/pi/Desktop/images/26112025/06/06/image_26112025_06_06_16_1594.jpg
/home/pi/Desktop/images/26112025/06/06/image_26112025_06_06_20_3677.jpg
/home/pi/Desktop/images/26112025/06/06/image_26112025_06_06_29_9495.jpg
/home/pi/Desktop/images/26112025/06/07/image_26112025_06_07_07_3012.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":["1396233068","1396233041","1396233044","1396233052","1396233046","1396233066"],"photo_ids_order":["1396233041","1396233044","1396233046","1396233052","1396233066","1396233068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/72647912a5ff97605dff2930f88b1bbb.jpg","text":"TemporaryFile(/tmp/multipartBody8467816406317053565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150702660,"filename":"image_26112025_06_07_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/26/9cdceb7e97b23577e2c8eb56bb88796b.jpg","text":"TemporaryFile(/tmp/multipartBody6320685863749493751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150702660,"filename":"image_26112025_06_06_10_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/26/cfc1e6e7061428549e3c7e2e673de2b1.jpg","text":"TemporaryFile(/tmp/multipartBody727309627959985437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150702660,"filename":"image_26112025_06_06_14_4175.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/60e4c79267d9d21689f108ea77ac2254.jpg","text":"TemporaryFile(/tmp/multipartBody6408236543953332903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150702660,"filename":"image_26112025_06_06_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/26/d6a30a36e6b26484ffce53243f97212c.jpg","text":"TemporaryFile(/tmp/multipartBody3951984486678596864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150702660,"filename":"image_26112025_06_06_16_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/26/7d02ed85492393736b72ac981309c70f.jpg","text":"TemporaryFile(/tmp/multipartBody3503595813264473624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150702660,"filename":"image_26112025_06_06_29_9495.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396233046","file1":"1396233044","file0":"1396233041","file4":"1396233066","file5":"1396233068","file3":"1396233052"},"map_files_photo_id_array":[{"photo_id":"1396233068","filename":"file5"},{"photo_id":"1396233046","filename":"file2"},{"photo_id":"1396233066","filename":"file4"},{"photo_id":"1396233044","filename":"file1"},{"photo_id":"1396233041","filename":"file0"},{"photo_id":"1396233052","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396233068":["hashtag1","hashtag2"]},{"1396233041":["hashtag1","hashtag2"]},{"1396233044":["hashtag1","hashtag2"]},{"1396233052":["hashtag1","hashtag2"]},{"1396233046":["hashtag1","hashtag2"]},{"1396233066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396233068, 1396233041, 1396233044, 1396233052, 1396233046, 1396233066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.601988315582275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:51:22.070089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/07/image_26112025_06_07_10_3675.jpg', '/home/pi/Desktop/images/26112025/06/07/image_26112025_06_07_13_2733.jpg', '/home/pi/Desktop/images/26112025/06/07/image_26112025_06_07_16_2857.jpg', '/home/pi/Desktop/images/26112025/06/07/image_26112025_06_07_20_3679.jpg', '/home/pi/Desktop/images/26112025/06/07/image_26112025_06_07_22_2508.jpg', '/home/pi/Desktop/images/26112025/06/07/image_26112025_06_07_25_2770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/07/image_26112025_06_07_10_3675.jpg
/home/pi/Desktop/images/26112025/06/07/image_26112025_06_07_13_2733.jpg
/home/pi/Desktop/images/26112025/06/07/image_26112025_06_07_16_2857.jpg
/home/pi/Desktop/images/26112025/06/07/image_26112025_06_07_20_3679.jpg
/home/pi/Desktop/images/26112025/06/07/image_26112025_06_07_22_2508.jpg
/home/pi/Desktop/images/26112025/06/07/image_26112025_06_07_25_2770.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":["1396233077","1396233074","1396233073","1396233085","1396233079","1396233081"],"photo_ids_order":["1396233073","1396233074","1396233077","1396233079","1396233081","1396233085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c5a225f67d9dd3e1813b34c4ef51420e.jpg","text":"TemporaryFile(/tmp/multipartBody7062935079709301723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150742755,"filename":"image_26112025_06_07_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/26/1eb72748a09083cd345db7dc65459f2d.jpg","text":"TemporaryFile(/tmp/multipartBody7609584996776672551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150742755,"filename":"image_26112025_06_07_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/26/91cb74e590a15e7bcec5ec04d205bcb2.jpg","text":"TemporaryFile(/tmp/multipartBody8437813097940266627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150742755,"filename":"image_26112025_06_07_10_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/26/50c5aa711d22e343b295bcb5010ea76b.jpg","text":"TemporaryFile(/tmp/multipartBody2035114273294274245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150742755,"filename":"image_26112025_06_07_25_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/26/477a8fd2034f04c1a4f233059a5a9abb.jpg","text":"TemporaryFile(/tmp/multipartBody1031554699612108734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150742755,"filename":"image_26112025_06_07_20_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/26/780d60eb30bcb23c163851e59c4083aa.jpg","text":"TemporaryFile(/tmp/multipartBody5446890571761883773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150742755,"filename":"image_26112025_06_07_22_2508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396233077","file1":"1396233074","file0":"1396233073","file4":"1396233081","file5":"1396233085","file3":"1396233079"},"map_files_photo_id_array":[{"photo_id":"1396233085","filename":"file5"},{"photo_id":"1396233077","filename":"file2"},{"photo_id":"1396233081","filename":"file4"},{"photo_id":"1396233074","filename":"file1"},{"photo_id":"1396233073","filename":"file0"},{"photo_id":"1396233079","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396233077":["hashtag1","hashtag2"]},{"1396233074":["hashtag1","hashtag2"]},{"1396233073":["hashtag1","hashtag2"]},{"1396233085":["hashtag1","hashtag2"]},{"1396233079":["hashtag1","hashtag2"]},{"1396233081":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396233077, 1396233074, 1396233073, 1396233085, 1396233079, 1396233081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91043210029602 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:52:02.930249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/07/image_26112025_06_07_28_2785.jpg', '/home/pi/Desktop/images/26112025/06/07/image_26112025_06_07_31_3669.jpg', '/home/pi/Desktop/images/26112025/06/07/image_26112025_06_07_40_8241.jpg', '/home/pi/Desktop/images/26112025/06/07/image_26112025_06_07_43_2871.jpg', '/home/pi/Desktop/images/26112025/06/09/image_26112025_06_09_06_3020.jpg', '/home/pi/Desktop/images/26112025/06/09/image_26112025_06_09_10_3652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/07/image_26112025_06_07_28_2785.jpg
/home/pi/Desktop/images/26112025/06/07/image_26112025_06_07_31_3669.jpg
/home/pi/Desktop/images/26112025/06/07/image_26112025_06_07_40_8241.jpg
/home/pi/Desktop/images/26112025/06/07/image_26112025_06_07_43_2871.jpg
/home/pi/Desktop/images/26112025/06/09/image_26112025_06_09_06_3020.jpg
/home/pi/Desktop/images/26112025/06/09/image_26112025_06_09_10_3652.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":["1396233102","1396233095","1396233098","1396233100","1396233090","1396233093"],"photo_ids_order":["1396233090","1396233093","1396233095","1396233098","1396233100","1396233102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3bd348877e50346ddd6f7e4ebafd20c2.jpg","text":"TemporaryFile(/tmp/multipartBody3077014958808720945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150783642,"filename":"image_26112025_06_09_10_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/26/41acc771a2953f6a625ad67392adfd5b.jpg","text":"TemporaryFile(/tmp/multipartBody109739253967182904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150783642,"filename":"image_26112025_06_07_40_8241.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ae3c8745d436788b1a598d7b34251b0c.jpg","text":"TemporaryFile(/tmp/multipartBody2200648081951665830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150783642,"filename":"image_26112025_06_07_43_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/26/869325ebdb414ee069211bb1fdccecb3.jpg","text":"TemporaryFile(/tmp/multipartBody3924811939199951017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150783642,"filename":"image_26112025_06_09_06_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/26/d47a872eeac46fb394fba8f87672309d.jpg","text":"TemporaryFile(/tmp/multipartBody3988402553961526635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150783642,"filename":"image_26112025_06_07_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/26/d84e3df7827973da1a3efc20e8749a30.jpg","text":"TemporaryFile(/tmp/multipartBody4895675524234719948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150783642,"filename":"image_26112025_06_07_31_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396233095","file1":"1396233093","file0":"1396233090","file4":"1396233100","file5":"1396233102","file3":"1396233098"},"map_files_photo_id_array":[{"photo_id":"1396233102","filename":"file5"},{"photo_id":"1396233095","filename":"file2"},{"photo_id":"1396233100","filename":"file4"},{"photo_id":"1396233093","filename":"file1"},{"photo_id":"1396233090","filename":"file0"},{"photo_id":"1396233098","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396233102":["hashtag1","hashtag2"]},{"1396233095":["hashtag1","hashtag2"]},{"1396233098":["hashtag1","hashtag2"]},{"1396233100":["hashtag1","hashtag2"]},{"1396233090":["hashtag1","hashtag2"]},{"1396233093":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396233102, 1396233095, 1396233098, 1396233100, 1396233090, 1396233093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85648322105408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 10:52:42.533907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/09/image_26112025_06_09_12_2642.jpg', '/home/pi/Desktop/images/26112025/06/09/image_26112025_06_09_16_3616.jpg', '/home/pi/Desktop/images/26112025/06/09/image_26112025_06_09_19_2616.jpg', '/home/pi/Desktop/images/26112025/06/09/image_26112025_06_09_21_2572.jpg', '/home/pi/Desktop/images/26112025/06/09/image_26112025_06_09_25_3634.jpg', '/home/pi/Desktop/images/26112025/06/09/image_26112025_06_09_30_4912.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/09/image_26112025_06_09_12_2642.jpg
/home/pi/Desktop/images/26112025/06/09/image_26112025_06_09_16_3616.jpg
/home/pi/Desktop/images/26112025/06/09/image_26112025_06_09_19_2616.jpg
/home/pi/Desktop/images/26112025/06/09/image_26112025_06_09_21_2572.jpg
/home/pi/Desktop/images/26112025/06/09/image_26112025_06_09_25_3634.jpg
/home/pi/Desktop/images/26112025/06/09/image_26112025_06_09_30_4912.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":["1396233111","1396233114","1396233113","1396233107","1396233112","1396233115"],"photo_ids_order":["1396233107","1396233111","1396233112","1396233113","1396233114","1396233115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4af37491163b4950ef0450fcf281d541.jpg","text":"TemporaryFile(/tmp/multipartBody3250827799026045329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150823246,"filename":"image_26112025_06_09_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/26/cb6182d03de20de7ef4885cacc6d8c1a.jpg","text":"TemporaryFile(/tmp/multipartBody7365181359588153201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150823246,"filename":"image_26112025_06_09_25_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/26/507450d929105e6a4314cb12fee0d742.jpg","text":"TemporaryFile(/tmp/multipartBody5794127288005904717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150823246,"filename":"image_26112025_06_09_21_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/26/ff48014e875d3ce1efa18bbf2e83014b.jpg","text":"TemporaryFile(/tmp/multipartBody2521298011324178877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150823246,"filename":"image_26112025_06_09_12_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/26/36e60e81da86da18f23ec7d50b86e786.jpg","text":"TemporaryFile(/tmp/multipartBody7945094355600800745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150823246,"filename":"image_26112025_06_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/26/b4441dd40cae4355397eae45e9b43ab6.jpg","text":"TemporaryFile(/tmp/multipartBody6277702943814621055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150823246,"filename":"image_26112025_06_09_30_4912.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396233112","file1":"1396233111","file0":"1396233107","file4":"1396233114","file5":"1396233115","file3":"1396233113"},"map_files_photo_id_array":[{"photo_id":"1396233115","filename":"file5"},{"photo_id":"1396233112","filename":"file2"},{"photo_id":"1396233114","filename":"file4"},{"photo_id":"1396233111","filename":"file1"},{"photo_id":"1396233107","filename":"file0"},{"photo_id":"1396233113","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396233111":["hashtag1","hashtag2"]},{"1396233114":["hashtag1","hashtag2"]},{"1396233113":["hashtag1","hashtag2"]},{"1396233107":["hashtag1","hashtag2"]},{"1396233112":["hashtag1","hashtag2"]},{"1396233115":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396233111, 1396233114, 1396233113, 1396233107, 1396233112, 1396233115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.591108560562134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:53:22.707165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/09/image_26112025_06_09_38_8553.jpg', '/home/pi/Desktop/images/26112025/06/09/image_26112025_06_09_41_2958.jpg', '/home/pi/Desktop/images/26112025/06/09/image_26112025_06_09_43_1612.jpg', '/home/pi/Desktop/images/26112025/06/09/image_26112025_06_09_44_1678.jpg', '/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_06_3013.jpg', '/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_10_3704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/09/image_26112025_06_09_38_8553.jpg
/home/pi/Desktop/images/26112025/06/09/image_26112025_06_09_41_2958.jpg
/home/pi/Desktop/images/26112025/06/09/image_26112025_06_09_43_1612.jpg
/home/pi/Desktop/images/26112025/06/09/image_26112025_06_09_44_1678.jpg
/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_06_3013.jpg
/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_10_3704.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":["1396233135","1396233132","1396233134","1396233136","1396233130","1396233124"],"photo_ids_order":["1396233124","1396233130","1396233132","1396233134","1396233135","1396233136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d0c06ea624d7250c065719b5383e2039.jpg","text":"TemporaryFile(/tmp/multipartBody3949071637973875711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150863458,"filename":"image_26112025_06_11_06_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/26/498a623e3e875c4238e282e29d069271.jpg","text":"TemporaryFile(/tmp/multipartBody5552458650112006109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150863458,"filename":"image_26112025_06_09_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/26/6c8ac015699f98182866f8ca684b5a83.jpg","text":"TemporaryFile(/tmp/multipartBody5246479265844070710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150863458,"filename":"image_26112025_06_09_44_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/26/a3564533221f82d5dc923abd62acd25e.jpg","text":"TemporaryFile(/tmp/multipartBody7369707771543451678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150863458,"filename":"image_26112025_06_11_10_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/26/e0861ab60c872b52954732edcd813894.jpg","text":"TemporaryFile(/tmp/multipartBody6635334281221705863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150863458,"filename":"image_26112025_06_09_41_2958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b388243e8c21c40065f2bfe6bd0bb5dd.jpg","text":"TemporaryFile(/tmp/multipartBody1886526881476916080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150863458,"filename":"image_26112025_06_09_38_8553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396233132","file1":"1396233130","file0":"1396233124","file4":"1396233135","file5":"1396233136","file3":"1396233134"},"map_files_photo_id_array":[{"photo_id":"1396233136","filename":"file5"},{"photo_id":"1396233132","filename":"file2"},{"photo_id":"1396233135","filename":"file4"},{"photo_id":"1396233130","filename":"file1"},{"photo_id":"1396233124","filename":"file0"},{"photo_id":"1396233134","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396233135":["hashtag1","hashtag2"]},{"1396233132":["hashtag1","hashtag2"]},{"1396233134":["hashtag1","hashtag2"]},{"1396233136":["hashtag1","hashtag2"]},{"1396233130":["hashtag1","hashtag2"]},{"1396233124":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396233135, 1396233132, 1396233134, 1396233136, 1396233130, 1396233124)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.74032187461853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:54:16.993133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_13_2612.jpg', '/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_16_3635.jpg', '/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_19_2593.jpg', '/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_21_2624.jpg', '/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_25_3607.jpg', '/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_28_2557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_13_2612.jpg
/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_16_3635.jpg
/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_19_2593.jpg
/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_21_2624.jpg
/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_25_3607.jpg
/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_28_2557.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":["1396233162","1396233150","1396233152","1396233155","1396233160","1396233157"],"photo_ids_order":["1396233150","1396233152","1396233155","1396233157","1396233160","1396233162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aebdfb017b01a085e58788f99b929357.jpg","text":"TemporaryFile(/tmp/multipartBody6272566550311529063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150917682,"filename":"image_26112025_06_11_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/26/0d94ef4d7da3badf8b010c8108d6b663.jpg","text":"TemporaryFile(/tmp/multipartBody5191932084600304467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150917682,"filename":"image_26112025_06_11_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/26/a2429f555ee98fe04ff6e72989e3a473.jpg","text":"TemporaryFile(/tmp/multipartBody3007524070061912222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150917682,"filename":"image_26112025_06_11_16_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/26/72bd457b96333a6c74fc3704c2667f46.jpg","text":"TemporaryFile(/tmp/multipartBody9201071384830958076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150917682,"filename":"image_26112025_06_11_19_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ccbacda357d686400d0d9cebabfe0baa.jpg","text":"TemporaryFile(/tmp/multipartBody7726910081744674449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150917682,"filename":"image_26112025_06_11_25_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/26/6bfc61a172333e88e8618aaf13b566d8.jpg","text":"TemporaryFile(/tmp/multipartBody6925047846471551806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150917682,"filename":"image_26112025_06_11_21_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396233155","file1":"1396233152","file0":"1396233150","file4":"1396233160","file5":"1396233162","file3":"1396233157"},"map_files_photo_id_array":[{"photo_id":"1396233162","filename":"file5"},{"photo_id":"1396233155","filename":"file2"},{"photo_id":"1396233160","filename":"file4"},{"photo_id":"1396233152","filename":"file1"},{"photo_id":"1396233150","filename":"file0"},{"photo_id":"1396233157","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396233162":["hashtag1","hashtag2"]},{"1396233150":["hashtag1","hashtag2"]},{"1396233152":["hashtag1","hashtag2"]},{"1396233155":["hashtag1","hashtag2"]},{"1396233160":["hashtag1","hashtag2"]},{"1396233157":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396233162, 1396233150, 1396233152, 1396233155, 1396233160, 1396233157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.195228099823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:55:02.777031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_30_2708.jpg', '/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_34_3678.jpg', '/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_37_2650.jpg', '/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_39_2664.jpg', '/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_43_3879.jpg', '/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_46_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_30_2708.jpg
/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_34_3678.jpg
/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_37_2650.jpg
/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_39_2664.jpg
/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_43_3879.jpg
/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_46_2564.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":["1396233176","1396233173","1396233167","1396233169","1396233171","1396233165"],"photo_ids_order":["1396233165","1396233167","1396233169","1396233171","1396233173","1396233176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/112c9e780690a6d8c36229d4ed1df3c6.jpg","text":"TemporaryFile(/tmp/multipartBody748901731392688075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150963533,"filename":"image_26112025_06_11_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/26/af7d02e0af22e877a50992592dc69de3.jpg","text":"TemporaryFile(/tmp/multipartBody5969067643762975171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150963533,"filename":"image_26112025_06_11_43_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/26/0ffdb9172fc9f3c8bdd54ba772235606.jpg","text":"TemporaryFile(/tmp/multipartBody1088919290387781906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150963533,"filename":"image_26112025_06_11_34_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/26/7e324b9b0997a1360ae1892bd805217a.jpg","text":"TemporaryFile(/tmp/multipartBody997820428926429082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150963533,"filename":"image_26112025_06_11_37_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/26/6cf78d8d480a6905650afb88ec0f8cb7.jpg","text":"TemporaryFile(/tmp/multipartBody2540212717457691455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150963533,"filename":"image_26112025_06_11_39_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/26/b24787d9320de651549926fcd8e7890e.jpg","text":"TemporaryFile(/tmp/multipartBody1763488115211062591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764150963533,"filename":"image_26112025_06_11_30_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396233169","file1":"1396233167","file0":"1396233165","file4":"1396233173","file5":"1396233176","file3":"1396233171"},"map_files_photo_id_array":[{"photo_id":"1396233176","filename":"file5"},{"photo_id":"1396233169","filename":"file2"},{"photo_id":"1396233173","filename":"file4"},{"photo_id":"1396233167","filename":"file1"},{"photo_id":"1396233165","filename":"file0"},{"photo_id":"1396233171","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396233176":["hashtag1","hashtag2"]},{"1396233173":["hashtag1","hashtag2"]},{"1396233167":["hashtag1","hashtag2"]},{"1396233169":["hashtag1","hashtag2"]},{"1396233171":["hashtag1","hashtag2"]},{"1396233165":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396233176, 1396233173, 1396233167, 1396233169, 1396233171, 1396233165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61373257637024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 10:55:42.057443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_48_2648.jpg', '/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_52_3628.jpg', '/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_55_2586.jpg', '/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_57_2622.jpg', '/home/pi/Desktop/images/26112025/06/11/image_26112025_06_12_01_3655.jpg', '/home/pi/Desktop/images/26112025/06/12/image_26112025_06_12_04_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_48_2648.jpg
/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_52_3628.jpg
/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_55_2586.jpg
/home/pi/Desktop/images/26112025/06/11/image_26112025_06_11_57_2622.jpg
/home/pi/Desktop/images/26112025/06/11/image_26112025_06_12_01_3655.jpg
/home/pi/Desktop/images/26112025/06/12/image_26112025_06_12_04_2688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396233188","1396233191","1396233193","1396233181","1396233184","1396233186"],"photo_ids_order":["1396233181","1396233184","1396233186","1396233188","1396233191","1396233193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a0beaf8586b6ffcb60a8436cb650ea64.jpg","text":"TemporaryFile(/tmp/multipartBody2278954377631946912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151002743,"filename":"image_26112025_06_11_57_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/26/e0f0c11c8d8759fbc376c78c59717f2d.jpg","text":"TemporaryFile(/tmp/multipartBody8170458166303218344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151002743,"filename":"image_26112025_06_12_01_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/26/8b1f5f3f26d92a5fa694c3439a15c0ad.jpg","text":"TemporaryFile(/tmp/multipartBody1532840117556838712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151002743,"filename":"image_26112025_06_12_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/26/93bad9bada6c13d16ca09ceefdbec7d9.jpg","text":"TemporaryFile(/tmp/multipartBody5711898371665942323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151002743,"filename":"image_26112025_06_11_48_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/26/fc4c870d417bb0e359c79f9fd84255ab.jpg","text":"TemporaryFile(/tmp/multipartBody6605297077222373290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151002743,"filename":"image_26112025_06_11_52_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3634d866f2baee3642af220d4f37d776.jpg","text":"TemporaryFile(/tmp/multipartBody8773317687976099642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151002743,"filename":"image_26112025_06_11_55_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396233186","file1":"1396233184","file0":"1396233181","file4":"1396233191","file5":"1396233193","file3":"1396233188"},"map_files_photo_id_array":[{"photo_id":"1396233193","filename":"file5"},{"photo_id":"1396233186","filename":"file2"},{"photo_id":"1396233191","filename":"file4"},{"photo_id":"1396233184","filename":"file1"},{"photo_id":"1396233181","filename":"file0"},{"photo_id":"1396233188","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396233188":["hashtag1","hashtag2"]},{"1396233191":["hashtag1","hashtag2"]},{"1396233193":["hashtag1","hashtag2"]},{"1396233181":["hashtag1","hashtag2"]},{"1396233184":["hashtag1","hashtag2"]},{"1396233186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396233188, 1396233191, 1396233193, 1396233181, 1396233184, 1396233186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69114279747009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 10:56:22.372845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/12/image_26112025_06_12_06_2651.jpg', '/home/pi/Desktop/images/26112025/06/12/image_26112025_06_12_22_15356.jpg', '/home/pi/Desktop/images/26112025/06/12/image_26112025_06_12_23_1665.jpg', '/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_07_3011.jpg', '/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_11_3679.jpg', '/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_24_13018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/12/image_26112025_06_12_06_2651.jpg
/home/pi/Desktop/images/26112025/06/12/image_26112025_06_12_22_15356.jpg
/home/pi/Desktop/images/26112025/06/12/image_26112025_06_12_23_1665.jpg
/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_07_3011.jpg
/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_11_3679.jpg
/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_24_13018.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":["1396233231","1396233233","1396233235","1396233238","1396233226","1396233229"],"photo_ids_order":["1396233226","1396233229","1396233231","1396233233","1396233235","1396233238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0216b501a343a2e128cc9d575624dec9.jpg","text":"TemporaryFile(/tmp/multipartBody8566714106245349592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151043080,"filename":"image_26112025_06_12_23_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/26/81abb50aaf236b0a2e05ab96b6f57130.jpg","text":"TemporaryFile(/tmp/multipartBody3136775642143256345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151043080,"filename":"image_26112025_06_14_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/26/319e41e62c8b95e1f15d04a0041b0745.jpg","text":"TemporaryFile(/tmp/multipartBody685441270833930154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151043080,"filename":"image_26112025_06_14_11_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/26/728d5f7bcdabf58f223df4aaa7a12874.jpg","text":"TemporaryFile(/tmp/multipartBody4860756295021744025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151043080,"filename":"image_26112025_06_14_24_13018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/add4e891b72cfe2269014c1d8de0f8d7.jpg","text":"TemporaryFile(/tmp/multipartBody2348482068114259381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151043080,"filename":"image_26112025_06_12_06_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/26/c8d7a99c48ac4c1eaf51fcf16e745ba9.jpg","text":"TemporaryFile(/tmp/multipartBody5828274452473624002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151043080,"filename":"image_26112025_06_12_22_15356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396233231","file1":"1396233229","file0":"1396233226","file4":"1396233235","file5":"1396233238","file3":"1396233233"},"map_files_photo_id_array":[{"photo_id":"1396233238","filename":"file5"},{"photo_id":"1396233231","filename":"file2"},{"photo_id":"1396233235","filename":"file4"},{"photo_id":"1396233229","filename":"file1"},{"photo_id":"1396233226","filename":"file0"},{"photo_id":"1396233233","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396233231":["hashtag1","hashtag2"]},{"1396233233":["hashtag1","hashtag2"]},{"1396233235":["hashtag1","hashtag2"]},{"1396233238":["hashtag1","hashtag2"]},{"1396233226":["hashtag1","hashtag2"]},{"1396233229":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396233231, 1396233233, 1396233235, 1396233238, 1396233226, 1396233229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.988849401474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:57:03.317364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_27_2865.jpg', '/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_28_1668.jpg', '/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_30_1628.jpg', '/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_45_14452.jpg', '/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_46_1646.jpg', '/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_48_1616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_27_2865.jpg
/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_28_1668.jpg
/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_30_1628.jpg
/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_45_14452.jpg
/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_46_1646.jpg
/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_48_1616.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":["1396233240","1396233243","1396233245","1396233262","1396233259","1396233252"],"photo_ids_order":["1396233240","1396233243","1396233245","1396233252","1396233259","1396233262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5db6d976220db712d54e4a35b2adcb7a.jpg","text":"TemporaryFile(/tmp/multipartBody6442105578913950811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151084083,"filename":"image_26112025_06_14_27_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/26/905e0b8331391e2899d838ffe0339813.jpg","text":"TemporaryFile(/tmp/multipartBody1166168816019835897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151084083,"filename":"image_26112025_06_14_28_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/26/13771a311a75d5132623664167ba570a.jpg","text":"TemporaryFile(/tmp/multipartBody6636106013330024664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151084083,"filename":"image_26112025_06_14_30_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/26/9a9367a9b67ebb4ed2e38750fd932a8a.jpg","text":"TemporaryFile(/tmp/multipartBody7017841324880718553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151084083,"filename":"image_26112025_06_14_48_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/26/e2bc0051cb295032f1e2474dd0d195dc.jpg","text":"TemporaryFile(/tmp/multipartBody2997968478572273764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151084083,"filename":"image_26112025_06_14_46_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/26/8d17ebd0ae9da7734cfe0fcbe9a21618.jpg","text":"TemporaryFile(/tmp/multipartBody2871741464407443686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151084083,"filename":"image_26112025_06_14_45_14452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396233245","file1":"1396233243","file0":"1396233240","file4":"1396233259","file5":"1396233262","file3":"1396233252"},"map_files_photo_id_array":[{"photo_id":"1396233262","filename":"file5"},{"photo_id":"1396233245","filename":"file2"},{"photo_id":"1396233259","filename":"file4"},{"photo_id":"1396233243","filename":"file1"},{"photo_id":"1396233240","filename":"file0"},{"photo_id":"1396233252","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396233240":["hashtag1","hashtag2"]},{"1396233243":["hashtag1","hashtag2"]},{"1396233245":["hashtag1","hashtag2"]},{"1396233262":["hashtag1","hashtag2"]},{"1396233259":["hashtag1","hashtag2"]},{"1396233252":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396233240, 1396233243, 1396233245, 1396233262, 1396233259, 1396233252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.736004114151 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 10:57:42.496558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_50_1765.jpg', '/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_53_1636.jpg', '/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_54_1528.jpg', '/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_56_1526.jpg', '/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_58_1710.jpg', '/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_59_1665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_50_1765.jpg
/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_53_1636.jpg
/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_54_1528.jpg
/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_56_1526.jpg
/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_58_1710.jpg
/home/pi/Desktop/images/26112025/06/14/image_26112025_06_14_59_1665.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396233269","1396233272","1396233271","1396233274","1396233270","1396233267"],"photo_ids_order":["1396233267","1396233269","1396233270","1396233271","1396233272","1396233274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/575669f68a66544705d73b300a4b1deb.jpg","text":"TemporaryFile(/tmp/multipartBody3264628496504780145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151123175,"filename":"image_26112025_06_14_53_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/26/e9423450775a875c84673f7e2d7d8ea1.jpg","text":"TemporaryFile(/tmp/multipartBody2686224007807235475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151123175,"filename":"image_26112025_06_14_58_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9f0cbe1f72cbd133924029fe253fe673.jpg","text":"TemporaryFile(/tmp/multipartBody4189340676995552890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151123175,"filename":"image_26112025_06_14_56_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/26/c9ab4ed33ebb23d1912e0d46362f51a2.jpg","text":"TemporaryFile(/tmp/multipartBody6954755714803405843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151123175,"filename":"image_26112025_06_14_59_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/26/dacc8677d674b5d33a6c49106cf54c08.jpg","text":"TemporaryFile(/tmp/multipartBody3013170334697391463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151123175,"filename":"image_26112025_06_14_54_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/26/55f1018df568ebf6dc934c0af800428d.jpg","text":"TemporaryFile(/tmp/multipartBody2563687548501370662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151123175,"filename":"image_26112025_06_14_50_1765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396233270","file1":"1396233269","file0":"1396233267","file4":"1396233272","file5":"1396233274","file3":"1396233271"},"map_files_photo_id_array":[{"photo_id":"1396233274","filename":"file5"},{"photo_id":"1396233270","filename":"file2"},{"photo_id":"1396233272","filename":"file4"},{"photo_id":"1396233269","filename":"file1"},{"photo_id":"1396233267","filename":"file0"},{"photo_id":"1396233271","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396233269":["hashtag1","hashtag2"]},{"1396233272":["hashtag1","hashtag2"]},{"1396233271":["hashtag1","hashtag2"]},{"1396233274":["hashtag1","hashtag2"]},{"1396233270":["hashtag1","hashtag2"]},{"1396233267":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396233269, 1396233272, 1396233271, 1396233274, 1396233270, 1396233267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91924595832825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 10:59:03.039543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/15/image_26112025_06_15_02_2309.jpg', '/home/pi/Desktop/images/26112025/06/15/image_26112025_06_15_03_1658.jpg', '/home/pi/Desktop/images/26112025/06/16/image_26112025_06_16_07_3011.jpg', '/home/pi/Desktop/images/26112025/06/16/image_26112025_06_16_10_3688.jpg', '/home/pi/Desktop/images/26112025/06/16/image_26112025_06_16_13_2725.jpg', '/home/pi/Desktop/images/26112025/06/16/image_26112025_06_16_16_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/15/image_26112025_06_15_02_2309.jpg
/home/pi/Desktop/images/26112025/06/15/image_26112025_06_15_03_1658.jpg
/home/pi/Desktop/images/26112025/06/16/image_26112025_06_16_07_3011.jpg
/home/pi/Desktop/images/26112025/06/16/image_26112025_06_16_10_3688.jpg
/home/pi/Desktop/images/26112025/06/16/image_26112025_06_16_13_2725.jpg
/home/pi/Desktop/images/26112025/06/16/image_26112025_06_16_16_2692.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":["1396233942","1396233936","1396233939","1396233930","1396233890","1396233853"],"photo_ids_order":["1396233853","1396233890","1396233930","1396233936","1396233939","1396233942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2b3752cb958a0166e0c1050d2988267e.jpg","text":"TemporaryFile(/tmp/multipartBody3314249883238367460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151203950,"filename":"image_26112025_06_16_16_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/26/3f5ef1b7b4f8594060a49bab25d97faa.jpg","text":"TemporaryFile(/tmp/multipartBody5956755123949418013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151203950,"filename":"image_26112025_06_16_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/26/3a8c539e7dac29235a741a49eb4081e8.jpg","text":"TemporaryFile(/tmp/multipartBody2234527503057024333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151203950,"filename":"image_26112025_06_16_13_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/26/c1afdc6eb050a839b17444546e47b0eb.jpg","text":"TemporaryFile(/tmp/multipartBody8745299792251276015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151203950,"filename":"image_26112025_06_16_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/50a3b48a12de4a034f3332928f8703d1.jpg","text":"TemporaryFile(/tmp/multipartBody2434830783304921314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151203950,"filename":"image_26112025_06_15_03_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/26/c69aafbc0e2d009c0abccbc62c7a17e0.jpg","text":"TemporaryFile(/tmp/multipartBody6032560179143955341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151203950,"filename":"image_26112025_06_15_02_2309.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396233930","file1":"1396233890","file0":"1396233853","file4":"1396233939","file5":"1396233942","file3":"1396233936"},"map_files_photo_id_array":[{"photo_id":"1396233942","filename":"file5"},{"photo_id":"1396233930","filename":"file2"},{"photo_id":"1396233939","filename":"file4"},{"photo_id":"1396233890","filename":"file1"},{"photo_id":"1396233853","filename":"file0"},{"photo_id":"1396233936","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396233942":["hashtag1","hashtag2"]},{"1396233936":["hashtag1","hashtag2"]},{"1396233939":["hashtag1","hashtag2"]},{"1396233930":["hashtag1","hashtag2"]},{"1396233890":["hashtag1","hashtag2"]},{"1396233853":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396233942, 1396233936, 1396233939, 1396233930, 1396233890, 1396233853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.230239391326904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 10:59:42.123158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/16/image_26112025_06_16_19_3711.jpg', '/home/pi/Desktop/images/26112025/06/16/image_26112025_06_16_22_2648.jpg', '/home/pi/Desktop/images/26112025/06/16/image_26112025_06_16_25_2625.jpg', '/home/pi/Desktop/images/26112025/06/16/image_26112025_06_16_28_3706.jpg', '/home/pi/Desktop/images/26112025/06/16/image_26112025_06_16_31_2587.jpg', '/home/pi/Desktop/images/26112025/06/16/image_26112025_06_16_33_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/16/image_26112025_06_16_19_3711.jpg
/home/pi/Desktop/images/26112025/06/16/image_26112025_06_16_22_2648.jpg
/home/pi/Desktop/images/26112025/06/16/image_26112025_06_16_25_2625.jpg
/home/pi/Desktop/images/26112025/06/16/image_26112025_06_16_28_3706.jpg
/home/pi/Desktop/images/26112025/06/16/image_26112025_06_16_31_2587.jpg
/home/pi/Desktop/images/26112025/06/16/image_26112025_06_16_33_2594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396234349","1396234313","1396234179","1396234254","1396234107","1396234041"],"photo_ids_order":["1396234041","1396234107","1396234179","1396234254","1396234313","1396234349"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/82c0b4877204b0d06cc4cf1ec5983006.jpg","text":"TemporaryFile(/tmp/multipartBody6359173582837026021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151242798,"filename":"image_26112025_06_16_33_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/26/ee6c0970fb5633f9f9641c1d375cae1a.jpg","text":"TemporaryFile(/tmp/multipartBody6898949990304115000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151242798,"filename":"image_26112025_06_16_31_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/940dcedfbd9fa468d932c1d3e4dbd5f2.jpg","text":"TemporaryFile(/tmp/multipartBody202468599502446770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151242798,"filename":"image_26112025_06_16_25_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f707bd0784f83ae6c6ca86c9ed022570.jpg","text":"TemporaryFile(/tmp/multipartBody912625365731297757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151242798,"filename":"image_26112025_06_16_28_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/26/1c4f2c80a3aaa3f13bd08b15a9a6a4f0.jpg","text":"TemporaryFile(/tmp/multipartBody7179164766564266991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151242798,"filename":"image_26112025_06_16_22_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/26/87662b6994a66f8a1cabbe542852e121.jpg","text":"TemporaryFile(/tmp/multipartBody5631242458237270139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151242798,"filename":"image_26112025_06_16_19_3711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396234179","file1":"1396234107","file0":"1396234041","file4":"1396234313","file5":"1396234349","file3":"1396234254"},"map_files_photo_id_array":[{"photo_id":"1396234349","filename":"file5"},{"photo_id":"1396234179","filename":"file2"},{"photo_id":"1396234313","filename":"file4"},{"photo_id":"1396234107","filename":"file1"},{"photo_id":"1396234041","filename":"file0"},{"photo_id":"1396234254","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396234349":["hashtag1","hashtag2"]},{"1396234313":["hashtag1","hashtag2"]},{"1396234179":["hashtag1","hashtag2"]},{"1396234254":["hashtag1","hashtag2"]},{"1396234107":["hashtag1","hashtag2"]},{"1396234041":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396234349, 1396234313, 1396234179, 1396234254, 1396234107, 1396234041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.97021722793579 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:00:32.303097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/16/image_26112025_06_16_37_3628.jpg', '/home/pi/Desktop/images/26112025/06/16/image_26112025_06_16_40_2632.jpg', '/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_07_3011.jpg', '/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_11_3664.jpg', '/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_14_2760.jpg', '/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_16_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/16/image_26112025_06_16_37_3628.jpg
/home/pi/Desktop/images/26112025/06/16/image_26112025_06_16_40_2632.jpg
/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_07_3011.jpg
/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_11_3664.jpg
/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_14_2760.jpg
/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_16_2672.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":["1396234553","1396234555","1396234585","1396234645","1396234677","1396234620"],"photo_ids_order":["1396234553","1396234555","1396234585","1396234620","1396234645","1396234677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2530c9d65af5810cdb3f8e0e3efef1d9.jpg","text":"TemporaryFile(/tmp/multipartBody2971767350408130723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151293010,"filename":"image_26112025_06_16_37_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/26/fe347016f14b010065ab9c4e8a74e07a.jpg","text":"TemporaryFile(/tmp/multipartBody7893786923081329830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151293010,"filename":"image_26112025_06_16_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/26/e50e866afd5004fc8b1eb85ccef1461d.jpg","text":"TemporaryFile(/tmp/multipartBody380379572108795375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151293010,"filename":"image_26112025_06_18_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/26/c91f9048abbe3039bb558deec607062b.jpg","text":"TemporaryFile(/tmp/multipartBody3368259642213806387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151293010,"filename":"image_26112025_06_18_14_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/26/e8f60a2c61c42cdd537dece14be67f2e.jpg","text":"TemporaryFile(/tmp/multipartBody3408041777471935649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151293010,"filename":"image_26112025_06_18_16_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/26/47657d6d5880845ffd383a5b3ca1092d.jpg","text":"TemporaryFile(/tmp/multipartBody5523939095114836026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151293010,"filename":"image_26112025_06_18_11_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396234585","file1":"1396234555","file0":"1396234553","file4":"1396234645","file5":"1396234677","file3":"1396234620"},"map_files_photo_id_array":[{"photo_id":"1396234677","filename":"file5"},{"photo_id":"1396234585","filename":"file2"},{"photo_id":"1396234645","filename":"file4"},{"photo_id":"1396234555","filename":"file1"},{"photo_id":"1396234553","filename":"file0"},{"photo_id":"1396234620","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396234553":["hashtag1","hashtag2"]},{"1396234555":["hashtag1","hashtag2"]},{"1396234585":["hashtag1","hashtag2"]},{"1396234645":["hashtag1","hashtag2"]},{"1396234677":["hashtag1","hashtag2"]},{"1396234620":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396234553, 1396234555, 1396234585, 1396234645, 1396234677, 1396234620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77157974243164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:01:12.351540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_20_3743.jpg', '/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_23_2571.jpg', '/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_25_2616.jpg', '/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_29_3669.jpg', '/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_32_2690.jpg', '/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_34_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_20_3743.jpg
/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_23_2571.jpg
/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_25_2616.jpg
/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_29_3669.jpg
/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_32_2690.jpg
/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_34_2625.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":["1396234742","1396234751","1396234727","1396234747","1396234744","1396234749"],"photo_ids_order":["1396234727","1396234742","1396234744","1396234747","1396234749","1396234751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8541d753d6f6a9d55d854f3d5454a7fe.jpg","text":"TemporaryFile(/tmp/multipartBody6528982543925199297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151333033,"filename":"image_26112025_06_18_23_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/26/6b733c02677795ad5ca50c81c5cda525.jpg","text":"TemporaryFile(/tmp/multipartBody8539235882302589608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151333033,"filename":"image_26112025_06_18_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/26/e82e4058ae7b963821644023731db789.jpg","text":"TemporaryFile(/tmp/multipartBody2500703110158636062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151333033,"filename":"image_26112025_06_18_20_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/26/09e921ef82dbbb1e40b495453a4348e7.jpg","text":"TemporaryFile(/tmp/multipartBody7176254976791801672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151333033,"filename":"image_26112025_06_18_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/26/96c3159553c86051a577fa5887e66023.jpg","text":"TemporaryFile(/tmp/multipartBody1964229568943792780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151333033,"filename":"image_26112025_06_18_25_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/26/0059de4b9eee5e33c3213e5ccf0a7738.jpg","text":"TemporaryFile(/tmp/multipartBody4050508747991908973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151333033,"filename":"image_26112025_06_18_32_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396234744","file1":"1396234742","file0":"1396234727","file4":"1396234749","file5":"1396234751","file3":"1396234747"},"map_files_photo_id_array":[{"photo_id":"1396234751","filename":"file5"},{"photo_id":"1396234744","filename":"file2"},{"photo_id":"1396234749","filename":"file4"},{"photo_id":"1396234742","filename":"file1"},{"photo_id":"1396234727","filename":"file0"},{"photo_id":"1396234747","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396234742":["hashtag1","hashtag2"]},{"1396234751":["hashtag1","hashtag2"]},{"1396234727":["hashtag1","hashtag2"]},{"1396234747":["hashtag1","hashtag2"]},{"1396234744":["hashtag1","hashtag2"]},{"1396234749":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396234742, 1396234751, 1396234727, 1396234747, 1396234744, 1396234749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50788688659668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:02:03.215810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_38_3641.jpg', '/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_41_2605.jpg', '/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_43_2768.jpg', '/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_47_3787.jpg', '/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_50_2684.jpg', '/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_53_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_38_3641.jpg
/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_41_2605.jpg
/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_43_2768.jpg
/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_47_3787.jpg
/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_50_2684.jpg
/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_53_2790.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":["1396234766","1396234768","1396234762","1396234759","1396234779","1396234764"],"photo_ids_order":["1396234759","1396234762","1396234764","1396234766","1396234768","1396234779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7e9692d1e2bd33af15bcbeb95f15dc01.jpg","text":"TemporaryFile(/tmp/multipartBody1439560907279775111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151383933,"filename":"image_26112025_06_18_47_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/26/aebe650295c0719dbe811c92357f2c08.jpg","text":"TemporaryFile(/tmp/multipartBody1606137476966265232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151383933,"filename":"image_26112025_06_18_50_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/26/a2939f0322d6a2d8af0a803ea4fff8e8.jpg","text":"TemporaryFile(/tmp/multipartBody8157954601360388682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151383933,"filename":"image_26112025_06_18_41_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/26/39503ebc94b367d4c24741f945df8a05.jpg","text":"TemporaryFile(/tmp/multipartBody3894693796166399217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151383933,"filename":"image_26112025_06_18_38_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/26/60c378665e6cb4876e48e84d71b64764.jpg","text":"TemporaryFile(/tmp/multipartBody5110061540558460481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151383933,"filename":"image_26112025_06_18_53_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/26/f700ee6768f76e029068cb298f00c472.jpg","text":"TemporaryFile(/tmp/multipartBody3012739129823911875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151383933,"filename":"image_26112025_06_18_43_2768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396234764","file1":"1396234762","file0":"1396234759","file4":"1396234768","file5":"1396234779","file3":"1396234766"},"map_files_photo_id_array":[{"photo_id":"1396234779","filename":"file5"},{"photo_id":"1396234764","filename":"file2"},{"photo_id":"1396234768","filename":"file4"},{"photo_id":"1396234762","filename":"file1"},{"photo_id":"1396234759","filename":"file0"},{"photo_id":"1396234766","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396234766":["hashtag1","hashtag2"]},{"1396234768":["hashtag1","hashtag2"]},{"1396234762":["hashtag1","hashtag2"]},{"1396234759":["hashtag1","hashtag2"]},{"1396234779":["hashtag1","hashtag2"]},{"1396234764":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396234766, 1396234768, 1396234762, 1396234759, 1396234779, 1396234764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38105893135071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 11:02:42.834723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_55_2828.jpg', '/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_58_2796.jpg', '/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_07_3013.jpg', '/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_11_3566.jpg', '/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_13_2681.jpg', '/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_17_3570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_55_2828.jpg
/home/pi/Desktop/images/26112025/06/18/image_26112025_06_18_58_2796.jpg
/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_07_3013.jpg
/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_11_3566.jpg
/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_13_2681.jpg
/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_17_3570.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":["1396234805","1396234808","1396234807","1396234809","1396234800","1396234803"],"photo_ids_order":["1396234800","1396234803","1396234805","1396234807","1396234808","1396234809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e2002352e1014efb9a4e34dbd9b7f378.jpg","text":"TemporaryFile(/tmp/multipartBody7059319862859489985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151423542,"filename":"image_26112025_06_20_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/26/18ffdf0d986bcf5ead7e5404e169634e.jpg","text":"TemporaryFile(/tmp/multipartBody8523351725211432704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151423542,"filename":"image_26112025_06_20_13_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/26/6d94e563c6e200fb65cf1d073be5e907.jpg","text":"TemporaryFile(/tmp/multipartBody8839171905770369318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151423542,"filename":"image_26112025_06_20_11_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/26/ffd54fd2af4a79f3ad7f631b31c68de3.jpg","text":"TemporaryFile(/tmp/multipartBody4281349261945214763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151423542,"filename":"image_26112025_06_20_17_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/26/8667effec97deda39fcb26fd7af7e1f6.jpg","text":"TemporaryFile(/tmp/multipartBody4200080577763391174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151423542,"filename":"image_26112025_06_18_55_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/26/cf12ec77b8a3bef2b52f8346d09f38e5.jpg","text":"TemporaryFile(/tmp/multipartBody7476773552364043267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151423542,"filename":"image_26112025_06_18_58_2796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396234805","file1":"1396234803","file0":"1396234800","file4":"1396234808","file5":"1396234809","file3":"1396234807"},"map_files_photo_id_array":[{"photo_id":"1396234809","filename":"file5"},{"photo_id":"1396234805","filename":"file2"},{"photo_id":"1396234808","filename":"file4"},{"photo_id":"1396234803","filename":"file1"},{"photo_id":"1396234800","filename":"file0"},{"photo_id":"1396234807","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396234805":["hashtag1","hashtag2"]},{"1396234808":["hashtag1","hashtag2"]},{"1396234807":["hashtag1","hashtag2"]},{"1396234809":["hashtag1","hashtag2"]},{"1396234800":["hashtag1","hashtag2"]},{"1396234803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396234805, 1396234808, 1396234807, 1396234809, 1396234800, 1396234803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0746374130249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:03:22.135990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_25_8129.jpg', '/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_28_2854.jpg', '/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_30_1578.jpg', '/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_31_1650.jpg', '/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_33_1624.jpg', '/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_34_1574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_25_8129.jpg
/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_28_2854.jpg
/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_30_1578.jpg
/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_31_1650.jpg
/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_33_1624.jpg
/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_34_1574.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":["1396234828","1396234822","1396234816","1396234831","1396234825","1396234819"],"photo_ids_order":["1396234816","1396234819","1396234822","1396234825","1396234828","1396234831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2f89c7eb45101877e6da5fa8d7d2f276.jpg","text":"TemporaryFile(/tmp/multipartBody3747843059358312313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151462845,"filename":"image_26112025_06_20_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/26/16e8e23e50d140eb81d12a96ec45b8bf.jpg","text":"TemporaryFile(/tmp/multipartBody1165317988037316227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151462845,"filename":"image_26112025_06_20_30_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/26/ec002eb40d12d21921b92c9b608206e2.jpg","text":"TemporaryFile(/tmp/multipartBody8874094028892935802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151462845,"filename":"image_26112025_06_20_25_8129.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0471939f581ea4a24579bab1a379636f.jpg","text":"TemporaryFile(/tmp/multipartBody4624159989484583867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151462845,"filename":"image_26112025_06_20_34_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/26/6c36096282bf222d44665c7dc3c3436d.jpg","text":"TemporaryFile(/tmp/multipartBody7462479393237989054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151462845,"filename":"image_26112025_06_20_31_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/26/0f56ba0f0f0424c99d8e8bd9d7c072e7.jpg","text":"TemporaryFile(/tmp/multipartBody6778942422602355293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151462845,"filename":"image_26112025_06_20_28_2854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396234822","file1":"1396234819","file0":"1396234816","file4":"1396234828","file5":"1396234831","file3":"1396234825"},"map_files_photo_id_array":[{"photo_id":"1396234831","filename":"file5"},{"photo_id":"1396234822","filename":"file2"},{"photo_id":"1396234828","filename":"file4"},{"photo_id":"1396234819","filename":"file1"},{"photo_id":"1396234816","filename":"file0"},{"photo_id":"1396234825","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396234828":["hashtag1","hashtag2"]},{"1396234822":["hashtag1","hashtag2"]},{"1396234816":["hashtag1","hashtag2"]},{"1396234831":["hashtag1","hashtag2"]},{"1396234825":["hashtag1","hashtag2"]},{"1396234819":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396234828, 1396234822, 1396234816, 1396234831, 1396234825, 1396234819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.291293144226074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:04:03.704457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_37_2743.jpg', '/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_41_3588.jpg', '/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_43_2579.jpg', '/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_47_3565.jpg', '/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_50_2572.jpg', '/home/pi/Desktop/images/26112025/06/21/image_26112025_06_21_09_19057.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_37_2743.jpg
/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_41_3588.jpg
/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_43_2579.jpg
/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_47_3565.jpg
/home/pi/Desktop/images/26112025/06/20/image_26112025_06_20_50_2572.jpg
/home/pi/Desktop/images/26112025/06/21/image_26112025_06_21_09_19057.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":["1396234835","1396234852","1396234845","1396234839","1396234848","1396234842"],"photo_ids_order":["1396234835","1396234839","1396234842","1396234845","1396234848","1396234852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d7d3fc70c2cf0ebfb076e4f8316282eb.jpg","text":"TemporaryFile(/tmp/multipartBody6267306373281481277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151504467,"filename":"image_26112025_06_20_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/26/3ae0e2fe99b8ceb0b5025909b85eae9c.jpg","text":"TemporaryFile(/tmp/multipartBody2291259961316484687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151504467,"filename":"image_26112025_06_21_09_19057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e0ec493993e67229220433f5aeda09f8.jpg","text":"TemporaryFile(/tmp/multipartBody212149802265046614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151504467,"filename":"image_26112025_06_20_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/26/bfa3faa73edfea09a5ea6a89e8575ff9.jpg","text":"TemporaryFile(/tmp/multipartBody6008387066948554404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151504467,"filename":"image_26112025_06_20_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/26/a3d858951575109627d5004132e2cdfe.jpg","text":"TemporaryFile(/tmp/multipartBody7777582567133686056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151504467,"filename":"image_26112025_06_20_50_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/26/06f3abbef557ec8f703eae5882258b7e.jpg","text":"TemporaryFile(/tmp/multipartBody1828719697187169134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151504467,"filename":"image_26112025_06_20_43_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396234842","file1":"1396234839","file0":"1396234835","file4":"1396234848","file5":"1396234852","file3":"1396234845"},"map_files_photo_id_array":[{"photo_id":"1396234852","filename":"file5"},{"photo_id":"1396234842","filename":"file2"},{"photo_id":"1396234848","filename":"file4"},{"photo_id":"1396234839","filename":"file1"},{"photo_id":"1396234835","filename":"file0"},{"photo_id":"1396234845","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396234835":["hashtag1","hashtag2"]},{"1396234852":["hashtag1","hashtag2"]},{"1396234845":["hashtag1","hashtag2"]},{"1396234839":["hashtag1","hashtag2"]},{"1396234848":["hashtag1","hashtag2"]},{"1396234842":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396234835, 1396234852, 1396234845, 1396234839, 1396234848, 1396234842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71869921684265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 11:04:43.175240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/21/image_26112025_06_21_10_1703.jpg', '/home/pi/Desktop/images/26112025/06/22/image_26112025_06_22_06_3015.jpg', '/home/pi/Desktop/images/26112025/06/22/image_26112025_06_22_11_4600.jpg', '/home/pi/Desktop/images/26112025/06/22/image_26112025_06_22_14_2980.jpg', '/home/pi/Desktop/images/26112025/06/22/image_26112025_06_22_16_1799.jpg', '/home/pi/Desktop/images/26112025/06/22/image_26112025_06_22_19_3188.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/21/image_26112025_06_21_10_1703.jpg
/home/pi/Desktop/images/26112025/06/22/image_26112025_06_22_06_3015.jpg
/home/pi/Desktop/images/26112025/06/22/image_26112025_06_22_11_4600.jpg
/home/pi/Desktop/images/26112025/06/22/image_26112025_06_22_14_2980.jpg
/home/pi/Desktop/images/26112025/06/22/image_26112025_06_22_16_1799.jpg
/home/pi/Desktop/images/26112025/06/22/image_26112025_06_22_19_3188.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":["1396234868","1396234865","1396234859","1396234891","1396234884","1396234863"],"photo_ids_order":["1396234859","1396234863","1396234865","1396234868","1396234884","1396234891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/74d7cfa7e2a2660026cd8f80867930e4.jpg","text":"TemporaryFile(/tmp/multipartBody8779732230923696520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151543922,"filename":"image_26112025_06_22_14_2980.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b228ff0b8a17dea2ab4c718c052a573a.jpg","text":"TemporaryFile(/tmp/multipartBody7021175786616544410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151543922,"filename":"image_26112025_06_22_11_4600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c5296520694cf6b80ba9a80a6cfd71b6.jpg","text":"TemporaryFile(/tmp/multipartBody5715446254986029470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151543922,"filename":"image_26112025_06_21_10_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/26/ebeb0f281631dd28d0d226462dd4e1cc.jpg","text":"TemporaryFile(/tmp/multipartBody7659956434939667450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151543922,"filename":"image_26112025_06_22_19_3188.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f5b88d31333ba85bc20c030e9e803f7d.jpg","text":"TemporaryFile(/tmp/multipartBody5126288148779005136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151543922,"filename":"image_26112025_06_22_16_1799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/46441204060a59c5376fa22e354cdcaf.jpg","text":"TemporaryFile(/tmp/multipartBody6410370673960655797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151543922,"filename":"image_26112025_06_22_06_3015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396234865","file1":"1396234863","file0":"1396234859","file4":"1396234884","file5":"1396234891","file3":"1396234868"},"map_files_photo_id_array":[{"photo_id":"1396234891","filename":"file5"},{"photo_id":"1396234865","filename":"file2"},{"photo_id":"1396234884","filename":"file4"},{"photo_id":"1396234863","filename":"file1"},{"photo_id":"1396234859","filename":"file0"},{"photo_id":"1396234868","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396234868":["hashtag1","hashtag2"]},{"1396234865":["hashtag1","hashtag2"]},{"1396234859":["hashtag1","hashtag2"]},{"1396234891":["hashtag1","hashtag2"]},{"1396234884":["hashtag1","hashtag2"]},{"1396234863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396234868, 1396234865, 1396234859, 1396234891, 1396234884, 1396234863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.647021770477295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:05:22.415265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/22/image_26112025_06_22_21_2632.jpg', '/home/pi/Desktop/images/26112025/06/22/image_26112025_06_22_42_20337.jpg', '/home/pi/Desktop/images/26112025/06/22/image_26112025_06_22_43_1651.jpg', '/home/pi/Desktop/images/26112025/06/22/image_26112025_06_22_45_1652.jpg', '/home/pi/Desktop/images/26112025/06/22/image_26112025_06_22_47_1779.jpg', '/home/pi/Desktop/images/26112025/06/22/image_26112025_06_22_49_1782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/22/image_26112025_06_22_21_2632.jpg
/home/pi/Desktop/images/26112025/06/22/image_26112025_06_22_42_20337.jpg
/home/pi/Desktop/images/26112025/06/22/image_26112025_06_22_43_1651.jpg
/home/pi/Desktop/images/26112025/06/22/image_26112025_06_22_45_1652.jpg
/home/pi/Desktop/images/26112025/06/22/image_26112025_06_22_47_1779.jpg
/home/pi/Desktop/images/26112025/06/22/image_26112025_06_22_49_1782.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":["1396234915","1396234900","1396234906","1396234911","1396234898","1396234902"],"photo_ids_order":["1396234898","1396234900","1396234902","1396234906","1396234911","1396234915"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/46fc6ad30a41d371ab115cb55b20417a.jpg","text":"TemporaryFile(/tmp/multipartBody2888106950498839796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151583090,"filename":"image_26112025_06_22_49_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/26/2f179985dd6e6e282c7ea14e532f498c.jpg","text":"TemporaryFile(/tmp/multipartBody2027806975629508575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151583090,"filename":"image_26112025_06_22_42_20337.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/06dbbabd0203700c27d04a6b3604d089.jpg","text":"TemporaryFile(/tmp/multipartBody8890770912575562336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151583090,"filename":"image_26112025_06_22_45_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/26/03b2c8c71ccfe0025a877219a2535395.jpg","text":"TemporaryFile(/tmp/multipartBody2163198898786023259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151583090,"filename":"image_26112025_06_22_47_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/26/d3dd52984f1a64204c4667193e2a306e.jpg","text":"TemporaryFile(/tmp/multipartBody3541287931947058387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151583090,"filename":"image_26112025_06_22_21_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/26/bf75a292063c4e41abb2bf42bae38b03.jpg","text":"TemporaryFile(/tmp/multipartBody2069686050897457182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151583090,"filename":"image_26112025_06_22_43_1651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396234902","file1":"1396234900","file0":"1396234898","file4":"1396234911","file5":"1396234915","file3":"1396234906"},"map_files_photo_id_array":[{"photo_id":"1396234915","filename":"file5"},{"photo_id":"1396234902","filename":"file2"},{"photo_id":"1396234911","filename":"file4"},{"photo_id":"1396234900","filename":"file1"},{"photo_id":"1396234898","filename":"file0"},{"photo_id":"1396234906","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396234915":["hashtag1","hashtag2"]},{"1396234900":["hashtag1","hashtag2"]},{"1396234906":["hashtag1","hashtag2"]},{"1396234911":["hashtag1","hashtag2"]},{"1396234898":["hashtag1","hashtag2"]},{"1396234902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396234915, 1396234900, 1396234906, 1396234911, 1396234898, 1396234902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02182126045227 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:06:02.840274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/22/image_26112025_06_22_50_1644.jpg', '/home/pi/Desktop/images/26112025/06/24/image_26112025_06_24_07_3011.jpg', '/home/pi/Desktop/images/26112025/06/24/image_26112025_06_24_11_3661.jpg', '/home/pi/Desktop/images/26112025/06/24/image_26112025_06_24_13_2514.jpg', '/home/pi/Desktop/images/26112025/06/24/image_26112025_06_24_17_3756.jpg', '/home/pi/Desktop/images/26112025/06/24/image_26112025_06_24_20_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/22/image_26112025_06_22_50_1644.jpg
/home/pi/Desktop/images/26112025/06/24/image_26112025_06_24_07_3011.jpg
/home/pi/Desktop/images/26112025/06/24/image_26112025_06_24_11_3661.jpg
/home/pi/Desktop/images/26112025/06/24/image_26112025_06_24_13_2514.jpg
/home/pi/Desktop/images/26112025/06/24/image_26112025_06_24_17_3756.jpg
/home/pi/Desktop/images/26112025/06/24/image_26112025_06_24_20_2657.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":["1396235176","1396235059","1396235017","1396235097","1396235133","1396234959"],"photo_ids_order":["1396234959","1396235017","1396235059","1396235097","1396235133","1396235176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4c8932943610628d3fd5364cb49d7dcc.jpg","text":"TemporaryFile(/tmp/multipartBody3167704078809122801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151623563,"filename":"image_26112025_06_24_20_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/26/fcb026bd9bfd2cc62d6cbe9b177c1fe1.jpg","text":"TemporaryFile(/tmp/multipartBody8181572364818136030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151623563,"filename":"image_26112025_06_24_11_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/26/786ea83c3da38b3aa046895e68c29be0.jpg","text":"TemporaryFile(/tmp/multipartBody9171297847150570575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151623563,"filename":"image_26112025_06_24_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/26/68be3e00eb734b7430370a987bb26a6c.jpg","text":"TemporaryFile(/tmp/multipartBody7731554593295383901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151623563,"filename":"image_26112025_06_24_13_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/26/35d8fdb90b07f74bdfb1e71e41ef8bc8.jpg","text":"TemporaryFile(/tmp/multipartBody6022271202379548619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151623563,"filename":"image_26112025_06_24_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/26/ae4ce4bc0943820811d977f0cf2a9295.jpg","text":"TemporaryFile(/tmp/multipartBody106509452732305437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151623563,"filename":"image_26112025_06_22_50_1644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396235059","file1":"1396235017","file0":"1396234959","file4":"1396235133","file5":"1396235176","file3":"1396235097"},"map_files_photo_id_array":[{"photo_id":"1396235176","filename":"file5"},{"photo_id":"1396235059","filename":"file2"},{"photo_id":"1396235133","filename":"file4"},{"photo_id":"1396235017","filename":"file1"},{"photo_id":"1396234959","filename":"file0"},{"photo_id":"1396235097","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396235176":["hashtag1","hashtag2"]},{"1396235059":["hashtag1","hashtag2"]},{"1396235017":["hashtag1","hashtag2"]},{"1396235097":["hashtag1","hashtag2"]},{"1396235133":["hashtag1","hashtag2"]},{"1396234959":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396235176, 1396235059, 1396235017, 1396235097, 1396235133, 1396234959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.270580768585205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 11:06:42.346741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/24/image_26112025_06_24_22_2597.jpg', '/home/pi/Desktop/images/26112025/06/24/image_26112025_06_24_26_3653.jpg', '/home/pi/Desktop/images/26112025/06/24/image_26112025_06_24_29_2599.jpg', '/home/pi/Desktop/images/26112025/06/24/image_26112025_06_24_31_2770.jpg', '/home/pi/Desktop/images/26112025/06/24/image_26112025_06_24_35_3673.jpg', '/home/pi/Desktop/images/26112025/06/24/image_26112025_06_24_38_2808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/24/image_26112025_06_24_22_2597.jpg
/home/pi/Desktop/images/26112025/06/24/image_26112025_06_24_26_3653.jpg
/home/pi/Desktop/images/26112025/06/24/image_26112025_06_24_29_2599.jpg
/home/pi/Desktop/images/26112025/06/24/image_26112025_06_24_31_2770.jpg
/home/pi/Desktop/images/26112025/06/24/image_26112025_06_24_35_3673.jpg
/home/pi/Desktop/images/26112025/06/24/image_26112025_06_24_38_2808.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":["1396235318","1396235383","1396235536","1396235458","1396235421","1396235495"],"photo_ids_order":["1396235318","1396235383","1396235421","1396235458","1396235495","1396235536"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aa3ed250be3be8c606da9c458d646c80.jpg","text":"TemporaryFile(/tmp/multipartBody3715968062977674758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151663100,"filename":"image_26112025_06_24_22_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/26/5b4a533c9401d9598ceac5e7dedf53ef.jpg","text":"TemporaryFile(/tmp/multipartBody3273502968448166018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151663100,"filename":"image_26112025_06_24_26_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/26/d52bb2d0f127f8f0bdaeb155c1b2397e.jpg","text":"TemporaryFile(/tmp/multipartBody5110402743804700957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151663100,"filename":"image_26112025_06_24_38_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/26/c75fabb3c2727d66e0c14e6237f7aaa6.jpg","text":"TemporaryFile(/tmp/multipartBody4245665677450861358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151663100,"filename":"image_26112025_06_24_31_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/26/4e5ae87b3c0778661b353dc3f8b27d2a.jpg","text":"TemporaryFile(/tmp/multipartBody1731253973754159386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151663100,"filename":"image_26112025_06_24_29_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/26/d552afa563d8f41ddd17de51bf2207f8.jpg","text":"TemporaryFile(/tmp/multipartBody3643673661663927955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151663100,"filename":"image_26112025_06_24_35_3673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396235421","file1":"1396235383","file0":"1396235318","file4":"1396235495","file5":"1396235536","file3":"1396235458"},"map_files_photo_id_array":[{"photo_id":"1396235536","filename":"file5"},{"photo_id":"1396235421","filename":"file2"},{"photo_id":"1396235495","filename":"file4"},{"photo_id":"1396235383","filename":"file1"},{"photo_id":"1396235318","filename":"file0"},{"photo_id":"1396235458","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396235318":["hashtag1","hashtag2"]},{"1396235383":["hashtag1","hashtag2"]},{"1396235536":["hashtag1","hashtag2"]},{"1396235458":["hashtag1","hashtag2"]},{"1396235421":["hashtag1","hashtag2"]},{"1396235495":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396235318, 1396235383, 1396235536, 1396235458, 1396235421, 1396235495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.458460092544556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:07:22.546676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/24/image_26112025_06_24_40_2536.jpg', '/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_07_3225.jpg', '/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_10_2918.jpg', '/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_13_3543.jpg', '/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_17_3790.jpg', '/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_19_1630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/24/image_26112025_06_24_40_2536.jpg
/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_07_3225.jpg
/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_10_2918.jpg
/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_13_3543.jpg
/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_17_3790.jpg
/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_19_1630.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":["1396235560","1396235557","1396235623","1396235580","1396235562","1396235666"],"photo_ids_order":["1396235557","1396235560","1396235562","1396235580","1396235623","1396235666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ea1550220acc0ac21cf9660f6b835877.jpg","text":"TemporaryFile(/tmp/multipartBody3220672741921899076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151703245,"filename":"image_26112025_06_26_07_3225.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8e7f7dec99939d770cade6fea0c86a1c.jpg","text":"TemporaryFile(/tmp/multipartBody7042507429046079778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151703245,"filename":"image_26112025_06_24_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/26/33f9cfd9eebc9ac2683fb3dbb4b8a1e8.jpg","text":"TemporaryFile(/tmp/multipartBody8574718254870161890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151703245,"filename":"image_26112025_06_26_17_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/26/cfc1b588e885b19d89f201a8cf3d2312.jpg","text":"TemporaryFile(/tmp/multipartBody7886478114972557013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151703245,"filename":"image_26112025_06_26_13_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/26/0e1887552495a3ab270756056d8c0ade.jpg","text":"TemporaryFile(/tmp/multipartBody1524799919414581649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151703245,"filename":"image_26112025_06_26_10_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/26/3f34175d4f6f1d145086d4ef64efc1d4.jpg","text":"TemporaryFile(/tmp/multipartBody8200634848256556752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151703245,"filename":"image_26112025_06_26_19_1630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396235562","file1":"1396235560","file0":"1396235557","file4":"1396235623","file5":"1396235666","file3":"1396235580"},"map_files_photo_id_array":[{"photo_id":"1396235666","filename":"file5"},{"photo_id":"1396235562","filename":"file2"},{"photo_id":"1396235623","filename":"file4"},{"photo_id":"1396235560","filename":"file1"},{"photo_id":"1396235557","filename":"file0"},{"photo_id":"1396235580","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396235560":["hashtag1","hashtag2"]},{"1396235557":["hashtag1","hashtag2"]},{"1396235623":["hashtag1","hashtag2"]},{"1396235580":["hashtag1","hashtag2"]},{"1396235562":["hashtag1","hashtag2"]},{"1396235666":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396235560, 1396235557, 1396235623, 1396235580, 1396235562, 1396235666)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.82107996940613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:08:19.225352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_22_3251.jpg', '/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_25_2962.jpg', '/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_28_3551.jpg', '/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_31_2605.jpg', '/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_34_2786.jpg', '/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_37_3665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_22_3251.jpg
/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_25_2962.jpg
/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_28_3551.jpg
/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_31_2605.jpg
/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_34_2786.jpg
/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_37_3665.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":["1396235819","1396235781","1396235784","1396235778","1396235792","1396235789"],"photo_ids_order":["1396235778","1396235781","1396235784","1396235789","1396235792","1396235819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c064b793c6dee6de3b2f86e28a1a5dc5.jpg","text":"TemporaryFile(/tmp/multipartBody1527765485789242598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151759953,"filename":"image_26112025_06_26_37_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/26/51ee455706672b292a9e8ecfbca06c7c.jpg","text":"TemporaryFile(/tmp/multipartBody4890573448374802611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151759953,"filename":"image_26112025_06_26_25_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/26/feff22fac70633351511f43843477eb7.jpg","text":"TemporaryFile(/tmp/multipartBody6925359683557747150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151759953,"filename":"image_26112025_06_26_28_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/26/eee37c5371473962c107c77a80b65375.jpg","text":"TemporaryFile(/tmp/multipartBody3326340121668589085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151759953,"filename":"image_26112025_06_26_22_3251.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ec61210b53e58a61b4b6351c88a36237.jpg","text":"TemporaryFile(/tmp/multipartBody7165040317749800147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151759953,"filename":"image_26112025_06_26_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/26/1370a5ae41224bf80369570160436b26.jpg","text":"TemporaryFile(/tmp/multipartBody6037691328574412119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151759953,"filename":"image_26112025_06_26_31_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396235784","file1":"1396235781","file0":"1396235778","file4":"1396235792","file5":"1396235819","file3":"1396235789"},"map_files_photo_id_array":[{"photo_id":"1396235819","filename":"file5"},{"photo_id":"1396235784","filename":"file2"},{"photo_id":"1396235792","filename":"file4"},{"photo_id":"1396235781","filename":"file1"},{"photo_id":"1396235778","filename":"file0"},{"photo_id":"1396235789","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396235819":["hashtag1","hashtag2"]},{"1396235781":["hashtag1","hashtag2"]},{"1396235784":["hashtag1","hashtag2"]},{"1396235778":["hashtag1","hashtag2"]},{"1396235792":["hashtag1","hashtag2"]},{"1396235789":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396235819, 1396235781, 1396235784, 1396235778, 1396235792, 1396235789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56970500946045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:09:03.116331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_40_2650.jpg', '/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_43_2674.jpg', '/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_45_2693.jpg', '/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_49_3586.jpg', '/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_52_2615.jpg', '/home/pi/Desktop/images/26112025/06/27/image_26112025_06_27_06_14683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_40_2650.jpg
/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_43_2674.jpg
/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_45_2693.jpg
/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_49_3586.jpg
/home/pi/Desktop/images/26112025/06/26/image_26112025_06_26_52_2615.jpg
/home/pi/Desktop/images/26112025/06/27/image_26112025_06_27_06_14683.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":["1396235992","1396236031","1396235941","1396235955","1396235940","1396235943"],"photo_ids_order":["1396235940","1396235941","1396235943","1396235955","1396235992","1396236031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1bec0d1d4b52187188809e167015b31e.jpg","text":"TemporaryFile(/tmp/multipartBody5265255552168323336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151803912,"filename":"image_26112025_06_26_52_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/26/d713ecee38837f1e024bc191543f86ea.jpg","text":"TemporaryFile(/tmp/multipartBody7259984460392334870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151803912,"filename":"image_26112025_06_27_06_14683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c1da2e2980858d1a287eb82a3d8c773c.jpg","text":"TemporaryFile(/tmp/multipartBody6519540942573416223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151803912,"filename":"image_26112025_06_26_43_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4d99d69e31ac481ae9f098662f93d566.jpg","text":"TemporaryFile(/tmp/multipartBody7254013576225946518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151803912,"filename":"image_26112025_06_26_49_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/26/d3ed47e1208d4938ee088b63b1f10993.jpg","text":"TemporaryFile(/tmp/multipartBody3103857807534719323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151803912,"filename":"image_26112025_06_26_40_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/26/36107b9de3760d26238d20c03126ce6e.jpg","text":"TemporaryFile(/tmp/multipartBody1383610570153807908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151803912,"filename":"image_26112025_06_26_45_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396235943","file1":"1396235941","file0":"1396235940","file4":"1396235992","file5":"1396236031","file3":"1396235955"},"map_files_photo_id_array":[{"photo_id":"1396236031","filename":"file5"},{"photo_id":"1396235943","filename":"file2"},{"photo_id":"1396235992","filename":"file4"},{"photo_id":"1396235941","filename":"file1"},{"photo_id":"1396235940","filename":"file0"},{"photo_id":"1396235955","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396235992":["hashtag1","hashtag2"]},{"1396236031":["hashtag1","hashtag2"]},{"1396235941":["hashtag1","hashtag2"]},{"1396235955":["hashtag1","hashtag2"]},{"1396235940":["hashtag1","hashtag2"]},{"1396235943":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396235992, 1396236031, 1396235941, 1396235955, 1396235940, 1396235943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23956632614136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 11:09:42.378142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_06_3012.jpg', '/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_10_3570.jpg', '/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_13_2662.jpg', '/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_16_3692.jpg', '/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_19_2525.jpg', '/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_22_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_06_3012.jpg
/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_10_3570.jpg
/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_13_2662.jpg
/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_16_3692.jpg
/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_19_2525.jpg
/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_22_2669.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":["1396236226","1396236375","1396236267","1396236180","1396236111","1396236326"],"photo_ids_order":["1396236111","1396236180","1396236226","1396236267","1396236326","1396236375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8d302aef0f8fdc67bf9a5241f7b8574a.jpg","text":"TemporaryFile(/tmp/multipartBody5514640090665382744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151843049,"filename":"image_26112025_06_28_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/26/53616e829fb5cd95a97393afa7b24e31.jpg","text":"TemporaryFile(/tmp/multipartBody8330125088786418075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151843049,"filename":"image_26112025_06_28_22_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/37b28115774b332e37b28b51c4b4c3b7.jpg","text":"TemporaryFile(/tmp/multipartBody5815463232808005500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151843049,"filename":"image_26112025_06_28_16_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/26/e1d1349bb470488cb646ee921e371a16.jpg","text":"TemporaryFile(/tmp/multipartBody4810907604525473475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151843049,"filename":"image_26112025_06_28_10_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/78869407ccb341deb1160360c7ac475f.jpg","text":"TemporaryFile(/tmp/multipartBody6777836537763725644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151843049,"filename":"image_26112025_06_28_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/26/674c2b734f4de0e4a59cd33e13dfc052.jpg","text":"TemporaryFile(/tmp/multipartBody2448790111894495457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151843049,"filename":"image_26112025_06_28_19_2525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396236226","file1":"1396236180","file0":"1396236111","file4":"1396236326","file5":"1396236375","file3":"1396236267"},"map_files_photo_id_array":[{"photo_id":"1396236375","filename":"file5"},{"photo_id":"1396236226","filename":"file2"},{"photo_id":"1396236326","filename":"file4"},{"photo_id":"1396236180","filename":"file1"},{"photo_id":"1396236111","filename":"file0"},{"photo_id":"1396236267","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396236226":["hashtag1","hashtag2"]},{"1396236375":["hashtag1","hashtag2"]},{"1396236267":["hashtag1","hashtag2"]},{"1396236180":["hashtag1","hashtag2"]},{"1396236111":["hashtag1","hashtag2"]},{"1396236326":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396236226, 1396236375, 1396236267, 1396236180, 1396236111, 1396236326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22516083717346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:10:22.631039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_25_3644.jpg', '/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_28_2715.jpg', '/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_31_2677.jpg', '/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_34_3590.jpg', '/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_37_2609.jpg', '/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_39_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_25_3644.jpg
/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_28_2715.jpg
/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_31_2677.jpg
/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_34_3590.jpg
/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_37_2609.jpg
/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_39_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.6294891834259033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:10:32.709087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_25_3644.jpg', '/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_28_2715.jpg', '/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_31_2677.jpg', '/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_34_3590.jpg', '/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_37_2609.jpg', '/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_39_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_25_3644.jpg
/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_28_2715.jpg
/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_31_2677.jpg
/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_34_3590.jpg
/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_37_2609.jpg
/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_39_2649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396236775","1396236811","1396236660","1396236849","1396236698","1396236737"],"photo_ids_order":["1396236660","1396236698","1396236737","1396236775","1396236811","1396236849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/87cc9eb3f29ae5229c3434a3b23a358f.jpg","text":"TemporaryFile(/tmp/multipartBody4495659684281786763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151893500,"filename":"image_26112025_06_28_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/26/b755e6ac1517b16f752394cfd46cc772.jpg","text":"TemporaryFile(/tmp/multipartBody7070642143944138242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151893500,"filename":"image_26112025_06_28_37_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/26/2eda09c389d3f884b85f8be20730dba2.jpg","text":"TemporaryFile(/tmp/multipartBody6075697901513639783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151893500,"filename":"image_26112025_06_28_25_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/26/0b0729b7fdaf622db6a34091d10cedd5.jpg","text":"TemporaryFile(/tmp/multipartBody6520511403850764541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151893500,"filename":"image_26112025_06_28_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/26/2be3196acf5f7c4dbefc1f06135256d6.jpg","text":"TemporaryFile(/tmp/multipartBody3535247220222446143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151893500,"filename":"image_26112025_06_28_28_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c1b029452e7ed650e210d61305e99eec.jpg","text":"TemporaryFile(/tmp/multipartBody6427262733068198118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151893500,"filename":"image_26112025_06_28_31_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396236737","file1":"1396236698","file0":"1396236660","file4":"1396236811","file5":"1396236849","file3":"1396236775"},"map_files_photo_id_array":[{"photo_id":"1396236849","filename":"file5"},{"photo_id":"1396236737","filename":"file2"},{"photo_id":"1396236811","filename":"file4"},{"photo_id":"1396236698","filename":"file1"},{"photo_id":"1396236660","filename":"file0"},{"photo_id":"1396236775","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396236775":["hashtag1","hashtag2"]},{"1396236811":["hashtag1","hashtag2"]},{"1396236660":["hashtag1","hashtag2"]},{"1396236849":["hashtag1","hashtag2"]},{"1396236698":["hashtag1","hashtag2"]},{"1396236737":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396236775, 1396236811, 1396236660, 1396236849, 1396236698, 1396236737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66649913787842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:11:13.001894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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 10
2025-11-26 11:11:33.178084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_43_3550.jpg', '/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_46_2634.jpg', '/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_48_2749.jpg', '/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_52_3660.jpg', '/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_55_2638.jpg', '/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_57_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_43_3550.jpg
/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_46_2634.jpg
/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_48_2749.jpg
/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_52_3660.jpg
/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_55_2638.jpg
/home/pi/Desktop/images/26112025/06/28/image_26112025_06_28_57_2773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396237173","1396237119","1396237029","1396237020","1396237055","1396237025"],"photo_ids_order":["1396237020","1396237025","1396237029","1396237055","1396237119","1396237173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c549f8331564b386f2786e23d602169a.jpg","text":"TemporaryFile(/tmp/multipartBody7845065973921398894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151954180,"filename":"image_26112025_06_28_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/26/f876a9ba6ac84ead0f37ccb581a4e0bf.jpg","text":"TemporaryFile(/tmp/multipartBody7924291336701411146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151954180,"filename":"image_26112025_06_28_55_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/26/a08e33a294514ab776fb22c77327b829.jpg","text":"TemporaryFile(/tmp/multipartBody1645576969993139008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151954180,"filename":"image_26112025_06_28_48_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/26/a1cd05ecd778b94da5914e8bef025e00.jpg","text":"TemporaryFile(/tmp/multipartBody5073422914464943534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151954180,"filename":"image_26112025_06_28_43_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/26/1ee1606ed3b6a3ef492a1e4ded9cb56d.jpg","text":"TemporaryFile(/tmp/multipartBody797992684819007103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151954180,"filename":"image_26112025_06_28_52_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/26/fc0a6ca629250d77ec2e4fcc0993a80e.jpg","text":"TemporaryFile(/tmp/multipartBody2814308471485108336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151954180,"filename":"image_26112025_06_28_46_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396237029","file1":"1396237025","file0":"1396237020","file4":"1396237119","file5":"1396237173","file3":"1396237055"},"map_files_photo_id_array":[{"photo_id":"1396237173","filename":"file5"},{"photo_id":"1396237029","filename":"file2"},{"photo_id":"1396237119","filename":"file4"},{"photo_id":"1396237025","filename":"file1"},{"photo_id":"1396237020","filename":"file0"},{"photo_id":"1396237055","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396237173":["hashtag1","hashtag2"]},{"1396237119":["hashtag1","hashtag2"]},{"1396237029":["hashtag1","hashtag2"]},{"1396237020":["hashtag1","hashtag2"]},{"1396237055":["hashtag1","hashtag2"]},{"1396237025":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396237173, 1396237119, 1396237029, 1396237020, 1396237055, 1396237025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.303799629211426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:12:12.403834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/30/image_26112025_06_30_07_3012.jpg', '/home/pi/Desktop/images/26112025/06/30/image_26112025_06_30_11_3546.jpg', '/home/pi/Desktop/images/26112025/06/30/image_26112025_06_30_13_2518.jpg', '/home/pi/Desktop/images/26112025/06/30/image_26112025_06_30_17_3636.jpg', '/home/pi/Desktop/images/26112025/06/30/image_26112025_06_30_20_2627.jpg', '/home/pi/Desktop/images/26112025/06/30/image_26112025_06_30_22_2807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/30/image_26112025_06_30_07_3012.jpg
/home/pi/Desktop/images/26112025/06/30/image_26112025_06_30_11_3546.jpg
/home/pi/Desktop/images/26112025/06/30/image_26112025_06_30_13_2518.jpg
/home/pi/Desktop/images/26112025/06/30/image_26112025_06_30_17_3636.jpg
/home/pi/Desktop/images/26112025/06/30/image_26112025_06_30_20_2627.jpg
/home/pi/Desktop/images/26112025/06/30/image_26112025_06_30_22_2807.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":["1396237236","1396237245","1396237305","1396237298","1396237337","1396237285"],"photo_ids_order":["1396237236","1396237245","1396237285","1396237298","1396237305","1396237337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/83854cc0fac2e11b24e71a707a21d5a8.jpg","text":"TemporaryFile(/tmp/multipartBody1318488814110653158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151993140,"filename":"image_26112025_06_30_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/26/c4d21e28dbddcd39a9ff21939a0f3e0c.jpg","text":"TemporaryFile(/tmp/multipartBody7919467874376031277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151993140,"filename":"image_26112025_06_30_11_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/26/16a225b85d6e69caf23fb419ff41cc00.jpg","text":"TemporaryFile(/tmp/multipartBody902745668382363513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151993140,"filename":"image_26112025_06_30_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/26/2eda3559b1c642c4fb99252bfa6b6a47.jpg","text":"TemporaryFile(/tmp/multipartBody3078617890574386587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151993140,"filename":"image_26112025_06_30_17_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/82d05b599356e5719e7763adc66b0e70.jpg","text":"TemporaryFile(/tmp/multipartBody2455277904145014952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151993140,"filename":"image_26112025_06_30_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/26/f8dcf2d9a160d734212feacbc904ffab.jpg","text":"TemporaryFile(/tmp/multipartBody4576094775040745809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764151993140,"filename":"image_26112025_06_30_13_2518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396237285","file1":"1396237245","file0":"1396237236","file4":"1396237305","file5":"1396237337","file3":"1396237298"},"map_files_photo_id_array":[{"photo_id":"1396237337","filename":"file5"},{"photo_id":"1396237285","filename":"file2"},{"photo_id":"1396237305","filename":"file4"},{"photo_id":"1396237245","filename":"file1"},{"photo_id":"1396237236","filename":"file0"},{"photo_id":"1396237298","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396237236":["hashtag1","hashtag2"]},{"1396237245":["hashtag1","hashtag2"]},{"1396237305":["hashtag1","hashtag2"]},{"1396237298":["hashtag1","hashtag2"]},{"1396237337":["hashtag1","hashtag2"]},{"1396237285":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396237236, 1396237245, 1396237305, 1396237298, 1396237337, 1396237285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47021412849426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:13:02.820037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/30/image_26112025_06_30_26_3672.jpg', '/home/pi/Desktop/images/26112025/06/30/image_26112025_06_30_29_2583.jpg', '/home/pi/Desktop/images/26112025/06/30/image_26112025_06_30_31_2561.jpg', '/home/pi/Desktop/images/26112025/06/30/image_26112025_06_30_35_3599.jpg', '/home/pi/Desktop/images/26112025/06/30/image_26112025_06_30_37_2601.jpg', '/home/pi/Desktop/images/26112025/06/30/image_26112025_06_30_41_3619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/30/image_26112025_06_30_26_3672.jpg
/home/pi/Desktop/images/26112025/06/30/image_26112025_06_30_29_2583.jpg
/home/pi/Desktop/images/26112025/06/30/image_26112025_06_30_31_2561.jpg
/home/pi/Desktop/images/26112025/06/30/image_26112025_06_30_35_3599.jpg
/home/pi/Desktop/images/26112025/06/30/image_26112025_06_30_37_2601.jpg
/home/pi/Desktop/images/26112025/06/30/image_26112025_06_30_41_3619.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":["1396237395","1396237391","1396237385","1396237388","1396237381","1396237378"],"photo_ids_order":["1396237378","1396237381","1396237385","1396237388","1396237391","1396237395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/76fb6106268e6183b1fb13140fa1bd79.jpg","text":"TemporaryFile(/tmp/multipartBody5011247861470225730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152043621,"filename":"image_26112025_06_30_41_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/26/e9e11ccff5438eddda6ae522f99d59e3.jpg","text":"TemporaryFile(/tmp/multipartBody5277072665113562106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152043621,"filename":"image_26112025_06_30_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/26/d7339fd5e3e9f1efd36b9407bcb1e979.jpg","text":"TemporaryFile(/tmp/multipartBody7245446357728670768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152043621,"filename":"image_26112025_06_30_31_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/26/71e4c4b5a8ee23c43c5b66c8e6f806bd.jpg","text":"TemporaryFile(/tmp/multipartBody369293587846083448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152043621,"filename":"image_26112025_06_30_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/26/6489245cede4f831debed4dc2e2d4272.jpg","text":"TemporaryFile(/tmp/multipartBody6867862663308590597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152043621,"filename":"image_26112025_06_30_29_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/26/619a88d4a01887fbda79b8825597c3c7.jpg","text":"TemporaryFile(/tmp/multipartBody7112739309404113616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152043621,"filename":"image_26112025_06_30_26_3672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396237385","file1":"1396237381","file0":"1396237378","file4":"1396237391","file5":"1396237395","file3":"1396237388"},"map_files_photo_id_array":[{"photo_id":"1396237395","filename":"file5"},{"photo_id":"1396237385","filename":"file2"},{"photo_id":"1396237391","filename":"file4"},{"photo_id":"1396237381","filename":"file1"},{"photo_id":"1396237378","filename":"file0"},{"photo_id":"1396237388","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396237395":["hashtag1","hashtag2"]},{"1396237391":["hashtag1","hashtag2"]},{"1396237385":["hashtag1","hashtag2"]},{"1396237388":["hashtag1","hashtag2"]},{"1396237381":["hashtag1","hashtag2"]},{"1396237378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396237395, 1396237391, 1396237385, 1396237388, 1396237381, 1396237378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66543674468994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 11:13:42.061120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_07_3011.jpg', '/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_11_3764.jpg', '/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_13_2570.jpg', '/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_17_3601.jpg', '/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_20_2723.jpg', '/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_22_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_07_3011.jpg
/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_11_3764.jpg
/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_13_2570.jpg
/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_17_3601.jpg
/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_20_2723.jpg
/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_22_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.6483438014984131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:14:03.017024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_07_3011.jpg', '/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_11_3764.jpg', '/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_13_2570.jpg', '/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_17_3601.jpg', '/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_20_2723.jpg', '/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_22_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_07_3011.jpg
/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_11_3764.jpg
/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_13_2570.jpg
/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_17_3601.jpg
/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_20_2723.jpg
/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_22_2669.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":["1396237411","1396237416","1396237419","1396237427","1396237421","1396237424"],"photo_ids_order":["1396237411","1396237416","1396237419","1396237421","1396237424","1396237427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4e5b3871aabf74b802a431d37569c309.jpg","text":"TemporaryFile(/tmp/multipartBody6492567955662505984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152103838,"filename":"image_26112025_06_33_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/26/a4f0e518ad0863372afbcde86e6571c1.jpg","text":"TemporaryFile(/tmp/multipartBody6749644092146114579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152103838,"filename":"image_26112025_06_33_11_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/26/624e5758d442b12d844d9496d837bdeb.jpg","text":"TemporaryFile(/tmp/multipartBody4640726586232992015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152103838,"filename":"image_26112025_06_33_13_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/26/9839cbbb4be99df4ad9f34f3d20a05b7.jpg","text":"TemporaryFile(/tmp/multipartBody5672681151055515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152103838,"filename":"image_26112025_06_33_22_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9bb3b6511f33e0fe8130f91d83582235.jpg","text":"TemporaryFile(/tmp/multipartBody3897368018165415459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152103838,"filename":"image_26112025_06_33_17_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/26/3df3857cc408c2f2f89fcff263cbd96f.jpg","text":"TemporaryFile(/tmp/multipartBody9129810955723683250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152103838,"filename":"image_26112025_06_33_20_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396237419","file1":"1396237416","file0":"1396237411","file4":"1396237424","file5":"1396237427","file3":"1396237421"},"map_files_photo_id_array":[{"photo_id":"1396237427","filename":"file5"},{"photo_id":"1396237419","filename":"file2"},{"photo_id":"1396237424","filename":"file4"},{"photo_id":"1396237416","filename":"file1"},{"photo_id":"1396237411","filename":"file0"},{"photo_id":"1396237421","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396237411":["hashtag1","hashtag2"]},{"1396237416":["hashtag1","hashtag2"]},{"1396237419":["hashtag1","hashtag2"]},{"1396237427":["hashtag1","hashtag2"]},{"1396237421":["hashtag1","hashtag2"]},{"1396237424":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396237411, 1396237416, 1396237419, 1396237427, 1396237421, 1396237424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16947674751282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 11:14:42.335171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_25_2641.jpg', '/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_29_3639.jpg', '/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_31_2708.jpg', '/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_35_3534.jpg', '/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_37_2632.jpg', '/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_40_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_25_2641.jpg
/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_29_3639.jpg
/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_31_2708.jpg
/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_35_3534.jpg
/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_37_2632.jpg
/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_40_2610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396237443","1396237451","1396237439","1396237460","1396237436","1396237441"],"photo_ids_order":["1396237436","1396237439","1396237441","1396237443","1396237451","1396237460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4006dac86b57da1d0f37cc04da536833.jpg","text":"TemporaryFile(/tmp/multipartBody8583449127993139225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152143008,"filename":"image_26112025_06_33_35_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2eaf761f3d67f8d627e9b802dd977363.jpg","text":"TemporaryFile(/tmp/multipartBody3654017585616264068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152143008,"filename":"image_26112025_06_33_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/26/57f7a8c93d2c4478ffed67a48e0b28e6.jpg","text":"TemporaryFile(/tmp/multipartBody4610131136990177490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152143008,"filename":"image_26112025_06_33_29_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/26/adaa2b0e409710de212a02ff1dbd0377.jpg","text":"TemporaryFile(/tmp/multipartBody5147994942781185083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152143008,"filename":"image_26112025_06_33_40_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fd56f9638662eea06fb0ca9250bf53a3.jpg","text":"TemporaryFile(/tmp/multipartBody202315043297249391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152143008,"filename":"image_26112025_06_33_25_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/26/3e46c596e16fbd1b612b967e6f44281b.jpg","text":"TemporaryFile(/tmp/multipartBody84360188468981773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152143008,"filename":"image_26112025_06_33_31_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396237441","file1":"1396237439","file0":"1396237436","file4":"1396237451","file5":"1396237460","file3":"1396237443"},"map_files_photo_id_array":[{"photo_id":"1396237460","filename":"file5"},{"photo_id":"1396237441","filename":"file2"},{"photo_id":"1396237451","filename":"file4"},{"photo_id":"1396237439","filename":"file1"},{"photo_id":"1396237436","filename":"file0"},{"photo_id":"1396237443","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396237443":["hashtag1","hashtag2"]},{"1396237451":["hashtag1","hashtag2"]},{"1396237439":["hashtag1","hashtag2"]},{"1396237460":["hashtag1","hashtag2"]},{"1396237436":["hashtag1","hashtag2"]},{"1396237441":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396237443, 1396237451, 1396237439, 1396237460, 1396237436, 1396237441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.672595500946045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:15:22.568103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_44_3696.jpg', '/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_46_2641.jpg', '/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_49_2623.jpg', '/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_53_3699.jpg', '/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_55_2517.jpg', '/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_59_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_44_3696.jpg
/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_46_2641.jpg
/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_49_2623.jpg
/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_53_3699.jpg
/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_55_2517.jpg
/home/pi/Desktop/images/26112025/06/33/image_26112025_06_33_59_3612.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":["1396237470","1396237473","1396237490","1396237480","1396237468","1396237477"],"photo_ids_order":["1396237468","1396237470","1396237473","1396237477","1396237480","1396237490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/21d1832467b5d3a80faadd24553c5939.jpg","text":"TemporaryFile(/tmp/multipartBody3541978273544746829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152183289,"filename":"image_26112025_06_33_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/26/b96617e52292c6d334ac8467cda4b0cb.jpg","text":"TemporaryFile(/tmp/multipartBody3902002363014844723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152183289,"filename":"image_26112025_06_33_49_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/26/dbe4956ad8a166ee4efa24d9c1991e17.jpg","text":"TemporaryFile(/tmp/multipartBody8905750978221792726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152183289,"filename":"image_26112025_06_33_59_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/673c697cafd10c8edd0e0aa730eae85d.jpg","text":"TemporaryFile(/tmp/multipartBody1582203149984914405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152183289,"filename":"image_26112025_06_33_55_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/26/504059a082e95ba2625ad8433a6e131e.jpg","text":"TemporaryFile(/tmp/multipartBody1067495141337908033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152183289,"filename":"image_26112025_06_33_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/26/5db4050b111207acd3f0a0d287dfada3.jpg","text":"TemporaryFile(/tmp/multipartBody7405749189683661984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152183289,"filename":"image_26112025_06_33_53_3699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396237473","file1":"1396237470","file0":"1396237468","file4":"1396237480","file5":"1396237490","file3":"1396237477"},"map_files_photo_id_array":[{"photo_id":"1396237490","filename":"file5"},{"photo_id":"1396237473","filename":"file2"},{"photo_id":"1396237480","filename":"file4"},{"photo_id":"1396237470","filename":"file1"},{"photo_id":"1396237468","filename":"file0"},{"photo_id":"1396237477","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396237470":["hashtag1","hashtag2"]},{"1396237473":["hashtag1","hashtag2"]},{"1396237490":["hashtag1","hashtag2"]},{"1396237480":["hashtag1","hashtag2"]},{"1396237468":["hashtag1","hashtag2"]},{"1396237477":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396237470, 1396237473, 1396237490, 1396237480, 1396237468, 1396237477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68247699737549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:16:02.268103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/34/image_26112025_06_34_02_2736.jpg', '/home/pi/Desktop/images/26112025/06/34/image_26112025_06_34_04_2584.jpg', '/home/pi/Desktop/images/26112025/06/34/image_26112025_06_34_08_3633.jpg', '/home/pi/Desktop/images/26112025/06/34/image_26112025_06_34_10_2493.jpg', '/home/pi/Desktop/images/26112025/06/34/image_26112025_06_34_13_2864.jpg', '/home/pi/Desktop/images/26112025/06/35/image_26112025_06_35_07_3015.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/34/image_26112025_06_34_02_2736.jpg
/home/pi/Desktop/images/26112025/06/34/image_26112025_06_34_04_2584.jpg
/home/pi/Desktop/images/26112025/06/34/image_26112025_06_34_08_3633.jpg
/home/pi/Desktop/images/26112025/06/34/image_26112025_06_34_10_2493.jpg
/home/pi/Desktop/images/26112025/06/34/image_26112025_06_34_13_2864.jpg
/home/pi/Desktop/images/26112025/06/35/image_26112025_06_35_07_3015.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":["1396237494","1396237509","1396237499","1396237502","1396237492","1396237505"],"photo_ids_order":["1396237492","1396237494","1396237499","1396237502","1396237505","1396237509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a5c534112c23ca79e86729b0925e87f7.jpg","text":"TemporaryFile(/tmp/multipartBody7364056103019257734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152222993,"filename":"image_26112025_06_34_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/26/ba62193ebaddb163379f39fec1695262.jpg","text":"TemporaryFile(/tmp/multipartBody3581633739171995186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152222993,"filename":"image_26112025_06_35_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/26/26b7561a6a491c2a040c1d653d924e8f.jpg","text":"TemporaryFile(/tmp/multipartBody3524654335257619411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152222993,"filename":"image_26112025_06_34_08_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/26/d685580ce9e10e88d50c890119d3e6aa.jpg","text":"TemporaryFile(/tmp/multipartBody7974108376412348566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152222993,"filename":"image_26112025_06_34_10_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/26/3678bfbbe0f025f76c6406100aae3c93.jpg","text":"TemporaryFile(/tmp/multipartBody7252467097544973716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152222993,"filename":"image_26112025_06_34_02_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/26/1f1ea6444e77730d108d120a0356d319.jpg","text":"TemporaryFile(/tmp/multipartBody7940927456909320707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152222993,"filename":"image_26112025_06_34_13_2864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396237499","file1":"1396237494","file0":"1396237492","file4":"1396237505","file5":"1396237509","file3":"1396237502"},"map_files_photo_id_array":[{"photo_id":"1396237509","filename":"file5"},{"photo_id":"1396237499","filename":"file2"},{"photo_id":"1396237505","filename":"file4"},{"photo_id":"1396237494","filename":"file1"},{"photo_id":"1396237492","filename":"file0"},{"photo_id":"1396237502","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396237494":["hashtag1","hashtag2"]},{"1396237509":["hashtag1","hashtag2"]},{"1396237499":["hashtag1","hashtag2"]},{"1396237502":["hashtag1","hashtag2"]},{"1396237492":["hashtag1","hashtag2"]},{"1396237505":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396237494, 1396237509, 1396237499, 1396237502, 1396237492, 1396237505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.929738998413086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 11:16:41.757781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/35/image_26112025_06_35_10_3805.jpg', '/home/pi/Desktop/images/26112025/06/35/image_26112025_06_35_13_2642.jpg', '/home/pi/Desktop/images/26112025/06/35/image_26112025_06_35_16_2867.jpg', '/home/pi/Desktop/images/26112025/06/35/image_26112025_06_35_19_2717.jpg', '/home/pi/Desktop/images/26112025/06/35/image_26112025_06_35_22_3506.jpg', '/home/pi/Desktop/images/26112025/06/35/image_26112025_06_35_34_12036.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/35/image_26112025_06_35_10_3805.jpg
/home/pi/Desktop/images/26112025/06/35/image_26112025_06_35_13_2642.jpg
/home/pi/Desktop/images/26112025/06/35/image_26112025_06_35_16_2867.jpg
/home/pi/Desktop/images/26112025/06/35/image_26112025_06_35_19_2717.jpg
/home/pi/Desktop/images/26112025/06/35/image_26112025_06_35_22_3506.jpg
/home/pi/Desktop/images/26112025/06/35/image_26112025_06_35_34_12036.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":["1396237531","1396237525","1396237515","1396237518","1396237520","1396237540"],"photo_ids_order":["1396237515","1396237518","1396237520","1396237525","1396237531","1396237540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e668ae9ae13ff08f2827571d2a0249c4.jpg","text":"TemporaryFile(/tmp/multipartBody1179872147643123431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152262462,"filename":"image_26112025_06_35_22_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/26/0cb1c31b68aacdc46c541023516e3216.jpg","text":"TemporaryFile(/tmp/multipartBody1985634629219327693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152262462,"filename":"image_26112025_06_35_19_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/26/3186316a80f867e84e91b86bad932bb2.jpg","text":"TemporaryFile(/tmp/multipartBody5503327102492360553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152262462,"filename":"image_26112025_06_35_10_3805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/23225d81d57e58c321ad66ad087ed3e7.jpg","text":"TemporaryFile(/tmp/multipartBody1599215501616934441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152262462,"filename":"image_26112025_06_35_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/26/0941f97b2f16a686b0a2ed1995cf49e2.jpg","text":"TemporaryFile(/tmp/multipartBody822368828386206976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152262462,"filename":"image_26112025_06_35_16_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/26/87ff6a8f4ad5bea77fabd19e9cae33b2.jpg","text":"TemporaryFile(/tmp/multipartBody1881606779293573663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152262462,"filename":"image_26112025_06_35_34_12036.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396237520","file1":"1396237518","file0":"1396237515","file4":"1396237531","file5":"1396237540","file3":"1396237525"},"map_files_photo_id_array":[{"photo_id":"1396237540","filename":"file5"},{"photo_id":"1396237520","filename":"file2"},{"photo_id":"1396237531","filename":"file4"},{"photo_id":"1396237518","filename":"file1"},{"photo_id":"1396237515","filename":"file0"},{"photo_id":"1396237525","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396237531":["hashtag1","hashtag2"]},{"1396237525":["hashtag1","hashtag2"]},{"1396237515":["hashtag1","hashtag2"]},{"1396237518":["hashtag1","hashtag2"]},{"1396237520":["hashtag1","hashtag2"]},{"1396237540":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396237531, 1396237525, 1396237515, 1396237518, 1396237520, 1396237540)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.12730312347412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:17:31.831184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/35/image_26112025_06_35_36_1696.jpg', '/home/pi/Desktop/images/26112025/06/35/image_26112025_06_35_37_1594.jpg', '/home/pi/Desktop/images/26112025/06/35/image_26112025_06_35_39_1546.jpg', '/home/pi/Desktop/images/26112025/06/35/image_26112025_06_35_41_1620.jpg', '/home/pi/Desktop/images/26112025/06/35/image_26112025_06_35_42_1628.jpg', '/home/pi/Desktop/images/26112025/06/35/image_26112025_06_36_00_18214.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/35/image_26112025_06_35_36_1696.jpg
/home/pi/Desktop/images/26112025/06/35/image_26112025_06_35_37_1594.jpg
/home/pi/Desktop/images/26112025/06/35/image_26112025_06_35_39_1546.jpg
/home/pi/Desktop/images/26112025/06/35/image_26112025_06_35_41_1620.jpg
/home/pi/Desktop/images/26112025/06/35/image_26112025_06_35_42_1628.jpg
/home/pi/Desktop/images/26112025/06/35/image_26112025_06_36_00_18214.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":["1396237552","1396237572","1396237556","1396237565","1396237559","1396237570"],"photo_ids_order":["1396237552","1396237556","1396237559","1396237565","1396237570","1396237572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cc0539c33b74601f4285f9a33fce8c49.jpg","text":"TemporaryFile(/tmp/multipartBody3391566601747392258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152312512,"filename":"image_26112025_06_35_36_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/26/4e4c4116fa6f939f140eea17f9b23941.jpg","text":"TemporaryFile(/tmp/multipartBody7533639863123790615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152312512,"filename":"image_26112025_06_36_00_18214.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4a3558145f29abab6ec0b425edd74309.jpg","text":"TemporaryFile(/tmp/multipartBody2675773493065454511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152312512,"filename":"image_26112025_06_35_37_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/26/14da3f9872bc3ee9e84e7e1e3850a461.jpg","text":"TemporaryFile(/tmp/multipartBody4050477880919991975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152312512,"filename":"image_26112025_06_35_41_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/26/a7bd985c284a4c2237664186cdd6d781.jpg","text":"TemporaryFile(/tmp/multipartBody2646438215132675041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152312512,"filename":"image_26112025_06_35_39_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/26/e75bc78c81d2f22f6e0d89407f52671b.jpg","text":"TemporaryFile(/tmp/multipartBody1034467652462749856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152312512,"filename":"image_26112025_06_35_42_1628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396237559","file1":"1396237556","file0":"1396237552","file4":"1396237570","file5":"1396237572","file3":"1396237565"},"map_files_photo_id_array":[{"photo_id":"1396237572","filename":"file5"},{"photo_id":"1396237559","filename":"file2"},{"photo_id":"1396237570","filename":"file4"},{"photo_id":"1396237556","filename":"file1"},{"photo_id":"1396237552","filename":"file0"},{"photo_id":"1396237565","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396237552":["hashtag1","hashtag2"]},{"1396237572":["hashtag1","hashtag2"]},{"1396237556":["hashtag1","hashtag2"]},{"1396237565":["hashtag1","hashtag2"]},{"1396237559":["hashtag1","hashtag2"]},{"1396237570":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396237552, 1396237572, 1396237556, 1396237565, 1396237559, 1396237570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40820527076721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:18:12.035912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/36/image_26112025_06_36_02_1644.jpg', '/home/pi/Desktop/images/26112025/06/36/image_26112025_06_36_04_1542.jpg', '/home/pi/Desktop/images/26112025/06/36/image_26112025_06_36_05_1583.jpg', '/home/pi/Desktop/images/26112025/06/36/image_26112025_06_36_07_1612.jpg', '/home/pi/Desktop/images/26112025/06/36/image_26112025_06_36_09_1721.jpg', '/home/pi/Desktop/images/26112025/06/36/image_26112025_06_36_20_11317.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/36/image_26112025_06_36_02_1644.jpg
/home/pi/Desktop/images/26112025/06/36/image_26112025_06_36_04_1542.jpg
/home/pi/Desktop/images/26112025/06/36/image_26112025_06_36_05_1583.jpg
/home/pi/Desktop/images/26112025/06/36/image_26112025_06_36_07_1612.jpg
/home/pi/Desktop/images/26112025/06/36/image_26112025_06_36_09_1721.jpg
/home/pi/Desktop/images/26112025/06/36/image_26112025_06_36_20_11317.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":["1396237578","1396237581","1396237592","1396237589","1396237585","1396237576"],"photo_ids_order":["1396237576","1396237578","1396237581","1396237585","1396237589","1396237592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6d9f91f9dd9e05d1fc7d72b372cda495.jpg","text":"TemporaryFile(/tmp/multipartBody1027859154564070631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152352803,"filename":"image_26112025_06_36_04_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1f202d7730aae7191c941cf3b70c954e.jpg","text":"TemporaryFile(/tmp/multipartBody3919736598642811600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152352803,"filename":"image_26112025_06_36_05_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/26/ffde905c3105c083ccfbd75b2f32c9d5.jpg","text":"TemporaryFile(/tmp/multipartBody4437814533883278617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152352803,"filename":"image_26112025_06_36_20_11317.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5bf5b5a89338142ac834cfceb6d62288.jpg","text":"TemporaryFile(/tmp/multipartBody8799225429389353844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152352803,"filename":"image_26112025_06_36_09_1721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ecc1764faec5ed9372491a1052b9430b.jpg","text":"TemporaryFile(/tmp/multipartBody7047854782187274830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152352803,"filename":"image_26112025_06_36_07_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/26/24dc59dcb80fe0079185466dc9ec31f0.jpg","text":"TemporaryFile(/tmp/multipartBody5095499139562686520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152352803,"filename":"image_26112025_06_36_02_1644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396237581","file1":"1396237578","file0":"1396237576","file4":"1396237589","file5":"1396237592","file3":"1396237585"},"map_files_photo_id_array":[{"photo_id":"1396237592","filename":"file5"},{"photo_id":"1396237581","filename":"file2"},{"photo_id":"1396237589","filename":"file4"},{"photo_id":"1396237578","filename":"file1"},{"photo_id":"1396237576","filename":"file0"},{"photo_id":"1396237585","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396237578":["hashtag1","hashtag2"]},{"1396237581":["hashtag1","hashtag2"]},{"1396237592":["hashtag1","hashtag2"]},{"1396237589":["hashtag1","hashtag2"]},{"1396237585":["hashtag1","hashtag2"]},{"1396237576":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396237578, 1396237581, 1396237592, 1396237589, 1396237585, 1396237576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40498375892639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:19:03.648312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/36/image_26112025_06_36_21_1599.jpg', '/home/pi/Desktop/images/26112025/06/36/image_26112025_06_36_23_1700.jpg', '/home/pi/Desktop/images/26112025/06/36/image_26112025_06_36_25_1680.jpg', '/home/pi/Desktop/images/26112025/06/36/image_26112025_06_36_35_9893.jpg', '/home/pi/Desktop/images/26112025/06/36/image_26112025_06_36_37_1802.jpg', '/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/36/image_26112025_06_36_21_1599.jpg
/home/pi/Desktop/images/26112025/06/36/image_26112025_06_36_23_1700.jpg
/home/pi/Desktop/images/26112025/06/36/image_26112025_06_36_25_1680.jpg
/home/pi/Desktop/images/26112025/06/36/image_26112025_06_36_35_9893.jpg
/home/pi/Desktop/images/26112025/06/36/image_26112025_06_36_37_1802.jpg
/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_07_3011.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":["1396237860","1396237899","1396237743","1396237820","1396237783","1396237700"],"photo_ids_order":["1396237700","1396237743","1396237783","1396237820","1396237860","1396237899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6fe0a271930844be17ce6332de17b440.jpg","text":"TemporaryFile(/tmp/multipartBody3614089949669833215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152404473,"filename":"image_26112025_06_36_37_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/26/8ac322eb96cd5b479185f7acc96c05bc.jpg","text":"TemporaryFile(/tmp/multipartBody1749302783042423289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152404473,"filename":"image_26112025_06_38_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/26/4523cc02a50861705a7ec385efb9a1a8.jpg","text":"TemporaryFile(/tmp/multipartBody3908306306106119451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152404473,"filename":"image_26112025_06_36_23_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/26/cd49e681412922ccede49f410b9e8a29.jpg","text":"TemporaryFile(/tmp/multipartBody8496012444591114046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152404473,"filename":"image_26112025_06_36_35_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dfbee87f8a2e9502d77313b607b88611.jpg","text":"TemporaryFile(/tmp/multipartBody4219096338291075835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152404473,"filename":"image_26112025_06_36_25_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/63f7cd5384e89f4b4ac6769f9bbbdff2.jpg","text":"TemporaryFile(/tmp/multipartBody7173305578103492585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152404473,"filename":"image_26112025_06_36_21_1599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396237783","file1":"1396237743","file0":"1396237700","file4":"1396237860","file5":"1396237899","file3":"1396237820"},"map_files_photo_id_array":[{"photo_id":"1396237899","filename":"file5"},{"photo_id":"1396237783","filename":"file2"},{"photo_id":"1396237860","filename":"file4"},{"photo_id":"1396237743","filename":"file1"},{"photo_id":"1396237700","filename":"file0"},{"photo_id":"1396237820","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396237860":["hashtag1","hashtag2"]},{"1396237899":["hashtag1","hashtag2"]},{"1396237743":["hashtag1","hashtag2"]},{"1396237820":["hashtag1","hashtag2"]},{"1396237783":["hashtag1","hashtag2"]},{"1396237700":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396237860, 1396237899, 1396237743, 1396237820, 1396237783, 1396237700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33354139328003 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 11:19:42.602478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_11_3582.jpg', '/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_13_2636.jpg', '/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_17_3568.jpg', '/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_19_2511.jpg', '/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_22_2765.jpg', '/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_26_3581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_11_3582.jpg
/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_13_2636.jpg
/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_17_3568.jpg
/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_19_2511.jpg
/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_22_2765.jpg
/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_26_3581.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":["1396237953","1396237955","1396237949","1396237958","1396237937","1396237951"],"photo_ids_order":["1396237937","1396237949","1396237951","1396237953","1396237955","1396237958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/36145e3f216e5330383a0657a7fcbab7.jpg","text":"TemporaryFile(/tmp/multipartBody6638923256786289736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152443275,"filename":"image_26112025_06_38_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/26/670f8b176adf1fcca868d3d665dc5655.jpg","text":"TemporaryFile(/tmp/multipartBody1814046882406334986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152443275,"filename":"image_26112025_06_38_22_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/26/10292772ffb59dac677fed8de259f3e0.jpg","text":"TemporaryFile(/tmp/multipartBody2092225013831756532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152443275,"filename":"image_26112025_06_38_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/26/c3bb828eecab111ad1b8a01de07ab645.jpg","text":"TemporaryFile(/tmp/multipartBody9132211491775643652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152443275,"filename":"image_26112025_06_38_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/26/111edc863a64a2f76fd892dc5fb12a3b.jpg","text":"TemporaryFile(/tmp/multipartBody3944812195845680619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152443275,"filename":"image_26112025_06_38_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/26/950c58906d09433b3eb6dd7f67e533ae.jpg","text":"TemporaryFile(/tmp/multipartBody6067437188400342789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152443275,"filename":"image_26112025_06_38_17_3568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396237951","file1":"1396237949","file0":"1396237937","file4":"1396237955","file5":"1396237958","file3":"1396237953"},"map_files_photo_id_array":[{"photo_id":"1396237958","filename":"file5"},{"photo_id":"1396237951","filename":"file2"},{"photo_id":"1396237955","filename":"file4"},{"photo_id":"1396237949","filename":"file1"},{"photo_id":"1396237937","filename":"file0"},{"photo_id":"1396237953","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396237953":["hashtag1","hashtag2"]},{"1396237955":["hashtag1","hashtag2"]},{"1396237949":["hashtag1","hashtag2"]},{"1396237958":["hashtag1","hashtag2"]},{"1396237937":["hashtag1","hashtag2"]},{"1396237951":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396237953, 1396237955, 1396237949, 1396237958, 1396237937, 1396237951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41375112533569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:20:21.748529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_28_2548.jpg', '/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_32_3581.jpg', '/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_34_2593.jpg', '/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_37_2716.jpg', '/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_41_3560.jpg', '/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_43_2529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_28_2548.jpg
/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_32_3581.jpg
/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_34_2593.jpg
/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_37_2716.jpg
/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_41_3560.jpg
/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_43_2529.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":["1396237986","1396237970","1396237981","1396237975","1396237978","1396237966"],"photo_ids_order":["1396237966","1396237970","1396237975","1396237978","1396237981","1396237986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c167074f5e9927eaccffde231bf22bab.jpg","text":"TemporaryFile(/tmp/multipartBody1986672664563929637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152482429,"filename":"image_26112025_06_38_43_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/26/d207b29d06851d949baf30b14fd36a7d.jpg","text":"TemporaryFile(/tmp/multipartBody2901117690236520995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152482429,"filename":"image_26112025_06_38_32_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/26/c0089f1c05511853905e07030b5e160b.jpg","text":"TemporaryFile(/tmp/multipartBody6395229241139819735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152482429,"filename":"image_26112025_06_38_41_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/26/f05f497dd2b8b84cca0091de8ef8a9a7.jpg","text":"TemporaryFile(/tmp/multipartBody927753990028561146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152482429,"filename":"image_26112025_06_38_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/26/054888963af44556f99bd34b61278e7a.jpg","text":"TemporaryFile(/tmp/multipartBody6119780077879720599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152482429,"filename":"image_26112025_06_38_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/26/5ad132c791ee69e66895217ce51f49d3.jpg","text":"TemporaryFile(/tmp/multipartBody4457434019424682129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152482429,"filename":"image_26112025_06_38_28_2548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396237975","file1":"1396237970","file0":"1396237966","file4":"1396237981","file5":"1396237986","file3":"1396237978"},"map_files_photo_id_array":[{"photo_id":"1396237986","filename":"file5"},{"photo_id":"1396237975","filename":"file2"},{"photo_id":"1396237981","filename":"file4"},{"photo_id":"1396237970","filename":"file1"},{"photo_id":"1396237966","filename":"file0"},{"photo_id":"1396237978","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396237986":["hashtag1","hashtag2"]},{"1396237970":["hashtag1","hashtag2"]},{"1396237981":["hashtag1","hashtag2"]},{"1396237975":["hashtag1","hashtag2"]},{"1396237978":["hashtag1","hashtag2"]},{"1396237966":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396237986, 1396237970, 1396237981, 1396237975, 1396237978, 1396237966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36076998710632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:21:02.747541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:21:21.999414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_47_3613.jpg', '/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_50_2704.jpg', '/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_52_2561.jpg', '/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_55_3134.jpg', '/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_59_3600.jpg', '/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_47_3613.jpg
/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_50_2704.jpg
/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_52_2561.jpg
/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_55_3134.jpg
/home/pi/Desktop/images/26112025/06/38/image_26112025_06_38_59_3600.jpg
/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_07_3011.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396237998","1396238013","1396238021","1396238030","1396238024","1396238027"],"photo_ids_order":["1396237998","1396238013","1396238021","1396238024","1396238027","1396238030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/44d47dd95048ba97e196e04d561d0314.jpg","text":"TemporaryFile(/tmp/multipartBody1003604658632622112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152542671,"filename":"image_26112025_06_38_47_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/26/80a7fef297191bf8dc046df8934167ce.jpg","text":"TemporaryFile(/tmp/multipartBody3128109840893967166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152542671,"filename":"image_26112025_06_38_50_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/26/435a75723237ea2deb5ae51b5fb6a7e6.jpg","text":"TemporaryFile(/tmp/multipartBody989104407746847976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152542671,"filename":"image_26112025_06_38_52_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/26/c531363e7e6bd288832bbdd5c7c3a66b.jpg","text":"TemporaryFile(/tmp/multipartBody1939647225781345442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152542671,"filename":"image_26112025_06_40_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/26/86c2086dd1102e116b6486cb3cf753a3.jpg","text":"TemporaryFile(/tmp/multipartBody3899001559593691947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152542671,"filename":"image_26112025_06_38_55_3134.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4b72e8cc87e80e490123cb84d945969d.jpg","text":"TemporaryFile(/tmp/multipartBody8359543284181875074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152542671,"filename":"image_26112025_06_38_59_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238021","file1":"1396238013","file0":"1396237998","file4":"1396238027","file5":"1396238030","file3":"1396238024"},"map_files_photo_id_array":[{"photo_id":"1396238030","filename":"file5"},{"photo_id":"1396238021","filename":"file2"},{"photo_id":"1396238027","filename":"file4"},{"photo_id":"1396238013","filename":"file1"},{"photo_id":"1396237998","filename":"file0"},{"photo_id":"1396238024","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396237998":["hashtag1","hashtag2"]},{"1396238013":["hashtag1","hashtag2"]},{"1396238021":["hashtag1","hashtag2"]},{"1396238030":["hashtag1","hashtag2"]},{"1396238024":["hashtag1","hashtag2"]},{"1396238027":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396237998, 1396238013, 1396238021, 1396238030, 1396238024, 1396238027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95469355583191 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:22:02.829203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_11_3575.jpg', '/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_13_2528.jpg', '/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_17_3539.jpg', '/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_19_2594.jpg', '/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_22_2805.jpg', '/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_26_3557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_11_3575.jpg
/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_13_2528.jpg
/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_17_3539.jpg
/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_19_2594.jpg
/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_22_2805.jpg
/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_26_3557.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":["1396238049","1396238040","1396238037","1396238046","1396238033","1396238042"],"photo_ids_order":["1396238033","1396238037","1396238040","1396238042","1396238046","1396238049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0d16ef7aaa4fee572396b5dc048286a7.jpg","text":"TemporaryFile(/tmp/multipartBody8668084435988742425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152583542,"filename":"image_26112025_06_40_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/26/603986e4127bfa38803dbe652fd69611.jpg","text":"TemporaryFile(/tmp/multipartBody7043360207123833888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152583542,"filename":"image_26112025_06_40_17_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/26/66ad38df9a7b97aad2794c1747551e29.jpg","text":"TemporaryFile(/tmp/multipartBody3011770869241238099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152583542,"filename":"image_26112025_06_40_13_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/26/2b711a5efa683cf24c69b23c43403418.jpg","text":"TemporaryFile(/tmp/multipartBody502777149374437389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152583542,"filename":"image_26112025_06_40_22_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/26/fb2bbf69b87354dfbd5d763fe0d80745.jpg","text":"TemporaryFile(/tmp/multipartBody8569081748083538105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152583542,"filename":"image_26112025_06_40_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/26/738e4797194292f4d477ff2fb7b884aa.jpg","text":"TemporaryFile(/tmp/multipartBody9081427277717438374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152583542,"filename":"image_26112025_06_40_19_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238040","file1":"1396238037","file0":"1396238033","file4":"1396238046","file5":"1396238049","file3":"1396238042"},"map_files_photo_id_array":[{"photo_id":"1396238049","filename":"file5"},{"photo_id":"1396238040","filename":"file2"},{"photo_id":"1396238046","filename":"file4"},{"photo_id":"1396238037","filename":"file1"},{"photo_id":"1396238033","filename":"file0"},{"photo_id":"1396238042","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396238049":["hashtag1","hashtag2"]},{"1396238040":["hashtag1","hashtag2"]},{"1396238037":["hashtag1","hashtag2"]},{"1396238046":["hashtag1","hashtag2"]},{"1396238033":["hashtag1","hashtag2"]},{"1396238042":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396238049, 1396238040, 1396238037, 1396238046, 1396238033, 1396238042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53470492362976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 11:22:42.349785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_29_2726.jpg', '/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_33_4429.jpg', '/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_35_1577.jpg', '/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_37_2784.jpg', '/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_41_3657.jpg', '/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_44_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_29_2726.jpg
/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_33_4429.jpg
/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_35_1577.jpg
/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_37_2784.jpg
/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_41_3657.jpg
/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_44_2658.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":["1396238067","1396238084","1396238072","1396238069","1396238063","1396238065"],"photo_ids_order":["1396238063","1396238065","1396238067","1396238069","1396238072","1396238084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b4a4b21c94a351a2a308b1f8753fc8ca.jpg","text":"TemporaryFile(/tmp/multipartBody5624042805297596253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152623063,"filename":"image_26112025_06_40_35_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/26/2d159e78de50f63bc4c569fe21d95ce9.jpg","text":"TemporaryFile(/tmp/multipartBody3239349392423001268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152623063,"filename":"image_26112025_06_40_44_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/26/92b7c8875674307f447a2df92f69162a.jpg","text":"TemporaryFile(/tmp/multipartBody471871481881323102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152623063,"filename":"image_26112025_06_40_41_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/446ffa2828be28964303c3261b5d4bcc.jpg","text":"TemporaryFile(/tmp/multipartBody8048710668384108631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152623063,"filename":"image_26112025_06_40_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/26/1d86ac5397dc6232528427e4fadf65f9.jpg","text":"TemporaryFile(/tmp/multipartBody4661623974353835296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152623063,"filename":"image_26112025_06_40_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/26/7b828427fb5e2c3f8815c749f32d41af.jpg","text":"TemporaryFile(/tmp/multipartBody6607548162850074755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152623063,"filename":"image_26112025_06_40_33_4429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238067","file1":"1396238065","file0":"1396238063","file4":"1396238072","file5":"1396238084","file3":"1396238069"},"map_files_photo_id_array":[{"photo_id":"1396238084","filename":"file5"},{"photo_id":"1396238067","filename":"file2"},{"photo_id":"1396238072","filename":"file4"},{"photo_id":"1396238065","filename":"file1"},{"photo_id":"1396238063","filename":"file0"},{"photo_id":"1396238069","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396238067":["hashtag1","hashtag2"]},{"1396238084":["hashtag1","hashtag2"]},{"1396238072":["hashtag1","hashtag2"]},{"1396238069":["hashtag1","hashtag2"]},{"1396238063":["hashtag1","hashtag2"]},{"1396238065":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396238067, 1396238084, 1396238072, 1396238069, 1396238063, 1396238065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43885564804077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:23:22.525585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_46_2550.jpg', '/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_50_3697.jpg', '/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_53_2647.jpg', '/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_55_2714.jpg', '/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_59_3677.jpg', '/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_07_3066.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_46_2550.jpg
/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_50_3697.jpg
/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_53_2647.jpg
/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_55_2714.jpg
/home/pi/Desktop/images/26112025/06/40/image_26112025_06_40_59_3677.jpg
/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_07_3066.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":["1396238112","1396238106","1396238102","1396238092","1396238095","1396238098"],"photo_ids_order":["1396238092","1396238095","1396238098","1396238102","1396238106","1396238112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/80cd543061832bce820d1ac9c23c03ab.jpg","text":"TemporaryFile(/tmp/multipartBody2419046427978205135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152663242,"filename":"image_26112025_06_42_07_3066.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dceefa7b0cf8e25d9ee1cb49824d0839.jpg","text":"TemporaryFile(/tmp/multipartBody6826746447882103075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152663242,"filename":"image_26112025_06_40_59_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/26/19ff45bc82a3a937572efe2f1f0de54e.jpg","text":"TemporaryFile(/tmp/multipartBody968038826559172254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152663242,"filename":"image_26112025_06_40_55_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/260d5158c95413a9f31f4bf300d6eda3.jpg","text":"TemporaryFile(/tmp/multipartBody2235563908200514296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152663242,"filename":"image_26112025_06_40_46_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/26/9c4e77b3cdf4b3c1d37ad0efc6cd3158.jpg","text":"TemporaryFile(/tmp/multipartBody7229949806346513454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152663242,"filename":"image_26112025_06_40_50_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/26/d95769aff90fb1f4994f69d300ecc898.jpg","text":"TemporaryFile(/tmp/multipartBody9171761195243946336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152663242,"filename":"image_26112025_06_40_53_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238098","file1":"1396238095","file0":"1396238092","file4":"1396238106","file5":"1396238112","file3":"1396238102"},"map_files_photo_id_array":[{"photo_id":"1396238112","filename":"file5"},{"photo_id":"1396238098","filename":"file2"},{"photo_id":"1396238106","filename":"file4"},{"photo_id":"1396238095","filename":"file1"},{"photo_id":"1396238092","filename":"file0"},{"photo_id":"1396238102","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396238112":["hashtag1","hashtag2"]},{"1396238106":["hashtag1","hashtag2"]},{"1396238102":["hashtag1","hashtag2"]},{"1396238092":["hashtag1","hashtag2"]},{"1396238095":["hashtag1","hashtag2"]},{"1396238098":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396238112, 1396238106, 1396238102, 1396238092, 1396238095, 1396238098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46432185173035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:24:02.774983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_10_3042.jpg', '/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_13_3574.jpg', '/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_16_2653.jpg', '/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_20_3576.jpg', '/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_22_2492.jpg', '/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_25_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_10_3042.jpg
/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_13_3574.jpg
/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_16_2653.jpg
/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_20_3576.jpg
/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_22_2492.jpg
/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_25_2579.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":["1396238126","1396238129","1396238138","1396238123","1396238131","1396238134"],"photo_ids_order":["1396238123","1396238126","1396238129","1396238131","1396238134","1396238138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/48c5b46b6ab683132d1554f6b4d8d8a5.jpg","text":"TemporaryFile(/tmp/multipartBody5007700522853287662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152703609,"filename":"image_26112025_06_42_13_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/26/2d386fcee3e0e5eb18200bd121d23787.jpg","text":"TemporaryFile(/tmp/multipartBody5214696398598612258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152703609,"filename":"image_26112025_06_42_16_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/26/fc5efed1b6d0e6d4b1473df697581087.jpg","text":"TemporaryFile(/tmp/multipartBody8219094172262050418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152703609,"filename":"image_26112025_06_42_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/26/28a4656e08284d31d4e593d21f5eb550.jpg","text":"TemporaryFile(/tmp/multipartBody6643355891161983197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152703609,"filename":"image_26112025_06_42_10_3042.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5814ab60290e5f5975aff2a2e74c3b2a.jpg","text":"TemporaryFile(/tmp/multipartBody2456212615708797113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152703609,"filename":"image_26112025_06_42_20_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8c6ab284492caab0597a925eaf1eb6a4.jpg","text":"TemporaryFile(/tmp/multipartBody8961123834303413606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152703609,"filename":"image_26112025_06_42_22_2492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238129","file1":"1396238126","file0":"1396238123","file4":"1396238134","file5":"1396238138","file3":"1396238131"},"map_files_photo_id_array":[{"photo_id":"1396238138","filename":"file5"},{"photo_id":"1396238129","filename":"file2"},{"photo_id":"1396238134","filename":"file4"},{"photo_id":"1396238126","filename":"file1"},{"photo_id":"1396238123","filename":"file0"},{"photo_id":"1396238131","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396238126":["hashtag1","hashtag2"]},{"1396238129":["hashtag1","hashtag2"]},{"1396238138":["hashtag1","hashtag2"]},{"1396238123":["hashtag1","hashtag2"]},{"1396238131":["hashtag1","hashtag2"]},{"1396238134":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396238126, 1396238129, 1396238138, 1396238123, 1396238131, 1396238134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.151936292648315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 11:24:42.218788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_28_3552.jpg', '/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_31_2497.jpg', '/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_37_2584.jpg', '/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_49_11481.jpg', '/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_50_1541.jpg', '/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_52_1663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_28_3552.jpg
/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_31_2497.jpg
/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_37_2584.jpg
/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_49_11481.jpg
/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_50_1541.jpg
/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_52_1663.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":["1396238160","1396238148","1396238151","1396238150","1396238156","1396238158"],"photo_ids_order":["1396238148","1396238150","1396238151","1396238156","1396238158","1396238160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9545e0f071a25cd7c324bbbcfacfa8ff.jpg","text":"TemporaryFile(/tmp/multipartBody4071259674867703893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152742932,"filename":"image_26112025_06_42_52_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/26/bcc68fbd8443448ebdb75f3a1793cc09.jpg","text":"TemporaryFile(/tmp/multipartBody6543171781741356398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152742932,"filename":"image_26112025_06_42_28_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/26/94b745028cdb3a02b72da2bdf88341dd.jpg","text":"TemporaryFile(/tmp/multipartBody1075042572260882560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152742932,"filename":"image_26112025_06_42_37_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cec8655c4e132b413c442358aa6984ab.jpg","text":"TemporaryFile(/tmp/multipartBody9121337258435558889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152742932,"filename":"image_26112025_06_42_31_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/26/971f636c5846c55d9e745071ea6f2ff2.jpg","text":"TemporaryFile(/tmp/multipartBody7995687979957162687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152742932,"filename":"image_26112025_06_42_49_11481.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/638d0378052d6fb63347867e1000eade.jpg","text":"TemporaryFile(/tmp/multipartBody6722234387363479402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152742932,"filename":"image_26112025_06_42_50_1541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238151","file1":"1396238150","file0":"1396238148","file4":"1396238158","file5":"1396238160","file3":"1396238156"},"map_files_photo_id_array":[{"photo_id":"1396238160","filename":"file5"},{"photo_id":"1396238151","filename":"file2"},{"photo_id":"1396238158","filename":"file4"},{"photo_id":"1396238150","filename":"file1"},{"photo_id":"1396238148","filename":"file0"},{"photo_id":"1396238156","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396238160":["hashtag1","hashtag2"]},{"1396238148":["hashtag1","hashtag2"]},{"1396238151":["hashtag1","hashtag2"]},{"1396238150":["hashtag1","hashtag2"]},{"1396238156":["hashtag1","hashtag2"]},{"1396238158":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396238160, 1396238148, 1396238151, 1396238150, 1396238156, 1396238158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73536801338196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:25:22.378953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_54_1751.jpg', '/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_55_1698.jpg', '/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_57_1620.jpg', '/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_59_1697.jpg', '/home/pi/Desktop/images/26112025/06/44/image_26112025_06_44_07_3011.jpg', '/home/pi/Desktop/images/26112025/06/44/image_26112025_06_44_10_3742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_54_1751.jpg
/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_55_1698.jpg
/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_57_1620.jpg
/home/pi/Desktop/images/26112025/06/42/image_26112025_06_42_59_1697.jpg
/home/pi/Desktop/images/26112025/06/44/image_26112025_06_44_07_3011.jpg
/home/pi/Desktop/images/26112025/06/44/image_26112025_06_44_10_3742.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":["1396238169","1396238180","1396238173","1396238176","1396238179","1396238184"],"photo_ids_order":["1396238169","1396238173","1396238176","1396238179","1396238180","1396238184"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c7d03daa85c5e298622935da44541f86.jpg","text":"TemporaryFile(/tmp/multipartBody2120461490363644908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152783092,"filename":"image_26112025_06_42_54_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/26/b3bb31ef7dd535da4769faeb83b69ee4.jpg","text":"TemporaryFile(/tmp/multipartBody8050508859478857808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152783092,"filename":"image_26112025_06_44_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/26/52d544581f46f7ae7bcfe1f02b7d4fcd.jpg","text":"TemporaryFile(/tmp/multipartBody289632447629178860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152783092,"filename":"image_26112025_06_42_55_1698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/968a1eb52dfdbbaf03cc0e22846b6f5e.jpg","text":"TemporaryFile(/tmp/multipartBody8054026873532869290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152783092,"filename":"image_26112025_06_42_57_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/26/33041707bf8bfb6c7f13f70270cc33d2.jpg","text":"TemporaryFile(/tmp/multipartBody624473055532300666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152783092,"filename":"image_26112025_06_42_59_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/26/603719e31d7e1300dc021a712b43e325.jpg","text":"TemporaryFile(/tmp/multipartBody3970705605552338931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152783092,"filename":"image_26112025_06_44_10_3742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238176","file1":"1396238173","file0":"1396238169","file4":"1396238180","file5":"1396238184","file3":"1396238179"},"map_files_photo_id_array":[{"photo_id":"1396238184","filename":"file5"},{"photo_id":"1396238176","filename":"file2"},{"photo_id":"1396238180","filename":"file4"},{"photo_id":"1396238173","filename":"file1"},{"photo_id":"1396238169","filename":"file0"},{"photo_id":"1396238179","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396238169":["hashtag1","hashtag2"]},{"1396238180":["hashtag1","hashtag2"]},{"1396238173":["hashtag1","hashtag2"]},{"1396238176":["hashtag1","hashtag2"]},{"1396238179":["hashtag1","hashtag2"]},{"1396238184":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396238169, 1396238180, 1396238173, 1396238176, 1396238179, 1396238184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37604522705078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:26:02.221585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/44/image_26112025_06_44_13_2697.jpg', '/home/pi/Desktop/images/26112025/06/44/image_26112025_06_44_16_2681.jpg', '/home/pi/Desktop/images/26112025/06/44/image_26112025_06_44_19_3617.jpg', '/home/pi/Desktop/images/26112025/06/44/image_26112025_06_44_22_2487.jpg', '/home/pi/Desktop/images/26112025/06/44/image_26112025_06_44_25_3588.jpg', '/home/pi/Desktop/images/26112025/06/44/image_26112025_06_44_28_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/44/image_26112025_06_44_13_2697.jpg
/home/pi/Desktop/images/26112025/06/44/image_26112025_06_44_16_2681.jpg
/home/pi/Desktop/images/26112025/06/44/image_26112025_06_44_19_3617.jpg
/home/pi/Desktop/images/26112025/06/44/image_26112025_06_44_22_2487.jpg
/home/pi/Desktop/images/26112025/06/44/image_26112025_06_44_25_3588.jpg
/home/pi/Desktop/images/26112025/06/44/image_26112025_06_44_28_2582.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":["1396238203","1396238196","1396238198","1396238192","1396238200","1396238190"],"photo_ids_order":["1396238190","1396238192","1396238196","1396238198","1396238200","1396238203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0f0b680310d8503b77150255c5d43b04.jpg","text":"TemporaryFile(/tmp/multipartBody4241078857771962512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152822940,"filename":"image_26112025_06_44_28_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/26/7a73b601d700df25ffd42b863c07a73b.jpg","text":"TemporaryFile(/tmp/multipartBody5041401760892163507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152822940,"filename":"image_26112025_06_44_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/26/cf120166325d3163228a93fb11f2eb93.jpg","text":"TemporaryFile(/tmp/multipartBody8058267076107535791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152822940,"filename":"image_26112025_06_44_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/26/1de5e9c3d30385143e1d2734432ee9e1.jpg","text":"TemporaryFile(/tmp/multipartBody2191396642207863672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152822940,"filename":"image_26112025_06_44_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/26/e3e7c6ce2abfebb1664501ae9607b4a1.jpg","text":"TemporaryFile(/tmp/multipartBody4669103485317475338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152822940,"filename":"image_26112025_06_44_25_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/26/164e7ee2d21b5a3ae77787f446c4e6cc.jpg","text":"TemporaryFile(/tmp/multipartBody5501596003575661115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152822940,"filename":"image_26112025_06_44_13_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238196","file1":"1396238192","file0":"1396238190","file4":"1396238200","file5":"1396238203","file3":"1396238198"},"map_files_photo_id_array":[{"photo_id":"1396238203","filename":"file5"},{"photo_id":"1396238196","filename":"file2"},{"photo_id":"1396238200","filename":"file4"},{"photo_id":"1396238192","filename":"file1"},{"photo_id":"1396238190","filename":"file0"},{"photo_id":"1396238198","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396238203":["hashtag1","hashtag2"]},{"1396238196":["hashtag1","hashtag2"]},{"1396238198":["hashtag1","hashtag2"]},{"1396238192":["hashtag1","hashtag2"]},{"1396238200":["hashtag1","hashtag2"]},{"1396238190":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396238203, 1396238196, 1396238198, 1396238192, 1396238200, 1396238190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.134419441223145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 11:26:41.832591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/44/image_26112025_06_44_31_2756.jpg', '/home/pi/Desktop/images/26112025/06/44/image_26112025_06_44_34_3659.jpg', '/home/pi/Desktop/images/26112025/06/44/image_26112025_06_44_37_2519.jpg', '/home/pi/Desktop/images/26112025/06/44/image_26112025_06_44_39_2609.jpg', '/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_07_3011.jpg', '/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_11_3688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/44/image_26112025_06_44_31_2756.jpg
/home/pi/Desktop/images/26112025/06/44/image_26112025_06_44_34_3659.jpg
/home/pi/Desktop/images/26112025/06/44/image_26112025_06_44_37_2519.jpg
/home/pi/Desktop/images/26112025/06/44/image_26112025_06_44_39_2609.jpg
/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_07_3011.jpg
/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_11_3688.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":["1396238229","1396238220","1396238223","1396238228","1396238218","1396238215"],"photo_ids_order":["1396238215","1396238218","1396238220","1396238223","1396238228","1396238229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/93bcbca5775868e807437cae80dd0e28.jpg","text":"TemporaryFile(/tmp/multipartBody7876036179080758738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152862567,"filename":"image_26112025_06_46_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/26/681d2259ff44397d73742c3dca3f1137.jpg","text":"TemporaryFile(/tmp/multipartBody652755892247206919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152862567,"filename":"image_26112025_06_44_37_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/26/f128ea0b085a2c0fceba745aede56a4c.jpg","text":"TemporaryFile(/tmp/multipartBody4457099182325520015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152862567,"filename":"image_26112025_06_44_39_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/81b7d01c4721e5463de5117210ed5c62.jpg","text":"TemporaryFile(/tmp/multipartBody5328069625056178704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152862567,"filename":"image_26112025_06_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/26/9e78b789d5e7d1d0ea69a4bdc2c449bc.jpg","text":"TemporaryFile(/tmp/multipartBody312298652483378299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152862567,"filename":"image_26112025_06_44_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/26/7fa553b2badcab3ffd354abb58159814.jpg","text":"TemporaryFile(/tmp/multipartBody2659242417510084941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152862567,"filename":"image_26112025_06_44_31_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238220","file1":"1396238218","file0":"1396238215","file4":"1396238228","file5":"1396238229","file3":"1396238223"},"map_files_photo_id_array":[{"photo_id":"1396238229","filename":"file5"},{"photo_id":"1396238220","filename":"file2"},{"photo_id":"1396238228","filename":"file4"},{"photo_id":"1396238218","filename":"file1"},{"photo_id":"1396238215","filename":"file0"},{"photo_id":"1396238223","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396238229":["hashtag1","hashtag2"]},{"1396238220":["hashtag1","hashtag2"]},{"1396238223":["hashtag1","hashtag2"]},{"1396238228":["hashtag1","hashtag2"]},{"1396238218":["hashtag1","hashtag2"]},{"1396238215":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396238229, 1396238220, 1396238223, 1396238228, 1396238218, 1396238215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.036365032196045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:27:22.004711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_14_2689.jpg', '/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_16_2662.jpg', '/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_20_3629.jpg', '/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_23_2640.jpg', '/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_25_2744.jpg', '/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_29_3704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_14_2689.jpg
/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_16_2662.jpg
/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_20_3629.jpg
/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_23_2640.jpg
/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_25_2744.jpg
/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_29_3704.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":["1396238243","1396238252","1396238246","1396238249","1396238240","1396238236"],"photo_ids_order":["1396238236","1396238240","1396238243","1396238246","1396238249","1396238252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5aa482b44fd3cdfa70e9955e60e59e67.jpg","text":"TemporaryFile(/tmp/multipartBody1514371629897040096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152902769,"filename":"image_26112025_06_46_20_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/26/cab27657d156d9100d59953036a0da36.jpg","text":"TemporaryFile(/tmp/multipartBody8918711312752747673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152902769,"filename":"image_26112025_06_46_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/26/bdcfa1c5919811d9c52145e9d031f21e.jpg","text":"TemporaryFile(/tmp/multipartBody4499106148142029897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152902769,"filename":"image_26112025_06_46_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/26/367780da560687f1f282511db8b9a982.jpg","text":"TemporaryFile(/tmp/multipartBody3676732805705532593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152902769,"filename":"image_26112025_06_46_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/26/fa05c1b01b4d4e864048af592a7befac.jpg","text":"TemporaryFile(/tmp/multipartBody6444440106218382189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152902769,"filename":"image_26112025_06_46_16_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/26/f8d910914764ee907208d326722d1064.jpg","text":"TemporaryFile(/tmp/multipartBody4742552327555478473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152902769,"filename":"image_26112025_06_46_14_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238243","file1":"1396238240","file0":"1396238236","file4":"1396238249","file5":"1396238252","file3":"1396238246"},"map_files_photo_id_array":[{"photo_id":"1396238252","filename":"file5"},{"photo_id":"1396238243","filename":"file2"},{"photo_id":"1396238249","filename":"file4"},{"photo_id":"1396238240","filename":"file1"},{"photo_id":"1396238236","filename":"file0"},{"photo_id":"1396238246","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396238243":["hashtag1","hashtag2"]},{"1396238252":["hashtag1","hashtag2"]},{"1396238246":["hashtag1","hashtag2"]},{"1396238249":["hashtag1","hashtag2"]},{"1396238240":["hashtag1","hashtag2"]},{"1396238236":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396238243, 1396238252, 1396238246, 1396238249, 1396238240, 1396238236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.851601362228394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:28:04.760903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_32_2572.jpg', '/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_34_2620.jpg', '/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_38_3783.jpg', '/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_41_2700.jpg', '/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_44_2745.jpg', '/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_47_3705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_32_2572.jpg
/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_34_2620.jpg
/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_38_3783.jpg
/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_41_2700.jpg
/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_44_2745.jpg
/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_47_3705.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":["1396238265","1396238259","1396238262","1396238256","1396238285","1396238270"],"photo_ids_order":["1396238256","1396238259","1396238262","1396238265","1396238270","1396238285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6a7d50ee3a114e6416f2145101b54ae9.jpg","text":"TemporaryFile(/tmp/multipartBody8733149358467182907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152945719,"filename":"image_26112025_06_46_41_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/26/8a4b11a72e3a83cfaa59d2d5a0af498f.jpg","text":"TemporaryFile(/tmp/multipartBody4811969640024821689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152945719,"filename":"image_26112025_06_46_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/26/8a9dc6613a80910d19920e2c05a58fd6.jpg","text":"TemporaryFile(/tmp/multipartBody5946574945056767402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152945719,"filename":"image_26112025_06_46_38_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/26/456d1e21bb30d9e38848367842a45e40.jpg","text":"TemporaryFile(/tmp/multipartBody1452474361153706445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152945719,"filename":"image_26112025_06_46_32_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/26/23752c4f3a070940bee41f2b9e35d054.jpg","text":"TemporaryFile(/tmp/multipartBody8042280978752279859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152945719,"filename":"image_26112025_06_46_47_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/26/8e07c4ca8ffcffda48a141f801f48698.jpg","text":"TemporaryFile(/tmp/multipartBody8911060385213318102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152945719,"filename":"image_26112025_06_46_44_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238262","file1":"1396238259","file0":"1396238256","file4":"1396238270","file5":"1396238285","file3":"1396238265"},"map_files_photo_id_array":[{"photo_id":"1396238285","filename":"file5"},{"photo_id":"1396238262","filename":"file2"},{"photo_id":"1396238270","filename":"file4"},{"photo_id":"1396238259","filename":"file1"},{"photo_id":"1396238256","filename":"file0"},{"photo_id":"1396238265","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396238265":["hashtag1","hashtag2"]},{"1396238259":["hashtag1","hashtag2"]},{"1396238262":["hashtag1","hashtag2"]},{"1396238256":["hashtag1","hashtag2"]},{"1396238285":["hashtag1","hashtag2"]},{"1396238270":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396238265, 1396238259, 1396238262, 1396238256, 1396238285, 1396238270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31897163391113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 11:28:42.224708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_50_2637.jpg', '/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_53_2661.jpg', '/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_56_3560.jpg', '/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_59_2600.jpg', '/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_07_3012.jpg', '/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_10_3681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_50_2637.jpg
/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_53_2661.jpg
/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_56_3560.jpg
/home/pi/Desktop/images/26112025/06/46/image_26112025_06_46_59_2600.jpg
/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_07_3012.jpg
/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_10_3681.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":["1396238328","1396238324","1396238306","1396238321","1396238332","1396238326"],"photo_ids_order":["1396238306","1396238321","1396238324","1396238326","1396238328","1396238332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6174308377133f2fdeeecb8cca4a9f6a.jpg","text":"TemporaryFile(/tmp/multipartBody4046944737822356019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152982967,"filename":"image_26112025_06_48_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/26/e2a2b42291b40169c236800274e6e522.jpg","text":"TemporaryFile(/tmp/multipartBody6555357730137430516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152982967,"filename":"image_26112025_06_46_56_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/26/2dc38545335b59c3dd0fe00c3ba9ddd1.jpg","text":"TemporaryFile(/tmp/multipartBody4916027710471744943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152982967,"filename":"image_26112025_06_46_50_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/26/84c92f5b7c96122f4b33d128d53ea14e.jpg","text":"TemporaryFile(/tmp/multipartBody4731086432150421845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152982967,"filename":"image_26112025_06_46_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/26/e62614dedcdc43d9f291b814b593aa3c.jpg","text":"TemporaryFile(/tmp/multipartBody4942430590227553394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152982967,"filename":"image_26112025_06_48_10_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/26/3fae41e2e25d7061db6bb59819aac8c8.jpg","text":"TemporaryFile(/tmp/multipartBody6298769631234930500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764152982967,"filename":"image_26112025_06_46_59_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238324","file1":"1396238321","file0":"1396238306","file4":"1396238328","file5":"1396238332","file3":"1396238326"},"map_files_photo_id_array":[{"photo_id":"1396238332","filename":"file5"},{"photo_id":"1396238324","filename":"file2"},{"photo_id":"1396238328","filename":"file4"},{"photo_id":"1396238321","filename":"file1"},{"photo_id":"1396238306","filename":"file0"},{"photo_id":"1396238326","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396238328":["hashtag1","hashtag2"]},{"1396238324":["hashtag1","hashtag2"]},{"1396238306":["hashtag1","hashtag2"]},{"1396238321":["hashtag1","hashtag2"]},{"1396238332":["hashtag1","hashtag2"]},{"1396238326":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396238328, 1396238324, 1396238306, 1396238321, 1396238332, 1396238326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40208053588867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:29:22.365678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_13_2681.jpg', '/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_17_3535.jpg', '/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_19_2675.jpg', '/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_22_2477.jpg', '/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_25_3719.jpg', '/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_28_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_13_2681.jpg
/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_17_3535.jpg
/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_19_2675.jpg
/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_22_2477.jpg
/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_25_3719.jpg
/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_28_2640.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":["1396238349","1396238357","1396238342","1396238339","1396238354","1396238344"],"photo_ids_order":["1396238339","1396238342","1396238344","1396238349","1396238354","1396238357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/298333c22979cb9ac38db8d01a0a7f9a.jpg","text":"TemporaryFile(/tmp/multipartBody3954266985512832569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153023076,"filename":"image_26112025_06_48_22_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/26/c8ef63c96d30f76082ff5775f65c1c02.jpg","text":"TemporaryFile(/tmp/multipartBody4306865700683139199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153023076,"filename":"image_26112025_06_48_28_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/26/bef274c00f0457d13bae5d71c8cd62ca.jpg","text":"TemporaryFile(/tmp/multipartBody3361758820508286080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153023076,"filename":"image_26112025_06_48_17_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/26/71bce695af95b2f50b3fa2ba5c7e2d8b.jpg","text":"TemporaryFile(/tmp/multipartBody6420320271636391375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153023076,"filename":"image_26112025_06_48_13_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/26/2edaf8262955154e5ac95c4915a86fdc.jpg","text":"TemporaryFile(/tmp/multipartBody3431278526361515004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153023076,"filename":"image_26112025_06_48_25_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/26/7211fc96fe2472348da253b920f9fa25.jpg","text":"TemporaryFile(/tmp/multipartBody429227656511580681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153023076,"filename":"image_26112025_06_48_19_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238344","file1":"1396238342","file0":"1396238339","file4":"1396238354","file5":"1396238357","file3":"1396238349"},"map_files_photo_id_array":[{"photo_id":"1396238357","filename":"file5"},{"photo_id":"1396238344","filename":"file2"},{"photo_id":"1396238354","filename":"file4"},{"photo_id":"1396238342","filename":"file1"},{"photo_id":"1396238339","filename":"file0"},{"photo_id":"1396238349","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396238349":["hashtag1","hashtag2"]},{"1396238357":["hashtag1","hashtag2"]},{"1396238342":["hashtag1","hashtag2"]},{"1396238339":["hashtag1","hashtag2"]},{"1396238354":["hashtag1","hashtag2"]},{"1396238344":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396238349, 1396238357, 1396238342, 1396238339, 1396238354, 1396238344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.00999593734741 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-26 11:30:15.990749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_31_2553.jpg', '/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_34_3821.jpg', '/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_37_2806.jpg', '/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_40_2755.jpg', '/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_43_2675.jpg', '/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_46_3768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_31_2553.jpg
/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_34_3821.jpg
/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_37_2806.jpg
/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_40_2755.jpg
/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_43_2675.jpg
/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_46_3768.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":["1396238364","1396238388","1396238367","1396238400","1396238396","1396238372"],"photo_ids_order":["1396238364","1396238367","1396238372","1396238388","1396238396","1396238400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4216547ca67503c6e198d20ce272e7c6.jpg","text":"TemporaryFile(/tmp/multipartBody3229590571471392305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153076725,"filename":"image_26112025_06_48_31_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/26/dea28542b0f606a231b8d333ab6ae8f7.jpg","text":"TemporaryFile(/tmp/multipartBody6666897817263031668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153076725,"filename":"image_26112025_06_48_40_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/26/d30169a0e11699110907c582185bc6b6.jpg","text":"TemporaryFile(/tmp/multipartBody5239000228251769427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153076725,"filename":"image_26112025_06_48_34_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/26/ecb66b0859053596891a8efc7d6a2f50.jpg","text":"TemporaryFile(/tmp/multipartBody2581447199947484746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153076725,"filename":"image_26112025_06_48_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/26/d286018635e7effb1cde0059041b3328.jpg","text":"TemporaryFile(/tmp/multipartBody5199062544511547334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153076725,"filename":"image_26112025_06_48_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/26/53cf8ed66b5db606b7432d4fe762e90e.jpg","text":"TemporaryFile(/tmp/multipartBody502554359682022707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153076725,"filename":"image_26112025_06_48_37_2806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238372","file1":"1396238367","file0":"1396238364","file4":"1396238396","file5":"1396238400","file3":"1396238388"},"map_files_photo_id_array":[{"photo_id":"1396238400","filename":"file5"},{"photo_id":"1396238372","filename":"file2"},{"photo_id":"1396238396","filename":"file4"},{"photo_id":"1396238367","filename":"file1"},{"photo_id":"1396238364","filename":"file0"},{"photo_id":"1396238388","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396238364":["hashtag1","hashtag2"]},{"1396238388":["hashtag1","hashtag2"]},{"1396238367":["hashtag1","hashtag2"]},{"1396238400":["hashtag1","hashtag2"]},{"1396238396":["hashtag1","hashtag2"]},{"1396238372":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396238364, 1396238388, 1396238367, 1396238400, 1396238396, 1396238372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.467501401901245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:31:03.104614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_49_2661.jpg', '/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_52_2601.jpg', '/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_58_2634.jpg', '/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_07_3015.jpg', '/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_11_3653.jpg', '/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_14_2542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_49_2661.jpg
/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_52_2601.jpg
/home/pi/Desktop/images/26112025/06/48/image_26112025_06_48_58_2634.jpg
/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_07_3015.jpg
/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_11_3653.jpg
/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_14_2542.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":["1396238415","1396238411","1396238408","1396238422","1396238425","1396238404"],"photo_ids_order":["1396238404","1396238408","1396238411","1396238415","1396238422","1396238425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5ff7c532e15ce4ecf7af38991daaef57.jpg","text":"TemporaryFile(/tmp/multipartBody1344236880140794590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153123859,"filename":"image_26112025_06_50_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/26/cee587ccbe7f727cfcd478f6508ed90f.jpg","text":"TemporaryFile(/tmp/multipartBody1226329228078487430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153123859,"filename":"image_26112025_06_48_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/26/26a2b7adc2e9c1a8155375356a33bfe7.jpg","text":"TemporaryFile(/tmp/multipartBody2874226153239814802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153123859,"filename":"image_26112025_06_48_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/26/4938552ade278e04ec29cf74b7c76974.jpg","text":"TemporaryFile(/tmp/multipartBody7503147617586110816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153123859,"filename":"image_26112025_06_50_11_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/26/a44e9d96cba09fc4f157d8d87375a354.jpg","text":"TemporaryFile(/tmp/multipartBody7834739085557754561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153123859,"filename":"image_26112025_06_50_14_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/26/4bbe6af7246ab50643084eb0d474cdf0.jpg","text":"TemporaryFile(/tmp/multipartBody1766249423240688805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153123859,"filename":"image_26112025_06_48_49_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238411","file1":"1396238408","file0":"1396238404","file4":"1396238422","file5":"1396238425","file3":"1396238415"},"map_files_photo_id_array":[{"photo_id":"1396238425","filename":"file5"},{"photo_id":"1396238411","filename":"file2"},{"photo_id":"1396238422","filename":"file4"},{"photo_id":"1396238408","filename":"file1"},{"photo_id":"1396238404","filename":"file0"},{"photo_id":"1396238415","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396238415":["hashtag1","hashtag2"]},{"1396238411":["hashtag1","hashtag2"]},{"1396238408":["hashtag1","hashtag2"]},{"1396238422":["hashtag1","hashtag2"]},{"1396238425":["hashtag1","hashtag2"]},{"1396238404":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396238415, 1396238411, 1396238408, 1396238422, 1396238425, 1396238404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.806506633758545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 11:31:42.257096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_28_14281.jpg', '/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_34_5879.jpg', '/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_37_1635.jpg', '/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_39_1585.jpg', '/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_40_1721.jpg', '/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_42_1720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_28_14281.jpg
/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_34_5879.jpg
/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_37_1635.jpg
/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_39_1585.jpg
/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_40_1721.jpg
/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_42_1720.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":["1396238439","1396238430","1396238433","1396238436","1396238441","1396238443"],"photo_ids_order":["1396238430","1396238433","1396238436","1396238439","1396238441","1396238443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/702ebd860183b551cecf1780dc990700.jpg","text":"TemporaryFile(/tmp/multipartBody2942587121200382373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153162950,"filename":"image_26112025_06_50_39_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/26/4b1f80df05dbc29a9bd2a56cab17d5c3.jpg","text":"TemporaryFile(/tmp/multipartBody4756202572797374551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153162950,"filename":"image_26112025_06_50_28_14281.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8e144fd137916d6b22e411965b3347f2.jpg","text":"TemporaryFile(/tmp/multipartBody7067394514273220999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153162950,"filename":"image_26112025_06_50_34_5879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b57b9cc54c07a4f3addf201abc993039.jpg","text":"TemporaryFile(/tmp/multipartBody3164417399125203713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153162950,"filename":"image_26112025_06_50_37_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/26/7cf938bda626a5b9563089de07a973c7.jpg","text":"TemporaryFile(/tmp/multipartBody7507958289982199534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153162950,"filename":"image_26112025_06_50_40_1721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/996abcfe074e3d011a7945195644095d.jpg","text":"TemporaryFile(/tmp/multipartBody4774116367236990295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153162950,"filename":"image_26112025_06_50_42_1720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238436","file1":"1396238433","file0":"1396238430","file4":"1396238441","file5":"1396238443","file3":"1396238439"},"map_files_photo_id_array":[{"photo_id":"1396238443","filename":"file5"},{"photo_id":"1396238436","filename":"file2"},{"photo_id":"1396238441","filename":"file4"},{"photo_id":"1396238433","filename":"file1"},{"photo_id":"1396238430","filename":"file0"},{"photo_id":"1396238439","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396238439":["hashtag1","hashtag2"]},{"1396238430":["hashtag1","hashtag2"]},{"1396238433":["hashtag1","hashtag2"]},{"1396238436":["hashtag1","hashtag2"]},{"1396238441":["hashtag1","hashtag2"]},{"1396238443":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396238439, 1396238430, 1396238433, 1396238436, 1396238441, 1396238443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11987090110779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:32:22.569309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_44_1546.jpg', '/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_45_1488.jpg', '/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_47_1688.jpg', '/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_48_1560.jpg', '/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_50_1569.jpg', '/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_52_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_44_1546.jpg
/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_45_1488.jpg
/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_47_1688.jpg
/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_48_1560.jpg
/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_50_1569.jpg
/home/pi/Desktop/images/26112025/06/50/image_26112025_06_50_52_2580.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":["1396238490","1396238457","1396238466","1396238460","1396238450","1396238455"],"photo_ids_order":["1396238450","1396238455","1396238457","1396238460","1396238466","1396238490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fa41eb67a260cc210af1fbfbdf1101f1.jpg","text":"TemporaryFile(/tmp/multipartBody3696534019338301518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153203274,"filename":"image_26112025_06_50_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/26/5410185221fa7ab7a5dae33c0839d8d6.jpg","text":"TemporaryFile(/tmp/multipartBody879673479908348913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153203274,"filename":"image_26112025_06_50_47_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9616dd737ba0e4e521aa109e651d2a94.jpg","text":"TemporaryFile(/tmp/multipartBody1921442753542328290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153203274,"filename":"image_26112025_06_50_50_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/26/f81c000e5b902fb651c82674414b72fd.jpg","text":"TemporaryFile(/tmp/multipartBody268794291153820174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153203274,"filename":"image_26112025_06_50_48_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/26/2d0dd1a9028cc806a23ffeb1161430e2.jpg","text":"TemporaryFile(/tmp/multipartBody2656304201368998206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153203274,"filename":"image_26112025_06_50_44_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/26/ce84475f313324747f9c85eb3087d9fd.jpg","text":"TemporaryFile(/tmp/multipartBody5243496981464809587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153203274,"filename":"image_26112025_06_50_45_1488.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238457","file1":"1396238455","file0":"1396238450","file4":"1396238466","file5":"1396238490","file3":"1396238460"},"map_files_photo_id_array":[{"photo_id":"1396238490","filename":"file5"},{"photo_id":"1396238457","filename":"file2"},{"photo_id":"1396238466","filename":"file4"},{"photo_id":"1396238455","filename":"file1"},{"photo_id":"1396238450","filename":"file0"},{"photo_id":"1396238460","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396238490":["hashtag1","hashtag2"]},{"1396238457":["hashtag1","hashtag2"]},{"1396238466":["hashtag1","hashtag2"]},{"1396238460":["hashtag1","hashtag2"]},{"1396238450":["hashtag1","hashtag2"]},{"1396238455":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396238490, 1396238457, 1396238466, 1396238460, 1396238450, 1396238455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15324568748474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:33:03.439815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/51/image_26112025_06_51_07_14860.jpg', '/home/pi/Desktop/images/26112025/06/51/image_26112025_06_51_09_1538.jpg', '/home/pi/Desktop/images/26112025/06/51/image_26112025_06_51_10_1536.jpg', '/home/pi/Desktop/images/26112025/06/52/image_26112025_06_52_07_3014.jpg', '/home/pi/Desktop/images/26112025/06/52/image_26112025_06_52_10_3597.jpg', '/home/pi/Desktop/images/26112025/06/52/image_26112025_06_52_13_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/51/image_26112025_06_51_07_14860.jpg
/home/pi/Desktop/images/26112025/06/51/image_26112025_06_51_09_1538.jpg
/home/pi/Desktop/images/26112025/06/51/image_26112025_06_51_10_1536.jpg
/home/pi/Desktop/images/26112025/06/52/image_26112025_06_52_07_3014.jpg
/home/pi/Desktop/images/26112025/06/52/image_26112025_06_52_10_3597.jpg
/home/pi/Desktop/images/26112025/06/52/image_26112025_06_52_13_2766.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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396238514","1396238505","1396238510","1396238507","1396238501","1396238503"],"photo_ids_order":["1396238501","1396238503","1396238505","1396238507","1396238510","1396238514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/57e636ed670b9ae8ff8b0c686ac8019c.jpg","text":"TemporaryFile(/tmp/multipartBody3475399755520739564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153244201,"filename":"image_26112025_06_52_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/26/e587d43f548ea5799b840299d0408a97.jpg","text":"TemporaryFile(/tmp/multipartBody6044112875497317811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153244201,"filename":"image_26112025_06_51_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/26/e7096ef192fe2d333e0b57628edd771d.jpg","text":"TemporaryFile(/tmp/multipartBody1050334956662668022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153244201,"filename":"image_26112025_06_52_10_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/26/90199a82e7e3916b6c3abb78c00612d7.jpg","text":"TemporaryFile(/tmp/multipartBody8321713082033668948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153244201,"filename":"image_26112025_06_52_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/26/3b989b549966d7f996e7bc16a95d827b.jpg","text":"TemporaryFile(/tmp/multipartBody5861882381913961752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153244201,"filename":"image_26112025_06_51_07_14860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/15d3315ee8449582e609d3b3564745af.jpg","text":"TemporaryFile(/tmp/multipartBody3713483050525315290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153244201,"filename":"image_26112025_06_51_09_1538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238505","file1":"1396238503","file0":"1396238501","file4":"1396238510","file5":"1396238514","file3":"1396238507"},"map_files_photo_id_array":[{"photo_id":"1396238514","filename":"file5"},{"photo_id":"1396238505","filename":"file2"},{"photo_id":"1396238510","filename":"file4"},{"photo_id":"1396238503","filename":"file1"},{"photo_id":"1396238501","filename":"file0"},{"photo_id":"1396238507","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396238514":["hashtag1","hashtag2"]},{"1396238505":["hashtag1","hashtag2"]},{"1396238510":["hashtag1","hashtag2"]},{"1396238507":["hashtag1","hashtag2"]},{"1396238501":["hashtag1","hashtag2"]},{"1396238503":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396238514, 1396238505, 1396238510, 1396238507, 1396238501, 1396238503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.48003363609314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:34:02.931087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/52/image_26112025_06_52_16_2691.jpg', '/home/pi/Desktop/images/26112025/06/52/image_26112025_06_52_20_3654.jpg', '/home/pi/Desktop/images/26112025/06/52/image_26112025_06_52_22_2592.jpg', '/home/pi/Desktop/images/26112025/06/52/image_26112025_06_52_26_3612.jpg', '/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_07_3011.jpg', '/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_11_3654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/52/image_26112025_06_52_16_2691.jpg
/home/pi/Desktop/images/26112025/06/52/image_26112025_06_52_20_3654.jpg
/home/pi/Desktop/images/26112025/06/52/image_26112025_06_52_22_2592.jpg
/home/pi/Desktop/images/26112025/06/52/image_26112025_06_52_26_3612.jpg
/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_07_3011.jpg
/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_11_3654.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":["1396238526","1396238529","1396238549","1396238546","1396238533","1396238542"],"photo_ids_order":["1396238526","1396238529","1396238533","1396238542","1396238546","1396238549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a49aa8ab57b317262aa3406fa9a90c33.jpg","text":"TemporaryFile(/tmp/multipartBody7564571256369597091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153303730,"filename":"image_26112025_06_52_16_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/26/bb88ea1df7d985518bc3bafd3ea0f28d.jpg","text":"TemporaryFile(/tmp/multipartBody4188789722572671293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153303730,"filename":"image_26112025_06_52_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/26/d084d4cbdfff8558536f5a684e19fadf.jpg","text":"TemporaryFile(/tmp/multipartBody3310621539678171443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153303730,"filename":"image_26112025_06_54_11_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/26/bb907c4406ba1d628205daa558b0e30b.jpg","text":"TemporaryFile(/tmp/multipartBody1056529456563723550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153303730,"filename":"image_26112025_06_54_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/26/22e7a6f80362c5266456d39533523299.jpg","text":"TemporaryFile(/tmp/multipartBody5312368323310181184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153303730,"filename":"image_26112025_06_52_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/26/09f3404b97a98b0c26f28e0971debb75.jpg","text":"TemporaryFile(/tmp/multipartBody7936361804773437306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153303730,"filename":"image_26112025_06_52_26_3612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238533","file1":"1396238529","file0":"1396238526","file4":"1396238546","file5":"1396238549","file3":"1396238542"},"map_files_photo_id_array":[{"photo_id":"1396238549","filename":"file5"},{"photo_id":"1396238533","filename":"file2"},{"photo_id":"1396238546","filename":"file4"},{"photo_id":"1396238529","filename":"file1"},{"photo_id":"1396238526","filename":"file0"},{"photo_id":"1396238542","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396238526":["hashtag1","hashtag2"]},{"1396238529":["hashtag1","hashtag2"]},{"1396238549":["hashtag1","hashtag2"]},{"1396238546":["hashtag1","hashtag2"]},{"1396238533":["hashtag1","hashtag2"]},{"1396238542":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396238526, 1396238529, 1396238549, 1396238546, 1396238533, 1396238542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.543190717697144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 11:34:42.340233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_14_2587.jpg', '/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_17_3700.jpg', '/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_25_7967.jpg', '/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_27_1670.jpg', '/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_29_1499.jpg', '/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_30_1855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_14_2587.jpg
/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_17_3700.jpg
/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_25_7967.jpg
/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_27_1670.jpg
/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_29_1499.jpg
/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_30_1855.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":["1396238577","1396238562","1396238573","1396238567","1396238564","1396238557"],"photo_ids_order":["1396238557","1396238562","1396238564","1396238567","1396238573","1396238577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/76dff1555a46d56f5a6fb5038b4ea7c5.jpg","text":"TemporaryFile(/tmp/multipartBody3272605281687516584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153343076,"filename":"image_26112025_06_54_30_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/26/eae573d364687d172135a89ac120e5ff.jpg","text":"TemporaryFile(/tmp/multipartBody4469714791020939462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153343076,"filename":"image_26112025_06_54_17_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/26/339bf70fd7ee58158a993d6d1c699101.jpg","text":"TemporaryFile(/tmp/multipartBody8790231276599715980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153343076,"filename":"image_26112025_06_54_29_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/26/5ee06c79d5a5b976414182da080647b9.jpg","text":"TemporaryFile(/tmp/multipartBody1422439559423260584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153343076,"filename":"image_26112025_06_54_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/26/949adc98207164653202a561791ff524.jpg","text":"TemporaryFile(/tmp/multipartBody3100377288451726230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153343076,"filename":"image_26112025_06_54_25_7967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c420a0ba1c4a4d11e4e91b3515da1979.jpg","text":"TemporaryFile(/tmp/multipartBody6510907942798703806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153343076,"filename":"image_26112025_06_54_14_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238564","file1":"1396238562","file0":"1396238557","file4":"1396238573","file5":"1396238577","file3":"1396238567"},"map_files_photo_id_array":[{"photo_id":"1396238577","filename":"file5"},{"photo_id":"1396238564","filename":"file2"},{"photo_id":"1396238573","filename":"file4"},{"photo_id":"1396238562","filename":"file1"},{"photo_id":"1396238557","filename":"file0"},{"photo_id":"1396238567","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396238577":["hashtag1","hashtag2"]},{"1396238562":["hashtag1","hashtag2"]},{"1396238573":["hashtag1","hashtag2"]},{"1396238567":["hashtag1","hashtag2"]},{"1396238564":["hashtag1","hashtag2"]},{"1396238557":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396238577, 1396238562, 1396238573, 1396238567, 1396238564, 1396238557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.693342208862305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:35:22.445718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_32_1636.jpg', '/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_35_2550.jpg', '/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_38_3666.jpg', '/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_41_2815.jpg', '/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_44_2725.jpg', '/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_47_3555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_32_1636.jpg
/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_35_2550.jpg
/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_38_3666.jpg
/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_41_2815.jpg
/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_44_2725.jpg
/home/pi/Desktop/images/26112025/06/54/image_26112025_06_54_47_3555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396238583","1396238586","1396238579","1396238581","1396238590","1396238593"],"photo_ids_order":["1396238579","1396238581","1396238583","1396238586","1396238590","1396238593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9f596400ebc2efe93bf35c6624683ccf.jpg","text":"TemporaryFile(/tmp/multipartBody7145544243445924497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153383118,"filename":"image_26112025_06_54_38_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/26/5db9993908b4dedd10b3c3955870ef32.jpg","text":"TemporaryFile(/tmp/multipartBody8744190608787904160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153383118,"filename":"image_26112025_06_54_41_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/26/890b7e33b5f077c35875eb10ef3d6c98.jpg","text":"TemporaryFile(/tmp/multipartBody5141966389955930162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153383118,"filename":"image_26112025_06_54_32_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/26/c231ca01ead7c918dd108065f9dd67d4.jpg","text":"TemporaryFile(/tmp/multipartBody3111050693768728810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153383118,"filename":"image_26112025_06_54_35_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/26/a34f1b00c006c3cd70708a2dd8fbb393.jpg","text":"TemporaryFile(/tmp/multipartBody3467271849922022637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153383118,"filename":"image_26112025_06_54_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/26/139d9d61f51fef8578a935ec508a9b0a.jpg","text":"TemporaryFile(/tmp/multipartBody2854598608848366946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153383118,"filename":"image_26112025_06_54_47_3555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238583","file1":"1396238581","file0":"1396238579","file4":"1396238590","file5":"1396238593","file3":"1396238586"},"map_files_photo_id_array":[{"photo_id":"1396238593","filename":"file5"},{"photo_id":"1396238583","filename":"file2"},{"photo_id":"1396238590","filename":"file4"},{"photo_id":"1396238581","filename":"file1"},{"photo_id":"1396238579","filename":"file0"},{"photo_id":"1396238586","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396238583":["hashtag1","hashtag2"]},{"1396238586":["hashtag1","hashtag2"]},{"1396238579":["hashtag1","hashtag2"]},{"1396238581":["hashtag1","hashtag2"]},{"1396238590":["hashtag1","hashtag2"]},{"1396238593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396238583, 1396238586, 1396238579, 1396238581, 1396238590, 1396238593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79826045036316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:36:03.245082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/55/image_26112025_06_55_01_14018.jpg', '/home/pi/Desktop/images/26112025/06/55/image_26112025_06_55_03_1678.jpg', '/home/pi/Desktop/images/26112025/06/55/image_26112025_06_55_05_1874.jpg', '/home/pi/Desktop/images/26112025/06/55/image_26112025_06_55_06_1522.jpg', '/home/pi/Desktop/images/26112025/06/55/image_26112025_06_55_09_2170.jpg', '/home/pi/Desktop/images/26112025/06/55/image_26112025_06_55_10_1656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/55/image_26112025_06_55_01_14018.jpg
/home/pi/Desktop/images/26112025/06/55/image_26112025_06_55_03_1678.jpg
/home/pi/Desktop/images/26112025/06/55/image_26112025_06_55_05_1874.jpg
/home/pi/Desktop/images/26112025/06/55/image_26112025_06_55_06_1522.jpg
/home/pi/Desktop/images/26112025/06/55/image_26112025_06_55_09_2170.jpg
/home/pi/Desktop/images/26112025/06/55/image_26112025_06_55_10_1656.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":["1396238598","1396238601","1396238630","1396238627","1396238615","1396238599"],"photo_ids_order":["1396238598","1396238599","1396238601","1396238615","1396238627","1396238630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/57a2fe8ed36e2074048d64a8513d09f6.jpg","text":"TemporaryFile(/tmp/multipartBody1669970867475549736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153423971,"filename":"image_26112025_06_55_01_14018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0f5550268e1baa64241c2f501679b9da.jpg","text":"TemporaryFile(/tmp/multipartBody3505883939354619048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153423971,"filename":"image_26112025_06_55_05_1874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ee0aef0c07b60fa648b367a3d1e0c7fc.jpg","text":"TemporaryFile(/tmp/multipartBody6918366847965907904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153423971,"filename":"image_26112025_06_55_10_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/26/3fb62843866050d9db816d81f76358ae.jpg","text":"TemporaryFile(/tmp/multipartBody6107379118543041288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153423971,"filename":"image_26112025_06_55_09_2170.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e67772119a575526931cf0e9e2529737.jpg","text":"TemporaryFile(/tmp/multipartBody6259433660301191905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153423971,"filename":"image_26112025_06_55_06_1522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/26ed3a0756ad07a7f01ffcbc5ecce5d3.jpg","text":"TemporaryFile(/tmp/multipartBody7127795728043577852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153423971,"filename":"image_26112025_06_55_03_1678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238601","file1":"1396238599","file0":"1396238598","file4":"1396238627","file5":"1396238630","file3":"1396238615"},"map_files_photo_id_array":[{"photo_id":"1396238630","filename":"file5"},{"photo_id":"1396238601","filename":"file2"},{"photo_id":"1396238627","filename":"file4"},{"photo_id":"1396238599","filename":"file1"},{"photo_id":"1396238598","filename":"file0"},{"photo_id":"1396238615","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396238598":["hashtag1","hashtag2"]},{"1396238601":["hashtag1","hashtag2"]},{"1396238630":["hashtag1","hashtag2"]},{"1396238627":["hashtag1","hashtag2"]},{"1396238615":["hashtag1","hashtag2"]},{"1396238599":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396238598, 1396238601, 1396238630, 1396238627, 1396238615, 1396238599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70925450325012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 11:36:42.808666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/55/image_26112025_06_55_18_7380.jpg', '/home/pi/Desktop/images/26112025/06/55/image_26112025_06_55_19_1649.jpg', '/home/pi/Desktop/images/26112025/06/55/image_26112025_06_55_21_1549.jpg', '/home/pi/Desktop/images/26112025/06/55/image_26112025_06_55_22_1599.jpg', '/home/pi/Desktop/images/26112025/06/56/image_26112025_06_56_07_3016.jpg', '/home/pi/Desktop/images/26112025/06/56/image_26112025_06_56_11_4137.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/55/image_26112025_06_55_18_7380.jpg
/home/pi/Desktop/images/26112025/06/55/image_26112025_06_55_19_1649.jpg
/home/pi/Desktop/images/26112025/06/55/image_26112025_06_55_21_1549.jpg
/home/pi/Desktop/images/26112025/06/55/image_26112025_06_55_22_1599.jpg
/home/pi/Desktop/images/26112025/06/56/image_26112025_06_56_07_3016.jpg
/home/pi/Desktop/images/26112025/06/56/image_26112025_06_56_11_4137.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":["1396238685","1396238696","1396238672","1396238666","1396238669","1396238663"],"photo_ids_order":["1396238663","1396238666","1396238669","1396238672","1396238685","1396238696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b2be3efbbf640fe140264cce05f0a1b5.jpg","text":"TemporaryFile(/tmp/multipartBody2119550692411931040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153463527,"filename":"image_26112025_06_56_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/26/d4b7109e7889500fb156c4453e3947a4.jpg","text":"TemporaryFile(/tmp/multipartBody2668995052827151553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153463527,"filename":"image_26112025_06_56_11_4137.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3af94848e1ada380cc906fdf8d03def3.jpg","text":"TemporaryFile(/tmp/multipartBody2438495207982125467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153463527,"filename":"image_26112025_06_55_22_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/26/9a63f35cb5f520f765847906a1ee3ef4.jpg","text":"TemporaryFile(/tmp/multipartBody4122011672040687742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153463527,"filename":"image_26112025_06_55_19_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/26/1e6793d26218bb8b96e6c3fbaf4891f2.jpg","text":"TemporaryFile(/tmp/multipartBody2861113223334073140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153463527,"filename":"image_26112025_06_55_21_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/26/83dfd217babf03fc61dccec7d79db4ac.jpg","text":"TemporaryFile(/tmp/multipartBody7716737244826590325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153463527,"filename":"image_26112025_06_55_18_7380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238669","file1":"1396238666","file0":"1396238663","file4":"1396238685","file5":"1396238696","file3":"1396238672"},"map_files_photo_id_array":[{"photo_id":"1396238696","filename":"file5"},{"photo_id":"1396238669","filename":"file2"},{"photo_id":"1396238685","filename":"file4"},{"photo_id":"1396238666","filename":"file1"},{"photo_id":"1396238663","filename":"file0"},{"photo_id":"1396238672","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396238685":["hashtag1","hashtag2"]},{"1396238696":["hashtag1","hashtag2"]},{"1396238672":["hashtag1","hashtag2"]},{"1396238666":["hashtag1","hashtag2"]},{"1396238669":["hashtag1","hashtag2"]},{"1396238663":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396238685, 1396238696, 1396238672, 1396238666, 1396238669, 1396238663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95128321647644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:37:21.975585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/56/image_26112025_06_56_14_2627.jpg', '/home/pi/Desktop/images/26112025/06/56/image_26112025_06_56_16_2734.jpg', '/home/pi/Desktop/images/26112025/06/56/image_26112025_06_56_19_2669.jpg', '/home/pi/Desktop/images/26112025/06/56/image_26112025_06_56_22_3560.jpg', '/home/pi/Desktop/images/26112025/06/58/image_26112025_06_58_07_3015.jpg', '/home/pi/Desktop/images/26112025/06/58/image_26112025_06_58_11_3726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/56/image_26112025_06_56_14_2627.jpg
/home/pi/Desktop/images/26112025/06/56/image_26112025_06_56_16_2734.jpg
/home/pi/Desktop/images/26112025/06/56/image_26112025_06_56_19_2669.jpg
/home/pi/Desktop/images/26112025/06/56/image_26112025_06_56_22_3560.jpg
/home/pi/Desktop/images/26112025/06/58/image_26112025_06_58_07_3015.jpg
/home/pi/Desktop/images/26112025/06/58/image_26112025_06_58_11_3726.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":["1396238709","1396238702","1396238711","1396238705","1396238714","1396238707"],"photo_ids_order":["1396238702","1396238705","1396238707","1396238709","1396238711","1396238714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/702358648c36619ab392bf126c959c91.jpg","text":"TemporaryFile(/tmp/multipartBody4542692857175053459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153502688,"filename":"image_26112025_06_56_22_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/26/89f6ff764490f545555432e15f302e19.jpg","text":"TemporaryFile(/tmp/multipartBody5359091909061174780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153502688,"filename":"image_26112025_06_56_14_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/26/0fe52f777ccf7273a2b23b27351fdb93.jpg","text":"TemporaryFile(/tmp/multipartBody7637384421024444979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153502688,"filename":"image_26112025_06_58_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/26/752c3ab7676e34205597470c5f97caa6.jpg","text":"TemporaryFile(/tmp/multipartBody1539811260097346655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153502688,"filename":"image_26112025_06_56_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/26/0ea0836a41e732ad3b0d3c96abc08818.jpg","text":"TemporaryFile(/tmp/multipartBody3843530491447615781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153502688,"filename":"image_26112025_06_58_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/26/74fcd83e11af6e568d2b5966eb6c833e.jpg","text":"TemporaryFile(/tmp/multipartBody7453561093456585788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153502688,"filename":"image_26112025_06_56_19_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238707","file1":"1396238705","file0":"1396238702","file4":"1396238711","file5":"1396238714","file3":"1396238709"},"map_files_photo_id_array":[{"photo_id":"1396238714","filename":"file5"},{"photo_id":"1396238707","filename":"file2"},{"photo_id":"1396238711","filename":"file4"},{"photo_id":"1396238705","filename":"file1"},{"photo_id":"1396238702","filename":"file0"},{"photo_id":"1396238709","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396238709":["hashtag1","hashtag2"]},{"1396238702":["hashtag1","hashtag2"]},{"1396238711":["hashtag1","hashtag2"]},{"1396238705":["hashtag1","hashtag2"]},{"1396238714":["hashtag1","hashtag2"]},{"1396238707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396238709, 1396238702, 1396238711, 1396238705, 1396238714, 1396238707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.650203466415405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:38:11.126852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/58/image_26112025_06_58_13_2726.jpg', '/home/pi/Desktop/images/26112025/06/58/image_26112025_06_58_16_2598.jpg', '/home/pi/Desktop/images/26112025/06/58/image_26112025_06_58_20_3683.jpg', '/home/pi/Desktop/images/26112025/06/58/image_26112025_06_58_33_13637.jpg', '/home/pi/Desktop/images/26112025/06/58/image_26112025_06_58_35_1697.jpg', '/home/pi/Desktop/images/26112025/06/58/image_26112025_06_58_38_3227.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/58/image_26112025_06_58_13_2726.jpg
/home/pi/Desktop/images/26112025/06/58/image_26112025_06_58_16_2598.jpg
/home/pi/Desktop/images/26112025/06/58/image_26112025_06_58_20_3683.jpg
/home/pi/Desktop/images/26112025/06/58/image_26112025_06_58_33_13637.jpg
/home/pi/Desktop/images/26112025/06/58/image_26112025_06_58_35_1697.jpg
/home/pi/Desktop/images/26112025/06/58/image_26112025_06_58_38_3227.jpg
 val : 1 : upload photos already in processing! 
 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":["1396238724","1396238723","1396238732","1396238726","1396238728","1396238722"],"photo_ids_order":["1396238722","1396238723","1396238724","1396238726","1396238728","1396238732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e5934ded9791171e68d083c316093b7e.jpg","text":"TemporaryFile(/tmp/multipartBody1869630127424512734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153552011,"filename":"image_26112025_06_58_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/26/220b7546ebab99e9e898665a64e4efda.jpg","text":"TemporaryFile(/tmp/multipartBody242927644154676459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153552011,"filename":"image_26112025_06_58_16_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/26/f003f0315e6ad4af459f77e85969de1c.jpg","text":"TemporaryFile(/tmp/multipartBody3335850076934132655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153552011,"filename":"image_26112025_06_58_38_3227.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8f93c7a35e64271dc83c96ebfa4a67eb.jpg","text":"TemporaryFile(/tmp/multipartBody5884562674186269791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153552011,"filename":"image_26112025_06_58_33_13637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/00e538dac2e3f4930db8b297941b3c68.jpg","text":"TemporaryFile(/tmp/multipartBody951007881207954138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153552011,"filename":"image_26112025_06_58_35_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/26/35f27370c161f064d8546094d4746058.jpg","text":"TemporaryFile(/tmp/multipartBody7457776401278452660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153552011,"filename":"image_26112025_06_58_13_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238724","file1":"1396238723","file0":"1396238722","file4":"1396238728","file5":"1396238732","file3":"1396238726"},"map_files_photo_id_array":[{"photo_id":"1396238732","filename":"file5"},{"photo_id":"1396238724","filename":"file2"},{"photo_id":"1396238728","filename":"file4"},{"photo_id":"1396238723","filename":"file1"},{"photo_id":"1396238722","filename":"file0"},{"photo_id":"1396238726","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396238724":["hashtag1","hashtag2"]},{"1396238723":["hashtag1","hashtag2"]},{"1396238732":["hashtag1","hashtag2"]},{"1396238726":["hashtag1","hashtag2"]},{"1396238728":["hashtag1","hashtag2"]},{"1396238722":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396238724, 1396238723, 1396238732, 1396238726, 1396238728, 1396238722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32736825942993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:39:03.399036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/06/58/image_26112025_06_58_40_1750.jpg', '/home/pi/Desktop/images/26112025/06/58/image_26112025_06_58_41_1500.jpg', '/home/pi/Desktop/images/26112025/06/58/image_26112025_06_58_43_1582.jpg', '/home/pi/Desktop/images/26112025/06/58/image_26112025_06_58_45_1662.jpg', '/home/pi/Desktop/images/26112025/07/00/image_26112025_07_00_07_3133.jpg', '/home/pi/Desktop/images/26112025/07/00/image_26112025_07_00_11_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/06/58/image_26112025_06_58_40_1750.jpg
/home/pi/Desktop/images/26112025/06/58/image_26112025_06_58_41_1500.jpg
/home/pi/Desktop/images/26112025/06/58/image_26112025_06_58_43_1582.jpg
/home/pi/Desktop/images/26112025/06/58/image_26112025_06_58_45_1662.jpg
/home/pi/Desktop/images/26112025/07/00/image_26112025_07_00_07_3133.jpg
/home/pi/Desktop/images/26112025/07/00/image_26112025_07_00_11_3623.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":["1396238760","1396238763","1396238759","1396238768","1396238761","1396238758"],"photo_ids_order":["1396238758","1396238759","1396238760","1396238761","1396238763","1396238768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b57873b5a26ba1c405be2af54802edd8.jpg","text":"TemporaryFile(/tmp/multipartBody94987340054289239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153604311,"filename":"image_26112025_06_58_43_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/26/b3788a5ec5ccd5821db6e529f09991d7.jpg","text":"TemporaryFile(/tmp/multipartBody476950620907123713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153604311,"filename":"image_26112025_07_00_07_3133.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4b8a49d8f847d4fe28a54f3d9544087b.jpg","text":"TemporaryFile(/tmp/multipartBody5430011759915448421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153604311,"filename":"image_26112025_06_58_41_1500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5db10c628644c69451703c7f16b4c5a4.jpg","text":"TemporaryFile(/tmp/multipartBody6000417679429666951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153604311,"filename":"image_26112025_07_00_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/26/764417f821d3eae3dbeede7a37c3d00b.jpg","text":"TemporaryFile(/tmp/multipartBody501547049850801010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153604311,"filename":"image_26112025_06_58_45_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/26/f67773908855c870b55381c4d2caf263.jpg","text":"TemporaryFile(/tmp/multipartBody3181723913939039528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153604311,"filename":"image_26112025_06_58_40_1750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238760","file1":"1396238759","file0":"1396238758","file4":"1396238763","file5":"1396238768","file3":"1396238761"},"map_files_photo_id_array":[{"photo_id":"1396238768","filename":"file5"},{"photo_id":"1396238760","filename":"file2"},{"photo_id":"1396238763","filename":"file4"},{"photo_id":"1396238759","filename":"file1"},{"photo_id":"1396238758","filename":"file0"},{"photo_id":"1396238761","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396238760":["hashtag1","hashtag2"]},{"1396238763":["hashtag1","hashtag2"]},{"1396238759":["hashtag1","hashtag2"]},{"1396238768":["hashtag1","hashtag2"]},{"1396238761":["hashtag1","hashtag2"]},{"1396238758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396238760, 1396238763, 1396238759, 1396238768, 1396238761, 1396238758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.743380546569824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 11:39:42.769489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/00/image_26112025_07_00_13_2499.jpg', '/home/pi/Desktop/images/26112025/07/00/image_26112025_07_00_17_3700.jpg', '/home/pi/Desktop/images/26112025/07/00/image_26112025_07_00_21_3725.jpg', '/home/pi/Desktop/images/26112025/07/00/image_26112025_07_00_22_1563.jpg', '/home/pi/Desktop/images/26112025/07/00/image_26112025_07_00_25_2793.jpg', '/home/pi/Desktop/images/26112025/07/00/image_26112025_07_00_29_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/00/image_26112025_07_00_13_2499.jpg
/home/pi/Desktop/images/26112025/07/00/image_26112025_07_00_17_3700.jpg
/home/pi/Desktop/images/26112025/07/00/image_26112025_07_00_21_3725.jpg
/home/pi/Desktop/images/26112025/07/00/image_26112025_07_00_22_1563.jpg
/home/pi/Desktop/images/26112025/07/00/image_26112025_07_00_25_2793.jpg
/home/pi/Desktop/images/26112025/07/00/image_26112025_07_00_29_3618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396238781","1396238811","1396238789","1396238813","1396238776","1396238790"],"photo_ids_order":["1396238776","1396238781","1396238789","1396238790","1396238811","1396238813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f97d4a78cc93f5b3fc6994a9905310d9.jpg","text":"TemporaryFile(/tmp/multipartBody765435248056208561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153643446,"filename":"image_26112025_07_00_17_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/26/57aaa903aeca1b0179d3572b949b2aaa.jpg","text":"TemporaryFile(/tmp/multipartBody9149235829362342031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153643446,"filename":"image_26112025_07_00_25_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/26/fbff9b99a3a0792762bb01b554a1aa22.jpg","text":"TemporaryFile(/tmp/multipartBody3930470223615639222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153643446,"filename":"image_26112025_07_00_21_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/26/c6ab6933026087da3a52772e49ebbdd3.jpg","text":"TemporaryFile(/tmp/multipartBody8493469751592739057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153643446,"filename":"image_26112025_07_00_29_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/26/ae2f5acd4d1ea202c6092e1e9bd55813.jpg","text":"TemporaryFile(/tmp/multipartBody3706982482042391929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153643446,"filename":"image_26112025_07_00_13_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/26/a1789906f8d8ce5ac2694cb059f8a7d0.jpg","text":"TemporaryFile(/tmp/multipartBody1783115301756780089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153643446,"filename":"image_26112025_07_00_22_1563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238789","file1":"1396238781","file0":"1396238776","file4":"1396238811","file5":"1396238813","file3":"1396238790"},"map_files_photo_id_array":[{"photo_id":"1396238813","filename":"file5"},{"photo_id":"1396238789","filename":"file2"},{"photo_id":"1396238811","filename":"file4"},{"photo_id":"1396238781","filename":"file1"},{"photo_id":"1396238776","filename":"file0"},{"photo_id":"1396238790","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396238781":["hashtag1","hashtag2"]},{"1396238811":["hashtag1","hashtag2"]},{"1396238789":["hashtag1","hashtag2"]},{"1396238813":["hashtag1","hashtag2"]},{"1396238776":["hashtag1","hashtag2"]},{"1396238790":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396238781, 1396238811, 1396238789, 1396238813, 1396238776, 1396238790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.03340768814087 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:40:22.046909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/00/image_26112025_07_00_32_3029.jpg', '/home/pi/Desktop/images/26112025/07/00/image_26112025_07_00_34_2529.jpg', '/home/pi/Desktop/images/26112025/07/00/image_26112025_07_00_38_3716.jpg', '/home/pi/Desktop/images/26112025/07/00/image_26112025_07_00_41_2724.jpg', '/home/pi/Desktop/images/26112025/07/02/image_26112025_07_02_06_3019.jpg', '/home/pi/Desktop/images/26112025/07/02/image_26112025_07_02_10_3913.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/00/image_26112025_07_00_32_3029.jpg
/home/pi/Desktop/images/26112025/07/00/image_26112025_07_00_34_2529.jpg
/home/pi/Desktop/images/26112025/07/00/image_26112025_07_00_38_3716.jpg
/home/pi/Desktop/images/26112025/07/00/image_26112025_07_00_41_2724.jpg
/home/pi/Desktop/images/26112025/07/02/image_26112025_07_02_06_3019.jpg
/home/pi/Desktop/images/26112025/07/02/image_26112025_07_02_10_3913.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":["1396238889","1396238820","1396238867","1396238822","1396238869","1396238851"],"photo_ids_order":["1396238820","1396238822","1396238851","1396238867","1396238869","1396238889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ddd17252accb91099111ba3e97ec8f31.jpg","text":"TemporaryFile(/tmp/multipartBody5796270143588405004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153682753,"filename":"image_26112025_07_02_10_3913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c4a5b095db8b493fa7828a118367ac39.jpg","text":"TemporaryFile(/tmp/multipartBody6117961269902775139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153682753,"filename":"image_26112025_07_00_32_3029.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b0d76e95c47059017fd4d4c8404d0f21.jpg","text":"TemporaryFile(/tmp/multipartBody7784386966016507372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153682753,"filename":"image_26112025_07_00_41_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/26/07d29d9d35d7b1ff0cdd104c2219d869.jpg","text":"TemporaryFile(/tmp/multipartBody5721179935463767864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153682753,"filename":"image_26112025_07_00_34_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/26/6aeb068da608db77d36b86a020b5046c.jpg","text":"TemporaryFile(/tmp/multipartBody4959026673295503707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153682753,"filename":"image_26112025_07_02_06_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/26/7d5f7cdccb3578bcf174879a11981108.jpg","text":"TemporaryFile(/tmp/multipartBody7864583765130875346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153682753,"filename":"image_26112025_07_00_38_3716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396238851","file1":"1396238822","file0":"1396238820","file4":"1396238869","file5":"1396238889","file3":"1396238867"},"map_files_photo_id_array":[{"photo_id":"1396238889","filename":"file5"},{"photo_id":"1396238851","filename":"file2"},{"photo_id":"1396238869","filename":"file4"},{"photo_id":"1396238822","filename":"file1"},{"photo_id":"1396238820","filename":"file0"},{"photo_id":"1396238867","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396238889":["hashtag1","hashtag2"]},{"1396238820":["hashtag1","hashtag2"]},{"1396238867":["hashtag1","hashtag2"]},{"1396238822":["hashtag1","hashtag2"]},{"1396238869":["hashtag1","hashtag2"]},{"1396238851":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396238889, 1396238820, 1396238867, 1396238822, 1396238869, 1396238851)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.87632441520691 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:41:13.170035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/02/image_26112025_07_02_13_2646.jpg', '/home/pi/Desktop/images/26112025/07/02/image_26112025_07_02_16_2714.jpg', '/home/pi/Desktop/images/26112025/07/02/image_26112025_07_02_18_2801.jpg', '/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_07_3011.jpg', '/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_11_3739.jpg', '/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_13_2510.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/02/image_26112025_07_02_13_2646.jpg
/home/pi/Desktop/images/26112025/07/02/image_26112025_07_02_16_2714.jpg
/home/pi/Desktop/images/26112025/07/02/image_26112025_07_02_18_2801.jpg
/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_07_3011.jpg
/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_11_3739.jpg
/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_13_2510.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":["1396239108","1396239074","1396239059","1396239112","1396239106","1396239054"],"photo_ids_order":["1396239054","1396239059","1396239074","1396239106","1396239108","1396239112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8675f1c873b26f09d7b0c38c67b4cfe6.jpg","text":"TemporaryFile(/tmp/multipartBody6796187667329777616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153733839,"filename":"image_26112025_07_04_11_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/26/e22c09a222a5875adffa4fa8a40811e8.jpg","text":"TemporaryFile(/tmp/multipartBody6496726916277796139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153733839,"filename":"image_26112025_07_02_18_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/26/1b4ef2e48851f4b6504e50c33175d744.jpg","text":"TemporaryFile(/tmp/multipartBody620833416225142488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153733839,"filename":"image_26112025_07_02_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/26/d3c72e93d18acc7f0cdaa63e29fcd3f3.jpg","text":"TemporaryFile(/tmp/multipartBody1613389420253119399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153733839,"filename":"image_26112025_07_04_13_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/26/89ee072985a14109a6c76cfd43252727.jpg","text":"TemporaryFile(/tmp/multipartBody1857690161361150544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153733839,"filename":"image_26112025_07_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/26/c1c460b81e4186c40a7423c6776183ca.jpg","text":"TemporaryFile(/tmp/multipartBody8864706646856531711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153733839,"filename":"image_26112025_07_02_13_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396239074","file1":"1396239059","file0":"1396239054","file4":"1396239108","file5":"1396239112","file3":"1396239106"},"map_files_photo_id_array":[{"photo_id":"1396239112","filename":"file5"},{"photo_id":"1396239074","filename":"file2"},{"photo_id":"1396239108","filename":"file4"},{"photo_id":"1396239059","filename":"file1"},{"photo_id":"1396239054","filename":"file0"},{"photo_id":"1396239106","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396239108":["hashtag1","hashtag2"]},{"1396239074":["hashtag1","hashtag2"]},{"1396239059":["hashtag1","hashtag2"]},{"1396239112":["hashtag1","hashtag2"]},{"1396239106":["hashtag1","hashtag2"]},{"1396239054":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396239108, 1396239074, 1396239059, 1396239112, 1396239106, 1396239054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87328052520752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:42:02.396441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_17_3562.jpg', '/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_19_2656.jpg', '/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_22_2647.jpg', '/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_25_2845.jpg', '/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_28_3572.jpg', '/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_31_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_17_3562.jpg
/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_19_2656.jpg
/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_22_2647.jpg
/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_25_2845.jpg
/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_28_3572.jpg
/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_31_2640.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":["1396239135","1396239138","1396239123","1396239125","1396239128","1396239122"],"photo_ids_order":["1396239122","1396239123","1396239125","1396239128","1396239135","1396239138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d1d18c43f90f6859c41a8f76f18f7841.jpg","text":"TemporaryFile(/tmp/multipartBody8927727995703657773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153783115,"filename":"image_26112025_07_04_28_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/26/d800f2a772b65d7f2b10ee4cd3ab2a7f.jpg","text":"TemporaryFile(/tmp/multipartBody7895708207909823701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153783115,"filename":"image_26112025_07_04_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/26/27bc3290eb9e9cb5bfcddaded4b1d382.jpg","text":"TemporaryFile(/tmp/multipartBody8093556268230408114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153783115,"filename":"image_26112025_07_04_19_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/26/9cc7e1940f96ad73c584c37f09769104.jpg","text":"TemporaryFile(/tmp/multipartBody7357680582634074798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153783115,"filename":"image_26112025_07_04_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/26/33da34b384b8039962b9f6f480e82584.jpg","text":"TemporaryFile(/tmp/multipartBody2272973963930471538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153783115,"filename":"image_26112025_07_04_25_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/26/8014e2cbd2a55b2eb3f196bf723ed748.jpg","text":"TemporaryFile(/tmp/multipartBody3422941670096334789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153783115,"filename":"image_26112025_07_04_17_3562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396239125","file1":"1396239123","file0":"1396239122","file4":"1396239135","file5":"1396239138","file3":"1396239128"},"map_files_photo_id_array":[{"photo_id":"1396239138","filename":"file5"},{"photo_id":"1396239125","filename":"file2"},{"photo_id":"1396239135","filename":"file4"},{"photo_id":"1396239123","filename":"file1"},{"photo_id":"1396239122","filename":"file0"},{"photo_id":"1396239128","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396239135":["hashtag1","hashtag2"]},{"1396239138":["hashtag1","hashtag2"]},{"1396239123":["hashtag1","hashtag2"]},{"1396239125":["hashtag1","hashtag2"]},{"1396239128":["hashtag1","hashtag2"]},{"1396239122":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396239135, 1396239138, 1396239123, 1396239125, 1396239128, 1396239122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90386986732483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 11:42:41.824512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_34_2986.jpg', '/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_38_3610.jpg', '/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_40_2629.jpg', '/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_43_2636.jpg', '/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_47_3594.jpg', '/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_52_5472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_34_2986.jpg
/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_38_3610.jpg
/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_40_2629.jpg
/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_43_2636.jpg
/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_47_3594.jpg
/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_52_5472.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":["1396239182","1396239185","1396239179","1396239164","1396239166","1396239181"],"photo_ids_order":["1396239164","1396239166","1396239179","1396239181","1396239182","1396239185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8ee54ab21127faa27bdeb9fb5985ee59.jpg","text":"TemporaryFile(/tmp/multipartBody7349273190013654213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153822522,"filename":"image_26112025_07_04_47_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/26/fe4e4c3003543b1821183d728c08e773.jpg","text":"TemporaryFile(/tmp/multipartBody1702887519235404946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153822522,"filename":"image_26112025_07_04_52_5472.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/82d34fbb17e713a5aa346408c169b655.jpg","text":"TemporaryFile(/tmp/multipartBody4763210977768498175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153822522,"filename":"image_26112025_07_04_40_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/26/27949222cfd8df991902282fc3017f30.jpg","text":"TemporaryFile(/tmp/multipartBody6835165589654282188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153822522,"filename":"image_26112025_07_04_34_2986.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3237cb32b8905dcff6c7b6f2ee06b4b4.jpg","text":"TemporaryFile(/tmp/multipartBody6941692630805811626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153822522,"filename":"image_26112025_07_04_38_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/26/4839ddb831099630e3da292196644b09.jpg","text":"TemporaryFile(/tmp/multipartBody7390820671759105951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153822522,"filename":"image_26112025_07_04_43_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396239179","file1":"1396239166","file0":"1396239164","file4":"1396239182","file5":"1396239185","file3":"1396239181"},"map_files_photo_id_array":[{"photo_id":"1396239185","filename":"file5"},{"photo_id":"1396239179","filename":"file2"},{"photo_id":"1396239182","filename":"file4"},{"photo_id":"1396239166","filename":"file1"},{"photo_id":"1396239164","filename":"file0"},{"photo_id":"1396239181","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396239182":["hashtag1","hashtag2"]},{"1396239185":["hashtag1","hashtag2"]},{"1396239179":["hashtag1","hashtag2"]},{"1396239164":["hashtag1","hashtag2"]},{"1396239166":["hashtag1","hashtag2"]},{"1396239181":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396239182, 1396239185, 1396239179, 1396239164, 1396239166, 1396239181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81219172477722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:43:22.119714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_54_1648.jpg', '/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_55_1644.jpg', '/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_58_2658.jpg', '/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_02_3665.jpg', '/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_04_2741.jpg', '/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_07_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_54_1648.jpg
/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_55_1644.jpg
/home/pi/Desktop/images/26112025/07/04/image_26112025_07_04_58_2658.jpg
/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_02_3665.jpg
/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_04_2741.jpg
/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_07_2611.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":["1396239234","1396239207","1396239222","1396239210","1396239196","1396239220"],"photo_ids_order":["1396239196","1396239207","1396239210","1396239220","1396239222","1396239234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/21964c93c49c85cb772739b944fd4c1a.jpg","text":"TemporaryFile(/tmp/multipartBody1467885990053813290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153862859,"filename":"image_26112025_07_05_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/26/b53ad9e0284e34adc9c351a19afee1e9.jpg","text":"TemporaryFile(/tmp/multipartBody3743903878016174100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153862859,"filename":"image_26112025_07_04_55_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/560aa8943d2e66d625e4ad500fc14194.jpg","text":"TemporaryFile(/tmp/multipartBody2186780022103547793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153862859,"filename":"image_26112025_07_05_04_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/26/e4b978a2fccc0920f0699789ff6bdd9a.jpg","text":"TemporaryFile(/tmp/multipartBody8365689054818065891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153862859,"filename":"image_26112025_07_04_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/26/088897ffae1feb0e9bc034eed894f890.jpg","text":"TemporaryFile(/tmp/multipartBody3838799179857032169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153862859,"filename":"image_26112025_07_04_54_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/26/18aec8bc512658218a693b3f9b624fd9.jpg","text":"TemporaryFile(/tmp/multipartBody5843868021422151533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153862859,"filename":"image_26112025_07_05_02_3665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396239210","file1":"1396239207","file0":"1396239196","file4":"1396239222","file5":"1396239234","file3":"1396239220"},"map_files_photo_id_array":[{"photo_id":"1396239234","filename":"file5"},{"photo_id":"1396239210","filename":"file2"},{"photo_id":"1396239222","filename":"file4"},{"photo_id":"1396239207","filename":"file1"},{"photo_id":"1396239196","filename":"file0"},{"photo_id":"1396239220","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396239234":["hashtag1","hashtag2"]},{"1396239207":["hashtag1","hashtag2"]},{"1396239222":["hashtag1","hashtag2"]},{"1396239210":["hashtag1","hashtag2"]},{"1396239196":["hashtag1","hashtag2"]},{"1396239220":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396239234, 1396239207, 1396239222, 1396239210, 1396239196, 1396239220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77460074424744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:44:03.050530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_11_3527.jpg', '/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_13_2584.jpg', '/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_16_2966.jpg', '/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_23_7318.jpg', '/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_25_1833.jpg', '/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_27_1651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_11_3527.jpg
/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_13_2584.jpg
/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_16_2966.jpg
/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_23_7318.jpg
/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_25_1833.jpg
/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_27_1651.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":["1396239260","1396239263","1396239257","1396239271","1396239265","1396239267"],"photo_ids_order":["1396239257","1396239260","1396239263","1396239265","1396239267","1396239271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a7977e278e52af4f026fca6c01007255.jpg","text":"TemporaryFile(/tmp/multipartBody7749160365682319395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153903799,"filename":"image_26112025_07_05_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/26/8a6d76cf860ce016b2ba054c23ec621f.jpg","text":"TemporaryFile(/tmp/multipartBody7853499999372998351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153903799,"filename":"image_26112025_07_05_16_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/26/f8e0e2396b1cb7bfa26568c8e143c454.jpg","text":"TemporaryFile(/tmp/multipartBody2881790617618644687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153903799,"filename":"image_26112025_07_05_11_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/26/50a2b039b1f35908e18124877bb7822f.jpg","text":"TemporaryFile(/tmp/multipartBody2231237121575486420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153903799,"filename":"image_26112025_07_05_27_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/26/c9723ba7275cb7a3c15fd0bd1581b457.jpg","text":"TemporaryFile(/tmp/multipartBody7724579897276464777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153903799,"filename":"image_26112025_07_05_23_7318.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d7a437a1d81ba4bb1bac37ee2d52d70b.jpg","text":"TemporaryFile(/tmp/multipartBody2764887412421364097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153903799,"filename":"image_26112025_07_05_25_1833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396239263","file1":"1396239260","file0":"1396239257","file4":"1396239267","file5":"1396239271","file3":"1396239265"},"map_files_photo_id_array":[{"photo_id":"1396239271","filename":"file5"},{"photo_id":"1396239263","filename":"file2"},{"photo_id":"1396239267","filename":"file4"},{"photo_id":"1396239260","filename":"file1"},{"photo_id":"1396239257","filename":"file0"},{"photo_id":"1396239265","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396239260":["hashtag1","hashtag2"]},{"1396239263":["hashtag1","hashtag2"]},{"1396239257":["hashtag1","hashtag2"]},{"1396239271":["hashtag1","hashtag2"]},{"1396239265":["hashtag1","hashtag2"]},{"1396239267":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396239260, 1396239263, 1396239257, 1396239271, 1396239265, 1396239267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.300511598587036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 11:44:42.210112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_29_1650.jpg', '/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_31_2500.jpg', '/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_34_2972.jpg', '/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_38_3596.jpg', '/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_40_2607.jpg', '/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_43_2818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_29_1650.jpg
/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_31_2500.jpg
/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_34_2972.jpg
/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_38_3596.jpg
/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_40_2607.jpg
/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_43_2818.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":["1396239300","1396239299","1396239296","1396239298","1396239289","1396239280"],"photo_ids_order":["1396239280","1396239289","1396239296","1396239298","1396239299","1396239300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/366b4d8bbd119fdaa835c417c38ab6a0.jpg","text":"TemporaryFile(/tmp/multipartBody5770700368628118595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153942887,"filename":"image_26112025_07_05_43_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/26/e85cb65cc19f2f4057abbd903f249f5c.jpg","text":"TemporaryFile(/tmp/multipartBody7682387312873352410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153942887,"filename":"image_26112025_07_05_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/26/0acbcc44525535a79eecff631adcacee.jpg","text":"TemporaryFile(/tmp/multipartBody2342814315760434216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153942887,"filename":"image_26112025_07_05_34_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/26/828a7d21134e2591a836a8c7277ad0ba.jpg","text":"TemporaryFile(/tmp/multipartBody4282140837149162247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153942887,"filename":"image_26112025_07_05_38_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/26/f14f899b335bd8b9f067b42efc0533df.jpg","text":"TemporaryFile(/tmp/multipartBody1052430143336923997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153942887,"filename":"image_26112025_07_05_31_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/26/74d066bbb35db0338e72a92593d7b12f.jpg","text":"TemporaryFile(/tmp/multipartBody6633059237276658632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153942887,"filename":"image_26112025_07_05_29_1650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396239296","file1":"1396239289","file0":"1396239280","file4":"1396239299","file5":"1396239300","file3":"1396239298"},"map_files_photo_id_array":[{"photo_id":"1396239300","filename":"file5"},{"photo_id":"1396239296","filename":"file2"},{"photo_id":"1396239299","filename":"file4"},{"photo_id":"1396239289","filename":"file1"},{"photo_id":"1396239280","filename":"file0"},{"photo_id":"1396239298","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396239300":["hashtag1","hashtag2"]},{"1396239299":["hashtag1","hashtag2"]},{"1396239296":["hashtag1","hashtag2"]},{"1396239298":["hashtag1","hashtag2"]},{"1396239289":["hashtag1","hashtag2"]},{"1396239280":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396239300, 1396239299, 1396239296, 1396239298, 1396239289, 1396239280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20213174819946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:45:22.433212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_47_3569.jpg', '/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_49_2664.jpg', '/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_52_2669.jpg', '/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_56_3636.jpg', '/home/pi/Desktop/images/26112025/07/07/image_26112025_07_07_07_3893.jpg', '/home/pi/Desktop/images/26112025/07/07/image_26112025_07_07_10_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_47_3569.jpg
/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_49_2664.jpg
/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_52_2669.jpg
/home/pi/Desktop/images/26112025/07/05/image_26112025_07_05_56_3636.jpg
/home/pi/Desktop/images/26112025/07/07/image_26112025_07_07_07_3893.jpg
/home/pi/Desktop/images/26112025/07/07/image_26112025_07_07_10_2611.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":["1396239323","1396239320","1396239308","1396239331","1396239328","1396239325"],"photo_ids_order":["1396239308","1396239320","1396239323","1396239325","1396239328","1396239331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5e651353ea334d816007ab0ed4c135ed.jpg","text":"TemporaryFile(/tmp/multipartBody3719654472879698023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153983115,"filename":"image_26112025_07_05_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/26/f50cd07d6421987b51abfe56cdb0b113.jpg","text":"TemporaryFile(/tmp/multipartBody5703976792860044685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153983115,"filename":"image_26112025_07_05_49_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/26/e6d74d24350718bb6c63d08e46710d49.jpg","text":"TemporaryFile(/tmp/multipartBody1251269756153268273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153983115,"filename":"image_26112025_07_05_47_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/26/c4316b6fe900dc9f047133973af77eee.jpg","text":"TemporaryFile(/tmp/multipartBody6472606200922663002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153983115,"filename":"image_26112025_07_07_10_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/26/b2be94bec1606cbadbeb4c758c59a605.jpg","text":"TemporaryFile(/tmp/multipartBody7674655575447634150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153983115,"filename":"image_26112025_07_07_07_3893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9951b8f703c33604fa08da0677fe94d1.jpg","text":"TemporaryFile(/tmp/multipartBody3797784475297264247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764153983115,"filename":"image_26112025_07_05_56_3636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396239323","file1":"1396239320","file0":"1396239308","file4":"1396239328","file5":"1396239331","file3":"1396239325"},"map_files_photo_id_array":[{"photo_id":"1396239331","filename":"file5"},{"photo_id":"1396239323","filename":"file2"},{"photo_id":"1396239328","filename":"file4"},{"photo_id":"1396239320","filename":"file1"},{"photo_id":"1396239308","filename":"file0"},{"photo_id":"1396239325","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396239323":["hashtag1","hashtag2"]},{"1396239320":["hashtag1","hashtag2"]},{"1396239308":["hashtag1","hashtag2"]},{"1396239331":["hashtag1","hashtag2"]},{"1396239328":["hashtag1","hashtag2"]},{"1396239325":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396239323, 1396239320, 1396239308, 1396239331, 1396239328, 1396239325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95955967903137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:46:03.105227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/07/image_26112025_07_07_12_2644.jpg', '/home/pi/Desktop/images/26112025/07/07/image_26112025_07_07_16_3591.jpg', '/home/pi/Desktop/images/26112025/07/07/image_26112025_07_07_19_2647.jpg', '/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_07_3011.jpg', '/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_10_3740.jpg', '/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_13_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/07/image_26112025_07_07_12_2644.jpg
/home/pi/Desktop/images/26112025/07/07/image_26112025_07_07_16_3591.jpg
/home/pi/Desktop/images/26112025/07/07/image_26112025_07_07_19_2647.jpg
/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_07_3011.jpg
/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_10_3740.jpg
/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_13_2702.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":["1396239397","1396239409","1396239400","1396239403","1396239406","1396239390"],"photo_ids_order":["1396239390","1396239397","1396239400","1396239403","1396239406","1396239409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9317613657ebe7bbd94f9c1889c2a301.jpg","text":"TemporaryFile(/tmp/multipartBody527613235222600192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154023824,"filename":"image_26112025_07_07_16_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/26/9b58a0b1fb2b924781bfdb4450ce5ccb.jpg","text":"TemporaryFile(/tmp/multipartBody5090357500584049572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154023824,"filename":"image_26112025_07_09_13_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9c162552a6f443eb3e2453c0f1da42af.jpg","text":"TemporaryFile(/tmp/multipartBody2561861577347978463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154023824,"filename":"image_26112025_07_07_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/26/df9d3e2ce919c7d43d8f0555158a5216.jpg","text":"TemporaryFile(/tmp/multipartBody5267792048955890364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154023824,"filename":"image_26112025_07_09_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/26/6b7db59ddd419cf2ce0496d8e083da67.jpg","text":"TemporaryFile(/tmp/multipartBody949566222796568460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154023824,"filename":"image_26112025_07_09_10_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/26/3c30f25707b87a257d169f2c3ca95741.jpg","text":"TemporaryFile(/tmp/multipartBody5796298509412109040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154023824,"filename":"image_26112025_07_07_12_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396239400","file1":"1396239397","file0":"1396239390","file4":"1396239406","file5":"1396239409","file3":"1396239403"},"map_files_photo_id_array":[{"photo_id":"1396239409","filename":"file5"},{"photo_id":"1396239400","filename":"file2"},{"photo_id":"1396239406","filename":"file4"},{"photo_id":"1396239397","filename":"file1"},{"photo_id":"1396239390","filename":"file0"},{"photo_id":"1396239403","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396239397":["hashtag1","hashtag2"]},{"1396239409":["hashtag1","hashtag2"]},{"1396239400":["hashtag1","hashtag2"]},{"1396239403":["hashtag1","hashtag2"]},{"1396239406":["hashtag1","hashtag2"]},{"1396239390":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396239397, 1396239409, 1396239400, 1396239403, 1396239406, 1396239390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63755464553833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 11:46:42.689886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_16_2705.jpg', '/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_19_3546.jpg', '/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_22_2656.jpg', '/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_26_3547.jpg', '/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_28_2665.jpg', '/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_31_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_16_2705.jpg
/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_19_3546.jpg
/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_22_2656.jpg
/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_26_3547.jpg
/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_28_2665.jpg
/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_31_2657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396239414","1396239417","1396239425","1396239419","1396239421","1396239423"],"photo_ids_order":["1396239414","1396239417","1396239419","1396239421","1396239423","1396239425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/22aed87f48fc5601def7426d9f5830b4.jpg","text":"TemporaryFile(/tmp/multipartBody3392286122159647791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154063393,"filename":"image_26112025_07_09_16_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/26/aeade1bf0829777cc5b9415202d2a998.jpg","text":"TemporaryFile(/tmp/multipartBody2736268719217929798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154063393,"filename":"image_26112025_07_09_19_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/26/6cae70d12a7c649d5925b313bd893b79.jpg","text":"TemporaryFile(/tmp/multipartBody5986098901041218746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154063393,"filename":"image_26112025_07_09_31_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/26/dd701111cfbaec714a340a42d7425263.jpg","text":"TemporaryFile(/tmp/multipartBody6287387661334069579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154063393,"filename":"image_26112025_07_09_22_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/26/04cff42e3b405382519629de7dd8c852.jpg","text":"TemporaryFile(/tmp/multipartBody1657412540533998405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154063393,"filename":"image_26112025_07_09_26_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/26/ffc8a9ab2563aa8b0c5ee58c9a506d81.jpg","text":"TemporaryFile(/tmp/multipartBody6887428483891307375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154063393,"filename":"image_26112025_07_09_28_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396239419","file1":"1396239417","file0":"1396239414","file4":"1396239423","file5":"1396239425","file3":"1396239421"},"map_files_photo_id_array":[{"photo_id":"1396239425","filename":"file5"},{"photo_id":"1396239419","filename":"file2"},{"photo_id":"1396239423","filename":"file4"},{"photo_id":"1396239417","filename":"file1"},{"photo_id":"1396239414","filename":"file0"},{"photo_id":"1396239421","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396239414":["hashtag1","hashtag2"]},{"1396239417":["hashtag1","hashtag2"]},{"1396239425":["hashtag1","hashtag2"]},{"1396239419":["hashtag1","hashtag2"]},{"1396239421":["hashtag1","hashtag2"]},{"1396239423":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396239414, 1396239417, 1396239425, 1396239419, 1396239421, 1396239423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37126421928406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:47:21.802061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_36_5122.jpg', '/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_38_1503.jpg', '/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_40_2529.jpg', '/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_43_2817.jpg', '/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_46_2835.jpg', '/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_49_3580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_36_5122.jpg
/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_38_1503.jpg
/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_40_2529.jpg
/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_43_2817.jpg
/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_46_2835.jpg
/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_49_3580.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":["1396239435","1396239446","1396239431","1396239433","1396239442","1396239438"],"photo_ids_order":["1396239431","1396239433","1396239435","1396239438","1396239442","1396239446"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/72183ea4e98c51c6e66e63703dad4143.jpg","text":"TemporaryFile(/tmp/multipartBody8498305312790447967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154102509,"filename":"image_26112025_07_09_40_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/26/826a6e742b4a8339a92c5e67fcf3f949.jpg","text":"TemporaryFile(/tmp/multipartBody1946562106275019836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154102509,"filename":"image_26112025_07_09_49_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/26/7b3c83dd3ed05bd95a74733a3f5f4901.jpg","text":"TemporaryFile(/tmp/multipartBody6088485568605622439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154102509,"filename":"image_26112025_07_09_36_5122.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/541c26118a943203cda85af3caeab7e5.jpg","text":"TemporaryFile(/tmp/multipartBody6878593528977253605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154102509,"filename":"image_26112025_07_09_38_1503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/14b363687b3d37fabb90ab110b37101d.jpg","text":"TemporaryFile(/tmp/multipartBody2360264372386215444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154102509,"filename":"image_26112025_07_09_46_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9651fce4d8cb7b29f4605ed409c5d2c2.jpg","text":"TemporaryFile(/tmp/multipartBody3791353533031407967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154102509,"filename":"image_26112025_07_09_43_2817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396239435","file1":"1396239433","file0":"1396239431","file4":"1396239442","file5":"1396239446","file3":"1396239438"},"map_files_photo_id_array":[{"photo_id":"1396239446","filename":"file5"},{"photo_id":"1396239435","filename":"file2"},{"photo_id":"1396239442","filename":"file4"},{"photo_id":"1396239433","filename":"file1"},{"photo_id":"1396239431","filename":"file0"},{"photo_id":"1396239438","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396239435":["hashtag1","hashtag2"]},{"1396239446":["hashtag1","hashtag2"]},{"1396239431":["hashtag1","hashtag2"]},{"1396239433":["hashtag1","hashtag2"]},{"1396239442":["hashtag1","hashtag2"]},{"1396239438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396239435, 1396239446, 1396239431, 1396239433, 1396239442, 1396239438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18993782997131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:48:02.910031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:48:22.416592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_52_2753.jpg', '/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_55_2641.jpg', '/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_59_3806.jpg', '/home/pi/Desktop/images/26112025/07/10/image_26112025_07_10_07_8182.jpg', '/home/pi/Desktop/images/26112025/07/10/image_26112025_07_10_08_1753.jpg', '/home/pi/Desktop/images/26112025/07/10/image_26112025_07_10_10_1625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_52_2753.jpg
/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_55_2641.jpg
/home/pi/Desktop/images/26112025/07/09/image_26112025_07_09_59_3806.jpg
/home/pi/Desktop/images/26112025/07/10/image_26112025_07_10_07_8182.jpg
/home/pi/Desktop/images/26112025/07/10/image_26112025_07_10_08_1753.jpg
/home/pi/Desktop/images/26112025/07/10/image_26112025_07_10_10_1625.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":["1396239464","1396239467","1396239476","1396239461","1396239478","1396239474"],"photo_ids_order":["1396239461","1396239464","1396239467","1396239474","1396239476","1396239478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/61710a660a59f887a834f660d0af5c7b.jpg","text":"TemporaryFile(/tmp/multipartBody6856536232383527656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154163082,"filename":"image_26112025_07_09_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/26/596490d6556c7b4e779c0db95bb0e52a.jpg","text":"TemporaryFile(/tmp/multipartBody3318904795368670293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154163082,"filename":"image_26112025_07_09_59_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/26/d822d49fbdab6aedc5bd696b028fe78f.jpg","text":"TemporaryFile(/tmp/multipartBody1999003527895006099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154163082,"filename":"image_26112025_07_10_08_1753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fd9ae10ea1281a14a3be6805726802e7.jpg","text":"TemporaryFile(/tmp/multipartBody5555848829186629832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154163082,"filename":"image_26112025_07_09_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/26/12eeab6d9cf96120b26638d165caaef3.jpg","text":"TemporaryFile(/tmp/multipartBody5126114950443220650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154163082,"filename":"image_26112025_07_10_10_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/26/6bc0460dd65b8c0d3e2dd60fd11d167c.jpg","text":"TemporaryFile(/tmp/multipartBody117151887696838618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154163082,"filename":"image_26112025_07_10_07_8182.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396239467","file1":"1396239464","file0":"1396239461","file4":"1396239476","file5":"1396239478","file3":"1396239474"},"map_files_photo_id_array":[{"photo_id":"1396239478","filename":"file5"},{"photo_id":"1396239467","filename":"file2"},{"photo_id":"1396239476","filename":"file4"},{"photo_id":"1396239464","filename":"file1"},{"photo_id":"1396239461","filename":"file0"},{"photo_id":"1396239474","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396239464":["hashtag1","hashtag2"]},{"1396239467":["hashtag1","hashtag2"]},{"1396239476":["hashtag1","hashtag2"]},{"1396239461":["hashtag1","hashtag2"]},{"1396239478":["hashtag1","hashtag2"]},{"1396239474":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396239464, 1396239467, 1396239476, 1396239461, 1396239478, 1396239474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67419743537903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:49:03.409269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/10/image_26112025_07_10_12_1591.jpg', '/home/pi/Desktop/images/26112025/07/10/image_26112025_07_10_13_1752.jpg', '/home/pi/Desktop/images/26112025/07/10/image_26112025_07_10_16_2489.jpg', '/home/pi/Desktop/images/26112025/07/11/image_26112025_07_11_07_3017.jpg', '/home/pi/Desktop/images/26112025/07/11/image_26112025_07_11_10_3644.jpg', '/home/pi/Desktop/images/26112025/07/11/image_26112025_07_11_13_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/10/image_26112025_07_10_12_1591.jpg
/home/pi/Desktop/images/26112025/07/10/image_26112025_07_10_13_1752.jpg
/home/pi/Desktop/images/26112025/07/10/image_26112025_07_10_16_2489.jpg
/home/pi/Desktop/images/26112025/07/11/image_26112025_07_11_07_3017.jpg
/home/pi/Desktop/images/26112025/07/11/image_26112025_07_11_10_3644.jpg
/home/pi/Desktop/images/26112025/07/11/image_26112025_07_11_13_2724.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":["1396239578","1396239551","1396239574","1396239535","1396239520","1396239517"],"photo_ids_order":["1396239517","1396239520","1396239535","1396239551","1396239574","1396239578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/074951c6deefe6c3cb9c79c56aecb769.jpg","text":"TemporaryFile(/tmp/multipartBody688955759784893886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154204241,"filename":"image_26112025_07_11_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/26/7752d8b4457b1777d7afcab37beaa03a.jpg","text":"TemporaryFile(/tmp/multipartBody2398683252458515307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154204241,"filename":"image_26112025_07_11_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/26/a032287288a2b600731345bb21c43670.jpg","text":"TemporaryFile(/tmp/multipartBody6040333539074719002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154204241,"filename":"image_26112025_07_11_10_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/26/a0ce87ff969fc6b88832ef410d1a1412.jpg","text":"TemporaryFile(/tmp/multipartBody519944379461262431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154204241,"filename":"image_26112025_07_10_16_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/26/50975228c1bcd1e0a4ff2e313914c6b3.jpg","text":"TemporaryFile(/tmp/multipartBody737152147034569079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154204241,"filename":"image_26112025_07_10_13_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/26/4b3ca1bf1b320858db5387385035424a.jpg","text":"TemporaryFile(/tmp/multipartBody7803472228192715826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154204241,"filename":"image_26112025_07_10_12_1591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396239535","file1":"1396239520","file0":"1396239517","file4":"1396239574","file5":"1396239578","file3":"1396239551"},"map_files_photo_id_array":[{"photo_id":"1396239578","filename":"file5"},{"photo_id":"1396239535","filename":"file2"},{"photo_id":"1396239574","filename":"file4"},{"photo_id":"1396239520","filename":"file1"},{"photo_id":"1396239517","filename":"file0"},{"photo_id":"1396239551","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396239578":["hashtag1","hashtag2"]},{"1396239551":["hashtag1","hashtag2"]},{"1396239574":["hashtag1","hashtag2"]},{"1396239535":["hashtag1","hashtag2"]},{"1396239520":["hashtag1","hashtag2"]},{"1396239517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396239578, 1396239551, 1396239574, 1396239535, 1396239520, 1396239517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71247220039368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 11:49:42.631232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/11/image_26112025_07_11_16_2706.jpg', '/home/pi/Desktop/images/26112025/07/11/image_26112025_07_11_19_3705.jpg', '/home/pi/Desktop/images/26112025/07/11/image_26112025_07_11_25_2594.jpg', '/home/pi/Desktop/images/26112025/07/11/image_26112025_07_11_28_3706.jpg', '/home/pi/Desktop/images/26112025/07/11/image_26112025_07_11_31_2463.jpg', '/home/pi/Desktop/images/26112025/07/11/image_26112025_07_11_34_2754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/11/image_26112025_07_11_16_2706.jpg
/home/pi/Desktop/images/26112025/07/11/image_26112025_07_11_19_3705.jpg
/home/pi/Desktop/images/26112025/07/11/image_26112025_07_11_25_2594.jpg
/home/pi/Desktop/images/26112025/07/11/image_26112025_07_11_28_3706.jpg
/home/pi/Desktop/images/26112025/07/11/image_26112025_07_11_31_2463.jpg
/home/pi/Desktop/images/26112025/07/11/image_26112025_07_11_34_2754.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":["1396239609","1396239614","1396239611","1396239607","1396239616","1396239604"],"photo_ids_order":["1396239604","1396239607","1396239609","1396239611","1396239614","1396239616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3c5a5d8edd15893ac9b1b20c27259929.jpg","text":"TemporaryFile(/tmp/multipartBody6321774572690248194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154243304,"filename":"image_26112025_07_11_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/26/fa9382c8262bedc92c07e9a7124e7aef.jpg","text":"TemporaryFile(/tmp/multipartBody2265514228602103716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154243304,"filename":"image_26112025_07_11_31_2463.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2f6c79ce7dfc4e6413da37f64cdc21ae.jpg","text":"TemporaryFile(/tmp/multipartBody6017965183284077444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154243304,"filename":"image_26112025_07_11_28_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/26/99ede65a715937cb6f551246e9ce8b89.jpg","text":"TemporaryFile(/tmp/multipartBody2289449359724771170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154243304,"filename":"image_26112025_07_11_19_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/26/3bea7071f47e894b28687936e18dc5e2.jpg","text":"TemporaryFile(/tmp/multipartBody5213259469884174243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154243304,"filename":"image_26112025_07_11_34_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/26/3f60f77e70f3466f2ff2949709bb8306.jpg","text":"TemporaryFile(/tmp/multipartBody1953298400898240793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154243304,"filename":"image_26112025_07_11_16_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396239609","file1":"1396239607","file0":"1396239604","file4":"1396239614","file5":"1396239616","file3":"1396239611"},"map_files_photo_id_array":[{"photo_id":"1396239616","filename":"file5"},{"photo_id":"1396239609","filename":"file2"},{"photo_id":"1396239614","filename":"file4"},{"photo_id":"1396239607","filename":"file1"},{"photo_id":"1396239604","filename":"file0"},{"photo_id":"1396239611","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396239609":["hashtag1","hashtag2"]},{"1396239614":["hashtag1","hashtag2"]},{"1396239611":["hashtag1","hashtag2"]},{"1396239607":["hashtag1","hashtag2"]},{"1396239616":["hashtag1","hashtag2"]},{"1396239604":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396239609, 1396239614, 1396239611, 1396239607, 1396239616, 1396239604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44192361831665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:50:21.898025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/11/image_26112025_07_11_37_3612.jpg', '/home/pi/Desktop/images/26112025/07/11/image_26112025_07_11_40_2659.jpg', '/home/pi/Desktop/images/26112025/07/11/image_26112025_07_11_43_2720.jpg', '/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_07_3012.jpg', '/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_11_3663.jpg', '/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_13_2556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/11/image_26112025_07_11_37_3612.jpg
/home/pi/Desktop/images/26112025/07/11/image_26112025_07_11_40_2659.jpg
/home/pi/Desktop/images/26112025/07/11/image_26112025_07_11_43_2720.jpg
/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_07_3012.jpg
/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_11_3663.jpg
/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_13_2556.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":["1396239630","1396239627","1396239638","1396239643","1396239625","1396239622"],"photo_ids_order":["1396239622","1396239625","1396239627","1396239630","1396239638","1396239643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/deb326670c4c1ace17b567a1fc45a90c.jpg","text":"TemporaryFile(/tmp/multipartBody8370039728098003643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154282599,"filename":"image_26112025_07_13_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/26/9e385d45cad580ea82ef8bb666e2d76c.jpg","text":"TemporaryFile(/tmp/multipartBody2523917180259351426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154282599,"filename":"image_26112025_07_11_43_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/26/b9aa3e6ec6153c7feb566e42aafa8dac.jpg","text":"TemporaryFile(/tmp/multipartBody5459107416497210463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154282599,"filename":"image_26112025_07_13_11_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/64c7481c001beeecc8cf7ff7082ed6aa.jpg","text":"TemporaryFile(/tmp/multipartBody5396140025950322719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154282599,"filename":"image_26112025_07_13_13_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/26/8919865957f6bf39da92a52b32b9ce1b.jpg","text":"TemporaryFile(/tmp/multipartBody1058142950260175334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154282599,"filename":"image_26112025_07_11_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/26/bfcba6fc3bdbffa687811add4a31edda.jpg","text":"TemporaryFile(/tmp/multipartBody8464484603582860629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154282599,"filename":"image_26112025_07_11_37_3612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396239627","file1":"1396239625","file0":"1396239622","file4":"1396239638","file5":"1396239643","file3":"1396239630"},"map_files_photo_id_array":[{"photo_id":"1396239643","filename":"file5"},{"photo_id":"1396239627","filename":"file2"},{"photo_id":"1396239638","filename":"file4"},{"photo_id":"1396239625","filename":"file1"},{"photo_id":"1396239622","filename":"file0"},{"photo_id":"1396239630","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396239630":["hashtag1","hashtag2"]},{"1396239627":["hashtag1","hashtag2"]},{"1396239638":["hashtag1","hashtag2"]},{"1396239643":["hashtag1","hashtag2"]},{"1396239625":["hashtag1","hashtag2"]},{"1396239622":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396239630, 1396239627, 1396239638, 1396239643, 1396239625, 1396239622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07047200202942 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:51:03.046688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_17_3572.jpg', '/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_19_2581.jpg', '/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_23_3583.jpg', '/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_26_2825.jpg', '/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_29_2711.jpg', '/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_31_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_17_3572.jpg
/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_19_2581.jpg
/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_23_3583.jpg
/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_26_2825.jpg
/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_29_2711.jpg
/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_31_2782.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":["1396239650","1396239653","1396239647","1396239656","1396239649","1396239651"],"photo_ids_order":["1396239647","1396239649","1396239650","1396239651","1396239653","1396239656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3ccf01f2069361c2e772f3ccad22dac7.jpg","text":"TemporaryFile(/tmp/multipartBody6576836689535184420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154323808,"filename":"image_26112025_07_13_23_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/26/1f7a673ac128ae7e67dadb2f125909ce.jpg","text":"TemporaryFile(/tmp/multipartBody6670381401475923653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154323808,"filename":"image_26112025_07_13_29_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/26/30347eceed3f4d8d4a636d5765bbd483.jpg","text":"TemporaryFile(/tmp/multipartBody8753369261345494899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154323808,"filename":"image_26112025_07_13_17_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/26/e2b7aa066b88b3586f5e3e5c9591177b.jpg","text":"TemporaryFile(/tmp/multipartBody747545103234006356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154323808,"filename":"image_26112025_07_13_31_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/26/a3fea54c5010fb57200307e05f9f88ee.jpg","text":"TemporaryFile(/tmp/multipartBody3012039787352375874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154323808,"filename":"image_26112025_07_13_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/26/bb496ac22714253633e33ae5a5e4d6ea.jpg","text":"TemporaryFile(/tmp/multipartBody2221332056549089228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154323808,"filename":"image_26112025_07_13_26_2825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396239650","file1":"1396239649","file0":"1396239647","file4":"1396239653","file5":"1396239656","file3":"1396239651"},"map_files_photo_id_array":[{"photo_id":"1396239656","filename":"file5"},{"photo_id":"1396239650","filename":"file2"},{"photo_id":"1396239653","filename":"file4"},{"photo_id":"1396239649","filename":"file1"},{"photo_id":"1396239647","filename":"file0"},{"photo_id":"1396239651","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396239650":["hashtag1","hashtag2"]},{"1396239653":["hashtag1","hashtag2"]},{"1396239647":["hashtag1","hashtag2"]},{"1396239656":["hashtag1","hashtag2"]},{"1396239649":["hashtag1","hashtag2"]},{"1396239651":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396239650, 1396239653, 1396239647, 1396239656, 1396239649, 1396239651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58317708969116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 11:51:42.407520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_34_2779.jpg', '/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_38_3714.jpg', '/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_41_3096.jpg', '/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_44_2643.jpg', '/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_46_2534.jpg', '/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_50_3564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_34_2779.jpg
/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_38_3714.jpg
/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_41_3096.jpg
/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_44_2643.jpg
/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_46_2534.jpg
/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_50_3564.jpg
 val : 1 : upload photos already in processing! 
 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":["1396239671","1396239665","1396239668","1396239670","1396239684","1396239672"],"photo_ids_order":["1396239665","1396239668","1396239670","1396239671","1396239672","1396239684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7052c060bdc6da631cffc90d7c08f007.jpg","text":"TemporaryFile(/tmp/multipartBody897225898742267358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154363143,"filename":"image_26112025_07_13_44_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/26/e15a1b3025d47f61dad984a4ad578ed4.jpg","text":"TemporaryFile(/tmp/multipartBody7039413495217350051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154363143,"filename":"image_26112025_07_13_34_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/26/967ff217a9db1fae74b565be0c6b545b.jpg","text":"TemporaryFile(/tmp/multipartBody4884762215367267066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154363143,"filename":"image_26112025_07_13_38_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/26/128def5d3850f8339cc11f3e53a3d0cd.jpg","text":"TemporaryFile(/tmp/multipartBody2805126986937129085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154363143,"filename":"image_26112025_07_13_41_3096.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5a11b322fb052ebaf62f2e4a094f2f2b.jpg","text":"TemporaryFile(/tmp/multipartBody4466832719253675662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154363143,"filename":"image_26112025_07_13_50_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/26/40dde31408798ebacaa276bca0d514d7.jpg","text":"TemporaryFile(/tmp/multipartBody7230151328505449115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154363143,"filename":"image_26112025_07_13_46_2534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396239670","file1":"1396239668","file0":"1396239665","file4":"1396239672","file5":"1396239684","file3":"1396239671"},"map_files_photo_id_array":[{"photo_id":"1396239684","filename":"file5"},{"photo_id":"1396239670","filename":"file2"},{"photo_id":"1396239672","filename":"file4"},{"photo_id":"1396239668","filename":"file1"},{"photo_id":"1396239665","filename":"file0"},{"photo_id":"1396239671","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396239671":["hashtag1","hashtag2"]},{"1396239665":["hashtag1","hashtag2"]},{"1396239668":["hashtag1","hashtag2"]},{"1396239670":["hashtag1","hashtag2"]},{"1396239684":["hashtag1","hashtag2"]},{"1396239672":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396239671, 1396239665, 1396239668, 1396239670, 1396239684, 1396239672)","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 = 1396239670 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_41_3096.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 70.0628662109375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:53:03.473960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_52_2714.jpg', '/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_55_2649.jpg', '/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_59_3674.jpg', '/home/pi/Desktop/images/26112025/07/14/image_26112025_07_14_01_2733.jpg', '/home/pi/Desktop/images/26112025/07/15/image_26112025_07_15_07_3011.jpg', '/home/pi/Desktop/images/26112025/07/15/image_26112025_07_15_11_3757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_52_2714.jpg
/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_55_2649.jpg
/home/pi/Desktop/images/26112025/07/13/image_26112025_07_13_59_3674.jpg
/home/pi/Desktop/images/26112025/07/14/image_26112025_07_14_01_2733.jpg
/home/pi/Desktop/images/26112025/07/15/image_26112025_07_15_07_3011.jpg
/home/pi/Desktop/images/26112025/07/15/image_26112025_07_15_11_3757.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":["1396239866","1396239833","1396239757","1396239759","1396239789","1396239753"],"photo_ids_order":["1396239753","1396239757","1396239759","1396239789","1396239833","1396239866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1e0226f862beb1172e2a226938cd1a04.jpg","text":"TemporaryFile(/tmp/multipartBody5456651929044876917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154444292,"filename":"image_26112025_07_15_11_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/26/b44da3430cb7cf95bd0b7492414eebfc.jpg","text":"TemporaryFile(/tmp/multipartBody1261053983343296004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154444292,"filename":"image_26112025_07_15_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/26/02cab5b7e7d86dfd5b0fea26e071ae15.jpg","text":"TemporaryFile(/tmp/multipartBody443126331967782405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154444292,"filename":"image_26112025_07_13_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/26/4918b251ed507f7f509e118c523abdbe.jpg","text":"TemporaryFile(/tmp/multipartBody6353631388237310998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154444292,"filename":"image_26112025_07_13_59_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/26/d79c81ed2f4969230ea4fb64fe0b1756.jpg","text":"TemporaryFile(/tmp/multipartBody4909256270456307830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154444292,"filename":"image_26112025_07_14_01_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/26/267236606a6bf12cf49444b735351664.jpg","text":"TemporaryFile(/tmp/multipartBody2646082676442575147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154444292,"filename":"image_26112025_07_13_52_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396239759","file1":"1396239757","file0":"1396239753","file4":"1396239833","file5":"1396239866","file3":"1396239789"},"map_files_photo_id_array":[{"photo_id":"1396239866","filename":"file5"},{"photo_id":"1396239759","filename":"file2"},{"photo_id":"1396239833","filename":"file4"},{"photo_id":"1396239757","filename":"file1"},{"photo_id":"1396239753","filename":"file0"},{"photo_id":"1396239789","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396239866":["hashtag1","hashtag2"]},{"1396239833":["hashtag1","hashtag2"]},{"1396239757":["hashtag1","hashtag2"]},{"1396239759":["hashtag1","hashtag2"]},{"1396239789":["hashtag1","hashtag2"]},{"1396239753":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396239866, 1396239833, 1396239757, 1396239759, 1396239789, 1396239753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23804020881653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 11:53:42.666143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/15/image_26112025_07_15_13_2678.jpg', '/home/pi/Desktop/images/26112025/07/15/image_26112025_07_15_16_2588.jpg', '/home/pi/Desktop/images/26112025/07/15/image_26112025_07_15_19_3625.jpg', '/home/pi/Desktop/images/26112025/07/15/image_26112025_07_15_22_2812.jpg', '/home/pi/Desktop/images/26112025/07/15/image_26112025_07_15_25_2688.jpg', '/home/pi/Desktop/images/26112025/07/15/image_26112025_07_15_29_3686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/15/image_26112025_07_15_13_2678.jpg
/home/pi/Desktop/images/26112025/07/15/image_26112025_07_15_16_2588.jpg
/home/pi/Desktop/images/26112025/07/15/image_26112025_07_15_19_3625.jpg
/home/pi/Desktop/images/26112025/07/15/image_26112025_07_15_22_2812.jpg
/home/pi/Desktop/images/26112025/07/15/image_26112025_07_15_25_2688.jpg
/home/pi/Desktop/images/26112025/07/15/image_26112025_07_15_29_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":["1396239959","1396239997","1396239961","1396239955","1396239963","1396240018"],"photo_ids_order":["1396239955","1396239959","1396239961","1396239963","1396239997","1396240018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f65ce5dc46fd824a125b36626fdf3381.jpg","text":"TemporaryFile(/tmp/multipartBody8824034356388637020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154483334,"filename":"image_26112025_07_15_16_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/26/6e8c6a8070cf1f9e02468d8c44d6dd03.jpg","text":"TemporaryFile(/tmp/multipartBody3252921518603603959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154483334,"filename":"image_26112025_07_15_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/26/f07ef556136697d4738b25e3f50ccb46.jpg","text":"TemporaryFile(/tmp/multipartBody3783765087938877065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154483334,"filename":"image_26112025_07_15_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/26/6c2b95223b11a758b400ffbafb2a3bd1.jpg","text":"TemporaryFile(/tmp/multipartBody428256168986053712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154483334,"filename":"image_26112025_07_15_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/26/f59da6b21d96f613ce6530b2c8265271.jpg","text":"TemporaryFile(/tmp/multipartBody8879844183315989891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154483334,"filename":"image_26112025_07_15_22_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/26/7910237bab657ae3ebf4840fdb6e0bf3.jpg","text":"TemporaryFile(/tmp/multipartBody6469144268470679170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154483334,"filename":"image_26112025_07_15_29_3686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396239961","file1":"1396239959","file0":"1396239955","file4":"1396239997","file5":"1396240018","file3":"1396239963"},"map_files_photo_id_array":[{"photo_id":"1396240018","filename":"file5"},{"photo_id":"1396239961","filename":"file2"},{"photo_id":"1396239997","filename":"file4"},{"photo_id":"1396239959","filename":"file1"},{"photo_id":"1396239955","filename":"file0"},{"photo_id":"1396239963","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396239959":["hashtag1","hashtag2"]},{"1396239997":["hashtag1","hashtag2"]},{"1396239961":["hashtag1","hashtag2"]},{"1396239955":["hashtag1","hashtag2"]},{"1396239963":["hashtag1","hashtag2"]},{"1396240018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396239959, 1396239997, 1396239961, 1396239955, 1396239963, 1396240018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67162227630615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:54:21.935585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/15/image_26112025_07_15_31_2769.jpg', '/home/pi/Desktop/images/26112025/07/15/image_26112025_07_15_34_2544.jpg', '/home/pi/Desktop/images/26112025/07/15/image_26112025_07_15_38_3574.jpg', '/home/pi/Desktop/images/26112025/07/15/image_26112025_07_15_40_2597.jpg', '/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_07_3012.jpg', '/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_11_3603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/15/image_26112025_07_15_31_2769.jpg
/home/pi/Desktop/images/26112025/07/15/image_26112025_07_15_34_2544.jpg
/home/pi/Desktop/images/26112025/07/15/image_26112025_07_15_38_3574.jpg
/home/pi/Desktop/images/26112025/07/15/image_26112025_07_15_40_2597.jpg
/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_07_3012.jpg
/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_11_3603.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":["1396240077","1396240088","1396240067","1396240070","1396240064","1396240090"],"photo_ids_order":["1396240064","1396240067","1396240070","1396240077","1396240088","1396240090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b3aefc3c6f9d991ae6f5ef148d8263ea.jpg","text":"TemporaryFile(/tmp/multipartBody5283489002573602835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154522636,"filename":"image_26112025_07_15_40_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2a5e9fca196f4901014820a28f7de2d0.jpg","text":"TemporaryFile(/tmp/multipartBody2736011265566241656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154522636,"filename":"image_26112025_07_17_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/26/9356995d2335ff248d8760ec93661611.jpg","text":"TemporaryFile(/tmp/multipartBody1576529038744880100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154522636,"filename":"image_26112025_07_15_34_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8fcd8f24e7b6b2e8b60dc31eaf0ab4e6.jpg","text":"TemporaryFile(/tmp/multipartBody3669009686625910478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154522636,"filename":"image_26112025_07_15_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/26/7889f5b655cec69d71bf0c7b7ef4f534.jpg","text":"TemporaryFile(/tmp/multipartBody3483409269831457785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154522636,"filename":"image_26112025_07_15_31_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e1810690ef8c2e5e088bbfe8d5782ddc.jpg","text":"TemporaryFile(/tmp/multipartBody4302658432997381853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154522636,"filename":"image_26112025_07_17_11_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396240070","file1":"1396240067","file0":"1396240064","file4":"1396240088","file5":"1396240090","file3":"1396240077"},"map_files_photo_id_array":[{"photo_id":"1396240090","filename":"file5"},{"photo_id":"1396240070","filename":"file2"},{"photo_id":"1396240088","filename":"file4"},{"photo_id":"1396240067","filename":"file1"},{"photo_id":"1396240064","filename":"file0"},{"photo_id":"1396240077","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396240077":["hashtag1","hashtag2"]},{"1396240088":["hashtag1","hashtag2"]},{"1396240067":["hashtag1","hashtag2"]},{"1396240070":["hashtag1","hashtag2"]},{"1396240064":["hashtag1","hashtag2"]},{"1396240090":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396240077, 1396240088, 1396240067, 1396240070, 1396240064, 1396240090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.583014488220215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:55:02.850070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_13_2518.jpg', '/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_17_3642.jpg', '/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_21_4003.jpg', '/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_22_1688.jpg', '/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_25_2747.jpg', '/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_29_3531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_13_2518.jpg
/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_17_3642.jpg
/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_21_4003.jpg
/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_22_1688.jpg
/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_25_2747.jpg
/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_29_3531.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":["1396240197","1396240202","1396240211","1396240205","1396240214","1396240208"],"photo_ids_order":["1396240197","1396240202","1396240205","1396240208","1396240211","1396240214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d2e0d6656a3d5370997a98c0fde86426.jpg","text":"TemporaryFile(/tmp/multipartBody2588840165077136624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154563592,"filename":"image_26112025_07_17_13_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/26/91d7e522f90e7dda66e78785c366b661.jpg","text":"TemporaryFile(/tmp/multipartBody2656545746206607683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154563592,"filename":"image_26112025_07_17_17_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/26/63a2679ef28a53b601cbf44b74835d8f.jpg","text":"TemporaryFile(/tmp/multipartBody4131483370788774696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154563592,"filename":"image_26112025_07_17_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/26/c9f7ac9af14454a55c993e5454290185.jpg","text":"TemporaryFile(/tmp/multipartBody8858896739893367126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154563592,"filename":"image_26112025_07_17_21_4003.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7969e0799d0d81c2fee6c7bed917cf96.jpg","text":"TemporaryFile(/tmp/multipartBody3563125797274519407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154563592,"filename":"image_26112025_07_17_29_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/26/9822e9002bd869594d04e5501a293007.jpg","text":"TemporaryFile(/tmp/multipartBody5451161916046680390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154563592,"filename":"image_26112025_07_17_22_1688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396240205","file1":"1396240202","file0":"1396240197","file4":"1396240211","file5":"1396240214","file3":"1396240208"},"map_files_photo_id_array":[{"photo_id":"1396240214","filename":"file5"},{"photo_id":"1396240205","filename":"file2"},{"photo_id":"1396240211","filename":"file4"},{"photo_id":"1396240202","filename":"file1"},{"photo_id":"1396240197","filename":"file0"},{"photo_id":"1396240208","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396240197":["hashtag1","hashtag2"]},{"1396240202":["hashtag1","hashtag2"]},{"1396240211":["hashtag1","hashtag2"]},{"1396240205":["hashtag1","hashtag2"]},{"1396240214":["hashtag1","hashtag2"]},{"1396240208":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396240197, 1396240202, 1396240211, 1396240205, 1396240214, 1396240208)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.68732523918152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:56:04.575703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_31_2631.jpg', '/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_34_2621.jpg', '/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_38_3772.jpg', '/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_44_6511.jpg', '/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_47_2910.jpg', '/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_49_1699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_31_2631.jpg
/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_34_2621.jpg
/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_38_3772.jpg
/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_44_6511.jpg
/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_47_2910.jpg
/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_49_1699.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":["1396240239","1396240241","1396240235","1396240244","1396240232","1396240237"],"photo_ids_order":["1396240232","1396240235","1396240237","1396240239","1396240241","1396240244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3bd5abcd3644dcd5ce028b5439435c4a.jpg","text":"TemporaryFile(/tmp/multipartBody6776292084520248851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154625315,"filename":"image_26112025_07_17_44_6511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/855d8c1b4c1233ae85fc85a1fe060af3.jpg","text":"TemporaryFile(/tmp/multipartBody2836395557882470539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154625315,"filename":"image_26112025_07_17_47_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/26/64a6af8973b59520e2053c2457b4b5c9.jpg","text":"TemporaryFile(/tmp/multipartBody2622512405465741576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154625315,"filename":"image_26112025_07_17_34_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/11e98055822ee21a4c15822cdf3ea67a.jpg","text":"TemporaryFile(/tmp/multipartBody7129059101866517893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154625315,"filename":"image_26112025_07_17_49_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/26/c0318badad6149a350effcbd069fdf96.jpg","text":"TemporaryFile(/tmp/multipartBody649515373634125695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154625315,"filename":"image_26112025_07_17_31_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/26/748f4a9cf9a6dc15cb3069da66601c80.jpg","text":"TemporaryFile(/tmp/multipartBody8462207306311876635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154625315,"filename":"image_26112025_07_17_38_3772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396240237","file1":"1396240235","file0":"1396240232","file4":"1396240241","file5":"1396240244","file3":"1396240239"},"map_files_photo_id_array":[{"photo_id":"1396240244","filename":"file5"},{"photo_id":"1396240237","filename":"file2"},{"photo_id":"1396240241","filename":"file4"},{"photo_id":"1396240235","filename":"file1"},{"photo_id":"1396240232","filename":"file0"},{"photo_id":"1396240239","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396240239":["hashtag1","hashtag2"]},{"1396240241":["hashtag1","hashtag2"]},{"1396240235":["hashtag1","hashtag2"]},{"1396240244":["hashtag1","hashtag2"]},{"1396240232":["hashtag1","hashtag2"]},{"1396240237":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396240239, 1396240241, 1396240235, 1396240244, 1396240232, 1396240237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79201102256775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 11:56:44.136425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_51_1712.jpg', '/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_52_1748.jpg', '/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_55_2735.jpg', '/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_59_3564.jpg', '/home/pi/Desktop/images/26112025/07/18/image_26112025_07_18_01_2617.jpg', '/home/pi/Desktop/images/26112025/07/18/image_26112025_07_18_04_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_51_1712.jpg
/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_52_1748.jpg
/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_55_2735.jpg
/home/pi/Desktop/images/26112025/07/17/image_26112025_07_17_59_3564.jpg
/home/pi/Desktop/images/26112025/07/18/image_26112025_07_18_01_2617.jpg
/home/pi/Desktop/images/26112025/07/18/image_26112025_07_18_04_2734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396240263","1396240257","1396240270","1396240264","1396240261","1396240272"],"photo_ids_order":["1396240257","1396240261","1396240263","1396240264","1396240270","1396240272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d978ae0b554a1c557c776ec2d31a56a3.jpg","text":"TemporaryFile(/tmp/multipartBody2586309746423063443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154664852,"filename":"image_26112025_07_17_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/26/ff42e7224743cfb8ef4fecad1b4df923.jpg","text":"TemporaryFile(/tmp/multipartBody8623004782221036284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154664852,"filename":"image_26112025_07_17_51_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/26/c5c7344b6564233253ac63e227ea2aa0.jpg","text":"TemporaryFile(/tmp/multipartBody8039653078123109518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154664852,"filename":"image_26112025_07_18_01_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/26/5a3c0edb4224b94b326f4ee8319152c0.jpg","text":"TemporaryFile(/tmp/multipartBody8402413651903797099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154664852,"filename":"image_26112025_07_17_59_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/26/25de0ee7b052c7e9de79e4813cf0536d.jpg","text":"TemporaryFile(/tmp/multipartBody6919890589026221388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154664852,"filename":"image_26112025_07_17_52_1748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f4fc264270ecab0c6e0e8769bc28a3d0.jpg","text":"TemporaryFile(/tmp/multipartBody6590275075365533676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154664852,"filename":"image_26112025_07_18_04_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396240263","file1":"1396240261","file0":"1396240257","file4":"1396240270","file5":"1396240272","file3":"1396240264"},"map_files_photo_id_array":[{"photo_id":"1396240272","filename":"file5"},{"photo_id":"1396240263","filename":"file2"},{"photo_id":"1396240270","filename":"file4"},{"photo_id":"1396240261","filename":"file1"},{"photo_id":"1396240257","filename":"file0"},{"photo_id":"1396240264","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396240263":["hashtag1","hashtag2"]},{"1396240257":["hashtag1","hashtag2"]},{"1396240270":["hashtag1","hashtag2"]},{"1396240264":["hashtag1","hashtag2"]},{"1396240261":["hashtag1","hashtag2"]},{"1396240272":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396240263, 1396240257, 1396240270, 1396240264, 1396240261, 1396240272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62128734588623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 11:57:22.289229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/18/image_26112025_07_18_08_3848.jpg', '/home/pi/Desktop/images/26112025/07/18/image_26112025_07_18_11_2696.jpg', '/home/pi/Desktop/images/26112025/07/18/image_26112025_07_18_13_2596.jpg', '/home/pi/Desktop/images/26112025/07/18/image_26112025_07_18_17_3584.jpg', '/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_07_3015.jpg', '/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_11_3800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/18/image_26112025_07_18_08_3848.jpg
/home/pi/Desktop/images/26112025/07/18/image_26112025_07_18_11_2696.jpg
/home/pi/Desktop/images/26112025/07/18/image_26112025_07_18_13_2596.jpg
/home/pi/Desktop/images/26112025/07/18/image_26112025_07_18_17_3584.jpg
/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_07_3015.jpg
/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_11_3800.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":["1396240292","1396240288","1396240282","1396240285","1396240279","1396240290"],"photo_ids_order":["1396240279","1396240282","1396240285","1396240288","1396240290","1396240292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/300a12706b3769286ef905d33f58b9bb.jpg","text":"TemporaryFile(/tmp/multipartBody233976364609485309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154702951,"filename":"image_26112025_07_19_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/26/2b174cedceb6efaefc81592f94daf361.jpg","text":"TemporaryFile(/tmp/multipartBody8055775742138774264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154702951,"filename":"image_26112025_07_18_17_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/26/8d417c68e883e58047dee3d40569f637.jpg","text":"TemporaryFile(/tmp/multipartBody5971681809112603178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154702951,"filename":"image_26112025_07_18_11_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6c6a932a2b582c10be397e249d6896ef.jpg","text":"TemporaryFile(/tmp/multipartBody3837716116664440061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154702951,"filename":"image_26112025_07_18_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/26/f36d0aab2640ff22ff9d3f9c76d2ba95.jpg","text":"TemporaryFile(/tmp/multipartBody7633107282138615867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154702951,"filename":"image_26112025_07_18_08_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/26/40b13e7d229dbe3e09a372fb8b28afef.jpg","text":"TemporaryFile(/tmp/multipartBody2013047561231673179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154702951,"filename":"image_26112025_07_19_07_3015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396240285","file1":"1396240282","file0":"1396240279","file4":"1396240290","file5":"1396240292","file3":"1396240288"},"map_files_photo_id_array":[{"photo_id":"1396240292","filename":"file5"},{"photo_id":"1396240285","filename":"file2"},{"photo_id":"1396240290","filename":"file4"},{"photo_id":"1396240282","filename":"file1"},{"photo_id":"1396240279","filename":"file0"},{"photo_id":"1396240288","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396240292":["hashtag1","hashtag2"]},{"1396240288":["hashtag1","hashtag2"]},{"1396240282":["hashtag1","hashtag2"]},{"1396240285":["hashtag1","hashtag2"]},{"1396240279":["hashtag1","hashtag2"]},{"1396240290":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396240292, 1396240288, 1396240282, 1396240285, 1396240279, 1396240290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34648394584656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 11:59:03.092624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_13_2619.jpg', '/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_16_2640.jpg', '/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_20_3603.jpg', '/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_22_2751.jpg', '/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_28_2721.jpg', '/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_32_3627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_13_2619.jpg
/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_16_2640.jpg
/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_20_3603.jpg
/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_22_2751.jpg
/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_28_2721.jpg
/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_32_3627.jpg
 val : 1 : upload photos already in processing! 
 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":["1396240643","1396240859","1396240820","1396240703","1396240744","1396240782"],"photo_ids_order":["1396240643","1396240703","1396240744","1396240782","1396240820","1396240859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aaf4481fdc4135571348cf5d0fdd6764.jpg","text":"TemporaryFile(/tmp/multipartBody293269171156023488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154804013,"filename":"image_26112025_07_19_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/26/f6845119b886d3b22ae6d945aabdba29.jpg","text":"TemporaryFile(/tmp/multipartBody5019523204543768540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154804013,"filename":"image_26112025_07_19_32_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/26/22ab735149b093b4455ff1227513ff5f.jpg","text":"TemporaryFile(/tmp/multipartBody2654989856524135025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154804013,"filename":"image_26112025_07_19_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/26/1da0dbf6009973965b96230257306c4c.jpg","text":"TemporaryFile(/tmp/multipartBody1893234696751103845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154804013,"filename":"image_26112025_07_19_16_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/26/3c83a3b018d1acba2705aaa80d77b79e.jpg","text":"TemporaryFile(/tmp/multipartBody2971254879816358885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154804013,"filename":"image_26112025_07_19_20_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/26/ad16d9c71e20b69a8688ee4a21b1b084.jpg","text":"TemporaryFile(/tmp/multipartBody5421152506248063755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154804013,"filename":"image_26112025_07_19_22_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396240744","file1":"1396240703","file0":"1396240643","file4":"1396240820","file5":"1396240859","file3":"1396240782"},"map_files_photo_id_array":[{"photo_id":"1396240859","filename":"file5"},{"photo_id":"1396240744","filename":"file2"},{"photo_id":"1396240820","filename":"file4"},{"photo_id":"1396240703","filename":"file1"},{"photo_id":"1396240643","filename":"file0"},{"photo_id":"1396240782","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396240643":["hashtag1","hashtag2"]},{"1396240859":["hashtag1","hashtag2"]},{"1396240820":["hashtag1","hashtag2"]},{"1396240703":["hashtag1","hashtag2"]},{"1396240744":["hashtag1","hashtag2"]},{"1396240782":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396240643, 1396240859, 1396240820, 1396240703, 1396240744, 1396240782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.150288581848145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:00:02.564592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_34_2589.jpg', '/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_38_3632.jpg', '/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_40_2590.jpg', '/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_43_2623.jpg', '/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_47_3796.jpg', '/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_49_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_34_2589.jpg
/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_38_3632.jpg
/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_40_2590.jpg
/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_43_2623.jpg
/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_47_3796.jpg
/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_49_2620.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":["1396241430","1396241054","1396241290","1396241144","1396241219","1396241362"],"photo_ids_order":["1396241054","1396241144","1396241219","1396241290","1396241362","1396241430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/70a625922aa5e8afdec26c609a496863.jpg","text":"TemporaryFile(/tmp/multipartBody1579934160353612685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154863259,"filename":"image_26112025_07_19_49_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/26/4eb21ea417a46a332e4536b611cea7f9.jpg","text":"TemporaryFile(/tmp/multipartBody7913238257953202004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154863259,"filename":"image_26112025_07_19_34_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/26/aa6f7414da78a5fada7c04d97ff112ef.jpg","text":"TemporaryFile(/tmp/multipartBody6421500735150435773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154863259,"filename":"image_26112025_07_19_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/26/dda01edf0188cf95640fab32af5efa8e.jpg","text":"TemporaryFile(/tmp/multipartBody5316642377777853207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154863259,"filename":"image_26112025_07_19_38_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/26/c8bb481158eddb208a61198246646d83.jpg","text":"TemporaryFile(/tmp/multipartBody4775973773553920814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154863259,"filename":"image_26112025_07_19_40_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/26/b87403cd43f4d64cecefc04094ca8196.jpg","text":"TemporaryFile(/tmp/multipartBody117107871132391414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154863259,"filename":"image_26112025_07_19_47_3796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396241219","file1":"1396241144","file0":"1396241054","file4":"1396241362","file5":"1396241430","file3":"1396241290"},"map_files_photo_id_array":[{"photo_id":"1396241430","filename":"file5"},{"photo_id":"1396241219","filename":"file2"},{"photo_id":"1396241362","filename":"file4"},{"photo_id":"1396241144","filename":"file1"},{"photo_id":"1396241054","filename":"file0"},{"photo_id":"1396241290","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396241430":["hashtag1","hashtag2"]},{"1396241054":["hashtag1","hashtag2"]},{"1396241290":["hashtag1","hashtag2"]},{"1396241144":["hashtag1","hashtag2"]},{"1396241219":["hashtag1","hashtag2"]},{"1396241362":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396241430, 1396241054, 1396241290, 1396241144, 1396241219, 1396241362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52849340438843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 12:00:42.145316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_52_2597.jpg', '/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_56_3545.jpg', '/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_58_2458.jpg', '/home/pi/Desktop/images/26112025/07/21/image_26112025_07_21_06_3012.jpg', '/home/pi/Desktop/images/26112025/07/21/image_26112025_07_21_10_3607.jpg', '/home/pi/Desktop/images/26112025/07/21/image_26112025_07_21_13_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_52_2597.jpg
/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_56_3545.jpg
/home/pi/Desktop/images/26112025/07/19/image_26112025_07_19_58_2458.jpg
/home/pi/Desktop/images/26112025/07/21/image_26112025_07_21_06_3012.jpg
/home/pi/Desktop/images/26112025/07/21/image_26112025_07_21_10_3607.jpg
/home/pi/Desktop/images/26112025/07/21/image_26112025_07_21_13_2689.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":["1396241733","1396241709","1396241759","1396241666","1396241762","1396241596"],"photo_ids_order":["1396241596","1396241666","1396241709","1396241733","1396241759","1396241762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5a176d325d8c30a18e4067b8d23870e7.jpg","text":"TemporaryFile(/tmp/multipartBody4990984125486688309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154902873,"filename":"image_26112025_07_21_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/26/1526112cb5fde8ea88f2ec11802f2d66.jpg","text":"TemporaryFile(/tmp/multipartBody1130407247716984455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154902873,"filename":"image_26112025_07_19_58_2458.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e7da1bd73bfe6f931f2e8a588ccc1f30.jpg","text":"TemporaryFile(/tmp/multipartBody6305275871359208707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154902873,"filename":"image_26112025_07_21_10_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/26/dd77dd5d4c762f950f1b31c193d6fae2.jpg","text":"TemporaryFile(/tmp/multipartBody3903566579797595181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154902873,"filename":"image_26112025_07_19_56_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/26/df00f82c29b3aa56045fabdddc5dcc3d.jpg","text":"TemporaryFile(/tmp/multipartBody8974693845053713424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154902873,"filename":"image_26112025_07_21_13_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/26/a4b35aacd7e3999b440436fd4a9e3193.jpg","text":"TemporaryFile(/tmp/multipartBody2545071606821775283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154902873,"filename":"image_26112025_07_19_52_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396241709","file1":"1396241666","file0":"1396241596","file4":"1396241759","file5":"1396241762","file3":"1396241733"},"map_files_photo_id_array":[{"photo_id":"1396241762","filename":"file5"},{"photo_id":"1396241709","filename":"file2"},{"photo_id":"1396241759","filename":"file4"},{"photo_id":"1396241666","filename":"file1"},{"photo_id":"1396241596","filename":"file0"},{"photo_id":"1396241733","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396241733":["hashtag1","hashtag2"]},{"1396241709":["hashtag1","hashtag2"]},{"1396241759":["hashtag1","hashtag2"]},{"1396241666":["hashtag1","hashtag2"]},{"1396241762":["hashtag1","hashtag2"]},{"1396241596":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396241733, 1396241709, 1396241759, 1396241666, 1396241762, 1396241596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25267291069031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:01:22.293473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/21/image_26112025_07_21_16_3622.jpg', '/home/pi/Desktop/images/26112025/07/21/image_26112025_07_21_19_2713.jpg', '/home/pi/Desktop/images/26112025/07/21/image_26112025_07_21_22_2716.jpg', '/home/pi/Desktop/images/26112025/07/21/image_26112025_07_21_25_3598.jpg', '/home/pi/Desktop/images/26112025/07/21/image_26112025_07_21_28_2661.jpg', '/home/pi/Desktop/images/26112025/07/21/image_26112025_07_21_31_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/21/image_26112025_07_21_16_3622.jpg
/home/pi/Desktop/images/26112025/07/21/image_26112025_07_21_19_2713.jpg
/home/pi/Desktop/images/26112025/07/21/image_26112025_07_21_22_2716.jpg
/home/pi/Desktop/images/26112025/07/21/image_26112025_07_21_25_3598.jpg
/home/pi/Desktop/images/26112025/07/21/image_26112025_07_21_28_2661.jpg
/home/pi/Desktop/images/26112025/07/21/image_26112025_07_21_31_2592.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":["1396241897","1396241888","1396241837","1396241872","1396241892","1396241895"],"photo_ids_order":["1396241837","1396241872","1396241888","1396241892","1396241895","1396241897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fb3fc5e8d51f077ce9e5f32a50c921c6.jpg","text":"TemporaryFile(/tmp/multipartBody2314367565215256416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154943036,"filename":"image_26112025_07_21_31_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/26/ff257eb153b46701d7d84b454d31383a.jpg","text":"TemporaryFile(/tmp/multipartBody7474193287680087136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154943036,"filename":"image_26112025_07_21_22_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/26/07dc758782f5baf0dd8ccf464d9b1d69.jpg","text":"TemporaryFile(/tmp/multipartBody7300393019188508640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154943036,"filename":"image_26112025_07_21_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/26/b46f901944a9190b09628e43b1e7ef81.jpg","text":"TemporaryFile(/tmp/multipartBody2130535392927685121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154943036,"filename":"image_26112025_07_21_19_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/26/6be5b50225565d62f44685ac874d9709.jpg","text":"TemporaryFile(/tmp/multipartBody1875594716441061469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154943036,"filename":"image_26112025_07_21_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/26/76ff737ba3dd7f4f9b08720cab1860ec.jpg","text":"TemporaryFile(/tmp/multipartBody2995685437931934404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154943036,"filename":"image_26112025_07_21_28_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396241888","file1":"1396241872","file0":"1396241837","file4":"1396241895","file5":"1396241897","file3":"1396241892"},"map_files_photo_id_array":[{"photo_id":"1396241897","filename":"file5"},{"photo_id":"1396241888","filename":"file2"},{"photo_id":"1396241895","filename":"file4"},{"photo_id":"1396241872","filename":"file1"},{"photo_id":"1396241837","filename":"file0"},{"photo_id":"1396241892","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396241897":["hashtag1","hashtag2"]},{"1396241888":["hashtag1","hashtag2"]},{"1396241837":["hashtag1","hashtag2"]},{"1396241872":["hashtag1","hashtag2"]},{"1396241892":["hashtag1","hashtag2"]},{"1396241895":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396241897, 1396241888, 1396241837, 1396241872, 1396241892, 1396241895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87804126739502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:02:02.499388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/21/image_26112025_07_21_33_2872.jpg', '/home/pi/Desktop/images/26112025/07/21/image_26112025_07_21_37_3536.jpg', '/home/pi/Desktop/images/26112025/07/21/image_26112025_07_21_40_2623.jpg', '/home/pi/Desktop/images/26112025/07/21/image_26112025_07_21_43_3547.jpg', '/home/pi/Desktop/images/26112025/07/23/image_26112025_07_23_07_3019.jpg', '/home/pi/Desktop/images/26112025/07/23/image_26112025_07_23_10_3580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/21/image_26112025_07_21_33_2872.jpg
/home/pi/Desktop/images/26112025/07/21/image_26112025_07_21_37_3536.jpg
/home/pi/Desktop/images/26112025/07/21/image_26112025_07_21_40_2623.jpg
/home/pi/Desktop/images/26112025/07/21/image_26112025_07_21_43_3547.jpg
/home/pi/Desktop/images/26112025/07/23/image_26112025_07_23_07_3019.jpg
/home/pi/Desktop/images/26112025/07/23/image_26112025_07_23_10_3580.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":["1396241907","1396241901","1396241912","1396241909","1396241899","1396241905"],"photo_ids_order":["1396241899","1396241901","1396241905","1396241907","1396241909","1396241912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/834b990a3e705f950edba348d5d99890.jpg","text":"TemporaryFile(/tmp/multipartBody6862075124543236411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154983193,"filename":"image_26112025_07_21_43_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/26/ca352153aed10c1a7e0f8df8b8bc8d6d.jpg","text":"TemporaryFile(/tmp/multipartBody7825026550184863671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154983193,"filename":"image_26112025_07_21_37_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/26/acb6f5f78731784f36fd1e41cf5ad681.jpg","text":"TemporaryFile(/tmp/multipartBody3770501828261993402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154983193,"filename":"image_26112025_07_23_10_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/26/b990a72428502006c6bf2a074365ba54.jpg","text":"TemporaryFile(/tmp/multipartBody1110832663568545985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154983193,"filename":"image_26112025_07_23_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/26/dd3ca8aacb181895f55d03fc5fae38f5.jpg","text":"TemporaryFile(/tmp/multipartBody7777224263720368370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154983193,"filename":"image_26112025_07_21_33_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/26/a6c44543e23902ab2bcb0b0b6e034d02.jpg","text":"TemporaryFile(/tmp/multipartBody5022497352090010922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764154983193,"filename":"image_26112025_07_21_40_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396241905","file1":"1396241901","file0":"1396241899","file4":"1396241909","file5":"1396241912","file3":"1396241907"},"map_files_photo_id_array":[{"photo_id":"1396241912","filename":"file5"},{"photo_id":"1396241905","filename":"file2"},{"photo_id":"1396241909","filename":"file4"},{"photo_id":"1396241901","filename":"file1"},{"photo_id":"1396241899","filename":"file0"},{"photo_id":"1396241907","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396241907":["hashtag1","hashtag2"]},{"1396241901":["hashtag1","hashtag2"]},{"1396241912":["hashtag1","hashtag2"]},{"1396241909":["hashtag1","hashtag2"]},{"1396241899":["hashtag1","hashtag2"]},{"1396241905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396241907, 1396241901, 1396241912, 1396241909, 1396241899, 1396241905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37091565132141 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 12:02:42.112402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/23/image_26112025_07_23_13_2705.jpg', '/home/pi/Desktop/images/26112025/07/23/image_26112025_07_23_16_2870.jpg', '/home/pi/Desktop/images/26112025/07/23/image_26112025_07_23_20_3781.jpg', '/home/pi/Desktop/images/26112025/07/23/image_26112025_07_23_22_2552.jpg', '/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_07_3012.jpg', '/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_11_3604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/23/image_26112025_07_23_13_2705.jpg
/home/pi/Desktop/images/26112025/07/23/image_26112025_07_23_16_2870.jpg
/home/pi/Desktop/images/26112025/07/23/image_26112025_07_23_20_3781.jpg
/home/pi/Desktop/images/26112025/07/23/image_26112025_07_23_22_2552.jpg
/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_07_3012.jpg
/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_11_3604.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.5995402336120605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:03:02.904284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/23/image_26112025_07_23_13_2705.jpg', '/home/pi/Desktop/images/26112025/07/23/image_26112025_07_23_16_2870.jpg', '/home/pi/Desktop/images/26112025/07/23/image_26112025_07_23_20_3781.jpg', '/home/pi/Desktop/images/26112025/07/23/image_26112025_07_23_22_2552.jpg', '/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_07_3012.jpg', '/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_11_3604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/23/image_26112025_07_23_13_2705.jpg
/home/pi/Desktop/images/26112025/07/23/image_26112025_07_23_16_2870.jpg
/home/pi/Desktop/images/26112025/07/23/image_26112025_07_23_20_3781.jpg
/home/pi/Desktop/images/26112025/07/23/image_26112025_07_23_22_2552.jpg
/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_07_3012.jpg
/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_11_3604.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":["1396241951","1396241956","1396241953","1396241946","1396241961","1396241958"],"photo_ids_order":["1396241946","1396241951","1396241953","1396241956","1396241958","1396241961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6abe3ee60c35e67252e372f5d6f0478a.jpg","text":"TemporaryFile(/tmp/multipartBody3620973072327327634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155043655,"filename":"image_26112025_07_23_16_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/26/3775c613db2b36e1c157926a8fe26920.jpg","text":"TemporaryFile(/tmp/multipartBody3425347128754232152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155043655,"filename":"image_26112025_07_23_22_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/26/b16d64f1e661512898428aa3ad094198.jpg","text":"TemporaryFile(/tmp/multipartBody2927626635337122428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155043655,"filename":"image_26112025_07_23_20_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/26/7dd7a7671408a957ab18109d2f8a8c11.jpg","text":"TemporaryFile(/tmp/multipartBody1441018443299561765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155043655,"filename":"image_26112025_07_23_13_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/26/3c45106f3502fe59f82acc9d2754746d.jpg","text":"TemporaryFile(/tmp/multipartBody3211636698858899820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155043655,"filename":"image_26112025_07_25_11_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/26/7b793be41fa2d3eefaad322016b3a2d9.jpg","text":"TemporaryFile(/tmp/multipartBody9092048555006011239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155043655,"filename":"image_26112025_07_25_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396241953","file1":"1396241951","file0":"1396241946","file4":"1396241958","file5":"1396241961","file3":"1396241956"},"map_files_photo_id_array":[{"photo_id":"1396241961","filename":"file5"},{"photo_id":"1396241953","filename":"file2"},{"photo_id":"1396241958","filename":"file4"},{"photo_id":"1396241951","filename":"file1"},{"photo_id":"1396241946","filename":"file0"},{"photo_id":"1396241956","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396241951":["hashtag1","hashtag2"]},{"1396241956":["hashtag1","hashtag2"]},{"1396241953":["hashtag1","hashtag2"]},{"1396241946":["hashtag1","hashtag2"]},{"1396241961":["hashtag1","hashtag2"]},{"1396241958":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396241951, 1396241956, 1396241953, 1396241946, 1396241961, 1396241958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04587197303772 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 12:03:42.245754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_13_2550.jpg', '/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_17_3611.jpg', '/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_20_2711.jpg', '/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_22_2526.jpg', '/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_26_3666.jpg', '/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_28_2500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_13_2550.jpg
/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_17_3611.jpg
/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_20_2711.jpg
/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_22_2526.jpg
/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_26_3666.jpg
/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_28_2500.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":["1396241981","1396241975","1396241977","1396241979","1396241973","1396241976"],"photo_ids_order":["1396241973","1396241975","1396241976","1396241977","1396241979","1396241981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1201504519505c4afc477e292c3342e6.jpg","text":"TemporaryFile(/tmp/multipartBody5668072950621465475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155090640,"filename":"image_26112025_07_25_28_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/26/6a2a818e3628d9c0ffd7f93359be487f.jpg","text":"TemporaryFile(/tmp/multipartBody206503010665042995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155090640,"filename":"image_26112025_07_25_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/26/895c92a9dc20fab6956b50cf20f76158.jpg","text":"TemporaryFile(/tmp/multipartBody2838204857352092118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155090640,"filename":"image_26112025_07_25_22_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/26/02d4d463dbc01e872f97e3d23e7195fc.jpg","text":"TemporaryFile(/tmp/multipartBody6382790450843268115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155090640,"filename":"image_26112025_07_25_26_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/26/fee85ebc2f20c75508f7bb06c4f860f4.jpg","text":"TemporaryFile(/tmp/multipartBody8585625755806964964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155090640,"filename":"image_26112025_07_25_13_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/26/a59a986797ee63bdefcae25b8e9ea3fe.jpg","text":"TemporaryFile(/tmp/multipartBody7604580752238947268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155090640,"filename":"image_26112025_07_25_20_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396241976","file1":"1396241975","file0":"1396241973","file4":"1396241979","file5":"1396241981","file3":"1396241977"},"map_files_photo_id_array":[{"photo_id":"1396241981","filename":"file5"},{"photo_id":"1396241976","filename":"file2"},{"photo_id":"1396241979","filename":"file4"},{"photo_id":"1396241975","filename":"file1"},{"photo_id":"1396241973","filename":"file0"},{"photo_id":"1396241977","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396241981":["hashtag1","hashtag2"]},{"1396241975":["hashtag1","hashtag2"]},{"1396241977":["hashtag1","hashtag2"]},{"1396241979":["hashtag1","hashtag2"]},{"1396241973":["hashtag1","hashtag2"]},{"1396241976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396241981, 1396241975, 1396241977, 1396241979, 1396241973, 1396241976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.90274691581726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:04:32.006860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_32_3774.jpg', '/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_35_2652.jpg', '/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_37_2717.jpg', '/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_40_2683.jpg', '/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_44_3641.jpg', '/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_46_2589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_32_3774.jpg
/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_35_2652.jpg
/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_37_2717.jpg
/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_40_2683.jpg
/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_44_3641.jpg
/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_46_2589.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":["1396242010","1396242013","1396242007","1396241991","1396242021","1396242003"],"photo_ids_order":["1396241991","1396242003","1396242007","1396242010","1396242013","1396242021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cc783f9ab89c9c1279210bc84165791c.jpg","text":"TemporaryFile(/tmp/multipartBody2670905976509376611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155132730,"filename":"image_26112025_07_25_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/26/ff0441d0c48ba336059854f51acabf64.jpg","text":"TemporaryFile(/tmp/multipartBody9113217255906608735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155132730,"filename":"image_26112025_07_25_44_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/26/3a2b4a3a1d378332e00049fff037eb9d.jpg","text":"TemporaryFile(/tmp/multipartBody5417238229915571135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155132730,"filename":"image_26112025_07_25_37_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/26/a243d7d0e1ba49f1a1847c82a50a5566.jpg","text":"TemporaryFile(/tmp/multipartBody7357038349889131320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155132730,"filename":"image_26112025_07_25_32_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/26/01e157147e9b9018fa6f262eaa8cdc8c.jpg","text":"TemporaryFile(/tmp/multipartBody7880301320403650173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155132730,"filename":"image_26112025_07_25_46_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/26/ad5bd27b15f9487eb981fef8fe99385c.jpg","text":"TemporaryFile(/tmp/multipartBody9048005130686177463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155132730,"filename":"image_26112025_07_25_35_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396242007","file1":"1396242003","file0":"1396241991","file4":"1396242013","file5":"1396242021","file3":"1396242010"},"map_files_photo_id_array":[{"photo_id":"1396242021","filename":"file5"},{"photo_id":"1396242007","filename":"file2"},{"photo_id":"1396242013","filename":"file4"},{"photo_id":"1396242003","filename":"file1"},{"photo_id":"1396241991","filename":"file0"},{"photo_id":"1396242010","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396242010":["hashtag1","hashtag2"]},{"1396242013":["hashtag1","hashtag2"]},{"1396242007":["hashtag1","hashtag2"]},{"1396241991":["hashtag1","hashtag2"]},{"1396242021":["hashtag1","hashtag2"]},{"1396242003":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396242010, 1396242013, 1396242007, 1396241991, 1396242021, 1396242003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.038761615753174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:05:12.282093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_49_2878.jpg', '/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_53_3644.jpg', '/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_56_2764.jpg', '/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_58_2753.jpg', '/home/pi/Desktop/images/26112025/07/26/image_26112025_07_26_02_3548.jpg', '/home/pi/Desktop/images/26112025/07/26/image_26112025_07_26_11_1672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_49_2878.jpg
/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_53_3644.jpg
/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_56_2764.jpg
/home/pi/Desktop/images/26112025/07/25/image_26112025_07_25_58_2753.jpg
/home/pi/Desktop/images/26112025/07/26/image_26112025_07_26_02_3548.jpg
/home/pi/Desktop/images/26112025/07/26/image_26112025_07_26_11_1672.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":["1396242224","1396242107","1396242031","1396242144","1396242069","1396242188"],"photo_ids_order":["1396242031","1396242069","1396242107","1396242144","1396242188","1396242224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7b6001f13cef53b9b82d1eb39577e4d2.jpg","text":"TemporaryFile(/tmp/multipartBody2946862372288784719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155172981,"filename":"image_26112025_07_26_11_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/26/94b7b528da4008afcbee6ea2be3a0fc0.jpg","text":"TemporaryFile(/tmp/multipartBody1921116754564558023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155172981,"filename":"image_26112025_07_25_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/26/b94be3aa649dbf99e99bbd47a66838d2.jpg","text":"TemporaryFile(/tmp/multipartBody6275468352306175040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155172981,"filename":"image_26112025_07_25_49_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/26/9f0a7c68c3e155817f34fb410001d6c3.jpg","text":"TemporaryFile(/tmp/multipartBody5168981081304770122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155172981,"filename":"image_26112025_07_25_58_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/26/15f2eb172a6a414df769178af9f12165.jpg","text":"TemporaryFile(/tmp/multipartBody9018414039621697643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155172981,"filename":"image_26112025_07_25_53_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d0af59b5094a2a7484df1fc6fb6e2755.jpg","text":"TemporaryFile(/tmp/multipartBody5375635068064753769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155172981,"filename":"image_26112025_07_26_02_3548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396242107","file1":"1396242069","file0":"1396242031","file4":"1396242188","file5":"1396242224","file3":"1396242144"},"map_files_photo_id_array":[{"photo_id":"1396242224","filename":"file5"},{"photo_id":"1396242107","filename":"file2"},{"photo_id":"1396242188","filename":"file4"},{"photo_id":"1396242069","filename":"file1"},{"photo_id":"1396242031","filename":"file0"},{"photo_id":"1396242144","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396242224":["hashtag1","hashtag2"]},{"1396242107":["hashtag1","hashtag2"]},{"1396242031":["hashtag1","hashtag2"]},{"1396242144":["hashtag1","hashtag2"]},{"1396242069":["hashtag1","hashtag2"]},{"1396242188":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396242224, 1396242107, 1396242031, 1396242144, 1396242069, 1396242188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88057208061218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:06:02.884819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/26/image_26112025_07_26_12_1539.jpg', '/home/pi/Desktop/images/26112025/07/26/image_26112025_07_26_14_1902.jpg', '/home/pi/Desktop/images/26112025/07/26/image_26112025_07_26_17_2746.jpg', '/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_06_3012.jpg', '/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_10_3696.jpg', '/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_13_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/26/image_26112025_07_26_12_1539.jpg
/home/pi/Desktop/images/26112025/07/26/image_26112025_07_26_14_1902.jpg
/home/pi/Desktop/images/26112025/07/26/image_26112025_07_26_17_2746.jpg
/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_06_3012.jpg
/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_10_3696.jpg
/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_13_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.604752779006958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:06:12.439475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/26/image_26112025_07_26_12_1539.jpg', '/home/pi/Desktop/images/26112025/07/26/image_26112025_07_26_14_1902.jpg', '/home/pi/Desktop/images/26112025/07/26/image_26112025_07_26_17_2746.jpg', '/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_06_3012.jpg', '/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_10_3696.jpg', '/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_13_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/26/image_26112025_07_26_12_1539.jpg
/home/pi/Desktop/images/26112025/07/26/image_26112025_07_26_14_1902.jpg
/home/pi/Desktop/images/26112025/07/26/image_26112025_07_26_17_2746.jpg
/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_06_3012.jpg
/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_10_3696.jpg
/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_13_2578.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":["1396242566","1396242598","1396242586","1396242522","1396242482","1396242485"],"photo_ids_order":["1396242482","1396242485","1396242522","1396242566","1396242586","1396242598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f5e39c2f52ba210779fd42692ab31a67.jpg","text":"TemporaryFile(/tmp/multipartBody6065483050343178641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155233123,"filename":"image_26112025_07_27_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/26/a5464e9ed0e631dabd14bcd70571a6e9.jpg","text":"TemporaryFile(/tmp/multipartBody8850363522882746702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155233123,"filename":"image_26112025_07_27_13_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/26/a1a99ad5baf3fd426d1bef2b42409ade.jpg","text":"TemporaryFile(/tmp/multipartBody8031547932146703124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155233123,"filename":"image_26112025_07_27_10_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/26/2a5bb8bd3fa31aa50f3d9447a35ff696.jpg","text":"TemporaryFile(/tmp/multipartBody5751563483777396956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155233123,"filename":"image_26112025_07_26_17_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/26/1b20a0a6fa4090858cfe027b2e27100e.jpg","text":"TemporaryFile(/tmp/multipartBody7573246612437575335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155233123,"filename":"image_26112025_07_26_12_1539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/315b66c746164daf60a4ccf9f37252d7.jpg","text":"TemporaryFile(/tmp/multipartBody7181518325098178058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155233123,"filename":"image_26112025_07_26_14_1902.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396242522","file1":"1396242485","file0":"1396242482","file4":"1396242586","file5":"1396242598","file3":"1396242566"},"map_files_photo_id_array":[{"photo_id":"1396242598","filename":"file5"},{"photo_id":"1396242522","filename":"file2"},{"photo_id":"1396242586","filename":"file4"},{"photo_id":"1396242485","filename":"file1"},{"photo_id":"1396242482","filename":"file0"},{"photo_id":"1396242566","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396242566":["hashtag1","hashtag2"]},{"1396242598":["hashtag1","hashtag2"]},{"1396242586":["hashtag1","hashtag2"]},{"1396242522":["hashtag1","hashtag2"]},{"1396242482":["hashtag1","hashtag2"]},{"1396242485":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396242566, 1396242598, 1396242586, 1396242522, 1396242482, 1396242485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.872103214263916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:07:03.085175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_16_3543.jpg', '/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_19_2603.jpg', '/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_21_2676.jpg', '/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_25_3527.jpg', '/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_28_2668.jpg', '/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_30_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_16_3543.jpg
/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_19_2603.jpg
/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_21_2676.jpg
/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_25_3527.jpg
/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_28_2668.jpg
/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_30_2753.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":["1396242671","1396242665","1396242674","1396242678","1396242672","1396242663"],"photo_ids_order":["1396242663","1396242665","1396242671","1396242672","1396242674","1396242678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a98645552c7e647c4e16bdcbfb5f6c87.jpg","text":"TemporaryFile(/tmp/multipartBody4682878333922377045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155283865,"filename":"image_26112025_07_27_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/26/2b13fd7fd11554e19ae09c0dc61cf227.jpg","text":"TemporaryFile(/tmp/multipartBody7372828445423349776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155283865,"filename":"image_26112025_07_27_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/26/dabcd010cd5c3dea904f204334ed1941.jpg","text":"TemporaryFile(/tmp/multipartBody1138119948603007794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155283865,"filename":"image_26112025_07_27_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/26/42ab579c4196535cbdc32fab55ba341c.jpg","text":"TemporaryFile(/tmp/multipartBody8795041240873330984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155283865,"filename":"image_26112025_07_27_30_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/26/6738d811c4dd59d0323954437bd0132d.jpg","text":"TemporaryFile(/tmp/multipartBody5230742790780104558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155283865,"filename":"image_26112025_07_27_25_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/26/2d23dd1041017adf96da7f806c5d720f.jpg","text":"TemporaryFile(/tmp/multipartBody1933140067388390839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155283865,"filename":"image_26112025_07_27_16_3543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396242671","file1":"1396242665","file0":"1396242663","file4":"1396242674","file5":"1396242678","file3":"1396242672"},"map_files_photo_id_array":[{"photo_id":"1396242678","filename":"file5"},{"photo_id":"1396242671","filename":"file2"},{"photo_id":"1396242674","filename":"file4"},{"photo_id":"1396242665","filename":"file1"},{"photo_id":"1396242663","filename":"file0"},{"photo_id":"1396242672","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396242671":["hashtag1","hashtag2"]},{"1396242665":["hashtag1","hashtag2"]},{"1396242674":["hashtag1","hashtag2"]},{"1396242678":["hashtag1","hashtag2"]},{"1396242672":["hashtag1","hashtag2"]},{"1396242663":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396242671, 1396242665, 1396242674, 1396242678, 1396242672, 1396242663)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.557992935180664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:08:03.299229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_34_3684.jpg', '/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_37_2590.jpg', '/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_39_2844.jpg', '/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_07_3011.jpg', '/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_10_3633.jpg', '/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_13_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_34_3684.jpg
/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_37_2590.jpg
/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_39_2844.jpg
/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_07_3011.jpg
/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_10_3633.jpg
/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_13_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.6567976474761963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:08:12.796148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_34_3684.jpg', '/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_37_2590.jpg', '/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_39_2844.jpg', '/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_07_3011.jpg', '/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_10_3633.jpg', '/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_13_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_34_3684.jpg
/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_37_2590.jpg
/home/pi/Desktop/images/26112025/07/27/image_26112025_07_27_39_2844.jpg
/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_07_3011.jpg
/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_10_3633.jpg
/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_13_2568.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":["1396242701","1396242704","1396242694","1396242706","1396242709","1396242698"],"photo_ids_order":["1396242694","1396242698","1396242701","1396242704","1396242706","1396242709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/89604f3c436058828392b4571b7707f4.jpg","text":"TemporaryFile(/tmp/multipartBody6684964795170786484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155353480,"filename":"image_26112025_07_27_39_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/26/22e6e68a9d06017a742bcac8b7f7429a.jpg","text":"TemporaryFile(/tmp/multipartBody3800228871419008555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155353480,"filename":"image_26112025_07_29_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/26/8467bdb9168cba8174687cb27133ef80.jpg","text":"TemporaryFile(/tmp/multipartBody1962245649478375125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155353480,"filename":"image_26112025_07_27_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/26/0a7b7edb4aeecdb9b0084d8c29119f15.jpg","text":"TemporaryFile(/tmp/multipartBody6902954170032572210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155353480,"filename":"image_26112025_07_29_10_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/26/2d13eba897a93ef6bfc5879215d39cc1.jpg","text":"TemporaryFile(/tmp/multipartBody2322175574183058714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155353480,"filename":"image_26112025_07_29_13_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/26/5b917dcee036c8962d3f2f053c17b36a.jpg","text":"TemporaryFile(/tmp/multipartBody7537625148241732757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155353480,"filename":"image_26112025_07_27_37_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396242701","file1":"1396242698","file0":"1396242694","file4":"1396242706","file5":"1396242709","file3":"1396242704"},"map_files_photo_id_array":[{"photo_id":"1396242709","filename":"file5"},{"photo_id":"1396242701","filename":"file2"},{"photo_id":"1396242706","filename":"file4"},{"photo_id":"1396242698","filename":"file1"},{"photo_id":"1396242694","filename":"file0"},{"photo_id":"1396242704","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396242701":["hashtag1","hashtag2"]},{"1396242704":["hashtag1","hashtag2"]},{"1396242694":["hashtag1","hashtag2"]},{"1396242706":["hashtag1","hashtag2"]},{"1396242709":["hashtag1","hashtag2"]},{"1396242698":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396242701, 1396242704, 1396242694, 1396242706, 1396242709, 1396242698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12917995452881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:09:02.846486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_17_3691.jpg', '/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_19_2651.jpg', '/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_22_2693.jpg', '/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_26_3631.jpg', '/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_28_2559.jpg', '/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_32_3464.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_17_3691.jpg
/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_19_2651.jpg
/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_22_2693.jpg
/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_26_3631.jpg
/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_28_2559.jpg
/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_32_3464.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":["1396243075","1396242970","1396243003","1396243113","1396242930","1396243043"],"photo_ids_order":["1396242930","1396242970","1396243003","1396243043","1396243075","1396243113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9ed848494c951a48490a0e1b32e021a4.jpg","text":"TemporaryFile(/tmp/multipartBody8541488343748241998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155403784,"filename":"image_26112025_07_29_28_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/26/6ac3b50422c752b400d41eec93e58bd1.jpg","text":"TemporaryFile(/tmp/multipartBody3759716707910282748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155403784,"filename":"image_26112025_07_29_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/26/7fc096ca057370a2dcb2010d3255b3f2.jpg","text":"TemporaryFile(/tmp/multipartBody1405135663841950150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155403784,"filename":"image_26112025_07_29_22_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/26/b3592b2e77138f3960a74e0b68b334a0.jpg","text":"TemporaryFile(/tmp/multipartBody7321258094551049486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155403784,"filename":"image_26112025_07_29_32_3464.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/645ad93acc5859390e715cb11e51a694.jpg","text":"TemporaryFile(/tmp/multipartBody6755348065883200601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155403784,"filename":"image_26112025_07_29_17_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/26/75f8d338f900323e8474367f3ed2357a.jpg","text":"TemporaryFile(/tmp/multipartBody8686889728264595398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155403784,"filename":"image_26112025_07_29_26_3631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396243003","file1":"1396242970","file0":"1396242930","file4":"1396243075","file5":"1396243113","file3":"1396243043"},"map_files_photo_id_array":[{"photo_id":"1396243113","filename":"file5"},{"photo_id":"1396243003","filename":"file2"},{"photo_id":"1396243075","filename":"file4"},{"photo_id":"1396242970","filename":"file1"},{"photo_id":"1396242930","filename":"file0"},{"photo_id":"1396243043","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396243075":["hashtag1","hashtag2"]},{"1396242970":["hashtag1","hashtag2"]},{"1396243003":["hashtag1","hashtag2"]},{"1396243113":["hashtag1","hashtag2"]},{"1396242930":["hashtag1","hashtag2"]},{"1396243043":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396243075, 1396242970, 1396243003, 1396243113, 1396242930, 1396243043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53034996986389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 12:09:41.878279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_34_2521.jpg', '/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_37_2663.jpg', '/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_41_3765.jpg', '/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_43_2582.jpg', '/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_46_2510.jpg', '/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_50_3800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_34_2521.jpg
/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_37_2663.jpg
/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_41_3765.jpg
/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_43_2582.jpg
/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_46_2510.jpg
/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_50_3800.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":["1396243270","1396243273","1396243272","1396243274","1396243268","1396243247"],"photo_ids_order":["1396243247","1396243268","1396243270","1396243272","1396243273","1396243274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0fcabcc6645a9ebf18a10cfe3c1334bc.jpg","text":"TemporaryFile(/tmp/multipartBody4031277319241840735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155442573,"filename":"image_26112025_07_29_41_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/26/36694ac15d34850cd785da330c5d3068.jpg","text":"TemporaryFile(/tmp/multipartBody225045134671375484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155442573,"filename":"image_26112025_07_29_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/26/6b3d238ff5b1fe7bd13a9aa05f679f88.jpg","text":"TemporaryFile(/tmp/multipartBody3445612416557982441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155442573,"filename":"image_26112025_07_29_43_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/26/f02e339ea0bd3bb9aaf52f562fcdd365.jpg","text":"TemporaryFile(/tmp/multipartBody8464083158202476975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155442573,"filename":"image_26112025_07_29_50_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/26/17884a2347792a174029cfd427a4002a.jpg","text":"TemporaryFile(/tmp/multipartBody4322042491556510063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155442573,"filename":"image_26112025_07_29_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/26/cecdf7c1e6c41752144f6a7694153bea.jpg","text":"TemporaryFile(/tmp/multipartBody9141289296430522871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155442573,"filename":"image_26112025_07_29_34_2521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396243270","file1":"1396243268","file0":"1396243247","file4":"1396243273","file5":"1396243274","file3":"1396243272"},"map_files_photo_id_array":[{"photo_id":"1396243274","filename":"file5"},{"photo_id":"1396243270","filename":"file2"},{"photo_id":"1396243273","filename":"file4"},{"photo_id":"1396243268","filename":"file1"},{"photo_id":"1396243247","filename":"file0"},{"photo_id":"1396243272","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396243270":["hashtag1","hashtag2"]},{"1396243273":["hashtag1","hashtag2"]},{"1396243272":["hashtag1","hashtag2"]},{"1396243274":["hashtag1","hashtag2"]},{"1396243268":["hashtag1","hashtag2"]},{"1396243247":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396243270, 1396243273, 1396243272, 1396243274, 1396243268, 1396243247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84591794013977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:10:22.159676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_52_2573.jpg', '/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_55_2696.jpg', '/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_58_3624.jpg', '/home/pi/Desktop/images/26112025/07/30/image_26112025_07_30_01_2699.jpg', '/home/pi/Desktop/images/26112025/07/30/image_26112025_07_30_05_3554.jpg', '/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_10_3670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_52_2573.jpg
/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_55_2696.jpg
/home/pi/Desktop/images/26112025/07/29/image_26112025_07_29_58_3624.jpg
/home/pi/Desktop/images/26112025/07/30/image_26112025_07_30_01_2699.jpg
/home/pi/Desktop/images/26112025/07/30/image_26112025_07_30_05_3554.jpg
/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_10_3670.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":["1396243468","1396243462","1396243423","1396243383","1396243386","1396243437"],"photo_ids_order":["1396243383","1396243386","1396243423","1396243437","1396243462","1396243468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dc19cee142dc6487780dc4171e6dd2a5.jpg","text":"TemporaryFile(/tmp/multipartBody6105815816688487840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155482916,"filename":"image_26112025_07_31_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/26/f68d799debf7f2b31c1bfac11e902ed0.jpg","text":"TemporaryFile(/tmp/multipartBody2599910911643887467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155482916,"filename":"image_26112025_07_30_05_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/26/e46761b6ad928032dad34fa6750a4f02.jpg","text":"TemporaryFile(/tmp/multipartBody5791662069567484762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155482916,"filename":"image_26112025_07_29_58_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/26/3a07261a2135435f52c3b517f3ebcda7.jpg","text":"TemporaryFile(/tmp/multipartBody1266358004981472374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155482916,"filename":"image_26112025_07_29_52_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/26/e9aa4fad19239f0758a253d2d30c2b00.jpg","text":"TemporaryFile(/tmp/multipartBody8849524963199736037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155482916,"filename":"image_26112025_07_29_55_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/26/4ff86603e2896129991b1bec8e4aa403.jpg","text":"TemporaryFile(/tmp/multipartBody8953847634146331189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155482916,"filename":"image_26112025_07_30_01_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396243423","file1":"1396243386","file0":"1396243383","file4":"1396243462","file5":"1396243468","file3":"1396243437"},"map_files_photo_id_array":[{"photo_id":"1396243468","filename":"file5"},{"photo_id":"1396243423","filename":"file2"},{"photo_id":"1396243462","filename":"file4"},{"photo_id":"1396243386","filename":"file1"},{"photo_id":"1396243383","filename":"file0"},{"photo_id":"1396243437","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396243468":["hashtag1","hashtag2"]},{"1396243462":["hashtag1","hashtag2"]},{"1396243423":["hashtag1","hashtag2"]},{"1396243383":["hashtag1","hashtag2"]},{"1396243386":["hashtag1","hashtag2"]},{"1396243437":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396243468, 1396243462, 1396243423, 1396243383, 1396243386, 1396243437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.708542346954346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:11:02.979264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_13_2580.jpg', '/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_16_2853.jpg', '/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_19_3693.jpg', '/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_22_2702.jpg', '/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_24_2580.jpg', '/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_28_3781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_13_2580.jpg
/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_16_2853.jpg
/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_19_3693.jpg
/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_22_2702.jpg
/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_24_2580.jpg
/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_28_3781.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":["1396243480","1396243483","1396243477","1396243471","1396243475","1396243487"],"photo_ids_order":["1396243471","1396243475","1396243477","1396243480","1396243483","1396243487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f25cd8a3d1f9c9acb3a8227144609990.jpg","text":"TemporaryFile(/tmp/multipartBody920328239784174410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155523706,"filename":"image_26112025_07_31_22_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/26/0b0ff962d5b239d6b11a61d5ed189fe9.jpg","text":"TemporaryFile(/tmp/multipartBody7885277469218358968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155523706,"filename":"image_26112025_07_31_24_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/26/369071a009a563ae9801847d51355f9b.jpg","text":"TemporaryFile(/tmp/multipartBody8840556107043825472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155523706,"filename":"image_26112025_07_31_19_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/26/af22f578c413be4bdd34258bed47dba9.jpg","text":"TemporaryFile(/tmp/multipartBody9010029406484899573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155523706,"filename":"image_26112025_07_31_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/26/7e8f3ee640dfd8e87cf213d9c2c0fb07.jpg","text":"TemporaryFile(/tmp/multipartBody901517022410888247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155523706,"filename":"image_26112025_07_31_16_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/26/6792aacecb793c09f2d1413808eff062.jpg","text":"TemporaryFile(/tmp/multipartBody5876632627230218699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155523706,"filename":"image_26112025_07_31_28_3781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396243477","file1":"1396243475","file0":"1396243471","file4":"1396243483","file5":"1396243487","file3":"1396243480"},"map_files_photo_id_array":[{"photo_id":"1396243487","filename":"file5"},{"photo_id":"1396243477","filename":"file2"},{"photo_id":"1396243483","filename":"file4"},{"photo_id":"1396243475","filename":"file1"},{"photo_id":"1396243471","filename":"file0"},{"photo_id":"1396243480","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396243480":["hashtag1","hashtag2"]},{"1396243483":["hashtag1","hashtag2"]},{"1396243477":["hashtag1","hashtag2"]},{"1396243471":["hashtag1","hashtag2"]},{"1396243475":["hashtag1","hashtag2"]},{"1396243487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396243480, 1396243483, 1396243477, 1396243471, 1396243475, 1396243487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.306978940963745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 12:11:42.249818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_31_2757.jpg', '/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_34_2865.jpg', '/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_36_2511.jpg', '/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_40_3510.jpg', '/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_43_2692.jpg', '/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_45_2770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_31_2757.jpg
/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_34_2865.jpg
/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_36_2511.jpg
/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_40_3510.jpg
/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_43_2692.jpg
/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_45_2770.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.7355287075042725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:12:03.008756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_31_2757.jpg', '/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_34_2865.jpg', '/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_36_2511.jpg', '/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_40_3510.jpg', '/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_43_2692.jpg', '/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_45_2770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_31_2757.jpg
/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_34_2865.jpg
/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_36_2511.jpg
/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_40_3510.jpg
/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_43_2692.jpg
/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_45_2770.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":["1396243529","1396243516","1396243525","1396243527","1396243524","1396243518"],"photo_ids_order":["1396243516","1396243518","1396243524","1396243525","1396243527","1396243529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/16f95f60c0eea3bb2447cbac87b57fa6.jpg","text":"TemporaryFile(/tmp/multipartBody2717003621031001276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155585975,"filename":"image_26112025_07_31_45_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/26/6a4bc774e3c2194cb87391aac9915df5.jpg","text":"TemporaryFile(/tmp/multipartBody4803872057817493528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155585975,"filename":"image_26112025_07_31_31_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/26/ca23ffb7cbe9de73fd3f3af22e2b6158.jpg","text":"TemporaryFile(/tmp/multipartBody6519019905744529811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155585975,"filename":"image_26112025_07_31_40_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/26/9a2e57651d9c2ff4b8654e96dce2bb29.jpg","text":"TemporaryFile(/tmp/multipartBody3126161349372754606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155585975,"filename":"image_26112025_07_31_43_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/26/121bbcfdeaf7088bdd881713e088183c.jpg","text":"TemporaryFile(/tmp/multipartBody5661636362596384523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155585975,"filename":"image_26112025_07_31_36_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/26/c08a66f51cb82ba87f5b0fdb2280578f.jpg","text":"TemporaryFile(/tmp/multipartBody6445143218785092860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155585975,"filename":"image_26112025_07_31_34_2865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396243524","file1":"1396243518","file0":"1396243516","file4":"1396243527","file5":"1396243529","file3":"1396243525"},"map_files_photo_id_array":[{"photo_id":"1396243529","filename":"file5"},{"photo_id":"1396243524","filename":"file2"},{"photo_id":"1396243527","filename":"file4"},{"photo_id":"1396243518","filename":"file1"},{"photo_id":"1396243516","filename":"file0"},{"photo_id":"1396243525","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396243529":["hashtag1","hashtag2"]},{"1396243516":["hashtag1","hashtag2"]},{"1396243525":["hashtag1","hashtag2"]},{"1396243527":["hashtag1","hashtag2"]},{"1396243524":["hashtag1","hashtag2"]},{"1396243518":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396243529, 1396243516, 1396243525, 1396243527, 1396243524, 1396243518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57360768318176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 12:12:42.561187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_49_3648.jpg', '/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_52_2609.jpg', '/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_55_3662.jpg', '/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_58_2621.jpg', '/home/pi/Desktop/images/26112025/07/33/image_26112025_07_33_07_3011.jpg', '/home/pi/Desktop/images/26112025/07/33/image_26112025_07_33_10_3732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_49_3648.jpg
/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_52_2609.jpg
/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_55_3662.jpg
/home/pi/Desktop/images/26112025/07/31/image_26112025_07_31_58_2621.jpg
/home/pi/Desktop/images/26112025/07/33/image_26112025_07_33_07_3011.jpg
/home/pi/Desktop/images/26112025/07/33/image_26112025_07_33_10_3732.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":["1396243561","1396243549","1396243546","1396243536","1396243539","1396243562"],"photo_ids_order":["1396243536","1396243539","1396243546","1396243549","1396243561","1396243562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e0d890154adaf82076b5ba483cbb2e66.jpg","text":"TemporaryFile(/tmp/multipartBody2531847589277222185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155623258,"filename":"image_26112025_07_33_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/26/d852cf6ffa4fec0fd28b925c3b0de795.jpg","text":"TemporaryFile(/tmp/multipartBody866709677631481741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155623258,"filename":"image_26112025_07_31_58_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ad338788a228ceedf88db3aaf42a98a6.jpg","text":"TemporaryFile(/tmp/multipartBody9173193524524126973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155623258,"filename":"image_26112025_07_31_55_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/26/d95a66777848d8fc4752c51b4d9acc0c.jpg","text":"TemporaryFile(/tmp/multipartBody6940580020952775082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155623258,"filename":"image_26112025_07_31_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/26/db8cf17c5335750249305a431e011098.jpg","text":"TemporaryFile(/tmp/multipartBody2673694292060164067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155623258,"filename":"image_26112025_07_31_52_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/26/e43082617a7862047c3e294f6fb6bab3.jpg","text":"TemporaryFile(/tmp/multipartBody995256828474626315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155623258,"filename":"image_26112025_07_33_10_3732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396243546","file1":"1396243539","file0":"1396243536","file4":"1396243561","file5":"1396243562","file3":"1396243549"},"map_files_photo_id_array":[{"photo_id":"1396243562","filename":"file5"},{"photo_id":"1396243546","filename":"file2"},{"photo_id":"1396243561","filename":"file4"},{"photo_id":"1396243539","filename":"file1"},{"photo_id":"1396243536","filename":"file0"},{"photo_id":"1396243549","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396243561":["hashtag1","hashtag2"]},{"1396243549":["hashtag1","hashtag2"]},{"1396243546":["hashtag1","hashtag2"]},{"1396243536":["hashtag1","hashtag2"]},{"1396243539":["hashtag1","hashtag2"]},{"1396243562":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396243561, 1396243549, 1396243546, 1396243536, 1396243539, 1396243562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1695601940155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:13:22.750755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/33/image_26112025_07_33_13_2691.jpg', '/home/pi/Desktop/images/26112025/07/33/image_26112025_07_33_16_2696.jpg', '/home/pi/Desktop/images/26112025/07/33/image_26112025_07_33_19_3659.jpg', '/home/pi/Desktop/images/26112025/07/33/image_26112025_07_33_22_2571.jpg', '/home/pi/Desktop/images/26112025/07/33/image_26112025_07_33_25_2799.jpg', '/home/pi/Desktop/images/26112025/07/33/image_26112025_07_33_28_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/33/image_26112025_07_33_13_2691.jpg
/home/pi/Desktop/images/26112025/07/33/image_26112025_07_33_16_2696.jpg
/home/pi/Desktop/images/26112025/07/33/image_26112025_07_33_19_3659.jpg
/home/pi/Desktop/images/26112025/07/33/image_26112025_07_33_22_2571.jpg
/home/pi/Desktop/images/26112025/07/33/image_26112025_07_33_25_2799.jpg
/home/pi/Desktop/images/26112025/07/33/image_26112025_07_33_28_3600.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":["1396243706","1396243703","1396243651","1396243576","1396243689","1396243599"],"photo_ids_order":["1396243576","1396243599","1396243651","1396243689","1396243703","1396243706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/351decedf8756939a2c70702e158d8da.jpg","text":"TemporaryFile(/tmp/multipartBody7709671366585631132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155663416,"filename":"image_26112025_07_33_28_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/26/2426be423ea078cc0c2bb8f97757471e.jpg","text":"TemporaryFile(/tmp/multipartBody6131097228642601049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155663416,"filename":"image_26112025_07_33_25_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/26/dd4fceee0d0b5ff091bc52ed98faf8d1.jpg","text":"TemporaryFile(/tmp/multipartBody7599780498547427812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155663416,"filename":"image_26112025_07_33_19_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/26/9b05a24681847cb18d14ad034bfa7301.jpg","text":"TemporaryFile(/tmp/multipartBody8743125721839874155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155663416,"filename":"image_26112025_07_33_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/26/d638018fffb704720e10402fd55e1bc5.jpg","text":"TemporaryFile(/tmp/multipartBody6817067892508647140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155663416,"filename":"image_26112025_07_33_22_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/26/2c8bd4fe40c85280622ab1ad77097744.jpg","text":"TemporaryFile(/tmp/multipartBody7162665249638295904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155663416,"filename":"image_26112025_07_33_16_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396243651","file1":"1396243599","file0":"1396243576","file4":"1396243703","file5":"1396243706","file3":"1396243689"},"map_files_photo_id_array":[{"photo_id":"1396243706","filename":"file5"},{"photo_id":"1396243651","filename":"file2"},{"photo_id":"1396243703","filename":"file4"},{"photo_id":"1396243599","filename":"file1"},{"photo_id":"1396243576","filename":"file0"},{"photo_id":"1396243689","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396243706":["hashtag1","hashtag2"]},{"1396243703":["hashtag1","hashtag2"]},{"1396243651":["hashtag1","hashtag2"]},{"1396243576":["hashtag1","hashtag2"]},{"1396243689":["hashtag1","hashtag2"]},{"1396243599":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396243706, 1396243703, 1396243651, 1396243576, 1396243689, 1396243599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.885252237319946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:14:02.766992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/33/image_26112025_07_33_31_2650.jpg', '/home/pi/Desktop/images/26112025/07/33/image_26112025_07_33_34_2656.jpg', '/home/pi/Desktop/images/26112025/07/33/image_26112025_07_33_37_3588.jpg', '/home/pi/Desktop/images/26112025/07/33/image_26112025_07_33_40_2651.jpg', '/home/pi/Desktop/images/26112025/07/33/image_26112025_07_33_43_2804.jpg', '/home/pi/Desktop/images/26112025/07/35/image_26112025_07_35_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/33/image_26112025_07_33_31_2650.jpg
/home/pi/Desktop/images/26112025/07/33/image_26112025_07_33_34_2656.jpg
/home/pi/Desktop/images/26112025/07/33/image_26112025_07_33_37_3588.jpg
/home/pi/Desktop/images/26112025/07/33/image_26112025_07_33_40_2651.jpg
/home/pi/Desktop/images/26112025/07/33/image_26112025_07_33_43_2804.jpg
/home/pi/Desktop/images/26112025/07/35/image_26112025_07_35_07_3011.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":["1396243785","1396243743","1396243749","1396243799","1396243796","1396243745"],"photo_ids_order":["1396243743","1396243745","1396243749","1396243785","1396243796","1396243799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/850542d347972f7b04ed1e8204b93f09.jpg","text":"TemporaryFile(/tmp/multipartBody7537879988992002405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155703556,"filename":"image_26112025_07_33_40_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/26/72c72a112da460d9667db0fdd3bc1905.jpg","text":"TemporaryFile(/tmp/multipartBody1343065921159514700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155703556,"filename":"image_26112025_07_33_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/26/1b7c67cb2c8af0e3fce05276d4b7b2d3.jpg","text":"TemporaryFile(/tmp/multipartBody6918528883054868978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155703556,"filename":"image_26112025_07_33_37_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/26/a2d0cfe3e5ddb0d3462881e4d6f37e63.jpg","text":"TemporaryFile(/tmp/multipartBody7603118383788756141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155703556,"filename":"image_26112025_07_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/26/278a2b4b12cf75aab194621f62aae6ac.jpg","text":"TemporaryFile(/tmp/multipartBody4076023604521366716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155703556,"filename":"image_26112025_07_33_43_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/26/130cbbd19eb1c57801475b2dd5687ef6.jpg","text":"TemporaryFile(/tmp/multipartBody171438027504874064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155703556,"filename":"image_26112025_07_33_34_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396243749","file1":"1396243745","file0":"1396243743","file4":"1396243796","file5":"1396243799","file3":"1396243785"},"map_files_photo_id_array":[{"photo_id":"1396243799","filename":"file5"},{"photo_id":"1396243749","filename":"file2"},{"photo_id":"1396243796","filename":"file4"},{"photo_id":"1396243745","filename":"file1"},{"photo_id":"1396243743","filename":"file0"},{"photo_id":"1396243785","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396243785":["hashtag1","hashtag2"]},{"1396243743":["hashtag1","hashtag2"]},{"1396243749":["hashtag1","hashtag2"]},{"1396243799":["hashtag1","hashtag2"]},{"1396243796":["hashtag1","hashtag2"]},{"1396243745":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396243785, 1396243743, 1396243749, 1396243799, 1396243796, 1396243745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.023048877716064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 12:14:42.061325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/35/image_26112025_07_35_10_3746.jpg', '/home/pi/Desktop/images/26112025/07/35/image_26112025_07_35_13_2809.jpg', '/home/pi/Desktop/images/26112025/07/35/image_26112025_07_35_16_2569.jpg', '/home/pi/Desktop/images/26112025/07/35/image_26112025_07_35_19_3536.jpg', '/home/pi/Desktop/images/26112025/07/35/image_26112025_07_35_22_2656.jpg', '/home/pi/Desktop/images/26112025/07/35/image_26112025_07_35_26_3571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/35/image_26112025_07_35_10_3746.jpg
/home/pi/Desktop/images/26112025/07/35/image_26112025_07_35_13_2809.jpg
/home/pi/Desktop/images/26112025/07/35/image_26112025_07_35_16_2569.jpg
/home/pi/Desktop/images/26112025/07/35/image_26112025_07_35_19_3536.jpg
/home/pi/Desktop/images/26112025/07/35/image_26112025_07_35_22_2656.jpg
/home/pi/Desktop/images/26112025/07/35/image_26112025_07_35_26_3571.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":["1396243837","1396243822","1396243825","1396243839","1396243827","1396243809"],"photo_ids_order":["1396243809","1396243822","1396243825","1396243827","1396243837","1396243839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b73cce1fc38aa465310eff5b41a80bbb.jpg","text":"TemporaryFile(/tmp/multipartBody1638027113410842101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155742779,"filename":"image_26112025_07_35_22_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/26/b840810c5ad7853eb74d7cbf432ff37d.jpg","text":"TemporaryFile(/tmp/multipartBody5315617767336473747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155742779,"filename":"image_26112025_07_35_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/26/ddd09a831b2c48eb0bf08933404152ca.jpg","text":"TemporaryFile(/tmp/multipartBody6164275447154698106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155742779,"filename":"image_26112025_07_35_16_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/26/48bd968228a609de676b8f3b99625c88.jpg","text":"TemporaryFile(/tmp/multipartBody4463048241593539175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155742779,"filename":"image_26112025_07_35_26_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b4a887fd0f4d1f1406c7190e9b49baca.jpg","text":"TemporaryFile(/tmp/multipartBody661219913964286175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155742779,"filename":"image_26112025_07_35_19_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/acf56f223e2418a87b965c3e884dc800.jpg","text":"TemporaryFile(/tmp/multipartBody7817068356210498714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155742779,"filename":"image_26112025_07_35_10_3746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396243825","file1":"1396243822","file0":"1396243809","file4":"1396243837","file5":"1396243839","file3":"1396243827"},"map_files_photo_id_array":[{"photo_id":"1396243839","filename":"file5"},{"photo_id":"1396243825","filename":"file2"},{"photo_id":"1396243837","filename":"file4"},{"photo_id":"1396243822","filename":"file1"},{"photo_id":"1396243809","filename":"file0"},{"photo_id":"1396243827","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396243837":["hashtag1","hashtag2"]},{"1396243822":["hashtag1","hashtag2"]},{"1396243825":["hashtag1","hashtag2"]},{"1396243839":["hashtag1","hashtag2"]},{"1396243827":["hashtag1","hashtag2"]},{"1396243809":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396243837, 1396243822, 1396243825, 1396243839, 1396243827, 1396243809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08684492111206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:15:22.220130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/35/image_26112025_07_35_28_2683.jpg', '/home/pi/Desktop/images/26112025/07/35/image_26112025_07_35_31_2601.jpg', '/home/pi/Desktop/images/26112025/07/35/image_26112025_07_35_35_3724.jpg', '/home/pi/Desktop/images/26112025/07/35/image_26112025_07_35_37_2579.jpg', '/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_10_3716.jpg', '/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_13_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/35/image_26112025_07_35_28_2683.jpg
/home/pi/Desktop/images/26112025/07/35/image_26112025_07_35_31_2601.jpg
/home/pi/Desktop/images/26112025/07/35/image_26112025_07_35_35_3724.jpg
/home/pi/Desktop/images/26112025/07/35/image_26112025_07_35_37_2579.jpg
/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_10_3716.jpg
/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_13_2675.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":["1396243843","1396243851","1396243845","1396243848","1396243856","1396243841"],"photo_ids_order":["1396243841","1396243843","1396243845","1396243848","1396243851","1396243856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0387ecd2e076714550b6a23a58532c75.jpg","text":"TemporaryFile(/tmp/multipartBody6874546965594935653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155782952,"filename":"image_26112025_07_35_31_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/96029d5ea9b113698bacb5135bb70da3.jpg","text":"TemporaryFile(/tmp/multipartBody7315578420418490236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155782952,"filename":"image_26112025_07_37_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/26/f9c02e5dff5d1ec2c4583362c9e89d1e.jpg","text":"TemporaryFile(/tmp/multipartBody1712973462295848192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155782952,"filename":"image_26112025_07_35_35_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/26/f1527a5138856cc596f1ca531bcb75e0.jpg","text":"TemporaryFile(/tmp/multipartBody3661542118257278811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155782952,"filename":"image_26112025_07_35_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/26/aedda7137133d13ceb901784931a64d4.jpg","text":"TemporaryFile(/tmp/multipartBody7031243126476033463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155782952,"filename":"image_26112025_07_37_13_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/26/45dab9dacffee373a5627729e397e848.jpg","text":"TemporaryFile(/tmp/multipartBody9074936359143571168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155782952,"filename":"image_26112025_07_35_28_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396243845","file1":"1396243843","file0":"1396243841","file4":"1396243851","file5":"1396243856","file3":"1396243848"},"map_files_photo_id_array":[{"photo_id":"1396243856","filename":"file5"},{"photo_id":"1396243845","filename":"file2"},{"photo_id":"1396243851","filename":"file4"},{"photo_id":"1396243843","filename":"file1"},{"photo_id":"1396243841","filename":"file0"},{"photo_id":"1396243848","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396243843":["hashtag1","hashtag2"]},{"1396243851":["hashtag1","hashtag2"]},{"1396243845":["hashtag1","hashtag2"]},{"1396243848":["hashtag1","hashtag2"]},{"1396243856":["hashtag1","hashtag2"]},{"1396243841":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396243843, 1396243851, 1396243845, 1396243848, 1396243856, 1396243841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.052408933639526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:16:02.728564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_16_2678.jpg', '/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_19_3563.jpg', '/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_22_2650.jpg', '/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_28_2728.jpg', '/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_31_2724.jpg', '/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_34_2820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_16_2678.jpg
/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_19_3563.jpg
/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_22_2650.jpg
/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_28_2728.jpg
/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_31_2724.jpg
/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_34_2820.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.6550953388214111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:16:12.302457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_16_2678.jpg', '/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_19_3563.jpg', '/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_22_2650.jpg', '/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_28_2728.jpg', '/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_31_2724.jpg', '/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_34_2820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_16_2678.jpg
/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_19_3563.jpg
/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_22_2650.jpg
/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_28_2728.jpg
/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_31_2724.jpg
/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_34_2820.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":["1396243864","1396243875","1396243866","1396243911","1396243908","1396243889"],"photo_ids_order":["1396243864","1396243866","1396243875","1396243889","1396243908","1396243911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/83d7ff64c7b219ab670090c6e692d32c.jpg","text":"TemporaryFile(/tmp/multipartBody4122103048299789958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155832995,"filename":"image_26112025_07_37_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/26/5ecea900b1a0c83e11dc1bb947088f14.jpg","text":"TemporaryFile(/tmp/multipartBody6731365587029191983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155832995,"filename":"image_26112025_07_37_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/26/c823ccb5ee62f9f30330d6a8a89d8a62.jpg","text":"TemporaryFile(/tmp/multipartBody4788368048212124336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155832995,"filename":"image_26112025_07_37_19_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/26/4aae372199e786a8365fa1a787542bfc.jpg","text":"TemporaryFile(/tmp/multipartBody2852648807169968234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155832995,"filename":"image_26112025_07_37_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/26/948fbf5f7079a5b78fc13b9859eaef24.jpg","text":"TemporaryFile(/tmp/multipartBody491638583753317603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155832995,"filename":"image_26112025_07_37_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/26/c4c0c53031cf87c63c24a3c97024747e.jpg","text":"TemporaryFile(/tmp/multipartBody5120934920378308516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155832995,"filename":"image_26112025_07_37_28_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396243875","file1":"1396243866","file0":"1396243864","file4":"1396243908","file5":"1396243911","file3":"1396243889"},"map_files_photo_id_array":[{"photo_id":"1396243911","filename":"file5"},{"photo_id":"1396243875","filename":"file2"},{"photo_id":"1396243908","filename":"file4"},{"photo_id":"1396243866","filename":"file1"},{"photo_id":"1396243864","filename":"file0"},{"photo_id":"1396243889","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396243864":["hashtag1","hashtag2"]},{"1396243875":["hashtag1","hashtag2"]},{"1396243866":["hashtag1","hashtag2"]},{"1396243911":["hashtag1","hashtag2"]},{"1396243908":["hashtag1","hashtag2"]},{"1396243889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396243864, 1396243875, 1396243866, 1396243911, 1396243908, 1396243889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87761449813843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:17:03.252240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_38_3708.jpg', '/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_40_2724.jpg', '/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_43_2674.jpg', '/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_46_2763.jpg', '/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_49_3700.jpg', '/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_52_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_38_3708.jpg
/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_40_2724.jpg
/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_43_2674.jpg
/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_46_2763.jpg
/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_49_3700.jpg
/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_52_2597.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":["1396243942","1396243944","1396243947","1396243940","1396243934","1396243937"],"photo_ids_order":["1396243934","1396243937","1396243940","1396243942","1396243944","1396243947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1a9dfbef143bdaba947061b751a30d2b.jpg","text":"TemporaryFile(/tmp/multipartBody5332372975986525334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155884058,"filename":"image_26112025_07_37_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/26/dd75eab4f788ad45a030cace8ea3a06f.jpg","text":"TemporaryFile(/tmp/multipartBody2046762582003406494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155884058,"filename":"image_26112025_07_37_49_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/26/7790e56c30f23b11172d88a70637bd0a.jpg","text":"TemporaryFile(/tmp/multipartBody5242056479156008258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155884058,"filename":"image_26112025_07_37_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/26/71ae1dc8327529276e9878636f609ffc.jpg","text":"TemporaryFile(/tmp/multipartBody1194487121729743511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155884058,"filename":"image_26112025_07_37_43_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8d67e468c6040dcd24e10bfd1c85fe26.jpg","text":"TemporaryFile(/tmp/multipartBody3908951958627080146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155884058,"filename":"image_26112025_07_37_38_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/26/8fc2976ed774f660f597e8bba418a0cd.jpg","text":"TemporaryFile(/tmp/multipartBody3483058078609338141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155884058,"filename":"image_26112025_07_37_40_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396243940","file1":"1396243937","file0":"1396243934","file4":"1396243944","file5":"1396243947","file3":"1396243942"},"map_files_photo_id_array":[{"photo_id":"1396243947","filename":"file5"},{"photo_id":"1396243940","filename":"file2"},{"photo_id":"1396243944","filename":"file4"},{"photo_id":"1396243937","filename":"file1"},{"photo_id":"1396243934","filename":"file0"},{"photo_id":"1396243942","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396243942":["hashtag1","hashtag2"]},{"1396243944":["hashtag1","hashtag2"]},{"1396243947":["hashtag1","hashtag2"]},{"1396243940":["hashtag1","hashtag2"]},{"1396243934":["hashtag1","hashtag2"]},{"1396243937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396243942, 1396243944, 1396243947, 1396243940, 1396243934, 1396243937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62977433204651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 12:17:42.515078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_55_2646.jpg', '/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_58_3719.jpg', '/home/pi/Desktop/images/26112025/07/38/image_26112025_07_38_01_2661.jpg', '/home/pi/Desktop/images/26112025/07/38/image_26112025_07_38_04_2623.jpg', '/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_07_3019.jpg', '/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_11_3792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_55_2646.jpg
/home/pi/Desktop/images/26112025/07/37/image_26112025_07_37_58_3719.jpg
/home/pi/Desktop/images/26112025/07/38/image_26112025_07_38_01_2661.jpg
/home/pi/Desktop/images/26112025/07/38/image_26112025_07_38_04_2623.jpg
/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_07_3019.jpg
/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_11_3792.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":["1396243954","1396243974","1396243979","1396243970","1396243967","1396243976"],"photo_ids_order":["1396243954","1396243967","1396243970","1396243974","1396243976","1396243979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bd51fd46495e9d8fa7f7f53756abf508.jpg","text":"TemporaryFile(/tmp/multipartBody3495536449866190359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155923204,"filename":"image_26112025_07_37_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/26/664fc82ebc81236811b97fd0fd071c1d.jpg","text":"TemporaryFile(/tmp/multipartBody4177197322952767826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155923204,"filename":"image_26112025_07_38_04_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/26/47a016e50fac22dab82db7b21a0ba5ca.jpg","text":"TemporaryFile(/tmp/multipartBody5842861390877945602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155923204,"filename":"image_26112025_07_39_11_3792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d50b0133f92a5c2728e0dffb26c003c6.jpg","text":"TemporaryFile(/tmp/multipartBody6768573747887406974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155923204,"filename":"image_26112025_07_38_01_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/26/13d56fa382ba0e33a72f1cecde4f590c.jpg","text":"TemporaryFile(/tmp/multipartBody4099972060253045350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155923204,"filename":"image_26112025_07_37_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/26/d03f4fd5ed18962a45a3ba1be0b2834a.jpg","text":"TemporaryFile(/tmp/multipartBody1853378744737514132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155923204,"filename":"image_26112025_07_39_07_3019.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396243970","file1":"1396243967","file0":"1396243954","file4":"1396243976","file5":"1396243979","file3":"1396243974"},"map_files_photo_id_array":[{"photo_id":"1396243979","filename":"file5"},{"photo_id":"1396243970","filename":"file2"},{"photo_id":"1396243976","filename":"file4"},{"photo_id":"1396243967","filename":"file1"},{"photo_id":"1396243954","filename":"file0"},{"photo_id":"1396243974","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396243954":["hashtag1","hashtag2"]},{"1396243974":["hashtag1","hashtag2"]},{"1396243979":["hashtag1","hashtag2"]},{"1396243970":["hashtag1","hashtag2"]},{"1396243967":["hashtag1","hashtag2"]},{"1396243976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396243954, 1396243974, 1396243979, 1396243970, 1396243967, 1396243976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4130802154541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:18:22.748909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_14_2605.jpg', '/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_16_2729.jpg', '/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_20_3550.jpg', '/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_22_2645.jpg', '/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_26_3556.jpg', '/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_29_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_14_2605.jpg
/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_16_2729.jpg
/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_20_3550.jpg
/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_22_2645.jpg
/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_26_3556.jpg
/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_29_2692.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":["1396243993","1396243996","1396243999","1396243982","1396244033","1396243991"],"photo_ids_order":["1396243982","1396243991","1396243993","1396243996","1396243999","1396244033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/26613b435480b6cdd9065038583563e0.jpg","text":"TemporaryFile(/tmp/multipartBody4608511064283578303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155963404,"filename":"image_26112025_07_39_20_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/26/25e5773173b70a4c50a7afe2dd10c505.jpg","text":"TemporaryFile(/tmp/multipartBody2832231994486200906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155963404,"filename":"image_26112025_07_39_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/26/02720cf25ac8cea9f391dd4f8de60dfb.jpg","text":"TemporaryFile(/tmp/multipartBody8159870633343507371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155963404,"filename":"image_26112025_07_39_26_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/26/3c410632f52fff34596018fafd5eab85.jpg","text":"TemporaryFile(/tmp/multipartBody7379087544645709807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155963404,"filename":"image_26112025_07_39_14_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/26/50a8b5d770102d3a27b51c2919958ebf.jpg","text":"TemporaryFile(/tmp/multipartBody1850610388245954794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155963404,"filename":"image_26112025_07_39_29_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/26/13d349e8ba499f596c87fa9a9298201b.jpg","text":"TemporaryFile(/tmp/multipartBody689320741236004077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764155963404,"filename":"image_26112025_07_39_16_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396243993","file1":"1396243991","file0":"1396243982","file4":"1396243999","file5":"1396244033","file3":"1396243996"},"map_files_photo_id_array":[{"photo_id":"1396244033","filename":"file5"},{"photo_id":"1396243993","filename":"file2"},{"photo_id":"1396243999","filename":"file4"},{"photo_id":"1396243991","filename":"file1"},{"photo_id":"1396243982","filename":"file0"},{"photo_id":"1396243996","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396243993":["hashtag1","hashtag2"]},{"1396243996":["hashtag1","hashtag2"]},{"1396243999":["hashtag1","hashtag2"]},{"1396243982":["hashtag1","hashtag2"]},{"1396244033":["hashtag1","hashtag2"]},{"1396243991":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396243993, 1396243996, 1396243999, 1396243982, 1396244033, 1396243991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.536155700683594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:19:02.773523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_32_2978.jpg', '/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_34_2673.jpg', '/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_38_3662.jpg', '/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_41_2538.jpg', '/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_43_2687.jpg', '/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_47_3796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_32_2978.jpg
/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_34_2673.jpg
/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_38_3662.jpg
/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_41_2538.jpg
/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_43_2687.jpg
/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_47_3796.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":["1396244233","1396244196","1396244346","1396244381","1396244307","1396244266"],"photo_ids_order":["1396244196","1396244233","1396244266","1396244307","1396244346","1396244381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/624190dbf7d5f18aa254a0b0681f5573.jpg","text":"TemporaryFile(/tmp/multipartBody5742119639311277310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156003546,"filename":"image_26112025_07_39_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/26/60a20a0963253c883c75c9d26ecddd7a.jpg","text":"TemporaryFile(/tmp/multipartBody5792647712366974015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156003546,"filename":"image_26112025_07_39_32_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/26/31ebbf62c13b838f517a4f0c84f60add.jpg","text":"TemporaryFile(/tmp/multipartBody5911835657484615753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156003546,"filename":"image_26112025_07_39_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/26/9a6415162262d494c92bbec41fe247cc.jpg","text":"TemporaryFile(/tmp/multipartBody7441050380829086926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156003546,"filename":"image_26112025_07_39_47_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/26/e90c9f7ff787f19e402fca48a14a1cac.jpg","text":"TemporaryFile(/tmp/multipartBody4101893243737745566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156003546,"filename":"image_26112025_07_39_41_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/26/70487b6c172d9ecb8805a1d7596fb549.jpg","text":"TemporaryFile(/tmp/multipartBody418363106715592085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156003546,"filename":"image_26112025_07_39_38_3662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396244266","file1":"1396244233","file0":"1396244196","file4":"1396244346","file5":"1396244381","file3":"1396244307"},"map_files_photo_id_array":[{"photo_id":"1396244381","filename":"file5"},{"photo_id":"1396244266","filename":"file2"},{"photo_id":"1396244346","filename":"file4"},{"photo_id":"1396244233","filename":"file1"},{"photo_id":"1396244196","filename":"file0"},{"photo_id":"1396244307","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396244233":["hashtag1","hashtag2"]},{"1396244196":["hashtag1","hashtag2"]},{"1396244346":["hashtag1","hashtag2"]},{"1396244381":["hashtag1","hashtag2"]},{"1396244307":["hashtag1","hashtag2"]},{"1396244266":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396244233, 1396244196, 1396244346, 1396244381, 1396244307, 1396244266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5252046585083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 12:19:41.963950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_50_2603.jpg', '/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_52_2678.jpg', '/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_56_3622.jpg', '/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_58_2574.jpg', '/home/pi/Desktop/images/26112025/07/40/image_26112025_07_40_01_2630.jpg', '/home/pi/Desktop/images/26112025/07/40/image_26112025_07_40_05_3569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_50_2603.jpg
/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_52_2678.jpg
/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_56_3622.jpg
/home/pi/Desktop/images/26112025/07/39/image_26112025_07_39_58_2574.jpg
/home/pi/Desktop/images/26112025/07/40/image_26112025_07_40_01_2630.jpg
/home/pi/Desktop/images/26112025/07/40/image_26112025_07_40_05_3569.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":["1396244593","1396244629","1396244716","1396244673","1396244517","1396244555"],"photo_ids_order":["1396244517","1396244555","1396244593","1396244629","1396244673","1396244716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d8dc6b79fbe98b74d79ebecb64fe96d5.jpg","text":"TemporaryFile(/tmp/multipartBody5625113688813176955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156042619,"filename":"image_26112025_07_39_56_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/26/22d19688d3832fd14b74ecc033e66adf.jpg","text":"TemporaryFile(/tmp/multipartBody6168245189578509845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156042619,"filename":"image_26112025_07_39_58_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/26/19540a036e08ccba66367cc370b0f840.jpg","text":"TemporaryFile(/tmp/multipartBody7008601757231339385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156042619,"filename":"image_26112025_07_40_05_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/26/76de5fbd4ce54b9e595fb372edc3419e.jpg","text":"TemporaryFile(/tmp/multipartBody634522345728730024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156042619,"filename":"image_26112025_07_40_01_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/26/ca806d5955038a16e00507d9408320b5.jpg","text":"TemporaryFile(/tmp/multipartBody7363165154755019677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156042619,"filename":"image_26112025_07_39_50_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/26/7d19f6c6dc138475e1cb3f3599adc9d7.jpg","text":"TemporaryFile(/tmp/multipartBody3506956732597334802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156042619,"filename":"image_26112025_07_39_52_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396244593","file1":"1396244555","file0":"1396244517","file4":"1396244673","file5":"1396244716","file3":"1396244629"},"map_files_photo_id_array":[{"photo_id":"1396244716","filename":"file5"},{"photo_id":"1396244593","filename":"file2"},{"photo_id":"1396244673","filename":"file4"},{"photo_id":"1396244555","filename":"file1"},{"photo_id":"1396244517","filename":"file0"},{"photo_id":"1396244629","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396244593":["hashtag1","hashtag2"]},{"1396244629":["hashtag1","hashtag2"]},{"1396244716":["hashtag1","hashtag2"]},{"1396244673":["hashtag1","hashtag2"]},{"1396244517":["hashtag1","hashtag2"]},{"1396244555":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396244593, 1396244629, 1396244716, 1396244673, 1396244517, 1396244555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74328017234802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:20:22.314742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/40/image_26112025_07_40_07_2667.jpg', '/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_06_3019.jpg', '/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_10_3803.jpg', '/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_12_2543.jpg', '/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_15_2622.jpg', '/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_19_3740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/40/image_26112025_07_40_07_2667.jpg
/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_06_3019.jpg
/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_10_3803.jpg
/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_12_2543.jpg
/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_15_2622.jpg
/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_19_3740.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.6308140754699707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:20:32.213957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/40/image_26112025_07_40_07_2667.jpg', '/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_06_3019.jpg', '/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_10_3803.jpg', '/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_12_2543.jpg', '/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_15_2622.jpg', '/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_19_3740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/40/image_26112025_07_40_07_2667.jpg
/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_06_3019.jpg
/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_10_3803.jpg
/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_12_2543.jpg
/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_15_2622.jpg
/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_19_3740.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":["1396244884","1396244905","1396244895","1396244880","1396244900","1396244903"],"photo_ids_order":["1396244880","1396244884","1396244895","1396244900","1396244903","1396244905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7cce6dab0436837475e5e68a6fee03b9.jpg","text":"TemporaryFile(/tmp/multipartBody6056350341170167690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156092895,"filename":"image_26112025_07_41_06_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/26/e6212e5fea11a67d2aa71f6c19348381.jpg","text":"TemporaryFile(/tmp/multipartBody5039483980124098711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156092895,"filename":"image_26112025_07_41_19_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/26/b607dfd8d0f6975871a6a92671d9ad67.jpg","text":"TemporaryFile(/tmp/multipartBody1828443308701200994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156092895,"filename":"image_26112025_07_41_10_3803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d58115b597b35bc276477633a06e1260.jpg","text":"TemporaryFile(/tmp/multipartBody2858868679973404421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156092895,"filename":"image_26112025_07_40_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/26/4fcb286b6a706fd324392106737e6978.jpg","text":"TemporaryFile(/tmp/multipartBody3176780919488976206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156092895,"filename":"image_26112025_07_41_12_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/26/e721af84611f2c755b98130b489c8007.jpg","text":"TemporaryFile(/tmp/multipartBody7772032157025284894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156092895,"filename":"image_26112025_07_41_15_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396244895","file1":"1396244884","file0":"1396244880","file4":"1396244903","file5":"1396244905","file3":"1396244900"},"map_files_photo_id_array":[{"photo_id":"1396244905","filename":"file5"},{"photo_id":"1396244895","filename":"file2"},{"photo_id":"1396244903","filename":"file4"},{"photo_id":"1396244884","filename":"file1"},{"photo_id":"1396244880","filename":"file0"},{"photo_id":"1396244900","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396244884":["hashtag1","hashtag2"]},{"1396244905":["hashtag1","hashtag2"]},{"1396244895":["hashtag1","hashtag2"]},{"1396244880":["hashtag1","hashtag2"]},{"1396244900":["hashtag1","hashtag2"]},{"1396244903":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396244884, 1396244905, 1396244895, 1396244880, 1396244900, 1396244903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26963806152344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:21:12.408617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_22_2656.jpg', '/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_24_2725.jpg', '/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_28_3654.jpg', '/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_30_2593.jpg', '/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_33_2635.jpg', '/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_37_3567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_22_2656.jpg
/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_24_2725.jpg
/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_28_3654.jpg
/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_30_2593.jpg
/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_33_2635.jpg
/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_37_3567.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":["1396245132","1396245026","1396245134","1396245107","1396245101","1396245061"],"photo_ids_order":["1396245026","1396245061","1396245101","1396245107","1396245132","1396245134"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/635a6eff25489f69b387353c2c3eaf36.jpg","text":"TemporaryFile(/tmp/multipartBody909803957817310424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156133103,"filename":"image_26112025_07_41_33_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e48fed858004dd36bc0e7bffe4ab5075.jpg","text":"TemporaryFile(/tmp/multipartBody1187881203964865877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156133103,"filename":"image_26112025_07_41_22_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/26/1b99607929a5d61afd945b6a6637f59e.jpg","text":"TemporaryFile(/tmp/multipartBody8602110321893679897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156133103,"filename":"image_26112025_07_41_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/26/21afb6424be1c6acf9f7fb6a54e4ebcc.jpg","text":"TemporaryFile(/tmp/multipartBody2198640367644628450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156133103,"filename":"image_26112025_07_41_30_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/26/10d0c265bf57d11987c6c937e75a796b.jpg","text":"TemporaryFile(/tmp/multipartBody3527633123540841254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156133103,"filename":"image_26112025_07_41_28_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/26/5c15fcfbb3c073ea2fcca8ed333af53b.jpg","text":"TemporaryFile(/tmp/multipartBody939364488905234604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156133103,"filename":"image_26112025_07_41_24_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396245101","file1":"1396245061","file0":"1396245026","file4":"1396245132","file5":"1396245134","file3":"1396245107"},"map_files_photo_id_array":[{"photo_id":"1396245134","filename":"file5"},{"photo_id":"1396245101","filename":"file2"},{"photo_id":"1396245132","filename":"file4"},{"photo_id":"1396245061","filename":"file1"},{"photo_id":"1396245026","filename":"file0"},{"photo_id":"1396245107","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396245132":["hashtag1","hashtag2"]},{"1396245026":["hashtag1","hashtag2"]},{"1396245134":["hashtag1","hashtag2"]},{"1396245107":["hashtag1","hashtag2"]},{"1396245101":["hashtag1","hashtag2"]},{"1396245061":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396245132, 1396245026, 1396245134, 1396245107, 1396245101, 1396245061)","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: 66.80643272399902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:22:22.624040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_39_2658.jpg', '/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_43_3710.jpg', '/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_07_3012.jpg', '/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_10_3685.jpg', '/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_13_2783.jpg', '/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_17_3627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_39_2658.jpg
/home/pi/Desktop/images/26112025/07/41/image_26112025_07_41_43_3710.jpg
/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_07_3012.jpg
/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_10_3685.jpg
/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_13_2783.jpg
/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_17_3627.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":["1396245258","1396245249","1396245254","1396245251","1396245245","1396245247"],"photo_ids_order":["1396245245","1396245247","1396245249","1396245251","1396245254","1396245258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/96d474b1ab896a2710a79dad1d9f9ae9.jpg","text":"TemporaryFile(/tmp/multipartBody6329764762952967126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156203283,"filename":"image_26112025_07_43_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/26/d00738dd36ac7f38ca3aaadfcd5a89e1.jpg","text":"TemporaryFile(/tmp/multipartBody8919819624274280940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156203283,"filename":"image_26112025_07_43_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/26/a4d6706900f5c0f9077919f65dd9a751.jpg","text":"TemporaryFile(/tmp/multipartBody3043121595345880908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156203283,"filename":"image_26112025_07_43_13_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/26/e87ed689ebed995dbd017cb378312354.jpg","text":"TemporaryFile(/tmp/multipartBody1126002330496503302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156203283,"filename":"image_26112025_07_43_10_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eb82546040309406303a5fb7e184e3ec.jpg","text":"TemporaryFile(/tmp/multipartBody8891091944691172701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156203283,"filename":"image_26112025_07_41_39_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/072191ef56db797e67c67c60e9510188.jpg","text":"TemporaryFile(/tmp/multipartBody7664063350960594897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156203283,"filename":"image_26112025_07_41_43_3710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396245249","file1":"1396245247","file0":"1396245245","file4":"1396245254","file5":"1396245258","file3":"1396245251"},"map_files_photo_id_array":[{"photo_id":"1396245258","filename":"file5"},{"photo_id":"1396245249","filename":"file2"},{"photo_id":"1396245254","filename":"file4"},{"photo_id":"1396245247","filename":"file1"},{"photo_id":"1396245245","filename":"file0"},{"photo_id":"1396245251","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396245258":["hashtag1","hashtag2"]},{"1396245249":["hashtag1","hashtag2"]},{"1396245254":["hashtag1","hashtag2"]},{"1396245251":["hashtag1","hashtag2"]},{"1396245245":["hashtag1","hashtag2"]},{"1396245247":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396245258, 1396245249, 1396245254, 1396245251, 1396245245, 1396245247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30855703353882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:23:02.523586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_19_2627.jpg', '/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_22_2622.jpg', '/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_25_2616.jpg', '/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_28_3673.jpg', '/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_31_2595.jpg', '/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_35_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_19_2627.jpg
/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_22_2622.jpg
/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_25_2616.jpg
/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_28_3673.jpg
/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_31_2595.jpg
/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_35_3663.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":["1396245270","1396245267","1396245272","1396245275","1396245269","1396245265"],"photo_ids_order":["1396245265","1396245267","1396245269","1396245270","1396245272","1396245275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0eb29eb9866db4cca450d910857a2318.jpg","text":"TemporaryFile(/tmp/multipartBody7645635901569735772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156243282,"filename":"image_26112025_07_43_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/26/4ecc5856ecca7e0fe6d1df55a9364736.jpg","text":"TemporaryFile(/tmp/multipartBody4081758725582305263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156243282,"filename":"image_26112025_07_43_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/26/154fb0b3f8d5fbd18ce870fea3644ed5.jpg","text":"TemporaryFile(/tmp/multipartBody6768218748743035887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156243282,"filename":"image_26112025_07_43_31_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/201fe8f1d6f550ca299b791e4b75aa1f.jpg","text":"TemporaryFile(/tmp/multipartBody6350853382427376484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156243282,"filename":"image_26112025_07_43_35_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/26/ee146c5b6dd2abf829ad247a77800428.jpg","text":"TemporaryFile(/tmp/multipartBody8904706610704427450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156243282,"filename":"image_26112025_07_43_25_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/26/b209b3b4c0995339f0918c56ff89243b.jpg","text":"TemporaryFile(/tmp/multipartBody831880126048557054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156243282,"filename":"image_26112025_07_43_19_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396245269","file1":"1396245267","file0":"1396245265","file4":"1396245272","file5":"1396245275","file3":"1396245270"},"map_files_photo_id_array":[{"photo_id":"1396245275","filename":"file5"},{"photo_id":"1396245269","filename":"file2"},{"photo_id":"1396245272","filename":"file4"},{"photo_id":"1396245267","filename":"file1"},{"photo_id":"1396245265","filename":"file0"},{"photo_id":"1396245270","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396245270":["hashtag1","hashtag2"]},{"1396245267":["hashtag1","hashtag2"]},{"1396245272":["hashtag1","hashtag2"]},{"1396245275":["hashtag1","hashtag2"]},{"1396245269":["hashtag1","hashtag2"]},{"1396245265":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396245270, 1396245267, 1396245272, 1396245275, 1396245269, 1396245265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2333242893219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 12:23:41.884188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_37_2629.jpg', '/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_40_2586.jpg', '/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_43_3535.jpg', '/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_46_2640.jpg', '/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_50_3588.jpg', '/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_52_2809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_37_2629.jpg
/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_40_2586.jpg
/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_43_3535.jpg
/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_46_2640.jpg
/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_50_3588.jpg
/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_52_2809.jpg
 val : 1 : upload photos already in processing! 
 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":["1396245294","1396245290","1396245284","1396245287","1396245289","1396245292"],"photo_ids_order":["1396245284","1396245287","1396245289","1396245290","1396245292","1396245294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cad136a0bb311689ba99a48edb27e1a6.jpg","text":"TemporaryFile(/tmp/multipartBody3733943584464249223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156282571,"filename":"image_26112025_07_43_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/26/323c0ed34e4bbe6f7c37c7fd01c3b4ab.jpg","text":"TemporaryFile(/tmp/multipartBody38750964186156405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156282571,"filename":"image_26112025_07_43_46_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/26/b2de2bd3a81c04f48ad66b49555dda40.jpg","text":"TemporaryFile(/tmp/multipartBody717619676587768525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156282571,"filename":"image_26112025_07_43_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/26/178fa91a9c0b7de4ee38096f13873965.jpg","text":"TemporaryFile(/tmp/multipartBody6024626626151458766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156282571,"filename":"image_26112025_07_43_40_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/26/2a15b30d4be335065e60cbd6dcc8adf9.jpg","text":"TemporaryFile(/tmp/multipartBody8307239634078155888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156282571,"filename":"image_26112025_07_43_43_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/26/2de22dc122a4ac3e999fe78987021ea9.jpg","text":"TemporaryFile(/tmp/multipartBody8493260789557094576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156282571,"filename":"image_26112025_07_43_50_3588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396245289","file1":"1396245287","file0":"1396245284","file4":"1396245292","file5":"1396245294","file3":"1396245290"},"map_files_photo_id_array":[{"photo_id":"1396245294","filename":"file5"},{"photo_id":"1396245289","filename":"file2"},{"photo_id":"1396245292","filename":"file4"},{"photo_id":"1396245287","filename":"file1"},{"photo_id":"1396245284","filename":"file0"},{"photo_id":"1396245290","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396245294":["hashtag1","hashtag2"]},{"1396245290":["hashtag1","hashtag2"]},{"1396245284":["hashtag1","hashtag2"]},{"1396245287":["hashtag1","hashtag2"]},{"1396245289":["hashtag1","hashtag2"]},{"1396245292":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396245294, 1396245290, 1396245284, 1396245287, 1396245289, 1396245292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.980278730392456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:24:32.051602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_55_2586.jpg', '/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_59_3626.jpg', '/home/pi/Desktop/images/26112025/07/45/image_26112025_07_45_07_3017.jpg', '/home/pi/Desktop/images/26112025/07/45/image_26112025_07_45_11_3769.jpg', '/home/pi/Desktop/images/26112025/07/45/image_26112025_07_45_14_2555.jpg', '/home/pi/Desktop/images/26112025/07/45/image_26112025_07_45_16_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_55_2586.jpg
/home/pi/Desktop/images/26112025/07/43/image_26112025_07_43_59_3626.jpg
/home/pi/Desktop/images/26112025/07/45/image_26112025_07_45_07_3017.jpg
/home/pi/Desktop/images/26112025/07/45/image_26112025_07_45_11_3769.jpg
/home/pi/Desktop/images/26112025/07/45/image_26112025_07_45_14_2555.jpg
/home/pi/Desktop/images/26112025/07/45/image_26112025_07_45_16_2664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396245322","1396245325","1396245324","1396245305","1396245314","1396245308"],"photo_ids_order":["1396245305","1396245308","1396245314","1396245322","1396245324","1396245325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/50734f207a94db9da78654b5b2a91181.jpg","text":"TemporaryFile(/tmp/multipartBody8149926714720591703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156332753,"filename":"image_26112025_07_45_11_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/26/74139d4cf1de19c07ec90fbdfb04bd36.jpg","text":"TemporaryFile(/tmp/multipartBody9177211783894278780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156332753,"filename":"image_26112025_07_45_16_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/26/e99d7436612744d6eb1f125154746e39.jpg","text":"TemporaryFile(/tmp/multipartBody8579857920595296438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156332753,"filename":"image_26112025_07_45_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/26/18c1c5fe005f96cd00c81205076e11f9.jpg","text":"TemporaryFile(/tmp/multipartBody229757166647792095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156332753,"filename":"image_26112025_07_43_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/26/ed965cb821925901965aa82fdedfb8d1.jpg","text":"TemporaryFile(/tmp/multipartBody7429850994570764657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156332753,"filename":"image_26112025_07_45_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/26/e98506cf5706b5555a41abcf78d83bc1.jpg","text":"TemporaryFile(/tmp/multipartBody3610660236493094652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156332753,"filename":"image_26112025_07_43_59_3626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396245314","file1":"1396245308","file0":"1396245305","file4":"1396245324","file5":"1396245325","file3":"1396245322"},"map_files_photo_id_array":[{"photo_id":"1396245325","filename":"file5"},{"photo_id":"1396245314","filename":"file2"},{"photo_id":"1396245324","filename":"file4"},{"photo_id":"1396245308","filename":"file1"},{"photo_id":"1396245305","filename":"file0"},{"photo_id":"1396245322","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396245322":["hashtag1","hashtag2"]},{"1396245325":["hashtag1","hashtag2"]},{"1396245324":["hashtag1","hashtag2"]},{"1396245305":["hashtag1","hashtag2"]},{"1396245314":["hashtag1","hashtag2"]},{"1396245308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396245322, 1396245325, 1396245324, 1396245305, 1396245314, 1396245308)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 89.50378179550171 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:26:02.763465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/45/image_26112025_07_45_22_2648.jpg', '/home/pi/Desktop/images/26112025/07/45/image_26112025_07_45_25_2716.jpg', '/home/pi/Desktop/images/26112025/07/45/image_26112025_07_45_29_3664.jpg', '/home/pi/Desktop/images/26112025/07/45/image_26112025_07_45_31_2585.jpg', '/home/pi/Desktop/images/26112025/07/45/image_26112025_07_45_35_3685.jpg', '/home/pi/Desktop/images/26112025/07/45/image_26112025_07_45_38_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/45/image_26112025_07_45_22_2648.jpg
/home/pi/Desktop/images/26112025/07/45/image_26112025_07_45_25_2716.jpg
/home/pi/Desktop/images/26112025/07/45/image_26112025_07_45_29_3664.jpg
/home/pi/Desktop/images/26112025/07/45/image_26112025_07_45_31_2585.jpg
/home/pi/Desktop/images/26112025/07/45/image_26112025_07_45_35_3685.jpg
/home/pi/Desktop/images/26112025/07/45/image_26112025_07_45_38_2594.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":["1396245343","1396245342","1396245345","1396245348","1396245341","1396245340"],"photo_ids_order":["1396245340","1396245341","1396245342","1396245343","1396245345","1396245348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/912c3a84fcba84565323d176da14a8aa.jpg","text":"TemporaryFile(/tmp/multipartBody6435873107026712466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156423473,"filename":"image_26112025_07_45_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/26/8d71ce2c035378d3e8fc48dfe4e56d94.jpg","text":"TemporaryFile(/tmp/multipartBody3089379950497213679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156423473,"filename":"image_26112025_07_45_29_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/26/e379a30fae9ce15d9d4f0889aba03125.jpg","text":"TemporaryFile(/tmp/multipartBody4838822152787602548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156423473,"filename":"image_26112025_07_45_35_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/26/b10351572e37a09cb805e1f167589213.jpg","text":"TemporaryFile(/tmp/multipartBody7118576472685591608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156423473,"filename":"image_26112025_07_45_38_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/26/a60e1a2170c72a7f4f178ecd63d34537.jpg","text":"TemporaryFile(/tmp/multipartBody7885155961303124179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156423473,"filename":"image_26112025_07_45_25_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/26/2a4de8b618c041658bd072a442eb0a91.jpg","text":"TemporaryFile(/tmp/multipartBody165025597825120884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156423473,"filename":"image_26112025_07_45_22_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396245342","file1":"1396245341","file0":"1396245340","file4":"1396245345","file5":"1396245348","file3":"1396245343"},"map_files_photo_id_array":[{"photo_id":"1396245348","filename":"file5"},{"photo_id":"1396245342","filename":"file2"},{"photo_id":"1396245345","filename":"file4"},{"photo_id":"1396245341","filename":"file1"},{"photo_id":"1396245340","filename":"file0"},{"photo_id":"1396245343","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396245343":["hashtag1","hashtag2"]},{"1396245342":["hashtag1","hashtag2"]},{"1396245345":["hashtag1","hashtag2"]},{"1396245348":["hashtag1","hashtag2"]},{"1396245341":["hashtag1","hashtag2"]},{"1396245340":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396245343, 1396245342, 1396245345, 1396245348, 1396245341, 1396245340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71793270111084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 12:26:42.211223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/45/image_26112025_07_45_40_2636.jpg', '/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_07_3012.jpg', '/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_11_3677.jpg', '/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_13_2530.jpg', '/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_17_3507.jpg', '/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_19_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/45/image_26112025_07_45_40_2636.jpg
/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_07_3012.jpg
/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_11_3677.jpg
/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_13_2530.jpg
/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_17_3507.jpg
/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_19_2673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396245372","1396245375","1396245371","1396245374","1396245368","1396245373"],"photo_ids_order":["1396245368","1396245371","1396245372","1396245373","1396245374","1396245375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/26d80571f94e215358840235b3fa015e.jpg","text":"TemporaryFile(/tmp/multipartBody6537557693754290083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156462941,"filename":"image_26112025_07_47_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/26/e7b2fc59867f15977a696c159e64b42d.jpg","text":"TemporaryFile(/tmp/multipartBody1415128278785895257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156462941,"filename":"image_26112025_07_47_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/26/173ab340a1e87e50aee064b889200617.jpg","text":"TemporaryFile(/tmp/multipartBody3371011541425194055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156462941,"filename":"image_26112025_07_47_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/26/48e74968f050b1a8de2600647f453039.jpg","text":"TemporaryFile(/tmp/multipartBody4263563485408859375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156462941,"filename":"image_26112025_07_47_17_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/26/a4edf1ade5d9cb1ce533f7142378df11.jpg","text":"TemporaryFile(/tmp/multipartBody1717807681975133808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156462941,"filename":"image_26112025_07_45_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/26/5751dd99ccf9a8ce557653cd39404f77.jpg","text":"TemporaryFile(/tmp/multipartBody7728064416888673927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156462941,"filename":"image_26112025_07_47_13_2530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396245372","file1":"1396245371","file0":"1396245368","file4":"1396245374","file5":"1396245375","file3":"1396245373"},"map_files_photo_id_array":[{"photo_id":"1396245375","filename":"file5"},{"photo_id":"1396245372","filename":"file2"},{"photo_id":"1396245374","filename":"file4"},{"photo_id":"1396245371","filename":"file1"},{"photo_id":"1396245368","filename":"file0"},{"photo_id":"1396245373","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396245372":["hashtag1","hashtag2"]},{"1396245375":["hashtag1","hashtag2"]},{"1396245371":["hashtag1","hashtag2"]},{"1396245374":["hashtag1","hashtag2"]},{"1396245368":["hashtag1","hashtag2"]},{"1396245373":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396245372, 1396245375, 1396245371, 1396245374, 1396245368, 1396245373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.23320269584656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:27:22.440115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_22_2791.jpg', '/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_26_3659.jpg', '/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_29_2728.jpg', '/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_31_2510.jpg', '/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_35_3641.jpg', '/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_37_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_22_2791.jpg
/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_26_3659.jpg
/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_29_2728.jpg
/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_31_2510.jpg
/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_35_3641.jpg
/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_37_2702.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":["1396245378","1396245394","1396245388","1396245382","1396245391","1396245385"],"photo_ids_order":["1396245378","1396245382","1396245385","1396245388","1396245391","1396245394"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0f09c12c0afec241b06a76adcd319565.jpg","text":"TemporaryFile(/tmp/multipartBody4017792127182376669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156503131,"filename":"image_26112025_07_47_22_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/26/46806edbf601eb0a4e17d256a0ae01f1.jpg","text":"TemporaryFile(/tmp/multipartBody5668770831787947244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156503131,"filename":"image_26112025_07_47_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/26/8fba6b76f5fd5d65a2b3a8db345248f6.jpg","text":"TemporaryFile(/tmp/multipartBody8025257162460207072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156503131,"filename":"image_26112025_07_47_31_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/26/33100c6b05e0ad842c1f5393c6b209c3.jpg","text":"TemporaryFile(/tmp/multipartBody6995199719964881377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156503131,"filename":"image_26112025_07_47_26_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/26/6219cccbe9d2caa96dee6fce8d2c4d7f.jpg","text":"TemporaryFile(/tmp/multipartBody497634263216432931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156503131,"filename":"image_26112025_07_47_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/26/332c3cc626d3a616e8ae42155e34bf88.jpg","text":"TemporaryFile(/tmp/multipartBody6828782148101984547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156503131,"filename":"image_26112025_07_47_29_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396245385","file1":"1396245382","file0":"1396245378","file4":"1396245391","file5":"1396245394","file3":"1396245388"},"map_files_photo_id_array":[{"photo_id":"1396245394","filename":"file5"},{"photo_id":"1396245385","filename":"file2"},{"photo_id":"1396245391","filename":"file4"},{"photo_id":"1396245382","filename":"file1"},{"photo_id":"1396245378","filename":"file0"},{"photo_id":"1396245388","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396245378":["hashtag1","hashtag2"]},{"1396245394":["hashtag1","hashtag2"]},{"1396245388":["hashtag1","hashtag2"]},{"1396245382":["hashtag1","hashtag2"]},{"1396245391":["hashtag1","hashtag2"]},{"1396245385":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396245378, 1396245394, 1396245388, 1396245382, 1396245391, 1396245385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.483354330062866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:28:03.169510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_40_2676.jpg', '/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_43_2895.jpg', '/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_47_3579.jpg', '/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_49_2636.jpg', '/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_53_3593.jpg', '/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_55_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_40_2676.jpg
/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_43_2895.jpg
/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_47_3579.jpg
/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_49_2636.jpg
/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_53_3593.jpg
/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_55_2638.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6386499404907227 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:28:12.732675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_40_2676.jpg', '/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_43_2895.jpg', '/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_47_3579.jpg', '/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_49_2636.jpg', '/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_53_3593.jpg', '/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_55_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_40_2676.jpg
/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_43_2895.jpg
/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_47_3579.jpg
/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_49_2636.jpg
/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_53_3593.jpg
/home/pi/Desktop/images/26112025/07/47/image_26112025_07_47_55_2638.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":["1396245400","1396245411","1396245414","1396245398","1396245404","1396245407"],"photo_ids_order":["1396245398","1396245400","1396245404","1396245407","1396245411","1396245414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f7a183175449c63734b00e96b70d7ff5.jpg","text":"TemporaryFile(/tmp/multipartBody8367293014992102997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156553383,"filename":"image_26112025_07_47_43_2895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/df62c45db2fe733eff3133c989c361f4.jpg","text":"TemporaryFile(/tmp/multipartBody4531163548729651788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156553383,"filename":"image_26112025_07_47_53_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bb7831952b37216816a118bd261d02c9.jpg","text":"TemporaryFile(/tmp/multipartBody1465334297606107296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156553383,"filename":"image_26112025_07_47_55_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/26/bb745e6e9fb275c7d209beb984244796.jpg","text":"TemporaryFile(/tmp/multipartBody2705956510767809420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156553383,"filename":"image_26112025_07_47_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/26/7acdc8fcf1f7e1906b90e38ff55646f0.jpg","text":"TemporaryFile(/tmp/multipartBody7341907842457124063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156553383,"filename":"image_26112025_07_47_47_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/26/092e0d31e890fc169f47b0c2a4aac086.jpg","text":"TemporaryFile(/tmp/multipartBody1483799127523483981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156553383,"filename":"image_26112025_07_47_49_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396245404","file1":"1396245400","file0":"1396245398","file4":"1396245411","file5":"1396245414","file3":"1396245407"},"map_files_photo_id_array":[{"photo_id":"1396245414","filename":"file5"},{"photo_id":"1396245404","filename":"file2"},{"photo_id":"1396245411","filename":"file4"},{"photo_id":"1396245400","filename":"file1"},{"photo_id":"1396245398","filename":"file0"},{"photo_id":"1396245407","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396245400":["hashtag1","hashtag2"]},{"1396245411":["hashtag1","hashtag2"]},{"1396245414":["hashtag1","hashtag2"]},{"1396245398":["hashtag1","hashtag2"]},{"1396245404":["hashtag1","hashtag2"]},{"1396245407":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396245400, 1396245411, 1396245414, 1396245398, 1396245404, 1396245407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22711420059204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:29:03.149161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_03_7152.jpg', '/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_04_1539.jpg', '/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_06_1723.jpg', '/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_08_1613.jpg', '/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_10_2680.jpg', '/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_14_3724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_03_7152.jpg
/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_04_1539.jpg
/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_06_1723.jpg
/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_08_1613.jpg
/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_10_2680.jpg
/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_14_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.814955472946167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:29:12.196585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_03_7152.jpg', '/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_04_1539.jpg', '/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_06_1723.jpg', '/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_08_1613.jpg', '/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_10_2680.jpg', '/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_14_3724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_03_7152.jpg
/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_04_1539.jpg
/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_06_1723.jpg
/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_08_1613.jpg
/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_10_2680.jpg
/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_14_3724.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":["1396245424","1396245441","1396245438","1396245426","1396245429","1396245433"],"photo_ids_order":["1396245424","1396245426","1396245429","1396245433","1396245438","1396245441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a86ae0b496aa8b7b41e3eaec0b53d9e7.jpg","text":"TemporaryFile(/tmp/multipartBody3420045819874749156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156612894,"filename":"image_26112025_07_48_03_7152.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6b9899f4d9f64689cace8358985c94cf.jpg","text":"TemporaryFile(/tmp/multipartBody4728235065869573530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156612894,"filename":"image_26112025_07_48_14_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/26/e18724a7c4e2e929084a327d892bc61d.jpg","text":"TemporaryFile(/tmp/multipartBody3914100264109236223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156612894,"filename":"image_26112025_07_48_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/26/6a79a71b4edd17ecf3c877c101e28961.jpg","text":"TemporaryFile(/tmp/multipartBody4574771791287278088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156612894,"filename":"image_26112025_07_48_04_1539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/40b6be85b3710639fab2cfad802481f9.jpg","text":"TemporaryFile(/tmp/multipartBody5888648397740530170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156612894,"filename":"image_26112025_07_48_06_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/463f7e798bc58bc626b39996add4ce14.jpg","text":"TemporaryFile(/tmp/multipartBody3868545770895184292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156612894,"filename":"image_26112025_07_48_08_1613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396245429","file1":"1396245426","file0":"1396245424","file4":"1396245438","file5":"1396245441","file3":"1396245433"},"map_files_photo_id_array":[{"photo_id":"1396245441","filename":"file5"},{"photo_id":"1396245429","filename":"file2"},{"photo_id":"1396245438","filename":"file4"},{"photo_id":"1396245426","filename":"file1"},{"photo_id":"1396245424","filename":"file0"},{"photo_id":"1396245433","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396245424":["hashtag1","hashtag2"]},{"1396245441":["hashtag1","hashtag2"]},{"1396245438":["hashtag1","hashtag2"]},{"1396245426":["hashtag1","hashtag2"]},{"1396245429":["hashtag1","hashtag2"]},{"1396245433":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396245424, 1396245441, 1396245438, 1396245426, 1396245429, 1396245433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.284491300582886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:30:05.278752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_17_2817.jpg', '/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_19_2608.jpg', '/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_23_3575.jpg', '/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_26_2613.jpg', '/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_28_2647.jpg', '/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_43_14497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_17_2817.jpg
/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_19_2608.jpg
/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_23_3575.jpg
/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_26_2613.jpg
/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_28_2647.jpg
/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_43_14497.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: 5.595984697341919 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:30:15.053505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_17_2817.jpg', '/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_19_2608.jpg', '/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_23_3575.jpg', '/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_26_2613.jpg', '/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_28_2647.jpg', '/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_43_14497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_17_2817.jpg
/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_19_2608.jpg
/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_23_3575.jpg
/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_26_2613.jpg
/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_28_2647.jpg
/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_43_14497.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":["1396245471","1396245456","1396245476","1396245466","1396245451","1396245460"],"photo_ids_order":["1396245451","1396245456","1396245460","1396245466","1396245471","1396245476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9d95ac564027a2491f45681540c355ed.jpg","text":"TemporaryFile(/tmp/multipartBody5342619477606416226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156675733,"filename":"image_26112025_07_48_28_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/26/8031bb5240e9b9821e5239bc7e146296.jpg","text":"TemporaryFile(/tmp/multipartBody8899479260103488273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156675733,"filename":"image_26112025_07_48_19_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/26/f1b34474f3e72dfe5fd1dc4f27b932e9.jpg","text":"TemporaryFile(/tmp/multipartBody8221134164994136653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156675733,"filename":"image_26112025_07_48_43_14497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9523bdea4e881172716bed9536dcff8e.jpg","text":"TemporaryFile(/tmp/multipartBody7009299279076585064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156675733,"filename":"image_26112025_07_48_26_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/26/0f0f19972910341ad79b9fd65e8e0e2d.jpg","text":"TemporaryFile(/tmp/multipartBody2060925410660585823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156675733,"filename":"image_26112025_07_48_17_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/26/9144c11802a0ec307a24f5e1cfd94769.jpg","text":"TemporaryFile(/tmp/multipartBody2232464963094825906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156675733,"filename":"image_26112025_07_48_23_3575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396245460","file1":"1396245456","file0":"1396245451","file4":"1396245471","file5":"1396245476","file3":"1396245466"},"map_files_photo_id_array":[{"photo_id":"1396245476","filename":"file5"},{"photo_id":"1396245460","filename":"file2"},{"photo_id":"1396245471","filename":"file4"},{"photo_id":"1396245456","filename":"file1"},{"photo_id":"1396245451","filename":"file0"},{"photo_id":"1396245466","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396245471":["hashtag1","hashtag2"]},{"1396245456":["hashtag1","hashtag2"]},{"1396245476":["hashtag1","hashtag2"]},{"1396245466":["hashtag1","hashtag2"]},{"1396245451":["hashtag1","hashtag2"]},{"1396245460":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396245471, 1396245456, 1396245476, 1396245466, 1396245451, 1396245460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71091079711914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:31:02.702918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_46_3154.jpg', '/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_48_1677.jpg', '/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_06_3012.jpg', '/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_10_3499.jpg', '/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_13_2587.jpg', '/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_16_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_46_3154.jpg
/home/pi/Desktop/images/26112025/07/48/image_26112025_07_48_48_1677.jpg
/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_06_3012.jpg
/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_10_3499.jpg
/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_13_2587.jpg
/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_16_3640.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":["1396245486","1396245482","1396245485","1396245488","1396245493","1396245484"],"photo_ids_order":["1396245482","1396245484","1396245485","1396245486","1396245488","1396245493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c5eabc0f3980da7f84e3344259d0869a.jpg","text":"TemporaryFile(/tmp/multipartBody2495539336164468335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156723633,"filename":"image_26112025_07_51_10_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/26/c25b8225c417e7a7b03384e76e98ae97.jpg","text":"TemporaryFile(/tmp/multipartBody5137303391008109717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156723633,"filename":"image_26112025_07_48_46_3154.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b1e62afcde1a76c38f478b1b272ff696.jpg","text":"TemporaryFile(/tmp/multipartBody6333674475437731229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156723633,"filename":"image_26112025_07_51_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/26/964db976c46bcb1ecc828a91abf47c95.jpg","text":"TemporaryFile(/tmp/multipartBody5135257440939306060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156723633,"filename":"image_26112025_07_51_13_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/393332a33606076e6d3cdb4417567c93.jpg","text":"TemporaryFile(/tmp/multipartBody4763737041143081433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156723633,"filename":"image_26112025_07_51_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/26/3bf7ce3b2173ccdb4fde3b5d4c2b2baf.jpg","text":"TemporaryFile(/tmp/multipartBody6054371304920509515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156723633,"filename":"image_26112025_07_48_48_1677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396245485","file1":"1396245484","file0":"1396245482","file4":"1396245488","file5":"1396245493","file3":"1396245486"},"map_files_photo_id_array":[{"photo_id":"1396245493","filename":"file5"},{"photo_id":"1396245485","filename":"file2"},{"photo_id":"1396245488","filename":"file4"},{"photo_id":"1396245484","filename":"file1"},{"photo_id":"1396245482","filename":"file0"},{"photo_id":"1396245486","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396245486":["hashtag1","hashtag2"]},{"1396245482":["hashtag1","hashtag2"]},{"1396245485":["hashtag1","hashtag2"]},{"1396245488":["hashtag1","hashtag2"]},{"1396245493":["hashtag1","hashtag2"]},{"1396245484":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396245486, 1396245482, 1396245485, 1396245488, 1396245493, 1396245484)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.35821199417114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:32:02.813028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:32:22.329470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_19_2537.jpg', '/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_22_3589.jpg', '/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_25_2744.jpg', '/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_28_2656.jpg', '/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_31_3651.jpg', '/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_34_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_19_2537.jpg
/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_22_3589.jpg
/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_25_2744.jpg
/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_28_2656.jpg
/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_31_3651.jpg
/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_34_2629.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":["1396245519","1396245515","1396245509","1396245503","1396245506","1396245523"],"photo_ids_order":["1396245503","1396245506","1396245509","1396245515","1396245519","1396245523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fe117712cb469ce11d941a530b87a96e.jpg","text":"TemporaryFile(/tmp/multipartBody6714112349016731268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156802981,"filename":"image_26112025_07_51_31_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/26/c5abf6e67dca36b30b89b645e69759d4.jpg","text":"TemporaryFile(/tmp/multipartBody7448657842706193341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156802981,"filename":"image_26112025_07_51_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/26/1c1f2d329348d16dd1bc5ddcad7b524b.jpg","text":"TemporaryFile(/tmp/multipartBody2312806732108744144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156802981,"filename":"image_26112025_07_51_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/26/24442f94b4f05856d248cfd450f2fd8a.jpg","text":"TemporaryFile(/tmp/multipartBody8278155013644074607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156802981,"filename":"image_26112025_07_51_19_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/26/2aade6b49f19063647be7bf0a6bdb3b6.jpg","text":"TemporaryFile(/tmp/multipartBody7335519892382404962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156802981,"filename":"image_26112025_07_51_22_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/26/b1ebb809087a3bf68844163a19a8a242.jpg","text":"TemporaryFile(/tmp/multipartBody2891893718038714047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156802981,"filename":"image_26112025_07_51_34_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396245509","file1":"1396245506","file0":"1396245503","file4":"1396245519","file5":"1396245523","file3":"1396245515"},"map_files_photo_id_array":[{"photo_id":"1396245523","filename":"file5"},{"photo_id":"1396245509","filename":"file2"},{"photo_id":"1396245519","filename":"file4"},{"photo_id":"1396245506","filename":"file1"},{"photo_id":"1396245503","filename":"file0"},{"photo_id":"1396245515","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396245519":["hashtag1","hashtag2"]},{"1396245515":["hashtag1","hashtag2"]},{"1396245509":["hashtag1","hashtag2"]},{"1396245503":["hashtag1","hashtag2"]},{"1396245506":["hashtag1","hashtag2"]},{"1396245523":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396245519, 1396245515, 1396245509, 1396245503, 1396245506, 1396245523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72164750099182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:33:03.149477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_37_2665.jpg', '/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_40_3563.jpg', '/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_43_2635.jpg', '/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_46_2672.jpg', '/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_48_2857.jpg', '/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_52_3537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_37_2665.jpg
/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_40_3563.jpg
/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_43_2635.jpg
/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_46_2672.jpg
/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_48_2857.jpg
/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_52_3537.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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396245535","1396245529","1396245531","1396245533","1396245538","1396245532"],"photo_ids_order":["1396245529","1396245531","1396245532","1396245533","1396245535","1396245538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/19ac57dca6dfb60ca4d2a9a43daa7291.jpg","text":"TemporaryFile(/tmp/multipartBody5116779152795659322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156843917,"filename":"image_26112025_07_51_48_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/26/74fb128e9bc553e1e3c00c414e8b52f3.jpg","text":"TemporaryFile(/tmp/multipartBody8398846793613590532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156843917,"filename":"image_26112025_07_51_37_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/26/697406cd3e5184c888e86643da2154a8.jpg","text":"TemporaryFile(/tmp/multipartBody8644300843977698774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156843917,"filename":"image_26112025_07_51_40_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/26/50c246618a6f041bb831c73d645e6eb4.jpg","text":"TemporaryFile(/tmp/multipartBody5391320527723106845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156843917,"filename":"image_26112025_07_51_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/26/1e65d8ff8fd6fd9540c4d221a82ee792.jpg","text":"TemporaryFile(/tmp/multipartBody3263345711455995666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156843917,"filename":"image_26112025_07_51_52_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/26/81a4e9192fac94b641fdd2bdf928c898.jpg","text":"TemporaryFile(/tmp/multipartBody6499813465254138702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156843917,"filename":"image_26112025_07_51_43_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396245532","file1":"1396245531","file0":"1396245529","file4":"1396245535","file5":"1396245538","file3":"1396245533"},"map_files_photo_id_array":[{"photo_id":"1396245538","filename":"file5"},{"photo_id":"1396245532","filename":"file2"},{"photo_id":"1396245535","filename":"file4"},{"photo_id":"1396245531","filename":"file1"},{"photo_id":"1396245529","filename":"file0"},{"photo_id":"1396245533","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396245535":["hashtag1","hashtag2"]},{"1396245529":["hashtag1","hashtag2"]},{"1396245531":["hashtag1","hashtag2"]},{"1396245533":["hashtag1","hashtag2"]},{"1396245538":["hashtag1","hashtag2"]},{"1396245532":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396245535, 1396245529, 1396245531, 1396245533, 1396245538, 1396245532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.70789980888367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:34:03.180134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_55_2639.jpg', '/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_58_3600.jpg', '/home/pi/Desktop/images/26112025/07/52/image_26112025_07_52_01_2672.jpg', '/home/pi/Desktop/images/26112025/07/52/image_26112025_07_52_04_2780.jpg', '/home/pi/Desktop/images/26112025/07/52/image_26112025_07_52_06_2774.jpg', '/home/pi/Desktop/images/26112025/07/52/image_26112025_07_52_10_3702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_55_2639.jpg
/home/pi/Desktop/images/26112025/07/51/image_26112025_07_51_58_3600.jpg
/home/pi/Desktop/images/26112025/07/52/image_26112025_07_52_01_2672.jpg
/home/pi/Desktop/images/26112025/07/52/image_26112025_07_52_04_2780.jpg
/home/pi/Desktop/images/26112025/07/52/image_26112025_07_52_06_2774.jpg
/home/pi/Desktop/images/26112025/07/52/image_26112025_07_52_10_3702.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":["1396245555","1396245557","1396245568","1396245583","1396245565","1396245559"],"photo_ids_order":["1396245555","1396245557","1396245559","1396245565","1396245568","1396245583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/19bc63bae0bdf2343f9acd9075503f54.jpg","text":"TemporaryFile(/tmp/multipartBody5606720722827609015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156903987,"filename":"image_26112025_07_51_55_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/26/ab8e12cd0c2c1c1bddd982d087381284.jpg","text":"TemporaryFile(/tmp/multipartBody8445515421274827726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156903987,"filename":"image_26112025_07_51_58_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/26/032bdbdac3fe27d0dd3a592c0dda04ca.jpg","text":"TemporaryFile(/tmp/multipartBody8359152722552910503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156903987,"filename":"image_26112025_07_52_06_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/26/590ef3d0cbec129ea4a954c0aa2b1a7b.jpg","text":"TemporaryFile(/tmp/multipartBody668932758811739800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156903987,"filename":"image_26112025_07_52_10_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/26/c419594f95df23e96f7bb988ed94f51c.jpg","text":"TemporaryFile(/tmp/multipartBody8070200362815800017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156903987,"filename":"image_26112025_07_52_04_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a7e886dfe8da5e0282d203beab6a6d1d.jpg","text":"TemporaryFile(/tmp/multipartBody2551430849732757205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156903987,"filename":"image_26112025_07_52_01_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396245559","file1":"1396245557","file0":"1396245555","file4":"1396245568","file5":"1396245583","file3":"1396245565"},"map_files_photo_id_array":[{"photo_id":"1396245583","filename":"file5"},{"photo_id":"1396245559","filename":"file2"},{"photo_id":"1396245568","filename":"file4"},{"photo_id":"1396245557","filename":"file1"},{"photo_id":"1396245555","filename":"file0"},{"photo_id":"1396245565","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396245555":["hashtag1","hashtag2"]},{"1396245557":["hashtag1","hashtag2"]},{"1396245568":["hashtag1","hashtag2"]},{"1396245583":["hashtag1","hashtag2"]},{"1396245565":["hashtag1","hashtag2"]},{"1396245559":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396245555, 1396245557, 1396245568, 1396245583, 1396245565, 1396245559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.77187252044678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 12:34:42.524714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/52/image_26112025_07_52_13_2911.jpg', '/home/pi/Desktop/images/26112025/07/52/image_26112025_07_52_16_2604.jpg', '/home/pi/Desktop/images/26112025/07/52/image_26112025_07_52_19_3570.jpg', '/home/pi/Desktop/images/26112025/07/53/image_26112025_07_53_07_3012.jpg', '/home/pi/Desktop/images/26112025/07/53/image_26112025_07_53_11_3672.jpg', '/home/pi/Desktop/images/26112025/07/53/image_26112025_07_53_13_2797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/52/image_26112025_07_52_13_2911.jpg
/home/pi/Desktop/images/26112025/07/52/image_26112025_07_52_16_2604.jpg
/home/pi/Desktop/images/26112025/07/52/image_26112025_07_52_19_3570.jpg
/home/pi/Desktop/images/26112025/07/53/image_26112025_07_53_07_3012.jpg
/home/pi/Desktop/images/26112025/07/53/image_26112025_07_53_11_3672.jpg
/home/pi/Desktop/images/26112025/07/53/image_26112025_07_53_13_2797.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":["1396245607","1396245601","1396245603","1396245599","1396245605","1396245604"],"photo_ids_order":["1396245599","1396245601","1396245603","1396245604","1396245605","1396245607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6e0d8447267df042026f176145bb3f56.jpg","text":"TemporaryFile(/tmp/multipartBody4776833480425177594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156943252,"filename":"image_26112025_07_53_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/26/c192328dafee360e669d0f9b96f313bf.jpg","text":"TemporaryFile(/tmp/multipartBody6530477465368555645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156943252,"filename":"image_26112025_07_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/26/e543e1986518563ef500805085d66d51.jpg","text":"TemporaryFile(/tmp/multipartBody2285883529203880993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156943252,"filename":"image_26112025_07_52_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/26/beeb5240c7b72526f41152ed5554438b.jpg","text":"TemporaryFile(/tmp/multipartBody4111711237478125735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156943252,"filename":"image_26112025_07_52_13_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/26/e779ff9f0b2aaa734a27712c4f9def70.jpg","text":"TemporaryFile(/tmp/multipartBody2578336771785430515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156943252,"filename":"image_26112025_07_53_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/26/f119f21a6f268031e29928d995503c0d.jpg","text":"TemporaryFile(/tmp/multipartBody4186320511736412825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156943252,"filename":"image_26112025_07_53_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396245603","file1":"1396245601","file0":"1396245599","file4":"1396245605","file5":"1396245607","file3":"1396245604"},"map_files_photo_id_array":[{"photo_id":"1396245607","filename":"file5"},{"photo_id":"1396245603","filename":"file2"},{"photo_id":"1396245605","filename":"file4"},{"photo_id":"1396245601","filename":"file1"},{"photo_id":"1396245599","filename":"file0"},{"photo_id":"1396245604","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396245607":["hashtag1","hashtag2"]},{"1396245601":["hashtag1","hashtag2"]},{"1396245603":["hashtag1","hashtag2"]},{"1396245599":["hashtag1","hashtag2"]},{"1396245605":["hashtag1","hashtag2"]},{"1396245604":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396245607, 1396245601, 1396245603, 1396245599, 1396245605, 1396245604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.891743421554565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:35:22.723194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/53/image_26112025_07_53_16_2624.jpg', '/home/pi/Desktop/images/26112025/07/53/image_26112025_07_53_20_3570.jpg', '/home/pi/Desktop/images/26112025/07/53/image_26112025_07_53_22_2615.jpg', '/home/pi/Desktop/images/26112025/07/53/image_26112025_07_53_26_3676.jpg', '/home/pi/Desktop/images/26112025/07/53/image_26112025_07_53_29_2837.jpg', '/home/pi/Desktop/images/26112025/07/53/image_26112025_07_53_31_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/53/image_26112025_07_53_16_2624.jpg
/home/pi/Desktop/images/26112025/07/53/image_26112025_07_53_20_3570.jpg
/home/pi/Desktop/images/26112025/07/53/image_26112025_07_53_22_2615.jpg
/home/pi/Desktop/images/26112025/07/53/image_26112025_07_53_26_3676.jpg
/home/pi/Desktop/images/26112025/07/53/image_26112025_07_53_29_2837.jpg
/home/pi/Desktop/images/26112025/07/53/image_26112025_07_53_31_2569.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":["1396245628","1396245615","1396245612","1396245620","1396245623","1396245617"],"photo_ids_order":["1396245612","1396245615","1396245617","1396245620","1396245623","1396245628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1b40dcb240bec2c71f418fd58c076027.jpg","text":"TemporaryFile(/tmp/multipartBody9196293791190140441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156983451,"filename":"image_26112025_07_53_31_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/26/0d5e3e8d2c533dce4b446b48af5f7201.jpg","text":"TemporaryFile(/tmp/multipartBody3025013411408615556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156983451,"filename":"image_26112025_07_53_20_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/26/3f7a4659204c94066d8c50e6b7dcc87b.jpg","text":"TemporaryFile(/tmp/multipartBody923758557213420449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156983451,"filename":"image_26112025_07_53_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/26/df54792c53fc6e0f54d1accd202407cb.jpg","text":"TemporaryFile(/tmp/multipartBody7730000067168483726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156983451,"filename":"image_26112025_07_53_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/26/d1f5337061cc046592be0a8f3972ac2f.jpg","text":"TemporaryFile(/tmp/multipartBody5389108776172152522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156983451,"filename":"image_26112025_07_53_29_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/26/c2da35d8405ccba52f6ead226c478dab.jpg","text":"TemporaryFile(/tmp/multipartBody430526278721735632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764156983451,"filename":"image_26112025_07_53_22_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396245617","file1":"1396245615","file0":"1396245612","file4":"1396245623","file5":"1396245628","file3":"1396245620"},"map_files_photo_id_array":[{"photo_id":"1396245628","filename":"file5"},{"photo_id":"1396245617","filename":"file2"},{"photo_id":"1396245623","filename":"file4"},{"photo_id":"1396245615","filename":"file1"},{"photo_id":"1396245612","filename":"file0"},{"photo_id":"1396245620","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396245628":["hashtag1","hashtag2"]},{"1396245615":["hashtag1","hashtag2"]},{"1396245612":["hashtag1","hashtag2"]},{"1396245620":["hashtag1","hashtag2"]},{"1396245623":["hashtag1","hashtag2"]},{"1396245617":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396245628, 1396245615, 1396245612, 1396245620, 1396245623, 1396245617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.671594858169556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:36:02.333514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/53/image_26112025_07_53_35_3551.jpg', '/home/pi/Desktop/images/26112025/07/53/image_26112025_07_53_37_2722.jpg', '/home/pi/Desktop/images/26112025/07/53/image_26112025_07_53_40_2684.jpg', '/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_07_3011.jpg', '/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_11_3602.jpg', '/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_13_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/53/image_26112025_07_53_35_3551.jpg
/home/pi/Desktop/images/26112025/07/53/image_26112025_07_53_37_2722.jpg
/home/pi/Desktop/images/26112025/07/53/image_26112025_07_53_40_2684.jpg
/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_07_3011.jpg
/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_11_3602.jpg
/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_13_2662.jpg
 val : 1 : upload photos already in processing! 
 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":["1396245634","1396245630","1396245632","1396245640","1396245637","1396245631"],"photo_ids_order":["1396245630","1396245631","1396245632","1396245634","1396245637","1396245640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0a5ebb299eb41ee43a2a824485a57d32.jpg","text":"TemporaryFile(/tmp/multipartBody834228359532061208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157027209,"filename":"image_26112025_07_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/26/e1a1585572450783a8fbc9add99f6594.jpg","text":"TemporaryFile(/tmp/multipartBody2738038006625225869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157027209,"filename":"image_26112025_07_53_35_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/26/85dd2218fd76f0c87835825d68cd2218.jpg","text":"TemporaryFile(/tmp/multipartBody5222721411917458523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157027209,"filename":"image_26112025_07_53_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/26/cd3bee464d8acc8bde61a443d57dc541.jpg","text":"TemporaryFile(/tmp/multipartBody846553108654305023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157027209,"filename":"image_26112025_07_55_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/26/3e7dbcf5029327f25023ceda52424801.jpg","text":"TemporaryFile(/tmp/multipartBody361355414614298380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157027209,"filename":"image_26112025_07_55_11_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/26/2d67b4cb67d18f2bbcbb556490a841de.jpg","text":"TemporaryFile(/tmp/multipartBody6722237996056771687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157027209,"filename":"image_26112025_07_53_37_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396245632","file1":"1396245631","file0":"1396245630","file4":"1396245637","file5":"1396245640","file3":"1396245634"},"map_files_photo_id_array":[{"photo_id":"1396245640","filename":"file5"},{"photo_id":"1396245632","filename":"file2"},{"photo_id":"1396245637","filename":"file4"},{"photo_id":"1396245631","filename":"file1"},{"photo_id":"1396245630","filename":"file0"},{"photo_id":"1396245634","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396245634":["hashtag1","hashtag2"]},{"1396245630":["hashtag1","hashtag2"]},{"1396245632":["hashtag1","hashtag2"]},{"1396245640":["hashtag1","hashtag2"]},{"1396245637":["hashtag1","hashtag2"]},{"1396245631":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396245634, 1396245630, 1396245632, 1396245640, 1396245637, 1396245631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.28322982788086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:37:02.861258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_17_3674.jpg', '/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_20_2569.jpg', '/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_22_2658.jpg', '/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_26_3727.jpg', '/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_29_2681.jpg', '/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_35_5993.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_17_3674.jpg
/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_20_2569.jpg
/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_22_2658.jpg
/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_26_3727.jpg
/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_29_2681.jpg
/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_35_5993.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":["1396245687","1396245666","1396245689","1396245725","1396245668","1396245691"],"photo_ids_order":["1396245666","1396245668","1396245687","1396245689","1396245691","1396245725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/56f1a8391aa5354751f0d850f28fecd2.jpg","text":"TemporaryFile(/tmp/multipartBody3456132112667726477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157083615,"filename":"image_26112025_07_55_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/26/a0eee98eae0b5298e67cb1deee02d1f3.jpg","text":"TemporaryFile(/tmp/multipartBody8560649546701785299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157083615,"filename":"image_26112025_07_55_17_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b6260777e89e94d79492585839321c18.jpg","text":"TemporaryFile(/tmp/multipartBody6870919165779918090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157083615,"filename":"image_26112025_07_55_26_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/26/480ce5a77411db9878aa713470679426.jpg","text":"TemporaryFile(/tmp/multipartBody8131173323854487781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157083615,"filename":"image_26112025_07_55_35_5993.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/122f62414adf9056127c06a012336d33.jpg","text":"TemporaryFile(/tmp/multipartBody2451259279435986334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157083615,"filename":"image_26112025_07_55_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/26/930d7271e49a45b5a824e2e6a9afc7c7.jpg","text":"TemporaryFile(/tmp/multipartBody1347599104042819552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157083615,"filename":"image_26112025_07_55_29_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396245687","file1":"1396245668","file0":"1396245666","file4":"1396245691","file5":"1396245725","file3":"1396245689"},"map_files_photo_id_array":[{"photo_id":"1396245725","filename":"file5"},{"photo_id":"1396245687","filename":"file2"},{"photo_id":"1396245691","filename":"file4"},{"photo_id":"1396245668","filename":"file1"},{"photo_id":"1396245666","filename":"file0"},{"photo_id":"1396245689","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396245687":["hashtag1","hashtag2"]},{"1396245666":["hashtag1","hashtag2"]},{"1396245689":["hashtag1","hashtag2"]},{"1396245725":["hashtag1","hashtag2"]},{"1396245668":["hashtag1","hashtag2"]},{"1396245691":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396245687, 1396245666, 1396245689, 1396245725, 1396245668, 1396245691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28375601768494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 12:37:42.051886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_36_1649.jpg', '/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_38_1667.jpg', '/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_41_2746.jpg', '/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_43_2604.jpg', '/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_47_3543.jpg', '/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_50_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_36_1649.jpg
/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_38_1667.jpg
/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_41_2746.jpg
/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_43_2604.jpg
/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_47_3543.jpg
/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_50_2696.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":["1396245759","1396245753","1396245756","1396245758","1396245760","1396245757"],"photo_ids_order":["1396245753","1396245756","1396245757","1396245758","1396245759","1396245760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7ce2e9b27ec78df47de05fd3db7567af.jpg","text":"TemporaryFile(/tmp/multipartBody8602009112586590621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157122715,"filename":"image_26112025_07_55_47_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/26/94036f3c889717b8dda2f5dbe626f1a1.jpg","text":"TemporaryFile(/tmp/multipartBody8007625669810427130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157122715,"filename":"image_26112025_07_55_36_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/26/0d83a3866a5ac07f4c6432561e467701.jpg","text":"TemporaryFile(/tmp/multipartBody7377004905874858501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157122715,"filename":"image_26112025_07_55_38_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/26/49068ad6930e5acac83e68b5ace97dd5.jpg","text":"TemporaryFile(/tmp/multipartBody6523118607491415254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157122715,"filename":"image_26112025_07_55_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/26/b7207efeeccd89b77a5d41be2237cadb.jpg","text":"TemporaryFile(/tmp/multipartBody8678377170014041316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157122715,"filename":"image_26112025_07_55_50_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/26/895c416eec5570086246f32150ba7882.jpg","text":"TemporaryFile(/tmp/multipartBody9193156785099239958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157122715,"filename":"image_26112025_07_55_41_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396245757","file1":"1396245756","file0":"1396245753","file4":"1396245759","file5":"1396245760","file3":"1396245758"},"map_files_photo_id_array":[{"photo_id":"1396245760","filename":"file5"},{"photo_id":"1396245757","filename":"file2"},{"photo_id":"1396245759","filename":"file4"},{"photo_id":"1396245756","filename":"file1"},{"photo_id":"1396245753","filename":"file0"},{"photo_id":"1396245758","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396245759":["hashtag1","hashtag2"]},{"1396245753":["hashtag1","hashtag2"]},{"1396245756":["hashtag1","hashtag2"]},{"1396245758":["hashtag1","hashtag2"]},{"1396245760":["hashtag1","hashtag2"]},{"1396245757":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396245759, 1396245753, 1396245756, 1396245758, 1396245760, 1396245757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.13563060760498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:38:22.184517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_52_2586.jpg', '/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_56_3745.jpg', '/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_59_2663.jpg', '/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_06_3011.jpg', '/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_10_3595.jpg', '/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_12_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_52_2586.jpg
/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_56_3745.jpg
/home/pi/Desktop/images/26112025/07/55/image_26112025_07_55_59_2663.jpg
/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_06_3011.jpg
/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_10_3595.jpg
/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_12_2607.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":["1396245805","1396245852","1396245855","1396245860","1396245764","1396245844"],"photo_ids_order":["1396245764","1396245805","1396245844","1396245852","1396245855","1396245860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/75652c67f368c9a6dd7c97f702579d83.jpg","text":"TemporaryFile(/tmp/multipartBody8485395296395901298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157162880,"filename":"image_26112025_07_55_56_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/26/66f468ee526273ae6105421d4f0535ff.jpg","text":"TemporaryFile(/tmp/multipartBody2427404447858557014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157162880,"filename":"image_26112025_07_57_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/26/a84c9cc04df01c3b081c804f0485fc19.jpg","text":"TemporaryFile(/tmp/multipartBody3241821718837829564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157162880,"filename":"image_26112025_07_57_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/26/41faa2d2926335481a6fb4ff14e17973.jpg","text":"TemporaryFile(/tmp/multipartBody7233487864323977106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157162880,"filename":"image_26112025_07_57_12_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/26/a5f3be427e485ecda0d311040ee03e0b.jpg","text":"TemporaryFile(/tmp/multipartBody2936239438475790363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157162880,"filename":"image_26112025_07_55_52_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/26/96eb3f5ae511d5b353d6f4197ecbaf38.jpg","text":"TemporaryFile(/tmp/multipartBody9221581573910062947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157162880,"filename":"image_26112025_07_55_59_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396245844","file1":"1396245805","file0":"1396245764","file4":"1396245855","file5":"1396245860","file3":"1396245852"},"map_files_photo_id_array":[{"photo_id":"1396245860","filename":"file5"},{"photo_id":"1396245844","filename":"file2"},{"photo_id":"1396245855","filename":"file4"},{"photo_id":"1396245805","filename":"file1"},{"photo_id":"1396245764","filename":"file0"},{"photo_id":"1396245852","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396245805":["hashtag1","hashtag2"]},{"1396245852":["hashtag1","hashtag2"]},{"1396245855":["hashtag1","hashtag2"]},{"1396245860":["hashtag1","hashtag2"]},{"1396245764":["hashtag1","hashtag2"]},{"1396245844":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396245805, 1396245852, 1396245855, 1396245860, 1396245764, 1396245844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41566801071167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:39:03.344945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_16_3612.jpg', '/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_19_2698.jpg', '/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_21_2618.jpg', '/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_25_3628.jpg', '/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_28_2841.jpg', '/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_30_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_16_3612.jpg
/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_19_2698.jpg
/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_21_2618.jpg
/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_25_3628.jpg
/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_28_2841.jpg
/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_30_2675.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":["1396245888","1396245864","1396245867","1396245872","1396245881","1396245866"],"photo_ids_order":["1396245864","1396245866","1396245867","1396245872","1396245881","1396245888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/87b9a9e73448d957d35872ddc2420e5a.jpg","text":"TemporaryFile(/tmp/multipartBody5405995945643705344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157204213,"filename":"image_26112025_07_57_30_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/26/f378671b45fd385963a84808e47f0cfc.jpg","text":"TemporaryFile(/tmp/multipartBody6950437873538734467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157204213,"filename":"image_26112025_07_57_16_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/26/fcdc775a78763415cc6db42c8680f167.jpg","text":"TemporaryFile(/tmp/multipartBody3041484283942554665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157204213,"filename":"image_26112025_07_57_21_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/26/1b257a902502ad284934fdc89460711c.jpg","text":"TemporaryFile(/tmp/multipartBody4783322464080667969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157204213,"filename":"image_26112025_07_57_25_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/26/32bc2febfdb19f0b5e51cc749e8d50ae.jpg","text":"TemporaryFile(/tmp/multipartBody874945742393500622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157204213,"filename":"image_26112025_07_57_28_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/26/762aac6974612decd4e16ea310b3c2e4.jpg","text":"TemporaryFile(/tmp/multipartBody3289695602309322103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157204213,"filename":"image_26112025_07_57_19_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396245867","file1":"1396245866","file0":"1396245864","file4":"1396245881","file5":"1396245888","file3":"1396245872"},"map_files_photo_id_array":[{"photo_id":"1396245888","filename":"file5"},{"photo_id":"1396245867","filename":"file2"},{"photo_id":"1396245881","filename":"file4"},{"photo_id":"1396245866","filename":"file1"},{"photo_id":"1396245864","filename":"file0"},{"photo_id":"1396245872","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396245888":["hashtag1","hashtag2"]},{"1396245864":["hashtag1","hashtag2"]},{"1396245867":["hashtag1","hashtag2"]},{"1396245872":["hashtag1","hashtag2"]},{"1396245881":["hashtag1","hashtag2"]},{"1396245866":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396245888, 1396245864, 1396245867, 1396245872, 1396245881, 1396245866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38647413253784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 12:39:42.419506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_33_2795.jpg', '/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_37_3562.jpg', '/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_39_2591.jpg', '/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_43_3630.jpg', '/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_46_2635.jpg', '/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_48_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_33_2795.jpg
/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_37_3562.jpg
/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_39_2591.jpg
/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_43_3630.jpg
/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_46_2635.jpg
/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_48_2675.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":["1396245910","1396245939","1396245903","1396245908","1396245898","1396245901"],"photo_ids_order":["1396245898","1396245901","1396245903","1396245908","1396245910","1396245939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4a7dc47cdafb05ab0185763c9953c5e4.jpg","text":"TemporaryFile(/tmp/multipartBody8441666625076378978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157243145,"filename":"image_26112025_07_57_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/26/9f72825e1441cafb950721bb572ce180.jpg","text":"TemporaryFile(/tmp/multipartBody7268525510201021218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157243145,"filename":"image_26112025_07_57_48_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/26/6477bdc3cf1e5b6ea53008cec02f0124.jpg","text":"TemporaryFile(/tmp/multipartBody2772843806896785923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157243145,"filename":"image_26112025_07_57_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/26/62ee31acf9965e3c6e5d0bf6a86ababd.jpg","text":"TemporaryFile(/tmp/multipartBody6852839723865653921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157243145,"filename":"image_26112025_07_57_43_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/26/d5a61b63eff60e5dc5d68b9c40c2cbc9.jpg","text":"TemporaryFile(/tmp/multipartBody6263076565048806380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157243145,"filename":"image_26112025_07_57_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/26/1a577c288d1d360f6cc42d43432048d7.jpg","text":"TemporaryFile(/tmp/multipartBody1911718249636400560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157243145,"filename":"image_26112025_07_57_37_3562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396245903","file1":"1396245901","file0":"1396245898","file4":"1396245910","file5":"1396245939","file3":"1396245908"},"map_files_photo_id_array":[{"photo_id":"1396245939","filename":"file5"},{"photo_id":"1396245903","filename":"file2"},{"photo_id":"1396245910","filename":"file4"},{"photo_id":"1396245901","filename":"file1"},{"photo_id":"1396245898","filename":"file0"},{"photo_id":"1396245908","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396245910":["hashtag1","hashtag2"]},{"1396245939":["hashtag1","hashtag2"]},{"1396245903":["hashtag1","hashtag2"]},{"1396245908":["hashtag1","hashtag2"]},{"1396245898":["hashtag1","hashtag2"]},{"1396245901":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396245910, 1396245939, 1396245903, 1396245908, 1396245898, 1396245901)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.83216381072998 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:40:32.716981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_52_3694.jpg', '/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_55_2862.jpg', '/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_57_2594.jpg', '/home/pi/Desktop/images/26112025/07/57/image_26112025_07_58_00_2664.jpg', '/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_06_3011.jpg', '/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_10_3800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_52_3694.jpg
/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_55_2862.jpg
/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_57_2594.jpg
/home/pi/Desktop/images/26112025/07/57/image_26112025_07_58_00_2664.jpg
/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_06_3011.jpg
/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_10_3800.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.6312737464904785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 12:40:42.684247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_52_3694.jpg', '/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_55_2862.jpg', '/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_57_2594.jpg', '/home/pi/Desktop/images/26112025/07/57/image_26112025_07_58_00_2664.jpg', '/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_06_3011.jpg', '/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_10_3800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_52_3694.jpg
/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_55_2862.jpg
/home/pi/Desktop/images/26112025/07/57/image_26112025_07_57_57_2594.jpg
/home/pi/Desktop/images/26112025/07/57/image_26112025_07_58_00_2664.jpg
/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_06_3011.jpg
/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_10_3800.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":["1396245993","1396246046","1396246013","1396245994","1396245991","1396245970"],"photo_ids_order":["1396245970","1396245991","1396245993","1396245994","1396246013","1396246046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/65c12701ef659c213bb0b03d6f877e98.jpg","text":"TemporaryFile(/tmp/multipartBody8998930956740135371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157303432,"filename":"image_26112025_07_57_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/26/5699fefc30e308fc3f75b03cb967187c.jpg","text":"TemporaryFile(/tmp/multipartBody2164233846971503954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157303432,"filename":"image_26112025_07_59_10_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/26/987d568c89b4604deb72bef0224c9bf2.jpg","text":"TemporaryFile(/tmp/multipartBody4090683359961148000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157303432,"filename":"image_26112025_07_59_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/26/bd3568a61ff6679d1f50d18a7382530b.jpg","text":"TemporaryFile(/tmp/multipartBody1898121136149353448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157303432,"filename":"image_26112025_07_58_00_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/26/e15dc3b0ca548679c860de2fec5de037.jpg","text":"TemporaryFile(/tmp/multipartBody2285505624261552955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157303432,"filename":"image_26112025_07_57_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/26/99a0638b91e89f474dd709788e58bf98.jpg","text":"TemporaryFile(/tmp/multipartBody8646354917428866139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157303432,"filename":"image_26112025_07_57_52_3694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396245993","file1":"1396245991","file0":"1396245970","file4":"1396246013","file5":"1396246046","file3":"1396245994"},"map_files_photo_id_array":[{"photo_id":"1396246046","filename":"file5"},{"photo_id":"1396245993","filename":"file2"},{"photo_id":"1396246013","filename":"file4"},{"photo_id":"1396245991","filename":"file1"},{"photo_id":"1396245970","filename":"file0"},{"photo_id":"1396245994","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396245993":["hashtag1","hashtag2"]},{"1396246046":["hashtag1","hashtag2"]},{"1396246013":["hashtag1","hashtag2"]},{"1396245994":["hashtag1","hashtag2"]},{"1396245991":["hashtag1","hashtag2"]},{"1396245970":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396245993, 1396246046, 1396246013, 1396245994, 1396245991, 1396245970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9896674156189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:41:21.837975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_13_2691.jpg', '/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_16_2683.jpg', '/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_19_3632.jpg', '/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_22_2705.jpg', '/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_25_2693.jpg', '/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_28_3714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_13_2691.jpg
/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_16_2683.jpg
/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_19_3632.jpg
/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_22_2705.jpg
/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_25_2693.jpg
/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_28_3714.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":["1396246067","1396246076","1396246061","1396246064","1396246057","1396246069"],"photo_ids_order":["1396246057","1396246061","1396246064","1396246067","1396246069","1396246076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/46844417e097822926ed16085ef3bebc.jpg","text":"TemporaryFile(/tmp/multipartBody6274315604027034551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157342520,"filename":"image_26112025_07_59_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/26/1926a4322fdfb866d57b40973841ff00.jpg","text":"TemporaryFile(/tmp/multipartBody9131880883730977133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157342520,"filename":"image_26112025_07_59_28_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/26/15303e0014b3f367d3d182151ec0c6c8.jpg","text":"TemporaryFile(/tmp/multipartBody8496057736556732344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157342520,"filename":"image_26112025_07_59_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/26/995997ae446afe59521bc69dc9ce6ebd.jpg","text":"TemporaryFile(/tmp/multipartBody4237124539091628300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157342520,"filename":"image_26112025_07_59_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/26/3d2fad6c36d4fc986b11b70457a539eb.jpg","text":"TemporaryFile(/tmp/multipartBody1914155921579162289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157342520,"filename":"image_26112025_07_59_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/26/b3290fed644691844cb868abb8a4cc6a.jpg","text":"TemporaryFile(/tmp/multipartBody5471005093838505124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157342520,"filename":"image_26112025_07_59_25_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396246064","file1":"1396246061","file0":"1396246057","file4":"1396246069","file5":"1396246076","file3":"1396246067"},"map_files_photo_id_array":[{"photo_id":"1396246076","filename":"file5"},{"photo_id":"1396246064","filename":"file2"},{"photo_id":"1396246069","filename":"file4"},{"photo_id":"1396246061","filename":"file1"},{"photo_id":"1396246057","filename":"file0"},{"photo_id":"1396246067","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396246067":["hashtag1","hashtag2"]},{"1396246076":["hashtag1","hashtag2"]},{"1396246061":["hashtag1","hashtag2"]},{"1396246064":["hashtag1","hashtag2"]},{"1396246057":["hashtag1","hashtag2"]},{"1396246069":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396246067, 1396246076, 1396246061, 1396246064, 1396246057, 1396246069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.77833962440491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:42:02.516945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_31_2640.jpg', '/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_34_2616.jpg', '/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_37_3640.jpg', '/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_40_2512.jpg', '/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_42_2644.jpg', '/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_46_3668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_31_2640.jpg
/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_34_2616.jpg
/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_37_3640.jpg
/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_40_2512.jpg
/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_42_2644.jpg
/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_46_3668.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":["1396246077","1396246085","1396246079","1396246082","1396246078","1396246080"],"photo_ids_order":["1396246077","1396246078","1396246079","1396246080","1396246082","1396246085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aecee14b6aa61702f4cb3adf7b92c4aa.jpg","text":"TemporaryFile(/tmp/multipartBody6323929146303059280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157383225,"filename":"image_26112025_07_59_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/26/90a408119429c57bc923abb966c01c39.jpg","text":"TemporaryFile(/tmp/multipartBody6463486585377357607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157383225,"filename":"image_26112025_07_59_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/26/fc8ffb5952cd504f90832288cb19cfd8.jpg","text":"TemporaryFile(/tmp/multipartBody9006429653234983751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157383225,"filename":"image_26112025_07_59_37_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/26/1b27cd22223b070447b68106f33fb69f.jpg","text":"TemporaryFile(/tmp/multipartBody4459536480522425468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157383225,"filename":"image_26112025_07_59_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/26/5cb35844481db755cc5be74d63ff0662.jpg","text":"TemporaryFile(/tmp/multipartBody2000605110138515863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157383225,"filename":"image_26112025_07_59_34_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/26/6514f6022d48dd76fa624728fa361d6f.jpg","text":"TemporaryFile(/tmp/multipartBody802106379636574229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157383225,"filename":"image_26112025_07_59_40_2512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396246079","file1":"1396246078","file0":"1396246077","file4":"1396246082","file5":"1396246085","file3":"1396246080"},"map_files_photo_id_array":[{"photo_id":"1396246085","filename":"file5"},{"photo_id":"1396246079","filename":"file2"},{"photo_id":"1396246082","filename":"file4"},{"photo_id":"1396246078","filename":"file1"},{"photo_id":"1396246077","filename":"file0"},{"photo_id":"1396246080","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396246077":["hashtag1","hashtag2"]},{"1396246085":["hashtag1","hashtag2"]},{"1396246079":["hashtag1","hashtag2"]},{"1396246082":["hashtag1","hashtag2"]},{"1396246078":["hashtag1","hashtag2"]},{"1396246080":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396246077, 1396246085, 1396246079, 1396246082, 1396246078, 1396246080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.065441608428955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 12:42:42.082161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_49_2662.jpg', '/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_51_2718.jpg', '/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_55_3664.jpg', '/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_58_3100.jpg', '/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_07_3011.jpg', '/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_11_3596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_49_2662.jpg
/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_51_2718.jpg
/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_55_3664.jpg
/home/pi/Desktop/images/26112025/07/59/image_26112025_07_59_58_3100.jpg
/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_07_3011.jpg
/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_11_3596.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":["1396246104","1396246097","1396246101","1396246103","1396246102","1396246105"],"photo_ids_order":["1396246097","1396246101","1396246102","1396246103","1396246104","1396246105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1f7b3d13c4f665f5ab73cf406beeca9d.jpg","text":"TemporaryFile(/tmp/multipartBody1100693211792414487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157422776,"filename":"image_26112025_08_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/26/5352dee690149d54e4758bf012204242.jpg","text":"TemporaryFile(/tmp/multipartBody940382078944583409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157422776,"filename":"image_26112025_07_59_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/26/a8c8d477016f25f926dbd3f0bd902561.jpg","text":"TemporaryFile(/tmp/multipartBody4043760576539169626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157422776,"filename":"image_26112025_07_59_51_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/26/f5f8d31bfee986ed3bde25b6016c67a9.jpg","text":"TemporaryFile(/tmp/multipartBody9166971871180147582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157422776,"filename":"image_26112025_07_59_58_3100.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/86892051f9593a5f24e65dfc4f364c3e.jpg","text":"TemporaryFile(/tmp/multipartBody7868846983343488899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157422776,"filename":"image_26112025_07_59_55_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/26/55a07917335512f178cd285b9618c355.jpg","text":"TemporaryFile(/tmp/multipartBody4158187882768985316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157422776,"filename":"image_26112025_08_01_11_3596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396246102","file1":"1396246101","file0":"1396246097","file4":"1396246104","file5":"1396246105","file3":"1396246103"},"map_files_photo_id_array":[{"photo_id":"1396246105","filename":"file5"},{"photo_id":"1396246102","filename":"file2"},{"photo_id":"1396246104","filename":"file4"},{"photo_id":"1396246101","filename":"file1"},{"photo_id":"1396246097","filename":"file0"},{"photo_id":"1396246103","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396246104":["hashtag1","hashtag2"]},{"1396246097":["hashtag1","hashtag2"]},{"1396246101":["hashtag1","hashtag2"]},{"1396246103":["hashtag1","hashtag2"]},{"1396246102":["hashtag1","hashtag2"]},{"1396246105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396246104, 1396246097, 1396246101, 1396246103, 1396246102, 1396246105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60653305053711 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:43:22.301216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_13_2670.jpg', '/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_17_3528.jpg', '/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_19_2551.jpg', '/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_23_3563.jpg', '/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_26_2658.jpg', '/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_28_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_13_2670.jpg
/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_17_3528.jpg
/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_19_2551.jpg
/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_23_3563.jpg
/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_26_2658.jpg
/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_28_2604.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":["1396246131","1396246116","1396246124","1396246126","1396246120","1396246111"],"photo_ids_order":["1396246111","1396246116","1396246120","1396246124","1396246126","1396246131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/246d8cf436c3a47ae1134e0a914e72b6.jpg","text":"TemporaryFile(/tmp/multipartBody5239064171512948523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157463002,"filename":"image_26112025_08_01_28_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/26/404ae8cfc487437a9a5ca2c91a910ebb.jpg","text":"TemporaryFile(/tmp/multipartBody936802742267031071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157463002,"filename":"image_26112025_08_01_17_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/26/062895497b36a137cf70bdee8ee55c5e.jpg","text":"TemporaryFile(/tmp/multipartBody1452773713737865746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157463002,"filename":"image_26112025_08_01_23_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/26/e1ce7cc6a5a6458b19d9d449032cad3e.jpg","text":"TemporaryFile(/tmp/multipartBody7604399947286187121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157463002,"filename":"image_26112025_08_01_26_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/26/223f9ef0ee4cc4f969acb03170e37a5f.jpg","text":"TemporaryFile(/tmp/multipartBody1710138086277630124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157463002,"filename":"image_26112025_08_01_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/26/635ca1b5b9e37d1e7c28baf264070c7a.jpg","text":"TemporaryFile(/tmp/multipartBody3646984637486998829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157463002,"filename":"image_26112025_08_01_13_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396246120","file1":"1396246116","file0":"1396246111","file4":"1396246126","file5":"1396246131","file3":"1396246124"},"map_files_photo_id_array":[{"photo_id":"1396246131","filename":"file5"},{"photo_id":"1396246120","filename":"file2"},{"photo_id":"1396246126","filename":"file4"},{"photo_id":"1396246116","filename":"file1"},{"photo_id":"1396246111","filename":"file0"},{"photo_id":"1396246124","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396246131":["hashtag1","hashtag2"]},{"1396246116":["hashtag1","hashtag2"]},{"1396246124":["hashtag1","hashtag2"]},{"1396246126":["hashtag1","hashtag2"]},{"1396246120":["hashtag1","hashtag2"]},{"1396246111":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396246131, 1396246116, 1396246124, 1396246126, 1396246120, 1396246111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78426384925842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:44:03.455256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_32_3680.jpg', '/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_34_2636.jpg', '/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_37_2654.jpg', '/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_41_3637.jpg', '/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_06_3012.jpg', '/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_10_3654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_32_3680.jpg
/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_34_2636.jpg
/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_37_2654.jpg
/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_41_3637.jpg
/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_06_3012.jpg
/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_10_3654.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.3362181186676025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:44:12.904230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_32_3680.jpg', '/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_34_2636.jpg', '/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_37_2654.jpg', '/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_41_3637.jpg', '/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_06_3012.jpg', '/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_10_3654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_32_3680.jpg
/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_34_2636.jpg
/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_37_2654.jpg
/home/pi/Desktop/images/26112025/08/01/image_26112025_08_01_41_3637.jpg
/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_06_3012.jpg
/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_10_3654.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":["1396246176","1396246164","1396246178","1396246166","1396246169","1396246173"],"photo_ids_order":["1396246164","1396246166","1396246169","1396246173","1396246176","1396246178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/61995d7f2e7e47581210a5f0e0975dac.jpg","text":"TemporaryFile(/tmp/multipartBody8882588345665069378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157513565,"filename":"image_26112025_08_03_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/26/3cb3626b35029a1c02a8ba007a75d27c.jpg","text":"TemporaryFile(/tmp/multipartBody3484426922630318012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157513565,"filename":"image_26112025_08_01_32_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/26/c3de476167deabf910cfdb81d97a1794.jpg","text":"TemporaryFile(/tmp/multipartBody5129390655665113647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157513565,"filename":"image_26112025_08_03_10_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/26/6ef0c9f387399d7ef8ebe4c30f46106a.jpg","text":"TemporaryFile(/tmp/multipartBody4160329827901624989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157513565,"filename":"image_26112025_08_01_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/26/f251c52c3e68100588c9cdfa5bc6d346.jpg","text":"TemporaryFile(/tmp/multipartBody7903647028378222754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157513565,"filename":"image_26112025_08_01_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/26/c5a68c9bbda73e31ba74fd3e096376dd.jpg","text":"TemporaryFile(/tmp/multipartBody4360030784877780618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157513565,"filename":"image_26112025_08_01_41_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396246169","file1":"1396246166","file0":"1396246164","file4":"1396246176","file5":"1396246178","file3":"1396246173"},"map_files_photo_id_array":[{"photo_id":"1396246178","filename":"file5"},{"photo_id":"1396246169","filename":"file2"},{"photo_id":"1396246176","filename":"file4"},{"photo_id":"1396246166","filename":"file1"},{"photo_id":"1396246164","filename":"file0"},{"photo_id":"1396246173","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396246176":["hashtag1","hashtag2"]},{"1396246164":["hashtag1","hashtag2"]},{"1396246178":["hashtag1","hashtag2"]},{"1396246166":["hashtag1","hashtag2"]},{"1396246169":["hashtag1","hashtag2"]},{"1396246173":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396246176, 1396246164, 1396246178, 1396246166, 1396246169, 1396246173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48920011520386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:45:02.795128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_12_2460.jpg', '/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_16_3623.jpg', '/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_18_2570.jpg', '/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_21_2736.jpg', '/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_25_3682.jpg', '/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_28_2804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_12_2460.jpg
/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_16_3623.jpg
/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_18_2570.jpg
/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_21_2736.jpg
/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_25_3682.jpg
/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_28_2804.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":["1396246197","1396246196","1396246195","1396246198","1396246201","1396246204"],"photo_ids_order":["1396246195","1396246196","1396246197","1396246198","1396246201","1396246204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7ba4101c970f06c404339780c1287560.jpg","text":"TemporaryFile(/tmp/multipartBody8260609855365713985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157563545,"filename":"image_26112025_08_03_18_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/26/6b7c2e2dd430d3aeacb055dad40ff93d.jpg","text":"TemporaryFile(/tmp/multipartBody6430720433103738999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157563545,"filename":"image_26112025_08_03_16_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/26/da2020e0ed4544dc3333779bb6980b49.jpg","text":"TemporaryFile(/tmp/multipartBody4459620728457602184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157563545,"filename":"image_26112025_08_03_12_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/26/d33b1b27a33e52ab878ff10a09e17fa1.jpg","text":"TemporaryFile(/tmp/multipartBody4462361623253263981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157563545,"filename":"image_26112025_08_03_21_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/26/5be74204d671574ff419df33d61d2395.jpg","text":"TemporaryFile(/tmp/multipartBody1032772029641286128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157563545,"filename":"image_26112025_08_03_25_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/47f054d3d71a18a5309f3f121831daae.jpg","text":"TemporaryFile(/tmp/multipartBody4685600808262490023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157563545,"filename":"image_26112025_08_03_28_2804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396246197","file1":"1396246196","file0":"1396246195","file4":"1396246201","file5":"1396246204","file3":"1396246198"},"map_files_photo_id_array":[{"photo_id":"1396246204","filename":"file5"},{"photo_id":"1396246197","filename":"file2"},{"photo_id":"1396246201","filename":"file4"},{"photo_id":"1396246196","filename":"file1"},{"photo_id":"1396246195","filename":"file0"},{"photo_id":"1396246198","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396246197":["hashtag1","hashtag2"]},{"1396246196":["hashtag1","hashtag2"]},{"1396246195":["hashtag1","hashtag2"]},{"1396246198":["hashtag1","hashtag2"]},{"1396246201":["hashtag1","hashtag2"]},{"1396246204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396246197, 1396246196, 1396246195, 1396246198, 1396246201, 1396246204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.536367416381836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 12:45:41.966772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_30_2709.jpg', '/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_33_2876.jpg', '/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_37_3570.jpg', '/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_39_2607.jpg', '/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_07_3011.jpg', '/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_11_3882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_30_2709.jpg
/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_33_2876.jpg
/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_37_3570.jpg
/home/pi/Desktop/images/26112025/08/03/image_26112025_08_03_39_2607.jpg
/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_07_3011.jpg
/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_11_3882.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":["1396246218","1396246209","1396246244","1396246238","1396246217","1396246234"],"photo_ids_order":["1396246209","1396246217","1396246218","1396246234","1396246238","1396246244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/058d4f51c483b6128b2f306bcfb902c2.jpg","text":"TemporaryFile(/tmp/multipartBody3320789695819749627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157602632,"filename":"image_26112025_08_03_37_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/26/89463c0a256dd2dbb8e749a5cf7cec66.jpg","text":"TemporaryFile(/tmp/multipartBody8639995227197252788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157602632,"filename":"image_26112025_08_03_30_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/26/61c0c5632328b94b4b2caedc24e61d31.jpg","text":"TemporaryFile(/tmp/multipartBody5739234629450566746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157602632,"filename":"image_26112025_08_05_11_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/26/68458252c4c475d23dc65319fd40f2b9.jpg","text":"TemporaryFile(/tmp/multipartBody3107296428571450001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157602632,"filename":"image_26112025_08_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/26/38336c65e09953b09f56f94e04f71f90.jpg","text":"TemporaryFile(/tmp/multipartBody1232720872096200697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157602632,"filename":"image_26112025_08_03_33_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/26/ce0e5adb53738900d3a494abdb28be26.jpg","text":"TemporaryFile(/tmp/multipartBody2172944399193169069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157602632,"filename":"image_26112025_08_03_39_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396246218","file1":"1396246217","file0":"1396246209","file4":"1396246238","file5":"1396246244","file3":"1396246234"},"map_files_photo_id_array":[{"photo_id":"1396246244","filename":"file5"},{"photo_id":"1396246218","filename":"file2"},{"photo_id":"1396246238","filename":"file4"},{"photo_id":"1396246217","filename":"file1"},{"photo_id":"1396246209","filename":"file0"},{"photo_id":"1396246234","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396246218":["hashtag1","hashtag2"]},{"1396246209":["hashtag1","hashtag2"]},{"1396246244":["hashtag1","hashtag2"]},{"1396246238":["hashtag1","hashtag2"]},{"1396246217":["hashtag1","hashtag2"]},{"1396246234":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396246218, 1396246209, 1396246244, 1396246238, 1396246217, 1396246234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.302738189697266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:46:22.304231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_15_4069.jpg', '/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_17_1650.jpg', '/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_19_2518.jpg', '/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_23_3542.jpg', '/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_25_2576.jpg', '/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_29_3605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_15_4069.jpg
/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_17_1650.jpg
/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_19_2518.jpg
/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_23_3542.jpg
/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_25_2576.jpg
/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_29_3605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396246265","1396246250","1396246253","1396246262","1396246270","1396246246"],"photo_ids_order":["1396246246","1396246250","1396246253","1396246262","1396246265","1396246270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d899a4942e23d8a7ff776fedd4bba9e4.jpg","text":"TemporaryFile(/tmp/multipartBody3981072902415277641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157643014,"filename":"image_26112025_08_05_25_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/26/c72ad71b775e4c908c3eb25b4c1ddfb9.jpg","text":"TemporaryFile(/tmp/multipartBody1449966304186170476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157643014,"filename":"image_26112025_08_05_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/26/7616822eb8a4a5e13a257b7a16fe02f3.jpg","text":"TemporaryFile(/tmp/multipartBody346519725606871829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157643014,"filename":"image_26112025_08_05_19_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/26/dec9b7aea6b4a47f937818dd1d8c3582.jpg","text":"TemporaryFile(/tmp/multipartBody4661854316009494291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157643014,"filename":"image_26112025_08_05_23_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/26/12fc816220f8eefe4aae690153ca2c32.jpg","text":"TemporaryFile(/tmp/multipartBody1590665580633884772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157643014,"filename":"image_26112025_08_05_29_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/26/e286ad146bc29bbe8a7bdce76fbccc0d.jpg","text":"TemporaryFile(/tmp/multipartBody6522386849773701030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157643014,"filename":"image_26112025_08_05_15_4069.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396246253","file1":"1396246250","file0":"1396246246","file4":"1396246265","file5":"1396246270","file3":"1396246262"},"map_files_photo_id_array":[{"photo_id":"1396246270","filename":"file5"},{"photo_id":"1396246253","filename":"file2"},{"photo_id":"1396246265","filename":"file4"},{"photo_id":"1396246250","filename":"file1"},{"photo_id":"1396246246","filename":"file0"},{"photo_id":"1396246262","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396246265":["hashtag1","hashtag2"]},{"1396246250":["hashtag1","hashtag2"]},{"1396246253":["hashtag1","hashtag2"]},{"1396246262":["hashtag1","hashtag2"]},{"1396246270":["hashtag1","hashtag2"]},{"1396246246":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396246265, 1396246250, 1396246253, 1396246262, 1396246270, 1396246246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.217013120651245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:47:02.896327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_32_2568.jpg', '/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_34_2776.jpg', '/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_38_3562.jpg', '/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_41_2686.jpg', '/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_43_2624.jpg', '/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_47_3544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_32_2568.jpg
/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_34_2776.jpg
/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_38_3562.jpg
/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_41_2686.jpg
/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_43_2624.jpg
/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_47_3544.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":["1396246275","1396246278","1396246289","1396246277","1396246286","1396246284"],"photo_ids_order":["1396246275","1396246277","1396246278","1396246284","1396246286","1396246289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/476295d99241d579d8fbf2d03341955b.jpg","text":"TemporaryFile(/tmp/multipartBody3098676388262984117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157683702,"filename":"image_26112025_08_05_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/26/fcbc29424cb1021ff98a01fd9544d46f.jpg","text":"TemporaryFile(/tmp/multipartBody200742053836785185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157683702,"filename":"image_26112025_08_05_38_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/26/99186e100e598aa6645563d6f38f89ae.jpg","text":"TemporaryFile(/tmp/multipartBody684956320676788275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157683702,"filename":"image_26112025_08_05_47_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/26/d507e349072c097e88c7a6607351ebe9.jpg","text":"TemporaryFile(/tmp/multipartBody3177404618559344903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157683702,"filename":"image_26112025_08_05_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/26/0b76024490d7f0db0228db2cefc34024.jpg","text":"TemporaryFile(/tmp/multipartBody7570407573885153778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157683702,"filename":"image_26112025_08_05_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/26/3242384c24d22e06006805748841e19b.jpg","text":"TemporaryFile(/tmp/multipartBody8149286443870223413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157683702,"filename":"image_26112025_08_05_41_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396246278","file1":"1396246277","file0":"1396246275","file4":"1396246286","file5":"1396246289","file3":"1396246284"},"map_files_photo_id_array":[{"photo_id":"1396246289","filename":"file5"},{"photo_id":"1396246278","filename":"file2"},{"photo_id":"1396246286","filename":"file4"},{"photo_id":"1396246277","filename":"file1"},{"photo_id":"1396246275","filename":"file0"},{"photo_id":"1396246284","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396246275":["hashtag1","hashtag2"]},{"1396246278":["hashtag1","hashtag2"]},{"1396246289":["hashtag1","hashtag2"]},{"1396246277":["hashtag1","hashtag2"]},{"1396246286":["hashtag1","hashtag2"]},{"1396246284":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396246275, 1396246278, 1396246289, 1396246277, 1396246286, 1396246284)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.69556951522827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:48:02.760354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_50_2747.jpg', '/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_55_5081.jpg', '/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_56_1635.jpg', '/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_59_2640.jpg', '/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_06_3012.jpg', '/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_10_3639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_50_2747.jpg
/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_55_5081.jpg
/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_56_1635.jpg
/home/pi/Desktop/images/26112025/08/05/image_26112025_08_05_59_2640.jpg
/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_06_3012.jpg
/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_10_3639.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":["1396246305","1396246307","1396246301","1396246310","1396246304","1396246303"],"photo_ids_order":["1396246301","1396246303","1396246304","1396246305","1396246307","1396246310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d0297ed5501d24923d9b10302b48cec6.jpg","text":"TemporaryFile(/tmp/multipartBody7779800339665569950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157743503,"filename":"image_26112025_08_05_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/26/be19aa00a58d1afe366efb4be8549d06.jpg","text":"TemporaryFile(/tmp/multipartBody397419376746876359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157743503,"filename":"image_26112025_08_07_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/26/8f27cce9790ceeb2dd7c7030b625a17c.jpg","text":"TemporaryFile(/tmp/multipartBody6624434953899962567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157743503,"filename":"image_26112025_08_05_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/26/2176840ed7db415fd836d753d3de317e.jpg","text":"TemporaryFile(/tmp/multipartBody8190176918134383055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157743503,"filename":"image_26112025_08_07_10_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/26/79a7504be7686001e6fcbde8cfe0a07c.jpg","text":"TemporaryFile(/tmp/multipartBody7731583675847424589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157743503,"filename":"image_26112025_08_05_56_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/26/911674d59ac209abf38d9e9a11c31de7.jpg","text":"TemporaryFile(/tmp/multipartBody4819219116604122495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157743503,"filename":"image_26112025_08_05_55_5081.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396246304","file1":"1396246303","file0":"1396246301","file4":"1396246307","file5":"1396246310","file3":"1396246305"},"map_files_photo_id_array":[{"photo_id":"1396246310","filename":"file5"},{"photo_id":"1396246304","filename":"file2"},{"photo_id":"1396246307","filename":"file4"},{"photo_id":"1396246303","filename":"file1"},{"photo_id":"1396246301","filename":"file0"},{"photo_id":"1396246305","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396246305":["hashtag1","hashtag2"]},{"1396246307":["hashtag1","hashtag2"]},{"1396246301":["hashtag1","hashtag2"]},{"1396246310":["hashtag1","hashtag2"]},{"1396246304":["hashtag1","hashtag2"]},{"1396246303":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396246305, 1396246307, 1396246301, 1396246310, 1396246304, 1396246303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2662935256958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 12:48:42.378319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_12_2521.jpg', '/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_16_3554.jpg', '/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_19_2601.jpg', '/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_22_3501.jpg', '/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_25_2588.jpg', '/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_27_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_12_2521.jpg
/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_16_3554.jpg
/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_19_2601.jpg
/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_22_3501.jpg
/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_25_2588.jpg
/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_27_2582.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.6583249568939209 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:49:03.528924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_12_2521.jpg', '/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_16_3554.jpg', '/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_19_2601.jpg', '/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_22_3501.jpg', '/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_25_2588.jpg', '/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_27_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_12_2521.jpg
/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_16_3554.jpg
/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_19_2601.jpg
/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_22_3501.jpg
/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_25_2588.jpg
/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_27_2582.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":["1396246332","1396246326","1396246325","1396246334","1396246336","1396246327"],"photo_ids_order":["1396246325","1396246326","1396246327","1396246332","1396246334","1396246336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0a1d8e72d60b594e1ceaa0ad49113782.jpg","text":"TemporaryFile(/tmp/multipartBody6362504389640551488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157804362,"filename":"image_26112025_08_07_22_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/26/c28daefcbd331ff7f10d85e5866ff13b.jpg","text":"TemporaryFile(/tmp/multipartBody4484508215054223360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157804362,"filename":"image_26112025_08_07_16_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/26/afd8c552f9755606b2f455dabe3b0727.jpg","text":"TemporaryFile(/tmp/multipartBody1568159873637025717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157804362,"filename":"image_26112025_08_07_12_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/26/92f39906306d0be996ed2e515b1972c7.jpg","text":"TemporaryFile(/tmp/multipartBody5999236514020807414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157804362,"filename":"image_26112025_08_07_25_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/26/83e5b97beafbcef77328cb134d3412a8.jpg","text":"TemporaryFile(/tmp/multipartBody5024513038368774693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157804362,"filename":"image_26112025_08_07_27_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/26/940f4d6d4e305a20cf1c10b4eb19c6f2.jpg","text":"TemporaryFile(/tmp/multipartBody2349349416661124181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157804362,"filename":"image_26112025_08_07_19_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396246327","file1":"1396246326","file0":"1396246325","file4":"1396246334","file5":"1396246336","file3":"1396246332"},"map_files_photo_id_array":[{"photo_id":"1396246336","filename":"file5"},{"photo_id":"1396246327","filename":"file2"},{"photo_id":"1396246334","filename":"file4"},{"photo_id":"1396246326","filename":"file1"},{"photo_id":"1396246325","filename":"file0"},{"photo_id":"1396246332","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396246332":["hashtag1","hashtag2"]},{"1396246326":["hashtag1","hashtag2"]},{"1396246325":["hashtag1","hashtag2"]},{"1396246334":["hashtag1","hashtag2"]},{"1396246336":["hashtag1","hashtag2"]},{"1396246327":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396246332, 1396246326, 1396246325, 1396246334, 1396246336, 1396246327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15603160858154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 12:49:42.611674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_31_3868.jpg', '/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_34_2688.jpg', '/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_37_2640.jpg', '/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_40_3296.jpg', '/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_42_2624.jpg', '/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_46_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_31_3868.jpg
/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_34_2688.jpg
/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_37_2640.jpg
/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_40_3296.jpg
/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_42_2624.jpg
/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_46_3677.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":["1396246347","1396246344","1396246364","1396246349","1396246369","1396246371"],"photo_ids_order":["1396246344","1396246347","1396246349","1396246364","1396246369","1396246371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9dc79cd493250612c8a15dfddcc43885.jpg","text":"TemporaryFile(/tmp/multipartBody8509167079783608414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157843313,"filename":"image_26112025_08_07_34_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/26/546b954b2c36f2ae542a22bf33b1113b.jpg","text":"TemporaryFile(/tmp/multipartBody8302471536243347544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157843313,"filename":"image_26112025_08_07_31_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/26/9691ce3cf0abd5a1eae727efc8e87052.jpg","text":"TemporaryFile(/tmp/multipartBody7754358431075670216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157843313,"filename":"image_26112025_08_07_40_3296.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/33ff0cd699bd7d25109e5e561f26a8bb.jpg","text":"TemporaryFile(/tmp/multipartBody5783273197200796077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157843313,"filename":"image_26112025_08_07_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/26/9f1c95be2ad1a6fc4456b16d8b4681cd.jpg","text":"TemporaryFile(/tmp/multipartBody4776640103873519025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157843313,"filename":"image_26112025_08_07_42_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/26/bbc586f2d96e1854838acbf9bb55de46.jpg","text":"TemporaryFile(/tmp/multipartBody1257771664565135515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157843313,"filename":"image_26112025_08_07_46_3677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396246349","file1":"1396246347","file0":"1396246344","file4":"1396246369","file5":"1396246371","file3":"1396246364"},"map_files_photo_id_array":[{"photo_id":"1396246371","filename":"file5"},{"photo_id":"1396246349","filename":"file2"},{"photo_id":"1396246369","filename":"file4"},{"photo_id":"1396246347","filename":"file1"},{"photo_id":"1396246344","filename":"file0"},{"photo_id":"1396246364","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396246347":["hashtag1","hashtag2"]},{"1396246344":["hashtag1","hashtag2"]},{"1396246364":["hashtag1","hashtag2"]},{"1396246349":["hashtag1","hashtag2"]},{"1396246369":["hashtag1","hashtag2"]},{"1396246371":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396246347, 1396246344, 1396246364, 1396246349, 1396246369, 1396246371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09915089607239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:50:21.930541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_49_2630.jpg', '/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_51_2695.jpg', '/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_55_3679.jpg', '/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_58_2607.jpg', '/home/pi/Desktop/images/26112025/08/09/image_26112025_08_09_07_3018.jpg', '/home/pi/Desktop/images/26112025/08/09/image_26112025_08_09_10_3810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_49_2630.jpg
/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_51_2695.jpg
/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_55_3679.jpg
/home/pi/Desktop/images/26112025/08/07/image_26112025_08_07_58_2607.jpg
/home/pi/Desktop/images/26112025/08/09/image_26112025_08_09_07_3018.jpg
/home/pi/Desktop/images/26112025/08/09/image_26112025_08_09_10_3810.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":["1396246380","1396246374","1396246388","1396246378","1396246383","1396246386"],"photo_ids_order":["1396246374","1396246378","1396246380","1396246383","1396246386","1396246388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6735801737aa9b9e4d06cf0107ba7f30.jpg","text":"TemporaryFile(/tmp/multipartBody3045057074623386908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157882588,"filename":"image_26112025_08_07_55_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5eea96c4554a98ebce183c658e17ee06.jpg","text":"TemporaryFile(/tmp/multipartBody5772958894814679946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157882588,"filename":"image_26112025_08_07_49_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/26/f694e473483947fa2d7f26460ffe1578.jpg","text":"TemporaryFile(/tmp/multipartBody2875355349136014336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157882588,"filename":"image_26112025_08_09_10_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/26/6881fb3d9dee8074bbcc10c8028fefa9.jpg","text":"TemporaryFile(/tmp/multipartBody6504456058850984232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157882588,"filename":"image_26112025_08_07_51_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/26/154f17ba45fb536ac20e1ba6bb53c54e.jpg","text":"TemporaryFile(/tmp/multipartBody7888031703320096978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157882588,"filename":"image_26112025_08_07_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/26/3fbcdb8e0a8196b0d8c0f53b6ab8a2fb.jpg","text":"TemporaryFile(/tmp/multipartBody9184403131202576541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157882588,"filename":"image_26112025_08_09_07_3018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396246380","file1":"1396246378","file0":"1396246374","file4":"1396246386","file5":"1396246388","file3":"1396246383"},"map_files_photo_id_array":[{"photo_id":"1396246388","filename":"file5"},{"photo_id":"1396246380","filename":"file2"},{"photo_id":"1396246386","filename":"file4"},{"photo_id":"1396246378","filename":"file1"},{"photo_id":"1396246374","filename":"file0"},{"photo_id":"1396246383","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396246380":["hashtag1","hashtag2"]},{"1396246374":["hashtag1","hashtag2"]},{"1396246388":["hashtag1","hashtag2"]},{"1396246378":["hashtag1","hashtag2"]},{"1396246383":["hashtag1","hashtag2"]},{"1396246386":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396246380, 1396246374, 1396246388, 1396246378, 1396246383, 1396246386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.930697202682495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:51:02.857546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/09/image_26112025_08_09_13_2755.jpg', '/home/pi/Desktop/images/26112025/08/09/image_26112025_08_09_20_6837.jpg', '/home/pi/Desktop/images/26112025/08/09/image_26112025_08_09_22_1659.jpg', '/home/pi/Desktop/images/26112025/08/09/image_26112025_08_09_23_1621.jpg', '/home/pi/Desktop/images/26112025/08/09/image_26112025_08_09_28_2706.jpg', '/home/pi/Desktop/images/26112025/08/09/image_26112025_08_09_31_3550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/09/image_26112025_08_09_13_2755.jpg
/home/pi/Desktop/images/26112025/08/09/image_26112025_08_09_20_6837.jpg
/home/pi/Desktop/images/26112025/08/09/image_26112025_08_09_22_1659.jpg
/home/pi/Desktop/images/26112025/08/09/image_26112025_08_09_23_1621.jpg
/home/pi/Desktop/images/26112025/08/09/image_26112025_08_09_28_2706.jpg
/home/pi/Desktop/images/26112025/08/09/image_26112025_08_09_31_3550.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":["1396246389","1396246401","1396246394","1396246391","1396246396","1396246398"],"photo_ids_order":["1396246389","1396246391","1396246394","1396246396","1396246398","1396246401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/79258edb2331b616376b1c00997a1da0.jpg","text":"TemporaryFile(/tmp/multipartBody4201600052714251186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157923997,"filename":"image_26112025_08_09_13_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/26/064eab4fb9be34115f35626eb8972813.jpg","text":"TemporaryFile(/tmp/multipartBody43462716722524215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157923997,"filename":"image_26112025_08_09_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/26/20b6da6fbc72cf33bd5b372ea1080d9e.jpg","text":"TemporaryFile(/tmp/multipartBody2450373863832396475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157923997,"filename":"image_26112025_08_09_22_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f8b493d01f7f88ac1da2d6116c0d9636.jpg","text":"TemporaryFile(/tmp/multipartBody7700399234706612275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157923997,"filename":"image_26112025_08_09_20_6837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/71e0be66f5d5c109cdf0296727477d06.jpg","text":"TemporaryFile(/tmp/multipartBody2007421780853492782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157923997,"filename":"image_26112025_08_09_23_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/26/baff4519050624a801553c5786b30857.jpg","text":"TemporaryFile(/tmp/multipartBody6258836500670958330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157923997,"filename":"image_26112025_08_09_28_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396246394","file1":"1396246391","file0":"1396246389","file4":"1396246398","file5":"1396246401","file3":"1396246396"},"map_files_photo_id_array":[{"photo_id":"1396246401","filename":"file5"},{"photo_id":"1396246394","filename":"file2"},{"photo_id":"1396246398","filename":"file4"},{"photo_id":"1396246391","filename":"file1"},{"photo_id":"1396246389","filename":"file0"},{"photo_id":"1396246396","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396246389":["hashtag1","hashtag2"]},{"1396246401":["hashtag1","hashtag2"]},{"1396246394":["hashtag1","hashtag2"]},{"1396246391":["hashtag1","hashtag2"]},{"1396246396":["hashtag1","hashtag2"]},{"1396246398":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396246389, 1396246401, 1396246394, 1396246391, 1396246396, 1396246398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54926085472107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 12:51:42.268157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/09/image_26112025_08_09_34_2952.jpg', '/home/pi/Desktop/images/26112025/08/09/image_26112025_08_09_37_2631.jpg', '/home/pi/Desktop/images/26112025/08/09/image_26112025_08_09_40_3346.jpg', '/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_07_3012.jpg', '/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_10_3628.jpg', '/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_13_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/09/image_26112025_08_09_34_2952.jpg
/home/pi/Desktop/images/26112025/08/09/image_26112025_08_09_37_2631.jpg
/home/pi/Desktop/images/26112025/08/09/image_26112025_08_09_40_3346.jpg
/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_07_3012.jpg
/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_10_3628.jpg
/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_13_2617.jpg
 val : 1 : upload photos already in processing! 
 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":["1396246410","1396246413","1396246407","1396246412","1396246409","1396246411"],"photo_ids_order":["1396246407","1396246409","1396246410","1396246411","1396246412","1396246413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/289d2b1bf8136501ad5efb2021138bb6.jpg","text":"TemporaryFile(/tmp/multipartBody4019042038889606911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157962937,"filename":"image_26112025_08_09_40_3346.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/90f6af7fbbbbdb676691930f8f8bac00.jpg","text":"TemporaryFile(/tmp/multipartBody8316963870363535453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157962937,"filename":"image_26112025_08_11_13_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/26/429047010f7373cb43cfb9a680284ac4.jpg","text":"TemporaryFile(/tmp/multipartBody4422445729049619402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157962937,"filename":"image_26112025_08_09_34_2952.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9fe079a566c04d3b4a7d4982a8db0c42.jpg","text":"TemporaryFile(/tmp/multipartBody7339452237474955969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157962937,"filename":"image_26112025_08_11_10_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/780622a4be215be76e543ad7eba9dacd.jpg","text":"TemporaryFile(/tmp/multipartBody4990050493172657102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157962937,"filename":"image_26112025_08_09_37_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/26/99a9887325c1c4c3d83d95ec95269727.jpg","text":"TemporaryFile(/tmp/multipartBody6248878317835006863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764157962937,"filename":"image_26112025_08_11_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396246410","file1":"1396246409","file0":"1396246407","file4":"1396246412","file5":"1396246413","file3":"1396246411"},"map_files_photo_id_array":[{"photo_id":"1396246413","filename":"file5"},{"photo_id":"1396246410","filename":"file2"},{"photo_id":"1396246412","filename":"file4"},{"photo_id":"1396246409","filename":"file1"},{"photo_id":"1396246407","filename":"file0"},{"photo_id":"1396246411","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396246410":["hashtag1","hashtag2"]},{"1396246413":["hashtag1","hashtag2"]},{"1396246407":["hashtag1","hashtag2"]},{"1396246412":["hashtag1","hashtag2"]},{"1396246409":["hashtag1","hashtag2"]},{"1396246411":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396246410, 1396246413, 1396246407, 1396246412, 1396246409, 1396246411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.54727387428284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:52:32.608578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_16_3685.jpg', '/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_19_2699.jpg', '/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_22_2616.jpg', '/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_25_3682.jpg', '/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_29_3730.jpg', '/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_31_1844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_16_3685.jpg
/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_19_2699.jpg
/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_22_2616.jpg
/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_25_3682.jpg
/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_29_3730.jpg
/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_31_1844.jpg
 val : 1 : upload photos already in processing! 
 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":["1396246449","1396246437","1396246431","1396246424","1396246427","1396246421"],"photo_ids_order":["1396246421","1396246424","1396246427","1396246431","1396246437","1396246449"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d64b6716baf8cd5f28b329135d03f706.jpg","text":"TemporaryFile(/tmp/multipartBody3934085347924521737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158013336,"filename":"image_26112025_08_11_31_1844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/688ed79c1a996f58519c25cb0f5a686c.jpg","text":"TemporaryFile(/tmp/multipartBody1762867535455398273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158013336,"filename":"image_26112025_08_11_29_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/103d7aaa47db8d6b5c6acce668fc16bc.jpg","text":"TemporaryFile(/tmp/multipartBody5089570268780474465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158013336,"filename":"image_26112025_08_11_25_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cbba88b42e2963977b94b62ed685cbbc.jpg","text":"TemporaryFile(/tmp/multipartBody7700280581184639406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158013336,"filename":"image_26112025_08_11_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/26/81b2fcb09177b1ba08e76a2532f7ef8c.jpg","text":"TemporaryFile(/tmp/multipartBody8700253266711622647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158013336,"filename":"image_26112025_08_11_22_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/26/af121f4c27ff08f412a8dbf213adeb63.jpg","text":"TemporaryFile(/tmp/multipartBody8632331857459794790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158013336,"filename":"image_26112025_08_11_16_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396246427","file1":"1396246424","file0":"1396246421","file4":"1396246437","file5":"1396246449","file3":"1396246431"},"map_files_photo_id_array":[{"photo_id":"1396246449","filename":"file5"},{"photo_id":"1396246427","filename":"file2"},{"photo_id":"1396246437","filename":"file4"},{"photo_id":"1396246424","filename":"file1"},{"photo_id":"1396246421","filename":"file0"},{"photo_id":"1396246431","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396246449":["hashtag1","hashtag2"]},{"1396246437":["hashtag1","hashtag2"]},{"1396246431":["hashtag1","hashtag2"]},{"1396246424":["hashtag1","hashtag2"]},{"1396246427":["hashtag1","hashtag2"]},{"1396246421":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396246449, 1396246437, 1396246431, 1396246424, 1396246427, 1396246421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.05772113800049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:53:22.712930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_34_2544.jpg', '/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_37_3830.jpg', '/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_40_2868.jpg', '/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_43_2568.jpg', '/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_46_2764.jpg', '/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_49_3624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_34_2544.jpg
/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_37_3830.jpg
/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_40_2868.jpg
/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_43_2568.jpg
/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_46_2764.jpg
/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_49_3624.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":["1396246481","1396246478","1396246472","1396246489","1396246474","1396246483"],"photo_ids_order":["1396246472","1396246474","1396246478","1396246481","1396246483","1396246489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f8edeab5a39e09e5bf17f8facec1ab81.jpg","text":"TemporaryFile(/tmp/multipartBody2434587549302786570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158063377,"filename":"image_26112025_08_11_43_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/26/2222d81e0578c7b6cbac8e59616042ff.jpg","text":"TemporaryFile(/tmp/multipartBody1074761906307192998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158063377,"filename":"image_26112025_08_11_40_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/26/782a606163b8cdd11ec4f69aaf8736a9.jpg","text":"TemporaryFile(/tmp/multipartBody4551870378562575826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158063377,"filename":"image_26112025_08_11_34_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4c4c137c09622e9eb6ce10fab66a9097.jpg","text":"TemporaryFile(/tmp/multipartBody8855186385949028744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158063377,"filename":"image_26112025_08_11_49_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/26/a2eb96ede10c9bc47d8631feb688dd46.jpg","text":"TemporaryFile(/tmp/multipartBody3871722403087159370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158063377,"filename":"image_26112025_08_11_37_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/26/9503fd803da00d8018945febc677ce81.jpg","text":"TemporaryFile(/tmp/multipartBody6955350805075040476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158063377,"filename":"image_26112025_08_11_46_2764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396246478","file1":"1396246474","file0":"1396246472","file4":"1396246483","file5":"1396246489","file3":"1396246481"},"map_files_photo_id_array":[{"photo_id":"1396246489","filename":"file5"},{"photo_id":"1396246478","filename":"file2"},{"photo_id":"1396246483","filename":"file4"},{"photo_id":"1396246474","filename":"file1"},{"photo_id":"1396246472","filename":"file0"},{"photo_id":"1396246481","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396246481":["hashtag1","hashtag2"]},{"1396246478":["hashtag1","hashtag2"]},{"1396246472":["hashtag1","hashtag2"]},{"1396246489":["hashtag1","hashtag2"]},{"1396246474":["hashtag1","hashtag2"]},{"1396246483":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396246481, 1396246478, 1396246472, 1396246489, 1396246474, 1396246483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.216637134552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:54:02.980664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_55_5780.jpg', '/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_01_5729.jpg', '/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_03_1746.jpg', '/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_04_1640.jpg', '/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_06_1653.jpg', '/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_08_1766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/11/image_26112025_08_11_55_5780.jpg
/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_01_5729.jpg
/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_03_1746.jpg
/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_04_1640.jpg
/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_06_1653.jpg
/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_08_1766.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":["1396246493","1396246490","1396246492","1396246495","1396246497","1396246491"],"photo_ids_order":["1396246490","1396246491","1396246492","1396246493","1396246495","1396246497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0933ba2e2c251011e3008a939164fc04.jpg","text":"TemporaryFile(/tmp/multipartBody3833214903554877373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158103741,"filename":"image_26112025_08_12_04_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/26/f560941bb076df180a3b37f076fd669a.jpg","text":"TemporaryFile(/tmp/multipartBody2549472463471045410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158103741,"filename":"image_26112025_08_11_55_5780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4a7008708249cfe11bf89e7b5396f848.jpg","text":"TemporaryFile(/tmp/multipartBody2978993073757886781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158103741,"filename":"image_26112025_08_12_03_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/26/0dd08d805a5a289bb1c023496f0fecab.jpg","text":"TemporaryFile(/tmp/multipartBody7845869306319373777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158103741,"filename":"image_26112025_08_12_06_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/26/25d5b4b69661a6f3879aaf28548f7a0b.jpg","text":"TemporaryFile(/tmp/multipartBody950989125493651391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158103741,"filename":"image_26112025_08_12_08_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/26/83ac4365ec2284255f4702bf784ec5e0.jpg","text":"TemporaryFile(/tmp/multipartBody4600477771782270983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158103741,"filename":"image_26112025_08_12_01_5729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396246492","file1":"1396246491","file0":"1396246490","file4":"1396246495","file5":"1396246497","file3":"1396246493"},"map_files_photo_id_array":[{"photo_id":"1396246497","filename":"file5"},{"photo_id":"1396246492","filename":"file2"},{"photo_id":"1396246495","filename":"file4"},{"photo_id":"1396246491","filename":"file1"},{"photo_id":"1396246490","filename":"file0"},{"photo_id":"1396246493","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396246493":["hashtag1","hashtag2"]},{"1396246490":["hashtag1","hashtag2"]},{"1396246492":["hashtag1","hashtag2"]},{"1396246495":["hashtag1","hashtag2"]},{"1396246497":["hashtag1","hashtag2"]},{"1396246491":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396246493, 1396246490, 1396246492, 1396246495, 1396246497, 1396246491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.830443143844604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 12:54:42.263459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_10_2664.jpg', '/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_13_2701.jpg', '/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_16_2657.jpg', '/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_19_3672.jpg', '/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_22_2626.jpg', '/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_25_3158.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_10_2664.jpg
/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_13_2701.jpg
/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_16_2657.jpg
/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_19_3672.jpg
/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_22_2626.jpg
/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_25_3158.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":["1396246515","1396246518","1396246505","1396246520","1396246514","1396246510"],"photo_ids_order":["1396246505","1396246510","1396246514","1396246515","1396246518","1396246520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/21a0f31518643b7edbf47aff1e6bf7b6.jpg","text":"TemporaryFile(/tmp/multipartBody1556815693476675501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158143013,"filename":"image_26112025_08_12_19_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/26/1b3c5fd66dcede660d748134dd971fa7.jpg","text":"TemporaryFile(/tmp/multipartBody5926283252795477167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158143013,"filename":"image_26112025_08_12_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/26/afb445a345a13c4b6684bc9b5f5e55df.jpg","text":"TemporaryFile(/tmp/multipartBody1161953372735000283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158143013,"filename":"image_26112025_08_12_10_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/26/1ef6d7949f7c2a031d4fe6ba21d29cc7.jpg","text":"TemporaryFile(/tmp/multipartBody8867084790177589181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158143013,"filename":"image_26112025_08_12_25_3158.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d6a124d8127a5acfa17938ab7b8214f7.jpg","text":"TemporaryFile(/tmp/multipartBody1430680872468494151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158143013,"filename":"image_26112025_08_12_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/26/6acf13b64b2db14e171600ee039c25f0.jpg","text":"TemporaryFile(/tmp/multipartBody8774043031874642506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158143013,"filename":"image_26112025_08_12_13_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396246514","file1":"1396246510","file0":"1396246505","file4":"1396246518","file5":"1396246520","file3":"1396246515"},"map_files_photo_id_array":[{"photo_id":"1396246520","filename":"file5"},{"photo_id":"1396246514","filename":"file2"},{"photo_id":"1396246518","filename":"file4"},{"photo_id":"1396246510","filename":"file1"},{"photo_id":"1396246505","filename":"file0"},{"photo_id":"1396246515","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396246515":["hashtag1","hashtag2"]},{"1396246518":["hashtag1","hashtag2"]},{"1396246505":["hashtag1","hashtag2"]},{"1396246520":["hashtag1","hashtag2"]},{"1396246514":["hashtag1","hashtag2"]},{"1396246510":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396246515, 1396246518, 1396246505, 1396246520, 1396246514, 1396246510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.503631591796875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:55:22.434222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_28_2752.jpg', '/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_40_12669.jpg', '/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_42_1625.jpg', '/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_44_1630.jpg', '/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_45_1585.jpg', '/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_47_1617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_28_2752.jpg
/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_40_12669.jpg
/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_42_1625.jpg
/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_44_1630.jpg
/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_45_1585.jpg
/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_47_1617.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":["1396246548","1396246533","1396246527","1396246530","1396246538","1396246523"],"photo_ids_order":["1396246523","1396246527","1396246530","1396246533","1396246538","1396246548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9647ef1b607dfe92dd9b021f94eb5523.jpg","text":"TemporaryFile(/tmp/multipartBody3392928232091089491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158183132,"filename":"image_26112025_08_12_47_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/26/4890dcfbd4f4f4a5de6380f2801bf762.jpg","text":"TemporaryFile(/tmp/multipartBody2772095367120474595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158183132,"filename":"image_26112025_08_12_44_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/26/c470b6b457a550e06a6ec4a7be82ec43.jpg","text":"TemporaryFile(/tmp/multipartBody1289427862731517648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158183132,"filename":"image_26112025_08_12_40_12669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/58b44fcea6c1573a6a79249074d06813.jpg","text":"TemporaryFile(/tmp/multipartBody108435538511349250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158183132,"filename":"image_26112025_08_12_42_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/26/203d7d912b5ce857648f77d5b9142b5e.jpg","text":"TemporaryFile(/tmp/multipartBody2407956046129770888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158183132,"filename":"image_26112025_08_12_45_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/26/4f4a37581f4197511df03b1cd79e7a2d.jpg","text":"TemporaryFile(/tmp/multipartBody682513746576371427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158183132,"filename":"image_26112025_08_12_28_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396246530","file1":"1396246527","file0":"1396246523","file4":"1396246538","file5":"1396246548","file3":"1396246533"},"map_files_photo_id_array":[{"photo_id":"1396246548","filename":"file5"},{"photo_id":"1396246530","filename":"file2"},{"photo_id":"1396246538","filename":"file4"},{"photo_id":"1396246527","filename":"file1"},{"photo_id":"1396246523","filename":"file0"},{"photo_id":"1396246533","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396246548":["hashtag1","hashtag2"]},{"1396246533":["hashtag1","hashtag2"]},{"1396246527":["hashtag1","hashtag2"]},{"1396246530":["hashtag1","hashtag2"]},{"1396246538":["hashtag1","hashtag2"]},{"1396246523":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396246548, 1396246533, 1396246527, 1396246530, 1396246538, 1396246523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45731067657471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:56:02.947534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_49_1699.jpg', '/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_50_1558.jpg', '/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_52_1596.jpg', '/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_54_2705.jpg', '/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_58_3593.jpg', '/home/pi/Desktop/images/26112025/08/13/image_26112025_08_13_01_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_49_1699.jpg
/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_50_1558.jpg
/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_52_1596.jpg
/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_54_2705.jpg
/home/pi/Desktop/images/26112025/08/12/image_26112025_08_12_58_3593.jpg
/home/pi/Desktop/images/26112025/08/13/image_26112025_08_13_01_2597.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":["1396246572","1396246586","1396246597","1396246570","1396246594","1396246578"],"photo_ids_order":["1396246570","1396246572","1396246578","1396246586","1396246594","1396246597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0a9a01c00e3cbe0f9dee1aa94bdd9fde.jpg","text":"TemporaryFile(/tmp/multipartBody6392463010780331728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158223683,"filename":"image_26112025_08_12_50_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/26/7fc4ebbbe7fa44b6e7101db4ffa7ca4d.jpg","text":"TemporaryFile(/tmp/multipartBody2132395939405651475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158223683,"filename":"image_26112025_08_12_54_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/313fb380995174c4e13650afff95577f.jpg","text":"TemporaryFile(/tmp/multipartBody4789136437810961450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158223683,"filename":"image_26112025_08_13_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/26/e2059b87e1f5e024dfa854bee25ba596.jpg","text":"TemporaryFile(/tmp/multipartBody2093463512759939307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158223683,"filename":"image_26112025_08_12_49_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/26/5b0e1dca9c02c2d6c29a10c23cf1387c.jpg","text":"TemporaryFile(/tmp/multipartBody771410188167694746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158223683,"filename":"image_26112025_08_12_58_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/26/3e6f1a72e37d17a6a83eda79c701ece5.jpg","text":"TemporaryFile(/tmp/multipartBody3195110467868846807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158223683,"filename":"image_26112025_08_12_52_1596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396246578","file1":"1396246572","file0":"1396246570","file4":"1396246594","file5":"1396246597","file3":"1396246586"},"map_files_photo_id_array":[{"photo_id":"1396246597","filename":"file5"},{"photo_id":"1396246578","filename":"file2"},{"photo_id":"1396246594","filename":"file4"},{"photo_id":"1396246572","filename":"file1"},{"photo_id":"1396246570","filename":"file0"},{"photo_id":"1396246586","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396246572":["hashtag1","hashtag2"]},{"1396246586":["hashtag1","hashtag2"]},{"1396246597":["hashtag1","hashtag2"]},{"1396246570":["hashtag1","hashtag2"]},{"1396246594":["hashtag1","hashtag2"]},{"1396246578":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396246572, 1396246586, 1396246597, 1396246570, 1396246594, 1396246578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3467812538147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 12:56:42.545637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/14/image_26112025_08_14_06_3011.jpg', '/home/pi/Desktop/images/26112025/08/14/image_26112025_08_14_10_3638.jpg', '/home/pi/Desktop/images/26112025/08/14/image_26112025_08_14_14_3994.jpg', '/home/pi/Desktop/images/26112025/08/14/image_26112025_08_14_15_1495.jpg', '/home/pi/Desktop/images/26112025/08/14/image_26112025_08_14_19_3654.jpg', '/home/pi/Desktop/images/26112025/08/14/image_26112025_08_14_22_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/14/image_26112025_08_14_06_3011.jpg
/home/pi/Desktop/images/26112025/08/14/image_26112025_08_14_10_3638.jpg
/home/pi/Desktop/images/26112025/08/14/image_26112025_08_14_14_3994.jpg
/home/pi/Desktop/images/26112025/08/14/image_26112025_08_14_15_1495.jpg
/home/pi/Desktop/images/26112025/08/14/image_26112025_08_14_19_3654.jpg
/home/pi/Desktop/images/26112025/08/14/image_26112025_08_14_22_2652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396246611","1396246608","1396246610","1396246613","1396246612","1396246606"],"photo_ids_order":["1396246606","1396246608","1396246610","1396246611","1396246612","1396246613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/067f5d77852ff71df83d7e6289c504a8.jpg","text":"TemporaryFile(/tmp/multipartBody8304648182427323738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158263241,"filename":"image_26112025_08_14_15_1495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/34cb8ec3abc323def0fa4cd86df34703.jpg","text":"TemporaryFile(/tmp/multipartBody2095183101133160334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158263241,"filename":"image_26112025_08_14_10_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/26/9af1cc2b740534a19c386de821d24ab7.jpg","text":"TemporaryFile(/tmp/multipartBody7906929844169056003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158263241,"filename":"image_26112025_08_14_14_3994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b18fcc7c8a52519fc35a84be5f4a79a0.jpg","text":"TemporaryFile(/tmp/multipartBody3780615323643166550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158263241,"filename":"image_26112025_08_14_22_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/26/8f1b76bcb824536be09a7c5804d5b375.jpg","text":"TemporaryFile(/tmp/multipartBody2594801353406182308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158263241,"filename":"image_26112025_08_14_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/26/010b0aa3c86e8cab3dd10ed2101f38d9.jpg","text":"TemporaryFile(/tmp/multipartBody4068544141360038120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158263241,"filename":"image_26112025_08_14_06_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396246610","file1":"1396246608","file0":"1396246606","file4":"1396246612","file5":"1396246613","file3":"1396246611"},"map_files_photo_id_array":[{"photo_id":"1396246613","filename":"file5"},{"photo_id":"1396246610","filename":"file2"},{"photo_id":"1396246612","filename":"file4"},{"photo_id":"1396246608","filename":"file1"},{"photo_id":"1396246606","filename":"file0"},{"photo_id":"1396246611","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396246611":["hashtag1","hashtag2"]},{"1396246608":["hashtag1","hashtag2"]},{"1396246610":["hashtag1","hashtag2"]},{"1396246613":["hashtag1","hashtag2"]},{"1396246612":["hashtag1","hashtag2"]},{"1396246606":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396246611, 1396246608, 1396246610, 1396246613, 1396246612, 1396246606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.532156467437744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 12:57:22.646091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_07_3012.jpg', '/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_10_3599.jpg', '/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_13_2685.jpg', '/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_17_3560.jpg', '/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_19_2555.jpg', '/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_22_2979.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_07_3012.jpg
/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_10_3599.jpg
/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_13_2685.jpg
/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_17_3560.jpg
/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_19_2555.jpg
/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_22_2979.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":["1396246622","1396246631","1396246625","1396246619","1396246634","1396246628"],"photo_ids_order":["1396246619","1396246622","1396246625","1396246628","1396246631","1396246634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a08fab7ec5a644c43c5811bda9507a16.jpg","text":"TemporaryFile(/tmp/multipartBody8518787522722507827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158303304,"filename":"image_26112025_08_16_10_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/26/14cbed0483c32bcae62cc651886ac50d.jpg","text":"TemporaryFile(/tmp/multipartBody2565800384973188729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158303304,"filename":"image_26112025_08_16_19_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/26/112810ce3c90bdbddc41a003443a0baa.jpg","text":"TemporaryFile(/tmp/multipartBody3070364921400684406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158303304,"filename":"image_26112025_08_16_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/26/b415ad31af462ee33492cb8f919ba1d9.jpg","text":"TemporaryFile(/tmp/multipartBody7504358201319850586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158303304,"filename":"image_26112025_08_16_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/26/c9929c891a4598903c700779859d8e71.jpg","text":"TemporaryFile(/tmp/multipartBody1394133129670322238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158303304,"filename":"image_26112025_08_16_22_2979.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/700d1504988e4999df7f6aa7facc44f2.jpg","text":"TemporaryFile(/tmp/multipartBody1186097625633383946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158303304,"filename":"image_26112025_08_16_17_3560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396246625","file1":"1396246622","file0":"1396246619","file4":"1396246631","file5":"1396246634","file3":"1396246628"},"map_files_photo_id_array":[{"photo_id":"1396246634","filename":"file5"},{"photo_id":"1396246625","filename":"file2"},{"photo_id":"1396246631","filename":"file4"},{"photo_id":"1396246622","filename":"file1"},{"photo_id":"1396246619","filename":"file0"},{"photo_id":"1396246628","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396246622":["hashtag1","hashtag2"]},{"1396246631":["hashtag1","hashtag2"]},{"1396246625":["hashtag1","hashtag2"]},{"1396246619":["hashtag1","hashtag2"]},{"1396246634":["hashtag1","hashtag2"]},{"1396246628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396246622, 1396246631, 1396246625, 1396246619, 1396246634, 1396246628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.7848961353302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 12:59:03.336414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_25_2806.jpg', '/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_29_3654.jpg', '/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_31_2732.jpg', '/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_34_2565.jpg', '/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_37_3494.jpg', '/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_40_2534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_25_2806.jpg
/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_29_3654.jpg
/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_31_2732.jpg
/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_34_2565.jpg
/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_37_3494.jpg
/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_40_2534.jpg
 val : 1 : upload photos already in processing! 
 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":["1396246851","1396247018","1396246925","1396246888","1396246811","1396246975"],"photo_ids_order":["1396246811","1396246851","1396246888","1396246925","1396246975","1396247018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c2a8e8183a4f2f9395c3d68350e67e35.jpg","text":"TemporaryFile(/tmp/multipartBody8706779599757383251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158404288,"filename":"image_26112025_08_16_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/26/870ff92f490b22581fb3f41c5e00ec1c.jpg","text":"TemporaryFile(/tmp/multipartBody6929995343726990491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158404288,"filename":"image_26112025_08_16_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/26/5094a3a8380e731537d0a0b4eaa40f4c.jpg","text":"TemporaryFile(/tmp/multipartBody9170333736500570186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158404288,"filename":"image_26112025_08_16_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/26/b60cec23f1e5cdf58d8bdd97abf18d0f.jpg","text":"TemporaryFile(/tmp/multipartBody2114241161395525417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158404288,"filename":"image_26112025_08_16_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/26/46178e158d8b8ea95b9a1586d2fd3f46.jpg","text":"TemporaryFile(/tmp/multipartBody8696096095518420150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158404288,"filename":"image_26112025_08_16_25_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/26/15f6d23cc4d97532ac265fd22991e05c.jpg","text":"TemporaryFile(/tmp/multipartBody6334744056647745628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158404288,"filename":"image_26112025_08_16_37_3494.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396246888","file1":"1396246851","file0":"1396246811","file4":"1396246975","file5":"1396247018","file3":"1396246925"},"map_files_photo_id_array":[{"photo_id":"1396247018","filename":"file5"},{"photo_id":"1396246888","filename":"file2"},{"photo_id":"1396246975","filename":"file4"},{"photo_id":"1396246851","filename":"file1"},{"photo_id":"1396246811","filename":"file0"},{"photo_id":"1396246925","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396246851":["hashtag1","hashtag2"]},{"1396247018":["hashtag1","hashtag2"]},{"1396246925":["hashtag1","hashtag2"]},{"1396246888":["hashtag1","hashtag2"]},{"1396246811":["hashtag1","hashtag2"]},{"1396246975":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396246851, 1396247018, 1396246925, 1396246888, 1396246811, 1396246975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.392202615737915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 13:00:02.960775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_44_3633.jpg', '/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_46_2609.jpg', '/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_49_2762.jpg', '/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_53_3653.jpg', '/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_55_2684.jpg', '/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_58_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_44_3633.jpg
/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_46_2609.jpg
/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_49_2762.jpg
/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_53_3653.jpg
/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_55_2684.jpg
/home/pi/Desktop/images/26112025/08/16/image_26112025_08_16_58_2733.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":["1396247174","1396247252","1396247482","1396247338","1396247410","1396247200"],"photo_ids_order":["1396247174","1396247200","1396247252","1396247338","1396247410","1396247482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fc16da1ba33edb687c8dd3222b46744e.jpg","text":"TemporaryFile(/tmp/multipartBody9133543435172360668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158463674,"filename":"image_26112025_08_16_44_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/26/8528fc46889cbaceba7155570a1e361b.jpg","text":"TemporaryFile(/tmp/multipartBody2047456786339025241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158463674,"filename":"image_26112025_08_16_49_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/26/65506654033c48c77fcc399d41481571.jpg","text":"TemporaryFile(/tmp/multipartBody1416751430028757543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158463674,"filename":"image_26112025_08_16_58_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/26/987a5d33a3c382a83f29ec6a13e4f1a4.jpg","text":"TemporaryFile(/tmp/multipartBody813711580235087384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158463674,"filename":"image_26112025_08_16_53_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/26/15d9f800194bf7b385e6ffe7caf223eb.jpg","text":"TemporaryFile(/tmp/multipartBody2575915338481655363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158463674,"filename":"image_26112025_08_16_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/26/61986bf85343691ec11305f760065b2c.jpg","text":"TemporaryFile(/tmp/multipartBody8354159140752858282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158463674,"filename":"image_26112025_08_16_46_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396247252","file1":"1396247200","file0":"1396247174","file4":"1396247410","file5":"1396247482","file3":"1396247338"},"map_files_photo_id_array":[{"photo_id":"1396247482","filename":"file5"},{"photo_id":"1396247252","filename":"file2"},{"photo_id":"1396247410","filename":"file4"},{"photo_id":"1396247200","filename":"file1"},{"photo_id":"1396247174","filename":"file0"},{"photo_id":"1396247338","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396247174":["hashtag1","hashtag2"]},{"1396247252":["hashtag1","hashtag2"]},{"1396247482":["hashtag1","hashtag2"]},{"1396247338":["hashtag1","hashtag2"]},{"1396247410":["hashtag1","hashtag2"]},{"1396247200":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396247174, 1396247252, 1396247482, 1396247338, 1396247410, 1396247200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.303717374801636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 13:00:42.501416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/17/image_26112025_08_17_02_3648.jpg', '/home/pi/Desktop/images/26112025/08/17/image_26112025_08_17_04_2603.jpg', '/home/pi/Desktop/images/26112025/08/17/image_26112025_08_17_11_3655.jpg', '/home/pi/Desktop/images/26112025/08/17/image_26112025_08_17_13_2604.jpg', '/home/pi/Desktop/images/26112025/08/17/image_26112025_08_17_16_2679.jpg', '/home/pi/Desktop/images/26112025/08/17/image_26112025_08_17_20_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/17/image_26112025_08_17_02_3648.jpg
/home/pi/Desktop/images/26112025/08/17/image_26112025_08_17_04_2603.jpg
/home/pi/Desktop/images/26112025/08/17/image_26112025_08_17_11_3655.jpg
/home/pi/Desktop/images/26112025/08/17/image_26112025_08_17_13_2604.jpg
/home/pi/Desktop/images/26112025/08/17/image_26112025_08_17_16_2679.jpg
/home/pi/Desktop/images/26112025/08/17/image_26112025_08_17_20_3618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396247861","1396247715","1396247909","1396247667","1396247769","1396247820"],"photo_ids_order":["1396247667","1396247715","1396247769","1396247820","1396247861","1396247909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f7a7e11db0cbdb093feedb033ec0a20b.jpg","text":"TemporaryFile(/tmp/multipartBody2258764412906967710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158503158,"filename":"image_26112025_08_17_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/26/f156caf049c8f261fe5066654140ef7b.jpg","text":"TemporaryFile(/tmp/multipartBody1941485253428077095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158503158,"filename":"image_26112025_08_17_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/26/6e2701e9ee0781b648e1b90013325d31.jpg","text":"TemporaryFile(/tmp/multipartBody2893876132881621899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158503158,"filename":"image_26112025_08_17_20_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a2775465ba371d7f30992408e1e99871.jpg","text":"TemporaryFile(/tmp/multipartBody7203927414470622417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158503158,"filename":"image_26112025_08_17_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/26/170687a839c7fd22f20112d4281e91a9.jpg","text":"TemporaryFile(/tmp/multipartBody7435847203172050408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158503158,"filename":"image_26112025_08_17_11_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/26/a0bc84d3fb9d28f79abbd1d4b2b8ace7.jpg","text":"TemporaryFile(/tmp/multipartBody776868304943834595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158503158,"filename":"image_26112025_08_17_13_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396247769","file1":"1396247715","file0":"1396247667","file4":"1396247861","file5":"1396247909","file3":"1396247820"},"map_files_photo_id_array":[{"photo_id":"1396247909","filename":"file5"},{"photo_id":"1396247769","filename":"file2"},{"photo_id":"1396247861","filename":"file4"},{"photo_id":"1396247715","filename":"file1"},{"photo_id":"1396247667","filename":"file0"},{"photo_id":"1396247820","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396247861":["hashtag1","hashtag2"]},{"1396247715":["hashtag1","hashtag2"]},{"1396247909":["hashtag1","hashtag2"]},{"1396247667":["hashtag1","hashtag2"]},{"1396247769":["hashtag1","hashtag2"]},{"1396247820":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396247861, 1396247715, 1396247909, 1396247667, 1396247769, 1396247820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93192720413208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:01:22.794315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/18/image_26112025_08_18_07_3015.jpg', '/home/pi/Desktop/images/26112025/08/18/image_26112025_08_18_11_3595.jpg', '/home/pi/Desktop/images/26112025/08/18/image_26112025_08_18_14_2719.jpg', '/home/pi/Desktop/images/26112025/08/18/image_26112025_08_18_16_2674.jpg', '/home/pi/Desktop/images/26112025/08/18/image_26112025_08_18_20_3558.jpg', '/home/pi/Desktop/images/26112025/08/18/image_26112025_08_18_22_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/18/image_26112025_08_18_07_3015.jpg
/home/pi/Desktop/images/26112025/08/18/image_26112025_08_18_11_3595.jpg
/home/pi/Desktop/images/26112025/08/18/image_26112025_08_18_14_2719.jpg
/home/pi/Desktop/images/26112025/08/18/image_26112025_08_18_16_2674.jpg
/home/pi/Desktop/images/26112025/08/18/image_26112025_08_18_20_3558.jpg
/home/pi/Desktop/images/26112025/08/18/image_26112025_08_18_22_2648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396248056","1396248047","1396248049","1396248051","1396248060","1396248054"],"photo_ids_order":["1396248047","1396248049","1396248051","1396248054","1396248056","1396248060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8a7dcd696af0d53a8a35a30d1be7ca8d.jpg","text":"TemporaryFile(/tmp/multipartBody7954887507503554633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158543511,"filename":"image_26112025_08_18_20_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/26/fc5539ea9deefe8a61767f6e5aba8987.jpg","text":"TemporaryFile(/tmp/multipartBody2086018423748038923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158543511,"filename":"image_26112025_08_18_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/26/f9fcb9c065cb8125cf9053fcf6612860.jpg","text":"TemporaryFile(/tmp/multipartBody7639388774282583333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158543511,"filename":"image_26112025_08_18_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/26/848c6a4d7eac0f487ff05e5ecb6d704b.jpg","text":"TemporaryFile(/tmp/multipartBody6070294699592765120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158543511,"filename":"image_26112025_08_18_14_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/26/79425f6962b31e4960521c22ef30c353.jpg","text":"TemporaryFile(/tmp/multipartBody149842233462144498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158543511,"filename":"image_26112025_08_18_22_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/26/0bd1e622985d3a4b1c7df5068c4cad15.jpg","text":"TemporaryFile(/tmp/multipartBody3224253037937743920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158543511,"filename":"image_26112025_08_18_16_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396248051","file1":"1396248049","file0":"1396248047","file4":"1396248056","file5":"1396248060","file3":"1396248054"},"map_files_photo_id_array":[{"photo_id":"1396248060","filename":"file5"},{"photo_id":"1396248051","filename":"file2"},{"photo_id":"1396248056","filename":"file4"},{"photo_id":"1396248049","filename":"file1"},{"photo_id":"1396248047","filename":"file0"},{"photo_id":"1396248054","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396248056":["hashtag1","hashtag2"]},{"1396248047":["hashtag1","hashtag2"]},{"1396248049":["hashtag1","hashtag2"]},{"1396248051":["hashtag1","hashtag2"]},{"1396248060":["hashtag1","hashtag2"]},{"1396248054":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396248056, 1396248047, 1396248049, 1396248051, 1396248060, 1396248054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63127541542053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 13:02:02.333962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 13:02:11.868288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/18/image_26112025_08_18_29_2850.jpg', '/home/pi/Desktop/images/26112025/08/18/image_26112025_08_18_32_2656.jpg', '/home/pi/Desktop/images/26112025/08/18/image_26112025_08_18_34_2728.jpg', '/home/pi/Desktop/images/26112025/08/18/image_26112025_08_18_38_3643.jpg', '/home/pi/Desktop/images/26112025/08/18/image_26112025_08_18_41_2664.jpg', '/home/pi/Desktop/images/26112025/08/18/image_26112025_08_18_43_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/18/image_26112025_08_18_29_2850.jpg
/home/pi/Desktop/images/26112025/08/18/image_26112025_08_18_32_2656.jpg
/home/pi/Desktop/images/26112025/08/18/image_26112025_08_18_34_2728.jpg
/home/pi/Desktop/images/26112025/08/18/image_26112025_08_18_38_3643.jpg
/home/pi/Desktop/images/26112025/08/18/image_26112025_08_18_41_2664.jpg
/home/pi/Desktop/images/26112025/08/18/image_26112025_08_18_43_2575.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":["1396248263","1396248172","1396248243","1396248207","1396248299","1396248266"],"photo_ids_order":["1396248172","1396248207","1396248243","1396248263","1396248266","1396248299"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c234b30701d24ca967c910da28980bd3.jpg","text":"TemporaryFile(/tmp/multipartBody1437244752741809726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158592581,"filename":"image_26112025_08_18_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/26/8198cc6b65cef7cec3f362ff2defcefd.jpg","text":"TemporaryFile(/tmp/multipartBody1534641499015792858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158592581,"filename":"image_26112025_08_18_29_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/26/31eb1491e5f48ea52625af83d3802fd3.jpg","text":"TemporaryFile(/tmp/multipartBody7927149042486091693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158592581,"filename":"image_26112025_08_18_34_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f3568566d8354d6e0483c85285b91bb3.jpg","text":"TemporaryFile(/tmp/multipartBody5945440927897147588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158592581,"filename":"image_26112025_08_18_32_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/26/f35465bad9454773afffe75ce775940d.jpg","text":"TemporaryFile(/tmp/multipartBody4044088139107498778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158592581,"filename":"image_26112025_08_18_43_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/26/c934aba5485b54239a49e19211001a46.jpg","text":"TemporaryFile(/tmp/multipartBody3082151873946207447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158592581,"filename":"image_26112025_08_18_41_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396248243","file1":"1396248207","file0":"1396248172","file4":"1396248266","file5":"1396248299","file3":"1396248263"},"map_files_photo_id_array":[{"photo_id":"1396248299","filename":"file5"},{"photo_id":"1396248243","filename":"file2"},{"photo_id":"1396248266","filename":"file4"},{"photo_id":"1396248207","filename":"file1"},{"photo_id":"1396248172","filename":"file0"},{"photo_id":"1396248263","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396248263":["hashtag1","hashtag2"]},{"1396248172":["hashtag1","hashtag2"]},{"1396248243":["hashtag1","hashtag2"]},{"1396248207":["hashtag1","hashtag2"]},{"1396248299":["hashtag1","hashtag2"]},{"1396248266":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396248263, 1396248172, 1396248243, 1396248207, 1396248299, 1396248266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49403524398804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 13:03:13.818690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/21/image_26112025_08_21_06_3011.jpg', '/home/pi/Desktop/images/26112025/08/21/image_26112025_08_21_19_2711.jpg', '/home/pi/Desktop/images/26112025/08/21/image_26112025_08_21_22_2757.jpg', '/home/pi/Desktop/images/26112025/08/21/image_26112025_08_21_24_2627.jpg', '/home/pi/Desktop/images/26112025/08/21/image_26112025_08_21_28_3639.jpg', '/home/pi/Desktop/images/26112025/08/21/image_26112025_08_21_31_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/21/image_26112025_08_21_06_3011.jpg
/home/pi/Desktop/images/26112025/08/21/image_26112025_08_21_19_2711.jpg
/home/pi/Desktop/images/26112025/08/21/image_26112025_08_21_22_2757.jpg
/home/pi/Desktop/images/26112025/08/21/image_26112025_08_21_24_2627.jpg
/home/pi/Desktop/images/26112025/08/21/image_26112025_08_21_28_3639.jpg
/home/pi/Desktop/images/26112025/08/21/image_26112025_08_21_31_2645.jpg
 val : 1 : upload photos already in processing! 
 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":["1396248352","1396248346","1396248355","1396248349","1396248340","1396248342"],"photo_ids_order":["1396248340","1396248342","1396248346","1396248349","1396248352","1396248355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c62a5f96317b8770dceafe33e35dd8d4.jpg","text":"TemporaryFile(/tmp/multipartBody6224253998163567877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158656897,"filename":"image_26112025_08_21_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/26/f7d995040c1898e4f581e3afe839275e.jpg","text":"TemporaryFile(/tmp/multipartBody5157209635302980319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158656897,"filename":"image_26112025_08_21_22_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/26/97581ac87795a1d35ab6be2a0b9a3818.jpg","text":"TemporaryFile(/tmp/multipartBody253941242896819033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158656897,"filename":"image_26112025_08_21_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/26/cc41782609e1d95e11d2217e573cdf87.jpg","text":"TemporaryFile(/tmp/multipartBody5257609064445824352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158656897,"filename":"image_26112025_08_21_24_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/26/ff32650d690e88dc6b094eac2d5282ec.jpg","text":"TemporaryFile(/tmp/multipartBody2966476700177322531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158656897,"filename":"image_26112025_08_21_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/26/94f4e6b27b3737bb9d38b5241c3127da.jpg","text":"TemporaryFile(/tmp/multipartBody6903449748406608205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158656897,"filename":"image_26112025_08_21_19_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396248346","file1":"1396248342","file0":"1396248340","file4":"1396248352","file5":"1396248355","file3":"1396248349"},"map_files_photo_id_array":[{"photo_id":"1396248355","filename":"file5"},{"photo_id":"1396248346","filename":"file2"},{"photo_id":"1396248352","filename":"file4"},{"photo_id":"1396248342","filename":"file1"},{"photo_id":"1396248340","filename":"file0"},{"photo_id":"1396248349","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396248352":["hashtag1","hashtag2"]},{"1396248346":["hashtag1","hashtag2"]},{"1396248355":["hashtag1","hashtag2"]},{"1396248349":["hashtag1","hashtag2"]},{"1396248340":["hashtag1","hashtag2"]},{"1396248342":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396248352, 1396248346, 1396248355, 1396248349, 1396248340, 1396248342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42181038856506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 13:04:03.066208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/21/image_26112025_08_21_33_2685.jpg', '/home/pi/Desktop/images/26112025/08/21/image_26112025_08_21_37_3505.jpg', '/home/pi/Desktop/images/26112025/08/21/image_26112025_08_21_43_3610.jpg', '/home/pi/Desktop/images/26112025/08/21/image_26112025_08_21_45_2598.jpg', '/home/pi/Desktop/images/26112025/08/21/image_26112025_08_21_49_3675.jpg', '/home/pi/Desktop/images/26112025/08/22/image_26112025_08_22_01_6229.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/21/image_26112025_08_21_33_2685.jpg
/home/pi/Desktop/images/26112025/08/21/image_26112025_08_21_37_3505.jpg
/home/pi/Desktop/images/26112025/08/21/image_26112025_08_21_43_3610.jpg
/home/pi/Desktop/images/26112025/08/21/image_26112025_08_21_45_2598.jpg
/home/pi/Desktop/images/26112025/08/21/image_26112025_08_21_49_3675.jpg
/home/pi/Desktop/images/26112025/08/22/image_26112025_08_22_01_6229.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":["1396248416","1396248361","1396248453","1396248360","1396248383","1396248491"],"photo_ids_order":["1396248360","1396248361","1396248383","1396248416","1396248453","1396248491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6bcc12b3a6ea652f03c034715921db39.jpg","text":"TemporaryFile(/tmp/multipartBody3313459125730541374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158703809,"filename":"image_26112025_08_21_45_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/26/c995b76cc0ab23266e308f0ece3723c6.jpg","text":"TemporaryFile(/tmp/multipartBody1429727440795585771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158703809,"filename":"image_26112025_08_21_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/26/642fbfbb1fe7fbbf9963de4a228fd2ad.jpg","text":"TemporaryFile(/tmp/multipartBody2637679241254742297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158703809,"filename":"image_26112025_08_21_49_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/26/d3079af92f537ebd15e6d6d9daa0c3eb.jpg","text":"TemporaryFile(/tmp/multipartBody4702410986000298148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158703809,"filename":"image_26112025_08_21_33_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/26/d56a5d3083bf77ce640a9ce689b6a2b6.jpg","text":"TemporaryFile(/tmp/multipartBody2162979799624284409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158703809,"filename":"image_26112025_08_21_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/26/d1153be393cc2e6cc2de1f393d8c702b.jpg","text":"TemporaryFile(/tmp/multipartBody3415801698149849221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158703809,"filename":"image_26112025_08_22_01_6229.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396248383","file1":"1396248361","file0":"1396248360","file4":"1396248453","file5":"1396248491","file3":"1396248416"},"map_files_photo_id_array":[{"photo_id":"1396248491","filename":"file5"},{"photo_id":"1396248383","filename":"file2"},{"photo_id":"1396248453","filename":"file4"},{"photo_id":"1396248361","filename":"file1"},{"photo_id":"1396248360","filename":"file0"},{"photo_id":"1396248416","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396248416":["hashtag1","hashtag2"]},{"1396248361":["hashtag1","hashtag2"]},{"1396248453":["hashtag1","hashtag2"]},{"1396248360":["hashtag1","hashtag2"]},{"1396248383":["hashtag1","hashtag2"]},{"1396248491":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396248416, 1396248361, 1396248453, 1396248360, 1396248383, 1396248491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43888783454895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 13:04:42.233127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/22/image_26112025_08_22_23_3297.jpg', '/home/pi/Desktop/images/26112025/08/22/image_26112025_08_22_37_1752.jpg', '/home/pi/Desktop/images/26112025/08/22/image_26112025_08_22_40_1547.jpg', '/home/pi/Desktop/images/26112025/08/22/image_26112025_08_22_43_2703.jpg', '/home/pi/Desktop/images/26112025/08/22/image_26112025_08_22_51_2672.jpg', '/home/pi/Desktop/images/26112025/08/22/image_26112025_08_22_55_3057.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/22/image_26112025_08_22_23_3297.jpg
/home/pi/Desktop/images/26112025/08/22/image_26112025_08_22_37_1752.jpg
/home/pi/Desktop/images/26112025/08/22/image_26112025_08_22_40_1547.jpg
/home/pi/Desktop/images/26112025/08/22/image_26112025_08_22_43_2703.jpg
/home/pi/Desktop/images/26112025/08/22/image_26112025_08_22_51_2672.jpg
/home/pi/Desktop/images/26112025/08/22/image_26112025_08_22_55_3057.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396248827","1396248790","1396248679","1396248717","1396248639","1396248755"],"photo_ids_order":["1396248639","1396248679","1396248717","1396248755","1396248790","1396248827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1a7fa15ded79f83ff28f10b6523b9290.jpg","text":"TemporaryFile(/tmp/multipartBody1322055909039753578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158742897,"filename":"image_26112025_08_22_55_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/26/db9ec376703edb882fa42707cb632632.jpg","text":"TemporaryFile(/tmp/multipartBody3679083060996208648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158742897,"filename":"image_26112025_08_22_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/26/4c23ab82d5d1a3e1879d911879e0b862.jpg","text":"TemporaryFile(/tmp/multipartBody3347390524463704999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158742897,"filename":"image_26112025_08_22_37_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/26/782bb3e23150d766cb5099a1f31bf060.jpg","text":"TemporaryFile(/tmp/multipartBody7139325558251792201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158742897,"filename":"image_26112025_08_22_40_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/26/6a1500a58dc3184afb052ce76d1622d2.jpg","text":"TemporaryFile(/tmp/multipartBody5047435836946389635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158742897,"filename":"image_26112025_08_22_23_3297.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0017e3ecc5ec3f9704c1e3f511182817.jpg","text":"TemporaryFile(/tmp/multipartBody1256526701150440032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158742897,"filename":"image_26112025_08_22_43_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396248717","file1":"1396248679","file0":"1396248639","file4":"1396248790","file5":"1396248827","file3":"1396248755"},"map_files_photo_id_array":[{"photo_id":"1396248827","filename":"file5"},{"photo_id":"1396248717","filename":"file2"},{"photo_id":"1396248790","filename":"file4"},{"photo_id":"1396248679","filename":"file1"},{"photo_id":"1396248639","filename":"file0"},{"photo_id":"1396248755","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396248827":["hashtag1","hashtag2"]},{"1396248790":["hashtag1","hashtag2"]},{"1396248679":["hashtag1","hashtag2"]},{"1396248717":["hashtag1","hashtag2"]},{"1396248639":["hashtag1","hashtag2"]},{"1396248755":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396248827, 1396248790, 1396248679, 1396248717, 1396248639, 1396248755)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 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 = 1396248717 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26112025/08/22/image_26112025_08_22_40_1547.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 59.60791206359863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 13:05:50.545360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/22/image_26112025_08_22_57_2689.jpg', '/home/pi/Desktop/images/26112025/08/23/image_26112025_08_23_09_2691.jpg', '/home/pi/Desktop/images/26112025/08/23/image_26112025_08_23_12_2789.jpg', '/home/pi/Desktop/images/26112025/08/23/image_26112025_08_23_22_6210.jpg', '/home/pi/Desktop/images/26112025/08/23/image_26112025_08_23_23_1528.jpg', '/home/pi/Desktop/images/26112025/08/23/image_26112025_08_23_34_1710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/22/image_26112025_08_22_57_2689.jpg
/home/pi/Desktop/images/26112025/08/23/image_26112025_08_23_09_2691.jpg
/home/pi/Desktop/images/26112025/08/23/image_26112025_08_23_12_2789.jpg
/home/pi/Desktop/images/26112025/08/23/image_26112025_08_23_22_6210.jpg
/home/pi/Desktop/images/26112025/08/23/image_26112025_08_23_23_1528.jpg
/home/pi/Desktop/images/26112025/08/23/image_26112025_08_23_34_1710.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":["1396249223","1396249219","1396249213","1396249222","1396249221","1396249218"],"photo_ids_order":["1396249213","1396249218","1396249219","1396249221","1396249222","1396249223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e17edb14a146c234bff35c458413397a.jpg","text":"TemporaryFile(/tmp/multipartBody4241645462294065469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158811181,"filename":"image_26112025_08_23_34_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/23f7a177a3af9874722307f445c2256b.jpg","text":"TemporaryFile(/tmp/multipartBody8072352794668814372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158811181,"filename":"image_26112025_08_23_12_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/26/80a8a63ad3106ebe7f2e4cf057dec206.jpg","text":"TemporaryFile(/tmp/multipartBody9198756091740075431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158811181,"filename":"image_26112025_08_22_57_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/26/7ebcdb340bb47a6b7d060d5c7ca8ac04.jpg","text":"TemporaryFile(/tmp/multipartBody2504279043517067390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158811181,"filename":"image_26112025_08_23_23_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/26/14c35cc425101db271e93d73ed421a4f.jpg","text":"TemporaryFile(/tmp/multipartBody5129110845353930300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158811181,"filename":"image_26112025_08_23_22_6210.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2c41dd6c991bb954db425778babcc50e.jpg","text":"TemporaryFile(/tmp/multipartBody3753998388866898541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158811181,"filename":"image_26112025_08_23_09_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396249219","file1":"1396249218","file0":"1396249213","file4":"1396249222","file5":"1396249223","file3":"1396249221"},"map_files_photo_id_array":[{"photo_id":"1396249223","filename":"file5"},{"photo_id":"1396249219","filename":"file2"},{"photo_id":"1396249222","filename":"file4"},{"photo_id":"1396249218","filename":"file1"},{"photo_id":"1396249213","filename":"file0"},{"photo_id":"1396249221","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396249223":["hashtag1","hashtag2"]},{"1396249219":["hashtag1","hashtag2"]},{"1396249213":["hashtag1","hashtag2"]},{"1396249222":["hashtag1","hashtag2"]},{"1396249221":["hashtag1","hashtag2"]},{"1396249218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396249223, 1396249219, 1396249213, 1396249222, 1396249221, 1396249218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26091384887695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:06:32.146369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/23/image_26112025_08_23_37_1574.jpg', '/home/pi/Desktop/images/26112025/08/23/image_26112025_08_23_39_1698.jpg', '/home/pi/Desktop/images/26112025/08/23/image_26112025_08_23_45_2696.jpg', '/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_07_3011.jpg', '/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_22_1642.jpg', '/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_26_3754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/23/image_26112025_08_23_37_1574.jpg
/home/pi/Desktop/images/26112025/08/23/image_26112025_08_23_39_1698.jpg
/home/pi/Desktop/images/26112025/08/23/image_26112025_08_23_45_2696.jpg
/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_07_3011.jpg
/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_22_1642.jpg
/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_26_3754.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":["1396249415","1396249372","1396249450","1396249464","1396249446","1396249314"],"photo_ids_order":["1396249314","1396249372","1396249415","1396249446","1396249450","1396249464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fad42cc95f2192d77ffaf67a62ca0485.jpg","text":"TemporaryFile(/tmp/multipartBody236540204192201200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158852823,"filename":"image_26112025_08_23_45_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/26/4da0ce7c23dbccf65b71d84c65026b36.jpg","text":"TemporaryFile(/tmp/multipartBody5860552806855224567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158852823,"filename":"image_26112025_08_23_39_1698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/21cbdc6d16f395ab65fb8d8796915987.jpg","text":"TemporaryFile(/tmp/multipartBody4868536435902522743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158852823,"filename":"image_26112025_08_25_22_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/26/2ede96c8e10e528722f372bd980b2cf1.jpg","text":"TemporaryFile(/tmp/multipartBody4290523238856358993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158852823,"filename":"image_26112025_08_25_26_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/26/3859c0d1b87b6bde7e16ab681b02e02b.jpg","text":"TemporaryFile(/tmp/multipartBody8439875849282131278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158852823,"filename":"image_26112025_08_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/26/aed2d5f77a7167b404da5a543efa1358.jpg","text":"TemporaryFile(/tmp/multipartBody4557918823477625312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158852823,"filename":"image_26112025_08_23_37_1574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396249415","file1":"1396249372","file0":"1396249314","file4":"1396249450","file5":"1396249464","file3":"1396249446"},"map_files_photo_id_array":[{"photo_id":"1396249464","filename":"file5"},{"photo_id":"1396249415","filename":"file2"},{"photo_id":"1396249450","filename":"file4"},{"photo_id":"1396249372","filename":"file1"},{"photo_id":"1396249314","filename":"file0"},{"photo_id":"1396249446","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396249415":["hashtag1","hashtag2"]},{"1396249372":["hashtag1","hashtag2"]},{"1396249450":["hashtag1","hashtag2"]},{"1396249464":["hashtag1","hashtag2"]},{"1396249446":["hashtag1","hashtag2"]},{"1396249314":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396249415, 1396249372, 1396249450, 1396249464, 1396249446, 1396249314)","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: 50.49555230140686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:07:32.253504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_28_2608.jpg', '/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_31_2567.jpg', '/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_34_3565.jpg', '/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_40_2833.jpg', '/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_43_3704.jpg', '/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_46_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_28_2608.jpg
/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_31_2567.jpg
/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_34_3565.jpg
/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_40_2833.jpg
/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_43_3704.jpg
/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_46_2620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396249588","1396249586","1396249571","1396249589","1396249580","1396249583"],"photo_ids_order":["1396249571","1396249580","1396249583","1396249586","1396249588","1396249589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/afc6594d9d0acdc59fad120a97601ace.jpg","text":"TemporaryFile(/tmp/multipartBody3687305939297438287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158912916,"filename":"image_26112025_08_25_43_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/26/b42e7eca3584e2015f6b5b9b5ba68598.jpg","text":"TemporaryFile(/tmp/multipartBody1462532202966487386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158912916,"filename":"image_26112025_08_25_40_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/26/a5a1a39705fc8be8e2dbdd095cb6629a.jpg","text":"TemporaryFile(/tmp/multipartBody8389403724937442770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158912916,"filename":"image_26112025_08_25_28_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/26/36b6a6add45a58e080d72253f29bc4a1.jpg","text":"TemporaryFile(/tmp/multipartBody4818829577731050348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158912916,"filename":"image_26112025_08_25_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/26/1e9cf1cd2eff0588df2fdf6fcd8ca208.jpg","text":"TemporaryFile(/tmp/multipartBody4345915013089598182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158912916,"filename":"image_26112025_08_25_31_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/61f3c8aabf1521d237bddb3b2bd6e764.jpg","text":"TemporaryFile(/tmp/multipartBody5618578441661202273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764158912916,"filename":"image_26112025_08_25_34_3565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396249583","file1":"1396249580","file0":"1396249571","file4":"1396249588","file5":"1396249589","file3":"1396249586"},"map_files_photo_id_array":[{"photo_id":"1396249589","filename":"file5"},{"photo_id":"1396249583","filename":"file2"},{"photo_id":"1396249588","filename":"file4"},{"photo_id":"1396249580","filename":"file1"},{"photo_id":"1396249571","filename":"file0"},{"photo_id":"1396249586","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396249588":["hashtag1","hashtag2"]},{"1396249586":["hashtag1","hashtag2"]},{"1396249571":["hashtag1","hashtag2"]},{"1396249589":["hashtag1","hashtag2"]},{"1396249580":["hashtag1","hashtag2"]},{"1396249583":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396249588, 1396249586, 1396249571, 1396249589, 1396249580, 1396249583)","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 = 1396249583 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_34_3565.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1396249583 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_34_3565.jpg";
uploaded 6 photos
time to upload: 84.61222290992737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 13:09:02.959676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:09:22.233923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_28_2608.jpg', '/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_31_2567.jpg', '/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_34_3565.jpg', '/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_40_2833.jpg', '/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_43_3704.jpg', '/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_46_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_28_2608.jpg
/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_31_2567.jpg
/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_34_3565.jpg
/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_40_2833.jpg
/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_43_3704.jpg
/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_46_2620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396249689","1396249674","1396249677","1396249685","1396249679","1396249682"],"photo_ids_order":["1396249674","1396249677","1396249679","1396249682","1396249685","1396249689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3d6bab9add27b4371c913bab00e9f152.jpg","text":"TemporaryFile(/tmp/multipartBody7931994048242881666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159023697,"filename":"image_26112025_08_25_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/26/1959ccbeca3d5cade6a8b031a988e056.jpg","text":"TemporaryFile(/tmp/multipartBody9222074140305662503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159023697,"filename":"image_26112025_08_25_28_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/26/2b93ce7962783333d9861cb06ac8ac74.jpg","text":"TemporaryFile(/tmp/multipartBody1588523048994760043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159023697,"filename":"image_26112025_08_25_31_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5fe09128397e67e5288e2fe385286fd8.jpg","text":"TemporaryFile(/tmp/multipartBody7307419476211395816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159023697,"filename":"image_26112025_08_25_43_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/26/55ba428ce4859c2f21d23ae87dc562af.jpg","text":"TemporaryFile(/tmp/multipartBody6638369003321826904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159023697,"filename":"image_26112025_08_25_34_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/26/ff60a7012769ecddcdb98aac55fa5bfa.jpg","text":"TemporaryFile(/tmp/multipartBody1326729687271467854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159023697,"filename":"image_26112025_08_25_40_2833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396249679","file1":"1396249677","file0":"1396249674","file4":"1396249685","file5":"1396249689","file3":"1396249682"},"map_files_photo_id_array":[{"photo_id":"1396249689","filename":"file5"},{"photo_id":"1396249679","filename":"file2"},{"photo_id":"1396249685","filename":"file4"},{"photo_id":"1396249677","filename":"file1"},{"photo_id":"1396249674","filename":"file0"},{"photo_id":"1396249682","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396249689":["hashtag1","hashtag2"]},{"1396249674":["hashtag1","hashtag2"]},{"1396249677":["hashtag1","hashtag2"]},{"1396249685":["hashtag1","hashtag2"]},{"1396249679":["hashtag1","hashtag2"]},{"1396249682":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396249689, 1396249674, 1396249677, 1396249685, 1396249679, 1396249682)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.23784637451172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:10:12.556283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_58_2647.jpg', '/home/pi/Desktop/images/26112025/08/26/image_26112025_08_26_02_3691.jpg', '/home/pi/Desktop/images/26112025/08/26/image_26112025_08_26_04_2762.jpg', '/home/pi/Desktop/images/26112025/08/26/image_26112025_08_26_07_2565.jpg', '/home/pi/Desktop/images/26112025/08/26/image_26112025_08_26_11_3675.jpg', '/home/pi/Desktop/images/26112025/08/26/image_26112025_08_26_19_3112.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/25/image_26112025_08_25_58_2647.jpg
/home/pi/Desktop/images/26112025/08/26/image_26112025_08_26_02_3691.jpg
/home/pi/Desktop/images/26112025/08/26/image_26112025_08_26_04_2762.jpg
/home/pi/Desktop/images/26112025/08/26/image_26112025_08_26_07_2565.jpg
/home/pi/Desktop/images/26112025/08/26/image_26112025_08_26_11_3675.jpg
/home/pi/Desktop/images/26112025/08/26/image_26112025_08_26_19_3112.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":["1396249726","1396249729","1396249723","1396249733","1396249721","1396249718"],"photo_ids_order":["1396249718","1396249721","1396249723","1396249726","1396249729","1396249733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ee69f1e019c1b1eecf56c6a16270a638.jpg","text":"TemporaryFile(/tmp/multipartBody2274928317521831800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159073200,"filename":"image_26112025_08_26_07_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/26/90a28ea64d15c7884c2e72c457144ef1.jpg","text":"TemporaryFile(/tmp/multipartBody3021733051907709425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159073200,"filename":"image_26112025_08_26_11_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/26/f643231fcfdcb805ac87dd65275af2e8.jpg","text":"TemporaryFile(/tmp/multipartBody2327199912915861213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159073200,"filename":"image_26112025_08_26_04_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/26/856aafcd90bfb4e0d16c0b4af51c5a81.jpg","text":"TemporaryFile(/tmp/multipartBody637970141851278354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159073200,"filename":"image_26112025_08_26_19_3112.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f66f90cfb02b8b74eb77f24c388786d6.jpg","text":"TemporaryFile(/tmp/multipartBody7681702401196005047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159073200,"filename":"image_26112025_08_26_02_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/26/a6364ccd85836fdd677785a611e32ae9.jpg","text":"TemporaryFile(/tmp/multipartBody7632690571995142080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159073200,"filename":"image_26112025_08_25_58_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396249723","file1":"1396249721","file0":"1396249718","file4":"1396249729","file5":"1396249733","file3":"1396249726"},"map_files_photo_id_array":[{"photo_id":"1396249733","filename":"file5"},{"photo_id":"1396249723","filename":"file2"},{"photo_id":"1396249729","filename":"file4"},{"photo_id":"1396249721","filename":"file1"},{"photo_id":"1396249718","filename":"file0"},{"photo_id":"1396249726","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396249726":["hashtag1","hashtag2"]},{"1396249729":["hashtag1","hashtag2"]},{"1396249723":["hashtag1","hashtag2"]},{"1396249733":["hashtag1","hashtag2"]},{"1396249721":["hashtag1","hashtag2"]},{"1396249718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396249726, 1396249729, 1396249723, 1396249733, 1396249721, 1396249718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.762869119644165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 13:11:03.314351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 13:11:12.638693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/26/image_26112025_08_26_22_3615.jpg', '/home/pi/Desktop/images/26112025/08/26/image_26112025_08_26_25_2604.jpg', '/home/pi/Desktop/images/26112025/08/26/image_26112025_08_26_28_2721.jpg', '/home/pi/Desktop/images/26112025/08/26/image_26112025_08_26_31_2751.jpg', '/home/pi/Desktop/images/26112025/08/26/image_26112025_08_26_37_2563.jpg', '/home/pi/Desktop/images/26112025/08/26/image_26112025_08_26_40_3574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/26/image_26112025_08_26_22_3615.jpg
/home/pi/Desktop/images/26112025/08/26/image_26112025_08_26_25_2604.jpg
/home/pi/Desktop/images/26112025/08/26/image_26112025_08_26_28_2721.jpg
/home/pi/Desktop/images/26112025/08/26/image_26112025_08_26_31_2751.jpg
/home/pi/Desktop/images/26112025/08/26/image_26112025_08_26_37_2563.jpg
/home/pi/Desktop/images/26112025/08/26/image_26112025_08_26_40_3574.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":["1396249759","1396249741","1396249749","1396249743","1396249746","1396249754"],"photo_ids_order":["1396249741","1396249743","1396249746","1396249749","1396249754","1396249759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8f55ecc717f43432a7d35a9cf6902f60.jpg","text":"TemporaryFile(/tmp/multipartBody8740038339853481319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159133301,"filename":"image_26112025_08_26_40_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/26/2538ebeec839c3ca2ba80b5615aeb0a7.jpg","text":"TemporaryFile(/tmp/multipartBody1164544571044052346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159133301,"filename":"image_26112025_08_26_22_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/26/6d521c4be4ad62ab89566f8962f6f0f7.jpg","text":"TemporaryFile(/tmp/multipartBody5278499091104446437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159133301,"filename":"image_26112025_08_26_31_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/26/7ccf3e6769acde249589261732271df7.jpg","text":"TemporaryFile(/tmp/multipartBody6476702067123926271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159133301,"filename":"image_26112025_08_26_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/26/0067ae8bb28aa9ed59da7b7f07ff5afe.jpg","text":"TemporaryFile(/tmp/multipartBody4607772809372914400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159133301,"filename":"image_26112025_08_26_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/26/77ddfb8efd603358486179a8a07e8abc.jpg","text":"TemporaryFile(/tmp/multipartBody4612543230772252275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159133301,"filename":"image_26112025_08_26_37_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396249746","file1":"1396249743","file0":"1396249741","file4":"1396249754","file5":"1396249759","file3":"1396249749"},"map_files_photo_id_array":[{"photo_id":"1396249759","filename":"file5"},{"photo_id":"1396249746","filename":"file2"},{"photo_id":"1396249754","filename":"file4"},{"photo_id":"1396249743","filename":"file1"},{"photo_id":"1396249741","filename":"file0"},{"photo_id":"1396249749","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396249759":["hashtag1","hashtag2"]},{"1396249741":["hashtag1","hashtag2"]},{"1396249749":["hashtag1","hashtag2"]},{"1396249743":["hashtag1","hashtag2"]},{"1396249746":["hashtag1","hashtag2"]},{"1396249754":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396249759, 1396249741, 1396249749, 1396249743, 1396249746, 1396249754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.269450426101685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 2 : upload photos already in processing! 
2025-11-26 13:12:19.417497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
2025-11-26 13:12:19.430167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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
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 : 2 : 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 30
2025-11-26 13:12:53.755212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/26/image_26112025_08_26_53_12444.jpg', '/home/pi/Desktop/images/26112025/08/26/image_26112025_08_26_58_1750.jpg', '/home/pi/Desktop/images/26112025/08/27/image_26112025_08_27_14_1508.jpg', '/home/pi/Desktop/images/26112025/08/27/image_26112025_08_27_16_1687.jpg', '/home/pi/Desktop/images/26112025/08/27/image_26112025_08_27_22_2584.jpg', '/home/pi/Desktop/images/26112025/08/27/image_26112025_08_27_25_3772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/26/image_26112025_08_26_53_12444.jpg
/home/pi/Desktop/images/26112025/08/26/image_26112025_08_26_58_1750.jpg
/home/pi/Desktop/images/26112025/08/27/image_26112025_08_27_14_1508.jpg
/home/pi/Desktop/images/26112025/08/27/image_26112025_08_27_16_1687.jpg
/home/pi/Desktop/images/26112025/08/27/image_26112025_08_27_22_2584.jpg
/home/pi/Desktop/images/26112025/08/27/image_26112025_08_27_25_3772.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":["1396249795","1396249791","1396249794","1396249790","1396249793","1396249792"],"photo_ids_order":["1396249790","1396249791","1396249792","1396249793","1396249794","1396249795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a2c0c9767f275622d6411a682096c532.jpg","text":"TemporaryFile(/tmp/multipartBody741571130882252225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159234390,"filename":"image_26112025_08_27_25_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/26/10b98e5e393d9a85c49d3d597b6d75c9.jpg","text":"TemporaryFile(/tmp/multipartBody593189202798532187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159234390,"filename":"image_26112025_08_26_58_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/26/2238a3eb823e9b55b142d11bb675e548.jpg","text":"TemporaryFile(/tmp/multipartBody6282470812247770991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159234390,"filename":"image_26112025_08_27_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/26/6c29a073a3dec53b4fa7d35e51bb0b3a.jpg","text":"TemporaryFile(/tmp/multipartBody4568817671787135183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159234390,"filename":"image_26112025_08_26_53_12444.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4991660feb4705f4aee6da6c69dd33b6.jpg","text":"TemporaryFile(/tmp/multipartBody9193901312275320884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159234390,"filename":"image_26112025_08_27_16_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/26/360a60aa86a91071068f2b7fa0eff237.jpg","text":"TemporaryFile(/tmp/multipartBody1400363993580089199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159234390,"filename":"image_26112025_08_27_14_1508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396249792","file1":"1396249791","file0":"1396249790","file4":"1396249794","file5":"1396249795","file3":"1396249793"},"map_files_photo_id_array":[{"photo_id":"1396249795","filename":"file5"},{"photo_id":"1396249792","filename":"file2"},{"photo_id":"1396249794","filename":"file4"},{"photo_id":"1396249791","filename":"file1"},{"photo_id":"1396249790","filename":"file0"},{"photo_id":"1396249793","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396249795":["hashtag1","hashtag2"]},{"1396249791":["hashtag1","hashtag2"]},{"1396249794":["hashtag1","hashtag2"]},{"1396249790":["hashtag1","hashtag2"]},{"1396249793":["hashtag1","hashtag2"]},{"1396249792":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396249795, 1396249791, 1396249794, 1396249790, 1396249793, 1396249792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94723892211914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:13:35.538626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/27/image_26112025_08_27_28_2710.jpg', '/home/pi/Desktop/images/26112025/08/27/image_26112025_08_27_31_2604.jpg', '/home/pi/Desktop/images/26112025/08/27/image_26112025_08_27_37_2752.jpg', '/home/pi/Desktop/images/26112025/08/27/image_26112025_08_27_43_3645.jpg', '/home/pi/Desktop/images/26112025/08/27/image_26112025_08_27_49_2746.jpg', '/home/pi/Desktop/images/26112025/08/27/image_26112025_08_27_52_3608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/27/image_26112025_08_27_28_2710.jpg
/home/pi/Desktop/images/26112025/08/27/image_26112025_08_27_31_2604.jpg
/home/pi/Desktop/images/26112025/08/27/image_26112025_08_27_37_2752.jpg
/home/pi/Desktop/images/26112025/08/27/image_26112025_08_27_43_3645.jpg
/home/pi/Desktop/images/26112025/08/27/image_26112025_08_27_49_2746.jpg
/home/pi/Desktop/images/26112025/08/27/image_26112025_08_27_52_3608.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":["1396249813","1396249807","1396249810","1396249804","1396249815","1396249814"],"photo_ids_order":["1396249804","1396249807","1396249810","1396249813","1396249814","1396249815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5798e46f4bbb2eddd811d712cc8c7edc.jpg","text":"TemporaryFile(/tmp/multipartBody20029097492852522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159276171,"filename":"image_26112025_08_27_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/26/7dc6e86849c39137693e145842a58c88.jpg","text":"TemporaryFile(/tmp/multipartBody8120041909246660726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159276171,"filename":"image_26112025_08_27_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/26/b125dc0635a6547a0a46682e4bf70919.jpg","text":"TemporaryFile(/tmp/multipartBody7634091992743984879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159276171,"filename":"image_26112025_08_27_37_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/26/1092fc3c30186de5ad7711e70351b906.jpg","text":"TemporaryFile(/tmp/multipartBody2161319362165186148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159276171,"filename":"image_26112025_08_27_28_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/26/c24aeb30bca36a9d0c379cd30d56150e.jpg","text":"TemporaryFile(/tmp/multipartBody5761175838938089694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159276171,"filename":"image_26112025_08_27_52_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/26/c892dff194b68af8ee10bcd23a538aae.jpg","text":"TemporaryFile(/tmp/multipartBody6517148773721056294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159276171,"filename":"image_26112025_08_27_49_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396249810","file1":"1396249807","file0":"1396249804","file4":"1396249814","file5":"1396249815","file3":"1396249813"},"map_files_photo_id_array":[{"photo_id":"1396249815","filename":"file5"},{"photo_id":"1396249810","filename":"file2"},{"photo_id":"1396249814","filename":"file4"},{"photo_id":"1396249807","filename":"file1"},{"photo_id":"1396249804","filename":"file0"},{"photo_id":"1396249813","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396249813":["hashtag1","hashtag2"]},{"1396249807":["hashtag1","hashtag2"]},{"1396249810":["hashtag1","hashtag2"]},{"1396249804":["hashtag1","hashtag2"]},{"1396249815":["hashtag1","hashtag2"]},{"1396249814":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396249813, 1396249807, 1396249810, 1396249804, 1396249815, 1396249814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49393439292908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:14:11.941664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/27/image_26112025_08_28_01_3564.jpg', '/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_04_2587.jpg', '/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_10_3814.jpg', '/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_13_2780.jpg', '/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_16_2599.jpg', '/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_22_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/27/image_26112025_08_28_01_3564.jpg
/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_04_2587.jpg
/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_10_3814.jpg
/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_13_2780.jpg
/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_16_2599.jpg
/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_22_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.5348331928253174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:14:21.899448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/27/image_26112025_08_28_01_3564.jpg', '/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_04_2587.jpg', '/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_10_3814.jpg', '/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_13_2780.jpg', '/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_16_2599.jpg', '/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_22_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/27/image_26112025_08_28_01_3564.jpg
/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_04_2587.jpg
/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_10_3814.jpg
/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_13_2780.jpg
/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_16_2599.jpg
/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_22_2637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396249842","1396249836","1396249839","1396249827","1396249832","1396249844"],"photo_ids_order":["1396249827","1396249832","1396249836","1396249839","1396249842","1396249844"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7f00756dcb981016609515af28b768dd.jpg","text":"TemporaryFile(/tmp/multipartBody8019288605676160972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159322562,"filename":"image_26112025_08_28_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/26/521ddac9222270e5f5280f79263dbf4a.jpg","text":"TemporaryFile(/tmp/multipartBody1522794718695623928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159322562,"filename":"image_26112025_08_28_10_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/26/af1fdf9ce74017efccbfcdc15fa52215.jpg","text":"TemporaryFile(/tmp/multipartBody3705949550600126741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159322562,"filename":"image_26112025_08_28_13_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/26/91f53c04d33c9463808301ad7f71ad2a.jpg","text":"TemporaryFile(/tmp/multipartBody425993149911174824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159322562,"filename":"image_26112025_08_28_01_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/26/b4c053a950bc5330d146486ecdf824ff.jpg","text":"TemporaryFile(/tmp/multipartBody679082677444024813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159322562,"filename":"image_26112025_08_28_04_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/26/721cae1ce64a602f6ef8d214a15b33a5.jpg","text":"TemporaryFile(/tmp/multipartBody5165185935371442785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159322562,"filename":"image_26112025_08_28_22_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396249836","file1":"1396249832","file0":"1396249827","file4":"1396249842","file5":"1396249844","file3":"1396249839"},"map_files_photo_id_array":[{"photo_id":"1396249844","filename":"file5"},{"photo_id":"1396249836","filename":"file2"},{"photo_id":"1396249842","filename":"file4"},{"photo_id":"1396249832","filename":"file1"},{"photo_id":"1396249827","filename":"file0"},{"photo_id":"1396249839","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396249842":["hashtag1","hashtag2"]},{"1396249836":["hashtag1","hashtag2"]},{"1396249839":["hashtag1","hashtag2"]},{"1396249827":["hashtag1","hashtag2"]},{"1396249832":["hashtag1","hashtag2"]},{"1396249844":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396249842, 1396249836, 1396249839, 1396249827, 1396249832, 1396249844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86906671524048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 13:15:02.685238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_25_3375.jpg', '/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_28_2592.jpg', '/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_41_1705.jpg', '/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_45_1521.jpg', '/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_49_3725.jpg', '/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_52_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_25_3375.jpg
/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_28_2592.jpg
/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_41_1705.jpg
/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_45_1521.jpg
/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_49_3725.jpg
/home/pi/Desktop/images/26112025/08/28/image_26112025_08_28_52_2753.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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396249846","1396249848","1396249845","1396249850","1396249853","1396249847"],"photo_ids_order":["1396249845","1396249846","1396249847","1396249848","1396249850","1396249853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/40f43255dcfdf722c967a6603b1f0c7f.jpg","text":"TemporaryFile(/tmp/multipartBody1640072664011991102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159363427,"filename":"image_26112025_08_28_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/26/f991725045fe5f51798be20127691a4f.jpg","text":"TemporaryFile(/tmp/multipartBody3740633744156161192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159363427,"filename":"image_26112025_08_28_45_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/26/ef179f13175a7b0ac7f6fd42c44387a7.jpg","text":"TemporaryFile(/tmp/multipartBody8424252280529361638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159363427,"filename":"image_26112025_08_28_25_3375.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d887c099add7e1f9415a4e28e1d3b3ae.jpg","text":"TemporaryFile(/tmp/multipartBody8922632480658386533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159363427,"filename":"image_26112025_08_28_49_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/26/3b77ecedc8330aaf565b714852ba0472.jpg","text":"TemporaryFile(/tmp/multipartBody6105421563697889895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159363427,"filename":"image_26112025_08_28_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/26/6a18d8c760eafe92de18589002cf943d.jpg","text":"TemporaryFile(/tmp/multipartBody7631357036430464212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159363427,"filename":"image_26112025_08_28_41_1705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396249847","file1":"1396249846","file0":"1396249845","file4":"1396249850","file5":"1396249853","file3":"1396249848"},"map_files_photo_id_array":[{"photo_id":"1396249853","filename":"file5"},{"photo_id":"1396249847","filename":"file2"},{"photo_id":"1396249850","filename":"file4"},{"photo_id":"1396249846","filename":"file1"},{"photo_id":"1396249845","filename":"file0"},{"photo_id":"1396249848","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396249846":["hashtag1","hashtag2"]},{"1396249848":["hashtag1","hashtag2"]},{"1396249845":["hashtag1","hashtag2"]},{"1396249850":["hashtag1","hashtag2"]},{"1396249853":["hashtag1","hashtag2"]},{"1396249847":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396249846, 1396249848, 1396249845, 1396249850, 1396249853, 1396249847)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 60.00465416908264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:16:13.704900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/29/image_26112025_08_29_19_3683.jpg', '/home/pi/Desktop/images/26112025/08/29/image_26112025_08_29_25_3567.jpg', '/home/pi/Desktop/images/26112025/08/29/image_26112025_08_29_45_2595.jpg', '/home/pi/Desktop/images/26112025/08/29/image_26112025_08_30_01_3543.jpg', '/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_07_3018.jpg', '/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_14_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/29/image_26112025_08_29_19_3683.jpg
/home/pi/Desktop/images/26112025/08/29/image_26112025_08_29_25_3567.jpg
/home/pi/Desktop/images/26112025/08/29/image_26112025_08_29_45_2595.jpg
/home/pi/Desktop/images/26112025/08/29/image_26112025_08_30_01_3543.jpg
/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_07_3018.jpg
/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_14_2662.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":["1396249884","1396249872","1396249881","1396249875","1396249878","1396249871"],"photo_ids_order":["1396249871","1396249872","1396249875","1396249878","1396249881","1396249884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/152d5d7fdcb1a5faaf76e845f555bd3e.jpg","text":"TemporaryFile(/tmp/multipartBody612263379488541562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159434371,"filename":"image_26112025_08_31_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/26/0c8271b8b6262adf6ea91a89ddd15071.jpg","text":"TemporaryFile(/tmp/multipartBody1959770090248107758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159434371,"filename":"image_26112025_08_29_25_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/26/a6cd934925c0433b26e516b50d076f12.jpg","text":"TemporaryFile(/tmp/multipartBody575843618444288935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159434371,"filename":"image_26112025_08_31_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/26/5ac0b8dd649439d47b8834674e6e9369.jpg","text":"TemporaryFile(/tmp/multipartBody7766721180838055500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159434371,"filename":"image_26112025_08_29_45_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/26/44e93080ea8005741284a8f9cddf9e3a.jpg","text":"TemporaryFile(/tmp/multipartBody4437123690785393089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159434371,"filename":"image_26112025_08_30_01_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/26/4d7defdceb4963eb83bec52f29a5e265.jpg","text":"TemporaryFile(/tmp/multipartBody2883056160668685486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159434371,"filename":"image_26112025_08_29_19_3683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396249875","file1":"1396249872","file0":"1396249871","file4":"1396249881","file5":"1396249884","file3":"1396249878"},"map_files_photo_id_array":[{"photo_id":"1396249884","filename":"file5"},{"photo_id":"1396249875","filename":"file2"},{"photo_id":"1396249881","filename":"file4"},{"photo_id":"1396249872","filename":"file1"},{"photo_id":"1396249871","filename":"file0"},{"photo_id":"1396249878","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396249884":["hashtag1","hashtag2"]},{"1396249872":["hashtag1","hashtag2"]},{"1396249881":["hashtag1","hashtag2"]},{"1396249875":["hashtag1","hashtag2"]},{"1396249878":["hashtag1","hashtag2"]},{"1396249871":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396249884, 1396249872, 1396249881, 1396249875, 1396249878, 1396249871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.44816327095032 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-26 13:17:12.570877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_16_2563.jpg', '/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_20_3569.jpg', '/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_26_3609.jpg', '/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_29_2556.jpg', '/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_31_2697.jpg', '/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_35_3583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_16_2563.jpg
/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_20_3569.jpg
/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_26_3609.jpg
/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_29_2556.jpg
/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_31_2697.jpg
/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_35_3583.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":["1396249904","1396249897","1396249900","1396249890","1396249893","1396249891"],"photo_ids_order":["1396249890","1396249891","1396249893","1396249897","1396249900","1396249904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/893b53523b1d93df33ed89afabcf319e.jpg","text":"TemporaryFile(/tmp/multipartBody9024771060975305003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159493157,"filename":"image_26112025_08_31_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/26/e1f71def131720a39ccc6f0be4ce8667.jpg","text":"TemporaryFile(/tmp/multipartBody4109726255414207224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159493157,"filename":"image_26112025_08_31_29_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/26/4c0da63398b1ce37ee62a21ab642346c.jpg","text":"TemporaryFile(/tmp/multipartBody2031389443089462077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159493157,"filename":"image_26112025_08_31_31_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/26/dbde2daa515d2aa241eb00676c9bd283.jpg","text":"TemporaryFile(/tmp/multipartBody8006659365287900336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159493157,"filename":"image_26112025_08_31_16_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/26/601de17ed64254a9876308a7d09f9592.jpg","text":"TemporaryFile(/tmp/multipartBody1904569460488959659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159493157,"filename":"image_26112025_08_31_26_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/26/f3ed4c63b0db2377662e65af713da89a.jpg","text":"TemporaryFile(/tmp/multipartBody4606194482637002131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159493157,"filename":"image_26112025_08_31_20_3569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396249893","file1":"1396249891","file0":"1396249890","file4":"1396249900","file5":"1396249904","file3":"1396249897"},"map_files_photo_id_array":[{"photo_id":"1396249904","filename":"file5"},{"photo_id":"1396249893","filename":"file2"},{"photo_id":"1396249900","filename":"file4"},{"photo_id":"1396249891","filename":"file1"},{"photo_id":"1396249890","filename":"file0"},{"photo_id":"1396249897","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396249904":["hashtag1","hashtag2"]},{"1396249897":["hashtag1","hashtag2"]},{"1396249900":["hashtag1","hashtag2"]},{"1396249890":["hashtag1","hashtag2"]},{"1396249893":["hashtag1","hashtag2"]},{"1396249891":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396249904, 1396249897, 1396249900, 1396249890, 1396249893, 1396249891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53135943412781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 13:18:02.403411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_37_2697.jpg', '/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_40_2527.jpg', '/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_44_3553.jpg', '/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_46_2834.jpg', '/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_49_2758.jpg', '/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_53_3584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_37_2697.jpg
/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_40_2527.jpg
/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_44_3553.jpg
/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_46_2834.jpg
/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_49_2758.jpg
/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_53_3584.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":["1396249919","1396249915","1396249917","1396249914","1396249922","1396249916"],"photo_ids_order":["1396249914","1396249915","1396249916","1396249917","1396249919","1396249922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/58ea2eb9144cec06b713ef1327afdb3b.jpg","text":"TemporaryFile(/tmp/multipartBody1603145371511092808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159543086,"filename":"image_26112025_08_31_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/26/b48310f503f4b4f5098920f26c3e9330.jpg","text":"TemporaryFile(/tmp/multipartBody6218472993125600065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159543086,"filename":"image_26112025_08_31_40_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/26/9d444b224f8f17d5a7421becdbb95049.jpg","text":"TemporaryFile(/tmp/multipartBody935356910282568505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159543086,"filename":"image_26112025_08_31_46_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/26/79ec3b2ca494231843370293599437f1.jpg","text":"TemporaryFile(/tmp/multipartBody3556469243382982415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159543086,"filename":"image_26112025_08_31_37_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/26/05bfa8b9e42b89f0dae770f329f5a320.jpg","text":"TemporaryFile(/tmp/multipartBody1691037875739939836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159543086,"filename":"image_26112025_08_31_53_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/905f717ac16e14505c669c3432f90c96.jpg","text":"TemporaryFile(/tmp/multipartBody3660729822319250203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159543086,"filename":"image_26112025_08_31_44_3553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396249916","file1":"1396249915","file0":"1396249914","file4":"1396249919","file5":"1396249922","file3":"1396249917"},"map_files_photo_id_array":[{"photo_id":"1396249922","filename":"file5"},{"photo_id":"1396249916","filename":"file2"},{"photo_id":"1396249919","filename":"file4"},{"photo_id":"1396249915","filename":"file1"},{"photo_id":"1396249914","filename":"file0"},{"photo_id":"1396249917","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396249919":["hashtag1","hashtag2"]},{"1396249915":["hashtag1","hashtag2"]},{"1396249917":["hashtag1","hashtag2"]},{"1396249914":["hashtag1","hashtag2"]},{"1396249922":["hashtag1","hashtag2"]},{"1396249916":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396249919, 1396249915, 1396249917, 1396249914, 1396249922, 1396249916)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.873597383499146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 13:19:07.237148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_55_2674.jpg', '/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_58_2582.jpg', '/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_02_3583.jpg', '/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_05_3320.jpg', '/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_07_2536.jpg', '/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_10_2769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_55_2674.jpg
/home/pi/Desktop/images/26112025/08/31/image_26112025_08_31_58_2582.jpg
/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_02_3583.jpg
/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_05_3320.jpg
/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_07_2536.jpg
/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_10_2769.jpg
 val : 1 : upload photos already in processing! 
 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":["1396249936","1396249945","1396249933","1396249976","1396249961","1396249934"],"photo_ids_order":["1396249933","1396249934","1396249936","1396249945","1396249961","1396249976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6055c334e5f9a802fb71eedc22286fb8.jpg","text":"TemporaryFile(/tmp/multipartBody459253712441773007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159610647,"filename":"image_26112025_08_32_02_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/26/a5324d7c8692fc666b013f7c8d21b172.jpg","text":"TemporaryFile(/tmp/multipartBody1178071718845358663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159610647,"filename":"image_26112025_08_32_05_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/26/28594ca1445e09c5338e2bcb89f24a3c.jpg","text":"TemporaryFile(/tmp/multipartBody2581264721647450326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159610647,"filename":"image_26112025_08_31_55_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2ef7fe2a4c8c4b3b05814fcbc89c89e6.jpg","text":"TemporaryFile(/tmp/multipartBody4105259255991553165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159610647,"filename":"image_26112025_08_32_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/26/c4c162298c2d5626998c2826e991853d.jpg","text":"TemporaryFile(/tmp/multipartBody3269386513453532801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159610647,"filename":"image_26112025_08_32_07_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/26/5ad49baf756360b0d2e0d500580277b1.jpg","text":"TemporaryFile(/tmp/multipartBody305198706624898584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159610647,"filename":"image_26112025_08_31_58_2582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396249936","file1":"1396249934","file0":"1396249933","file4":"1396249961","file5":"1396249976","file3":"1396249945"},"map_files_photo_id_array":[{"photo_id":"1396249976","filename":"file5"},{"photo_id":"1396249936","filename":"file2"},{"photo_id":"1396249961","filename":"file4"},{"photo_id":"1396249934","filename":"file1"},{"photo_id":"1396249933","filename":"file0"},{"photo_id":"1396249945","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396249936":["hashtag1","hashtag2"]},{"1396249945":["hashtag1","hashtag2"]},{"1396249933":["hashtag1","hashtag2"]},{"1396249976":["hashtag1","hashtag2"]},{"1396249961":["hashtag1","hashtag2"]},{"1396249934":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396249936, 1396249945, 1396249933, 1396249976, 1396249961, 1396249934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.1562979221344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 13:20:02.848451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_13_2870.jpg', '/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_17_3611.jpg', '/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_19_2602.jpg', '/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_26_3609.jpg', '/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_28_2634.jpg', '/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_32_3552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_13_2870.jpg
/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_17_3611.jpg
/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_19_2602.jpg
/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_26_3609.jpg
/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_28_2634.jpg
/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_32_3552.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":["1396250243","1396250171","1396250138","1396250066","1396250207","1396250101"],"photo_ids_order":["1396250066","1396250101","1396250138","1396250171","1396250207","1396250243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/732c7e2848af9e070acf31091e2e6064.jpg","text":"TemporaryFile(/tmp/multipartBody1755059134562632990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159663535,"filename":"image_26112025_08_32_32_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/26/6d9858b2d9c323275960243ebc3b4b0d.jpg","text":"TemporaryFile(/tmp/multipartBody7751670952044845879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159663535,"filename":"image_26112025_08_32_26_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/26/fbb5ceab8eb7614a5207f36eb63f75b1.jpg","text":"TemporaryFile(/tmp/multipartBody3100996189654158922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159663535,"filename":"image_26112025_08_32_19_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/26/80fc54b51952d2ba17ad082a5476054c.jpg","text":"TemporaryFile(/tmp/multipartBody4866651889311851673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159663535,"filename":"image_26112025_08_32_13_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/26/79c118e4d7cb964a95c493c6623931f6.jpg","text":"TemporaryFile(/tmp/multipartBody7748876373851258116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159663535,"filename":"image_26112025_08_32_28_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/26/4b79c92f571a625027178b590a748a9c.jpg","text":"TemporaryFile(/tmp/multipartBody654208262637143872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159663535,"filename":"image_26112025_08_32_17_3611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396250138","file1":"1396250101","file0":"1396250066","file4":"1396250207","file5":"1396250243","file3":"1396250171"},"map_files_photo_id_array":[{"photo_id":"1396250243","filename":"file5"},{"photo_id":"1396250138","filename":"file2"},{"photo_id":"1396250207","filename":"file4"},{"photo_id":"1396250101","filename":"file1"},{"photo_id":"1396250066","filename":"file0"},{"photo_id":"1396250171","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396250243":["hashtag1","hashtag2"]},{"1396250171":["hashtag1","hashtag2"]},{"1396250138":["hashtag1","hashtag2"]},{"1396250066":["hashtag1","hashtag2"]},{"1396250207":["hashtag1","hashtag2"]},{"1396250101":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396250243, 1396250171, 1396250138, 1396250066, 1396250207, 1396250101)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.324458360672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 13:21:02.093243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_34_2559.jpg', '/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_37_3044.jpg', '/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_40_2703.jpg', '/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_44_3636.jpg', '/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_47_2774.jpg', '/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_49_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_34_2559.jpg
/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_37_3044.jpg
/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_40_2703.jpg
/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_44_3636.jpg
/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_47_2774.jpg
/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_49_2565.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":["1396250330","1396250333","1396250327","1396250329","1396250331","1396250337"],"photo_ids_order":["1396250327","1396250329","1396250330","1396250331","1396250333","1396250337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2e4541b11a2e907dc4398e64eb67932b.jpg","text":"TemporaryFile(/tmp/multipartBody732944837739980086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159722852,"filename":"image_26112025_08_32_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/26/14c4337620d208e3b5793e197a9d3cc8.jpg","text":"TemporaryFile(/tmp/multipartBody7013646020632641147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159722852,"filename":"image_26112025_08_32_47_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/26/3a8628ae35d5cbcb0b01480b598c20ef.jpg","text":"TemporaryFile(/tmp/multipartBody6813104709137059477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159722852,"filename":"image_26112025_08_32_34_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/26/f549f92dbfc8066a8980178c982c468a.jpg","text":"TemporaryFile(/tmp/multipartBody6309146041076410232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159722852,"filename":"image_26112025_08_32_37_3044.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f71c723895acb7e1e1927a65c2619b40.jpg","text":"TemporaryFile(/tmp/multipartBody9199220045251458307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159722852,"filename":"image_26112025_08_32_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/26/68d9b2bdf9f83a8e24323a3777796222.jpg","text":"TemporaryFile(/tmp/multipartBody5225145268424280164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159722852,"filename":"image_26112025_08_32_49_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396250330","file1":"1396250329","file0":"1396250327","file4":"1396250333","file5":"1396250337","file3":"1396250331"},"map_files_photo_id_array":[{"photo_id":"1396250337","filename":"file5"},{"photo_id":"1396250330","filename":"file2"},{"photo_id":"1396250333","filename":"file4"},{"photo_id":"1396250329","filename":"file1"},{"photo_id":"1396250327","filename":"file0"},{"photo_id":"1396250331","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396250330":["hashtag1","hashtag2"]},{"1396250333":["hashtag1","hashtag2"]},{"1396250327":["hashtag1","hashtag2"]},{"1396250329":["hashtag1","hashtag2"]},{"1396250331":["hashtag1","hashtag2"]},{"1396250337":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396250330, 1396250333, 1396250327, 1396250329, 1396250331, 1396250337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.582778453826904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 13:21:41.466546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_53_3548.jpg', '/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_55_2565.jpg', '/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_59_3535.jpg', '/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_01_2645.jpg', '/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_04_2593.jpg', '/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_08_3539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_53_3548.jpg
/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_55_2565.jpg
/home/pi/Desktop/images/26112025/08/32/image_26112025_08_32_59_3535.jpg
/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_01_2645.jpg
/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_04_2593.jpg
/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_08_3539.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":["1396250392","1396250394","1396250388","1396250391","1396250390","1396250393"],"photo_ids_order":["1396250388","1396250390","1396250391","1396250392","1396250393","1396250394"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e1de0e5f980ba4192bc767f16211ed2e.jpg","text":"TemporaryFile(/tmp/multipartBody7259179335666854452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159762101,"filename":"image_26112025_08_33_01_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/26/7921750ada7123df24126515bc74d119.jpg","text":"TemporaryFile(/tmp/multipartBody1493290722181259699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159762101,"filename":"image_26112025_08_33_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/26/9d9954fafd8b8a62050483827db594c6.jpg","text":"TemporaryFile(/tmp/multipartBody7346996742390314861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159762101,"filename":"image_26112025_08_32_53_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/26/0db5983069506792b1e9661c47b93a8a.jpg","text":"TemporaryFile(/tmp/multipartBody1840747339145817745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159762101,"filename":"image_26112025_08_32_59_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/26/0a2d40b42ed8f578670343cc4007d435.jpg","text":"TemporaryFile(/tmp/multipartBody2831427931686882234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159762101,"filename":"image_26112025_08_32_55_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/26/6c37413b215e17ba1c03041e29e844c7.jpg","text":"TemporaryFile(/tmp/multipartBody335782351072499239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159762101,"filename":"image_26112025_08_33_04_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396250391","file1":"1396250390","file0":"1396250388","file4":"1396250393","file5":"1396250394","file3":"1396250392"},"map_files_photo_id_array":[{"photo_id":"1396250394","filename":"file5"},{"photo_id":"1396250391","filename":"file2"},{"photo_id":"1396250393","filename":"file4"},{"photo_id":"1396250390","filename":"file1"},{"photo_id":"1396250388","filename":"file0"},{"photo_id":"1396250392","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396250392":["hashtag1","hashtag2"]},{"1396250394":["hashtag1","hashtag2"]},{"1396250388":["hashtag1","hashtag2"]},{"1396250391":["hashtag1","hashtag2"]},{"1396250390":["hashtag1","hashtag2"]},{"1396250393":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396250392, 1396250394, 1396250388, 1396250391, 1396250390, 1396250393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.04734134674072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:22:22.715342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_10_2699.jpg', '/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_14_3528.jpg', '/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_16_2635.jpg', '/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_19_2562.jpg', '/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_23_3551.jpg', '/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_29_4302.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_10_2699.jpg
/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_14_3528.jpg
/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_16_2635.jpg
/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_19_2562.jpg
/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_23_3551.jpg
/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_29_4302.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":["1396250417","1396250458","1396250402","1396250439","1396250415","1396250399"],"photo_ids_order":["1396250399","1396250402","1396250415","1396250417","1396250439","1396250458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aee9037c417c59ed979ac3de84b1665a.jpg","text":"TemporaryFile(/tmp/multipartBody8765301281998083179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159803446,"filename":"image_26112025_08_33_19_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/26/e437517c8374558067e0f6f65eb63fd0.jpg","text":"TemporaryFile(/tmp/multipartBody1355207068898146855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159803446,"filename":"image_26112025_08_33_29_4302.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c1955869fd6cd1812d34d80a5470480b.jpg","text":"TemporaryFile(/tmp/multipartBody238092429652439096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159803446,"filename":"image_26112025_08_33_14_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/26/846f28b8d1f69b31c0ac51f15c6f52a1.jpg","text":"TemporaryFile(/tmp/multipartBody7024482602619156526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159803446,"filename":"image_26112025_08_33_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/26/60b4990a80f895221e6f024cc4eae733.jpg","text":"TemporaryFile(/tmp/multipartBody7104831154143420011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159803446,"filename":"image_26112025_08_33_16_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/26/26f1e3f1247f32547ff5a3ce27a18995.jpg","text":"TemporaryFile(/tmp/multipartBody2748420219319900529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159803446,"filename":"image_26112025_08_33_10_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396250415","file1":"1396250402","file0":"1396250399","file4":"1396250439","file5":"1396250458","file3":"1396250417"},"map_files_photo_id_array":[{"photo_id":"1396250458","filename":"file5"},{"photo_id":"1396250415","filename":"file2"},{"photo_id":"1396250439","filename":"file4"},{"photo_id":"1396250402","filename":"file1"},{"photo_id":"1396250399","filename":"file0"},{"photo_id":"1396250417","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396250417":["hashtag1","hashtag2"]},{"1396250458":["hashtag1","hashtag2"]},{"1396250402":["hashtag1","hashtag2"]},{"1396250439":["hashtag1","hashtag2"]},{"1396250415":["hashtag1","hashtag2"]},{"1396250399":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396250417, 1396250458, 1396250402, 1396250439, 1396250415, 1396250399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13583779335022 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 13:23:02.601780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_34_2799.jpg', '/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_38_3828.jpg', '/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_46_1592.jpg', '/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_53_2773.jpg', '/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_55_2564.jpg', '/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_59_3587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_34_2799.jpg
/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_38_3828.jpg
/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_46_1592.jpg
/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_53_2773.jpg
/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_55_2564.jpg
/home/pi/Desktop/images/26112025/08/33/image_26112025_08_33_59_3587.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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396250483","1396250482","1396250488","1396250496","1396250481","1396250480"],"photo_ids_order":["1396250480","1396250481","1396250482","1396250483","1396250488","1396250496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/734118cb6b3dc1ab174d6fbccfb8d2de.jpg","text":"TemporaryFile(/tmp/multipartBody3064083272224275314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159843328,"filename":"image_26112025_08_33_53_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/26/55d9c7f594713bca340b6166b9c7127e.jpg","text":"TemporaryFile(/tmp/multipartBody7144907727851340153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159843328,"filename":"image_26112025_08_33_46_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/26/fb009113303b632c9837853da3e5546b.jpg","text":"TemporaryFile(/tmp/multipartBody6702028477641239372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159843328,"filename":"image_26112025_08_33_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/26/16fec372f634bd184d92aae524762995.jpg","text":"TemporaryFile(/tmp/multipartBody1155661533538220961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159843328,"filename":"image_26112025_08_33_59_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/26/ab3778954c722a8d896fca908730e680.jpg","text":"TemporaryFile(/tmp/multipartBody6226954527392981351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159843328,"filename":"image_26112025_08_33_38_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/26/77fe8a250532026649e9c1ebc9b61d25.jpg","text":"TemporaryFile(/tmp/multipartBody7067728674520309595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159843328,"filename":"image_26112025_08_33_34_2799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396250482","file1":"1396250481","file0":"1396250480","file4":"1396250488","file5":"1396250496","file3":"1396250483"},"map_files_photo_id_array":[{"photo_id":"1396250496","filename":"file5"},{"photo_id":"1396250482","filename":"file2"},{"photo_id":"1396250488","filename":"file4"},{"photo_id":"1396250481","filename":"file1"},{"photo_id":"1396250480","filename":"file0"},{"photo_id":"1396250483","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396250483":["hashtag1","hashtag2"]},{"1396250482":["hashtag1","hashtag2"]},{"1396250488":["hashtag1","hashtag2"]},{"1396250496":["hashtag1","hashtag2"]},{"1396250481":["hashtag1","hashtag2"]},{"1396250480":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396250483, 1396250482, 1396250488, 1396250496, 1396250481, 1396250480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.33647108078003 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 13:24:03.346772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_01_2712.jpg', '/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_08_3485.jpg', '/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_13_2600.jpg', '/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_16_3611.jpg', '/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_23_2683.jpg', '/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_25_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_01_2712.jpg
/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_08_3485.jpg
/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_13_2600.jpg
/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_16_3611.jpg
/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_23_2683.jpg
/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_25_2653.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.6896328926086426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:24:13.498107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_01_2712.jpg', '/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_08_3485.jpg', '/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_13_2600.jpg', '/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_16_3611.jpg', '/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_23_2683.jpg', '/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_25_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_01_2712.jpg
/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_08_3485.jpg
/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_13_2600.jpg
/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_16_3611.jpg
/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_23_2683.jpg
/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_25_2653.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":["1396250735","1396250755","1396250725","1396250766","1396250760","1396250763"],"photo_ids_order":["1396250725","1396250735","1396250755","1396250760","1396250763","1396250766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/11a3114d59f57eea6d0208a091f80b04.jpg","text":"TemporaryFile(/tmp/multipartBody1859446074478200012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159916573,"filename":"image_26112025_08_34_08_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/26/f04c4ae70c901ae793266fa9056f6635.jpg","text":"TemporaryFile(/tmp/multipartBody4945371583033576119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159916573,"filename":"image_26112025_08_34_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/26/61601653c402b7801c3bc4fac2040d89.jpg","text":"TemporaryFile(/tmp/multipartBody994250176578703304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159916573,"filename":"image_26112025_08_34_01_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/26/98710d4e75bb513593c94a8614d9e54f.jpg","text":"TemporaryFile(/tmp/multipartBody8287488546628615682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159916573,"filename":"image_26112025_08_34_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/26/576839ad7bbcd269e297102f8fb239f1.jpg","text":"TemporaryFile(/tmp/multipartBody2860488563335593872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159916573,"filename":"image_26112025_08_34_16_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/26/a4517e51f0ffe516c58ff6b42cdf2a21.jpg","text":"TemporaryFile(/tmp/multipartBody4743120345438911053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159916573,"filename":"image_26112025_08_34_23_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396250755","file1":"1396250735","file0":"1396250725","file4":"1396250763","file5":"1396250766","file3":"1396250760"},"map_files_photo_id_array":[{"photo_id":"1396250766","filename":"file5"},{"photo_id":"1396250755","filename":"file2"},{"photo_id":"1396250763","filename":"file4"},{"photo_id":"1396250735","filename":"file1"},{"photo_id":"1396250725","filename":"file0"},{"photo_id":"1396250760","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396250735":["hashtag1","hashtag2"]},{"1396250755":["hashtag1","hashtag2"]},{"1396250725":["hashtag1","hashtag2"]},{"1396250766":["hashtag1","hashtag2"]},{"1396250760":["hashtag1","hashtag2"]},{"1396250763":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396250735, 1396250755, 1396250725, 1396250766, 1396250760, 1396250763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.362181425094604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 13:25:02.777481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_28_2804.jpg', '/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_35_3319.jpg', '/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_38_2671.jpg', '/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_46_1710.jpg', '/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_49_2590.jpg', '/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_52_3535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_28_2804.jpg
/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_35_3319.jpg
/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_38_2671.jpg
/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_46_1710.jpg
/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_49_2590.jpg
/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_52_3535.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":["1396250834","1396250837","1396250836","1396250839","1396250835","1396250843"],"photo_ids_order":["1396250834","1396250835","1396250836","1396250837","1396250839","1396250843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6e2d923cb8bcb900083dc5ec66e5fb75.jpg","text":"TemporaryFile(/tmp/multipartBody1250980161135933147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159963509,"filename":"image_26112025_08_34_28_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/26/56624de5c56a88165ac199c13db1bd51.jpg","text":"TemporaryFile(/tmp/multipartBody1177022904313712189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159963509,"filename":"image_26112025_08_34_46_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/339640d656f34eaf3348019cdd063d49.jpg","text":"TemporaryFile(/tmp/multipartBody8910021744789064205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159963509,"filename":"image_26112025_08_34_38_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/26/84bd22e4b20297f3718594312dc1c87c.jpg","text":"TemporaryFile(/tmp/multipartBody2996699749911655991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159963509,"filename":"image_26112025_08_34_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/26/a0c97ad1fc6ca3e4aa7aed3ed8f60c5b.jpg","text":"TemporaryFile(/tmp/multipartBody7417673919871049256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159963509,"filename":"image_26112025_08_34_35_3319.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c1eea01483d3ab34b461200804669456.jpg","text":"TemporaryFile(/tmp/multipartBody3340358621186136287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764159963509,"filename":"image_26112025_08_34_52_3535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396250836","file1":"1396250835","file0":"1396250834","file4":"1396250839","file5":"1396250843","file3":"1396250837"},"map_files_photo_id_array":[{"photo_id":"1396250843","filename":"file5"},{"photo_id":"1396250836","filename":"file2"},{"photo_id":"1396250839","filename":"file4"},{"photo_id":"1396250835","filename":"file1"},{"photo_id":"1396250834","filename":"file0"},{"photo_id":"1396250837","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396250834":["hashtag1","hashtag2"]},{"1396250837":["hashtag1","hashtag2"]},{"1396250836":["hashtag1","hashtag2"]},{"1396250839":["hashtag1","hashtag2"]},{"1396250835":["hashtag1","hashtag2"]},{"1396250843":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396250834, 1396250837, 1396250836, 1396250839, 1396250835, 1396250843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96804690361023 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 13:25:41.938132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_58_2511.jpg', '/home/pi/Desktop/images/26112025/08/35/image_26112025_08_35_10_2741.jpg', '/home/pi/Desktop/images/26112025/08/35/image_26112025_08_35_13_2565.jpg', '/home/pi/Desktop/images/26112025/08/35/image_26112025_08_35_16_3635.jpg', '/home/pi/Desktop/images/26112025/08/35/image_26112025_08_35_26_3900.jpg', '/home/pi/Desktop/images/26112025/08/35/image_26112025_08_35_28_1745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/34/image_26112025_08_34_58_2511.jpg
/home/pi/Desktop/images/26112025/08/35/image_26112025_08_35_10_2741.jpg
/home/pi/Desktop/images/26112025/08/35/image_26112025_08_35_13_2565.jpg
/home/pi/Desktop/images/26112025/08/35/image_26112025_08_35_16_3635.jpg
/home/pi/Desktop/images/26112025/08/35/image_26112025_08_35_26_3900.jpg
/home/pi/Desktop/images/26112025/08/35/image_26112025_08_35_28_1745.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396250855","1396250857","1396250851","1396250859","1396250856","1396250858"],"photo_ids_order":["1396250851","1396250855","1396250856","1396250857","1396250858","1396250859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2c64d8997d16eb476c5e32bf8deb56cd.jpg","text":"TemporaryFile(/tmp/multipartBody5846536411649667600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160002587,"filename":"image_26112025_08_35_10_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/26/e03a288d3180f5b63eea2ff7c009f84f.jpg","text":"TemporaryFile(/tmp/multipartBody8875725079137029423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160002587,"filename":"image_26112025_08_35_16_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/26/4db592cea1318256c71e802b3cef2044.jpg","text":"TemporaryFile(/tmp/multipartBody5035883937721463934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160002587,"filename":"image_26112025_08_34_58_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/26/1830886086156e35c8436bce8a68d532.jpg","text":"TemporaryFile(/tmp/multipartBody5942779969394065350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160002587,"filename":"image_26112025_08_35_28_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/26/f6dc9c980c69dbf200f9e27e797c85c1.jpg","text":"TemporaryFile(/tmp/multipartBody7496145834033956903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160002587,"filename":"image_26112025_08_35_13_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/26/45b9df8f145a52cdf8a75b58becfc038.jpg","text":"TemporaryFile(/tmp/multipartBody5145752151756632258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160002587,"filename":"image_26112025_08_35_26_3900.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396250856","file1":"1396250855","file0":"1396250851","file4":"1396250858","file5":"1396250859","file3":"1396250857"},"map_files_photo_id_array":[{"photo_id":"1396250859","filename":"file5"},{"photo_id":"1396250856","filename":"file2"},{"photo_id":"1396250858","filename":"file4"},{"photo_id":"1396250855","filename":"file1"},{"photo_id":"1396250851","filename":"file0"},{"photo_id":"1396250857","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396250855":["hashtag1","hashtag2"]},{"1396250857":["hashtag1","hashtag2"]},{"1396250851":["hashtag1","hashtag2"]},{"1396250859":["hashtag1","hashtag2"]},{"1396250856":["hashtag1","hashtag2"]},{"1396250858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396250855, 1396250857, 1396250851, 1396250859, 1396250856, 1396250858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73804306983948 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-26 13:26:30.341046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/35/image_26112025_08_35_34_3614.jpg', '/home/pi/Desktop/images/26112025/08/35/image_26112025_08_35_37_3220.jpg', '/home/pi/Desktop/images/26112025/08/35/image_26112025_08_35_40_2558.jpg', '/home/pi/Desktop/images/26112025/08/35/image_26112025_08_35_43_2643.jpg', '/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_06_3015.jpg', '/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_12_2478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/35/image_26112025_08_35_34_3614.jpg
/home/pi/Desktop/images/26112025/08/35/image_26112025_08_35_37_3220.jpg
/home/pi/Desktop/images/26112025/08/35/image_26112025_08_35_40_2558.jpg
/home/pi/Desktop/images/26112025/08/35/image_26112025_08_35_43_2643.jpg
/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_06_3015.jpg
/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_12_2478.jpg
 val : 1 : upload photos already in processing! 
 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":["1396250873","1396250869","1396250883","1396250877","1396250865","1396250880"],"photo_ids_order":["1396250865","1396250869","1396250873","1396250877","1396250880","1396250883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fdfb5a291d8e874f1c04335a45311a57.jpg","text":"TemporaryFile(/tmp/multipartBody620029879140920045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160050950,"filename":"image_26112025_08_35_40_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/26/9996de8e6f098995a6aead8a3028893c.jpg","text":"TemporaryFile(/tmp/multipartBody1257740343923450741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160050950,"filename":"image_26112025_08_35_37_3220.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/35439b8bc4fd077f51b3af93473a232e.jpg","text":"TemporaryFile(/tmp/multipartBody823844447131072915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160050950,"filename":"image_26112025_08_37_12_2478.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9a817a4c14688af13c5e248749205a62.jpg","text":"TemporaryFile(/tmp/multipartBody4603722176890538862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160050950,"filename":"image_26112025_08_35_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/26/b80efd8399c3894c344b8c218d503371.jpg","text":"TemporaryFile(/tmp/multipartBody3328528539976736933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160050950,"filename":"image_26112025_08_35_34_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/26/743b6407785c1b9bd7c0b229f1a506af.jpg","text":"TemporaryFile(/tmp/multipartBody3969137671090786424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160050950,"filename":"image_26112025_08_37_06_3015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396250873","file1":"1396250869","file0":"1396250865","file4":"1396250880","file5":"1396250883","file3":"1396250877"},"map_files_photo_id_array":[{"photo_id":"1396250883","filename":"file5"},{"photo_id":"1396250873","filename":"file2"},{"photo_id":"1396250880","filename":"file4"},{"photo_id":"1396250869","filename":"file1"},{"photo_id":"1396250865","filename":"file0"},{"photo_id":"1396250877","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396250873":["hashtag1","hashtag2"]},{"1396250869":["hashtag1","hashtag2"]},{"1396250883":["hashtag1","hashtag2"]},{"1396250877":["hashtag1","hashtag2"]},{"1396250865":["hashtag1","hashtag2"]},{"1396250880":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396250873, 1396250869, 1396250883, 1396250877, 1396250865, 1396250880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5027596950531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:27:12.502991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_16_3604.jpg', '/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_22_3480.jpg', '/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_25_2601.jpg', '/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_27_2652.jpg', '/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_31_3756.jpg', '/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_34_2525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_16_3604.jpg
/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_22_3480.jpg
/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_25_2601.jpg
/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_27_2652.jpg
/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_31_3756.jpg
/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_34_2525.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":["1396250930","1396250933","1396250900","1396250903","1396250944","1396250901"],"photo_ids_order":["1396250900","1396250901","1396250903","1396250930","1396250933","1396250944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/51cd36907d9c2885adc874128813fed0.jpg","text":"TemporaryFile(/tmp/multipartBody123790248132538256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160093177,"filename":"image_26112025_08_37_27_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/26/d3a550fbc2f8c62c4d76f5414cb15f31.jpg","text":"TemporaryFile(/tmp/multipartBody1984103526973878280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160093177,"filename":"image_26112025_08_37_31_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/26/d2aa7d5d08de4927f2691cbe078ab18d.jpg","text":"TemporaryFile(/tmp/multipartBody1637013924031703211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160093177,"filename":"image_26112025_08_37_16_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/26/3f5c59b2e46abc27b8b2cd030a34783e.jpg","text":"TemporaryFile(/tmp/multipartBody7067729201974732489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160093177,"filename":"image_26112025_08_37_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/26/3b31f38f67baa4a8e67fe9cf30636d8d.jpg","text":"TemporaryFile(/tmp/multipartBody7013558964685857673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160093177,"filename":"image_26112025_08_37_34_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/26/d1949a823f9972913d22f363193b2431.jpg","text":"TemporaryFile(/tmp/multipartBody2816927003909014555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160093177,"filename":"image_26112025_08_37_22_3480.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396250903","file1":"1396250901","file0":"1396250900","file4":"1396250933","file5":"1396250944","file3":"1396250930"},"map_files_photo_id_array":[{"photo_id":"1396250944","filename":"file5"},{"photo_id":"1396250903","filename":"file2"},{"photo_id":"1396250933","filename":"file4"},{"photo_id":"1396250901","filename":"file1"},{"photo_id":"1396250900","filename":"file0"},{"photo_id":"1396250930","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396250930":["hashtag1","hashtag2"]},{"1396250933":["hashtag1","hashtag2"]},{"1396250900":["hashtag1","hashtag2"]},{"1396250903":["hashtag1","hashtag2"]},{"1396250944":["hashtag1","hashtag2"]},{"1396250901":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396250930, 1396250933, 1396250900, 1396250903, 1396250944, 1396250901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.72867965698242 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
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:28:27.210269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_45_1603.jpg', '/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_48_1523.jpg', '/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_52_3624.jpg', '/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_55_2560.jpg', '/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_57_2626.jpg', '/home/pi/Desktop/images/26112025/08/37/image_26112025_08_38_01_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_45_1603.jpg
/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_48_1523.jpg
/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_52_3624.jpg
/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_55_2560.jpg
/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_57_2626.jpg
/home/pi/Desktop/images/26112025/08/37/image_26112025_08_38_01_3709.jpg
2025-11-26 13:28:27.219001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_45_1603.jpg', '/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_48_1523.jpg', '/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_52_3624.jpg', '/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_55_2560.jpg', '/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_57_2626.jpg', '/home/pi/Desktop/images/26112025/08/37/image_26112025_08_38_01_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_45_1603.jpg
/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_48_1523.jpg
/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_52_3624.jpg
/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_55_2560.jpg
/home/pi/Desktop/images/26112025/08/37/image_26112025_08_37_57_2626.jpg
/home/pi/Desktop/images/26112025/08/37/image_26112025_08_38_01_3709.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396251029","1396251025","1396251019","1396251015","1396251023","1396251032"],"photo_ids_order":["1396251015","1396251019","1396251023","1396251025","1396251029","1396251032"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c8bf7102390831764c441be59c71e305.jpg","text":"TemporaryFile(/tmp/multipartBody441455433567642717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160167907,"filename":"image_26112025_08_37_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/26/601a85837ea8f8b02ae2540a02052614.jpg","text":"TemporaryFile(/tmp/multipartBody4359543868413620846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160167907,"filename":"image_26112025_08_37_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/26/6e936af71e615aadd19ac41f414c3958.jpg","text":"TemporaryFile(/tmp/multipartBody2208663459335723026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160167907,"filename":"image_26112025_08_37_48_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/26/061e85b02a690037c138d7cbf305d6e0.jpg","text":"TemporaryFile(/tmp/multipartBody6471826651355412118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160167907,"filename":"image_26112025_08_37_45_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/26/aee8282d480ece7606266a61b3fcd002.jpg","text":"TemporaryFile(/tmp/multipartBody6757032341116719606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160167907,"filename":"image_26112025_08_37_52_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/26/bc6d9b100555623dd355c0275626627c.jpg","text":"TemporaryFile(/tmp/multipartBody629239085237022282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160167907,"filename":"image_26112025_08_38_01_3709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251023","file1":"1396251019","file0":"1396251015","file4":"1396251029","file5":"1396251032","file3":"1396251025"},"map_files_photo_id_array":[{"photo_id":"1396251032","filename":"file5"},{"photo_id":"1396251023","filename":"file2"},{"photo_id":"1396251029","filename":"file4"},{"photo_id":"1396251019","filename":"file1"},{"photo_id":"1396251015","filename":"file0"},{"photo_id":"1396251025","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251029":["hashtag1","hashtag2"]},{"1396251025":["hashtag1","hashtag2"]},{"1396251019":["hashtag1","hashtag2"]},{"1396251015":["hashtag1","hashtag2"]},{"1396251023":["hashtag1","hashtag2"]},{"1396251032":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251029, 1396251025, 1396251019, 1396251015, 1396251023, 1396251032)","result":[],"list_datou_current":[]}'
Result OK !
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396251014","1396251017","1396251031","1396251033","1396251027","1396251021"],"photo_ids_order":["1396251014","1396251017","1396251021","1396251027","1396251031","1396251033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/241fb02196f7ebf523553e85720e1ae7.jpg","text":"TemporaryFile(/tmp/multipartBody4840702538702094872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160167869,"filename":"image_26112025_08_37_45_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/26/4f8d4085de74be3298d8ba2d0fc4bcfd.jpg","text":"TemporaryFile(/tmp/multipartBody5904168515213468633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160167869,"filename":"image_26112025_08_37_48_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/26/a18dc78c78843b59c45f741ab03ee12b.jpg","text":"TemporaryFile(/tmp/multipartBody8920371793629789735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160167869,"filename":"image_26112025_08_37_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/26/52bb935eb0250ba2f82760eff35927fe.jpg","text":"TemporaryFile(/tmp/multipartBody5369590954234155473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160167869,"filename":"image_26112025_08_38_01_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/26/982c9049c5857ea019e5754810b82104.jpg","text":"TemporaryFile(/tmp/multipartBody5733751508711684052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160167869,"filename":"image_26112025_08_37_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/26/642d4d53358a2037071570211e538607.jpg","text":"TemporaryFile(/tmp/multipartBody9192776235364884754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160167869,"filename":"image_26112025_08_37_52_3624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251021","file1":"1396251017","file0":"1396251014","file4":"1396251031","file5":"1396251033","file3":"1396251027"},"map_files_photo_id_array":[{"photo_id":"1396251033","filename":"file5"},{"photo_id":"1396251021","filename":"file2"},{"photo_id":"1396251031","filename":"file4"},{"photo_id":"1396251017","filename":"file1"},{"photo_id":"1396251014","filename":"file0"},{"photo_id":"1396251027","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251014":["hashtag1","hashtag2"]},{"1396251017":["hashtag1","hashtag2"]},{"1396251031":["hashtag1","hashtag2"]},{"1396251033":["hashtag1","hashtag2"]},{"1396251027":["hashtag1","hashtag2"]},{"1396251021":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251014, 1396251017, 1396251031, 1396251033, 1396251027, 1396251021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.842077016830444 secondes ---
uploaded 6 photos
time to upload: 37.105218172073364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:29:12.265141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/38/image_26112025_08_38_04_2558.jpg', '/home/pi/Desktop/images/26112025/08/38/image_26112025_08_38_06_2734.jpg', '/home/pi/Desktop/images/26112025/08/38/image_26112025_08_38_11_4677.jpg', '/home/pi/Desktop/images/26112025/08/38/image_26112025_08_38_13_1598.jpg', '/home/pi/Desktop/images/26112025/08/38/image_26112025_08_38_15_2720.jpg', '/home/pi/Desktop/images/26112025/08/38/image_26112025_08_38_19_3836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/38/image_26112025_08_38_04_2558.jpg
/home/pi/Desktop/images/26112025/08/38/image_26112025_08_38_06_2734.jpg
/home/pi/Desktop/images/26112025/08/38/image_26112025_08_38_11_4677.jpg
/home/pi/Desktop/images/26112025/08/38/image_26112025_08_38_13_1598.jpg
/home/pi/Desktop/images/26112025/08/38/image_26112025_08_38_15_2720.jpg
/home/pi/Desktop/images/26112025/08/38/image_26112025_08_38_19_3836.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":["1396251035","1396251034","1396251037","1396251046","1396251066","1396251041"],"photo_ids_order":["1396251034","1396251035","1396251037","1396251041","1396251046","1396251066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cd0a4420add389758ac1da0315de5373.jpg","text":"TemporaryFile(/tmp/multipartBody877476393352946139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160212950,"filename":"image_26112025_08_38_06_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cd03cbd66f6674fb65307a1302d9bddf.jpg","text":"TemporaryFile(/tmp/multipartBody188685568686915847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160212950,"filename":"image_26112025_08_38_04_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/26/33bf95a333c2d46867ab3b2535537bc6.jpg","text":"TemporaryFile(/tmp/multipartBody4034420131460273704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160212950,"filename":"image_26112025_08_38_11_4677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f514558351468008575caf56d662b6f3.jpg","text":"TemporaryFile(/tmp/multipartBody4550146160222047764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160212950,"filename":"image_26112025_08_38_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/26/f64e73baf46860f66e3f966dd60cf44e.jpg","text":"TemporaryFile(/tmp/multipartBody6597427891355428395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160212950,"filename":"image_26112025_08_38_19_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/26/162962b7c892fa69a24194466bf930c5.jpg","text":"TemporaryFile(/tmp/multipartBody870389017443342421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160212950,"filename":"image_26112025_08_38_13_1598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251037","file1":"1396251035","file0":"1396251034","file4":"1396251046","file5":"1396251066","file3":"1396251041"},"map_files_photo_id_array":[{"photo_id":"1396251066","filename":"file5"},{"photo_id":"1396251037","filename":"file2"},{"photo_id":"1396251046","filename":"file4"},{"photo_id":"1396251035","filename":"file1"},{"photo_id":"1396251034","filename":"file0"},{"photo_id":"1396251041","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251035":["hashtag1","hashtag2"]},{"1396251034":["hashtag1","hashtag2"]},{"1396251037":["hashtag1","hashtag2"]},{"1396251046":["hashtag1","hashtag2"]},{"1396251066":["hashtag1","hashtag2"]},{"1396251041":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251035, 1396251034, 1396251037, 1396251046, 1396251066, 1396251041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16636800765991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 13:30:10.474516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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! 
 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-26 13:30:41.888245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 13:31:02.727183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/38/image_26112025_08_38_22_2690.jpg', '/home/pi/Desktop/images/26112025/08/39/image_26112025_08_39_06_3011.jpg', '/home/pi/Desktop/images/26112025/08/39/image_26112025_08_39_19_3683.jpg', '/home/pi/Desktop/images/26112025/08/39/image_26112025_08_39_25_2808.jpg', '/home/pi/Desktop/images/26112025/08/39/image_26112025_08_39_28_3675.jpg', '/home/pi/Desktop/images/26112025/08/39/image_26112025_08_39_34_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/38/image_26112025_08_38_22_2690.jpg
/home/pi/Desktop/images/26112025/08/39/image_26112025_08_39_06_3011.jpg
/home/pi/Desktop/images/26112025/08/39/image_26112025_08_39_19_3683.jpg
/home/pi/Desktop/images/26112025/08/39/image_26112025_08_39_25_2808.jpg
/home/pi/Desktop/images/26112025/08/39/image_26112025_08_39_28_3675.jpg
/home/pi/Desktop/images/26112025/08/39/image_26112025_08_39_34_2709.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":["1396251101","1396251109","1396251103","1396251106","1396251102","1396251104"],"photo_ids_order":["1396251101","1396251102","1396251103","1396251104","1396251106","1396251109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/88ff295d7ea7beb05d921915b33d4ab2.jpg","text":"TemporaryFile(/tmp/multipartBody2848304847417783511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160323501,"filename":"image_26112025_08_38_22_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/26/57c6298ee0870a5ba16c4b1121bc9247.jpg","text":"TemporaryFile(/tmp/multipartBody7225363784597890186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160323501,"filename":"image_26112025_08_39_34_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/26/260c497141b67c56241a02287e27f2b3.jpg","text":"TemporaryFile(/tmp/multipartBody8709038159170010117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160323501,"filename":"image_26112025_08_39_19_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/26/88b1a8aac7a34a1857f93baeb7bfe953.jpg","text":"TemporaryFile(/tmp/multipartBody8165754351291754193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160323501,"filename":"image_26112025_08_39_28_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/26/4ea06924789db9d444eb2c388bef64e9.jpg","text":"TemporaryFile(/tmp/multipartBody5246536626164473255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160323501,"filename":"image_26112025_08_39_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/26/ea0aff2d069929b4ee13f0adca603763.jpg","text":"TemporaryFile(/tmp/multipartBody7952544080900834253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160323501,"filename":"image_26112025_08_39_25_2808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251103","file1":"1396251102","file0":"1396251101","file4":"1396251106","file5":"1396251109","file3":"1396251104"},"map_files_photo_id_array":[{"photo_id":"1396251109","filename":"file5"},{"photo_id":"1396251103","filename":"file2"},{"photo_id":"1396251106","filename":"file4"},{"photo_id":"1396251102","filename":"file1"},{"photo_id":"1396251101","filename":"file0"},{"photo_id":"1396251104","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251101":["hashtag1","hashtag2"]},{"1396251109":["hashtag1","hashtag2"]},{"1396251103":["hashtag1","hashtag2"]},{"1396251106":["hashtag1","hashtag2"]},{"1396251102":["hashtag1","hashtag2"]},{"1396251104":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251101, 1396251109, 1396251103, 1396251106, 1396251102, 1396251104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01962399482727 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 13:31:41.986779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/39/image_26112025_08_39_54_2558.jpg', '/home/pi/Desktop/images/26112025/08/42/image_26112025_08_42_11_3774.jpg', '/home/pi/Desktop/images/26112025/08/42/image_26112025_08_42_38_3567.jpg', '/home/pi/Desktop/images/26112025/08/42/image_26112025_08_42_50_2908.jpg', '/home/pi/Desktop/images/26112025/08/42/image_26112025_08_42_53_2599.jpg', '/home/pi/Desktop/images/26112025/08/43/image_26112025_08_43_19_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/39/image_26112025_08_39_54_2558.jpg
/home/pi/Desktop/images/26112025/08/42/image_26112025_08_42_11_3774.jpg
/home/pi/Desktop/images/26112025/08/42/image_26112025_08_42_38_3567.jpg
/home/pi/Desktop/images/26112025/08/42/image_26112025_08_42_50_2908.jpg
/home/pi/Desktop/images/26112025/08/42/image_26112025_08_42_53_2599.jpg
/home/pi/Desktop/images/26112025/08/43/image_26112025_08_43_19_2628.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":["1396251121","1396251124","1396251118","1396251126","1396251123","1396251122"],"photo_ids_order":["1396251118","1396251121","1396251122","1396251123","1396251124","1396251126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/44da1db4ce18252f47104eba55c79d84.jpg","text":"TemporaryFile(/tmp/multipartBody5209917389027597808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160362746,"filename":"image_26112025_08_42_11_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/26/2fc6ef23072857f450205d73da346ea8.jpg","text":"TemporaryFile(/tmp/multipartBody6512727109186313862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160362746,"filename":"image_26112025_08_42_53_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/26/ddd1dc1256f8f3990c99108ce5dfcad4.jpg","text":"TemporaryFile(/tmp/multipartBody26475965328004537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160362746,"filename":"image_26112025_08_39_54_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/26/6a436127ddb8b4c7abcb7da43d82bf3e.jpg","text":"TemporaryFile(/tmp/multipartBody2792484105343354813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160362746,"filename":"image_26112025_08_43_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/26/2999223d93ecf123511a37d798aa19cd.jpg","text":"TemporaryFile(/tmp/multipartBody1510241911428116138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160362746,"filename":"image_26112025_08_42_50_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/26/04bc2f8c8f8deaa907a5bef6a5fcf50f.jpg","text":"TemporaryFile(/tmp/multipartBody156882858540312548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160362746,"filename":"image_26112025_08_42_38_3567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251122","file1":"1396251121","file0":"1396251118","file4":"1396251124","file5":"1396251126","file3":"1396251123"},"map_files_photo_id_array":[{"photo_id":"1396251126","filename":"file5"},{"photo_id":"1396251122","filename":"file2"},{"photo_id":"1396251124","filename":"file4"},{"photo_id":"1396251121","filename":"file1"},{"photo_id":"1396251118","filename":"file0"},{"photo_id":"1396251123","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251121":["hashtag1","hashtag2"]},{"1396251124":["hashtag1","hashtag2"]},{"1396251118":["hashtag1","hashtag2"]},{"1396251126":["hashtag1","hashtag2"]},{"1396251123":["hashtag1","hashtag2"]},{"1396251122":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251121, 1396251124, 1396251118, 1396251126, 1396251123, 1396251122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.875924587249756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:32:22.142962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/43/image_26112025_08_43_23_3446.jpg', '/home/pi/Desktop/images/26112025/08/43/image_26112025_08_43_32_1480.jpg', '/home/pi/Desktop/images/26112025/08/43/image_26112025_08_43_41_3625.jpg', '/home/pi/Desktop/images/26112025/08/43/image_26112025_08_43_55_3249.jpg', '/home/pi/Desktop/images/26112025/08/44/image_26112025_08_44_13_5553.jpg', '/home/pi/Desktop/images/26112025/08/44/image_26112025_08_44_24_1675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/43/image_26112025_08_43_23_3446.jpg
/home/pi/Desktop/images/26112025/08/43/image_26112025_08_43_32_1480.jpg
/home/pi/Desktop/images/26112025/08/43/image_26112025_08_43_41_3625.jpg
/home/pi/Desktop/images/26112025/08/43/image_26112025_08_43_55_3249.jpg
/home/pi/Desktop/images/26112025/08/44/image_26112025_08_44_13_5553.jpg
/home/pi/Desktop/images/26112025/08/44/image_26112025_08_44_24_1675.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":["1396251157","1396251132","1396251135","1396251129","1396251155","1396251152"],"photo_ids_order":["1396251129","1396251132","1396251135","1396251152","1396251155","1396251157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b54984d7f322cb4af0b43dc0dba0cc93.jpg","text":"TemporaryFile(/tmp/multipartBody6644628079880769461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160402825,"filename":"image_26112025_08_44_24_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d70fc250c9bb22fddd04077bd489ca28.jpg","text":"TemporaryFile(/tmp/multipartBody2438024826821670084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160402825,"filename":"image_26112025_08_43_32_1480.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/04d3a07c439b92cb2a08c5bd6ec68ba6.jpg","text":"TemporaryFile(/tmp/multipartBody4220254457574174447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160402825,"filename":"image_26112025_08_43_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/26/a440e0d601ea558b3f0d3e92edefd4f4.jpg","text":"TemporaryFile(/tmp/multipartBody7646855947339684017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160402825,"filename":"image_26112025_08_43_23_3446.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/72a50f11be1a77304333bf8b2213a91a.jpg","text":"TemporaryFile(/tmp/multipartBody4091684097599001826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160402825,"filename":"image_26112025_08_44_13_5553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e407ede89ba69d33433a12a4f3e42b31.jpg","text":"TemporaryFile(/tmp/multipartBody7868312626409102764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160402825,"filename":"image_26112025_08_43_55_3249.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251135","file1":"1396251132","file0":"1396251129","file4":"1396251155","file5":"1396251157","file3":"1396251152"},"map_files_photo_id_array":[{"photo_id":"1396251157","filename":"file5"},{"photo_id":"1396251135","filename":"file2"},{"photo_id":"1396251155","filename":"file4"},{"photo_id":"1396251132","filename":"file1"},{"photo_id":"1396251129","filename":"file0"},{"photo_id":"1396251152","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251157":["hashtag1","hashtag2"]},{"1396251132":["hashtag1","hashtag2"]},{"1396251135":["hashtag1","hashtag2"]},{"1396251129":["hashtag1","hashtag2"]},{"1396251155":["hashtag1","hashtag2"]},{"1396251152":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251157, 1396251132, 1396251135, 1396251129, 1396251155, 1396251152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6633722782135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 13:33:02.946275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/47/image_26112025_08_47_19_2661.jpg', '/home/pi/Desktop/images/26112025/08/47/image_26112025_08_47_22_2863.jpg', '/home/pi/Desktop/images/26112025/08/47/image_26112025_08_47_52_2636.jpg', '/home/pi/Desktop/images/26112025/08/47/image_26112025_08_47_56_3685.jpg', '/home/pi/Desktop/images/26112025/08/47/image_26112025_08_47_58_2644.jpg', '/home/pi/Desktop/images/26112025/08/48/image_26112025_08_48_02_3590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/47/image_26112025_08_47_19_2661.jpg
/home/pi/Desktop/images/26112025/08/47/image_26112025_08_47_22_2863.jpg
/home/pi/Desktop/images/26112025/08/47/image_26112025_08_47_52_2636.jpg
/home/pi/Desktop/images/26112025/08/47/image_26112025_08_47_56_3685.jpg
/home/pi/Desktop/images/26112025/08/47/image_26112025_08_47_58_2644.jpg
/home/pi/Desktop/images/26112025/08/48/image_26112025_08_48_02_3590.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":["1396251160","1396251162","1396251159","1396251167","1396251161","1396251164"],"photo_ids_order":["1396251159","1396251160","1396251161","1396251162","1396251164","1396251167"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3c44c4bc021df9bcc544035f3bd60d69.jpg","text":"TemporaryFile(/tmp/multipartBody5207664062385410008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160443757,"filename":"image_26112025_08_47_22_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/26/44f6fd750d24771e97e57211f15f4280.jpg","text":"TemporaryFile(/tmp/multipartBody8007831204360795443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160443757,"filename":"image_26112025_08_47_56_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/26/6e936fee82cb08ff1f315b10954b4e62.jpg","text":"TemporaryFile(/tmp/multipartBody7808073139861676195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160443757,"filename":"image_26112025_08_47_19_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/26/238c3fd988b6f97bc79f461eed61eb99.jpg","text":"TemporaryFile(/tmp/multipartBody5440828812666621230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160443757,"filename":"image_26112025_08_48_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/26/0f5225eaadb45a6e85a03fcad2614a05.jpg","text":"TemporaryFile(/tmp/multipartBody4216054541499840861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160443757,"filename":"image_26112025_08_47_52_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c1ff47bcdc795d8d936f5bf760aa7718.jpg","text":"TemporaryFile(/tmp/multipartBody3571860216682692978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160443757,"filename":"image_26112025_08_47_58_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251161","file1":"1396251160","file0":"1396251159","file4":"1396251164","file5":"1396251167","file3":"1396251162"},"map_files_photo_id_array":[{"photo_id":"1396251167","filename":"file5"},{"photo_id":"1396251161","filename":"file2"},{"photo_id":"1396251164","filename":"file4"},{"photo_id":"1396251160","filename":"file1"},{"photo_id":"1396251159","filename":"file0"},{"photo_id":"1396251162","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251160":["hashtag1","hashtag2"]},{"1396251162":["hashtag1","hashtag2"]},{"1396251159":["hashtag1","hashtag2"]},{"1396251167":["hashtag1","hashtag2"]},{"1396251161":["hashtag1","hashtag2"]},{"1396251164":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251160, 1396251162, 1396251159, 1396251167, 1396251161, 1396251164)","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 = 1396251161 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26112025/08/47/image_26112025_08_47_52_2636.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 63.421308279037476 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-26 13:34:17.124273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/48/image_26112025_08_48_07_2613.jpg', '/home/pi/Desktop/images/26112025/08/48/image_26112025_08_48_11_3556.jpg', '/home/pi/Desktop/images/26112025/08/48/image_26112025_08_48_29_3657.jpg', '/home/pi/Desktop/images/26112025/08/48/image_26112025_08_48_38_3614.jpg', '/home/pi/Desktop/images/26112025/08/50/image_26112025_08_50_14_1637.jpg', '/home/pi/Desktop/images/26112025/08/50/image_26112025_08_50_16_1636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/48/image_26112025_08_48_07_2613.jpg
/home/pi/Desktop/images/26112025/08/48/image_26112025_08_48_11_3556.jpg
/home/pi/Desktop/images/26112025/08/48/image_26112025_08_48_29_3657.jpg
/home/pi/Desktop/images/26112025/08/48/image_26112025_08_48_38_3614.jpg
/home/pi/Desktop/images/26112025/08/50/image_26112025_08_50_14_1637.jpg
/home/pi/Desktop/images/26112025/08/50/image_26112025_08_50_16_1636.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.5894999504089355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:34:27.071091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/48/image_26112025_08_48_07_2613.jpg', '/home/pi/Desktop/images/26112025/08/48/image_26112025_08_48_11_3556.jpg', '/home/pi/Desktop/images/26112025/08/48/image_26112025_08_48_29_3657.jpg', '/home/pi/Desktop/images/26112025/08/48/image_26112025_08_48_38_3614.jpg', '/home/pi/Desktop/images/26112025/08/50/image_26112025_08_50_14_1637.jpg', '/home/pi/Desktop/images/26112025/08/50/image_26112025_08_50_16_1636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/48/image_26112025_08_48_07_2613.jpg
/home/pi/Desktop/images/26112025/08/48/image_26112025_08_48_11_3556.jpg
/home/pi/Desktop/images/26112025/08/48/image_26112025_08_48_29_3657.jpg
/home/pi/Desktop/images/26112025/08/48/image_26112025_08_48_38_3614.jpg
/home/pi/Desktop/images/26112025/08/50/image_26112025_08_50_14_1637.jpg
/home/pi/Desktop/images/26112025/08/50/image_26112025_08_50_16_1636.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":["1396251233","1396251243","1396251237","1396251246","1396251240","1396251248"],"photo_ids_order":["1396251233","1396251237","1396251240","1396251243","1396251246","1396251248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9c08f28f46387e04746036eb5925fd2b.jpg","text":"TemporaryFile(/tmp/multipartBody1329921313663218136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160527763,"filename":"image_26112025_08_48_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/26/6eab993e10a3df7ebdb1ae76f8fd17de.jpg","text":"TemporaryFile(/tmp/multipartBody1507662791875208860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160527763,"filename":"image_26112025_08_48_38_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/26/cf2dd508a94ad4b483f7e8f95ee5d29a.jpg","text":"TemporaryFile(/tmp/multipartBody390461449851638291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160527763,"filename":"image_26112025_08_48_11_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/26/351baaa24c8b27b9747911b25e819dcc.jpg","text":"TemporaryFile(/tmp/multipartBody958297911781181875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160527763,"filename":"image_26112025_08_50_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/26/d8d5068616c26c70c6304f438645c24f.jpg","text":"TemporaryFile(/tmp/multipartBody484297337288255201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160527763,"filename":"image_26112025_08_48_29_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/26/9a0ffddaafd3055286a9fe4f5d4dcebb.jpg","text":"TemporaryFile(/tmp/multipartBody1490525305707602808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160527763,"filename":"image_26112025_08_50_16_1636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251240","file1":"1396251237","file0":"1396251233","file4":"1396251246","file5":"1396251248","file3":"1396251243"},"map_files_photo_id_array":[{"photo_id":"1396251248","filename":"file5"},{"photo_id":"1396251240","filename":"file2"},{"photo_id":"1396251246","filename":"file4"},{"photo_id":"1396251237","filename":"file1"},{"photo_id":"1396251233","filename":"file0"},{"photo_id":"1396251243","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251233":["hashtag1","hashtag2"]},{"1396251243":["hashtag1","hashtag2"]},{"1396251237":["hashtag1","hashtag2"]},{"1396251246":["hashtag1","hashtag2"]},{"1396251240":["hashtag1","hashtag2"]},{"1396251248":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251233, 1396251243, 1396251237, 1396251246, 1396251240, 1396251248)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 71.841787815094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 13:35:44.736339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/50/image_26112025_08_50_18_1622.jpg', '/home/pi/Desktop/images/26112025/08/50/image_26112025_08_50_36_1592.jpg', '/home/pi/Desktop/images/26112025/08/50/image_26112025_08_50_39_1629.jpg', '/home/pi/Desktop/images/26112025/08/50/image_26112025_08_50_52_1671.jpg', '/home/pi/Desktop/images/26112025/08/50/image_26112025_08_50_58_2628.jpg', '/home/pi/Desktop/images/26112025/08/51/image_26112025_08_51_04_3583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/50/image_26112025_08_50_18_1622.jpg
/home/pi/Desktop/images/26112025/08/50/image_26112025_08_50_36_1592.jpg
/home/pi/Desktop/images/26112025/08/50/image_26112025_08_50_39_1629.jpg
/home/pi/Desktop/images/26112025/08/50/image_26112025_08_50_52_1671.jpg
/home/pi/Desktop/images/26112025/08/50/image_26112025_08_50_58_2628.jpg
/home/pi/Desktop/images/26112025/08/51/image_26112025_08_51_04_3583.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":["1396251305","1396251308","1396251286","1396251310","1396251282","1396251312"],"photo_ids_order":["1396251282","1396251286","1396251305","1396251308","1396251310","1396251312"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2f639c3a40217902951ad8d3dedf249a.jpg","text":"TemporaryFile(/tmp/multipartBody6222289686840793548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160605483,"filename":"image_26112025_08_50_39_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/26/3b826bc6d1347a7a95b05ef704301e2e.jpg","text":"TemporaryFile(/tmp/multipartBody5625933460382675932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160605483,"filename":"image_26112025_08_50_52_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/26/6c27076e294198164709c3a2798885dc.jpg","text":"TemporaryFile(/tmp/multipartBody5588974266517759497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160605483,"filename":"image_26112025_08_50_36_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/26/a4af7dfbdb590499e6047024555b8345.jpg","text":"TemporaryFile(/tmp/multipartBody4080996008182356999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160605483,"filename":"image_26112025_08_50_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/26/861cccb9999ad8863bf6fef585c5d367.jpg","text":"TemporaryFile(/tmp/multipartBody8676042212039392584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160605483,"filename":"image_26112025_08_50_18_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/26/f7664fbb9e885dbe5fd25897a9fa07f0.jpg","text":"TemporaryFile(/tmp/multipartBody237162106232455151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160605483,"filename":"image_26112025_08_51_04_3583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251305","file1":"1396251286","file0":"1396251282","file4":"1396251310","file5":"1396251312","file3":"1396251308"},"map_files_photo_id_array":[{"photo_id":"1396251312","filename":"file5"},{"photo_id":"1396251305","filename":"file2"},{"photo_id":"1396251310","filename":"file4"},{"photo_id":"1396251286","filename":"file1"},{"photo_id":"1396251282","filename":"file0"},{"photo_id":"1396251308","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251305":["hashtag1","hashtag2"]},{"1396251308":["hashtag1","hashtag2"]},{"1396251286":["hashtag1","hashtag2"]},{"1396251310":["hashtag1","hashtag2"]},{"1396251282":["hashtag1","hashtag2"]},{"1396251312":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251305, 1396251308, 1396251286, 1396251310, 1396251282, 1396251312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.071781158447266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:36:21.961260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/51/image_26112025_08_51_07_2532.jpg', '/home/pi/Desktop/images/26112025/08/51/image_26112025_08_51_19_11773.jpg', '/home/pi/Desktop/images/26112025/08/51/image_26112025_08_51_32_1654.jpg', '/home/pi/Desktop/images/26112025/08/51/image_26112025_08_51_41_2449.jpg', '/home/pi/Desktop/images/26112025/08/51/image_26112025_08_51_44_1781.jpg', '/home/pi/Desktop/images/26112025/08/51/image_26112025_08_51_52_2720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/51/image_26112025_08_51_07_2532.jpg
/home/pi/Desktop/images/26112025/08/51/image_26112025_08_51_19_11773.jpg
/home/pi/Desktop/images/26112025/08/51/image_26112025_08_51_32_1654.jpg
/home/pi/Desktop/images/26112025/08/51/image_26112025_08_51_41_2449.jpg
/home/pi/Desktop/images/26112025/08/51/image_26112025_08_51_44_1781.jpg
/home/pi/Desktop/images/26112025/08/51/image_26112025_08_51_52_2720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396251331","1396251324","1396251318","1396251327","1396251315","1396251320"],"photo_ids_order":["1396251315","1396251318","1396251320","1396251324","1396251327","1396251331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/797029e543ae5af0389bff56bd47b4cf.jpg","text":"TemporaryFile(/tmp/multipartBody4632524384630691489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160642630,"filename":"image_26112025_08_51_52_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/26/d1daa19cd8a1a252dbf2d01562535a5e.jpg","text":"TemporaryFile(/tmp/multipartBody4794878559564353337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160642630,"filename":"image_26112025_08_51_41_2449.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2397e4ccb1b19690d050ebaaeb9f44c6.jpg","text":"TemporaryFile(/tmp/multipartBody4010924587100106602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160642630,"filename":"image_26112025_08_51_19_11773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4be57d3dc608134886652da5b770f3d8.jpg","text":"TemporaryFile(/tmp/multipartBody5368004955793421933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160642630,"filename":"image_26112025_08_51_44_1781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e47d974da4035948f503dc87e89a1a15.jpg","text":"TemporaryFile(/tmp/multipartBody4684558895982028413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160642630,"filename":"image_26112025_08_51_07_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/26/7d89205e00aad9ae7bf65550c467ddb5.jpg","text":"TemporaryFile(/tmp/multipartBody6806606684628107755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160642630,"filename":"image_26112025_08_51_32_1654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251320","file1":"1396251318","file0":"1396251315","file4":"1396251327","file5":"1396251331","file3":"1396251324"},"map_files_photo_id_array":[{"photo_id":"1396251331","filename":"file5"},{"photo_id":"1396251320","filename":"file2"},{"photo_id":"1396251327","filename":"file4"},{"photo_id":"1396251318","filename":"file1"},{"photo_id":"1396251315","filename":"file0"},{"photo_id":"1396251324","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251331":["hashtag1","hashtag2"]},{"1396251324":["hashtag1","hashtag2"]},{"1396251318":["hashtag1","hashtag2"]},{"1396251327":["hashtag1","hashtag2"]},{"1396251315":["hashtag1","hashtag2"]},{"1396251320":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251331, 1396251324, 1396251318, 1396251327, 1396251315, 1396251320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.87066078186035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 13:37:02.922773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/52/image_26112025_08_52_08_15348.jpg', '/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_07_3011.jpg', '/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_11_3670.jpg', '/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_13_2739.jpg', '/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_16_2623.jpg', '/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_20_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/52/image_26112025_08_52_08_15348.jpg
/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_07_3011.jpg
/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_11_3670.jpg
/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_13_2739.jpg
/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_16_2623.jpg
/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_20_3658.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":["1396251493","1396251496","1396251499","1396251462","1396251494","1396251491"],"photo_ids_order":["1396251462","1396251491","1396251493","1396251494","1396251496","1396251499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/adcf4b23f42435b79bb22caa5802fb80.jpg","text":"TemporaryFile(/tmp/multipartBody7327289695124442477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160683625,"filename":"image_26112025_08_53_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/26/14985ed37912f5f4329295dee5359c0b.jpg","text":"TemporaryFile(/tmp/multipartBody9210040976609501886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160683625,"filename":"image_26112025_08_53_16_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/869adc552bcf40250b3d53fed0640090.jpg","text":"TemporaryFile(/tmp/multipartBody3985691902436314633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160683625,"filename":"image_26112025_08_53_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/26/54465ee5bdd2117a125cdde799b23668.jpg","text":"TemporaryFile(/tmp/multipartBody4592258471583354011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160683625,"filename":"image_26112025_08_52_08_15348.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e6e663e4b2ce7cc631ecf56bf4724c37.jpg","text":"TemporaryFile(/tmp/multipartBody496063488398137951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160683625,"filename":"image_26112025_08_53_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/26/21f2e6d7a0458cd4e2b4ef07fced922d.jpg","text":"TemporaryFile(/tmp/multipartBody7308440128025699110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160683625,"filename":"image_26112025_08_53_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251493","file1":"1396251491","file0":"1396251462","file4":"1396251496","file5":"1396251499","file3":"1396251494"},"map_files_photo_id_array":[{"photo_id":"1396251499","filename":"file5"},{"photo_id":"1396251493","filename":"file2"},{"photo_id":"1396251496","filename":"file4"},{"photo_id":"1396251491","filename":"file1"},{"photo_id":"1396251462","filename":"file0"},{"photo_id":"1396251494","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251493":["hashtag1","hashtag2"]},{"1396251496":["hashtag1","hashtag2"]},{"1396251499":["hashtag1","hashtag2"]},{"1396251462":["hashtag1","hashtag2"]},{"1396251494":["hashtag1","hashtag2"]},{"1396251491":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251493, 1396251496, 1396251499, 1396251462, 1396251494, 1396251491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.936890602111816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 13:37:42.150988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_30_9807.jpg', '/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_31_1715.jpg', '/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_33_1554.jpg', '/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_34_1637.jpg', '/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_36_1738.jpg', '/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_38_1648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_30_9807.jpg
/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_31_1715.jpg
/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_33_1554.jpg
/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_34_1637.jpg
/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_36_1738.jpg
/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_38_1648.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":["1396251511","1396251514","1396251513","1396251512","1396251515","1396251509"],"photo_ids_order":["1396251509","1396251511","1396251512","1396251513","1396251514","1396251515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ea3ec25bdb1d9a77cb4827e3aa3a2478.jpg","text":"TemporaryFile(/tmp/multipartBody8066738643997988755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160722807,"filename":"image_26112025_08_53_31_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/26/c0168c3d525dd41506ece95673274a1b.jpg","text":"TemporaryFile(/tmp/multipartBody8454960693092712451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160722807,"filename":"image_26112025_08_53_36_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/26/4eaad770c75c6ec49a6813ead69aa68e.jpg","text":"TemporaryFile(/tmp/multipartBody21308718667100501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160722807,"filename":"image_26112025_08_53_34_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/26/0b07234913b94e3474bcf53fed11ceec.jpg","text":"TemporaryFile(/tmp/multipartBody8091503177126422243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160722807,"filename":"image_26112025_08_53_33_1554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0db442227536dd330cfb9aca53e288ba.jpg","text":"TemporaryFile(/tmp/multipartBody5302401872830738238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160722807,"filename":"image_26112025_08_53_38_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/26/13eaf3793ff51ad22098522930f569f4.jpg","text":"TemporaryFile(/tmp/multipartBody1070939309380451083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160722807,"filename":"image_26112025_08_53_30_9807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251512","file1":"1396251511","file0":"1396251509","file4":"1396251514","file5":"1396251515","file3":"1396251513"},"map_files_photo_id_array":[{"photo_id":"1396251515","filename":"file5"},{"photo_id":"1396251512","filename":"file2"},{"photo_id":"1396251514","filename":"file4"},{"photo_id":"1396251511","filename":"file1"},{"photo_id":"1396251509","filename":"file0"},{"photo_id":"1396251513","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251511":["hashtag1","hashtag2"]},{"1396251514":["hashtag1","hashtag2"]},{"1396251513":["hashtag1","hashtag2"]},{"1396251512":["hashtag1","hashtag2"]},{"1396251515":["hashtag1","hashtag2"]},{"1396251509":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251511, 1396251514, 1396251513, 1396251512, 1396251515, 1396251509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.070462226867676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:38:24.924149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_43_2642.jpg', '/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_47_3551.jpg', '/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_52_2875.jpg', '/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_56_3743.jpg', '/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_59_2782.jpg', '/home/pi/Desktop/images/26112025/08/54/image_26112025_08_54_01_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_43_2642.jpg
/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_47_3551.jpg
/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_52_2875.jpg
/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_56_3743.jpg
/home/pi/Desktop/images/26112025/08/53/image_26112025_08_53_59_2782.jpg
/home/pi/Desktop/images/26112025/08/54/image_26112025_08_54_01_2548.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":["1396251534","1396251522","1396251525","1396251519","1396251530","1396251533"],"photo_ids_order":["1396251519","1396251522","1396251525","1396251530","1396251533","1396251534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fd4b536643355e251fe3b80e3f06a87c.jpg","text":"TemporaryFile(/tmp/multipartBody8974604418433839322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160766671,"filename":"image_26112025_08_54_01_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/26/e92796a51cfdfe049c285ce7fd63ab2f.jpg","text":"TemporaryFile(/tmp/multipartBody6385400257549657725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160766671,"filename":"image_26112025_08_53_47_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/26/7a3e8cc0dd541d7b9cc4faade490c12a.jpg","text":"TemporaryFile(/tmp/multipartBody2279082808717911233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160766671,"filename":"image_26112025_08_53_52_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/26/f6d732f4f7a8d478def97eeb37fa3308.jpg","text":"TemporaryFile(/tmp/multipartBody2033309093462530403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160766671,"filename":"image_26112025_08_53_43_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/26/39e7e554e7b3a8315690026810e896cf.jpg","text":"TemporaryFile(/tmp/multipartBody7623186099758653163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160766671,"filename":"image_26112025_08_53_56_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/26/0c258af64d3107ebd4cb3188b746d9de.jpg","text":"TemporaryFile(/tmp/multipartBody7906633459803966463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160766671,"filename":"image_26112025_08_53_59_2782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251525","file1":"1396251522","file0":"1396251519","file4":"1396251533","file5":"1396251534","file3":"1396251530"},"map_files_photo_id_array":[{"photo_id":"1396251534","filename":"file5"},{"photo_id":"1396251525","filename":"file2"},{"photo_id":"1396251533","filename":"file4"},{"photo_id":"1396251522","filename":"file1"},{"photo_id":"1396251519","filename":"file0"},{"photo_id":"1396251530","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251534":["hashtag1","hashtag2"]},{"1396251522":["hashtag1","hashtag2"]},{"1396251525":["hashtag1","hashtag2"]},{"1396251519":["hashtag1","hashtag2"]},{"1396251530":["hashtag1","hashtag2"]},{"1396251533":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251534, 1396251522, 1396251525, 1396251519, 1396251530, 1396251533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.692394971847534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:39:12.096653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/54/image_26112025_08_54_20_3812.jpg', '/home/pi/Desktop/images/26112025/08/54/image_26112025_08_54_22_2561.jpg', '/home/pi/Desktop/images/26112025/08/54/image_26112025_08_54_29_3700.jpg', '/home/pi/Desktop/images/26112025/08/54/image_26112025_08_54_31_2667.jpg', '/home/pi/Desktop/images/26112025/08/54/image_26112025_08_54_34_2697.jpg', '/home/pi/Desktop/images/26112025/08/54/image_26112025_08_54_38_3674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/54/image_26112025_08_54_20_3812.jpg
/home/pi/Desktop/images/26112025/08/54/image_26112025_08_54_22_2561.jpg
/home/pi/Desktop/images/26112025/08/54/image_26112025_08_54_29_3700.jpg
/home/pi/Desktop/images/26112025/08/54/image_26112025_08_54_31_2667.jpg
/home/pi/Desktop/images/26112025/08/54/image_26112025_08_54_34_2697.jpg
/home/pi/Desktop/images/26112025/08/54/image_26112025_08_54_38_3674.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":["1396251535","1396251545","1396251539","1396251548","1396251542","1396251536"],"photo_ids_order":["1396251535","1396251536","1396251539","1396251542","1396251545","1396251548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8f9d0574bd892a6ba28f577a7f815922.jpg","text":"TemporaryFile(/tmp/multipartBody659511795660919276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160812755,"filename":"image_26112025_08_54_20_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/26/5ae372477eb2cefd68bed7aec4f7b00c.jpg","text":"TemporaryFile(/tmp/multipartBody3592518160011588806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160812755,"filename":"image_26112025_08_54_34_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/26/f5405ffc758d3b541992bb6ad07d2450.jpg","text":"TemporaryFile(/tmp/multipartBody8598904836486298662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160812755,"filename":"image_26112025_08_54_29_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/26/ba272069be8eeb38125f7867defb92a9.jpg","text":"TemporaryFile(/tmp/multipartBody7348669125327604336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160812755,"filename":"image_26112025_08_54_38_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/26/515bf49df4db7c827d4dbb29c113237d.jpg","text":"TemporaryFile(/tmp/multipartBody3513516561395290614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160812755,"filename":"image_26112025_08_54_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/26/b4477f95e96e5f305aff097e98c23064.jpg","text":"TemporaryFile(/tmp/multipartBody9121612320844069517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160812755,"filename":"image_26112025_08_54_22_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251539","file1":"1396251536","file0":"1396251535","file4":"1396251545","file5":"1396251548","file3":"1396251542"},"map_files_photo_id_array":[{"photo_id":"1396251548","filename":"file5"},{"photo_id":"1396251539","filename":"file2"},{"photo_id":"1396251545","filename":"file4"},{"photo_id":"1396251536","filename":"file1"},{"photo_id":"1396251535","filename":"file0"},{"photo_id":"1396251542","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251535":["hashtag1","hashtag2"]},{"1396251545":["hashtag1","hashtag2"]},{"1396251539":["hashtag1","hashtag2"]},{"1396251548":["hashtag1","hashtag2"]},{"1396251542":["hashtag1","hashtag2"]},{"1396251536":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251535, 1396251545, 1396251539, 1396251548, 1396251542, 1396251536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.32114553451538 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
2025-11-26 13:40:12.508939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 13:40:26.794836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/54/image_26112025_08_54_40_2509.jpg', '/home/pi/Desktop/images/26112025/08/54/image_26112025_08_54_47_3688.jpg', '/home/pi/Desktop/images/26112025/08/54/image_26112025_08_54_49_2683.jpg', '/home/pi/Desktop/images/26112025/08/54/image_26112025_08_54_56_3575.jpg', '/home/pi/Desktop/images/26112025/08/55/image_26112025_08_55_05_3673.jpg', '/home/pi/Desktop/images/26112025/08/55/image_26112025_08_55_16_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/54/image_26112025_08_54_40_2509.jpg
/home/pi/Desktop/images/26112025/08/54/image_26112025_08_54_47_3688.jpg
/home/pi/Desktop/images/26112025/08/54/image_26112025_08_54_49_2683.jpg
/home/pi/Desktop/images/26112025/08/54/image_26112025_08_54_56_3575.jpg
/home/pi/Desktop/images/26112025/08/55/image_26112025_08_55_05_3673.jpg
/home/pi/Desktop/images/26112025/08/55/image_26112025_08_55_16_2641.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":["1396251619","1396251610","1396251604","1396251613","1396251621","1396251606"],"photo_ids_order":["1396251604","1396251606","1396251610","1396251613","1396251619","1396251621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b0ea023700fb1408b4ea41666e01be32.jpg","text":"TemporaryFile(/tmp/multipartBody8652166649183658361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160887474,"filename":"image_26112025_08_55_05_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/26/88ae7f8f00fb4e7278830484a81a39bb.jpg","text":"TemporaryFile(/tmp/multipartBody3636428419042014861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160887474,"filename":"image_26112025_08_54_49_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/26/f4061234081fd59e9466becf8db1c3d8.jpg","text":"TemporaryFile(/tmp/multipartBody1290450876393386718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160887474,"filename":"image_26112025_08_54_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/26/41043c9384b4e6eddbe836f45c545357.jpg","text":"TemporaryFile(/tmp/multipartBody6239869170633146444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160887474,"filename":"image_26112025_08_54_56_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/26/4e4d4c67d170ebeb18ef139aaeadf713.jpg","text":"TemporaryFile(/tmp/multipartBody3844884549427752440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160887474,"filename":"image_26112025_08_55_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/26/f5f52e135547d076cc88cdfdc1c06134.jpg","text":"TemporaryFile(/tmp/multipartBody1867994506383746647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160887474,"filename":"image_26112025_08_54_47_3688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251610","file1":"1396251606","file0":"1396251604","file4":"1396251619","file5":"1396251621","file3":"1396251613"},"map_files_photo_id_array":[{"photo_id":"1396251621","filename":"file5"},{"photo_id":"1396251610","filename":"file2"},{"photo_id":"1396251619","filename":"file4"},{"photo_id":"1396251606","filename":"file1"},{"photo_id":"1396251604","filename":"file0"},{"photo_id":"1396251613","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251619":["hashtag1","hashtag2"]},{"1396251610":["hashtag1","hashtag2"]},{"1396251604":["hashtag1","hashtag2"]},{"1396251613":["hashtag1","hashtag2"]},{"1396251621":["hashtag1","hashtag2"]},{"1396251606":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251619, 1396251610, 1396251604, 1396251613, 1396251621, 1396251606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.386557817459106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:41:11.931793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/55/image_26112025_08_55_20_3589.jpg', '/home/pi/Desktop/images/26112025/08/55/image_26112025_08_55_22_2764.jpg', '/home/pi/Desktop/images/26112025/08/55/image_26112025_08_55_25_2870.jpg', '/home/pi/Desktop/images/26112025/08/55/image_26112025_08_55_31_3641.jpg', '/home/pi/Desktop/images/26112025/08/55/image_26112025_08_55_34_2560.jpg', '/home/pi/Desktop/images/26112025/08/55/image_26112025_08_55_43_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/55/image_26112025_08_55_20_3589.jpg
/home/pi/Desktop/images/26112025/08/55/image_26112025_08_55_22_2764.jpg
/home/pi/Desktop/images/26112025/08/55/image_26112025_08_55_25_2870.jpg
/home/pi/Desktop/images/26112025/08/55/image_26112025_08_55_31_3641.jpg
/home/pi/Desktop/images/26112025/08/55/image_26112025_08_55_34_2560.jpg
/home/pi/Desktop/images/26112025/08/55/image_26112025_08_55_43_2673.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":["1396251625","1396251628","1396251638","1396251632","1396251626","1396251635"],"photo_ids_order":["1396251625","1396251626","1396251628","1396251632","1396251635","1396251638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bfffc15622f7e861bdb910e620eaa79a.jpg","text":"TemporaryFile(/tmp/multipartBody3985452773827305514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160932637,"filename":"image_26112025_08_55_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/26/e9c8a3649d48cc5abad6f24148dc41fb.jpg","text":"TemporaryFile(/tmp/multipartBody3637472430425354548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160932637,"filename":"image_26112025_08_55_25_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/26/c06bfde382e79e256d0c907e257e7678.jpg","text":"TemporaryFile(/tmp/multipartBody5764554144534161585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160932637,"filename":"image_26112025_08_55_43_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/26/d0a01ea5369dba112846a05bda0f5371.jpg","text":"TemporaryFile(/tmp/multipartBody7344880236904427686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160932637,"filename":"image_26112025_08_55_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/26/14e5de17dc8c051c1ed75bdc31f3a893.jpg","text":"TemporaryFile(/tmp/multipartBody2657984270903928181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160932637,"filename":"image_26112025_08_55_22_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7420653e142fbd5912a20f2365ba48de.jpg","text":"TemporaryFile(/tmp/multipartBody531610410818477737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160932637,"filename":"image_26112025_08_55_34_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251628","file1":"1396251626","file0":"1396251625","file4":"1396251635","file5":"1396251638","file3":"1396251632"},"map_files_photo_id_array":[{"photo_id":"1396251638","filename":"file5"},{"photo_id":"1396251628","filename":"file2"},{"photo_id":"1396251635","filename":"file4"},{"photo_id":"1396251626","filename":"file1"},{"photo_id":"1396251625","filename":"file0"},{"photo_id":"1396251632","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251625":["hashtag1","hashtag2"]},{"1396251628":["hashtag1","hashtag2"]},{"1396251638":["hashtag1","hashtag2"]},{"1396251632":["hashtag1","hashtag2"]},{"1396251626":["hashtag1","hashtag2"]},{"1396251635":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251625, 1396251628, 1396251638, 1396251632, 1396251626, 1396251635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59920573234558 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 13:42:02.794050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/55/image_26112025_08_55_47_3614.jpg', '/home/pi/Desktop/images/26112025/08/55/image_26112025_08_55_56_3698.jpg', '/home/pi/Desktop/images/26112025/08/56/image_26112025_08_56_07_2607.jpg', '/home/pi/Desktop/images/26112025/08/56/image_26112025_08_56_10_2816.jpg', '/home/pi/Desktop/images/26112025/08/56/image_26112025_08_56_13_3730.jpg', '/home/pi/Desktop/images/26112025/08/56/image_26112025_08_56_16_2563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/55/image_26112025_08_55_47_3614.jpg
/home/pi/Desktop/images/26112025/08/55/image_26112025_08_55_56_3698.jpg
/home/pi/Desktop/images/26112025/08/56/image_26112025_08_56_07_2607.jpg
/home/pi/Desktop/images/26112025/08/56/image_26112025_08_56_10_2816.jpg
/home/pi/Desktop/images/26112025/08/56/image_26112025_08_56_13_3730.jpg
/home/pi/Desktop/images/26112025/08/56/image_26112025_08_56_16_2563.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":["1396251649","1396251646","1396251651","1396251654","1396251648","1396251644"],"photo_ids_order":["1396251644","1396251646","1396251648","1396251649","1396251651","1396251654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7f7e82fe5ff47901826888f5dc8b5995.jpg","text":"TemporaryFile(/tmp/multipartBody5507386046314221655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160983553,"filename":"image_26112025_08_56_10_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/26/f0ffdb9b4cf9de6e7249bed9feecf921.jpg","text":"TemporaryFile(/tmp/multipartBody292445829855675281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160983553,"filename":"image_26112025_08_55_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/26/2876cd79d394a456c626ad2579a8b60f.jpg","text":"TemporaryFile(/tmp/multipartBody4765478485782545230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160983553,"filename":"image_26112025_08_56_13_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/26/c8b51ae2dc516e3fd0653084907d0787.jpg","text":"TemporaryFile(/tmp/multipartBody3346889468941800180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160983553,"filename":"image_26112025_08_56_16_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/26/376806bff655de7c61f2164ead1d0a24.jpg","text":"TemporaryFile(/tmp/multipartBody3837817884705277049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160983553,"filename":"image_26112025_08_56_07_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/26/75016cf179b9e4c1ad2a754c7e2a8b85.jpg","text":"TemporaryFile(/tmp/multipartBody8949075887733130329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764160983553,"filename":"image_26112025_08_55_47_3614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251648","file1":"1396251646","file0":"1396251644","file4":"1396251651","file5":"1396251654","file3":"1396251649"},"map_files_photo_id_array":[{"photo_id":"1396251654","filename":"file5"},{"photo_id":"1396251648","filename":"file2"},{"photo_id":"1396251651","filename":"file4"},{"photo_id":"1396251646","filename":"file1"},{"photo_id":"1396251644","filename":"file0"},{"photo_id":"1396251649","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251649":["hashtag1","hashtag2"]},{"1396251646":["hashtag1","hashtag2"]},{"1396251651":["hashtag1","hashtag2"]},{"1396251654":["hashtag1","hashtag2"]},{"1396251648":["hashtag1","hashtag2"]},{"1396251644":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251649, 1396251646, 1396251651, 1396251654, 1396251648, 1396251644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82353854179382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 13:42:42.301920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/56/image_26112025_08_56_22_3530.jpg', '/home/pi/Desktop/images/26112025/08/56/image_26112025_08_56_25_2588.jpg', '/home/pi/Desktop/images/26112025/08/56/image_26112025_08_56_52_2860.jpg', '/home/pi/Desktop/images/26112025/08/56/image_26112025_08_56_55_2686.jpg', '/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_01_2763.jpg', '/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_04_2509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/56/image_26112025_08_56_22_3530.jpg
/home/pi/Desktop/images/26112025/08/56/image_26112025_08_56_25_2588.jpg
/home/pi/Desktop/images/26112025/08/56/image_26112025_08_56_52_2860.jpg
/home/pi/Desktop/images/26112025/08/56/image_26112025_08_56_55_2686.jpg
/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_01_2763.jpg
/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_04_2509.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":["1396251667","1396251663","1396251666","1396251669","1396251665","1396251668"],"photo_ids_order":["1396251663","1396251665","1396251666","1396251667","1396251668","1396251669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/25e31b094981721cd46f475ad8e16438.jpg","text":"TemporaryFile(/tmp/multipartBody9056733372060282930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161022994,"filename":"image_26112025_08_56_55_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/26/31792503b68862df2cacda4be53934c0.jpg","text":"TemporaryFile(/tmp/multipartBody4444264382520141627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161022994,"filename":"image_26112025_08_56_22_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/26/fd09215a26e10468e4cb96a5e3c90a14.jpg","text":"TemporaryFile(/tmp/multipartBody8365049655848638835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161022994,"filename":"image_26112025_08_56_52_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/26/da9b4660c2de345c26413c6601b7dc07.jpg","text":"TemporaryFile(/tmp/multipartBody6979481295210437647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161022994,"filename":"image_26112025_08_57_04_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/26/be5748236b53fca5b38ede2971aa8dfe.jpg","text":"TemporaryFile(/tmp/multipartBody7926378771976643131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161022994,"filename":"image_26112025_08_56_25_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/26/fb2a7e5e854f15dfe60a7f258dafd66b.jpg","text":"TemporaryFile(/tmp/multipartBody2288798080254921482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161022994,"filename":"image_26112025_08_57_01_2763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251666","file1":"1396251665","file0":"1396251663","file4":"1396251668","file5":"1396251669","file3":"1396251667"},"map_files_photo_id_array":[{"photo_id":"1396251669","filename":"file5"},{"photo_id":"1396251666","filename":"file2"},{"photo_id":"1396251668","filename":"file4"},{"photo_id":"1396251665","filename":"file1"},{"photo_id":"1396251663","filename":"file0"},{"photo_id":"1396251667","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251667":["hashtag1","hashtag2"]},{"1396251663":["hashtag1","hashtag2"]},{"1396251666":["hashtag1","hashtag2"]},{"1396251669":["hashtag1","hashtag2"]},{"1396251665":["hashtag1","hashtag2"]},{"1396251668":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251667, 1396251663, 1396251666, 1396251669, 1396251665, 1396251668)","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: 55.85369277000427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 13:43:42.486632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_07_3645.jpg', '/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_10_2774.jpg', '/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_13_2770.jpg', '/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_16_2956.jpg', '/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_20_3644.jpg', '/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_22_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_07_3645.jpg
/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_10_2774.jpg
/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_13_2770.jpg
/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_16_2956.jpg
/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_20_3644.jpg
/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_22_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":["1396251694","1396251688","1396251703","1396251693","1396251692","1396251707"],"photo_ids_order":["1396251688","1396251692","1396251693","1396251694","1396251703","1396251707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b70e3af4ac633e228a4774fadc94d0ea.jpg","text":"TemporaryFile(/tmp/multipartBody3701606537726849167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161083185,"filename":"image_26112025_08_57_16_2956.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2ee131d0df302e9326e322b6f4ef3e24.jpg","text":"TemporaryFile(/tmp/multipartBody3270701297255844421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161083185,"filename":"image_26112025_08_57_07_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/26/f75ab184e7e06fff7ba7bc651c50815f.jpg","text":"TemporaryFile(/tmp/multipartBody4266079043435741740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161083185,"filename":"image_26112025_08_57_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/26/28e71e58766a092c1259446c7be63605.jpg","text":"TemporaryFile(/tmp/multipartBody1331357166538283113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161083185,"filename":"image_26112025_08_57_13_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/26/dc5accd7e7503e6ef0aac78cb22ec050.jpg","text":"TemporaryFile(/tmp/multipartBody4788615004267362368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161083185,"filename":"image_26112025_08_57_10_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/26/24375c82e63d7c2ee8f08688f5605106.jpg","text":"TemporaryFile(/tmp/multipartBody799797491429390927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161083185,"filename":"image_26112025_08_57_22_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251693","file1":"1396251692","file0":"1396251688","file4":"1396251703","file5":"1396251707","file3":"1396251694"},"map_files_photo_id_array":[{"photo_id":"1396251707","filename":"file5"},{"photo_id":"1396251693","filename":"file2"},{"photo_id":"1396251703","filename":"file4"},{"photo_id":"1396251692","filename":"file1"},{"photo_id":"1396251688","filename":"file0"},{"photo_id":"1396251694","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251694":["hashtag1","hashtag2"]},{"1396251688":["hashtag1","hashtag2"]},{"1396251703":["hashtag1","hashtag2"]},{"1396251693":["hashtag1","hashtag2"]},{"1396251692":["hashtag1","hashtag2"]},{"1396251707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251694, 1396251688, 1396251703, 1396251693, 1396251692, 1396251707)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.1849102973938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:44:32.658406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_25_2816.jpg', '/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_37_2694.jpg', '/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_40_3554.jpg', '/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_43_2597.jpg', '/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_46_3566.jpg', '/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_49_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_25_2816.jpg
/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_37_2694.jpg
/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_40_3554.jpg
/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_43_2597.jpg
/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_46_3566.jpg
/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_49_2591.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":["1396251760","1396251759","1396251750","1396251753","1396251756","1396251761"],"photo_ids_order":["1396251750","1396251753","1396251756","1396251759","1396251760","1396251761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9c3edd14b847c4ce1fad42e1031bb084.jpg","text":"TemporaryFile(/tmp/multipartBody1210135539260007801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161133325,"filename":"image_26112025_08_57_46_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/26/90d2234fb0cba784a1f049247b57d55c.jpg","text":"TemporaryFile(/tmp/multipartBody9054985095761400461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161133325,"filename":"image_26112025_08_57_43_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/26/72833530404fe532f142b18be4762f1e.jpg","text":"TemporaryFile(/tmp/multipartBody3274969964627394632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161133325,"filename":"image_26112025_08_57_25_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/26/536d5071c07e87be1936257b622651d6.jpg","text":"TemporaryFile(/tmp/multipartBody8804351701130558131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161133325,"filename":"image_26112025_08_57_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/26/2bc93663b9cfbcef508b26d76f68e032.jpg","text":"TemporaryFile(/tmp/multipartBody9148547017166997411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161133325,"filename":"image_26112025_08_57_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/26/b301051cb3b7d399c338db5a4b6e3297.jpg","text":"TemporaryFile(/tmp/multipartBody9011525881413150408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161133325,"filename":"image_26112025_08_57_49_2591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251756","file1":"1396251753","file0":"1396251750","file4":"1396251760","file5":"1396251761","file3":"1396251759"},"map_files_photo_id_array":[{"photo_id":"1396251761","filename":"file5"},{"photo_id":"1396251756","filename":"file2"},{"photo_id":"1396251760","filename":"file4"},{"photo_id":"1396251753","filename":"file1"},{"photo_id":"1396251750","filename":"file0"},{"photo_id":"1396251759","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251760":["hashtag1","hashtag2"]},{"1396251759":["hashtag1","hashtag2"]},{"1396251750":["hashtag1","hashtag2"]},{"1396251753":["hashtag1","hashtag2"]},{"1396251756":["hashtag1","hashtag2"]},{"1396251761":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251760, 1396251759, 1396251750, 1396251753, 1396251756, 1396251761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.775712728500366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:45:12.325834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 13:45:22.304354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_53_3655.jpg', '/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_58_2599.jpg', '/home/pi/Desktop/images/26112025/08/57/image_26112025_08_58_01_3565.jpg', '/home/pi/Desktop/images/26112025/08/58/image_26112025_08_58_04_2635.jpg', '/home/pi/Desktop/images/26112025/08/58/image_26112025_08_58_19_2696.jpg', '/home/pi/Desktop/images/26112025/08/58/image_26112025_08_58_22_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_53_3655.jpg
/home/pi/Desktop/images/26112025/08/57/image_26112025_08_57_58_2599.jpg
/home/pi/Desktop/images/26112025/08/57/image_26112025_08_58_01_3565.jpg
/home/pi/Desktop/images/26112025/08/58/image_26112025_08_58_04_2635.jpg
/home/pi/Desktop/images/26112025/08/58/image_26112025_08_58_19_2696.jpg
/home/pi/Desktop/images/26112025/08/58/image_26112025_08_58_22_2588.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":["1396251781","1396251777","1396251771","1396251765","1396251774","1396251768"],"photo_ids_order":["1396251765","1396251768","1396251771","1396251774","1396251777","1396251781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ae5aba7d40192c0cecb9128536a90ffb.jpg","text":"TemporaryFile(/tmp/multipartBody6041335584003323539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161182997,"filename":"image_26112025_08_58_22_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/358d07b732fd4133f6f1cc019efe7142.jpg","text":"TemporaryFile(/tmp/multipartBody7727636052655669442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161182997,"filename":"image_26112025_08_58_19_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/26/dfc244eb8e26bfee4251c144b09334a1.jpg","text":"TemporaryFile(/tmp/multipartBody1988124127198009512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161182997,"filename":"image_26112025_08_58_01_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/09a81297dd6da5f1a3541faf35218455.jpg","text":"TemporaryFile(/tmp/multipartBody7455831076676357864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161182997,"filename":"image_26112025_08_57_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/26/b24b09b087cc4870d79cdc26371dda17.jpg","text":"TemporaryFile(/tmp/multipartBody1164035882404501787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161182997,"filename":"image_26112025_08_58_04_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/26/f3b176f58d477c9828c03dbb723a3384.jpg","text":"TemporaryFile(/tmp/multipartBody8277054535133395978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161182997,"filename":"image_26112025_08_57_58_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251771","file1":"1396251768","file0":"1396251765","file4":"1396251777","file5":"1396251781","file3":"1396251774"},"map_files_photo_id_array":[{"photo_id":"1396251781","filename":"file5"},{"photo_id":"1396251771","filename":"file2"},{"photo_id":"1396251777","filename":"file4"},{"photo_id":"1396251768","filename":"file1"},{"photo_id":"1396251765","filename":"file0"},{"photo_id":"1396251774","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251781":["hashtag1","hashtag2"]},{"1396251777":["hashtag1","hashtag2"]},{"1396251771":["hashtag1","hashtag2"]},{"1396251765":["hashtag1","hashtag2"]},{"1396251774":["hashtag1","hashtag2"]},{"1396251768":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251781, 1396251777, 1396251771, 1396251765, 1396251774, 1396251768)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.44570565223694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:46:16.823502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/58/image_26112025_08_58_25_3474.jpg', '/home/pi/Desktop/images/26112025/08/58/image_26112025_08_58_31_3557.jpg', '/home/pi/Desktop/images/26112025/08/58/image_26112025_08_58_34_2598.jpg', '/home/pi/Desktop/images/26112025/08/58/image_26112025_08_58_37_2688.jpg', '/home/pi/Desktop/images/26112025/08/58/image_26112025_08_58_40_3630.jpg', '/home/pi/Desktop/images/26112025/08/58/image_26112025_08_58_43_2808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/58/image_26112025_08_58_25_3474.jpg
/home/pi/Desktop/images/26112025/08/58/image_26112025_08_58_31_3557.jpg
/home/pi/Desktop/images/26112025/08/58/image_26112025_08_58_34_2598.jpg
/home/pi/Desktop/images/26112025/08/58/image_26112025_08_58_37_2688.jpg
/home/pi/Desktop/images/26112025/08/58/image_26112025_08_58_40_3630.jpg
/home/pi/Desktop/images/26112025/08/58/image_26112025_08_58_43_2808.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":["1396251784","1396251787","1396251795","1396251798","1396251792","1396251782"],"photo_ids_order":["1396251782","1396251784","1396251787","1396251792","1396251795","1396251798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6182f29138088d5877c425990822a3b4.jpg","text":"TemporaryFile(/tmp/multipartBody5913450282135081446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161237522,"filename":"image_26112025_08_58_31_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/26/df1105cda48e21bce424e9c09be890f9.jpg","text":"TemporaryFile(/tmp/multipartBody8294464547528944452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161237522,"filename":"image_26112025_08_58_34_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/26/83942440270ba3a500c3010d5b7bdc5a.jpg","text":"TemporaryFile(/tmp/multipartBody4612296290789574863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161237522,"filename":"image_26112025_08_58_40_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/26/13d24732ed5c1cb210a84530c2f78c7b.jpg","text":"TemporaryFile(/tmp/multipartBody6736202105718955806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161237522,"filename":"image_26112025_08_58_43_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/26/e6f7d61697b6445cc92c7f61f29c623d.jpg","text":"TemporaryFile(/tmp/multipartBody2098201978843902025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161237522,"filename":"image_26112025_08_58_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/26/6133b353d4fe571608a7f32488565abf.jpg","text":"TemporaryFile(/tmp/multipartBody1519741539747122084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161237522,"filename":"image_26112025_08_58_25_3474.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251787","file1":"1396251784","file0":"1396251782","file4":"1396251795","file5":"1396251798","file3":"1396251792"},"map_files_photo_id_array":[{"photo_id":"1396251798","filename":"file5"},{"photo_id":"1396251787","filename":"file2"},{"photo_id":"1396251795","filename":"file4"},{"photo_id":"1396251784","filename":"file1"},{"photo_id":"1396251782","filename":"file0"},{"photo_id":"1396251792","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251784":["hashtag1","hashtag2"]},{"1396251787":["hashtag1","hashtag2"]},{"1396251795":["hashtag1","hashtag2"]},{"1396251798":["hashtag1","hashtag2"]},{"1396251792":["hashtag1","hashtag2"]},{"1396251782":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251784, 1396251787, 1396251795, 1396251798, 1396251792, 1396251782)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.58121967315674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:47:13.804835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/58/image_26112025_08_58_46_2602.jpg', '/home/pi/Desktop/images/26112025/08/58/image_26112025_08_58_49_3681.jpg', '/home/pi/Desktop/images/26112025/08/58/image_26112025_08_58_55_2649.jpg', '/home/pi/Desktop/images/26112025/08/59/image_26112025_08_59_01_2746.jpg', '/home/pi/Desktop/images/26112025/08/59/image_26112025_08_59_03_2639.jpg', '/home/pi/Desktop/images/26112025/08/59/image_26112025_08_59_07_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/58/image_26112025_08_58_46_2602.jpg
/home/pi/Desktop/images/26112025/08/58/image_26112025_08_58_49_3681.jpg
/home/pi/Desktop/images/26112025/08/58/image_26112025_08_58_55_2649.jpg
/home/pi/Desktop/images/26112025/08/59/image_26112025_08_59_01_2746.jpg
/home/pi/Desktop/images/26112025/08/59/image_26112025_08_59_03_2639.jpg
/home/pi/Desktop/images/26112025/08/59/image_26112025_08_59_07_3591.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":["1396251803","1396251802","1396251813","1396251807","1396251816","1396251810"],"photo_ids_order":["1396251802","1396251803","1396251807","1396251810","1396251813","1396251816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c88830228c91c818429cbf2f8ae66d58.jpg","text":"TemporaryFile(/tmp/multipartBody5770207100391653834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161294426,"filename":"image_26112025_08_58_49_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/26/4c0303cd8b83e0f8c95c8709ce452ee5.jpg","text":"TemporaryFile(/tmp/multipartBody338195961826381677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161294426,"filename":"image_26112025_08_58_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/26/d9e5812114d0c4140f49405a6f98bda3.jpg","text":"TemporaryFile(/tmp/multipartBody1748102237732703674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161294426,"filename":"image_26112025_08_59_03_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/26/bdc6998c9a0de71f707aae586cdd6f98.jpg","text":"TemporaryFile(/tmp/multipartBody5934890707341791551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161294426,"filename":"image_26112025_08_58_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/26/2a510036dff2399e4e3d62d7c3d68487.jpg","text":"TemporaryFile(/tmp/multipartBody5520346257489503994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161294426,"filename":"image_26112025_08_59_07_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/26/b9c03bb9df06ef2e0d14dcca2067621e.jpg","text":"TemporaryFile(/tmp/multipartBody3924025290897983307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161294426,"filename":"image_26112025_08_59_01_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251807","file1":"1396251803","file0":"1396251802","file4":"1396251813","file5":"1396251816","file3":"1396251810"},"map_files_photo_id_array":[{"photo_id":"1396251816","filename":"file5"},{"photo_id":"1396251807","filename":"file2"},{"photo_id":"1396251813","filename":"file4"},{"photo_id":"1396251803","filename":"file1"},{"photo_id":"1396251802","filename":"file0"},{"photo_id":"1396251810","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251803":["hashtag1","hashtag2"]},{"1396251802":["hashtag1","hashtag2"]},{"1396251813":["hashtag1","hashtag2"]},{"1396251807":["hashtag1","hashtag2"]},{"1396251816":["hashtag1","hashtag2"]},{"1396251810":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251803, 1396251802, 1396251813, 1396251807, 1396251816, 1396251810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60124588012695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 13:48:02.490343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/59/image_26112025_08_59_10_2604.jpg', '/home/pi/Desktop/images/26112025/08/59/image_26112025_08_59_13_3671.jpg', '/home/pi/Desktop/images/26112025/08/59/image_26112025_08_59_16_2611.jpg', '/home/pi/Desktop/images/26112025/08/59/image_26112025_08_59_22_3668.jpg', '/home/pi/Desktop/images/26112025/08/59/image_26112025_08_59_25_2543.jpg', '/home/pi/Desktop/images/26112025/08/59/image_26112025_08_59_27_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/59/image_26112025_08_59_10_2604.jpg
/home/pi/Desktop/images/26112025/08/59/image_26112025_08_59_13_3671.jpg
/home/pi/Desktop/images/26112025/08/59/image_26112025_08_59_16_2611.jpg
/home/pi/Desktop/images/26112025/08/59/image_26112025_08_59_22_3668.jpg
/home/pi/Desktop/images/26112025/08/59/image_26112025_08_59_25_2543.jpg
/home/pi/Desktop/images/26112025/08/59/image_26112025_08_59_27_2660.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":["1396251829","1396251823","1396251825","1396251822","1396251824","1396251827"],"photo_ids_order":["1396251822","1396251823","1396251824","1396251825","1396251827","1396251829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b12034e0628d4b75b2a46d1f0c1cc964.jpg","text":"TemporaryFile(/tmp/multipartBody9066884763487091069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161343335,"filename":"image_26112025_08_59_27_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/599e0825ea78513e40bc9ad820e254bb.jpg","text":"TemporaryFile(/tmp/multipartBody7605907957651720756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161343335,"filename":"image_26112025_08_59_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/26/ac262b7542de9ff3370fa9d870c401a8.jpg","text":"TemporaryFile(/tmp/multipartBody8263112748965406238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161343335,"filename":"image_26112025_08_59_22_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/26/e8ccbb06c1d64012ee073f887d7c0a23.jpg","text":"TemporaryFile(/tmp/multipartBody3138663438209474758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161343335,"filename":"image_26112025_08_59_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/26/2ac1bd3b755f25b965e2a693ef3a9737.jpg","text":"TemporaryFile(/tmp/multipartBody8016158898912761243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161343335,"filename":"image_26112025_08_59_16_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ed579c5e952eca503cd5acbb95a28e54.jpg","text":"TemporaryFile(/tmp/multipartBody5604133469596897173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161343335,"filename":"image_26112025_08_59_25_2543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251824","file1":"1396251823","file0":"1396251822","file4":"1396251827","file5":"1396251829","file3":"1396251825"},"map_files_photo_id_array":[{"photo_id":"1396251829","filename":"file5"},{"photo_id":"1396251824","filename":"file2"},{"photo_id":"1396251827","filename":"file4"},{"photo_id":"1396251823","filename":"file1"},{"photo_id":"1396251822","filename":"file0"},{"photo_id":"1396251825","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251829":["hashtag1","hashtag2"]},{"1396251823":["hashtag1","hashtag2"]},{"1396251825":["hashtag1","hashtag2"]},{"1396251822":["hashtag1","hashtag2"]},{"1396251824":["hashtag1","hashtag2"]},{"1396251827":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251829, 1396251823, 1396251825, 1396251822, 1396251824, 1396251827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71353316307068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 13:48:42.127477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/08/59/image_26112025_08_59_31_3661.jpg', '/home/pi/Desktop/images/26112025/08/59/image_26112025_08_59_34_2655.jpg', '/home/pi/Desktop/images/26112025/08/59/image_26112025_08_59_49_2611.jpg', '/home/pi/Desktop/images/26112025/09/00/image_26112025_09_00_07_3017.jpg', '/home/pi/Desktop/images/26112025/09/00/image_26112025_09_00_11_3620.jpg', '/home/pi/Desktop/images/26112025/09/00/image_26112025_09_00_14_2791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/08/59/image_26112025_08_59_31_3661.jpg
/home/pi/Desktop/images/26112025/08/59/image_26112025_08_59_34_2655.jpg
/home/pi/Desktop/images/26112025/08/59/image_26112025_08_59_49_2611.jpg
/home/pi/Desktop/images/26112025/09/00/image_26112025_09_00_07_3017.jpg
/home/pi/Desktop/images/26112025/09/00/image_26112025_09_00_11_3620.jpg
/home/pi/Desktop/images/26112025/09/00/image_26112025_09_00_14_2791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396251859","1396251853","1396251844","1396251861","1396251855","1396251857"],"photo_ids_order":["1396251844","1396251853","1396251855","1396251857","1396251859","1396251861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b97c72b68d6d4bdf24bd2d6263b88703.jpg","text":"TemporaryFile(/tmp/multipartBody1495370876911405609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161382799,"filename":"image_26112025_09_00_11_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/26/322ac1cafbc4285a027d578ac6418d80.jpg","text":"TemporaryFile(/tmp/multipartBody8096193423639534964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161382799,"filename":"image_26112025_08_59_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/26/652627a99f499b7b68374272cfa4089e.jpg","text":"TemporaryFile(/tmp/multipartBody886585535709145810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161382799,"filename":"image_26112025_08_59_31_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/26/1b3de673fb893b7ee44eda8530b20181.jpg","text":"TemporaryFile(/tmp/multipartBody4519538030562825046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161382799,"filename":"image_26112025_09_00_14_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/26/e1e1c68630ee9af8732827c6d9678712.jpg","text":"TemporaryFile(/tmp/multipartBody8697567164313848262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161382799,"filename":"image_26112025_08_59_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/26/4a06ce63997762cf7c47ff71d5ed807a.jpg","text":"TemporaryFile(/tmp/multipartBody6096039368087379407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161382799,"filename":"image_26112025_09_00_07_3017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251855","file1":"1396251853","file0":"1396251844","file4":"1396251859","file5":"1396251861","file3":"1396251857"},"map_files_photo_id_array":[{"photo_id":"1396251861","filename":"file5"},{"photo_id":"1396251855","filename":"file2"},{"photo_id":"1396251859","filename":"file4"},{"photo_id":"1396251853","filename":"file1"},{"photo_id":"1396251844","filename":"file0"},{"photo_id":"1396251857","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251859":["hashtag1","hashtag2"]},{"1396251853":["hashtag1","hashtag2"]},{"1396251844":["hashtag1","hashtag2"]},{"1396251861":["hashtag1","hashtag2"]},{"1396251855":["hashtag1","hashtag2"]},{"1396251857":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251859, 1396251853, 1396251844, 1396251861, 1396251855, 1396251857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57695555686951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:49:22.402284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/00/image_26112025_09_00_16_2677.jpg', '/home/pi/Desktop/images/26112025/09/00/image_26112025_09_00_20_3585.jpg', '/home/pi/Desktop/images/26112025/09/00/image_26112025_09_00_25_2709.jpg', '/home/pi/Desktop/images/26112025/09/00/image_26112025_09_00_29_3565.jpg', '/home/pi/Desktop/images/26112025/09/00/image_26112025_09_00_31_2599.jpg', '/home/pi/Desktop/images/26112025/09/00/image_26112025_09_00_35_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/00/image_26112025_09_00_16_2677.jpg
/home/pi/Desktop/images/26112025/09/00/image_26112025_09_00_20_3585.jpg
/home/pi/Desktop/images/26112025/09/00/image_26112025_09_00_25_2709.jpg
/home/pi/Desktop/images/26112025/09/00/image_26112025_09_00_29_3565.jpg
/home/pi/Desktop/images/26112025/09/00/image_26112025_09_00_31_2599.jpg
/home/pi/Desktop/images/26112025/09/00/image_26112025_09_00_35_3680.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":["1396251877","1396251865","1396251880","1396251885","1396251873","1396251869"],"photo_ids_order":["1396251865","1396251869","1396251873","1396251877","1396251880","1396251885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/44418c4a153487f1171138fe9b629db5.jpg","text":"TemporaryFile(/tmp/multipartBody69971322485823999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161423069,"filename":"image_26112025_09_00_29_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/26/fc0bc7bd31a506b113cc4f461b789ff4.jpg","text":"TemporaryFile(/tmp/multipartBody2681885098822336578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161423069,"filename":"image_26112025_09_00_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/26/678c31e0635d743e26d075edd12159a4.jpg","text":"TemporaryFile(/tmp/multipartBody6408393712172574874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161423069,"filename":"image_26112025_09_00_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/26/0f5c0e8adff5e92eeaac4d17d10e0f13.jpg","text":"TemporaryFile(/tmp/multipartBody3456238095242306640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161423069,"filename":"image_26112025_09_00_35_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/26/adfa0e87a60f74c65c6c0ee3414be727.jpg","text":"TemporaryFile(/tmp/multipartBody7491245768376115287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161423069,"filename":"image_26112025_09_00_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/26/13319340809ac5a573a4984ddb6da9e5.jpg","text":"TemporaryFile(/tmp/multipartBody7191081656610947551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161423069,"filename":"image_26112025_09_00_20_3585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251873","file1":"1396251869","file0":"1396251865","file4":"1396251880","file5":"1396251885","file3":"1396251877"},"map_files_photo_id_array":[{"photo_id":"1396251885","filename":"file5"},{"photo_id":"1396251873","filename":"file2"},{"photo_id":"1396251880","filename":"file4"},{"photo_id":"1396251869","filename":"file1"},{"photo_id":"1396251865","filename":"file0"},{"photo_id":"1396251877","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251877":["hashtag1","hashtag2"]},{"1396251865":["hashtag1","hashtag2"]},{"1396251880":["hashtag1","hashtag2"]},{"1396251885":["hashtag1","hashtag2"]},{"1396251873":["hashtag1","hashtag2"]},{"1396251869":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251877, 1396251865, 1396251880, 1396251885, 1396251873, 1396251869)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 62.958582162857056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:50:32.604963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/00/image_26112025_09_00_38_2751.jpg', '/home/pi/Desktop/images/26112025/09/00/image_26112025_09_00_43_2684.jpg', '/home/pi/Desktop/images/26112025/09/00/image_26112025_09_00_56_3789.jpg', '/home/pi/Desktop/images/26112025/09/01/image_26112025_09_01_04_2775.jpg', '/home/pi/Desktop/images/26112025/09/01/image_26112025_09_01_08_3610.jpg', '/home/pi/Desktop/images/26112025/09/02/image_26112025_09_02_14_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/00/image_26112025_09_00_38_2751.jpg
/home/pi/Desktop/images/26112025/09/00/image_26112025_09_00_43_2684.jpg
/home/pi/Desktop/images/26112025/09/00/image_26112025_09_00_56_3789.jpg
/home/pi/Desktop/images/26112025/09/01/image_26112025_09_01_04_2775.jpg
/home/pi/Desktop/images/26112025/09/01/image_26112025_09_01_08_3610.jpg
/home/pi/Desktop/images/26112025/09/02/image_26112025_09_02_14_2698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396251898","1396251902","1396251904","1396251900","1396251903","1396251895"],"photo_ids_order":["1396251895","1396251898","1396251900","1396251902","1396251903","1396251904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c4320e9b185e903634d1b4991ccc4d13.jpg","text":"TemporaryFile(/tmp/multipartBody2376999035900405800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161496540,"filename":"image_26112025_09_00_43_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/26/17f8caadbbd5de0b2a22e652d81c5e45.jpg","text":"TemporaryFile(/tmp/multipartBody4596524605347592061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161496540,"filename":"image_26112025_09_01_04_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/26/bd3e7e7acac30d5a28ceebc059685bbe.jpg","text":"TemporaryFile(/tmp/multipartBody6041711549265823382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161496540,"filename":"image_26112025_09_02_14_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/26/ec85e1c7b0139b34f02c2aa1d6e9b71b.jpg","text":"TemporaryFile(/tmp/multipartBody4964398788064079806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161496540,"filename":"image_26112025_09_00_56_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/26/506cb3be6fe943137d2b6e75ac46483f.jpg","text":"TemporaryFile(/tmp/multipartBody656558821332224674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161496540,"filename":"image_26112025_09_01_08_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/26/438b81384934a7769d1763e3a5731f66.jpg","text":"TemporaryFile(/tmp/multipartBody734893453774140862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161496540,"filename":"image_26112025_09_00_38_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251900","file1":"1396251898","file0":"1396251895","file4":"1396251903","file5":"1396251904","file3":"1396251902"},"map_files_photo_id_array":[{"photo_id":"1396251904","filename":"file5"},{"photo_id":"1396251900","filename":"file2"},{"photo_id":"1396251903","filename":"file4"},{"photo_id":"1396251898","filename":"file1"},{"photo_id":"1396251895","filename":"file0"},{"photo_id":"1396251902","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251898":["hashtag1","hashtag2"]},{"1396251902":["hashtag1","hashtag2"]},{"1396251904":["hashtag1","hashtag2"]},{"1396251900":["hashtag1","hashtag2"]},{"1396251903":["hashtag1","hashtag2"]},{"1396251895":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251898, 1396251902, 1396251904, 1396251900, 1396251903, 1396251895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.34573531150818 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:51:12.802667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/02/image_26112025_09_02_53_3574.jpg', '/home/pi/Desktop/images/26112025/09/03/image_26112025_09_03_38_1706.jpg', '/home/pi/Desktop/images/26112025/09/03/image_26112025_09_03_44_3685.jpg', '/home/pi/Desktop/images/26112025/09/04/image_26112025_09_04_11_3511.jpg', '/home/pi/Desktop/images/26112025/09/04/image_26112025_09_04_13_2598.jpg', '/home/pi/Desktop/images/26112025/09/04/image_26112025_09_04_17_3770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/02/image_26112025_09_02_53_3574.jpg
/home/pi/Desktop/images/26112025/09/03/image_26112025_09_03_38_1706.jpg
/home/pi/Desktop/images/26112025/09/03/image_26112025_09_03_44_3685.jpg
/home/pi/Desktop/images/26112025/09/04/image_26112025_09_04_11_3511.jpg
/home/pi/Desktop/images/26112025/09/04/image_26112025_09_04_13_2598.jpg
/home/pi/Desktop/images/26112025/09/04/image_26112025_09_04_17_3770.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":["1396251906","1396251915","1396251909","1396251918","1396251911","1396251905"],"photo_ids_order":["1396251905","1396251906","1396251909","1396251911","1396251915","1396251918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f16705d1b008b36519ddeed612f397de.jpg","text":"TemporaryFile(/tmp/multipartBody1115266856804893499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161533454,"filename":"image_26112025_09_03_38_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8710207d101ec167eab1b5d795878ab7.jpg","text":"TemporaryFile(/tmp/multipartBody8918292134816050381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161533454,"filename":"image_26112025_09_04_13_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/26/ce0d114964f68cc1b767f91f18973c52.jpg","text":"TemporaryFile(/tmp/multipartBody9178597834383225869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161533454,"filename":"image_26112025_09_03_44_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/26/9875c9844022fc51bb04d55fed2693e0.jpg","text":"TemporaryFile(/tmp/multipartBody2781786905561977931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161533454,"filename":"image_26112025_09_04_17_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7c2154d1058850484b358da85690d18d.jpg","text":"TemporaryFile(/tmp/multipartBody5655612888848974056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161533454,"filename":"image_26112025_09_04_11_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/26/e4bc9afc7cad9908eee79b3f527a0f70.jpg","text":"TemporaryFile(/tmp/multipartBody1646612836368498595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161533454,"filename":"image_26112025_09_02_53_3574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251909","file1":"1396251906","file0":"1396251905","file4":"1396251915","file5":"1396251918","file3":"1396251911"},"map_files_photo_id_array":[{"photo_id":"1396251918","filename":"file5"},{"photo_id":"1396251909","filename":"file2"},{"photo_id":"1396251915","filename":"file4"},{"photo_id":"1396251906","filename":"file1"},{"photo_id":"1396251905","filename":"file0"},{"photo_id":"1396251911","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251906":["hashtag1","hashtag2"]},{"1396251915":["hashtag1","hashtag2"]},{"1396251909":["hashtag1","hashtag2"]},{"1396251918":["hashtag1","hashtag2"]},{"1396251911":["hashtag1","hashtag2"]},{"1396251905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251906, 1396251915, 1396251909, 1396251918, 1396251911, 1396251905)","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: 60.994789838790894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:52:22.922631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/04/image_26112025_09_04_22_2609.jpg', '/home/pi/Desktop/images/26112025/09/04/image_26112025_09_04_26_3814.jpg', '/home/pi/Desktop/images/26112025/09/04/image_26112025_09_04_28_2629.jpg', '/home/pi/Desktop/images/26112025/09/04/image_26112025_09_04_34_2639.jpg', '/home/pi/Desktop/images/26112025/09/04/image_26112025_09_04_50_3523.jpg', '/home/pi/Desktop/images/26112025/09/04/image_26112025_09_04_58_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/04/image_26112025_09_04_22_2609.jpg
/home/pi/Desktop/images/26112025/09/04/image_26112025_09_04_26_3814.jpg
/home/pi/Desktop/images/26112025/09/04/image_26112025_09_04_28_2629.jpg
/home/pi/Desktop/images/26112025/09/04/image_26112025_09_04_34_2639.jpg
/home/pi/Desktop/images/26112025/09/04/image_26112025_09_04_50_3523.jpg
/home/pi/Desktop/images/26112025/09/04/image_26112025_09_04_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":["1396251985","1396251979","1396251970","1396251973","1396251975","1396251994"],"photo_ids_order":["1396251970","1396251973","1396251975","1396251979","1396251985","1396251994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e1b23a5a1a5d5b2bc0eb24af46186341.jpg","text":"TemporaryFile(/tmp/multipartBody2430078540938095321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161603586,"filename":"image_26112025_09_04_50_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/26/9119e324e081c1bdd65ea43669d6ba97.jpg","text":"TemporaryFile(/tmp/multipartBody5458781596274047126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161603586,"filename":"image_26112025_09_04_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/26/4732c8fc283abb079f28e5b93c59aaa5.jpg","text":"TemporaryFile(/tmp/multipartBody2987463292451478131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161603586,"filename":"image_26112025_09_04_22_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/26/cd8f2cd65b4c7ce23b0504ffff1d73ba.jpg","text":"TemporaryFile(/tmp/multipartBody2306096370839649288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161603586,"filename":"image_26112025_09_04_26_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/26/b3cbc607ff3ca966be02f2eb7b3a7bce.jpg","text":"TemporaryFile(/tmp/multipartBody6389191891958838173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161603586,"filename":"image_26112025_09_04_28_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/26/31888d980e71bdb22d73cc1c6454a648.jpg","text":"TemporaryFile(/tmp/multipartBody2868641916554435545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161603586,"filename":"image_26112025_09_04_58_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396251975","file1":"1396251973","file0":"1396251970","file4":"1396251985","file5":"1396251994","file3":"1396251979"},"map_files_photo_id_array":[{"photo_id":"1396251994","filename":"file5"},{"photo_id":"1396251975","filename":"file2"},{"photo_id":"1396251985","filename":"file4"},{"photo_id":"1396251973","filename":"file1"},{"photo_id":"1396251970","filename":"file0"},{"photo_id":"1396251979","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251985":["hashtag1","hashtag2"]},{"1396251979":["hashtag1","hashtag2"]},{"1396251970":["hashtag1","hashtag2"]},{"1396251973":["hashtag1","hashtag2"]},{"1396251975":["hashtag1","hashtag2"]},{"1396251994":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251985, 1396251979, 1396251970, 1396251973, 1396251975, 1396251994)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.127731800079346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:53:12.209517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/05/image_26112025_09_05_02_3697.jpg', '/home/pi/Desktop/images/26112025/09/05/image_26112025_09_05_07_2652.jpg', '/home/pi/Desktop/images/26112025/09/05/image_26112025_09_05_11_3714.jpg', '/home/pi/Desktop/images/26112025/09/05/image_26112025_09_05_13_2655.jpg', '/home/pi/Desktop/images/26112025/09/05/image_26112025_09_05_16_2764.jpg', '/home/pi/Desktop/images/26112025/09/05/image_26112025_09_05_40_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/05/image_26112025_09_05_02_3697.jpg
/home/pi/Desktop/images/26112025/09/05/image_26112025_09_05_07_2652.jpg
/home/pi/Desktop/images/26112025/09/05/image_26112025_09_05_11_3714.jpg
/home/pi/Desktop/images/26112025/09/05/image_26112025_09_05_13_2655.jpg
/home/pi/Desktop/images/26112025/09/05/image_26112025_09_05_16_2764.jpg
/home/pi/Desktop/images/26112025/09/05/image_26112025_09_05_40_2709.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":["1396251997","1396252009","1396252000","1396252005","1396252002","1396251998"],"photo_ids_order":["1396251997","1396251998","1396252000","1396252002","1396252005","1396252009"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/51dbbfff39edd72dd408e2efbbc91d8c.jpg","text":"TemporaryFile(/tmp/multipartBody325395647506299828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161652872,"filename":"image_26112025_09_05_02_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/26/31d3b15f28c17f34761db3cd6395595b.jpg","text":"TemporaryFile(/tmp/multipartBody6408659277937292640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161652872,"filename":"image_26112025_09_05_40_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/26/8289c5144e8629e4e8c7f76dd0c4bb30.jpg","text":"TemporaryFile(/tmp/multipartBody8361609313402361978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161652872,"filename":"image_26112025_09_05_11_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/26/22d71a5eecc44837ab336fd5b71415db.jpg","text":"TemporaryFile(/tmp/multipartBody3903901861831525888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161652872,"filename":"image_26112025_09_05_16_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/26/2647f23b07e8c6de09925cf2a6af066a.jpg","text":"TemporaryFile(/tmp/multipartBody2393572389929773013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161652872,"filename":"image_26112025_09_05_13_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/26/e96048adc82e12ed3158da0bcf2110f8.jpg","text":"TemporaryFile(/tmp/multipartBody5491142418463966434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161652872,"filename":"image_26112025_09_05_07_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396252000","file1":"1396251998","file0":"1396251997","file4":"1396252005","file5":"1396252009","file3":"1396252002"},"map_files_photo_id_array":[{"photo_id":"1396252009","filename":"file5"},{"photo_id":"1396252000","filename":"file2"},{"photo_id":"1396252005","filename":"file4"},{"photo_id":"1396251998","filename":"file1"},{"photo_id":"1396251997","filename":"file0"},{"photo_id":"1396252002","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396251997":["hashtag1","hashtag2"]},{"1396252009":["hashtag1","hashtag2"]},{"1396252000":["hashtag1","hashtag2"]},{"1396252005":["hashtag1","hashtag2"]},{"1396252002":["hashtag1","hashtag2"]},{"1396251998":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396251997, 1396252009, 1396252000, 1396252005, 1396252002, 1396251998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.19572138786316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 13:54:03.822521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 13:54:13.306497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/05/image_26112025_09_05_44_3645.jpg', '/home/pi/Desktop/images/26112025/09/05/image_26112025_09_05_53_3632.jpg', '/home/pi/Desktop/images/26112025/09/06/image_26112025_09_06_07_2774.jpg', '/home/pi/Desktop/images/26112025/09/06/image_26112025_09_06_13_2639.jpg', '/home/pi/Desktop/images/26112025/09/06/image_26112025_09_06_31_2594.jpg', '/home/pi/Desktop/images/26112025/09/06/image_26112025_09_06_37_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/05/image_26112025_09_05_44_3645.jpg
/home/pi/Desktop/images/26112025/09/05/image_26112025_09_05_53_3632.jpg
/home/pi/Desktop/images/26112025/09/06/image_26112025_09_06_07_2774.jpg
/home/pi/Desktop/images/26112025/09/06/image_26112025_09_06_13_2639.jpg
/home/pi/Desktop/images/26112025/09/06/image_26112025_09_06_31_2594.jpg
/home/pi/Desktop/images/26112025/09/06/image_26112025_09_06_37_2633.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":["1396252069","1396252071","1396252064","1396252067","1396252061","1396252058"],"photo_ids_order":["1396252058","1396252061","1396252064","1396252067","1396252069","1396252071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6ce6a36c23d43e4c3ff50f0be0370356.jpg","text":"TemporaryFile(/tmp/multipartBody7930783977258079939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161717871,"filename":"image_26112025_09_06_31_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/26/f506d79ae42e33298126d3a6c60b8fe8.jpg","text":"TemporaryFile(/tmp/multipartBody1438289723177581639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161717871,"filename":"image_26112025_09_06_37_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/26/6deeadb69bab74d7b9dfeae3d01d0494.jpg","text":"TemporaryFile(/tmp/multipartBody7599108265472394254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161717871,"filename":"image_26112025_09_06_07_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/26/aba29e43ecee8c327e95d490837ca380.jpg","text":"TemporaryFile(/tmp/multipartBody7814324056941065946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161717871,"filename":"image_26112025_09_06_13_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a55bbd92a441d9f56cc23ebb7ff59129.jpg","text":"TemporaryFile(/tmp/multipartBody2075352298653207633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161717871,"filename":"image_26112025_09_05_53_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/26/5ed13757b903e33b54f0ef933424f426.jpg","text":"TemporaryFile(/tmp/multipartBody5081062895514812928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161717871,"filename":"image_26112025_09_05_44_3645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396252064","file1":"1396252061","file0":"1396252058","file4":"1396252069","file5":"1396252071","file3":"1396252067"},"map_files_photo_id_array":[{"photo_id":"1396252071","filename":"file5"},{"photo_id":"1396252064","filename":"file2"},{"photo_id":"1396252069","filename":"file4"},{"photo_id":"1396252061","filename":"file1"},{"photo_id":"1396252058","filename":"file0"},{"photo_id":"1396252067","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396252069":["hashtag1","hashtag2"]},{"1396252071":["hashtag1","hashtag2"]},{"1396252064":["hashtag1","hashtag2"]},{"1396252067":["hashtag1","hashtag2"]},{"1396252061":["hashtag1","hashtag2"]},{"1396252058":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396252069, 1396252071, 1396252064, 1396252067, 1396252061, 1396252058)","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: 67.62189364433289 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:55:24.133258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/06/image_26112025_09_06_52_2604.jpg', '/home/pi/Desktop/images/26112025/09/06/image_26112025_09_06_55_2543.jpg', '/home/pi/Desktop/images/26112025/09/07/image_26112025_09_07_01_2666.jpg', '/home/pi/Desktop/images/26112025/09/07/image_26112025_09_07_31_2497.jpg', '/home/pi/Desktop/images/26112025/09/07/image_26112025_09_07_37_3649.jpg', '/home/pi/Desktop/images/26112025/09/07/image_26112025_09_07_54_10227.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/06/image_26112025_09_06_52_2604.jpg
/home/pi/Desktop/images/26112025/09/06/image_26112025_09_06_55_2543.jpg
/home/pi/Desktop/images/26112025/09/07/image_26112025_09_07_01_2666.jpg
/home/pi/Desktop/images/26112025/09/07/image_26112025_09_07_31_2497.jpg
/home/pi/Desktop/images/26112025/09/07/image_26112025_09_07_37_3649.jpg
/home/pi/Desktop/images/26112025/09/07/image_26112025_09_07_54_10227.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":["1396252086","1396252089","1396252101","1396252093","1396252096","1396252099"],"photo_ids_order":["1396252086","1396252089","1396252093","1396252096","1396252099","1396252101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bc96d10033c1806dfa02f19cc747c18f.jpg","text":"TemporaryFile(/tmp/multipartBody2926139221827856581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161784832,"filename":"image_26112025_09_06_52_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/26/0bb3cc1b17b9b427170cd5bf412606a0.jpg","text":"TemporaryFile(/tmp/multipartBody904431251489655607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161784832,"filename":"image_26112025_09_06_55_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/26/b8826a6605a0945a90a17bca758f7758.jpg","text":"TemporaryFile(/tmp/multipartBody3092965405030293445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161784832,"filename":"image_26112025_09_07_54_10227.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f7bd4db7e78b1f2c142051ff814e0bdb.jpg","text":"TemporaryFile(/tmp/multipartBody3533673432186520433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161784832,"filename":"image_26112025_09_07_01_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/65d59f8bd6c9464504d642fc5f791355.jpg","text":"TemporaryFile(/tmp/multipartBody1212349894697757009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161784832,"filename":"image_26112025_09_07_31_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/26/35ef7191808da583dc688fb4114adea5.jpg","text":"TemporaryFile(/tmp/multipartBody1812796512899482893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161784832,"filename":"image_26112025_09_07_37_3649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396252093","file1":"1396252089","file0":"1396252086","file4":"1396252099","file5":"1396252101","file3":"1396252096"},"map_files_photo_id_array":[{"photo_id":"1396252101","filename":"file5"},{"photo_id":"1396252093","filename":"file2"},{"photo_id":"1396252099","filename":"file4"},{"photo_id":"1396252089","filename":"file1"},{"photo_id":"1396252086","filename":"file0"},{"photo_id":"1396252096","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396252086":["hashtag1","hashtag2"]},{"1396252089":["hashtag1","hashtag2"]},{"1396252101":["hashtag1","hashtag2"]},{"1396252093":["hashtag1","hashtag2"]},{"1396252096":["hashtag1","hashtag2"]},{"1396252099":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396252086, 1396252089, 1396252101, 1396252093, 1396252096, 1396252099)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 53.23063898086548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:56:19.208263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/08/image_26112025_09_08_07_3162.jpg', '/home/pi/Desktop/images/26112025/09/08/image_26112025_09_08_10_2720.jpg', '/home/pi/Desktop/images/26112025/09/08/image_26112025_09_08_13_2729.jpg', '/home/pi/Desktop/images/26112025/09/08/image_26112025_09_08_16_2729.jpg', '/home/pi/Desktop/images/26112025/09/08/image_26112025_09_08_43_1660.jpg', '/home/pi/Desktop/images/26112025/09/09/image_26112025_09_09_07_6172.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/08/image_26112025_09_08_07_3162.jpg
/home/pi/Desktop/images/26112025/09/08/image_26112025_09_08_10_2720.jpg
/home/pi/Desktop/images/26112025/09/08/image_26112025_09_08_13_2729.jpg
/home/pi/Desktop/images/26112025/09/08/image_26112025_09_08_16_2729.jpg
/home/pi/Desktop/images/26112025/09/08/image_26112025_09_08_43_1660.jpg
/home/pi/Desktop/images/26112025/09/09/image_26112025_09_09_07_6172.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":["1396252150","1396252143","1396252146","1396252119","1396252113","1396252103"],"photo_ids_order":["1396252103","1396252113","1396252119","1396252143","1396252146","1396252150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/69a451eb49094004c984a9f33f832cfe.jpg","text":"TemporaryFile(/tmp/multipartBody7143933273988783466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161839909,"filename":"image_26112025_09_09_07_6172.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b2a671a4f32662f046bacbacc79a8227.jpg","text":"TemporaryFile(/tmp/multipartBody1844474818335502930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161839909,"filename":"image_26112025_09_08_16_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/26/88dce36fbe6bb0f5d2f6403447862be3.jpg","text":"TemporaryFile(/tmp/multipartBody8285920570067342224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161839909,"filename":"image_26112025_09_08_43_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/26/5a747316fb2a0841fafa96b3985fd4bf.jpg","text":"TemporaryFile(/tmp/multipartBody121921824640890047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161839909,"filename":"image_26112025_09_08_13_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/26/93260eb6b7597c6ce67824c130acc5fc.jpg","text":"TemporaryFile(/tmp/multipartBody6428957151421825438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161839909,"filename":"image_26112025_09_08_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/26/d742647e4a419f11bbe16ef118163242.jpg","text":"TemporaryFile(/tmp/multipartBody2060462979955213196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161839909,"filename":"image_26112025_09_08_07_3162.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396252119","file1":"1396252113","file0":"1396252103","file4":"1396252146","file5":"1396252150","file3":"1396252143"},"map_files_photo_id_array":[{"photo_id":"1396252150","filename":"file5"},{"photo_id":"1396252119","filename":"file2"},{"photo_id":"1396252146","filename":"file4"},{"photo_id":"1396252113","filename":"file1"},{"photo_id":"1396252103","filename":"file0"},{"photo_id":"1396252143","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396252150":["hashtag1","hashtag2"]},{"1396252143":["hashtag1","hashtag2"]},{"1396252146":["hashtag1","hashtag2"]},{"1396252119":["hashtag1","hashtag2"]},{"1396252113":["hashtag1","hashtag2"]},{"1396252103":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396252150, 1396252143, 1396252146, 1396252119, 1396252113, 1396252103)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 71.916179895401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 13:57:35.484330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/09/image_26112025_09_09_09_1531.jpg', '/home/pi/Desktop/images/26112025/09/09/image_26112025_09_09_13_2617.jpg', '/home/pi/Desktop/images/26112025/09/09/image_26112025_09_09_16_2867.jpg', '/home/pi/Desktop/images/26112025/09/09/image_26112025_09_09_22_3756.jpg', '/home/pi/Desktop/images/26112025/09/09/image_26112025_09_09_25_2587.jpg', '/home/pi/Desktop/images/26112025/09/09/image_26112025_09_09_32_1673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/09/image_26112025_09_09_09_1531.jpg
/home/pi/Desktop/images/26112025/09/09/image_26112025_09_09_13_2617.jpg
/home/pi/Desktop/images/26112025/09/09/image_26112025_09_09_16_2867.jpg
/home/pi/Desktop/images/26112025/09/09/image_26112025_09_09_22_3756.jpg
/home/pi/Desktop/images/26112025/09/09/image_26112025_09_09_25_2587.jpg
/home/pi/Desktop/images/26112025/09/09/image_26112025_09_09_32_1673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396252236","1396252196","1396252199","1396252250","1396252202","1396252249"],"photo_ids_order":["1396252196","1396252199","1396252202","1396252236","1396252249","1396252250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/35c0bba3b59f9b7e3830522d0403c769.jpg","text":"TemporaryFile(/tmp/multipartBody8701055548565669741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161916150,"filename":"image_26112025_09_09_22_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/26/e7ad5464eeb9dca0b673cba9c1fd9f5b.jpg","text":"TemporaryFile(/tmp/multipartBody7797157819606686171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161916150,"filename":"image_26112025_09_09_09_1531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6b44187e8e781cce3f04352b53b71edd.jpg","text":"TemporaryFile(/tmp/multipartBody4360522439280735786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161916150,"filename":"image_26112025_09_09_13_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/26/f5c2a698647a13c95a8a194b2c33231e.jpg","text":"TemporaryFile(/tmp/multipartBody3184185434201974535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161916150,"filename":"image_26112025_09_09_32_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/26/d843c874017081202bd511c620e2d542.jpg","text":"TemporaryFile(/tmp/multipartBody6314507611015619970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161916150,"filename":"image_26112025_09_09_16_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/26/2de73346642f564f7e239d0833c2f008.jpg","text":"TemporaryFile(/tmp/multipartBody8292066497825007751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764161916150,"filename":"image_26112025_09_09_25_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396252202","file1":"1396252199","file0":"1396252196","file4":"1396252249","file5":"1396252250","file3":"1396252236"},"map_files_photo_id_array":[{"photo_id":"1396252250","filename":"file5"},{"photo_id":"1396252202","filename":"file2"},{"photo_id":"1396252249","filename":"file4"},{"photo_id":"1396252199","filename":"file1"},{"photo_id":"1396252196","filename":"file0"},{"photo_id":"1396252236","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396252236":["hashtag1","hashtag2"]},{"1396252196":["hashtag1","hashtag2"]},{"1396252199":["hashtag1","hashtag2"]},{"1396252250":["hashtag1","hashtag2"]},{"1396252202":["hashtag1","hashtag2"]},{"1396252249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396252236, 1396252196, 1396252199, 1396252250, 1396252202, 1396252249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.61253356933594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 13:59:02.907772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/09/image_26112025_09_09_37_4347.jpg', '/home/pi/Desktop/images/26112025/09/09/image_26112025_09_09_40_1481.jpg', '/home/pi/Desktop/images/26112025/09/09/image_26112025_09_09_52_2614.jpg', '/home/pi/Desktop/images/26112025/09/09/image_26112025_09_09_54_2719.jpg', '/home/pi/Desktop/images/26112025/09/09/image_26112025_09_09_58_3653.jpg', '/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_01_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/09/image_26112025_09_09_37_4347.jpg
/home/pi/Desktop/images/26112025/09/09/image_26112025_09_09_40_1481.jpg
/home/pi/Desktop/images/26112025/09/09/image_26112025_09_09_52_2614.jpg
/home/pi/Desktop/images/26112025/09/09/image_26112025_09_09_54_2719.jpg
/home/pi/Desktop/images/26112025/09/09/image_26112025_09_09_58_3653.jpg
/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_01_2595.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":["1396252647","1396252611","1396252652","1396252661","1396252655","1396252658"],"photo_ids_order":["1396252611","1396252647","1396252652","1396252655","1396252658","1396252661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4e7164e68942bae3bfaeb0a8c020ce46.jpg","text":"TemporaryFile(/tmp/multipartBody6226082661232452688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162003776,"filename":"image_26112025_09_09_40_1481.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/26a2b72e7470c9dd57bb8d7ffd60f809.jpg","text":"TemporaryFile(/tmp/multipartBody3862553635729953601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162003776,"filename":"image_26112025_09_09_37_4347.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/84b31905e3f13692c1651eb4c2c9158e.jpg","text":"TemporaryFile(/tmp/multipartBody4391631877504836323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162003776,"filename":"image_26112025_09_09_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/26/c962784e00764e6563c534f911b5afdc.jpg","text":"TemporaryFile(/tmp/multipartBody6849441904583340505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162003776,"filename":"image_26112025_09_10_01_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5445b7e541167c38b2184c1b1181381f.jpg","text":"TemporaryFile(/tmp/multipartBody4320159045188196475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162003776,"filename":"image_26112025_09_09_54_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/26/11c7764a0ef6d1a207435d5df77c9f28.jpg","text":"TemporaryFile(/tmp/multipartBody749714494973714441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162003776,"filename":"image_26112025_09_09_58_3653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396252652","file1":"1396252647","file0":"1396252611","file4":"1396252658","file5":"1396252661","file3":"1396252655"},"map_files_photo_id_array":[{"photo_id":"1396252661","filename":"file5"},{"photo_id":"1396252652","filename":"file2"},{"photo_id":"1396252658","filename":"file4"},{"photo_id":"1396252647","filename":"file1"},{"photo_id":"1396252611","filename":"file0"},{"photo_id":"1396252655","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396252647":["hashtag1","hashtag2"]},{"1396252611":["hashtag1","hashtag2"]},{"1396252652":["hashtag1","hashtag2"]},{"1396252661":["hashtag1","hashtag2"]},{"1396252655":["hashtag1","hashtag2"]},{"1396252658":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396252647, 1396252611, 1396252652, 1396252661, 1396252655, 1396252658)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.76365256309509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:00:02.857226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_04_3638.jpg', '/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_10_2697.jpg', '/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_12_2642.jpg', '/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_16_3674.jpg', '/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_25_3720.jpg', '/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_39_2747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_04_3638.jpg
/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_10_2697.jpg
/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_12_2642.jpg
/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_16_3674.jpg
/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_25_3720.jpg
/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_39_2747.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.6150174140930176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:00:12.315738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_04_3638.jpg', '/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_10_2697.jpg', '/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_12_2642.jpg', '/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_16_3674.jpg', '/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_25_3720.jpg', '/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_39_2747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_04_3638.jpg
/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_10_2697.jpg
/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_12_2642.jpg
/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_16_3674.jpg
/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_25_3720.jpg
/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_39_2747.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":["1396253163","1396253274","1396253313","1396253350","1396253380","1396253230"],"photo_ids_order":["1396253163","1396253230","1396253274","1396253313","1396253350","1396253380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/662369f3bb4469911b6e3180889d89bc.jpg","text":"TemporaryFile(/tmp/multipartBody4944720858987425193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162072975,"filename":"image_26112025_09_10_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/26/d9a43ec8410ae7812bf92b7a99b15de8.jpg","text":"TemporaryFile(/tmp/multipartBody8290897064603492957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162072975,"filename":"image_26112025_09_10_12_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/26/4d6c4c0c7461f5cdb6cee24005e5d0ec.jpg","text":"TemporaryFile(/tmp/multipartBody1337403901975181017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162072975,"filename":"image_26112025_09_10_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/26/7f88a8e5f1773cabc6907a1515316987.jpg","text":"TemporaryFile(/tmp/multipartBody7021195572139918694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162072975,"filename":"image_26112025_09_10_25_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/26/dc8f1fcb828da7eb331656c8d3886852.jpg","text":"TemporaryFile(/tmp/multipartBody223565507979951619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162072975,"filename":"image_26112025_09_10_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/26/31a880436f054e405b24ef88b1988ef5.jpg","text":"TemporaryFile(/tmp/multipartBody5062651968084336898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162072975,"filename":"image_26112025_09_10_10_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396253274","file1":"1396253230","file0":"1396253163","file4":"1396253350","file5":"1396253380","file3":"1396253313"},"map_files_photo_id_array":[{"photo_id":"1396253380","filename":"file5"},{"photo_id":"1396253274","filename":"file2"},{"photo_id":"1396253350","filename":"file4"},{"photo_id":"1396253230","filename":"file1"},{"photo_id":"1396253163","filename":"file0"},{"photo_id":"1396253313","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396253163":["hashtag1","hashtag2"]},{"1396253274":["hashtag1","hashtag2"]},{"1396253313":["hashtag1","hashtag2"]},{"1396253350":["hashtag1","hashtag2"]},{"1396253380":["hashtag1","hashtag2"]},{"1396253230":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396253163, 1396253274, 1396253313, 1396253350, 1396253380, 1396253230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55823588371277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:01:06.180668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_43_3569.jpg', '/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_46_2882.jpg', '/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_52_3544.jpg', '/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_55_2599.jpg', '/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_57_2660.jpg', '/home/pi/Desktop/images/26112025/09/10/image_26112025_09_11_01_3537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_43_3569.jpg
/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_46_2882.jpg
/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_52_3544.jpg
/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_55_2599.jpg
/home/pi/Desktop/images/26112025/09/10/image_26112025_09_10_57_2660.jpg
/home/pi/Desktop/images/26112025/09/10/image_26112025_09_11_01_3537.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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396253425","1396253388","1396253465","1396253501","1396253566","1396253539"],"photo_ids_order":["1396253388","1396253425","1396253465","1396253501","1396253539","1396253566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/531d8bff00a086ca70d7f73f035fde71.jpg","text":"TemporaryFile(/tmp/multipartBody2193189043669429450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162127405,"filename":"image_26112025_09_10_46_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/26/27b021094b65a03e48ec3d8b89da89bb.jpg","text":"TemporaryFile(/tmp/multipartBody3987220300018475782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162127405,"filename":"image_26112025_09_10_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/26/05f4317be0114f4c14faebd59460416f.jpg","text":"TemporaryFile(/tmp/multipartBody3141727391810619563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162127405,"filename":"image_26112025_09_10_52_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/26/0b4c1fab753f5a92430e764810ce5ca4.jpg","text":"TemporaryFile(/tmp/multipartBody7495959170323925402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162127405,"filename":"image_26112025_09_10_55_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/26/64b2b161911b3d8b0dcfd2abdac7277d.jpg","text":"TemporaryFile(/tmp/multipartBody8339061983689961587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162127405,"filename":"image_26112025_09_11_01_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/26/54954eeed79222287dea274c72c59be7.jpg","text":"TemporaryFile(/tmp/multipartBody4254120530897711163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162127405,"filename":"image_26112025_09_10_57_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396253465","file1":"1396253425","file0":"1396253388","file4":"1396253539","file5":"1396253566","file3":"1396253501"},"map_files_photo_id_array":[{"photo_id":"1396253566","filename":"file5"},{"photo_id":"1396253465","filename":"file2"},{"photo_id":"1396253539","filename":"file4"},{"photo_id":"1396253425","filename":"file1"},{"photo_id":"1396253388","filename":"file0"},{"photo_id":"1396253501","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396253425":["hashtag1","hashtag2"]},{"1396253388":["hashtag1","hashtag2"]},{"1396253465":["hashtag1","hashtag2"]},{"1396253501":["hashtag1","hashtag2"]},{"1396253566":["hashtag1","hashtag2"]},{"1396253539":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396253425, 1396253388, 1396253465, 1396253501, 1396253566, 1396253539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.63562083244324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:02:03.054868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_04_2746.jpg', '/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_06_2571.jpg', '/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_10_3558.jpg', '/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_12_2659.jpg', '/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_16_3604.jpg', '/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_28_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_04_2746.jpg
/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_06_2571.jpg
/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_10_3558.jpg
/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_12_2659.jpg
/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_16_3604.jpg
/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_28_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: 2.466798782348633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:02:13.167877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_04_2746.jpg', '/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_06_2571.jpg', '/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_10_3558.jpg', '/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_12_2659.jpg', '/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_16_3604.jpg', '/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_28_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_04_2746.jpg
/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_06_2571.jpg
/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_10_3558.jpg
/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_12_2659.jpg
/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_16_3604.jpg
/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_28_2668.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":["1396254027","1396253967","1396253847","1396254005","1396253930","1396253889"],"photo_ids_order":["1396253847","1396253889","1396253930","1396253967","1396254005","1396254027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/932d4c06c716acdc8c217fd0b0829064.jpg","text":"TemporaryFile(/tmp/multipartBody427755684992868325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162196542,"filename":"image_26112025_09_11_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/26/0dd5ab793519f16ca02a89f1b3125f11.jpg","text":"TemporaryFile(/tmp/multipartBody3901390700268214350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162196542,"filename":"image_26112025_09_11_12_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/26/65ef7cb990cff2c3f72edd79e3bed3ec.jpg","text":"TemporaryFile(/tmp/multipartBody3583129848092693965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162196542,"filename":"image_26112025_09_11_04_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/26/5b34f90b25087826d9261b7c8c5ba5f2.jpg","text":"TemporaryFile(/tmp/multipartBody2697587548521040373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162196542,"filename":"image_26112025_09_11_16_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/26/d0a1ac3785b531cdb7b8ffd15ef06afb.jpg","text":"TemporaryFile(/tmp/multipartBody5732181811272726387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162196542,"filename":"image_26112025_09_11_10_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/26/9f323861632e18f8bef3ef4fce5cc379.jpg","text":"TemporaryFile(/tmp/multipartBody7260207249122451827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162196542,"filename":"image_26112025_09_11_06_2571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396253930","file1":"1396253889","file0":"1396253847","file4":"1396254005","file5":"1396254027","file3":"1396253967"},"map_files_photo_id_array":[{"photo_id":"1396254027","filename":"file5"},{"photo_id":"1396253930","filename":"file2"},{"photo_id":"1396254005","filename":"file4"},{"photo_id":"1396253889","filename":"file1"},{"photo_id":"1396253847","filename":"file0"},{"photo_id":"1396253967","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396254027":["hashtag1","hashtag2"]},{"1396253967":["hashtag1","hashtag2"]},{"1396253847":["hashtag1","hashtag2"]},{"1396254005":["hashtag1","hashtag2"]},{"1396253930":["hashtag1","hashtag2"]},{"1396253889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396254027, 1396253967, 1396253847, 1396254005, 1396253930, 1396253889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.44196796417236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:03:02.468959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 14:03:11.854422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_31_2713.jpg', '/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_42_2600.jpg', '/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_46_3708.jpg', '/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_51_2672.jpg', '/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_55_3629.jpg', '/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_58_2570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_31_2713.jpg
/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_42_2600.jpg
/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_46_3708.jpg
/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_51_2672.jpg
/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_55_3629.jpg
/home/pi/Desktop/images/26112025/09/11/image_26112025_09_11_58_2570.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":["1396254152","1396254161","1396254155","1396254158","1396254122","1396254141"],"photo_ids_order":["1396254122","1396254141","1396254152","1396254155","1396254158","1396254161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6b63934f779fa4dc0ba9f5eb2e9aceb5.jpg","text":"TemporaryFile(/tmp/multipartBody4173461397713543973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162252632,"filename":"image_26112025_09_11_46_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/26/ef3dd65d30ed2ede79f09a6c20a601a2.jpg","text":"TemporaryFile(/tmp/multipartBody88127763827669564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162252632,"filename":"image_26112025_09_11_58_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/26/db5c3c8031fd5058921590b224c826da.jpg","text":"TemporaryFile(/tmp/multipartBody8008020392223897095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162252632,"filename":"image_26112025_09_11_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/26/e3d8cccc54cc199ba531c6e7dd1792a2.jpg","text":"TemporaryFile(/tmp/multipartBody1817466640786766380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162252632,"filename":"image_26112025_09_11_55_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/26/0be4255f0be52b9f009116b71f9ca38a.jpg","text":"TemporaryFile(/tmp/multipartBody7154053582792885322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162252632,"filename":"image_26112025_09_11_31_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ddf2e89544f7d12fab0b92e706c80508.jpg","text":"TemporaryFile(/tmp/multipartBody5560822355904880457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162252632,"filename":"image_26112025_09_11_42_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396254152","file1":"1396254141","file0":"1396254122","file4":"1396254158","file5":"1396254161","file3":"1396254155"},"map_files_photo_id_array":[{"photo_id":"1396254161","filename":"file5"},{"photo_id":"1396254152","filename":"file2"},{"photo_id":"1396254158","filename":"file4"},{"photo_id":"1396254141","filename":"file1"},{"photo_id":"1396254122","filename":"file0"},{"photo_id":"1396254155","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396254152":["hashtag1","hashtag2"]},{"1396254161":["hashtag1","hashtag2"]},{"1396254155":["hashtag1","hashtag2"]},{"1396254158":["hashtag1","hashtag2"]},{"1396254122":["hashtag1","hashtag2"]},{"1396254141":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396254152, 1396254161, 1396254155, 1396254158, 1396254122, 1396254141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36701202392578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:04:02.790583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/11/image_26112025_09_12_00_2801.jpg', '/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_04_3702.jpg', '/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_07_2561.jpg', '/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_12_2683.jpg', '/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_16_3722.jpg', '/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_19_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/11/image_26112025_09_12_00_2801.jpg
/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_04_3702.jpg
/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_07_2561.jpg
/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_12_2683.jpg
/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_16_3722.jpg
/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_19_2672.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":["1396254171","1396254167","1396254176","1396254181","1396254166","1396254168"],"photo_ids_order":["1396254166","1396254167","1396254168","1396254171","1396254176","1396254181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e6124d58ee1ae5410c77000665c8d7e1.jpg","text":"TemporaryFile(/tmp/multipartBody4181411761668782474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162303603,"filename":"image_26112025_09_12_12_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/26/87d179a9ea84ff3ee20e5fefbb3ac903.jpg","text":"TemporaryFile(/tmp/multipartBody7277956551203419118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162303603,"filename":"image_26112025_09_12_04_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/26/e2ead2a08bf43d0cf68caf82553780c1.jpg","text":"TemporaryFile(/tmp/multipartBody3455999832685903855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162303603,"filename":"image_26112025_09_12_16_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/26/d76ce459d11b03f89ecde1b8950cc7ec.jpg","text":"TemporaryFile(/tmp/multipartBody2916431803195735926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162303603,"filename":"image_26112025_09_12_19_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/26/ba8e629118e690d3941869e4f9821f36.jpg","text":"TemporaryFile(/tmp/multipartBody7256280675107476038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162303603,"filename":"image_26112025_09_12_00_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/26/a03d7ed83329bdbfb7ba76404eb12d1b.jpg","text":"TemporaryFile(/tmp/multipartBody7934160945801811565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162303603,"filename":"image_26112025_09_12_07_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396254168","file1":"1396254167","file0":"1396254166","file4":"1396254176","file5":"1396254181","file3":"1396254171"},"map_files_photo_id_array":[{"photo_id":"1396254181","filename":"file5"},{"photo_id":"1396254168","filename":"file2"},{"photo_id":"1396254176","filename":"file4"},{"photo_id":"1396254167","filename":"file1"},{"photo_id":"1396254166","filename":"file0"},{"photo_id":"1396254171","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396254171":["hashtag1","hashtag2"]},{"1396254167":["hashtag1","hashtag2"]},{"1396254176":["hashtag1","hashtag2"]},{"1396254181":["hashtag1","hashtag2"]},{"1396254166":["hashtag1","hashtag2"]},{"1396254168":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396254171, 1396254167, 1396254176, 1396254181, 1396254166, 1396254168)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.66793870925903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:05:03.470242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_21_2678.jpg', '/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_25_3579.jpg', '/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_27_2638.jpg', '/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_30_2644.jpg', '/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_34_3710.jpg', '/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_36_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_21_2678.jpg
/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_25_3579.jpg
/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_27_2638.jpg
/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_30_2644.jpg
/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_34_3710.jpg
/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_36_2608.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":["1396254200","1396254208","1396254202","1396254211","1396254205","1396254198"],"photo_ids_order":["1396254198","1396254200","1396254202","1396254205","1396254208","1396254211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1c4c628c42ede7e42aa1920d47f47a08.jpg","text":"TemporaryFile(/tmp/multipartBody782144269913060373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162364316,"filename":"image_26112025_09_12_25_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/26/f70d99fcdb04d21aaff8bc9e7d79829c.jpg","text":"TemporaryFile(/tmp/multipartBody299575225369779623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162364316,"filename":"image_26112025_09_12_34_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/26/34c976fad3fd4f778c64cacaa285474b.jpg","text":"TemporaryFile(/tmp/multipartBody5968631835404401973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162364316,"filename":"image_26112025_09_12_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/26/3c6a0f375097d79c0147ba171ee1d2d7.jpg","text":"TemporaryFile(/tmp/multipartBody1045420882671394257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162364316,"filename":"image_26112025_09_12_36_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/26/0bd9f98392408078b4a6300dd2fee934.jpg","text":"TemporaryFile(/tmp/multipartBody7353985807924793400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162364316,"filename":"image_26112025_09_12_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/26/19469f28f5a09dc8b72b07f3ddfc154f.jpg","text":"TemporaryFile(/tmp/multipartBody2195430137179596461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162364316,"filename":"image_26112025_09_12_21_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396254202","file1":"1396254200","file0":"1396254198","file4":"1396254208","file5":"1396254211","file3":"1396254205"},"map_files_photo_id_array":[{"photo_id":"1396254211","filename":"file5"},{"photo_id":"1396254202","filename":"file2"},{"photo_id":"1396254208","filename":"file4"},{"photo_id":"1396254200","filename":"file1"},{"photo_id":"1396254198","filename":"file0"},{"photo_id":"1396254205","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396254200":["hashtag1","hashtag2"]},{"1396254208":["hashtag1","hashtag2"]},{"1396254202":["hashtag1","hashtag2"]},{"1396254211":["hashtag1","hashtag2"]},{"1396254205":["hashtag1","hashtag2"]},{"1396254198":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396254200, 1396254208, 1396254202, 1396254211, 1396254205, 1396254198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12172245979309 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 14:05:42.629068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_43_3747.jpg', '/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_46_2797.jpg', '/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_48_2675.jpg', '/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_51_2766.jpg', '/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_55_3720.jpg', '/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_04_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_43_3747.jpg
/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_46_2797.jpg
/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_48_2675.jpg
/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_51_2766.jpg
/home/pi/Desktop/images/26112025/09/12/image_26112025_09_12_55_3720.jpg
/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_04_3632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396254222","1396254221","1396254224","1396254218","1396254226","1396254223"],"photo_ids_order":["1396254218","1396254221","1396254222","1396254223","1396254224","1396254226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e09ce2b8bb0d6204d0c02ea09a720a7c.jpg","text":"TemporaryFile(/tmp/multipartBody3288430588871244625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162403338,"filename":"image_26112025_09_12_48_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/26/f3b9f2572f594dac8db9ad9372ac7fbf.jpg","text":"TemporaryFile(/tmp/multipartBody4118468874370664025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162403338,"filename":"image_26112025_09_12_46_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/26/5d41a48f43b246f71231a63063dae862.jpg","text":"TemporaryFile(/tmp/multipartBody6270524398743377925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162403338,"filename":"image_26112025_09_12_55_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/26/b3ba1480140afe19e5dff0f50b6f3392.jpg","text":"TemporaryFile(/tmp/multipartBody4637853878671852571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162403338,"filename":"image_26112025_09_12_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/26/22d30af4bf15177b61f9c1c5470def70.jpg","text":"TemporaryFile(/tmp/multipartBody9008496051350978758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162403338,"filename":"image_26112025_09_13_04_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/26/4c49de38e37aa0bcc0c23d16c5542d84.jpg","text":"TemporaryFile(/tmp/multipartBody7243599285622081081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162403338,"filename":"image_26112025_09_12_51_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396254222","file1":"1396254221","file0":"1396254218","file4":"1396254224","file5":"1396254226","file3":"1396254223"},"map_files_photo_id_array":[{"photo_id":"1396254226","filename":"file5"},{"photo_id":"1396254222","filename":"file2"},{"photo_id":"1396254224","filename":"file4"},{"photo_id":"1396254221","filename":"file1"},{"photo_id":"1396254218","filename":"file0"},{"photo_id":"1396254223","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396254222":["hashtag1","hashtag2"]},{"1396254221":["hashtag1","hashtag2"]},{"1396254224":["hashtag1","hashtag2"]},{"1396254218":["hashtag1","hashtag2"]},{"1396254226":["hashtag1","hashtag2"]},{"1396254223":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396254222, 1396254221, 1396254224, 1396254218, 1396254226, 1396254223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72209596633911 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:06:21.868682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_07_2791.jpg', '/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_09_2692.jpg', '/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_13_3652.jpg', '/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_18_2753.jpg', '/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_21_2676.jpg', '/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_25_3582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_07_2791.jpg
/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_09_2692.jpg
/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_13_3652.jpg
/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_18_2753.jpg
/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_21_2676.jpg
/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_25_3582.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":["1396254233","1396254236","1396254239","1396254244","1396254241","1396254229"],"photo_ids_order":["1396254229","1396254233","1396254236","1396254239","1396254241","1396254244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f5f63e4661fa41d1352c702b0aae94bd.jpg","text":"TemporaryFile(/tmp/multipartBody7242730389113757150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162442586,"filename":"image_26112025_09_13_09_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/26/0574de3820ba112b115561c40b8fb0c7.jpg","text":"TemporaryFile(/tmp/multipartBody7391452936786751178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162442586,"filename":"image_26112025_09_13_13_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/26/a30304eb4808d85647544a79526a827c.jpg","text":"TemporaryFile(/tmp/multipartBody1042567265971060371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162442586,"filename":"image_26112025_09_13_18_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3e9ad8ac95431fd1d3fc714f1099711f.jpg","text":"TemporaryFile(/tmp/multipartBody4541660648170575869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162442586,"filename":"image_26112025_09_13_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/26/6e3fb87954417bfe5d744bc06a97ce0a.jpg","text":"TemporaryFile(/tmp/multipartBody7927227689169919147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162442586,"filename":"image_26112025_09_13_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/26/7dc12b131b97c72eae0307eeb7bccd35.jpg","text":"TemporaryFile(/tmp/multipartBody7197952295010102933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162442586,"filename":"image_26112025_09_13_07_2791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396254236","file1":"1396254233","file0":"1396254229","file4":"1396254241","file5":"1396254244","file3":"1396254239"},"map_files_photo_id_array":[{"photo_id":"1396254244","filename":"file5"},{"photo_id":"1396254236","filename":"file2"},{"photo_id":"1396254241","filename":"file4"},{"photo_id":"1396254233","filename":"file1"},{"photo_id":"1396254229","filename":"file0"},{"photo_id":"1396254239","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396254233":["hashtag1","hashtag2"]},{"1396254236":["hashtag1","hashtag2"]},{"1396254239":["hashtag1","hashtag2"]},{"1396254244":["hashtag1","hashtag2"]},{"1396254241":["hashtag1","hashtag2"]},{"1396254229":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396254233, 1396254236, 1396254239, 1396254244, 1396254241, 1396254229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78634214401245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:07:02.741799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_27_2728.jpg', '/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_30_2696.jpg', '/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_34_3670.jpg', '/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_45_2746.jpg', '/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_48_2697.jpg', '/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_52_3705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_27_2728.jpg
/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_30_2696.jpg
/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_34_3670.jpg
/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_45_2746.jpg
/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_48_2697.jpg
/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_52_3705.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":["1396254252","1396254260","1396254254","1396254257","1396254253","1396254255"],"photo_ids_order":["1396254252","1396254253","1396254254","1396254255","1396254257","1396254260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8e1d801f3142de0c7348b360689f9b97.jpg","text":"TemporaryFile(/tmp/multipartBody4079646974494197280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162483843,"filename":"image_26112025_09_13_27_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/26/a3b8d5a1c5f28cc4617bfdbf7bd06670.jpg","text":"TemporaryFile(/tmp/multipartBody6750952608753870462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162483843,"filename":"image_26112025_09_13_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/26/e387745428ba7aba32646c25c5587527.jpg","text":"TemporaryFile(/tmp/multipartBody5897704034005078862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162483843,"filename":"image_26112025_09_13_34_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/26/67ac6791a71234db39579544124f9842.jpg","text":"TemporaryFile(/tmp/multipartBody7294232275356509340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162483843,"filename":"image_26112025_09_13_48_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/26/66c10d6afd9c63b36f2f936adadaa4dd.jpg","text":"TemporaryFile(/tmp/multipartBody1822842102364783126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162483843,"filename":"image_26112025_09_13_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/26/f125eb2c576d2aab091834888d488258.jpg","text":"TemporaryFile(/tmp/multipartBody5127932737522034385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162483843,"filename":"image_26112025_09_13_45_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396254254","file1":"1396254253","file0":"1396254252","file4":"1396254257","file5":"1396254260","file3":"1396254255"},"map_files_photo_id_array":[{"photo_id":"1396254260","filename":"file5"},{"photo_id":"1396254254","filename":"file2"},{"photo_id":"1396254257","filename":"file4"},{"photo_id":"1396254253","filename":"file1"},{"photo_id":"1396254252","filename":"file0"},{"photo_id":"1396254255","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396254252":["hashtag1","hashtag2"]},{"1396254260":["hashtag1","hashtag2"]},{"1396254254":["hashtag1","hashtag2"]},{"1396254257":["hashtag1","hashtag2"]},{"1396254253":["hashtag1","hashtag2"]},{"1396254255":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396254252, 1396254260, 1396254254, 1396254257, 1396254253, 1396254255)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.82705879211426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:08:04.868566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_54_2655.jpg', '/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_57_2684.jpg', '/home/pi/Desktop/images/26112025/09/13/image_26112025_09_14_01_3680.jpg', '/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_04_2791.jpg', '/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_06_2641.jpg', '/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_10_3572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_54_2655.jpg
/home/pi/Desktop/images/26112025/09/13/image_26112025_09_13_57_2684.jpg
/home/pi/Desktop/images/26112025/09/13/image_26112025_09_14_01_3680.jpg
/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_04_2791.jpg
/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_06_2641.jpg
/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_10_3572.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":["1396254270","1396254278","1396254271","1396254268","1396254273","1396254276"],"photo_ids_order":["1396254268","1396254270","1396254271","1396254273","1396254276","1396254278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/49858b2a7ccf82eee3c1f1cd2ddf589f.jpg","text":"TemporaryFile(/tmp/multipartBody2280542262981582384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162545613,"filename":"image_26112025_09_13_57_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/26/6a172ff2ac2703cdea4c69d6d9d84159.jpg","text":"TemporaryFile(/tmp/multipartBody2403167525554679981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162545613,"filename":"image_26112025_09_14_10_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/26/a48dd5a00ca41950f1a1ee2fbd2add78.jpg","text":"TemporaryFile(/tmp/multipartBody5895962819739155711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162545613,"filename":"image_26112025_09_14_01_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/abd20ab2fdd222cdbf2d7214db1f4ed5.jpg","text":"TemporaryFile(/tmp/multipartBody3188664066497848280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162545613,"filename":"image_26112025_09_13_54_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/26/c88d1555e40a81e6b72e40f6ed40faff.jpg","text":"TemporaryFile(/tmp/multipartBody2162727261990808204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162545613,"filename":"image_26112025_09_14_04_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/26/afb90fecf42b6dcf854bc74b00a6c651.jpg","text":"TemporaryFile(/tmp/multipartBody8758650438392024472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162545613,"filename":"image_26112025_09_14_06_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396254271","file1":"1396254270","file0":"1396254268","file4":"1396254276","file5":"1396254278","file3":"1396254273"},"map_files_photo_id_array":[{"photo_id":"1396254278","filename":"file5"},{"photo_id":"1396254271","filename":"file2"},{"photo_id":"1396254276","filename":"file4"},{"photo_id":"1396254270","filename":"file1"},{"photo_id":"1396254268","filename":"file0"},{"photo_id":"1396254273","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396254270":["hashtag1","hashtag2"]},{"1396254278":["hashtag1","hashtag2"]},{"1396254271":["hashtag1","hashtag2"]},{"1396254268":["hashtag1","hashtag2"]},{"1396254273":["hashtag1","hashtag2"]},{"1396254276":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396254270, 1396254278, 1396254271, 1396254268, 1396254273, 1396254276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95795774459839 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 14:08:42.432445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_12_2624.jpg', '/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_15_2648.jpg', '/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_19_3690.jpg', '/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_22_2707.jpg', '/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_24_2666.jpg', '/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_27_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_12_2624.jpg
/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_15_2648.jpg
/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_19_3690.jpg
/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_22_2707.jpg
/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_24_2666.jpg
/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_27_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.7100436687469482 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:09:03.541696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_12_2624.jpg', '/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_15_2648.jpg', '/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_19_3690.jpg', '/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_22_2707.jpg', '/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_24_2666.jpg', '/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_27_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_12_2624.jpg
/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_15_2648.jpg
/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_19_3690.jpg
/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_22_2707.jpg
/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_24_2666.jpg
/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_27_2671.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":["1396254303","1396254306","1396254296","1396254292","1396254305","1396254298"],"photo_ids_order":["1396254292","1396254296","1396254298","1396254303","1396254305","1396254306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f18dac1796d34c0d0ad2faab61144f26.jpg","text":"TemporaryFile(/tmp/multipartBody5942598033430584043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162604568,"filename":"image_26112025_09_14_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/26/e39135e1d06e6bb25539571ba4a2abba.jpg","text":"TemporaryFile(/tmp/multipartBody2827362651477087101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162604568,"filename":"image_26112025_09_14_27_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/26/ade2bcb6f3cb069d75bb7d2ea28f0266.jpg","text":"TemporaryFile(/tmp/multipartBody5648695410700356209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162604568,"filename":"image_26112025_09_14_15_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/26/3c73c7b61bf9dc6fc60f181a2457d8ec.jpg","text":"TemporaryFile(/tmp/multipartBody2485335845327648353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162604568,"filename":"image_26112025_09_14_12_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/26/a09301682c6a0d6065c2d0a0ed640c88.jpg","text":"TemporaryFile(/tmp/multipartBody2930088417760855749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162604568,"filename":"image_26112025_09_14_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/26/fefa1aed5b95edf27af590b7b19f308e.jpg","text":"TemporaryFile(/tmp/multipartBody8277779731421895032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162604568,"filename":"image_26112025_09_14_19_3690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396254298","file1":"1396254296","file0":"1396254292","file4":"1396254305","file5":"1396254306","file3":"1396254303"},"map_files_photo_id_array":[{"photo_id":"1396254306","filename":"file5"},{"photo_id":"1396254298","filename":"file2"},{"photo_id":"1396254305","filename":"file4"},{"photo_id":"1396254296","filename":"file1"},{"photo_id":"1396254292","filename":"file0"},{"photo_id":"1396254303","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396254303":["hashtag1","hashtag2"]},{"1396254306":["hashtag1","hashtag2"]},{"1396254296":["hashtag1","hashtag2"]},{"1396254292":["hashtag1","hashtag2"]},{"1396254305":["hashtag1","hashtag2"]},{"1396254298":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396254303, 1396254306, 1396254296, 1396254292, 1396254305, 1396254298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71141314506531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 14:09:42.550017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_31_3666.jpg', '/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_33_2621.jpg', '/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_37_3623.jpg', '/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_39_2581.jpg', '/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_42_2609.jpg', '/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_46_3688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_31_3666.jpg
/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_33_2621.jpg
/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_37_3623.jpg
/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_39_2581.jpg
/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_42_2609.jpg
/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_46_3688.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":["1396254342","1396254345","1396254315","1396254314","1396254311","1396254313"],"photo_ids_order":["1396254311","1396254313","1396254314","1396254315","1396254342","1396254345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/87a1c205de8e4565a0dba28de2f25a33.jpg","text":"TemporaryFile(/tmp/multipartBody1346756824081941409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162643300,"filename":"image_26112025_09_14_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/26/929e45203cc0f7df2c73b7ee755401c0.jpg","text":"TemporaryFile(/tmp/multipartBody2273516849297864969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162643300,"filename":"image_26112025_09_14_46_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/26/77872d8c8fb600a2858739cdbb3c5df1.jpg","text":"TemporaryFile(/tmp/multipartBody4513961208714077719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162643300,"filename":"image_26112025_09_14_39_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/43bcacf55ea1418bbb1c26bba49a2cf8.jpg","text":"TemporaryFile(/tmp/multipartBody4739647179739946315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162643300,"filename":"image_26112025_09_14_37_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/26/49a029e73b241e887a9c35a0c056a901.jpg","text":"TemporaryFile(/tmp/multipartBody3946402209181528403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162643300,"filename":"image_26112025_09_14_31_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/26/7e337b7df42d1289d3cfada4f8968876.jpg","text":"TemporaryFile(/tmp/multipartBody954291995884226598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162643300,"filename":"image_26112025_09_14_33_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396254314","file1":"1396254313","file0":"1396254311","file4":"1396254342","file5":"1396254345","file3":"1396254315"},"map_files_photo_id_array":[{"photo_id":"1396254345","filename":"file5"},{"photo_id":"1396254314","filename":"file2"},{"photo_id":"1396254342","filename":"file4"},{"photo_id":"1396254313","filename":"file1"},{"photo_id":"1396254311","filename":"file0"},{"photo_id":"1396254315","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396254342":["hashtag1","hashtag2"]},{"1396254345":["hashtag1","hashtag2"]},{"1396254315":["hashtag1","hashtag2"]},{"1396254314":["hashtag1","hashtag2"]},{"1396254311":["hashtag1","hashtag2"]},{"1396254313":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396254342, 1396254345, 1396254315, 1396254314, 1396254311, 1396254313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09213948249817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:10:22.835082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_48_2713.jpg', '/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_51_2624.jpg', '/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_55_3710.jpg', '/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_07_3018.jpg', '/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_11_3659.jpg', '/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_14_2574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_48_2713.jpg
/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_51_2624.jpg
/home/pi/Desktop/images/26112025/09/14/image_26112025_09_14_55_3710.jpg
/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_07_3018.jpg
/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_11_3659.jpg
/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_14_2574.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":["1396254362","1396254356","1396254364","1396254358","1396254360","1396254354"],"photo_ids_order":["1396254354","1396254356","1396254358","1396254360","1396254362","1396254364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3a15429510cefbe9c72e364cc2408cbd.jpg","text":"TemporaryFile(/tmp/multipartBody3120107949327343595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162683560,"filename":"image_26112025_09_16_11_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/26/4558e5224cde0befc955f8d1d8771899.jpg","text":"TemporaryFile(/tmp/multipartBody6820340511621766603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162683560,"filename":"image_26112025_09_14_51_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/26/e9ec2b598a0e56b03390af44eafff2fc.jpg","text":"TemporaryFile(/tmp/multipartBody2142746043317037228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162683560,"filename":"image_26112025_09_16_14_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/26/9378ced77825040bf2ec14346f3d6955.jpg","text":"TemporaryFile(/tmp/multipartBody3529379664393792955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162683560,"filename":"image_26112025_09_14_55_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/26/9456801ab5e797d3f98cf736027f6995.jpg","text":"TemporaryFile(/tmp/multipartBody69300349506116534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162683560,"filename":"image_26112025_09_16_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/26/d6be1190e1d3e82dc87483982e0cc0e5.jpg","text":"TemporaryFile(/tmp/multipartBody8896772438504687318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162683560,"filename":"image_26112025_09_14_48_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396254358","file1":"1396254356","file0":"1396254354","file4":"1396254362","file5":"1396254364","file3":"1396254360"},"map_files_photo_id_array":[{"photo_id":"1396254364","filename":"file5"},{"photo_id":"1396254358","filename":"file2"},{"photo_id":"1396254362","filename":"file4"},{"photo_id":"1396254356","filename":"file1"},{"photo_id":"1396254354","filename":"file0"},{"photo_id":"1396254360","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396254362":["hashtag1","hashtag2"]},{"1396254356":["hashtag1","hashtag2"]},{"1396254364":["hashtag1","hashtag2"]},{"1396254358":["hashtag1","hashtag2"]},{"1396254360":["hashtag1","hashtag2"]},{"1396254354":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396254362, 1396254356, 1396254364, 1396254358, 1396254360, 1396254354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.965198278427124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:11:02.597545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_17_3664.jpg', '/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_20_2613.jpg', '/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_23_2745.jpg', '/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_26_3618.jpg', '/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_29_2607.jpg', '/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_32_2938.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_17_3664.jpg
/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_20_2613.jpg
/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_23_2745.jpg
/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_26_3618.jpg
/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_29_2607.jpg
/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_32_2938.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":["1396254374","1396254367","1396254384","1396254387","1396254381","1396254369"],"photo_ids_order":["1396254367","1396254369","1396254374","1396254381","1396254384","1396254387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1bbbdbbea6f43e84ebb049171b608c8f.jpg","text":"TemporaryFile(/tmp/multipartBody9107327212055563767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162723465,"filename":"image_26112025_09_16_23_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/26/716cc9247c37cfecff522320a5c36e40.jpg","text":"TemporaryFile(/tmp/multipartBody8341860824050888748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162723465,"filename":"image_26112025_09_16_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/26/bd8809885e8f4a4000f98fe94ea69ff3.jpg","text":"TemporaryFile(/tmp/multipartBody4899559495077746337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162723465,"filename":"image_26112025_09_16_29_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/66e91e154a44903550f18f8e4dbba605.jpg","text":"TemporaryFile(/tmp/multipartBody6207874268342964560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162723465,"filename":"image_26112025_09_16_32_2938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ec5c6144ee26c36e37e8aaebc7aa571f.jpg","text":"TemporaryFile(/tmp/multipartBody265202908746781921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162723465,"filename":"image_26112025_09_16_26_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/26/cd4bd138f1e3ad1dfee6874f5a6fe74b.jpg","text":"TemporaryFile(/tmp/multipartBody5873441657463752491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162723465,"filename":"image_26112025_09_16_20_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396254374","file1":"1396254369","file0":"1396254367","file4":"1396254384","file5":"1396254387","file3":"1396254381"},"map_files_photo_id_array":[{"photo_id":"1396254387","filename":"file5"},{"photo_id":"1396254374","filename":"file2"},{"photo_id":"1396254384","filename":"file4"},{"photo_id":"1396254369","filename":"file1"},{"photo_id":"1396254367","filename":"file0"},{"photo_id":"1396254381","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396254374":["hashtag1","hashtag2"]},{"1396254367":["hashtag1","hashtag2"]},{"1396254384":["hashtag1","hashtag2"]},{"1396254387":["hashtag1","hashtag2"]},{"1396254381":["hashtag1","hashtag2"]},{"1396254369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396254374, 1396254367, 1396254384, 1396254387, 1396254381, 1396254369)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 50.37539839744568 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:12:02.427293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_34_2621.jpg', '/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_38_3752.jpg', '/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_41_2655.jpg', '/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_43_2558.jpg', '/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_47_3757.jpg', '/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_50_2791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_34_2621.jpg
/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_38_3752.jpg
/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_41_2655.jpg
/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_43_2558.jpg
/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_47_3757.jpg
/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_50_2791.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.5805060863494873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:12:11.930992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_34_2621.jpg', '/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_38_3752.jpg', '/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_41_2655.jpg', '/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_43_2558.jpg', '/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_47_3757.jpg', '/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_50_2791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_34_2621.jpg
/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_38_3752.jpg
/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_41_2655.jpg
/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_43_2558.jpg
/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_47_3757.jpg
/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_50_2791.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":["1396254411","1396254422","1396254419","1396254404","1396254407","1396254415"],"photo_ids_order":["1396254404","1396254407","1396254411","1396254415","1396254419","1396254422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b4b0352c57d6a8b1791b970c759b1387.jpg","text":"TemporaryFile(/tmp/multipartBody3476533136566591511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162792649,"filename":"image_26112025_09_16_41_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0011f8854cc4cb110826727c9ad59f75.jpg","text":"TemporaryFile(/tmp/multipartBody8841077037666016886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162792649,"filename":"image_26112025_09_16_50_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/26/7a38a37e7064337dd1d812c9cae02f35.jpg","text":"TemporaryFile(/tmp/multipartBody3548353845826281038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162792649,"filename":"image_26112025_09_16_47_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/26/83c417806857709bf8965539fa6be11f.jpg","text":"TemporaryFile(/tmp/multipartBody8951501284353593091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162792649,"filename":"image_26112025_09_16_34_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/07a245ddaf54d87dab8ec9a11e7422f8.jpg","text":"TemporaryFile(/tmp/multipartBody7258267922024220603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162792649,"filename":"image_26112025_09_16_38_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/26/19b3288957e9374f24169fee412fc70d.jpg","text":"TemporaryFile(/tmp/multipartBody8525450731718802990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162792649,"filename":"image_26112025_09_16_43_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396254411","file1":"1396254407","file0":"1396254404","file4":"1396254419","file5":"1396254422","file3":"1396254415"},"map_files_photo_id_array":[{"photo_id":"1396254422","filename":"file5"},{"photo_id":"1396254411","filename":"file2"},{"photo_id":"1396254419","filename":"file4"},{"photo_id":"1396254407","filename":"file1"},{"photo_id":"1396254404","filename":"file0"},{"photo_id":"1396254415","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396254411":["hashtag1","hashtag2"]},{"1396254422":["hashtag1","hashtag2"]},{"1396254419":["hashtag1","hashtag2"]},{"1396254404":["hashtag1","hashtag2"]},{"1396254407":["hashtag1","hashtag2"]},{"1396254415":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396254411, 1396254422, 1396254419, 1396254404, 1396254407, 1396254415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16481137275696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:13:02.886787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_53_2689.jpg', '/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_55_2679.jpg', '/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_59_3940.jpg', '/home/pi/Desktop/images/26112025/09/17/image_26112025_09_17_02_2693.jpg', '/home/pi/Desktop/images/26112025/09/17/image_26112025_09_17_05_2633.jpg', '/home/pi/Desktop/images/26112025/09/17/image_26112025_09_17_07_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_53_2689.jpg
/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_55_2679.jpg
/home/pi/Desktop/images/26112025/09/16/image_26112025_09_16_59_3940.jpg
/home/pi/Desktop/images/26112025/09/17/image_26112025_09_17_02_2693.jpg
/home/pi/Desktop/images/26112025/09/17/image_26112025_09_17_05_2633.jpg
/home/pi/Desktop/images/26112025/09/17/image_26112025_09_17_07_2732.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":["1396254441","1396254429","1396254438","1396254437","1396254439","1396254433"],"photo_ids_order":["1396254429","1396254433","1396254437","1396254438","1396254439","1396254441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/899d1bf05c81d12c448c08682d5c7852.jpg","text":"TemporaryFile(/tmp/multipartBody1610691804788468168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162843729,"filename":"image_26112025_09_17_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/26/82ed1d85a4c5b806ce15e9b3135abc37.jpg","text":"TemporaryFile(/tmp/multipartBody2331925580131164100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162843729,"filename":"image_26112025_09_16_53_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/26/b9a82a9a5d38abd3bb98f27be01e13c4.jpg","text":"TemporaryFile(/tmp/multipartBody1951419815866934104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162843729,"filename":"image_26112025_09_17_02_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/26/e87d6cf3875777382f45855747275e59.jpg","text":"TemporaryFile(/tmp/multipartBody5820700007751181300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162843729,"filename":"image_26112025_09_16_59_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/26/c996634ff96a37184d8af9461c4fac08.jpg","text":"TemporaryFile(/tmp/multipartBody7294323746845075877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162843729,"filename":"image_26112025_09_17_05_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/26/cc7d25bb064f464c62b22c348950bd1c.jpg","text":"TemporaryFile(/tmp/multipartBody6819624281913064824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162843729,"filename":"image_26112025_09_16_55_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396254437","file1":"1396254433","file0":"1396254429","file4":"1396254439","file5":"1396254441","file3":"1396254438"},"map_files_photo_id_array":[{"photo_id":"1396254441","filename":"file5"},{"photo_id":"1396254437","filename":"file2"},{"photo_id":"1396254439","filename":"file4"},{"photo_id":"1396254433","filename":"file1"},{"photo_id":"1396254429","filename":"file0"},{"photo_id":"1396254438","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396254441":["hashtag1","hashtag2"]},{"1396254429":["hashtag1","hashtag2"]},{"1396254438":["hashtag1","hashtag2"]},{"1396254437":["hashtag1","hashtag2"]},{"1396254439":["hashtag1","hashtag2"]},{"1396254433":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396254441, 1396254429, 1396254438, 1396254437, 1396254439, 1396254433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07742404937744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 14:13:42.154827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/17/image_26112025_09_17_11_3677.jpg', '/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_07_3013.jpg', '/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_10_3789.jpg', '/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_13_2670.jpg', '/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_16_2634.jpg', '/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_19_3582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/17/image_26112025_09_17_11_3677.jpg
/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_07_3013.jpg
/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_10_3789.jpg
/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_13_2670.jpg
/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_16_2634.jpg
/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_19_3582.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":["1396254488","1396254491","1396254490","1396254487","1396254484","1396254489"],"photo_ids_order":["1396254484","1396254487","1396254488","1396254489","1396254490","1396254491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/baf3eb376aecaca359429b4d3f75905a.jpg","text":"TemporaryFile(/tmp/multipartBody5235050022605804833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162882923,"filename":"image_26112025_09_18_10_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/26/a80106d6588a03c0098eaca9353452b2.jpg","text":"TemporaryFile(/tmp/multipartBody9167855660348893834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162882923,"filename":"image_26112025_09_18_19_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/26/8a2b69894ab259419e1958db9ae54a62.jpg","text":"TemporaryFile(/tmp/multipartBody3972575881234120682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162882923,"filename":"image_26112025_09_18_16_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/230b8d20505e33c67d6934e49d484331.jpg","text":"TemporaryFile(/tmp/multipartBody8494846330578898158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162882923,"filename":"image_26112025_09_18_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/26/a11e0ae74ce7d98963207c51a698bc4f.jpg","text":"TemporaryFile(/tmp/multipartBody7393141685874232778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162882923,"filename":"image_26112025_09_17_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/26/b9d573a6acac2de995b7576423ac158f.jpg","text":"TemporaryFile(/tmp/multipartBody4534748056876099403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162882923,"filename":"image_26112025_09_18_13_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396254488","file1":"1396254487","file0":"1396254484","file4":"1396254490","file5":"1396254491","file3":"1396254489"},"map_files_photo_id_array":[{"photo_id":"1396254491","filename":"file5"},{"photo_id":"1396254488","filename":"file2"},{"photo_id":"1396254490","filename":"file4"},{"photo_id":"1396254487","filename":"file1"},{"photo_id":"1396254484","filename":"file0"},{"photo_id":"1396254489","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396254488":["hashtag1","hashtag2"]},{"1396254491":["hashtag1","hashtag2"]},{"1396254490":["hashtag1","hashtag2"]},{"1396254487":["hashtag1","hashtag2"]},{"1396254484":["hashtag1","hashtag2"]},{"1396254489":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396254488, 1396254491, 1396254490, 1396254487, 1396254484, 1396254489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67833948135376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:14:22.372002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_22_2691.jpg', '/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_25_2608.jpg', '/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_28_3660.jpg', '/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_31_2820.jpg', '/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_34_2652.jpg', '/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_37_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_22_2691.jpg
/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_25_2608.jpg
/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_28_3660.jpg
/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_31_2820.jpg
/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_34_2652.jpg
/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_37_3647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396254501","1396254504","1396254506","1396254496","1396254511","1396254508"],"photo_ids_order":["1396254496","1396254501","1396254504","1396254506","1396254508","1396254511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f289cada9d1e448e3a8e8c676aa60df3.jpg","text":"TemporaryFile(/tmp/multipartBody702571790359807082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162923100,"filename":"image_26112025_09_18_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/26/a45a34dc7281194e5312bdb9dde1ab16.jpg","text":"TemporaryFile(/tmp/multipartBody880562472860461544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162923100,"filename":"image_26112025_09_18_28_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/26/7a5cab8600a5803bc7cfb4f2cf7f6c68.jpg","text":"TemporaryFile(/tmp/multipartBody6221337820396764035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162923100,"filename":"image_26112025_09_18_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/26/7a969261890a78dd0057592f0b38161a.jpg","text":"TemporaryFile(/tmp/multipartBody4553756944454165570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162923100,"filename":"image_26112025_09_18_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/26/a2c4aaccb9b6d25d8b55b1fe00b4ae02.jpg","text":"TemporaryFile(/tmp/multipartBody4767271141304495517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162923100,"filename":"image_26112025_09_18_37_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/26/42857f107e412a2c43b5720ba71f1085.jpg","text":"TemporaryFile(/tmp/multipartBody8652521293563396499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162923100,"filename":"image_26112025_09_18_34_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396254504","file1":"1396254501","file0":"1396254496","file4":"1396254508","file5":"1396254511","file3":"1396254506"},"map_files_photo_id_array":[{"photo_id":"1396254511","filename":"file5"},{"photo_id":"1396254504","filename":"file2"},{"photo_id":"1396254508","filename":"file4"},{"photo_id":"1396254501","filename":"file1"},{"photo_id":"1396254496","filename":"file0"},{"photo_id":"1396254506","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396254501":["hashtag1","hashtag2"]},{"1396254504":["hashtag1","hashtag2"]},{"1396254506":["hashtag1","hashtag2"]},{"1396254496":["hashtag1","hashtag2"]},{"1396254511":["hashtag1","hashtag2"]},{"1396254508":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396254501, 1396254504, 1396254506, 1396254496, 1396254511, 1396254508)","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: 54.836726903915405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:15:22.143645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_40_2749.jpg', '/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_43_2676.jpg', '/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_46_2793.jpg', '/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_07_3011.jpg', '/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_11_3728.jpg', '/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_14_2747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_40_2749.jpg
/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_43_2676.jpg
/home/pi/Desktop/images/26112025/09/18/image_26112025_09_18_46_2793.jpg
/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_07_3011.jpg
/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_11_3728.jpg
/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_14_2747.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":["1396254519","1396254583","1396254544","1396254619","1396254696","1396254657"],"photo_ids_order":["1396254519","1396254544","1396254583","1396254619","1396254657","1396254696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b7bb232e775938e72fca7e4d4bdf9b0c.jpg","text":"TemporaryFile(/tmp/multipartBody1115023987665489221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162982876,"filename":"image_26112025_09_18_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/26/1f8a3e7f02c967c6e6da426675524d67.jpg","text":"TemporaryFile(/tmp/multipartBody8506210580049139372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162982876,"filename":"image_26112025_09_18_46_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/26/72cb0fb2de5d709710a0e671c79ccc0f.jpg","text":"TemporaryFile(/tmp/multipartBody668290703090283808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162982876,"filename":"image_26112025_09_18_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/26/4e7d86ef6a377a0f62c3e09c2cdc6d4a.jpg","text":"TemporaryFile(/tmp/multipartBody3640042323158739316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162982876,"filename":"image_26112025_09_20_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/26/be371a3e68c484e38d3b962d8f4e537d.jpg","text":"TemporaryFile(/tmp/multipartBody8580747531842708568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162982876,"filename":"image_26112025_09_20_14_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/26/43249ede21c4513dd5604c1bac14d232.jpg","text":"TemporaryFile(/tmp/multipartBody8294875029440586935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764162982876,"filename":"image_26112025_09_20_11_3728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396254583","file1":"1396254544","file0":"1396254519","file4":"1396254657","file5":"1396254696","file3":"1396254619"},"map_files_photo_id_array":[{"photo_id":"1396254696","filename":"file5"},{"photo_id":"1396254583","filename":"file2"},{"photo_id":"1396254657","filename":"file4"},{"photo_id":"1396254544","filename":"file1"},{"photo_id":"1396254519","filename":"file0"},{"photo_id":"1396254619","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396254519":["hashtag1","hashtag2"]},{"1396254583":["hashtag1","hashtag2"]},{"1396254544":["hashtag1","hashtag2"]},{"1396254619":["hashtag1","hashtag2"]},{"1396254696":["hashtag1","hashtag2"]},{"1396254657":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396254519, 1396254583, 1396254544, 1396254619, 1396254696, 1396254657)","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: 55.63126349449158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:16:29.125510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_16_2621.jpg', '/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_20_3595.jpg', '/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_23_2651.jpg', '/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_25_2696.jpg', '/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_29_3553.jpg', '/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_31_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_16_2621.jpg
/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_20_3595.jpg
/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_23_2651.jpg
/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_25_2696.jpg
/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_29_3553.jpg
/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_31_2629.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":["1396254761","1396254766","1396254763","1396254756","1396254765","1396254759"],"photo_ids_order":["1396254756","1396254759","1396254761","1396254763","1396254765","1396254766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/33c2b169fe09cd05bc98ec24a122c991.jpg","text":"TemporaryFile(/tmp/multipartBody7252255277103075754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163052334,"filename":"image_26112025_09_20_23_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/26/6361c76a08faffdd31eb3f4f0316a546.jpg","text":"TemporaryFile(/tmp/multipartBody6356119132757578803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163052334,"filename":"image_26112025_09_20_31_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/70c4fc192c5a0964ce7df40dce82189d.jpg","text":"TemporaryFile(/tmp/multipartBody361312033068162357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163052334,"filename":"image_26112025_09_20_25_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/26/4a487103eb7d26b6644ee34b00617001.jpg","text":"TemporaryFile(/tmp/multipartBody3194770679392908950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163052334,"filename":"image_26112025_09_20_16_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/085ee135292b0fbd2d38c76efe850873.jpg","text":"TemporaryFile(/tmp/multipartBody1401789348237465177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163052334,"filename":"image_26112025_09_20_29_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/26/200f1a6396ee46780bf3bbc373d941a1.jpg","text":"TemporaryFile(/tmp/multipartBody2284931143077919013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163052334,"filename":"image_26112025_09_20_20_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396254761","file1":"1396254759","file0":"1396254756","file4":"1396254765","file5":"1396254766","file3":"1396254763"},"map_files_photo_id_array":[{"photo_id":"1396254766","filename":"file5"},{"photo_id":"1396254761","filename":"file2"},{"photo_id":"1396254765","filename":"file4"},{"photo_id":"1396254759","filename":"file1"},{"photo_id":"1396254756","filename":"file0"},{"photo_id":"1396254763","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396254761":["hashtag1","hashtag2"]},{"1396254766":["hashtag1","hashtag2"]},{"1396254763":["hashtag1","hashtag2"]},{"1396254756":["hashtag1","hashtag2"]},{"1396254765":["hashtag1","hashtag2"]},{"1396254759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396254761, 1396254766, 1396254763, 1396254756, 1396254765, 1396254759)","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 = 1396254761 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_23_2651.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 60.12374973297119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:17:33.054519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_35_3669.jpg', '/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_38_2721.jpg', '/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_41_2748.jpg', '/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_43_2789.jpg', '/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_47_3716.jpg', '/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_52_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_35_3669.jpg
/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_38_2721.jpg
/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_41_2748.jpg
/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_43_2789.jpg
/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_47_3716.jpg
/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_52_2739.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":["1396254980","1396254935","1396254932","1396254937","1396254984","1396254942"],"photo_ids_order":["1396254932","1396254935","1396254937","1396254942","1396254980","1396254984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5da6c7be341e022fd10ef5611251beb5.jpg","text":"TemporaryFile(/tmp/multipartBody4000886312256208435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163113785,"filename":"image_26112025_09_20_47_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/26/e89f64859335a79f154f93b8b2eb17d4.jpg","text":"TemporaryFile(/tmp/multipartBody337385158258196990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163113785,"filename":"image_26112025_09_20_38_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/26/9d93c3b31d12e18e559800ba72f45df9.jpg","text":"TemporaryFile(/tmp/multipartBody5490585357790551824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163113785,"filename":"image_26112025_09_20_35_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/26/da0fec9c5acc9fad561f2bc1ba668ac3.jpg","text":"TemporaryFile(/tmp/multipartBody7104503922814745833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163113785,"filename":"image_26112025_09_20_41_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/26/fb5ed071a7ec590ee4d71d246246f46f.jpg","text":"TemporaryFile(/tmp/multipartBody3169510352169657843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163113785,"filename":"image_26112025_09_20_52_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/26/59e63d5efdc5de36cb4cb6c36b3a2588.jpg","text":"TemporaryFile(/tmp/multipartBody7011032490631538795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163113785,"filename":"image_26112025_09_20_43_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396254937","file1":"1396254935","file0":"1396254932","file4":"1396254980","file5":"1396254984","file3":"1396254942"},"map_files_photo_id_array":[{"photo_id":"1396254984","filename":"file5"},{"photo_id":"1396254937","filename":"file2"},{"photo_id":"1396254980","filename":"file4"},{"photo_id":"1396254935","filename":"file1"},{"photo_id":"1396254932","filename":"file0"},{"photo_id":"1396254942","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396254980":["hashtag1","hashtag2"]},{"1396254935":["hashtag1","hashtag2"]},{"1396254932":["hashtag1","hashtag2"]},{"1396254937":["hashtag1","hashtag2"]},{"1396254984":["hashtag1","hashtag2"]},{"1396254942":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396254980, 1396254935, 1396254932, 1396254937, 1396254984, 1396254942)","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: 54.22055459022522 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:18:32.240930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_55_2764.jpg', '/home/pi/Desktop/images/26112025/09/21/image_26112025_09_21_01_2643.jpg', '/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_07_3019.jpg', '/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_11_3903.jpg', '/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_14_2623.jpg', '/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_16_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_55_2764.jpg
/home/pi/Desktop/images/26112025/09/21/image_26112025_09_21_01_2643.jpg
/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_07_3019.jpg
/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_11_3903.jpg
/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_14_2623.jpg
/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_16_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.6315546035766602 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 14:18:42.353444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_55_2764.jpg', '/home/pi/Desktop/images/26112025/09/21/image_26112025_09_21_01_2643.jpg', '/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_07_3019.jpg', '/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_11_3903.jpg', '/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_14_2623.jpg', '/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_16_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/20/image_26112025_09_20_55_2764.jpg
/home/pi/Desktop/images/26112025/09/21/image_26112025_09_21_01_2643.jpg
/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_07_3019.jpg
/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_11_3903.jpg
/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_14_2623.jpg
/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_16_2598.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":["1396255180","1396255174","1396255086","1396255140","1396255215","1396255047"],"photo_ids_order":["1396255047","1396255086","1396255140","1396255174","1396255180","1396255215"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/91c5b59698b34380187fe0b4fcfdf10e.jpg","text":"TemporaryFile(/tmp/multipartBody6380968957054064939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163183103,"filename":"image_26112025_09_22_14_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/26/9cc3102db5ed08a4067de0e7c8edd767.jpg","text":"TemporaryFile(/tmp/multipartBody6436688779394554886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163183103,"filename":"image_26112025_09_22_11_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/26/1b967eb5c08ebf47bb4bc376b70f6ab7.jpg","text":"TemporaryFile(/tmp/multipartBody5900897167266990830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163183103,"filename":"image_26112025_09_21_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/26/5671524d9776ebce38ae88692c470162.jpg","text":"TemporaryFile(/tmp/multipartBody2963936008573869613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163183103,"filename":"image_26112025_09_22_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/26/9404b1b7819a2ec5b697ba2fa048aea7.jpg","text":"TemporaryFile(/tmp/multipartBody84138309699900933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163183103,"filename":"image_26112025_09_22_16_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/26/3e0f30efa346d714aed8b7f14fbfba0d.jpg","text":"TemporaryFile(/tmp/multipartBody7174957725886374659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163183103,"filename":"image_26112025_09_20_55_2764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396255140","file1":"1396255086","file0":"1396255047","file4":"1396255180","file5":"1396255215","file3":"1396255174"},"map_files_photo_id_array":[{"photo_id":"1396255215","filename":"file5"},{"photo_id":"1396255140","filename":"file2"},{"photo_id":"1396255180","filename":"file4"},{"photo_id":"1396255086","filename":"file1"},{"photo_id":"1396255047","filename":"file0"},{"photo_id":"1396255174","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396255180":["hashtag1","hashtag2"]},{"1396255174":["hashtag1","hashtag2"]},{"1396255086":["hashtag1","hashtag2"]},{"1396255140":["hashtag1","hashtag2"]},{"1396255215":["hashtag1","hashtag2"]},{"1396255047":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396255180, 1396255174, 1396255086, 1396255140, 1396255215, 1396255047)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.54929161071777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:19:32.628457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_20_3588.jpg', '/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_22_2522.jpg', '/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_26_3648.jpg', '/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_29_2649.jpg', '/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_31_2613.jpg', '/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_35_3615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_20_3588.jpg
/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_22_2522.jpg
/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_26_3648.jpg
/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_29_2649.jpg
/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_31_2613.jpg
/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_35_3615.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":["1396255388","1396255390","1396255384","1396255393","1396255392","1396255386"],"photo_ids_order":["1396255384","1396255386","1396255388","1396255390","1396255392","1396255393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c2d58b077c686f9467acb1f8e7afc14c.jpg","text":"TemporaryFile(/tmp/multipartBody1576787734560921418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163233342,"filename":"image_26112025_09_22_26_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/26/8e3b6ae862678fca6a1977ed6087df71.jpg","text":"TemporaryFile(/tmp/multipartBody2310546327015130614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163233342,"filename":"image_26112025_09_22_29_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4e1f6e230a49b76f2b8b1e081aa53068.jpg","text":"TemporaryFile(/tmp/multipartBody4885768985581729251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163233342,"filename":"image_26112025_09_22_20_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/26/a8bfc001316df9882ec3c1557c77f428.jpg","text":"TemporaryFile(/tmp/multipartBody7250966188926123019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163233342,"filename":"image_26112025_09_22_35_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/de1204b0811efc08754ab02afd8846fe.jpg","text":"TemporaryFile(/tmp/multipartBody1334074380085466799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163233342,"filename":"image_26112025_09_22_31_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/26/fbe00be267dd2210b4882327a937f6d5.jpg","text":"TemporaryFile(/tmp/multipartBody4511913263496388882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163233342,"filename":"image_26112025_09_22_22_2522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396255388","file1":"1396255386","file0":"1396255384","file4":"1396255392","file5":"1396255393","file3":"1396255390"},"map_files_photo_id_array":[{"photo_id":"1396255393","filename":"file5"},{"photo_id":"1396255388","filename":"file2"},{"photo_id":"1396255392","filename":"file4"},{"photo_id":"1396255386","filename":"file1"},{"photo_id":"1396255384","filename":"file0"},{"photo_id":"1396255390","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396255388":["hashtag1","hashtag2"]},{"1396255390":["hashtag1","hashtag2"]},{"1396255384":["hashtag1","hashtag2"]},{"1396255393":["hashtag1","hashtag2"]},{"1396255392":["hashtag1","hashtag2"]},{"1396255386":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396255388, 1396255390, 1396255384, 1396255393, 1396255392, 1396255386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.176758766174316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:20:12.796977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_37_2629.jpg', '/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_40_2579.jpg', '/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_44_3595.jpg', '/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_46_2668.jpg', '/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_50_3552.jpg', '/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_53_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_37_2629.jpg
/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_40_2579.jpg
/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_44_3595.jpg
/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_46_2668.jpg
/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_50_3552.jpg
/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_53_2657.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":["1396255400","1396255403","1396255432","1396255458","1396255467","1396255401"],"photo_ids_order":["1396255400","1396255401","1396255403","1396255432","1396255458","1396255467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/62c25866d83049453e12275160bdf964.jpg","text":"TemporaryFile(/tmp/multipartBody6281120815456183172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163273553,"filename":"image_26112025_09_22_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/26/aa0acbed8c9211c31b682c7996fc2256.jpg","text":"TemporaryFile(/tmp/multipartBody8832813952431000192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163273553,"filename":"image_26112025_09_22_44_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/26/9057cf1f16b87f1a36b08f40e822eb90.jpg","text":"TemporaryFile(/tmp/multipartBody6500925745759882678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163273553,"filename":"image_26112025_09_22_46_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/26/c5ded325c7fc3645a34166ab46c5f506.jpg","text":"TemporaryFile(/tmp/multipartBody3595829983373118207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163273553,"filename":"image_26112025_09_22_50_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/26/91d90c247d805ce464f005d4ef511be3.jpg","text":"TemporaryFile(/tmp/multipartBody7194360780976043002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163273553,"filename":"image_26112025_09_22_53_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/26/eaa67237e762fdba937ae48c591b2ccc.jpg","text":"TemporaryFile(/tmp/multipartBody6234815417819952193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163273553,"filename":"image_26112025_09_22_40_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396255403","file1":"1396255401","file0":"1396255400","file4":"1396255458","file5":"1396255467","file3":"1396255432"},"map_files_photo_id_array":[{"photo_id":"1396255467","filename":"file5"},{"photo_id":"1396255403","filename":"file2"},{"photo_id":"1396255458","filename":"file4"},{"photo_id":"1396255401","filename":"file1"},{"photo_id":"1396255400","filename":"file0"},{"photo_id":"1396255432","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396255400":["hashtag1","hashtag2"]},{"1396255403":["hashtag1","hashtag2"]},{"1396255432":["hashtag1","hashtag2"]},{"1396255458":["hashtag1","hashtag2"]},{"1396255467":["hashtag1","hashtag2"]},{"1396255401":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396255400, 1396255403, 1396255432, 1396255458, 1396255467, 1396255401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.855780601501465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:21:02.658169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_55_2557.jpg', '/home/pi/Desktop/images/26112025/09/24/image_26112025_09_24_07_3011.jpg', '/home/pi/Desktop/images/26112025/09/24/image_26112025_09_24_16_2704.jpg', '/home/pi/Desktop/images/26112025/09/24/image_26112025_09_24_20_3537.jpg', '/home/pi/Desktop/images/26112025/09/24/image_26112025_09_24_25_2717.jpg', '/home/pi/Desktop/images/26112025/09/24/image_26112025_09_24_32_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/22/image_26112025_09_22_55_2557.jpg
/home/pi/Desktop/images/26112025/09/24/image_26112025_09_24_07_3011.jpg
/home/pi/Desktop/images/26112025/09/24/image_26112025_09_24_16_2704.jpg
/home/pi/Desktop/images/26112025/09/24/image_26112025_09_24_20_3537.jpg
/home/pi/Desktop/images/26112025/09/24/image_26112025_09_24_25_2717.jpg
/home/pi/Desktop/images/26112025/09/24/image_26112025_09_24_32_2699.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":["1396255556","1396255532","1396255546","1396255528","1396255551","1396255548"],"photo_ids_order":["1396255528","1396255532","1396255546","1396255548","1396255551","1396255556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4e3ab052ebdc8c6bf78a42d9992cc306.jpg","text":"TemporaryFile(/tmp/multipartBody8315738852726521784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163323477,"filename":"image_26112025_09_24_32_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/26/bb08fc35c0acc25106663987530b20f3.jpg","text":"TemporaryFile(/tmp/multipartBody1435328963871404977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163323477,"filename":"image_26112025_09_24_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/26/d47872c38b28c750bbb0e23aa3d71eec.jpg","text":"TemporaryFile(/tmp/multipartBody5363831986511033378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163323477,"filename":"image_26112025_09_24_16_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/26/c4efafc0ff0604d76faf24d542b4b405.jpg","text":"TemporaryFile(/tmp/multipartBody6406030116907244759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163323477,"filename":"image_26112025_09_22_55_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/26/e4b84e1bab5d6638ae7294bce143b841.jpg","text":"TemporaryFile(/tmp/multipartBody6572035697845504367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163323477,"filename":"image_26112025_09_24_25_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/26/5777ea24f5404fc2ecc2b990fd7113d8.jpg","text":"TemporaryFile(/tmp/multipartBody7944376606070644355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163323477,"filename":"image_26112025_09_24_20_3537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396255546","file1":"1396255532","file0":"1396255528","file4":"1396255551","file5":"1396255556","file3":"1396255548"},"map_files_photo_id_array":[{"photo_id":"1396255556","filename":"file5"},{"photo_id":"1396255546","filename":"file2"},{"photo_id":"1396255551","filename":"file4"},{"photo_id":"1396255532","filename":"file1"},{"photo_id":"1396255528","filename":"file0"},{"photo_id":"1396255548","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396255556":["hashtag1","hashtag2"]},{"1396255532":["hashtag1","hashtag2"]},{"1396255546":["hashtag1","hashtag2"]},{"1396255528":["hashtag1","hashtag2"]},{"1396255551":["hashtag1","hashtag2"]},{"1396255548":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396255556, 1396255532, 1396255546, 1396255528, 1396255551, 1396255548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.314974308013916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 14:21:42.086203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/24/image_26112025_09_24_47_2685.jpg', '/home/pi/Desktop/images/26112025/09/24/image_26112025_09_24_56_2662.jpg', '/home/pi/Desktop/images/26112025/09/26/image_26112025_09_26_08_3011.jpg', '/home/pi/Desktop/images/26112025/09/26/image_26112025_09_26_11_3639.jpg', '/home/pi/Desktop/images/26112025/09/26/image_26112025_09_26_14_2817.jpg', '/home/pi/Desktop/images/26112025/09/26/image_26112025_09_26_31_13904.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/24/image_26112025_09_24_47_2685.jpg
/home/pi/Desktop/images/26112025/09/24/image_26112025_09_24_56_2662.jpg
/home/pi/Desktop/images/26112025/09/26/image_26112025_09_26_08_3011.jpg
/home/pi/Desktop/images/26112025/09/26/image_26112025_09_26_11_3639.jpg
/home/pi/Desktop/images/26112025/09/26/image_26112025_09_26_14_2817.jpg
/home/pi/Desktop/images/26112025/09/26/image_26112025_09_26_31_13904.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":["1396255568","1396255562","1396255565","1396255570","1396255567","1396255569"],"photo_ids_order":["1396255562","1396255565","1396255567","1396255568","1396255569","1396255570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/07db6770a15975527ed8e8c362a4a7f9.jpg","text":"TemporaryFile(/tmp/multipartBody5953140328919787546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163362788,"filename":"image_26112025_09_26_11_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/26/300ae1d7d5e1d7db152e4bb8b3e7ccd1.jpg","text":"TemporaryFile(/tmp/multipartBody2439456602867365667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163362788,"filename":"image_26112025_09_24_47_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/26/be433170b5fb5b297cf263362d010a19.jpg","text":"TemporaryFile(/tmp/multipartBody4203086733774531292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163362788,"filename":"image_26112025_09_24_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/26/ac7e348a2c670495bc0f01c29e536473.jpg","text":"TemporaryFile(/tmp/multipartBody2595978239569972819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163362788,"filename":"image_26112025_09_26_31_13904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ee333f6977847ea100ff425ab1a96cbe.jpg","text":"TemporaryFile(/tmp/multipartBody6701150795598867356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163362788,"filename":"image_26112025_09_26_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/26/f99be277e83027ed4212bf68f77e973d.jpg","text":"TemporaryFile(/tmp/multipartBody860701178913523029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163362788,"filename":"image_26112025_09_26_14_2817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396255567","file1":"1396255565","file0":"1396255562","file4":"1396255569","file5":"1396255570","file3":"1396255568"},"map_files_photo_id_array":[{"photo_id":"1396255570","filename":"file5"},{"photo_id":"1396255567","filename":"file2"},{"photo_id":"1396255569","filename":"file4"},{"photo_id":"1396255565","filename":"file1"},{"photo_id":"1396255562","filename":"file0"},{"photo_id":"1396255568","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396255568":["hashtag1","hashtag2"]},{"1396255562":["hashtag1","hashtag2"]},{"1396255565":["hashtag1","hashtag2"]},{"1396255570":["hashtag1","hashtag2"]},{"1396255567":["hashtag1","hashtag2"]},{"1396255569":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396255568, 1396255562, 1396255565, 1396255570, 1396255567, 1396255569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01724696159363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:22:22.265665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/26/image_26112025_09_26_34_1640.jpg', '/home/pi/Desktop/images/26112025/09/26/image_26112025_09_26_36_1530.jpg', '/home/pi/Desktop/images/26112025/09/26/image_26112025_09_26_41_2029.jpg', '/home/pi/Desktop/images/26112025/09/26/image_26112025_09_26_42_1586.jpg', '/home/pi/Desktop/images/26112025/09/26/image_26112025_09_26_50_2690.jpg', '/home/pi/Desktop/images/26112025/09/26/image_26112025_09_26_53_3641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/26/image_26112025_09_26_34_1640.jpg
/home/pi/Desktop/images/26112025/09/26/image_26112025_09_26_36_1530.jpg
/home/pi/Desktop/images/26112025/09/26/image_26112025_09_26_41_2029.jpg
/home/pi/Desktop/images/26112025/09/26/image_26112025_09_26_42_1586.jpg
/home/pi/Desktop/images/26112025/09/26/image_26112025_09_26_50_2690.jpg
/home/pi/Desktop/images/26112025/09/26/image_26112025_09_26_53_3641.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":["1396255602","1396255585","1396255588","1396255596","1396255581","1396255578"],"photo_ids_order":["1396255578","1396255581","1396255585","1396255588","1396255596","1396255602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e216097b9fcf19228b59b3bdcb793cd8.jpg","text":"TemporaryFile(/tmp/multipartBody5910595494370229299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163403027,"filename":"image_26112025_09_26_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/26/2b98f0025b761e8cfa14e2f2c91ee3f2.jpg","text":"TemporaryFile(/tmp/multipartBody2787615686162931316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163403027,"filename":"image_26112025_09_26_41_2029.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/19d7ea9c97ae4079858f1203c6642f99.jpg","text":"TemporaryFile(/tmp/multipartBody5645616611280478179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163403027,"filename":"image_26112025_09_26_42_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/26/005cfda1c1061accc7fc58373be6ad28.jpg","text":"TemporaryFile(/tmp/multipartBody1348219004616328048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163403027,"filename":"image_26112025_09_26_50_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f1f97d1fd7ca9c16425294f5ad608649.jpg","text":"TemporaryFile(/tmp/multipartBody7298803741086407574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163403027,"filename":"image_26112025_09_26_36_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/26/64d495f957614a0a175a84f375c127fd.jpg","text":"TemporaryFile(/tmp/multipartBody4397682290516148777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163403027,"filename":"image_26112025_09_26_34_1640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396255585","file1":"1396255581","file0":"1396255578","file4":"1396255596","file5":"1396255602","file3":"1396255588"},"map_files_photo_id_array":[{"photo_id":"1396255602","filename":"file5"},{"photo_id":"1396255585","filename":"file2"},{"photo_id":"1396255596","filename":"file4"},{"photo_id":"1396255581","filename":"file1"},{"photo_id":"1396255578","filename":"file0"},{"photo_id":"1396255588","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396255602":["hashtag1","hashtag2"]},{"1396255585":["hashtag1","hashtag2"]},{"1396255588":["hashtag1","hashtag2"]},{"1396255596":["hashtag1","hashtag2"]},{"1396255581":["hashtag1","hashtag2"]},{"1396255578":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396255602, 1396255585, 1396255588, 1396255596, 1396255581, 1396255578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.032196283340454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:23:03.217362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/26/image_26112025_09_26_56_2646.jpg', '/home/pi/Desktop/images/26112025/09/26/image_26112025_09_26_59_2702.jpg', '/home/pi/Desktop/images/26112025/09/27/image_26112025_09_27_02_3670.jpg', '/home/pi/Desktop/images/26112025/09/27/image_26112025_09_27_05_2687.jpg', '/home/pi/Desktop/images/26112025/09/27/image_26112025_09_27_11_3591.jpg', '/home/pi/Desktop/images/26112025/09/27/image_26112025_09_27_32_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/26/image_26112025_09_26_56_2646.jpg
/home/pi/Desktop/images/26112025/09/26/image_26112025_09_26_59_2702.jpg
/home/pi/Desktop/images/26112025/09/27/image_26112025_09_27_02_3670.jpg
/home/pi/Desktop/images/26112025/09/27/image_26112025_09_27_05_2687.jpg
/home/pi/Desktop/images/26112025/09/27/image_26112025_09_27_11_3591.jpg
/home/pi/Desktop/images/26112025/09/27/image_26112025_09_27_32_2623.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":["1396255617","1396255610","1396255604","1396255606","1396255614","1396255608"],"photo_ids_order":["1396255604","1396255606","1396255608","1396255610","1396255614","1396255617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8725fd021dc121787be6f5d0dec4d23f.jpg","text":"TemporaryFile(/tmp/multipartBody1423761984028864595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163444164,"filename":"image_26112025_09_27_32_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/26/ac76f06918b7e6cf15a7cc97478b9b8d.jpg","text":"TemporaryFile(/tmp/multipartBody2369948206737779619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163444164,"filename":"image_26112025_09_27_05_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/26/45dd289fd43056a5a3d2b9b1ac7bea03.jpg","text":"TemporaryFile(/tmp/multipartBody2035283730836845069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163444164,"filename":"image_26112025_09_26_56_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b931b8aec1c4d8fef5bb00459a511155.jpg","text":"TemporaryFile(/tmp/multipartBody8265780116331609908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163444164,"filename":"image_26112025_09_26_59_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/26/e8987b711b2f1f1d7176b573005aaedf.jpg","text":"TemporaryFile(/tmp/multipartBody7069542340991262659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163444164,"filename":"image_26112025_09_27_11_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/26/9a851c0d5b0ad05e5c9402ece78b222b.jpg","text":"TemporaryFile(/tmp/multipartBody482988675267708724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163444164,"filename":"image_26112025_09_27_02_3670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396255608","file1":"1396255606","file0":"1396255604","file4":"1396255614","file5":"1396255617","file3":"1396255610"},"map_files_photo_id_array":[{"photo_id":"1396255617","filename":"file5"},{"photo_id":"1396255608","filename":"file2"},{"photo_id":"1396255614","filename":"file4"},{"photo_id":"1396255606","filename":"file1"},{"photo_id":"1396255604","filename":"file0"},{"photo_id":"1396255610","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396255617":["hashtag1","hashtag2"]},{"1396255610":["hashtag1","hashtag2"]},{"1396255604":["hashtag1","hashtag2"]},{"1396255606":["hashtag1","hashtag2"]},{"1396255614":["hashtag1","hashtag2"]},{"1396255608":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396255617, 1396255610, 1396255604, 1396255606, 1396255614, 1396255608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.809428453445435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 14:23:42.536166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/27/image_26112025_09_27_38_3611.jpg', '/home/pi/Desktop/images/26112025/09/27/image_26112025_09_27_41_2545.jpg', '/home/pi/Desktop/images/26112025/09/29/image_26112025_09_29_22_2653.jpg', '/home/pi/Desktop/images/26112025/09/29/image_26112025_09_29_26_3659.jpg', '/home/pi/Desktop/images/26112025/09/29/image_26112025_09_29_40_2627.jpg', '/home/pi/Desktop/images/26112025/09/29/image_26112025_09_29_49_2781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/27/image_26112025_09_27_38_3611.jpg
/home/pi/Desktop/images/26112025/09/27/image_26112025_09_27_41_2545.jpg
/home/pi/Desktop/images/26112025/09/29/image_26112025_09_29_22_2653.jpg
/home/pi/Desktop/images/26112025/09/29/image_26112025_09_29_26_3659.jpg
/home/pi/Desktop/images/26112025/09/29/image_26112025_09_29_40_2627.jpg
/home/pi/Desktop/images/26112025/09/29/image_26112025_09_29_49_2781.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":["1396255646","1396255640","1396255642","1396255624","1396255644","1396255638"],"photo_ids_order":["1396255624","1396255638","1396255640","1396255642","1396255644","1396255646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/072ce97061f314490fa0c842fbe84084.jpg","text":"TemporaryFile(/tmp/multipartBody4534830637360095776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163483243,"filename":"image_26112025_09_29_49_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/26/4f3a9c159aca431e9978f37d6413a89e.jpg","text":"TemporaryFile(/tmp/multipartBody5012147420233716237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163483243,"filename":"image_26112025_09_29_22_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/26/a958916f8651db6d73e7011d9d23aaee.jpg","text":"TemporaryFile(/tmp/multipartBody716282562604858663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163483243,"filename":"image_26112025_09_29_26_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/26/c0fb00b6081e35664f3f00e9dfc743b5.jpg","text":"TemporaryFile(/tmp/multipartBody7201704209536237990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163483243,"filename":"image_26112025_09_27_38_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/26/fd6ab65f7dde19e0ea61f96c0ff2b0b0.jpg","text":"TemporaryFile(/tmp/multipartBody1181627902333317020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163483243,"filename":"image_26112025_09_29_40_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/26/9fb4056c1f5033e7bea9d0aa34b238d0.jpg","text":"TemporaryFile(/tmp/multipartBody6244762035254589271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163483243,"filename":"image_26112025_09_27_41_2545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396255640","file1":"1396255638","file0":"1396255624","file4":"1396255644","file5":"1396255646","file3":"1396255642"},"map_files_photo_id_array":[{"photo_id":"1396255646","filename":"file5"},{"photo_id":"1396255640","filename":"file2"},{"photo_id":"1396255644","filename":"file4"},{"photo_id":"1396255638","filename":"file1"},{"photo_id":"1396255624","filename":"file0"},{"photo_id":"1396255642","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396255646":["hashtag1","hashtag2"]},{"1396255640":["hashtag1","hashtag2"]},{"1396255642":["hashtag1","hashtag2"]},{"1396255624":["hashtag1","hashtag2"]},{"1396255644":["hashtag1","hashtag2"]},{"1396255638":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396255646, 1396255640, 1396255642, 1396255624, 1396255644, 1396255638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32464337348938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:24:27.881397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/29/image_26112025_09_29_52_2670.jpg', '/home/pi/Desktop/images/26112025/09/29/image_26112025_09_29_55_3653.jpg', '/home/pi/Desktop/images/26112025/09/31/image_26112025_09_31_17_3750.jpg', '/home/pi/Desktop/images/26112025/09/31/image_26112025_09_31_20_2694.jpg', '/home/pi/Desktop/images/26112025/09/31/image_26112025_09_31_22_2670.jpg', '/home/pi/Desktop/images/26112025/09/31/image_26112025_09_31_25_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/29/image_26112025_09_29_52_2670.jpg
/home/pi/Desktop/images/26112025/09/29/image_26112025_09_29_55_3653.jpg
/home/pi/Desktop/images/26112025/09/31/image_26112025_09_31_17_3750.jpg
/home/pi/Desktop/images/26112025/09/31/image_26112025_09_31_20_2694.jpg
/home/pi/Desktop/images/26112025/09/31/image_26112025_09_31_22_2670.jpg
/home/pi/Desktop/images/26112025/09/31/image_26112025_09_31_25_2694.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":["1396255673","1396255676","1396255677","1396255662","1396255671","1396255659"],"photo_ids_order":["1396255659","1396255662","1396255671","1396255673","1396255676","1396255677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3f23efd057c933281a26f41b20af0953.jpg","text":"TemporaryFile(/tmp/multipartBody8194084248867520632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163528569,"filename":"image_26112025_09_31_20_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/26/b4a1052a02d0904b65c0c3c5298614dd.jpg","text":"TemporaryFile(/tmp/multipartBody685103412069867054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163528569,"filename":"image_26112025_09_31_22_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3ed8d5e65def8c7dd7e3b0eb533253c7.jpg","text":"TemporaryFile(/tmp/multipartBody2400563855506523546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163528569,"filename":"image_26112025_09_31_25_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/26/1feda3bf2a3838571c1460b40aeea742.jpg","text":"TemporaryFile(/tmp/multipartBody7813414899554826896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163528569,"filename":"image_26112025_09_29_55_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/26/c597028e4568311a932709e6d6edd295.jpg","text":"TemporaryFile(/tmp/multipartBody6524969923032205319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163528569,"filename":"image_26112025_09_31_17_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/26/cc1fc85b202a30257cf7362f2c044353.jpg","text":"TemporaryFile(/tmp/multipartBody8199184831286281715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163528569,"filename":"image_26112025_09_29_52_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396255671","file1":"1396255662","file0":"1396255659","file4":"1396255676","file5":"1396255677","file3":"1396255673"},"map_files_photo_id_array":[{"photo_id":"1396255677","filename":"file5"},{"photo_id":"1396255671","filename":"file2"},{"photo_id":"1396255676","filename":"file4"},{"photo_id":"1396255662","filename":"file1"},{"photo_id":"1396255659","filename":"file0"},{"photo_id":"1396255673","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396255673":["hashtag1","hashtag2"]},{"1396255676":["hashtag1","hashtag2"]},{"1396255677":["hashtag1","hashtag2"]},{"1396255662":["hashtag1","hashtag2"]},{"1396255671":["hashtag1","hashtag2"]},{"1396255659":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396255673, 1396255676, 1396255677, 1396255662, 1396255671, 1396255659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15673065185547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:25:12.201375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/31/image_26112025_09_31_31_2753.jpg', '/home/pi/Desktop/images/26112025/09/31/image_26112025_09_31_44_3684.jpg', '/home/pi/Desktop/images/26112025/09/31/image_26112025_09_31_49_2659.jpg', '/home/pi/Desktop/images/26112025/09/31/image_26112025_09_31_52_2817.jpg', '/home/pi/Desktop/images/26112025/09/31/image_26112025_09_31_56_3708.jpg', '/home/pi/Desktop/images/26112025/09/31/image_26112025_09_31_58_2530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/31/image_26112025_09_31_31_2753.jpg
/home/pi/Desktop/images/26112025/09/31/image_26112025_09_31_44_3684.jpg
/home/pi/Desktop/images/26112025/09/31/image_26112025_09_31_49_2659.jpg
/home/pi/Desktop/images/26112025/09/31/image_26112025_09_31_52_2817.jpg
/home/pi/Desktop/images/26112025/09/31/image_26112025_09_31_56_3708.jpg
/home/pi/Desktop/images/26112025/09/31/image_26112025_09_31_58_2530.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":["1396255685","1396255709","1396255712","1396255680","1396255697","1396255682"],"photo_ids_order":["1396255680","1396255682","1396255685","1396255697","1396255709","1396255712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/12be5f39a846826897576941965ed46e.jpg","text":"TemporaryFile(/tmp/multipartBody1858480303698796469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163572889,"filename":"image_26112025_09_31_49_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/26/ce6b0b3f4dbf8582c4fe9006c61bf77b.jpg","text":"TemporaryFile(/tmp/multipartBody5520041559206858380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163572889,"filename":"image_26112025_09_31_56_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/26/d3b19ccb58de4c33312d0c9d8d554a41.jpg","text":"TemporaryFile(/tmp/multipartBody3427702509176109788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163572889,"filename":"image_26112025_09_31_58_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/26/e675a675442fdd55820793fbe03d3e42.jpg","text":"TemporaryFile(/tmp/multipartBody7908337656520617466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163572889,"filename":"image_26112025_09_31_31_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/26/8bb50dc61e8c11be73184025b0b2a0bc.jpg","text":"TemporaryFile(/tmp/multipartBody6165515709252984941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163572889,"filename":"image_26112025_09_31_52_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/26/9681ee24f29d9f79ba5d3f9ddb9fe31b.jpg","text":"TemporaryFile(/tmp/multipartBody6630659747540854016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163572889,"filename":"image_26112025_09_31_44_3684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396255685","file1":"1396255682","file0":"1396255680","file4":"1396255709","file5":"1396255712","file3":"1396255697"},"map_files_photo_id_array":[{"photo_id":"1396255712","filename":"file5"},{"photo_id":"1396255685","filename":"file2"},{"photo_id":"1396255709","filename":"file4"},{"photo_id":"1396255682","filename":"file1"},{"photo_id":"1396255680","filename":"file0"},{"photo_id":"1396255697","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396255685":["hashtag1","hashtag2"]},{"1396255709":["hashtag1","hashtag2"]},{"1396255712":["hashtag1","hashtag2"]},{"1396255680":["hashtag1","hashtag2"]},{"1396255697":["hashtag1","hashtag2"]},{"1396255682":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396255685, 1396255709, 1396255712, 1396255680, 1396255697, 1396255682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.231425762176514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:26:03.064682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_01_2788.jpg', '/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_05_3733.jpg', '/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_07_2778.jpg', '/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_10_2668.jpg', '/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_16_2756.jpg', '/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_23_3634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_01_2788.jpg
/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_05_3733.jpg
/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_07_2778.jpg
/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_10_2668.jpg
/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_16_2756.jpg
/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_23_3634.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":["1396255724","1396255726","1396255720","1396255723","1396255719","1396255728"],"photo_ids_order":["1396255719","1396255720","1396255723","1396255724","1396255726","1396255728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/82b9869d6244106d25951710e82bb805.jpg","text":"TemporaryFile(/tmp/multipartBody4566482506859822363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163623798,"filename":"image_26112025_09_32_10_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/26/de555dd2ee5f517b7168784a23ae24e4.jpg","text":"TemporaryFile(/tmp/multipartBody6663249615507189770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163623798,"filename":"image_26112025_09_32_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/26/90f00ad10a2e8b9694fac2cbb6762aec.jpg","text":"TemporaryFile(/tmp/multipartBody5776902650655516584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163623798,"filename":"image_26112025_09_32_05_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/26/00e73227c47232ff93a2fd3f41286a4b.jpg","text":"TemporaryFile(/tmp/multipartBody4050294343969669447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163623798,"filename":"image_26112025_09_32_07_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/26/55818c47641faae0d952227360aa2c83.jpg","text":"TemporaryFile(/tmp/multipartBody6582529494403245583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163623798,"filename":"image_26112025_09_32_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/26/db2f300cf493d097d54c929093ef0888.jpg","text":"TemporaryFile(/tmp/multipartBody6865257177255322052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163623798,"filename":"image_26112025_09_32_23_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396255723","file1":"1396255720","file0":"1396255719","file4":"1396255726","file5":"1396255728","file3":"1396255724"},"map_files_photo_id_array":[{"photo_id":"1396255728","filename":"file5"},{"photo_id":"1396255723","filename":"file2"},{"photo_id":"1396255726","filename":"file4"},{"photo_id":"1396255720","filename":"file1"},{"photo_id":"1396255719","filename":"file0"},{"photo_id":"1396255724","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396255724":["hashtag1","hashtag2"]},{"1396255726":["hashtag1","hashtag2"]},{"1396255720":["hashtag1","hashtag2"]},{"1396255723":["hashtag1","hashtag2"]},{"1396255719":["hashtag1","hashtag2"]},{"1396255728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396255724, 1396255726, 1396255720, 1396255723, 1396255719, 1396255728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67905616760254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 14:26:42.509682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_25_2607.jpg', '/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_28_2877.jpg', '/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_32_3554.jpg', '/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_34_2502.jpg', '/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_37_2672.jpg', '/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_41_3785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_25_2607.jpg
/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_28_2877.jpg
/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_32_3554.jpg
/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_34_2502.jpg
/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_37_2672.jpg
/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_41_3785.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":["1396255751","1396255757","1396255736","1396255753","1396255741","1396255755"],"photo_ids_order":["1396255736","1396255741","1396255751","1396255753","1396255755","1396255757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d106b6ec4a001b57b293a44551889b6c.jpg","text":"TemporaryFile(/tmp/multipartBody2557239065570441707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163663451,"filename":"image_26112025_09_32_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/26/65a8f9b4036b4b9724ae31b5fdbc64ef.jpg","text":"TemporaryFile(/tmp/multipartBody543904192958948525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163663451,"filename":"image_26112025_09_32_41_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/26/d4849e30d49f0438af9f860b17b183a4.jpg","text":"TemporaryFile(/tmp/multipartBody3314525292101231322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163663451,"filename":"image_26112025_09_32_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/26/6280935406434a03407e08679ac6d7dd.jpg","text":"TemporaryFile(/tmp/multipartBody8048744924603004387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163663451,"filename":"image_26112025_09_32_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/26/7f754c2748d323b1a048842943288d4a.jpg","text":"TemporaryFile(/tmp/multipartBody4155995654973378683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163663451,"filename":"image_26112025_09_32_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/26/1acdc408879a7f8b74417bb47eb70586.jpg","text":"TemporaryFile(/tmp/multipartBody6476144677404555475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163663451,"filename":"image_26112025_09_32_37_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396255751","file1":"1396255741","file0":"1396255736","file4":"1396255755","file5":"1396255757","file3":"1396255753"},"map_files_photo_id_array":[{"photo_id":"1396255757","filename":"file5"},{"photo_id":"1396255751","filename":"file2"},{"photo_id":"1396255755","filename":"file4"},{"photo_id":"1396255741","filename":"file1"},{"photo_id":"1396255736","filename":"file0"},{"photo_id":"1396255753","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396255751":["hashtag1","hashtag2"]},{"1396255757":["hashtag1","hashtag2"]},{"1396255736":["hashtag1","hashtag2"]},{"1396255753":["hashtag1","hashtag2"]},{"1396255741":["hashtag1","hashtag2"]},{"1396255755":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396255751, 1396255757, 1396255736, 1396255753, 1396255741, 1396255755)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.56952524185181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:27:36.298581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_43_2499.jpg', '/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_52_2621.jpg', '/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_55_2683.jpg', '/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_58_3663.jpg', '/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_01_2766.jpg', '/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_04_2731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_43_2499.jpg
/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_52_2621.jpg
/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_55_2683.jpg
/home/pi/Desktop/images/26112025/09/32/image_26112025_09_32_58_3663.jpg
/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_01_2766.jpg
/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_04_2731.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":["1396255772","1396255766","1396255775","1396255769","1396255774","1396255776"],"photo_ids_order":["1396255766","1396255769","1396255772","1396255774","1396255775","1396255776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/43c74d11bb06639ad6e616445d463cc3.jpg","text":"TemporaryFile(/tmp/multipartBody2175408647193582026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163716981,"filename":"image_26112025_09_32_55_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/26/98f525f8335295e956ade0a2a4c278b4.jpg","text":"TemporaryFile(/tmp/multipartBody8421570285760475610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163716981,"filename":"image_26112025_09_32_43_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/26/262526c438c9a8e6ecf52228b97ab73c.jpg","text":"TemporaryFile(/tmp/multipartBody9049187879423620935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163716981,"filename":"image_26112025_09_33_01_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/26/7de626e29db261dc9fae959a37808459.jpg","text":"TemporaryFile(/tmp/multipartBody8296781093732171880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163716981,"filename":"image_26112025_09_32_52_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/26/9ad66fb5adc5034b4f36ffcf27c44936.jpg","text":"TemporaryFile(/tmp/multipartBody2172456804737179347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163716981,"filename":"image_26112025_09_32_58_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/26/6916de468e6e95c3e86204808fa85487.jpg","text":"TemporaryFile(/tmp/multipartBody7754709862590277137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163716981,"filename":"image_26112025_09_33_04_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396255772","file1":"1396255769","file0":"1396255766","file4":"1396255775","file5":"1396255776","file3":"1396255774"},"map_files_photo_id_array":[{"photo_id":"1396255776","filename":"file5"},{"photo_id":"1396255772","filename":"file2"},{"photo_id":"1396255775","filename":"file4"},{"photo_id":"1396255769","filename":"file1"},{"photo_id":"1396255766","filename":"file0"},{"photo_id":"1396255774","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396255772":["hashtag1","hashtag2"]},{"1396255766":["hashtag1","hashtag2"]},{"1396255775":["hashtag1","hashtag2"]},{"1396255769":["hashtag1","hashtag2"]},{"1396255774":["hashtag1","hashtag2"]},{"1396255776":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396255772, 1396255766, 1396255775, 1396255769, 1396255774, 1396255776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91193175315857 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:28:14.181971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_08_3715.jpg', '/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_10_2579.jpg', '/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_13_2632.jpg', '/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_17_3659.jpg', '/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_19_2644.jpg', '/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_22_2833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_08_3715.jpg
/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_10_2579.jpg
/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_13_2632.jpg
/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_17_3659.jpg
/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_19_2644.jpg
/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_22_2833.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":["1396255799","1396255778","1396255793","1396255786","1396255779","1396255782"],"photo_ids_order":["1396255778","1396255779","1396255782","1396255786","1396255793","1396255799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/10b8a272816666744e40802839c7c6b3.jpg","text":"TemporaryFile(/tmp/multipartBody1984547456003618522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163754931,"filename":"image_26112025_09_33_22_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/26/2c4d4f0ba3cfd67a7f0001ef6d1e9a7c.jpg","text":"TemporaryFile(/tmp/multipartBody2181108545330631993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163754931,"filename":"image_26112025_09_33_08_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/26/61d1f7ad864565ade8736191b0edaae8.jpg","text":"TemporaryFile(/tmp/multipartBody6907983498568651022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163754931,"filename":"image_26112025_09_33_19_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/26/c1e2ccef8b3b6556c4e5cce7108e6917.jpg","text":"TemporaryFile(/tmp/multipartBody6485279919717884710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163754931,"filename":"image_26112025_09_33_17_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4057f895e20b3bb412cb64bc5c88b417.jpg","text":"TemporaryFile(/tmp/multipartBody7760406138483746388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163754931,"filename":"image_26112025_09_33_10_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/26/c2917980a9f2b54486e0f93f5a1a916f.jpg","text":"TemporaryFile(/tmp/multipartBody1873543372252617618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163754931,"filename":"image_26112025_09_33_13_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396255782","file1":"1396255779","file0":"1396255778","file4":"1396255793","file5":"1396255799","file3":"1396255786"},"map_files_photo_id_array":[{"photo_id":"1396255799","filename":"file5"},{"photo_id":"1396255782","filename":"file2"},{"photo_id":"1396255793","filename":"file4"},{"photo_id":"1396255779","filename":"file1"},{"photo_id":"1396255778","filename":"file0"},{"photo_id":"1396255786","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396255799":["hashtag1","hashtag2"]},{"1396255778":["hashtag1","hashtag2"]},{"1396255793":["hashtag1","hashtag2"]},{"1396255786":["hashtag1","hashtag2"]},{"1396255779":["hashtag1","hashtag2"]},{"1396255782":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396255799, 1396255778, 1396255793, 1396255786, 1396255779, 1396255782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14232110977173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:29:03.380412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_25_2694.jpg', '/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_28_3744.jpg', '/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_31_2681.jpg', '/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_34_2793.jpg', '/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_37_2891.jpg', '/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_40_2853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_25_2694.jpg
/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_28_3744.jpg
/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_31_2681.jpg
/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_34_2793.jpg
/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_37_2891.jpg
/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_40_2853.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":["1396255865","1396255868","1396255873","1396255870","1396255864","1396255866"],"photo_ids_order":["1396255864","1396255865","1396255866","1396255868","1396255870","1396255873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f06247ac863a67fa5e8c6a39dc39e317.jpg","text":"TemporaryFile(/tmp/multipartBody761828240609904036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163804300,"filename":"image_26112025_09_33_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/26/b689bbe2855a305e293bb13ec5bd8c9a.jpg","text":"TemporaryFile(/tmp/multipartBody2317146765403624323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163804300,"filename":"image_26112025_09_33_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/26/a4899067ab676b945d43d8baf1b09198.jpg","text":"TemporaryFile(/tmp/multipartBody207651917149293500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163804300,"filename":"image_26112025_09_33_40_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/26/688cbb6ef6c637a934b8da09af065cb9.jpg","text":"TemporaryFile(/tmp/multipartBody2825372008469574207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163804300,"filename":"image_26112025_09_33_37_2891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/298947dfa1392aee55920f9279e854d2.jpg","text":"TemporaryFile(/tmp/multipartBody8617869007561208708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163804300,"filename":"image_26112025_09_33_25_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/26/4a7451f2a104d3acc379bd68b88801cf.jpg","text":"TemporaryFile(/tmp/multipartBody290839133761490220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163804300,"filename":"image_26112025_09_33_31_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396255866","file1":"1396255865","file0":"1396255864","file4":"1396255870","file5":"1396255873","file3":"1396255868"},"map_files_photo_id_array":[{"photo_id":"1396255873","filename":"file5"},{"photo_id":"1396255866","filename":"file2"},{"photo_id":"1396255870","filename":"file4"},{"photo_id":"1396255865","filename":"file1"},{"photo_id":"1396255864","filename":"file0"},{"photo_id":"1396255868","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396255865":["hashtag1","hashtag2"]},{"1396255868":["hashtag1","hashtag2"]},{"1396255873":["hashtag1","hashtag2"]},{"1396255870":["hashtag1","hashtag2"]},{"1396255864":["hashtag1","hashtag2"]},{"1396255866":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396255865, 1396255868, 1396255873, 1396255870, 1396255864, 1396255866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47014856338501 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 14:29:42.301980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_43_3556.jpg', '/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_46_2696.jpg', '/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_49_2697.jpg', '/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_52_3775.jpg', '/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_55_2528.jpg', '/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_58_2798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_43_3556.jpg
/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_46_2696.jpg
/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_49_2697.jpg
/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_52_3775.jpg
/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_55_2528.jpg
/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_58_2798.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":["1396255886","1396255894","1396255897","1396255896","1396255895","1396255880"],"photo_ids_order":["1396255880","1396255886","1396255894","1396255895","1396255896","1396255897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/43667798541bc5b922be3937b349c03a.jpg","text":"TemporaryFile(/tmp/multipartBody8560237479863000876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163842985,"filename":"image_26112025_09_33_46_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/89721c232f6f4710290cf0f2f02fa573.jpg","text":"TemporaryFile(/tmp/multipartBody5050124114319938717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163842985,"filename":"image_26112025_09_33_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/26/0821244aa4e12cecc8a9947e288041f3.jpg","text":"TemporaryFile(/tmp/multipartBody1759368450209619935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163842985,"filename":"image_26112025_09_33_58_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/26/208fbe64dd176e7e19b8e148208602a8.jpg","text":"TemporaryFile(/tmp/multipartBody5617032425406793696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163842985,"filename":"image_26112025_09_33_55_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/26/4d1a9ac1a5c9b7bde15de14d58d741e4.jpg","text":"TemporaryFile(/tmp/multipartBody4561045011839027347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163842985,"filename":"image_26112025_09_33_52_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/26/2e8fa68eaa1a3d3851bd2149546bdc40.jpg","text":"TemporaryFile(/tmp/multipartBody7014972463098078014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163842985,"filename":"image_26112025_09_33_43_3556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396255894","file1":"1396255886","file0":"1396255880","file4":"1396255896","file5":"1396255897","file3":"1396255895"},"map_files_photo_id_array":[{"photo_id":"1396255897","filename":"file5"},{"photo_id":"1396255894","filename":"file2"},{"photo_id":"1396255896","filename":"file4"},{"photo_id":"1396255886","filename":"file1"},{"photo_id":"1396255880","filename":"file0"},{"photo_id":"1396255895","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396255886":["hashtag1","hashtag2"]},{"1396255894":["hashtag1","hashtag2"]},{"1396255897":["hashtag1","hashtag2"]},{"1396255896":["hashtag1","hashtag2"]},{"1396255895":["hashtag1","hashtag2"]},{"1396255880":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396255886, 1396255894, 1396255897, 1396255896, 1396255895, 1396255880)","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 = 1396255894 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26112025/09/33/image_26112025_09_33_49_2697.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 57.714176654815674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 14:30:42.543966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/33/image_26112025_09_34_01_3536.jpg', '/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_04_2636.jpg', '/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_07_2794.jpg', '/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_10_3642.jpg', '/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_16_2742.jpg', '/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_19_3543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/33/image_26112025_09_34_01_3536.jpg
/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_04_2636.jpg
/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_07_2794.jpg
/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_10_3642.jpg
/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_16_2742.jpg
/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_19_3543.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":["1396255922","1396255924","1396255918","1396255920","1396255923","1396255926"],"photo_ids_order":["1396255918","1396255920","1396255922","1396255923","1396255924","1396255926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9edf7557ad332e6dc389525556f4cfa7.jpg","text":"TemporaryFile(/tmp/multipartBody2241568543922601864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163903297,"filename":"image_26112025_09_34_07_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/26/44d098e63bf236f2dc267f0e93c03a7b.jpg","text":"TemporaryFile(/tmp/multipartBody5282290029071587564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163903297,"filename":"image_26112025_09_34_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/26/24b51396b469247d48a5ac566723e140.jpg","text":"TemporaryFile(/tmp/multipartBody3520720746886279227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163903297,"filename":"image_26112025_09_34_01_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/26/84fda4e55992d41a59842707fe4edae7.jpg","text":"TemporaryFile(/tmp/multipartBody7253709368259870365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163903297,"filename":"image_26112025_09_34_04_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/26/ec7cce82eee3a13a70adc2f0e02f4546.jpg","text":"TemporaryFile(/tmp/multipartBody5485210440152596558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163903297,"filename":"image_26112025_09_34_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/26/60fc3a5a06ec97858fedbb2afd93de52.jpg","text":"TemporaryFile(/tmp/multipartBody6120784779499479983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163903297,"filename":"image_26112025_09_34_19_3543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396255922","file1":"1396255920","file0":"1396255918","file4":"1396255924","file5":"1396255926","file3":"1396255923"},"map_files_photo_id_array":[{"photo_id":"1396255926","filename":"file5"},{"photo_id":"1396255922","filename":"file2"},{"photo_id":"1396255924","filename":"file4"},{"photo_id":"1396255920","filename":"file1"},{"photo_id":"1396255918","filename":"file0"},{"photo_id":"1396255923","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396255922":["hashtag1","hashtag2"]},{"1396255924":["hashtag1","hashtag2"]},{"1396255918":["hashtag1","hashtag2"]},{"1396255920":["hashtag1","hashtag2"]},{"1396255923":["hashtag1","hashtag2"]},{"1396255926":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396255922, 1396255924, 1396255918, 1396255920, 1396255923, 1396255926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01357960700989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:31:22.792379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_25_5096.jpg', '/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_26_1672.jpg', '/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_28_1549.jpg', '/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_31_3622.jpg', '/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_34_2854.jpg', '/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_37_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_25_5096.jpg
/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_26_1672.jpg
/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_28_1549.jpg
/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_31_3622.jpg
/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_34_2854.jpg
/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_37_2686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396255934","1396255942","1396255939","1396255932","1396255944","1396255938"],"photo_ids_order":["1396255932","1396255934","1396255938","1396255939","1396255942","1396255944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cf33b6398a67ea7bf9427075aa6eb765.jpg","text":"TemporaryFile(/tmp/multipartBody859009439501601120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163943499,"filename":"image_26112025_09_34_26_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/26/3a704674e4a82b45c5d94ed4a472b8d8.jpg","text":"TemporaryFile(/tmp/multipartBody8227224879295151989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163943499,"filename":"image_26112025_09_34_34_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/26/a59e3ac4be91a005ade623c7d58a11b6.jpg","text":"TemporaryFile(/tmp/multipartBody1690862801510816891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163943499,"filename":"image_26112025_09_34_31_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/26/760686cd7344cd55a11e37e9cf7264f6.jpg","text":"TemporaryFile(/tmp/multipartBody5755118321546655423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163943499,"filename":"image_26112025_09_34_25_5096.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9c03adeaa694cd96d844d1166e542f45.jpg","text":"TemporaryFile(/tmp/multipartBody6160837457908324856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163943499,"filename":"image_26112025_09_34_37_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/26/970b491721dbc821abfbe6f9b152fd67.jpg","text":"TemporaryFile(/tmp/multipartBody698380597978272105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163943499,"filename":"image_26112025_09_34_28_1549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396255938","file1":"1396255934","file0":"1396255932","file4":"1396255942","file5":"1396255944","file3":"1396255939"},"map_files_photo_id_array":[{"photo_id":"1396255944","filename":"file5"},{"photo_id":"1396255938","filename":"file2"},{"photo_id":"1396255942","filename":"file4"},{"photo_id":"1396255934","filename":"file1"},{"photo_id":"1396255932","filename":"file0"},{"photo_id":"1396255939","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396255934":["hashtag1","hashtag2"]},{"1396255942":["hashtag1","hashtag2"]},{"1396255939":["hashtag1","hashtag2"]},{"1396255932":["hashtag1","hashtag2"]},{"1396255944":["hashtag1","hashtag2"]},{"1396255938":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396255934, 1396255942, 1396255939, 1396255932, 1396255944, 1396255938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07224416732788 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:32:02.492243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_40_2670.jpg', '/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_43_3667.jpg', '/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_46_2582.jpg', '/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_49_2828.jpg', '/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_52_3616.jpg', '/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_55_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_40_2670.jpg
/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_43_3667.jpg
/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_46_2582.jpg
/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_49_2828.jpg
/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_52_3616.jpg
/home/pi/Desktop/images/26112025/09/34/image_26112025_09_34_55_2725.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":["1396255958","1396255952","1396255946","1396255955","1396255948","1396255950"],"photo_ids_order":["1396255946","1396255948","1396255950","1396255952","1396255955","1396255958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/727acaa1d4fc1d016ac4258e61ad49f1.jpg","text":"TemporaryFile(/tmp/multipartBody1998415503515718561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163983248,"filename":"image_26112025_09_34_55_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/556c95cfa36214bbbe33728837ee089b.jpg","text":"TemporaryFile(/tmp/multipartBody7305002595892656736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163983248,"filename":"image_26112025_09_34_49_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/26/4f623fe951d50dfd2b6608c03e290739.jpg","text":"TemporaryFile(/tmp/multipartBody6690707070309398614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163983248,"filename":"image_26112025_09_34_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/26/90364741bf0eed00ba28925b21544044.jpg","text":"TemporaryFile(/tmp/multipartBody4433798993192050468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163983248,"filename":"image_26112025_09_34_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/26/88f068630ad4987129306f7b78172f4b.jpg","text":"TemporaryFile(/tmp/multipartBody4320041968320371640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163983248,"filename":"image_26112025_09_34_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/26/94c10d85a2f2bc7fe2d3ac02b2511b4e.jpg","text":"TemporaryFile(/tmp/multipartBody3751528285562170159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764163983248,"filename":"image_26112025_09_34_46_2582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396255950","file1":"1396255948","file0":"1396255946","file4":"1396255955","file5":"1396255958","file3":"1396255952"},"map_files_photo_id_array":[{"photo_id":"1396255958","filename":"file5"},{"photo_id":"1396255950","filename":"file2"},{"photo_id":"1396255955","filename":"file4"},{"photo_id":"1396255948","filename":"file1"},{"photo_id":"1396255946","filename":"file0"},{"photo_id":"1396255952","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396255958":["hashtag1","hashtag2"]},{"1396255952":["hashtag1","hashtag2"]},{"1396255946":["hashtag1","hashtag2"]},{"1396255955":["hashtag1","hashtag2"]},{"1396255948":["hashtag1","hashtag2"]},{"1396255950":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396255958, 1396255952, 1396255946, 1396255955, 1396255948, 1396255950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.223334550857544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 14:32:41.984770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_07_3012.jpg', '/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_11_3662.jpg', '/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_13_2697.jpg', '/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_31_17757.jpg', '/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_33_1526.jpg', '/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_34_1606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_07_3012.jpg
/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_11_3662.jpg
/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_13_2697.jpg
/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_31_17757.jpg
/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_33_1526.jpg
/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_34_1606.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":["1396255982","1396255970","1396255981","1396255984","1396255983","1396255980"],"photo_ids_order":["1396255970","1396255980","1396255981","1396255982","1396255983","1396255984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2422d87f5bdca60edd5ef054cc367815.jpg","text":"TemporaryFile(/tmp/multipartBody3880563840577770867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164022707,"filename":"image_26112025_09_37_31_17757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3020cfcb8b651e04fa85575ab0fd5c1a.jpg","text":"TemporaryFile(/tmp/multipartBody6643322717010441615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164022707,"filename":"image_26112025_09_37_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/26/c9420fc2f63aac458452056fb4021fcf.jpg","text":"TemporaryFile(/tmp/multipartBody469570721115705559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164022707,"filename":"image_26112025_09_37_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/26/7298a9dc1772f49c2bc980fb5da78f1c.jpg","text":"TemporaryFile(/tmp/multipartBody6621407267748297655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164022707,"filename":"image_26112025_09_37_34_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9719e83e297f8399106c8742ccc9bbd1.jpg","text":"TemporaryFile(/tmp/multipartBody8831212528134516632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164022707,"filename":"image_26112025_09_37_33_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/26/caed299583c4ecb889d0f91da6d32aae.jpg","text":"TemporaryFile(/tmp/multipartBody7885566743239802545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164022707,"filename":"image_26112025_09_37_11_3662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396255981","file1":"1396255980","file0":"1396255970","file4":"1396255983","file5":"1396255984","file3":"1396255982"},"map_files_photo_id_array":[{"photo_id":"1396255984","filename":"file5"},{"photo_id":"1396255981","filename":"file2"},{"photo_id":"1396255983","filename":"file4"},{"photo_id":"1396255980","filename":"file1"},{"photo_id":"1396255970","filename":"file0"},{"photo_id":"1396255982","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396255982":["hashtag1","hashtag2"]},{"1396255970":["hashtag1","hashtag2"]},{"1396255981":["hashtag1","hashtag2"]},{"1396255984":["hashtag1","hashtag2"]},{"1396255983":["hashtag1","hashtag2"]},{"1396255980":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396255982, 1396255970, 1396255981, 1396255984, 1396255983, 1396255980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.75047945976257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:33:22.137683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_36_1653.jpg', '/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_37_1598.jpg', '/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_39_1617.jpg', '/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_42_1542.jpg', '/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_46_3772.jpg', '/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_48_1723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_36_1653.jpg
/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_37_1598.jpg
/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_39_1617.jpg
/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_42_1542.jpg
/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_46_3772.jpg
/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_48_1723.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":["1396256006","1396256003","1396255995","1396255998","1396255992","1396256001"],"photo_ids_order":["1396255992","1396255995","1396255998","1396256001","1396256003","1396256006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/771122b76a93db697041002a32d26e7d.jpg","text":"TemporaryFile(/tmp/multipartBody4079411918622991586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164062829,"filename":"image_26112025_09_37_48_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2102165d9f03d64d45bb41ac96f82ff4.jpg","text":"TemporaryFile(/tmp/multipartBody482239429532681439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164062829,"filename":"image_26112025_09_37_46_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/26/9375a2aaa86e52666a62a6e67eed2298.jpg","text":"TemporaryFile(/tmp/multipartBody3584322770017108678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164062829,"filename":"image_26112025_09_37_37_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ce1955a2f06310253f949b247d40ceba.jpg","text":"TemporaryFile(/tmp/multipartBody2158822845117110682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164062829,"filename":"image_26112025_09_37_39_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/26/54f7ee5cf866205571f9c22c15094c09.jpg","text":"TemporaryFile(/tmp/multipartBody745955374353725068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164062829,"filename":"image_26112025_09_37_36_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/26/e1c656c4c98e4e7d4011d88bf81bcfa6.jpg","text":"TemporaryFile(/tmp/multipartBody1910647969934826139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164062829,"filename":"image_26112025_09_37_42_1542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396255998","file1":"1396255995","file0":"1396255992","file4":"1396256003","file5":"1396256006","file3":"1396256001"},"map_files_photo_id_array":[{"photo_id":"1396256006","filename":"file5"},{"photo_id":"1396255998","filename":"file2"},{"photo_id":"1396256003","filename":"file4"},{"photo_id":"1396255995","filename":"file1"},{"photo_id":"1396255992","filename":"file0"},{"photo_id":"1396256001","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396256006":["hashtag1","hashtag2"]},{"1396256003":["hashtag1","hashtag2"]},{"1396255995":["hashtag1","hashtag2"]},{"1396255998":["hashtag1","hashtag2"]},{"1396255992":["hashtag1","hashtag2"]},{"1396256001":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396256006, 1396256003, 1396255995, 1396255998, 1396255992, 1396256001)","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: 53.23176836967468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:34:27.009381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_49_1714.jpg', '/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_51_1572.jpg', '/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_53_1896.jpg', '/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_56_2757.jpg', '/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_58_2591.jpg', '/home/pi/Desktop/images/26112025/09/38/image_26112025_09_38_01_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_49_1714.jpg
/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_51_1572.jpg
/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_53_1896.jpg
/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_56_2757.jpg
/home/pi/Desktop/images/26112025/09/37/image_26112025_09_37_58_2591.jpg
/home/pi/Desktop/images/26112025/09/38/image_26112025_09_38_01_2749.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":["1396256030","1396256024","1396256027","1396256018","1396256022","1396256031"],"photo_ids_order":["1396256018","1396256022","1396256024","1396256027","1396256030","1396256031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1b18e5830f2453f4a14fb2f8fc2f6cb7.jpg","text":"TemporaryFile(/tmp/multipartBody6603550518341929982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164127694,"filename":"image_26112025_09_37_58_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/26/16439f69d5c3824d0e92e0f821fbe6e5.jpg","text":"TemporaryFile(/tmp/multipartBody7277676248275755971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164127694,"filename":"image_26112025_09_37_53_1896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6656754fe6f641baf150afc83aa8d1e7.jpg","text":"TemporaryFile(/tmp/multipartBody5574311041507200561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164127694,"filename":"image_26112025_09_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/26/94a639b95184375b42c03592f0ee3cdd.jpg","text":"TemporaryFile(/tmp/multipartBody2280951567225866867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164127694,"filename":"image_26112025_09_37_49_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/26/ab68dc4105ba4295a6def4cec6645cbe.jpg","text":"TemporaryFile(/tmp/multipartBody2101590872287057378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164127694,"filename":"image_26112025_09_37_51_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/26/d4604b91d0893997bc591bafc4917c6a.jpg","text":"TemporaryFile(/tmp/multipartBody1906471223135363276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164127694,"filename":"image_26112025_09_38_01_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396256024","file1":"1396256022","file0":"1396256018","file4":"1396256030","file5":"1396256031","file3":"1396256027"},"map_files_photo_id_array":[{"photo_id":"1396256031","filename":"file5"},{"photo_id":"1396256024","filename":"file2"},{"photo_id":"1396256030","filename":"file4"},{"photo_id":"1396256022","filename":"file1"},{"photo_id":"1396256018","filename":"file0"},{"photo_id":"1396256027","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396256030":["hashtag1","hashtag2"]},{"1396256024":["hashtag1","hashtag2"]},{"1396256027":["hashtag1","hashtag2"]},{"1396256018":["hashtag1","hashtag2"]},{"1396256022":["hashtag1","hashtag2"]},{"1396256031":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396256030, 1396256024, 1396256027, 1396256018, 1396256022, 1396256031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4517719745636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:35:12.598738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/38/image_26112025_09_38_05_3610.jpg', '/home/pi/Desktop/images/26112025/09/38/image_26112025_09_38_07_2603.jpg', '/home/pi/Desktop/images/26112025/09/38/image_26112025_09_38_10_2763.jpg', '/home/pi/Desktop/images/26112025/09/38/image_26112025_09_38_13_3174.jpg', '/home/pi/Desktop/images/26112025/09/39/image_26112025_09_39_07_3011.jpg', '/home/pi/Desktop/images/26112025/09/39/image_26112025_09_39_10_3580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/38/image_26112025_09_38_05_3610.jpg
/home/pi/Desktop/images/26112025/09/38/image_26112025_09_38_07_2603.jpg
/home/pi/Desktop/images/26112025/09/38/image_26112025_09_38_10_2763.jpg
/home/pi/Desktop/images/26112025/09/38/image_26112025_09_38_13_3174.jpg
/home/pi/Desktop/images/26112025/09/39/image_26112025_09_39_07_3011.jpg
/home/pi/Desktop/images/26112025/09/39/image_26112025_09_39_10_3580.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":["1396256045","1396256041","1396256038","1396256052","1396256049","1396256034"],"photo_ids_order":["1396256034","1396256038","1396256041","1396256045","1396256049","1396256052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3494153a39331bb8e3df39fb8e45e58f.jpg","text":"TemporaryFile(/tmp/multipartBody3970184645895224849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164173417,"filename":"image_26112025_09_38_13_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/26/a782adc13ed55b5b5b04220f72cd1e28.jpg","text":"TemporaryFile(/tmp/multipartBody4559299586724235479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164173417,"filename":"image_26112025_09_38_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/26/cdaff1dd013415bcde4f503de13aac0c.jpg","text":"TemporaryFile(/tmp/multipartBody8983458199009819508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164173417,"filename":"image_26112025_09_38_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/26/d6355e014af9a34146f83c305bc8cee8.jpg","text":"TemporaryFile(/tmp/multipartBody2867705602503572317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164173417,"filename":"image_26112025_09_39_10_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/26/fe18b956e24049d3283a458edeaa8b03.jpg","text":"TemporaryFile(/tmp/multipartBody4787934248385518611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164173417,"filename":"image_26112025_09_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/26/103bdd986d49e8d72275423046d8947a.jpg","text":"TemporaryFile(/tmp/multipartBody6461544091804647554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164173417,"filename":"image_26112025_09_38_05_3610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396256041","file1":"1396256038","file0":"1396256034","file4":"1396256049","file5":"1396256052","file3":"1396256045"},"map_files_photo_id_array":[{"photo_id":"1396256052","filename":"file5"},{"photo_id":"1396256041","filename":"file2"},{"photo_id":"1396256049","filename":"file4"},{"photo_id":"1396256038","filename":"file1"},{"photo_id":"1396256034","filename":"file0"},{"photo_id":"1396256045","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396256045":["hashtag1","hashtag2"]},{"1396256041":["hashtag1","hashtag2"]},{"1396256038":["hashtag1","hashtag2"]},{"1396256052":["hashtag1","hashtag2"]},{"1396256049":["hashtag1","hashtag2"]},{"1396256034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396256045, 1396256041, 1396256038, 1396256052, 1396256049, 1396256034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34779977798462 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:36:10.323263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/39/image_26112025_09_39_13_2748.jpg', '/home/pi/Desktop/images/26112025/09/39/image_26112025_09_39_16_2709.jpg', '/home/pi/Desktop/images/26112025/09/39/image_26112025_09_39_19_3668.jpg', '/home/pi/Desktop/images/26112025/09/39/image_26112025_09_39_22_2766.jpg', '/home/pi/Desktop/images/26112025/09/39/image_26112025_09_39_25_2976.jpg', '/home/pi/Desktop/images/26112025/09/39/image_26112025_09_39_28_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/39/image_26112025_09_39_13_2748.jpg
/home/pi/Desktop/images/26112025/09/39/image_26112025_09_39_16_2709.jpg
/home/pi/Desktop/images/26112025/09/39/image_26112025_09_39_19_3668.jpg
/home/pi/Desktop/images/26112025/09/39/image_26112025_09_39_22_2766.jpg
/home/pi/Desktop/images/26112025/09/39/image_26112025_09_39_25_2976.jpg
/home/pi/Desktop/images/26112025/09/39/image_26112025_09_39_28_2632.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":["1396256095","1396256097","1396256109","1396256100","1396256103","1396256106"],"photo_ids_order":["1396256095","1396256097","1396256100","1396256103","1396256106","1396256109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f91e21195a35bd556f2f590c70e55b44.jpg","text":"TemporaryFile(/tmp/multipartBody4339184564332140302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164231059,"filename":"image_26112025_09_39_13_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/26/50ab24556cd6c2555e3c7f88fa57df9a.jpg","text":"TemporaryFile(/tmp/multipartBody324258232647265853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164231059,"filename":"image_26112025_09_39_16_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/26/a285ebe014a34d9ce39c703cee3b506f.jpg","text":"TemporaryFile(/tmp/multipartBody7164220472356677679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164231059,"filename":"image_26112025_09_39_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/26/3de38525f23c999f4c844dbcc6010bec.jpg","text":"TemporaryFile(/tmp/multipartBody926771006760698073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164231059,"filename":"image_26112025_09_39_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/26/c9886775531488a7b4f2e06fa5c71561.jpg","text":"TemporaryFile(/tmp/multipartBody3532805588170456627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164231059,"filename":"image_26112025_09_39_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/26/aba697f01a1e4af6743947c9ed9dbb75.jpg","text":"TemporaryFile(/tmp/multipartBody6090321953612851558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164231059,"filename":"image_26112025_09_39_25_2976.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396256100","file1":"1396256097","file0":"1396256095","file4":"1396256106","file5":"1396256109","file3":"1396256103"},"map_files_photo_id_array":[{"photo_id":"1396256109","filename":"file5"},{"photo_id":"1396256100","filename":"file2"},{"photo_id":"1396256106","filename":"file4"},{"photo_id":"1396256097","filename":"file1"},{"photo_id":"1396256095","filename":"file0"},{"photo_id":"1396256103","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396256095":["hashtag1","hashtag2"]},{"1396256097":["hashtag1","hashtag2"]},{"1396256109":["hashtag1","hashtag2"]},{"1396256100":["hashtag1","hashtag2"]},{"1396256103":["hashtag1","hashtag2"]},{"1396256106":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396256095, 1396256097, 1396256109, 1396256100, 1396256103, 1396256106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.214275598526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 14:36:47.571582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/39/image_26112025_09_39_32_3798.jpg', '/home/pi/Desktop/images/26112025/09/39/image_26112025_09_39_34_2587.jpg', '/home/pi/Desktop/images/26112025/09/39/image_26112025_09_39_37_2665.jpg', '/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_07_3011.jpg', '/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_11_3574.jpg', '/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_13_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/39/image_26112025_09_39_32_3798.jpg
/home/pi/Desktop/images/26112025/09/39/image_26112025_09_39_34_2587.jpg
/home/pi/Desktop/images/26112025/09/39/image_26112025_09_39_37_2665.jpg
/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_07_3011.jpg
/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_11_3574.jpg
/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_13_2749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396256120","1396256117","1396256122","1396256116","1396256125","1396256118"],"photo_ids_order":["1396256116","1396256117","1396256118","1396256120","1396256122","1396256125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a691e3e436d98661766696a3b6be1cfc.jpg","text":"TemporaryFile(/tmp/multipartBody4217693499996558628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164268321,"filename":"image_26112025_09_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/26/8d3dd9ede3d6c144066d021b6206a7f2.jpg","text":"TemporaryFile(/tmp/multipartBody6683465343439608659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164268321,"filename":"image_26112025_09_39_34_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/26/8213658f02524789255de8f0f3bb6dc3.jpg","text":"TemporaryFile(/tmp/multipartBody158537736890305851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164268321,"filename":"image_26112025_09_41_11_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/26/a9008eac5b9687c4d57193d865ee7a33.jpg","text":"TemporaryFile(/tmp/multipartBody4877670017222213260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164268321,"filename":"image_26112025_09_39_32_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/26/c0161fddbba82f9b6abadfb050c9fb64.jpg","text":"TemporaryFile(/tmp/multipartBody4642482256971727071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164268321,"filename":"image_26112025_09_41_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/26/6acaa4676092f30bdb57bab5b9341f6c.jpg","text":"TemporaryFile(/tmp/multipartBody266100365534932247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164268321,"filename":"image_26112025_09_39_37_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396256118","file1":"1396256117","file0":"1396256116","file4":"1396256122","file5":"1396256125","file3":"1396256120"},"map_files_photo_id_array":[{"photo_id":"1396256125","filename":"file5"},{"photo_id":"1396256118","filename":"file2"},{"photo_id":"1396256122","filename":"file4"},{"photo_id":"1396256117","filename":"file1"},{"photo_id":"1396256116","filename":"file0"},{"photo_id":"1396256120","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396256120":["hashtag1","hashtag2"]},{"1396256117":["hashtag1","hashtag2"]},{"1396256122":["hashtag1","hashtag2"]},{"1396256116":["hashtag1","hashtag2"]},{"1396256125":["hashtag1","hashtag2"]},{"1396256118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396256120, 1396256117, 1396256122, 1396256116, 1396256125, 1396256118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.17794442176819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:37:26.989428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_16_2658.jpg', '/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_20_3779.jpg', '/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_25_2652.jpg', '/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_29_3656.jpg', '/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_34_2602.jpg', '/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_38_3607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_16_2658.jpg
/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_20_3779.jpg
/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_25_2652.jpg
/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_29_3656.jpg
/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_34_2602.jpg
/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_38_3607.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":["1396256152","1396256140","1396256137","1396256145","1396256148","1396256156"],"photo_ids_order":["1396256137","1396256140","1396256145","1396256148","1396256152","1396256156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/519c25a670d3627b788a4882253dbcf4.jpg","text":"TemporaryFile(/tmp/multipartBody6245928139223681233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164307708,"filename":"image_26112025_09_41_34_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/26/751f7d70f9ecec44b938c97bd6041089.jpg","text":"TemporaryFile(/tmp/multipartBody726467648345386991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164307708,"filename":"image_26112025_09_41_20_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/26/e7fb3edddd6947cf6d38f16af79eb626.jpg","text":"TemporaryFile(/tmp/multipartBody6476091416775459111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164307708,"filename":"image_26112025_09_41_16_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/26/b5d91ce0f40ffbe8eade6629600a65e4.jpg","text":"TemporaryFile(/tmp/multipartBody1539741247780627480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164307708,"filename":"image_26112025_09_41_25_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/26/8ef4cee2279b76b10dcd4fa9dbcb2150.jpg","text":"TemporaryFile(/tmp/multipartBody534724674250189836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164307708,"filename":"image_26112025_09_41_29_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/26/a74a4a9b6f5bbb41ad6ed2803466b1c4.jpg","text":"TemporaryFile(/tmp/multipartBody8328541463844975355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164307708,"filename":"image_26112025_09_41_38_3607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396256145","file1":"1396256140","file0":"1396256137","file4":"1396256152","file5":"1396256156","file3":"1396256148"},"map_files_photo_id_array":[{"photo_id":"1396256156","filename":"file5"},{"photo_id":"1396256145","filename":"file2"},{"photo_id":"1396256152","filename":"file4"},{"photo_id":"1396256140","filename":"file1"},{"photo_id":"1396256137","filename":"file0"},{"photo_id":"1396256148","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396256152":["hashtag1","hashtag2"]},{"1396256140":["hashtag1","hashtag2"]},{"1396256137":["hashtag1","hashtag2"]},{"1396256145":["hashtag1","hashtag2"]},{"1396256148":["hashtag1","hashtag2"]},{"1396256156":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396256152, 1396256140, 1396256137, 1396256145, 1396256148, 1396256156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20342493057251 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:38:12.169729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_40_2712.jpg', '/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_43_2659.jpg', '/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_47_3599.jpg', '/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_49_2549.jpg', '/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_53_3569.jpg', '/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_07_3012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_40_2712.jpg
/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_43_2659.jpg
/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_47_3599.jpg
/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_49_2549.jpg
/home/pi/Desktop/images/26112025/09/41/image_26112025_09_41_53_3569.jpg
/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_07_3012.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":["1396256171","1396256165","1396256167","1396256160","1396256174","1396256162"],"photo_ids_order":["1396256160","1396256162","1396256165","1396256167","1396256171","1396256174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0a50a30010a7e2f018b3a9ffa34c34c3.jpg","text":"TemporaryFile(/tmp/multipartBody6784186005552449463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164352834,"filename":"image_26112025_09_41_53_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/26/88d78257a5fe1cbb7d1023f5b30bb619.jpg","text":"TemporaryFile(/tmp/multipartBody5358262575094281934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164352834,"filename":"image_26112025_09_41_47_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/26/a1ce5f6c54716cf476f88d1fe1fc55d3.jpg","text":"TemporaryFile(/tmp/multipartBody4092314239490183306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164352834,"filename":"image_26112025_09_41_49_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/26/b1646e182d1ffa3738084cdb58a96db1.jpg","text":"TemporaryFile(/tmp/multipartBody4391817464989044013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164352834,"filename":"image_26112025_09_41_40_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/26/c2742fc335b660218c1f6207ae303467.jpg","text":"TemporaryFile(/tmp/multipartBody2540543548252954402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164352834,"filename":"image_26112025_09_43_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/26/f41d81190b1885a6a9306fc612873b78.jpg","text":"TemporaryFile(/tmp/multipartBody3845066569018178533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164352834,"filename":"image_26112025_09_41_43_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396256165","file1":"1396256162","file0":"1396256160","file4":"1396256171","file5":"1396256174","file3":"1396256167"},"map_files_photo_id_array":[{"photo_id":"1396256174","filename":"file5"},{"photo_id":"1396256165","filename":"file2"},{"photo_id":"1396256171","filename":"file4"},{"photo_id":"1396256162","filename":"file1"},{"photo_id":"1396256160","filename":"file0"},{"photo_id":"1396256167","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396256171":["hashtag1","hashtag2"]},{"1396256165":["hashtag1","hashtag2"]},{"1396256167":["hashtag1","hashtag2"]},{"1396256160":["hashtag1","hashtag2"]},{"1396256174":["hashtag1","hashtag2"]},{"1396256162":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396256171, 1396256165, 1396256167, 1396256160, 1396256174, 1396256162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.140148639678955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:39:04.261692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_11_3608.jpg', '/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_14_2689.jpg', '/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_16_2672.jpg', '/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_20_3727.jpg', '/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_22_2544.jpg', '/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_26_3690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_11_3608.jpg
/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_14_2689.jpg
/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_16_2672.jpg
/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_20_3727.jpg
/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_22_2544.jpg
/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_26_3690.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":["1396256188","1396256193","1396256196","1396256190","1396256184","1396256186"],"photo_ids_order":["1396256184","1396256186","1396256188","1396256190","1396256193","1396256196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/465409a7177c6dd81fb2270f2e9092c6.jpg","text":"TemporaryFile(/tmp/multipartBody6595080084946927146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164405217,"filename":"image_26112025_09_43_16_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/26/a4d5e5e9947b3c86a077996d9e4aa194.jpg","text":"TemporaryFile(/tmp/multipartBody8400564857184462766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164405217,"filename":"image_26112025_09_43_22_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/26/ffb7e07ec6ad26d3b6fee3b837ec9152.jpg","text":"TemporaryFile(/tmp/multipartBody3988119485892922252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164405217,"filename":"image_26112025_09_43_26_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/26/3543d60ffeba1c95a0468580abc9d906.jpg","text":"TemporaryFile(/tmp/multipartBody2818559334222455246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164405217,"filename":"image_26112025_09_43_20_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/26/054657092102115af46d0aabedae555d.jpg","text":"TemporaryFile(/tmp/multipartBody5660959235565977450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164405217,"filename":"image_26112025_09_43_11_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/26/3a55aa3bcf014a826551d2caaaa4e8aa.jpg","text":"TemporaryFile(/tmp/multipartBody5736532896345860095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164405217,"filename":"image_26112025_09_43_14_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396256188","file1":"1396256186","file0":"1396256184","file4":"1396256193","file5":"1396256196","file3":"1396256190"},"map_files_photo_id_array":[{"photo_id":"1396256196","filename":"file5"},{"photo_id":"1396256188","filename":"file2"},{"photo_id":"1396256193","filename":"file4"},{"photo_id":"1396256186","filename":"file1"},{"photo_id":"1396256184","filename":"file0"},{"photo_id":"1396256190","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396256188":["hashtag1","hashtag2"]},{"1396256193":["hashtag1","hashtag2"]},{"1396256196":["hashtag1","hashtag2"]},{"1396256190":["hashtag1","hashtag2"]},{"1396256184":["hashtag1","hashtag2"]},{"1396256186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396256188, 1396256193, 1396256196, 1396256190, 1396256184, 1396256186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56404757499695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 14:39:43.079596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_29_2685.jpg', '/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_31_2637.jpg', '/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_35_3684.jpg', '/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_38_2689.jpg', '/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_40_2589.jpg', '/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_43_2781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_29_2685.jpg
/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_31_2637.jpg
/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_35_3684.jpg
/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_38_2689.jpg
/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_40_2589.jpg
/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_43_2781.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":["1396256210","1396256204","1396256207","1396256209","1396256211","1396256208"],"photo_ids_order":["1396256204","1396256207","1396256208","1396256209","1396256210","1396256211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f58c07a7c4281a9d3fecf7d9a19ded2b.jpg","text":"TemporaryFile(/tmp/multipartBody8573787680727397727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164443895,"filename":"image_26112025_09_43_40_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/26/8d80715dbbca9c3517a1e70a8aa40cc9.jpg","text":"TemporaryFile(/tmp/multipartBody5763228194110468600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164443895,"filename":"image_26112025_09_43_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/26/09578a723be4d14ba0b009e7caddb2ee.jpg","text":"TemporaryFile(/tmp/multipartBody211062078144562396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164443895,"filename":"image_26112025_09_43_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/26/b277738fefdf0e95e57a6ad36ad79ed1.jpg","text":"TemporaryFile(/tmp/multipartBody6147579400106015916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164443895,"filename":"image_26112025_09_43_38_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/26/4fe4d54753185e5abb9486462c65bf45.jpg","text":"TemporaryFile(/tmp/multipartBody7840007213977656640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164443895,"filename":"image_26112025_09_43_43_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/26/9625146266a573395bdb30859fb0a1c2.jpg","text":"TemporaryFile(/tmp/multipartBody8682497683366241957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164443895,"filename":"image_26112025_09_43_35_3684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396256208","file1":"1396256207","file0":"1396256204","file4":"1396256210","file5":"1396256211","file3":"1396256209"},"map_files_photo_id_array":[{"photo_id":"1396256211","filename":"file5"},{"photo_id":"1396256208","filename":"file2"},{"photo_id":"1396256210","filename":"file4"},{"photo_id":"1396256207","filename":"file1"},{"photo_id":"1396256204","filename":"file0"},{"photo_id":"1396256209","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396256210":["hashtag1","hashtag2"]},{"1396256204":["hashtag1","hashtag2"]},{"1396256207":["hashtag1","hashtag2"]},{"1396256209":["hashtag1","hashtag2"]},{"1396256211":["hashtag1","hashtag2"]},{"1396256208":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396256210, 1396256204, 1396256207, 1396256209, 1396256211, 1396256208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08021283149719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:40:22.293554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_47_3653.jpg', '/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_49_2596.jpg', '/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_52_2663.jpg', '/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_56_3668.jpg', '/home/pi/Desktop/images/26112025/09/45/image_26112025_09_45_07_3011.jpg', '/home/pi/Desktop/images/26112025/09/45/image_26112025_09_45_11_3846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_47_3653.jpg
/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_49_2596.jpg
/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_52_2663.jpg
/home/pi/Desktop/images/26112025/09/43/image_26112025_09_43_56_3668.jpg
/home/pi/Desktop/images/26112025/09/45/image_26112025_09_45_07_3011.jpg
/home/pi/Desktop/images/26112025/09/45/image_26112025_09_45_11_3846.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":["1396256237","1396256225","1396256219","1396256234","1396256230","1396256223"],"photo_ids_order":["1396256219","1396256223","1396256225","1396256230","1396256234","1396256237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c042ef55fcbcdb086902db09f4d7c924.jpg","text":"TemporaryFile(/tmp/multipartBody2879143543683787150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164483079,"filename":"image_26112025_09_45_11_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/26/f697a28696d083fd59d847901b57b8bd.jpg","text":"TemporaryFile(/tmp/multipartBody4468360549775249834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164483079,"filename":"image_26112025_09_43_52_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/26/b61bd7e5fd2bfa840f66bb42b5e3803c.jpg","text":"TemporaryFile(/tmp/multipartBody4038598545876116755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164483079,"filename":"image_26112025_09_43_47_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/26/29afd3484648775487fe7e3c84fa2bb0.jpg","text":"TemporaryFile(/tmp/multipartBody6929687148073485444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164483079,"filename":"image_26112025_09_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/26/356a4ce63020de402e5322213c49f227.jpg","text":"TemporaryFile(/tmp/multipartBody4292737496493891511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164483079,"filename":"image_26112025_09_43_56_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/26/40415a932098b4f0c90ceb3c06a024a9.jpg","text":"TemporaryFile(/tmp/multipartBody7075414523107601084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164483079,"filename":"image_26112025_09_43_49_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396256225","file1":"1396256223","file0":"1396256219","file4":"1396256234","file5":"1396256237","file3":"1396256230"},"map_files_photo_id_array":[{"photo_id":"1396256237","filename":"file5"},{"photo_id":"1396256225","filename":"file2"},{"photo_id":"1396256234","filename":"file4"},{"photo_id":"1396256223","filename":"file1"},{"photo_id":"1396256219","filename":"file0"},{"photo_id":"1396256230","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396256237":["hashtag1","hashtag2"]},{"1396256225":["hashtag1","hashtag2"]},{"1396256219":["hashtag1","hashtag2"]},{"1396256234":["hashtag1","hashtag2"]},{"1396256230":["hashtag1","hashtag2"]},{"1396256223":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396256237, 1396256225, 1396256219, 1396256234, 1396256230, 1396256223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75039982795715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:41:03.226188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/45/image_26112025_09_45_14_2832.jpg', '/home/pi/Desktop/images/26112025/09/45/image_26112025_09_45_16_2697.jpg', '/home/pi/Desktop/images/26112025/09/45/image_26112025_09_45_20_3550.jpg', '/home/pi/Desktop/images/26112025/09/45/image_26112025_09_45_23_2679.jpg', '/home/pi/Desktop/images/26112025/09/45/image_26112025_09_45_25_2694.jpg', '/home/pi/Desktop/images/26112025/09/45/image_26112025_09_45_28_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/45/image_26112025_09_45_14_2832.jpg
/home/pi/Desktop/images/26112025/09/45/image_26112025_09_45_16_2697.jpg
/home/pi/Desktop/images/26112025/09/45/image_26112025_09_45_20_3550.jpg
/home/pi/Desktop/images/26112025/09/45/image_26112025_09_45_23_2679.jpg
/home/pi/Desktop/images/26112025/09/45/image_26112025_09_45_25_2694.jpg
/home/pi/Desktop/images/26112025/09/45/image_26112025_09_45_28_2657.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":["1396256263","1396256272","1396256251","1396256277","1396256247","1396256267"],"photo_ids_order":["1396256247","1396256251","1396256263","1396256267","1396256272","1396256277"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/87fc4373a7fa196e6bb2c0a03fc801af.jpg","text":"TemporaryFile(/tmp/multipartBody8562117734297707609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164524082,"filename":"image_26112025_09_45_20_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/26/e3bc1ee3fefdef4991f75eacf559b838.jpg","text":"TemporaryFile(/tmp/multipartBody6738957950074923061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164524082,"filename":"image_26112025_09_45_25_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/26/b884e1b0bdffcc7c72b287778e1634bc.jpg","text":"TemporaryFile(/tmp/multipartBody3241498083140655523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164524082,"filename":"image_26112025_09_45_16_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/26/b54f28514d8b30b919104ebe8a10edc6.jpg","text":"TemporaryFile(/tmp/multipartBody2619889179351877395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164524082,"filename":"image_26112025_09_45_28_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/26/2306d7d2a966a08f5ef5de2c757f4f2a.jpg","text":"TemporaryFile(/tmp/multipartBody5064402727701132998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164524082,"filename":"image_26112025_09_45_14_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/26/0c224b86b3c0527681485b005df76520.jpg","text":"TemporaryFile(/tmp/multipartBody7331316841494601868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164524082,"filename":"image_26112025_09_45_23_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396256263","file1":"1396256251","file0":"1396256247","file4":"1396256272","file5":"1396256277","file3":"1396256267"},"map_files_photo_id_array":[{"photo_id":"1396256277","filename":"file5"},{"photo_id":"1396256263","filename":"file2"},{"photo_id":"1396256272","filename":"file4"},{"photo_id":"1396256251","filename":"file1"},{"photo_id":"1396256247","filename":"file0"},{"photo_id":"1396256267","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396256263":["hashtag1","hashtag2"]},{"1396256272":["hashtag1","hashtag2"]},{"1396256251":["hashtag1","hashtag2"]},{"1396256277":["hashtag1","hashtag2"]},{"1396256247":["hashtag1","hashtag2"]},{"1396256267":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396256263, 1396256272, 1396256251, 1396256277, 1396256247, 1396256267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68246006965637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 14:41:42.459328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/45/image_26112025_09_45_31_3550.jpg', '/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_07_3012.jpg', '/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_11_3725.jpg', '/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_13_2643.jpg', '/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_16_2765.jpg', '/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_25_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/45/image_26112025_09_45_31_3550.jpg
/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_07_3012.jpg
/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_11_3725.jpg
/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_13_2643.jpg
/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_16_2765.jpg
/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_25_2677.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.6265597343444824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:42:03.180747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/45/image_26112025_09_45_31_3550.jpg', '/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_07_3012.jpg', '/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_11_3725.jpg', '/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_13_2643.jpg', '/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_16_2765.jpg', '/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_25_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/45/image_26112025_09_45_31_3550.jpg
/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_07_3012.jpg
/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_11_3725.jpg
/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_13_2643.jpg
/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_16_2765.jpg
/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_25_2677.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":["1396256299","1396256293","1396256295","1396256297","1396256301","1396256304"],"photo_ids_order":["1396256293","1396256295","1396256297","1396256299","1396256301","1396256304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/320b4d3f566453106e0a0040cb612162.jpg","text":"TemporaryFile(/tmp/multipartBody5331392082173451685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164584018,"filename":"image_26112025_09_47_13_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/26/f47476469d69cb4cd53f76b4db4eb905.jpg","text":"TemporaryFile(/tmp/multipartBody2576991412320962577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164584018,"filename":"image_26112025_09_45_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/26/5eca5bd63e01466513f533f222491788.jpg","text":"TemporaryFile(/tmp/multipartBody6056133137454374395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164584018,"filename":"image_26112025_09_47_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/26/fd983b1da6cfecce9ffbbe2aa55d70ad.jpg","text":"TemporaryFile(/tmp/multipartBody8316889494377826438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164584018,"filename":"image_26112025_09_47_11_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/26/319b92359109c71cbaf61ae09b6795e1.jpg","text":"TemporaryFile(/tmp/multipartBody4601914345349396995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164584018,"filename":"image_26112025_09_47_16_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/26/d94ec0e7478515d22fe4cc64c4c02952.jpg","text":"TemporaryFile(/tmp/multipartBody8386727648755977937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164584018,"filename":"image_26112025_09_47_25_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396256297","file1":"1396256295","file0":"1396256293","file4":"1396256301","file5":"1396256304","file3":"1396256299"},"map_files_photo_id_array":[{"photo_id":"1396256304","filename":"file5"},{"photo_id":"1396256297","filename":"file2"},{"photo_id":"1396256301","filename":"file4"},{"photo_id":"1396256295","filename":"file1"},{"photo_id":"1396256293","filename":"file0"},{"photo_id":"1396256299","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396256299":["hashtag1","hashtag2"]},{"1396256293":["hashtag1","hashtag2"]},{"1396256295":["hashtag1","hashtag2"]},{"1396256297":["hashtag1","hashtag2"]},{"1396256301":["hashtag1","hashtag2"]},{"1396256304":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396256299, 1396256293, 1396256295, 1396256297, 1396256301, 1396256304)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.68560171127319 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:43:03.726829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_29_3614.jpg', '/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_31_2754.jpg', '/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_34_2659.jpg', '/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_38_3755.jpg', '/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_40_2664.jpg', '/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_43_2624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_29_3614.jpg
/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_31_2754.jpg
/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_34_2659.jpg
/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_38_3755.jpg
/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_40_2664.jpg
/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_43_2624.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":["1396256351","1396256353","1396256347","1396256356","1396256385","1396256349"],"photo_ids_order":["1396256347","1396256349","1396256351","1396256353","1396256356","1396256385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/49d00ff0af0256ee1cceb2a89ef0635a.jpg","text":"TemporaryFile(/tmp/multipartBody4427649903084243881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164644754,"filename":"image_26112025_09_47_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/26/3d415e8a047fb800ea86c317a2ec5149.jpg","text":"TemporaryFile(/tmp/multipartBody4162908308464008568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164644754,"filename":"image_26112025_09_47_38_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/26/a13600ed66da89ffc05740823b3dee8d.jpg","text":"TemporaryFile(/tmp/multipartBody25849817213724571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164644754,"filename":"image_26112025_09_47_29_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f58ebbc46e088ad239b9ffd5e7153b49.jpg","text":"TemporaryFile(/tmp/multipartBody934336855379022165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164644754,"filename":"image_26112025_09_47_40_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/26/14630db72a3055a8e4801bcc9c9e9123.jpg","text":"TemporaryFile(/tmp/multipartBody8588324266643865227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164644754,"filename":"image_26112025_09_47_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/26/c6fbd2eb6275934e22e6a2e8050e9737.jpg","text":"TemporaryFile(/tmp/multipartBody8240602758208874154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164644754,"filename":"image_26112025_09_47_31_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396256351","file1":"1396256349","file0":"1396256347","file4":"1396256356","file5":"1396256385","file3":"1396256353"},"map_files_photo_id_array":[{"photo_id":"1396256385","filename":"file5"},{"photo_id":"1396256351","filename":"file2"},{"photo_id":"1396256356","filename":"file4"},{"photo_id":"1396256349","filename":"file1"},{"photo_id":"1396256347","filename":"file0"},{"photo_id":"1396256353","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396256351":["hashtag1","hashtag2"]},{"1396256353":["hashtag1","hashtag2"]},{"1396256347":["hashtag1","hashtag2"]},{"1396256356":["hashtag1","hashtag2"]},{"1396256385":["hashtag1","hashtag2"]},{"1396256349":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396256351, 1396256353, 1396256347, 1396256356, 1396256385, 1396256349)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 55.94942378997803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:44:03.216774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_46_2819.jpg', '/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_50_3763.jpg', '/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_52_2691.jpg', '/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_55_2618.jpg', '/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_59_3676.jpg', '/home/pi/Desktop/images/26112025/09/48/image_26112025_09_48_01_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_46_2819.jpg
/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_50_3763.jpg
/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_52_2691.jpg
/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_55_2618.jpg
/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_59_3676.jpg
/home/pi/Desktop/images/26112025/09/48/image_26112025_09_48_01_2704.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.7363910675048828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:44:12.350943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_46_2819.jpg', '/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_50_3763.jpg', '/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_52_2691.jpg', '/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_55_2618.jpg', '/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_59_3676.jpg', '/home/pi/Desktop/images/26112025/09/48/image_26112025_09_48_01_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_46_2819.jpg
/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_50_3763.jpg
/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_52_2691.jpg
/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_55_2618.jpg
/home/pi/Desktop/images/26112025/09/47/image_26112025_09_47_59_3676.jpg
/home/pi/Desktop/images/26112025/09/48/image_26112025_09_48_01_2704.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":["1396256560","1396256551","1396256548","1396256556","1396256564","1396256567"],"photo_ids_order":["1396256548","1396256551","1396256556","1396256560","1396256564","1396256567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0daa2def7fec3b74c3ebf6aa176e1c07.jpg","text":"TemporaryFile(/tmp/multipartBody8407127205328859211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164713113,"filename":"image_26112025_09_47_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/26/02a0488aab36d9ebc333880099fc6550.jpg","text":"TemporaryFile(/tmp/multipartBody2760521586861036993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164713113,"filename":"image_26112025_09_47_50_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/26/3e7eb8cdc76e323d9f017a119b16f8f8.jpg","text":"TemporaryFile(/tmp/multipartBody7980923307570397661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164713113,"filename":"image_26112025_09_47_46_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/26/267e8a0f44b1d321051c00f31e3f3503.jpg","text":"TemporaryFile(/tmp/multipartBody6238625233716065699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164713113,"filename":"image_26112025_09_47_52_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/26/04242f8560e429f296c46f96a33066f6.jpg","text":"TemporaryFile(/tmp/multipartBody1710163870658507903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164713113,"filename":"image_26112025_09_47_59_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/26/3dba55cda652ccb71286ff3482a151c0.jpg","text":"TemporaryFile(/tmp/multipartBody6505015258266635539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764164713113,"filename":"image_26112025_09_48_01_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396256556","file1":"1396256551","file0":"1396256548","file4":"1396256564","file5":"1396256567","file3":"1396256560"},"map_files_photo_id_array":[{"photo_id":"1396256567","filename":"file5"},{"photo_id":"1396256556","filename":"file2"},{"photo_id":"1396256564","filename":"file4"},{"photo_id":"1396256551","filename":"file1"},{"photo_id":"1396256548","filename":"file0"},{"photo_id":"1396256560","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396256560":["hashtag1","hashtag2"]},{"1396256551":["hashtag1","hashtag2"]},{"1396256548":["hashtag1","hashtag2"]},{"1396256556":["hashtag1","hashtag2"]},{"1396256564":["hashtag1","hashtag2"]},{"1396256567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396256560, 1396256551, 1396256548, 1396256556, 1396256564, 1396256567)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 99.7973244190216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:46:03.181963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
2025-11-26 14:46:18.613158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 14:46:47.853631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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
2025-11-26 14:46:47.864250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 14:47:02.625450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
2025-11-26 14:47:16.568186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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! 
 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-26 14:48:03.984443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 14:48:13.431292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 14:48:23.487096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:49:03.810454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
2025-11-26 14:49:20.680223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 14:49:44.250734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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
2025-11-26 14:49:44.269776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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
 val : 1 : upload photos already in processing! 
2025-11-26 14:50:16.790420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
2025-11-26 14:50:43.105260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 14:51:11.320660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 14:51:21.067922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 14:51:31.049739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 14:51:40.931052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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 30
2025-11-26 14:51:51.009333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_06_3019.jpg', '/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_10_3777.jpg', '/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_13_2857.jpg', '/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_15_2557.jpg', '/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_19_3748.jpg', '/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_22_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_06_3019.jpg
/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_10_3777.jpg
/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_13_2857.jpg
/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_15_2557.jpg
/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_19_3748.jpg
/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_22_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: 1.6044137477874756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:52:03.148186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_06_3019.jpg', '/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_10_3777.jpg', '/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_13_2857.jpg', '/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_15_2557.jpg', '/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_19_3748.jpg', '/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_22_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_06_3019.jpg
/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_10_3777.jpg
/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_13_2857.jpg
/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_15_2557.jpg
/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_19_3748.jpg
/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_22_2695.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":["1396257238","1396257232","1396257235","1396257240","1396257243","1396257246"],"photo_ids_order":["1396257232","1396257235","1396257238","1396257240","1396257243","1396257246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/05aaa44488e8ca734984433f0ea63f91.jpg","text":"TemporaryFile(/tmp/multipartBody9164254023904126044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165183878,"filename":"image_26112025_09_49_13_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/26/3bd61c5505672275e2e7005e8a929185.jpg","text":"TemporaryFile(/tmp/multipartBody557994783055521111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165183878,"filename":"image_26112025_09_49_06_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/26/0b8ec8fedc4d160389b6cdfb13d82b9f.jpg","text":"TemporaryFile(/tmp/multipartBody1689913215726421095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165183878,"filename":"image_26112025_09_49_10_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/26/28bab3d79a0e467042f9e74c2d6db13a.jpg","text":"TemporaryFile(/tmp/multipartBody3471598654763497150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165183878,"filename":"image_26112025_09_49_15_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/26/24d920defae5a0f1067bef1917b8ce5b.jpg","text":"TemporaryFile(/tmp/multipartBody4048090128022532772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165183878,"filename":"image_26112025_09_49_19_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/26/193c2153ffe50edd9b5a64b6cbd241ba.jpg","text":"TemporaryFile(/tmp/multipartBody5368598806179704400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165183878,"filename":"image_26112025_09_49_22_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396257238","file1":"1396257235","file0":"1396257232","file4":"1396257243","file5":"1396257246","file3":"1396257240"},"map_files_photo_id_array":[{"photo_id":"1396257246","filename":"file5"},{"photo_id":"1396257238","filename":"file2"},{"photo_id":"1396257243","filename":"file4"},{"photo_id":"1396257235","filename":"file1"},{"photo_id":"1396257232","filename":"file0"},{"photo_id":"1396257240","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396257238":["hashtag1","hashtag2"]},{"1396257232":["hashtag1","hashtag2"]},{"1396257235":["hashtag1","hashtag2"]},{"1396257240":["hashtag1","hashtag2"]},{"1396257243":["hashtag1","hashtag2"]},{"1396257246":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396257238, 1396257232, 1396257235, 1396257240, 1396257243, 1396257246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79370594024658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 14:52:42.821917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_25_2767.jpg', '/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_27_2561.jpg', '/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_31_3721.jpg', '/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_34_2626.jpg', '/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_36_2646.jpg', '/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_40_3670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_25_2767.jpg
/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_27_2561.jpg
/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_31_3721.jpg
/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_34_2626.jpg
/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_36_2646.jpg
/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_40_3670.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":["1396257277","1396257276","1396257300","1396257299","1396257293","1396257269"],"photo_ids_order":["1396257269","1396257276","1396257277","1396257293","1396257299","1396257300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cf855a2dd9c4016cd6091c6dfca7cf7d.jpg","text":"TemporaryFile(/tmp/multipartBody3158816065374921215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165223574,"filename":"image_26112025_09_49_31_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/26/9335314da458d7036b9f197d29942e51.jpg","text":"TemporaryFile(/tmp/multipartBody5813149573332611404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165223574,"filename":"image_26112025_09_49_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/26/8d6207f24b737480da9aa1ab83c17272.jpg","text":"TemporaryFile(/tmp/multipartBody4724747029554233318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165223574,"filename":"image_26112025_09_49_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/26/e483bba84bb6db19ab945649644318a1.jpg","text":"TemporaryFile(/tmp/multipartBody3940374011933267404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165223574,"filename":"image_26112025_09_49_36_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/26/c2cd93bd2ef613aa4893abeafd653dbc.jpg","text":"TemporaryFile(/tmp/multipartBody490027800089059249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165223574,"filename":"image_26112025_09_49_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/26/63fb4cd41a72fbdf749ee8b697961d4d.jpg","text":"TemporaryFile(/tmp/multipartBody7212118064606741150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165223574,"filename":"image_26112025_09_49_25_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396257277","file1":"1396257276","file0":"1396257269","file4":"1396257299","file5":"1396257300","file3":"1396257293"},"map_files_photo_id_array":[{"photo_id":"1396257300","filename":"file5"},{"photo_id":"1396257277","filename":"file2"},{"photo_id":"1396257299","filename":"file4"},{"photo_id":"1396257276","filename":"file1"},{"photo_id":"1396257269","filename":"file0"},{"photo_id":"1396257293","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396257277":["hashtag1","hashtag2"]},{"1396257276":["hashtag1","hashtag2"]},{"1396257300":["hashtag1","hashtag2"]},{"1396257299":["hashtag1","hashtag2"]},{"1396257293":["hashtag1","hashtag2"]},{"1396257269":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396257277, 1396257276, 1396257300, 1396257299, 1396257293, 1396257269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97517442703247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:53:25.714431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_42_2559.jpg', '/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_46_3609.jpg', '/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_51_2617.jpg', '/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_55_3554.jpg', '/home/pi/Desktop/images/26112025/09/51/image_26112025_09_51_09_3011.jpg', '/home/pi/Desktop/images/26112025/09/51/image_26112025_09_51_12_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_42_2559.jpg
/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_46_3609.jpg
/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_51_2617.jpg
/home/pi/Desktop/images/26112025/09/49/image_26112025_09_49_55_3554.jpg
/home/pi/Desktop/images/26112025/09/51/image_26112025_09_51_09_3011.jpg
/home/pi/Desktop/images/26112025/09/51/image_26112025_09_51_12_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396257503","1396257466","1396257576","1396257612","1396257540","1396257429"],"photo_ids_order":["1396257429","1396257466","1396257503","1396257540","1396257576","1396257612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/51c03af0bab49f0f25b54a046597353b.jpg","text":"TemporaryFile(/tmp/multipartBody1448648670775111318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165266526,"filename":"image_26112025_09_49_51_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/26/a44ed1255b4779bc803d4d2920f8b375.jpg","text":"TemporaryFile(/tmp/multipartBody428759109938874487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165266526,"filename":"image_26112025_09_49_46_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/26/9412d906555fdd2f8a0b26a56cdd2236.jpg","text":"TemporaryFile(/tmp/multipartBody3427814628620536940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165266526,"filename":"image_26112025_09_51_09_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/26/162217114402ccc3bc72f92523de3b3b.jpg","text":"TemporaryFile(/tmp/multipartBody2222963436899701066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165266526,"filename":"image_26112025_09_51_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/26/734d1b51f94bf898820c5a4d444756e5.jpg","text":"TemporaryFile(/tmp/multipartBody4047111471100591354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165266526,"filename":"image_26112025_09_49_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/26/1fa843e102f2a6c0f93b7576ead1b95c.jpg","text":"TemporaryFile(/tmp/multipartBody4910305085698300254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165266526,"filename":"image_26112025_09_49_42_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396257503","file1":"1396257466","file0":"1396257429","file4":"1396257576","file5":"1396257612","file3":"1396257540"},"map_files_photo_id_array":[{"photo_id":"1396257612","filename":"file5"},{"photo_id":"1396257503","filename":"file2"},{"photo_id":"1396257576","filename":"file4"},{"photo_id":"1396257466","filename":"file1"},{"photo_id":"1396257429","filename":"file0"},{"photo_id":"1396257540","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396257503":["hashtag1","hashtag2"]},{"1396257466":["hashtag1","hashtag2"]},{"1396257576":["hashtag1","hashtag2"]},{"1396257612":["hashtag1","hashtag2"]},{"1396257540":["hashtag1","hashtag2"]},{"1396257429":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396257503, 1396257466, 1396257576, 1396257612, 1396257540, 1396257429)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 35.96484327316284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:54:11.869557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/51/image_26112025_09_51_15_2638.jpg', '/home/pi/Desktop/images/26112025/09/51/image_26112025_09_51_18_2730.jpg', '/home/pi/Desktop/images/26112025/09/51/image_26112025_09_51_24_2742.jpg', '/home/pi/Desktop/images/26112025/09/51/image_26112025_09_51_27_2747.jpg', '/home/pi/Desktop/images/26112025/09/51/image_26112025_09_51_30_2639.jpg', '/home/pi/Desktop/images/26112025/09/51/image_26112025_09_51_33_3673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/51/image_26112025_09_51_15_2638.jpg
/home/pi/Desktop/images/26112025/09/51/image_26112025_09_51_18_2730.jpg
/home/pi/Desktop/images/26112025/09/51/image_26112025_09_51_24_2742.jpg
/home/pi/Desktop/images/26112025/09/51/image_26112025_09_51_27_2747.jpg
/home/pi/Desktop/images/26112025/09/51/image_26112025_09_51_30_2639.jpg
/home/pi/Desktop/images/26112025/09/51/image_26112025_09_51_33_3673.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":["1396257661","1396257658","1396257654","1396257648","1396257665","1396257650"],"photo_ids_order":["1396257648","1396257650","1396257654","1396257658","1396257661","1396257665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e43dfaa351dc19e3432c6cca6e3a20ce.jpg","text":"TemporaryFile(/tmp/multipartBody3747927384566847192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165312637,"filename":"image_26112025_09_51_30_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/11c2b53c2e9150a570ae6352fc4fec7b.jpg","text":"TemporaryFile(/tmp/multipartBody9048695346995696103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165312637,"filename":"image_26112025_09_51_27_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/26/ac2b476ffb5c148cc55bc8397a541091.jpg","text":"TemporaryFile(/tmp/multipartBody3716548242750219307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165312637,"filename":"image_26112025_09_51_24_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/26/f94fa138c5cf4641103016fd49d71e58.jpg","text":"TemporaryFile(/tmp/multipartBody2359978923745981768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165312637,"filename":"image_26112025_09_51_15_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/26/b8a3f3fcb73da223a19c147ad55f8435.jpg","text":"TemporaryFile(/tmp/multipartBody4617185922057408610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165312637,"filename":"image_26112025_09_51_33_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/26/b7815a4fc8767669ecc308dcbdc2f144.jpg","text":"TemporaryFile(/tmp/multipartBody6887258547293802645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165312637,"filename":"image_26112025_09_51_18_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396257654","file1":"1396257650","file0":"1396257648","file4":"1396257661","file5":"1396257665","file3":"1396257658"},"map_files_photo_id_array":[{"photo_id":"1396257665","filename":"file5"},{"photo_id":"1396257654","filename":"file2"},{"photo_id":"1396257661","filename":"file4"},{"photo_id":"1396257650","filename":"file1"},{"photo_id":"1396257648","filename":"file0"},{"photo_id":"1396257658","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396257661":["hashtag1","hashtag2"]},{"1396257658":["hashtag1","hashtag2"]},{"1396257654":["hashtag1","hashtag2"]},{"1396257648":["hashtag1","hashtag2"]},{"1396257665":["hashtag1","hashtag2"]},{"1396257650":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396257661, 1396257658, 1396257654, 1396257648, 1396257665, 1396257650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.837878942489624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:55:09.973025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/51/image_26112025_09_51_36_2714.jpg', '/home/pi/Desktop/images/26112025/09/53/image_26112025_09_53_07_3012.jpg', '/home/pi/Desktop/images/26112025/09/53/image_26112025_09_53_11_3624.jpg', '/home/pi/Desktop/images/26112025/09/53/image_26112025_09_53_13_2664.jpg', '/home/pi/Desktop/images/26112025/09/53/image_26112025_09_53_17_3653.jpg', '/home/pi/Desktop/images/26112025/09/53/image_26112025_09_53_20_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/51/image_26112025_09_51_36_2714.jpg
/home/pi/Desktop/images/26112025/09/53/image_26112025_09_53_07_3012.jpg
/home/pi/Desktop/images/26112025/09/53/image_26112025_09_53_11_3624.jpg
/home/pi/Desktop/images/26112025/09/53/image_26112025_09_53_13_2664.jpg
/home/pi/Desktop/images/26112025/09/53/image_26112025_09_53_17_3653.jpg
/home/pi/Desktop/images/26112025/09/53/image_26112025_09_53_20_2749.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":["1396257685","1396257688","1396257675","1396257678","1396257672","1396257682"],"photo_ids_order":["1396257672","1396257675","1396257678","1396257682","1396257685","1396257688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/38677d3d5d9275ec6b73d536efa309a5.jpg","text":"TemporaryFile(/tmp/multipartBody5244325672431679858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165370873,"filename":"image_26112025_09_53_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/26/dca0192edad802096952df5d3dc4b45f.jpg","text":"TemporaryFile(/tmp/multipartBody6783669207893606169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165370873,"filename":"image_26112025_09_53_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/26/c3609cffb01ca52d50c0c1460f649958.jpg","text":"TemporaryFile(/tmp/multipartBody1338779210235800955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165370873,"filename":"image_26112025_09_53_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/26/f078e07c2d58d460f43517155bfb4012.jpg","text":"TemporaryFile(/tmp/multipartBody7019091225848540859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165370873,"filename":"image_26112025_09_53_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/26/46a368ed86f183e7e041746488feb0af.jpg","text":"TemporaryFile(/tmp/multipartBody3810009947149981160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165370873,"filename":"image_26112025_09_51_36_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/26/eb07abe98a32a77778dea28d29d75c91.jpg","text":"TemporaryFile(/tmp/multipartBody7772743401709782061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165370873,"filename":"image_26112025_09_53_13_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396257678","file1":"1396257675","file0":"1396257672","file4":"1396257685","file5":"1396257688","file3":"1396257682"},"map_files_photo_id_array":[{"photo_id":"1396257688","filename":"file5"},{"photo_id":"1396257678","filename":"file2"},{"photo_id":"1396257685","filename":"file4"},{"photo_id":"1396257675","filename":"file1"},{"photo_id":"1396257672","filename":"file0"},{"photo_id":"1396257682","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396257685":["hashtag1","hashtag2"]},{"1396257688":["hashtag1","hashtag2"]},{"1396257675":["hashtag1","hashtag2"]},{"1396257678":["hashtag1","hashtag2"]},{"1396257672":["hashtag1","hashtag2"]},{"1396257682":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396257685, 1396257688, 1396257675, 1396257678, 1396257672, 1396257682)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 54.25993490219116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:56:05.577670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/53/image_26112025_09_53_22_2786.jpg', '/home/pi/Desktop/images/26112025/09/53/image_26112025_09_53_25_2575.jpg', '/home/pi/Desktop/images/26112025/09/53/image_26112025_09_53_29_3765.jpg', '/home/pi/Desktop/images/26112025/09/53/image_26112025_09_53_34_2663.jpg', '/home/pi/Desktop/images/26112025/09/53/image_26112025_09_53_38_3556.jpg', '/home/pi/Desktop/images/26112025/09/53/image_26112025_09_53_40_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/53/image_26112025_09_53_22_2786.jpg
/home/pi/Desktop/images/26112025/09/53/image_26112025_09_53_25_2575.jpg
/home/pi/Desktop/images/26112025/09/53/image_26112025_09_53_29_3765.jpg
/home/pi/Desktop/images/26112025/09/53/image_26112025_09_53_34_2663.jpg
/home/pi/Desktop/images/26112025/09/53/image_26112025_09_53_38_3556.jpg
/home/pi/Desktop/images/26112025/09/53/image_26112025_09_53_40_2664.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":["1396257701","1396257715","1396257700","1396257712","1396257708","1396257705"],"photo_ids_order":["1396257700","1396257701","1396257705","1396257708","1396257712","1396257715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/09c5da8f02412f8ec50b5b71e37399f2.jpg","text":"TemporaryFile(/tmp/multipartBody2762624361119067286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165428109,"filename":"image_26112025_09_53_25_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/26/95ffba13e216157813d52db267ad276d.jpg","text":"TemporaryFile(/tmp/multipartBody4344443724701437614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165428109,"filename":"image_26112025_09_53_40_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/26/5771967d6b6214208a27a548a20ff712.jpg","text":"TemporaryFile(/tmp/multipartBody846830685582295381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165428109,"filename":"image_26112025_09_53_22_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/26/b982e0214a4ee5c2c288146a308e9e25.jpg","text":"TemporaryFile(/tmp/multipartBody1320014258051101923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165428109,"filename":"image_26112025_09_53_38_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/26/e326f354402c7d418b0552c975865e5a.jpg","text":"TemporaryFile(/tmp/multipartBody1172630475253019164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165428109,"filename":"image_26112025_09_53_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/26/035863ae73595245c1400952fac3a46a.jpg","text":"TemporaryFile(/tmp/multipartBody334226424109852601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165428109,"filename":"image_26112025_09_53_29_3765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396257705","file1":"1396257701","file0":"1396257700","file4":"1396257712","file5":"1396257715","file3":"1396257708"},"map_files_photo_id_array":[{"photo_id":"1396257715","filename":"file5"},{"photo_id":"1396257705","filename":"file2"},{"photo_id":"1396257712","filename":"file4"},{"photo_id":"1396257701","filename":"file1"},{"photo_id":"1396257700","filename":"file0"},{"photo_id":"1396257708","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396257701":["hashtag1","hashtag2"]},{"1396257715":["hashtag1","hashtag2"]},{"1396257700":["hashtag1","hashtag2"]},{"1396257712":["hashtag1","hashtag2"]},{"1396257708":["hashtag1","hashtag2"]},{"1396257705":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396257701, 1396257715, 1396257700, 1396257712, 1396257708, 1396257705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.944230794906616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 14:56:45.056196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/53/image_26112025_09_53_43_2688.jpg', '/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_07_3014.jpg', '/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_11_3579.jpg', '/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_13_2602.jpg', '/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_17_3736.jpg', '/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_22_2777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/53/image_26112025_09_53_43_2688.jpg
/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_07_3014.jpg
/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_11_3579.jpg
/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_13_2602.jpg
/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_17_3736.jpg
/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_22_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":["1396257751","1396257748","1396257736","1396257750","1396257734","1396257737"],"photo_ids_order":["1396257734","1396257736","1396257737","1396257748","1396257750","1396257751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1ca563887c01cf49cceb9a433f7bef73.jpg","text":"TemporaryFile(/tmp/multipartBody5703596345796957950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165465850,"filename":"image_26112025_09_55_22_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/26/f74a56b16fa65332a669f4c6cab72369.jpg","text":"TemporaryFile(/tmp/multipartBody693978230219673242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165465850,"filename":"image_26112025_09_55_13_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/26/8486b45331753758134d813ab7169d47.jpg","text":"TemporaryFile(/tmp/multipartBody5291827801919627794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165465850,"filename":"image_26112025_09_55_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/26/9594bf3ab57d9a94a97988f74991d29f.jpg","text":"TemporaryFile(/tmp/multipartBody2920319268545554724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165465850,"filename":"image_26112025_09_55_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/26/82a90881c99e56393f9b77a05fdffad8.jpg","text":"TemporaryFile(/tmp/multipartBody6621838650131456025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165465850,"filename":"image_26112025_09_53_43_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/26/4283428160680ba55a2dee915b362872.jpg","text":"TemporaryFile(/tmp/multipartBody3760982273845346624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165465850,"filename":"image_26112025_09_55_11_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396257737","file1":"1396257736","file0":"1396257734","file4":"1396257750","file5":"1396257751","file3":"1396257748"},"map_files_photo_id_array":[{"photo_id":"1396257751","filename":"file5"},{"photo_id":"1396257737","filename":"file2"},{"photo_id":"1396257750","filename":"file4"},{"photo_id":"1396257736","filename":"file1"},{"photo_id":"1396257734","filename":"file0"},{"photo_id":"1396257748","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396257751":["hashtag1","hashtag2"]},{"1396257748":["hashtag1","hashtag2"]},{"1396257736":["hashtag1","hashtag2"]},{"1396257750":["hashtag1","hashtag2"]},{"1396257734":["hashtag1","hashtag2"]},{"1396257737":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396257751, 1396257748, 1396257736, 1396257750, 1396257734, 1396257737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.263254165649414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 14:57:22.199446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_25_2579.jpg', '/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_29_3721.jpg', '/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_31_2581.jpg', '/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_34_2641.jpg', '/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_37_3601.jpg', '/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_40_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_25_2579.jpg
/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_29_3721.jpg
/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_31_2581.jpg
/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_34_2641.jpg
/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_37_3601.jpg
/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_40_2692.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":["1396257760","1396257770","1396257773","1396257767","1396257776","1396257764"],"photo_ids_order":["1396257760","1396257764","1396257767","1396257770","1396257773","1396257776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/046cf62bf678d151357ee1d9423f7af2.jpg","text":"TemporaryFile(/tmp/multipartBody6343329104989522982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165502922,"filename":"image_26112025_09_55_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/26/6f4577124a830581ae71e6c8e7730b77.jpg","text":"TemporaryFile(/tmp/multipartBody2378655153330021870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165502922,"filename":"image_26112025_09_55_34_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/558a0f5a0175f4434e59d74f73d9698a.jpg","text":"TemporaryFile(/tmp/multipartBody8146465195590225302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165502922,"filename":"image_26112025_09_55_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/26/6b6d9f31ad2663057e805b45957258f0.jpg","text":"TemporaryFile(/tmp/multipartBody6117091924943370377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165502922,"filename":"image_26112025_09_55_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/26/d0a76eb365f4efd84fbf6077bacb7b34.jpg","text":"TemporaryFile(/tmp/multipartBody1996441865314234896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165502922,"filename":"image_26112025_09_55_40_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/26/88ee228d70c1fc7379f7ce79e98b9589.jpg","text":"TemporaryFile(/tmp/multipartBody2575658678095257003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165502922,"filename":"image_26112025_09_55_29_3721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396257767","file1":"1396257764","file0":"1396257760","file4":"1396257773","file5":"1396257776","file3":"1396257770"},"map_files_photo_id_array":[{"photo_id":"1396257776","filename":"file5"},{"photo_id":"1396257767","filename":"file2"},{"photo_id":"1396257773","filename":"file4"},{"photo_id":"1396257764","filename":"file1"},{"photo_id":"1396257760","filename":"file0"},{"photo_id":"1396257770","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396257760":["hashtag1","hashtag2"]},{"1396257770":["hashtag1","hashtag2"]},{"1396257773":["hashtag1","hashtag2"]},{"1396257767":["hashtag1","hashtag2"]},{"1396257776":["hashtag1","hashtag2"]},{"1396257764":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396257760, 1396257770, 1396257773, 1396257767, 1396257776, 1396257764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.27297234535217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 14:59:02.837037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_44_3650.jpg', '/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_47_2766.jpg', '/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_52_2652.jpg', '/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_07_3012.jpg', '/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_10_3585.jpg', '/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_13_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_44_3650.jpg
/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_47_2766.jpg
/home/pi/Desktop/images/26112025/09/55/image_26112025_09_55_52_2652.jpg
/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_07_3012.jpg
/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_10_3585.jpg
/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_13_2654.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":["1396257799","1396257790","1396257802","1396257785","1396257794","1396257781"],"photo_ids_order":["1396257781","1396257785","1396257790","1396257794","1396257799","1396257802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3877024ee23b2b42ac9d7524fac615a6.jpg","text":"TemporaryFile(/tmp/multipartBody7762278415216751648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165603764,"filename":"image_26112025_09_57_10_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/26/3b581f41c8d4b3b540c51312777b3fd7.jpg","text":"TemporaryFile(/tmp/multipartBody4372356400471642369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165603764,"filename":"image_26112025_09_55_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/26/2a98c844cf9792a7c9d3530eb9bbb636.jpg","text":"TemporaryFile(/tmp/multipartBody4667396125459787395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165603764,"filename":"image_26112025_09_57_13_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/26/22c4afcd987ea5eb4159fa6b9a904684.jpg","text":"TemporaryFile(/tmp/multipartBody1394858774810667842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165603764,"filename":"image_26112025_09_55_47_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2e5b80bd45b354e6baa8e0d1c770cd67.jpg","text":"TemporaryFile(/tmp/multipartBody5023118214400396408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165603764,"filename":"image_26112025_09_57_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/26/226921c396fda03b51fb2ccd9b6bcfd1.jpg","text":"TemporaryFile(/tmp/multipartBody3792400200723139842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165603764,"filename":"image_26112025_09_55_44_3650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396257790","file1":"1396257785","file0":"1396257781","file4":"1396257799","file5":"1396257802","file3":"1396257794"},"map_files_photo_id_array":[{"photo_id":"1396257802","filename":"file5"},{"photo_id":"1396257790","filename":"file2"},{"photo_id":"1396257799","filename":"file4"},{"photo_id":"1396257785","filename":"file1"},{"photo_id":"1396257781","filename":"file0"},{"photo_id":"1396257794","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396257799":["hashtag1","hashtag2"]},{"1396257790":["hashtag1","hashtag2"]},{"1396257802":["hashtag1","hashtag2"]},{"1396257785":["hashtag1","hashtag2"]},{"1396257794":["hashtag1","hashtag2"]},{"1396257781":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396257799, 1396257790, 1396257802, 1396257785, 1396257794, 1396257781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.94261980056763 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-26 15:00:03.098204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_17_3648.jpg', '/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_19_2639.jpg', '/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_24_4526.jpg', '/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_28_2864.jpg', '/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_31_2748.jpg', '/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_34_3240.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_17_3648.jpg
/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_19_2639.jpg
/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_24_4526.jpg
/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_28_2864.jpg
/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_31_2748.jpg
/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_34_3240.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":["1396257928","1396257891","1396258014","1396257852","1396257965","1396257815"],"photo_ids_order":["1396257815","1396257852","1396257891","1396257928","1396257965","1396258014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3172ae88c2bac8de91d790e4b761d4aa.jpg","text":"TemporaryFile(/tmp/multipartBody3712680717759136620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165663901,"filename":"image_26112025_09_57_28_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/26/94b3bd6896d669a5c97dcc49465f6163.jpg","text":"TemporaryFile(/tmp/multipartBody5603480897667505680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165663901,"filename":"image_26112025_09_57_24_4526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/99f6324d23e7766e198dbf696cb11dac.jpg","text":"TemporaryFile(/tmp/multipartBody8748964758340526715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165663901,"filename":"image_26112025_09_57_34_3240.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c40fb42f41ef17a38fcba9e9367677e6.jpg","text":"TemporaryFile(/tmp/multipartBody2482924846046328723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165663901,"filename":"image_26112025_09_57_19_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/28e321683d21d40ac1d5db14585a4ea4.jpg","text":"TemporaryFile(/tmp/multipartBody8666074459198620123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165663901,"filename":"image_26112025_09_57_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/26/c09882618812f7712484b9a7cfcc916e.jpg","text":"TemporaryFile(/tmp/multipartBody2065263642022654259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165663901,"filename":"image_26112025_09_57_17_3648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396257891","file1":"1396257852","file0":"1396257815","file4":"1396257965","file5":"1396258014","file3":"1396257928"},"map_files_photo_id_array":[{"photo_id":"1396258014","filename":"file5"},{"photo_id":"1396257891","filename":"file2"},{"photo_id":"1396257965","filename":"file4"},{"photo_id":"1396257852","filename":"file1"},{"photo_id":"1396257815","filename":"file0"},{"photo_id":"1396257928","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396257928":["hashtag1","hashtag2"]},{"1396257891":["hashtag1","hashtag2"]},{"1396258014":["hashtag1","hashtag2"]},{"1396257852":["hashtag1","hashtag2"]},{"1396257965":["hashtag1","hashtag2"]},{"1396257815":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396257928, 1396257891, 1396258014, 1396257852, 1396257965, 1396257815)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.25206780433655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 15:01:02.753129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_37_2678.jpg', '/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_40_2685.jpg', '/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_43_3747.jpg', '/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_53_9910.jpg', '/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_57_1741.jpg', '/home/pi/Desktop/images/26112025/09/59/image_26112025_09_59_07_3015.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_37_2678.jpg
/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_40_2685.jpg
/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_43_3747.jpg
/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_53_9910.jpg
/home/pi/Desktop/images/26112025/09/57/image_26112025_09_57_57_1741.jpg
/home/pi/Desktop/images/26112025/09/59/image_26112025_09_59_07_3015.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":["1396258429","1396258482","1396258464","1396258484","1396258349","1396258390"],"photo_ids_order":["1396258349","1396258390","1396258429","1396258464","1396258482","1396258484"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f88166c531a65e77050cc4a68e88837e.jpg","text":"TemporaryFile(/tmp/multipartBody4543651497473074872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165723614,"filename":"image_26112025_09_57_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/26/5a05b0e7d2a047625d0707b9d6836196.jpg","text":"TemporaryFile(/tmp/multipartBody5066751016267921416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165723614,"filename":"image_26112025_09_57_57_1741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2b0a5f8d8c277dd26d38bc5bd1d84c99.jpg","text":"TemporaryFile(/tmp/multipartBody7763275225407586287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165723614,"filename":"image_26112025_09_57_53_9910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8b0c0ecafce32cb69698870b2592451b.jpg","text":"TemporaryFile(/tmp/multipartBody7408302876281298480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165723614,"filename":"image_26112025_09_59_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/26/0ea4fad43f615a765abbcd75f8036f3e.jpg","text":"TemporaryFile(/tmp/multipartBody3128496684482481749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165723614,"filename":"image_26112025_09_57_37_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/26/f50213b16b86ae8f5000ae78f0bffd08.jpg","text":"TemporaryFile(/tmp/multipartBody6721129190461429462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165723614,"filename":"image_26112025_09_57_40_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396258429","file1":"1396258390","file0":"1396258349","file4":"1396258482","file5":"1396258484","file3":"1396258464"},"map_files_photo_id_array":[{"photo_id":"1396258484","filename":"file5"},{"photo_id":"1396258429","filename":"file2"},{"photo_id":"1396258482","filename":"file4"},{"photo_id":"1396258390","filename":"file1"},{"photo_id":"1396258349","filename":"file0"},{"photo_id":"1396258464","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396258429":["hashtag1","hashtag2"]},{"1396258482":["hashtag1","hashtag2"]},{"1396258464":["hashtag1","hashtag2"]},{"1396258484":["hashtag1","hashtag2"]},{"1396258349":["hashtag1","hashtag2"]},{"1396258390":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396258429, 1396258482, 1396258464, 1396258484, 1396258349, 1396258390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05318570137024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 15:01:42.136519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/09/59/image_26112025_09_59_10_3706.jpg', '/home/pi/Desktop/images/26112025/09/59/image_26112025_09_59_16_2572.jpg', '/home/pi/Desktop/images/26112025/09/59/image_26112025_09_59_19_3739.jpg', '/home/pi/Desktop/images/26112025/09/59/image_26112025_09_59_22_2668.jpg', '/home/pi/Desktop/images/26112025/09/59/image_26112025_09_59_28_3632.jpg', '/home/pi/Desktop/images/26112025/09/59/image_26112025_09_59_31_2560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/09/59/image_26112025_09_59_10_3706.jpg
/home/pi/Desktop/images/26112025/09/59/image_26112025_09_59_16_2572.jpg
/home/pi/Desktop/images/26112025/09/59/image_26112025_09_59_19_3739.jpg
/home/pi/Desktop/images/26112025/09/59/image_26112025_09_59_22_2668.jpg
/home/pi/Desktop/images/26112025/09/59/image_26112025_09_59_28_3632.jpg
/home/pi/Desktop/images/26112025/09/59/image_26112025_09_59_31_2560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396258620","1396258583","1396258509","1396258547","1396258495","1396258492"],"photo_ids_order":["1396258492","1396258495","1396258509","1396258547","1396258583","1396258620"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2a249a350afcf502e2984c611494728c.jpg","text":"TemporaryFile(/tmp/multipartBody9200158870953654478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165762861,"filename":"image_26112025_09_59_31_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/26/6182c2fd5ea48b6cdb7271537fb79bea.jpg","text":"TemporaryFile(/tmp/multipartBody4744943131015332324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165762861,"filename":"image_26112025_09_59_28_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/26/f2693fa24c3c1cd1edbb148135d76402.jpg","text":"TemporaryFile(/tmp/multipartBody8901539432492198216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165762861,"filename":"image_26112025_09_59_19_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/26/9aeccfe3b872fafd01501d00012568c8.jpg","text":"TemporaryFile(/tmp/multipartBody4043966455008044283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165762861,"filename":"image_26112025_09_59_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/26/8c9dad5da912e1b6bf5075f70430c902.jpg","text":"TemporaryFile(/tmp/multipartBody7683593656435231749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165762861,"filename":"image_26112025_09_59_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/26/d43320a791b3b5b845e6c235aba621df.jpg","text":"TemporaryFile(/tmp/multipartBody3041963206559258080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165762861,"filename":"image_26112025_09_59_10_3706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396258509","file1":"1396258495","file0":"1396258492","file4":"1396258583","file5":"1396258620","file3":"1396258547"},"map_files_photo_id_array":[{"photo_id":"1396258620","filename":"file5"},{"photo_id":"1396258509","filename":"file2"},{"photo_id":"1396258583","filename":"file4"},{"photo_id":"1396258495","filename":"file1"},{"photo_id":"1396258492","filename":"file0"},{"photo_id":"1396258547","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396258620":["hashtag1","hashtag2"]},{"1396258583":["hashtag1","hashtag2"]},{"1396258509":["hashtag1","hashtag2"]},{"1396258547":["hashtag1","hashtag2"]},{"1396258495":["hashtag1","hashtag2"]},{"1396258492":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396258620, 1396258583, 1396258509, 1396258547, 1396258495, 1396258492)","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 = 1396258509 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26112025/09/59/image_26112025_09_59_19_3739.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 62.37207078933716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 15:03:03.189825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/01/image_26112025_10_01_07_3019.jpg', '/home/pi/Desktop/images/26112025/10/01/image_26112025_10_01_13_5416.jpg', '/home/pi/Desktop/images/26112025/10/01/image_26112025_10_01_14_1654.jpg', '/home/pi/Desktop/images/26112025/10/01/image_26112025_10_01_17_2676.jpg', '/home/pi/Desktop/images/26112025/10/01/image_26112025_10_01_20_2677.jpg', '/home/pi/Desktop/images/26112025/10/01/image_26112025_10_01_22_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/01/image_26112025_10_01_07_3019.jpg
/home/pi/Desktop/images/26112025/10/01/image_26112025_10_01_13_5416.jpg
/home/pi/Desktop/images/26112025/10/01/image_26112025_10_01_14_1654.jpg
/home/pi/Desktop/images/26112025/10/01/image_26112025_10_01_17_2676.jpg
/home/pi/Desktop/images/26112025/10/01/image_26112025_10_01_20_2677.jpg
/home/pi/Desktop/images/26112025/10/01/image_26112025_10_01_22_2580.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":["1396258813","1396258821","1396258815","1396258818","1396258812","1396258814"],"photo_ids_order":["1396258812","1396258813","1396258814","1396258815","1396258818","1396258821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/04274887899f8fa2e18981f4bd198058.jpg","text":"TemporaryFile(/tmp/multipartBody6777765866375740048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165844420,"filename":"image_26112025_10_01_13_5416.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/87acc067b444572ecaf1d533302318cb.jpg","text":"TemporaryFile(/tmp/multipartBody7058007138095820334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165844420,"filename":"image_26112025_10_01_22_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/26/443c6897ded8daa739acda9d2b419230.jpg","text":"TemporaryFile(/tmp/multipartBody6601328487022456493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165844420,"filename":"image_26112025_10_01_17_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/26/b8258fcfce4d190707071a5d59396d71.jpg","text":"TemporaryFile(/tmp/multipartBody2231652388483061576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165844420,"filename":"image_26112025_10_01_20_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/26/4bfdddf9b7263d9ba045be359eb20c98.jpg","text":"TemporaryFile(/tmp/multipartBody8159433902298202041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165844420,"filename":"image_26112025_10_01_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/26/cc965ff27bc50d93b5a1f5b9dcfd9e21.jpg","text":"TemporaryFile(/tmp/multipartBody169257307089983864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165844420,"filename":"image_26112025_10_01_14_1654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396258814","file1":"1396258813","file0":"1396258812","file4":"1396258818","file5":"1396258821","file3":"1396258815"},"map_files_photo_id_array":[{"photo_id":"1396258821","filename":"file5"},{"photo_id":"1396258814","filename":"file2"},{"photo_id":"1396258818","filename":"file4"},{"photo_id":"1396258813","filename":"file1"},{"photo_id":"1396258812","filename":"file0"},{"photo_id":"1396258815","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396258813":["hashtag1","hashtag2"]},{"1396258821":["hashtag1","hashtag2"]},{"1396258815":["hashtag1","hashtag2"]},{"1396258818":["hashtag1","hashtag2"]},{"1396258812":["hashtag1","hashtag2"]},{"1396258814":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396258813, 1396258821, 1396258815, 1396258818, 1396258812, 1396258814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69790744781494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 15:03:42.563122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/01/image_26112025_10_01_29_2669.jpg', '/home/pi/Desktop/images/26112025/10/01/image_26112025_10_01_31_2586.jpg', '/home/pi/Desktop/images/26112025/10/03/image_26112025_10_03_07_3540.jpg', '/home/pi/Desktop/images/26112025/10/03/image_26112025_10_03_09_2717.jpg', '/home/pi/Desktop/images/26112025/10/03/image_26112025_10_03_13_3677.jpg', '/home/pi/Desktop/images/26112025/10/03/image_26112025_10_03_16_2571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/01/image_26112025_10_01_29_2669.jpg
/home/pi/Desktop/images/26112025/10/01/image_26112025_10_01_31_2586.jpg
/home/pi/Desktop/images/26112025/10/03/image_26112025_10_03_07_3540.jpg
/home/pi/Desktop/images/26112025/10/03/image_26112025_10_03_09_2717.jpg
/home/pi/Desktop/images/26112025/10/03/image_26112025_10_03_13_3677.jpg
/home/pi/Desktop/images/26112025/10/03/image_26112025_10_03_16_2571.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":["1396258834","1396258833","1396258836","1396258830","1396258838","1396258835"],"photo_ids_order":["1396258830","1396258833","1396258834","1396258835","1396258836","1396258838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5c2946d22f33953821694b3a08b672f7.jpg","text":"TemporaryFile(/tmp/multipartBody8501044172334130264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165883270,"filename":"image_26112025_10_03_07_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/26/8036f0bdff58f1d601f6ba300b0ba95c.jpg","text":"TemporaryFile(/tmp/multipartBody3391235258144444802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165883270,"filename":"image_26112025_10_01_31_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/26/58f62750ab4aa96c6da5bcb7cf84e461.jpg","text":"TemporaryFile(/tmp/multipartBody7742094904661460568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165883270,"filename":"image_26112025_10_03_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/26/16d7fcd565dcf68d938d18ea000e7e96.jpg","text":"TemporaryFile(/tmp/multipartBody8442319940380275098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165883270,"filename":"image_26112025_10_01_29_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/26/660075d9b3afd39d748c99034a86f88a.jpg","text":"TemporaryFile(/tmp/multipartBody1165537274036907428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165883270,"filename":"image_26112025_10_03_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/26/200de87b848e372efa3cb11550ceaae5.jpg","text":"TemporaryFile(/tmp/multipartBody1652391887981676657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165883270,"filename":"image_26112025_10_03_09_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396258834","file1":"1396258833","file0":"1396258830","file4":"1396258836","file5":"1396258838","file3":"1396258835"},"map_files_photo_id_array":[{"photo_id":"1396258838","filename":"file5"},{"photo_id":"1396258834","filename":"file2"},{"photo_id":"1396258836","filename":"file4"},{"photo_id":"1396258833","filename":"file1"},{"photo_id":"1396258830","filename":"file0"},{"photo_id":"1396258835","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396258834":["hashtag1","hashtag2"]},{"1396258833":["hashtag1","hashtag2"]},{"1396258836":["hashtag1","hashtag2"]},{"1396258830":["hashtag1","hashtag2"]},{"1396258838":["hashtag1","hashtag2"]},{"1396258835":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396258834, 1396258833, 1396258836, 1396258830, 1396258838, 1396258835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43304634094238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 15:04:22.785442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/03/image_26112025_10_03_18_2811.jpg', '/home/pi/Desktop/images/26112025/10/03/image_26112025_10_03_21_2857.jpg', '/home/pi/Desktop/images/26112025/10/03/image_26112025_10_03_25_3639.jpg', '/home/pi/Desktop/images/26112025/10/03/image_26112025_10_03_28_2588.jpg', '/home/pi/Desktop/images/26112025/10/03/image_26112025_10_03_31_3142.jpg', '/home/pi/Desktop/images/26112025/10/03/image_26112025_10_03_33_2528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/03/image_26112025_10_03_18_2811.jpg
/home/pi/Desktop/images/26112025/10/03/image_26112025_10_03_21_2857.jpg
/home/pi/Desktop/images/26112025/10/03/image_26112025_10_03_25_3639.jpg
/home/pi/Desktop/images/26112025/10/03/image_26112025_10_03_28_2588.jpg
/home/pi/Desktop/images/26112025/10/03/image_26112025_10_03_31_3142.jpg
/home/pi/Desktop/images/26112025/10/03/image_26112025_10_03_33_2528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396258852","1396258866","1396258869","1396258863","1396258856","1396258849"],"photo_ids_order":["1396258849","1396258852","1396258856","1396258863","1396258866","1396258869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/86adbf1f892b0b769372845758de5c16.jpg","text":"TemporaryFile(/tmp/multipartBody8737167192642642273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165923497,"filename":"image_26112025_10_03_21_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/26/c62546857678c72f616ed1e0e8ea994f.jpg","text":"TemporaryFile(/tmp/multipartBody607663609448201623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165923497,"filename":"image_26112025_10_03_31_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/26/641f68918de5c24e89ea1fb8e2026b73.jpg","text":"TemporaryFile(/tmp/multipartBody1482017793474046901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165923497,"filename":"image_26112025_10_03_33_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/26/4bb7eba41129854a909fe3e3e7eb98d1.jpg","text":"TemporaryFile(/tmp/multipartBody4330383701588584452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165923497,"filename":"image_26112025_10_03_28_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/26/84f918bfa12a89d5480591c1ad58e2c4.jpg","text":"TemporaryFile(/tmp/multipartBody6630816888813248726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165923497,"filename":"image_26112025_10_03_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/26/e698f641bea8b0db1baa2d2f3876cb6a.jpg","text":"TemporaryFile(/tmp/multipartBody5008453784623814115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165923497,"filename":"image_26112025_10_03_18_2811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396258856","file1":"1396258852","file0":"1396258849","file4":"1396258866","file5":"1396258869","file3":"1396258863"},"map_files_photo_id_array":[{"photo_id":"1396258869","filename":"file5"},{"photo_id":"1396258856","filename":"file2"},{"photo_id":"1396258866","filename":"file4"},{"photo_id":"1396258852","filename":"file1"},{"photo_id":"1396258849","filename":"file0"},{"photo_id":"1396258863","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396258852":["hashtag1","hashtag2"]},{"1396258866":["hashtag1","hashtag2"]},{"1396258869":["hashtag1","hashtag2"]},{"1396258863":["hashtag1","hashtag2"]},{"1396258856":["hashtag1","hashtag2"]},{"1396258849":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396258852, 1396258866, 1396258869, 1396258863, 1396258856, 1396258849)","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: 50.53801894187927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 15:05:24.682778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/03/image_26112025_10_03_40_2556.jpg', '/home/pi/Desktop/images/26112025/10/04/image_26112025_10_04_07_3049.jpg', '/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_07_3018.jpg', '/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_11_3648.jpg', '/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_13_2707.jpg', '/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_22_8806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/03/image_26112025_10_03_40_2556.jpg
/home/pi/Desktop/images/26112025/10/04/image_26112025_10_04_07_3049.jpg
/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_07_3018.jpg
/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_11_3648.jpg
/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_13_2707.jpg
/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_22_8806.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":["1396258887","1396258889","1396258880","1396258898","1396258883","1396258877"],"photo_ids_order":["1396258877","1396258880","1396258883","1396258887","1396258889","1396258898"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8701fd574c55d00958916b7996c6af58.jpg","text":"TemporaryFile(/tmp/multipartBody304682951542357927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165985370,"filename":"image_26112025_10_06_11_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/26/693a5de52ea52cf8c24baeacaae5d692.jpg","text":"TemporaryFile(/tmp/multipartBody3991806548785059659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165985370,"filename":"image_26112025_10_06_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/26/5f21eebcaeb6ed8c72b2e371dd7c860d.jpg","text":"TemporaryFile(/tmp/multipartBody3335534213592222421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165985370,"filename":"image_26112025_10_04_07_3049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f73a1ca9e85486e2b4c19041f29cea5b.jpg","text":"TemporaryFile(/tmp/multipartBody5437902362582155370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165985370,"filename":"image_26112025_10_06_22_8806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4d8d01872a34642586cf73b354d10786.jpg","text":"TemporaryFile(/tmp/multipartBody2608363187293449692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165985370,"filename":"image_26112025_10_06_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/26/7d1def6bd169d04f8f92238be2866486.jpg","text":"TemporaryFile(/tmp/multipartBody3949335374264363046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764165985370,"filename":"image_26112025_10_03_40_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396258883","file1":"1396258880","file0":"1396258877","file4":"1396258889","file5":"1396258898","file3":"1396258887"},"map_files_photo_id_array":[{"photo_id":"1396258898","filename":"file5"},{"photo_id":"1396258883","filename":"file2"},{"photo_id":"1396258889","filename":"file4"},{"photo_id":"1396258880","filename":"file1"},{"photo_id":"1396258877","filename":"file0"},{"photo_id":"1396258887","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396258887":["hashtag1","hashtag2"]},{"1396258889":["hashtag1","hashtag2"]},{"1396258880":["hashtag1","hashtag2"]},{"1396258898":["hashtag1","hashtag2"]},{"1396258883":["hashtag1","hashtag2"]},{"1396258877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396258887, 1396258889, 1396258880, 1396258898, 1396258883, 1396258877)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.167792081832886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 15:06:14.649041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_24_1553.jpg', '/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_26_1830.jpg', '/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_28_1867.jpg', '/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_29_1571.jpg', '/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_32_2593.jpg', '/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_34_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_24_1553.jpg
/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_26_1830.jpg
/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_28_1867.jpg
/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_29_1571.jpg
/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_32_2593.jpg
/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_34_2603.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":["1396258903","1396258912","1396258906","1396258915","1396258909","1396258900"],"photo_ids_order":["1396258900","1396258903","1396258906","1396258909","1396258912","1396258915"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/beed72114053220bfdc5e6534969401a.jpg","text":"TemporaryFile(/tmp/multipartBody384176806446741527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166035331,"filename":"image_26112025_10_06_26_1830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/198952c76dd9a7f659426f418275ccd0.jpg","text":"TemporaryFile(/tmp/multipartBody3851959813780116014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166035331,"filename":"image_26112025_10_06_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/26/2ee695f926248d8a78fae897a402163e.jpg","text":"TemporaryFile(/tmp/multipartBody8701886912008604827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166035331,"filename":"image_26112025_10_06_28_1867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1605b6eb73dd05fad1a3430f3b4028da.jpg","text":"TemporaryFile(/tmp/multipartBody670526861282064963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166035331,"filename":"image_26112025_10_06_34_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/26/5376d1faa856bf5718d4eefd85451ce0.jpg","text":"TemporaryFile(/tmp/multipartBody7822154162447584700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166035331,"filename":"image_26112025_10_06_29_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/26/173f03d2fd7936887e0c431739f6b8b1.jpg","text":"TemporaryFile(/tmp/multipartBody4584577709606010786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166035331,"filename":"image_26112025_10_06_24_1553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396258906","file1":"1396258903","file0":"1396258900","file4":"1396258912","file5":"1396258915","file3":"1396258909"},"map_files_photo_id_array":[{"photo_id":"1396258915","filename":"file5"},{"photo_id":"1396258906","filename":"file2"},{"photo_id":"1396258912","filename":"file4"},{"photo_id":"1396258903","filename":"file1"},{"photo_id":"1396258900","filename":"file0"},{"photo_id":"1396258909","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396258903":["hashtag1","hashtag2"]},{"1396258912":["hashtag1","hashtag2"]},{"1396258906":["hashtag1","hashtag2"]},{"1396258915":["hashtag1","hashtag2"]},{"1396258909":["hashtag1","hashtag2"]},{"1396258900":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396258903, 1396258912, 1396258906, 1396258915, 1396258909, 1396258900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.12264156341553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 15:07:03.481264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_38_3635.jpg', '/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_41_2718.jpg', '/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_43_2730.jpg', '/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_48_4720.jpg', '/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_50_1691.jpg', '/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_53_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_38_3635.jpg
/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_41_2718.jpg
/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_43_2730.jpg
/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_48_4720.jpg
/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_50_1691.jpg
/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_53_2691.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":["1396258930","1396258920","1396258923","1396258925","1396258922","1396258921"],"photo_ids_order":["1396258920","1396258921","1396258922","1396258923","1396258925","1396258930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4b171355f37a76fb52b12d51534eca56.jpg","text":"TemporaryFile(/tmp/multipartBody5726477467950103754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166084350,"filename":"image_26112025_10_06_53_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/26/61f6b2f1d937eaac8fd4762b6b33fcd5.jpg","text":"TemporaryFile(/tmp/multipartBody4706191427375423596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166084350,"filename":"image_26112025_10_06_38_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/26/247eb65fd59b20762862e5567cf5c3b5.jpg","text":"TemporaryFile(/tmp/multipartBody4991404375774048361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166084350,"filename":"image_26112025_10_06_48_4720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/27990b0c740b2b7eb6e778be5be3b3a3.jpg","text":"TemporaryFile(/tmp/multipartBody343620464583724855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166084350,"filename":"image_26112025_10_06_50_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/26/e77da3498c084fbfb7f1c0d69880cc66.jpg","text":"TemporaryFile(/tmp/multipartBody5252045582310872342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166084350,"filename":"image_26112025_10_06_43_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/26/ac764b14402400abc116262413b8ed1c.jpg","text":"TemporaryFile(/tmp/multipartBody4618748374211865728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166084350,"filename":"image_26112025_10_06_41_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396258922","file1":"1396258921","file0":"1396258920","file4":"1396258925","file5":"1396258930","file3":"1396258923"},"map_files_photo_id_array":[{"photo_id":"1396258930","filename":"file5"},{"photo_id":"1396258922","filename":"file2"},{"photo_id":"1396258925","filename":"file4"},{"photo_id":"1396258921","filename":"file1"},{"photo_id":"1396258920","filename":"file0"},{"photo_id":"1396258923","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396258930":["hashtag1","hashtag2"]},{"1396258920":["hashtag1","hashtag2"]},{"1396258923":["hashtag1","hashtag2"]},{"1396258925":["hashtag1","hashtag2"]},{"1396258922":["hashtag1","hashtag2"]},{"1396258921":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396258930, 1396258920, 1396258923, 1396258925, 1396258922, 1396258921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.596099853515625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 15:07:42.806575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_55_2763.jpg', '/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_58_2821.jpg', '/home/pi/Desktop/images/26112025/10/07/image_26112025_10_07_02_3735.jpg', '/home/pi/Desktop/images/26112025/10/07/image_26112025_10_07_04_2561.jpg', '/home/pi/Desktop/images/26112025/10/07/image_26112025_10_07_07_2678.jpg', '/home/pi/Desktop/images/26112025/10/07/image_26112025_10_07_11_3522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_55_2763.jpg
/home/pi/Desktop/images/26112025/10/06/image_26112025_10_06_58_2821.jpg
/home/pi/Desktop/images/26112025/10/07/image_26112025_10_07_02_3735.jpg
/home/pi/Desktop/images/26112025/10/07/image_26112025_10_07_04_2561.jpg
/home/pi/Desktop/images/26112025/10/07/image_26112025_10_07_07_2678.jpg
/home/pi/Desktop/images/26112025/10/07/image_26112025_10_07_11_3522.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":["1396258945","1396258941","1396258944","1396258938","1396258943","1396258942"],"photo_ids_order":["1396258938","1396258941","1396258942","1396258943","1396258944","1396258945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e2de57a869cdec6468b0f946245987eb.jpg","text":"TemporaryFile(/tmp/multipartBody6347437837951763843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166123510,"filename":"image_26112025_10_07_11_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/26/2423c1164af7094628bea5443e378acd.jpg","text":"TemporaryFile(/tmp/multipartBody8246859435043380000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166123510,"filename":"image_26112025_10_06_58_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/26/40e6cad55343fa9ae38cc10af096e910.jpg","text":"TemporaryFile(/tmp/multipartBody5748890146170730986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166123510,"filename":"image_26112025_10_07_07_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/26/42192e37dbe8e6276946ffd6da6d3e60.jpg","text":"TemporaryFile(/tmp/multipartBody580798405868997880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166123510,"filename":"image_26112025_10_06_55_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5d7b35eac35e8392362f31976159f337.jpg","text":"TemporaryFile(/tmp/multipartBody8152443455544509988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166123510,"filename":"image_26112025_10_07_04_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/26/0000b0dc977a7366e2956fd3fee8bbfe.jpg","text":"TemporaryFile(/tmp/multipartBody1228800982629742807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166123510,"filename":"image_26112025_10_07_02_3735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396258942","file1":"1396258941","file0":"1396258938","file4":"1396258944","file5":"1396258945","file3":"1396258943"},"map_files_photo_id_array":[{"photo_id":"1396258945","filename":"file5"},{"photo_id":"1396258942","filename":"file2"},{"photo_id":"1396258944","filename":"file4"},{"photo_id":"1396258941","filename":"file1"},{"photo_id":"1396258938","filename":"file0"},{"photo_id":"1396258943","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396258945":["hashtag1","hashtag2"]},{"1396258941":["hashtag1","hashtag2"]},{"1396258944":["hashtag1","hashtag2"]},{"1396258938":["hashtag1","hashtag2"]},{"1396258943":["hashtag1","hashtag2"]},{"1396258942":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396258945, 1396258941, 1396258944, 1396258938, 1396258943, 1396258942)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.27640390396118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 15:08:32.067470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/07/image_26112025_10_07_13_2811.jpg', '/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_07_3019.jpg', '/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_11_3735.jpg', '/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_13_2663.jpg', '/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_16_2746.jpg', '/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_19_2815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/07/image_26112025_10_07_13_2811.jpg
/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_07_3019.jpg
/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_11_3735.jpg
/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_13_2663.jpg
/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_16_2746.jpg
/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_19_2815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396258953","1396258962","1396258964","1396258960","1396258963","1396258957"],"photo_ids_order":["1396258953","1396258957","1396258960","1396258962","1396258963","1396258964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/05ab92345ae9ae0f143c93b2db81298c.jpg","text":"TemporaryFile(/tmp/multipartBody7494531957292336101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166173638,"filename":"image_26112025_10_07_13_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/26/6d3c001f73f9cff09a542842595d8890.jpg","text":"TemporaryFile(/tmp/multipartBody441953287420792824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166173638,"filename":"image_26112025_10_08_13_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/26/545fc9032bf6577e9f427b130d132993.jpg","text":"TemporaryFile(/tmp/multipartBody2160391172822877529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166173638,"filename":"image_26112025_10_08_19_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/26/28e77d16a4ee4135a6f38b1f0e514797.jpg","text":"TemporaryFile(/tmp/multipartBody5960351641157651542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166173638,"filename":"image_26112025_10_08_11_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/26/92db183b60fe2c00ff214e7f2cfbffbf.jpg","text":"TemporaryFile(/tmp/multipartBody26443420245421040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166173638,"filename":"image_26112025_10_08_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/26/b588fa49733b8c7b7a4cb782d3f8f4e4.jpg","text":"TemporaryFile(/tmp/multipartBody5986783307906780373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166173638,"filename":"image_26112025_10_08_07_3019.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396258960","file1":"1396258957","file0":"1396258953","file4":"1396258963","file5":"1396258964","file3":"1396258962"},"map_files_photo_id_array":[{"photo_id":"1396258964","filename":"file5"},{"photo_id":"1396258960","filename":"file2"},{"photo_id":"1396258963","filename":"file4"},{"photo_id":"1396258957","filename":"file1"},{"photo_id":"1396258953","filename":"file0"},{"photo_id":"1396258962","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396258953":["hashtag1","hashtag2"]},{"1396258962":["hashtag1","hashtag2"]},{"1396258964":["hashtag1","hashtag2"]},{"1396258960":["hashtag1","hashtag2"]},{"1396258963":["hashtag1","hashtag2"]},{"1396258957":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396258953, 1396258962, 1396258964, 1396258960, 1396258963, 1396258957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93472671508789 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 15:09:13.243474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_22_3614.jpg', '/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_25_2608.jpg', '/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_28_2780.jpg', '/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_32_3753.jpg', '/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_34_2551.jpg', '/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_37_2863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_22_3614.jpg
/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_25_2608.jpg
/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_28_2780.jpg
/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_32_3753.jpg
/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_34_2551.jpg
/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_37_2863.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":["1396258977","1396258971","1396258965","1396258974","1396258968","1396258966"],"photo_ids_order":["1396258965","1396258966","1396258968","1396258971","1396258974","1396258977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3da456302e875e68077e860fa7dd11ad.jpg","text":"TemporaryFile(/tmp/multipartBody3680526171735056775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166213983,"filename":"image_26112025_10_08_37_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/26/e2262819f144f01e1e4abaa21d3207ab.jpg","text":"TemporaryFile(/tmp/multipartBody1413239399246443050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166213983,"filename":"image_26112025_10_08_32_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/26/d5ede1dcf3e60c9ad4f77ade8c40e758.jpg","text":"TemporaryFile(/tmp/multipartBody1114450129057472422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166213983,"filename":"image_26112025_10_08_22_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/26/dabdbc8e87ebe26d117ca7e40110861e.jpg","text":"TemporaryFile(/tmp/multipartBody6644538037344483319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166213983,"filename":"image_26112025_10_08_34_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/26/35374e0ab0be54abe04b299813e93662.jpg","text":"TemporaryFile(/tmp/multipartBody7115830723366871915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166213983,"filename":"image_26112025_10_08_28_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/26/a4c17e955af22492d84d69d3ab8ee901.jpg","text":"TemporaryFile(/tmp/multipartBody7344145360878046643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166213983,"filename":"image_26112025_10_08_25_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396258968","file1":"1396258966","file0":"1396258965","file4":"1396258974","file5":"1396258977","file3":"1396258971"},"map_files_photo_id_array":[{"photo_id":"1396258977","filename":"file5"},{"photo_id":"1396258968","filename":"file2"},{"photo_id":"1396258974","filename":"file4"},{"photo_id":"1396258966","filename":"file1"},{"photo_id":"1396258965","filename":"file0"},{"photo_id":"1396258971","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396258977":["hashtag1","hashtag2"]},{"1396258971":["hashtag1","hashtag2"]},{"1396258965":["hashtag1","hashtag2"]},{"1396258974":["hashtag1","hashtag2"]},{"1396258968":["hashtag1","hashtag2"]},{"1396258966":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396258977, 1396258971, 1396258965, 1396258974, 1396258968, 1396258966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.04779815673828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 15:10:02.841307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_41_3714.jpg', '/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_43_2687.jpg', '/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_46_2639.jpg', '/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_49_2854.jpg', '/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_07_3019.jpg', '/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_10_3198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_41_3714.jpg
/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_43_2687.jpg
/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_46_2639.jpg
/home/pi/Desktop/images/26112025/10/08/image_26112025_10_08_49_2854.jpg
/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_07_3019.jpg
/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_10_3198.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":["1396258989","1396258991","1396258999","1396258990","1396258993","1396258996"],"photo_ids_order":["1396258989","1396258990","1396258991","1396258993","1396258996","1396258999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d4b2a2a0f84a34d3f402a62829d0d5e0.jpg","text":"TemporaryFile(/tmp/multipartBody4133240420300800454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166263642,"filename":"image_26112025_10_08_41_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/26/5db045a157161210487125eebfb07902.jpg","text":"TemporaryFile(/tmp/multipartBody3365274110836994270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166263642,"filename":"image_26112025_10_08_46_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/26/e007b7b221765a648e312b005ff0836e.jpg","text":"TemporaryFile(/tmp/multipartBody1582701822627287175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166263642,"filename":"image_26112025_10_11_10_3198.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a971d4d9e1c12e1e91f278a3df4e9ace.jpg","text":"TemporaryFile(/tmp/multipartBody9007102338185129585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166263642,"filename":"image_26112025_10_08_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/26/55c340b30dec5364baef8c2a8a0ba39e.jpg","text":"TemporaryFile(/tmp/multipartBody445094080805290065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166263642,"filename":"image_26112025_10_08_49_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/26/742716e7a6dc9630204b6e46fdb8cd4e.jpg","text":"TemporaryFile(/tmp/multipartBody4606793651562925252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166263642,"filename":"image_26112025_10_11_07_3019.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396258991","file1":"1396258990","file0":"1396258989","file4":"1396258996","file5":"1396258999","file3":"1396258993"},"map_files_photo_id_array":[{"photo_id":"1396258999","filename":"file5"},{"photo_id":"1396258991","filename":"file2"},{"photo_id":"1396258996","filename":"file4"},{"photo_id":"1396258990","filename":"file1"},{"photo_id":"1396258989","filename":"file0"},{"photo_id":"1396258993","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396258989":["hashtag1","hashtag2"]},{"1396258991":["hashtag1","hashtag2"]},{"1396258999":["hashtag1","hashtag2"]},{"1396258990":["hashtag1","hashtag2"]},{"1396258993":["hashtag1","hashtag2"]},{"1396258996":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396258989, 1396258991, 1396258999, 1396258990, 1396258993, 1396258996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59452700614929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 15:10:42.362318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_14_3742.jpg', '/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_18_4285.jpg', '/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_22_2781.jpg', '/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_25_2664.jpg', '/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_28_2796.jpg', '/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_31_3567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_14_3742.jpg
/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_18_4285.jpg
/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_22_2781.jpg
/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_25_2664.jpg
/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_28_2796.jpg
/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_31_3567.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":["1396259014","1396259016","1396259010","1396259018","1396259021","1396259020"],"photo_ids_order":["1396259010","1396259014","1396259016","1396259018","1396259020","1396259021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/61151d21d1bcff73d25cda5b0bc4796a.jpg","text":"TemporaryFile(/tmp/multipartBody5138692636173355526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166303104,"filename":"image_26112025_10_11_18_4285.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/559be552d5394fc83fd1bd46fae3cdef.jpg","text":"TemporaryFile(/tmp/multipartBody3639265463344195161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166303104,"filename":"image_26112025_10_11_22_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/26/48c70a0813bddde6a78a7d2e26a81437.jpg","text":"TemporaryFile(/tmp/multipartBody4697482312742776670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166303104,"filename":"image_26112025_10_11_14_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/26/c7c0bffb46210bed08099254eca3f413.jpg","text":"TemporaryFile(/tmp/multipartBody4749965064840905186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166303104,"filename":"image_26112025_10_11_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/26/0f8d882fdd94d15981baa3e443613ccf.jpg","text":"TemporaryFile(/tmp/multipartBody6464265118257916126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166303104,"filename":"image_26112025_10_11_31_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/26/d795b43fef5934276a17f0fe0bf3a7c9.jpg","text":"TemporaryFile(/tmp/multipartBody2056589948636131953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166303104,"filename":"image_26112025_10_11_28_2796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396259016","file1":"1396259014","file0":"1396259010","file4":"1396259020","file5":"1396259021","file3":"1396259018"},"map_files_photo_id_array":[{"photo_id":"1396259021","filename":"file5"},{"photo_id":"1396259016","filename":"file2"},{"photo_id":"1396259020","filename":"file4"},{"photo_id":"1396259014","filename":"file1"},{"photo_id":"1396259010","filename":"file0"},{"photo_id":"1396259018","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396259014":["hashtag1","hashtag2"]},{"1396259016":["hashtag1","hashtag2"]},{"1396259010":["hashtag1","hashtag2"]},{"1396259018":["hashtag1","hashtag2"]},{"1396259021":["hashtag1","hashtag2"]},{"1396259020":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396259014, 1396259016, 1396259010, 1396259018, 1396259021, 1396259020)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 78.51013827323914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 15:12:02.571603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_34_2896.jpg', '/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_37_2635.jpg', '/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_40_2696.jpg', '/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_48_7928.jpg', '/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_49_1706.jpg', '/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_53_3689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_34_2896.jpg
/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_37_2635.jpg
/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_40_2696.jpg
/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_48_7928.jpg
/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_49_1706.jpg
/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_53_3689.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":["1396259130","1396259127","1396259124","1396259123","1396259117","1396259105"],"photo_ids_order":["1396259105","1396259117","1396259123","1396259124","1396259127","1396259130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/feb342206f18e1741a3e48d337e19db8.jpg","text":"TemporaryFile(/tmp/multipartBody8958722308946181794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166383375,"filename":"image_26112025_10_11_53_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/26/b0e035a19751082ccc36614d76c005a2.jpg","text":"TemporaryFile(/tmp/multipartBody1420566346919673738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166383375,"filename":"image_26112025_10_11_49_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c7ece318b5ad78bd6e931c53c8b68a59.jpg","text":"TemporaryFile(/tmp/multipartBody7249415996003365656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166383375,"filename":"image_26112025_10_11_48_7928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/144b26b28a13543c5490d30d211a5158.jpg","text":"TemporaryFile(/tmp/multipartBody2897139778341245034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166383375,"filename":"image_26112025_10_11_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/26/be064848d741829c7d063a04e3257b86.jpg","text":"TemporaryFile(/tmp/multipartBody1181973598334077120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166383375,"filename":"image_26112025_10_11_37_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/26/5497300a97fba5558dead970f659c3aa.jpg","text":"TemporaryFile(/tmp/multipartBody3806398368646911140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166383375,"filename":"image_26112025_10_11_34_2896.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396259123","file1":"1396259117","file0":"1396259105","file4":"1396259127","file5":"1396259130","file3":"1396259124"},"map_files_photo_id_array":[{"photo_id":"1396259130","filename":"file5"},{"photo_id":"1396259123","filename":"file2"},{"photo_id":"1396259127","filename":"file4"},{"photo_id":"1396259117","filename":"file1"},{"photo_id":"1396259105","filename":"file0"},{"photo_id":"1396259124","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396259130":["hashtag1","hashtag2"]},{"1396259127":["hashtag1","hashtag2"]},{"1396259124":["hashtag1","hashtag2"]},{"1396259123":["hashtag1","hashtag2"]},{"1396259117":["hashtag1","hashtag2"]},{"1396259105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396259130, 1396259127, 1396259124, 1396259123, 1396259117, 1396259105)","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 = 1396259123 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_40_2696.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 64.6402633190155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 15:13:12.642569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_55_1729.jpg', '/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_02_7249.jpg', '/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_08_5905.jpg', '/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_10_1608.jpg', '/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_17_7097.jpg', '/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_18_1614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/11/image_26112025_10_11_55_1729.jpg
/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_02_7249.jpg
/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_08_5905.jpg
/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_10_1608.jpg
/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_17_7097.jpg
/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_18_1614.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":["1396259142","1396259153","1396259156","1396259159","1396259150","1396259147"],"photo_ids_order":["1396259142","1396259147","1396259150","1396259153","1396259156","1396259159"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b13608e82f9c5a6001e3c83d64856da5.jpg","text":"TemporaryFile(/tmp/multipartBody2317608915716132776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166453354,"filename":"image_26112025_10_11_55_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/26/14954d57b373b2012856145c32e9f744.jpg","text":"TemporaryFile(/tmp/multipartBody3869736451360651265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166453354,"filename":"image_26112025_10_12_10_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/26/11c81c614f513a6a4ebce116602d7b49.jpg","text":"TemporaryFile(/tmp/multipartBody1917540955843897004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166453354,"filename":"image_26112025_10_12_17_7097.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/552fd664d45c1adc29b3caeb981d6c00.jpg","text":"TemporaryFile(/tmp/multipartBody873280999785025358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166453354,"filename":"image_26112025_10_12_18_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/34c4c52107b3269707d30f02bdd9706c.jpg","text":"TemporaryFile(/tmp/multipartBody8807872574649022414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166453354,"filename":"image_26112025_10_12_08_5905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1aeb2417128886b34164168a4028f835.jpg","text":"TemporaryFile(/tmp/multipartBody1646066017696496324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166453354,"filename":"image_26112025_10_12_02_7249.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396259150","file1":"1396259147","file0":"1396259142","file4":"1396259156","file5":"1396259159","file3":"1396259153"},"map_files_photo_id_array":[{"photo_id":"1396259159","filename":"file5"},{"photo_id":"1396259150","filename":"file2"},{"photo_id":"1396259156","filename":"file4"},{"photo_id":"1396259147","filename":"file1"},{"photo_id":"1396259142","filename":"file0"},{"photo_id":"1396259153","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396259142":["hashtag1","hashtag2"]},{"1396259153":["hashtag1","hashtag2"]},{"1396259156":["hashtag1","hashtag2"]},{"1396259159":["hashtag1","hashtag2"]},{"1396259150":["hashtag1","hashtag2"]},{"1396259147":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396259142, 1396259153, 1396259156, 1396259159, 1396259150, 1396259147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78397083282471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 15:14:02.693339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_20_1720.jpg', '/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_26_3930.jpg', '/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_27_1771.jpg', '/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_29_1687.jpg', '/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_31_1705.jpg', '/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_36_1803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_20_1720.jpg
/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_26_3930.jpg
/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_27_1771.jpg
/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_29_1687.jpg
/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_31_1705.jpg
/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_36_1803.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":["1396259163","1396259166","1396259171","1396259168","1396259162","1396259165"],"photo_ids_order":["1396259162","1396259163","1396259165","1396259166","1396259168","1396259171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a7a2d454af5f3e1638ffef6ef8c0bd03.jpg","text":"TemporaryFile(/tmp/multipartBody1123511813995420475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166503537,"filename":"image_26112025_10_12_26_3930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2ca9fb749a1f6455476f9d1e82ada7da.jpg","text":"TemporaryFile(/tmp/multipartBody24772485823591914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166503537,"filename":"image_26112025_10_12_29_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/26/b96e42892c57da89ba346e2cfd5d5cbf.jpg","text":"TemporaryFile(/tmp/multipartBody3185685956054679694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166503537,"filename":"image_26112025_10_12_36_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/26/3be9a771650791025db1f6740d69f85d.jpg","text":"TemporaryFile(/tmp/multipartBody5947284228279431690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166503537,"filename":"image_26112025_10_12_31_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/26/2d0978d611c2b2cde7485d4ff41662ed.jpg","text":"TemporaryFile(/tmp/multipartBody8670867134705418425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166503537,"filename":"image_26112025_10_12_20_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/26/433d513c885ca3bdb2688d32e075da56.jpg","text":"TemporaryFile(/tmp/multipartBody6368617379686654915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166503537,"filename":"image_26112025_10_12_27_1771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396259165","file1":"1396259163","file0":"1396259162","file4":"1396259168","file5":"1396259171","file3":"1396259166"},"map_files_photo_id_array":[{"photo_id":"1396259171","filename":"file5"},{"photo_id":"1396259165","filename":"file2"},{"photo_id":"1396259168","filename":"file4"},{"photo_id":"1396259163","filename":"file1"},{"photo_id":"1396259162","filename":"file0"},{"photo_id":"1396259166","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396259163":["hashtag1","hashtag2"]},{"1396259166":["hashtag1","hashtag2"]},{"1396259171":["hashtag1","hashtag2"]},{"1396259168":["hashtag1","hashtag2"]},{"1396259162":["hashtag1","hashtag2"]},{"1396259165":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396259163, 1396259166, 1396259171, 1396259168, 1396259162, 1396259165)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 56.22961187362671 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 15:15:02.673768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_38_1811.jpg', '/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_40_1615.jpg', '/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_41_1558.jpg', '/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_07_3020.jpg', '/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_11_3609.jpg', '/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_13_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_38_1811.jpg
/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_40_1615.jpg
/home/pi/Desktop/images/26112025/10/12/image_26112025_10_12_41_1558.jpg
/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_07_3020.jpg
/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_11_3609.jpg
/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_13_2617.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":["1396259190","1396259186","1396259185","1396259188","1396259200","1396259187"],"photo_ids_order":["1396259185","1396259186","1396259187","1396259188","1396259190","1396259200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/42d221e3955ee9ae2a4e105f1daa5570.jpg","text":"TemporaryFile(/tmp/multipartBody599696230273757382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166563482,"filename":"image_26112025_10_15_11_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/26/b3669e2c1781f5112e4d6f4aa0b9aafb.jpg","text":"TemporaryFile(/tmp/multipartBody7790712629983731150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166563482,"filename":"image_26112025_10_12_40_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/26/8fbcb4d93aa55844fae5bf6f6b5b7b04.jpg","text":"TemporaryFile(/tmp/multipartBody2678190574454065109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166563482,"filename":"image_26112025_10_12_38_1811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dd1ad50dc6ef88c6645c43fed01d595a.jpg","text":"TemporaryFile(/tmp/multipartBody131758887146098767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166563482,"filename":"image_26112025_10_15_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/26/bb1bf7b0e600da857f25eaacaa6132d0.jpg","text":"TemporaryFile(/tmp/multipartBody688915261966037044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166563482,"filename":"image_26112025_10_15_13_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/26/778ccb25f33308281026bdf2d0855511.jpg","text":"TemporaryFile(/tmp/multipartBody1829907415388788222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166563482,"filename":"image_26112025_10_12_41_1558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396259187","file1":"1396259186","file0":"1396259185","file4":"1396259190","file5":"1396259200","file3":"1396259188"},"map_files_photo_id_array":[{"photo_id":"1396259200","filename":"file5"},{"photo_id":"1396259187","filename":"file2"},{"photo_id":"1396259190","filename":"file4"},{"photo_id":"1396259186","filename":"file1"},{"photo_id":"1396259185","filename":"file0"},{"photo_id":"1396259188","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396259190":["hashtag1","hashtag2"]},{"1396259186":["hashtag1","hashtag2"]},{"1396259185":["hashtag1","hashtag2"]},{"1396259188":["hashtag1","hashtag2"]},{"1396259200":["hashtag1","hashtag2"]},{"1396259187":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396259190, 1396259186, 1396259185, 1396259188, 1396259200, 1396259187)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 50.36872673034668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 15:16:05.911868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_16_2774.jpg', '/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_20_3612.jpg', '/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_23_2752.jpg', '/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_25_2734.jpg', '/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_29_3556.jpg', '/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_32_2844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_16_2774.jpg
/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_20_3612.jpg
/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_23_2752.jpg
/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_25_2734.jpg
/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_29_3556.jpg
/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_32_2844.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":["1396259238","1396259220","1396259214","1396259234","1396259213","1396259215"],"photo_ids_order":["1396259213","1396259214","1396259215","1396259220","1396259234","1396259238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/95dbd234fc810e350876dc1b5b52112c.jpg","text":"TemporaryFile(/tmp/multipartBody5728389614707736989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166628523,"filename":"image_26112025_10_15_32_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/26/2dacc1bbc8d3bfeef7b10f38972382a8.jpg","text":"TemporaryFile(/tmp/multipartBody6504532017672643311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166628523,"filename":"image_26112025_10_15_25_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/26/8c2dfde2cee6ee8c673566ff9720fa59.jpg","text":"TemporaryFile(/tmp/multipartBody8009981038755744949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166628523,"filename":"image_26112025_10_15_20_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/26/81b2cc96c54fb2c59148a068fda23c37.jpg","text":"TemporaryFile(/tmp/multipartBody4038463245996239416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166628523,"filename":"image_26112025_10_15_29_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/26/e2cec58ecd531889e872c2f117a58629.jpg","text":"TemporaryFile(/tmp/multipartBody3641557319257557828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166628523,"filename":"image_26112025_10_15_16_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/26/456eec42d9fd270304d9d779fa032307.jpg","text":"TemporaryFile(/tmp/multipartBody7100531313008912092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166628523,"filename":"image_26112025_10_15_23_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396259215","file1":"1396259214","file0":"1396259213","file4":"1396259234","file5":"1396259238","file3":"1396259220"},"map_files_photo_id_array":[{"photo_id":"1396259238","filename":"file5"},{"photo_id":"1396259215","filename":"file2"},{"photo_id":"1396259234","filename":"file4"},{"photo_id":"1396259214","filename":"file1"},{"photo_id":"1396259213","filename":"file0"},{"photo_id":"1396259220","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396259238":["hashtag1","hashtag2"]},{"1396259220":["hashtag1","hashtag2"]},{"1396259214":["hashtag1","hashtag2"]},{"1396259234":["hashtag1","hashtag2"]},{"1396259213":["hashtag1","hashtag2"]},{"1396259215":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396259238, 1396259220, 1396259214, 1396259234, 1396259213, 1396259215)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 60.310019969940186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
2025-11-26 15:17:12.926882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 15:17:27.210766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_34_2671.jpg', '/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_38_3639.jpg', '/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_41_2707.jpg', '/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_43_2558.jpg', '/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_07_3011.jpg', '/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_11_3809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_34_2671.jpg
/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_38_3639.jpg
/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_41_2707.jpg
/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_43_2558.jpg
/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_07_3011.jpg
/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_11_3809.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":["1396259280","1396259268","1396259285","1396259276","1396259287","1396259272"],"photo_ids_order":["1396259268","1396259272","1396259276","1396259280","1396259285","1396259287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eb8912b6d2989d6e00c2b7098ab26f6b.jpg","text":"TemporaryFile(/tmp/multipartBody4890223006305759156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166707950,"filename":"image_26112025_10_15_43_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/26/c3662191a880fbb0d90598d2a0e07c99.jpg","text":"TemporaryFile(/tmp/multipartBody5840108629249223552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166707950,"filename":"image_26112025_10_15_34_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/26/2e155523e95b8ca3ad64e37d11a23491.jpg","text":"TemporaryFile(/tmp/multipartBody7833311362924262589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166707950,"filename":"image_26112025_10_17_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/26/dce7bdb67ee78920455d1cd7c7bae5de.jpg","text":"TemporaryFile(/tmp/multipartBody6629748693028670699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166707950,"filename":"image_26112025_10_15_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/26/0c89171a13e2e039cb24569d1dd9e489.jpg","text":"TemporaryFile(/tmp/multipartBody5348358317824886829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166707950,"filename":"image_26112025_10_17_11_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/26/7975065b7f69541a833e698e8870ac5b.jpg","text":"TemporaryFile(/tmp/multipartBody6847187773950562809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166707950,"filename":"image_26112025_10_15_38_3639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396259276","file1":"1396259272","file0":"1396259268","file4":"1396259285","file5":"1396259287","file3":"1396259280"},"map_files_photo_id_array":[{"photo_id":"1396259287","filename":"file5"},{"photo_id":"1396259276","filename":"file2"},{"photo_id":"1396259285","filename":"file4"},{"photo_id":"1396259272","filename":"file1"},{"photo_id":"1396259268","filename":"file0"},{"photo_id":"1396259280","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396259280":["hashtag1","hashtag2"]},{"1396259268":["hashtag1","hashtag2"]},{"1396259285":["hashtag1","hashtag2"]},{"1396259276":["hashtag1","hashtag2"]},{"1396259287":["hashtag1","hashtag2"]},{"1396259272":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396259280, 1396259268, 1396259285, 1396259276, 1396259287, 1396259272)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 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 = 1396259276 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_41_2707.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1396259276 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_41_2707.jpg";
uploaded 6 photos
time to upload: 65.48451972007751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 15:18:42.328215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 15:19:16.261033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 15:19:29.785472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 15:19:45.479758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_34_2671.jpg', '/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_38_3639.jpg', '/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_41_2707.jpg', '/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_43_2558.jpg', '/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_07_3011.jpg', '/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_11_3809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_34_2671.jpg
/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_38_3639.jpg
/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_41_2707.jpg
/home/pi/Desktop/images/26112025/10/15/image_26112025_10_15_43_2558.jpg
/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_07_3011.jpg
/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_11_3809.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396259322","1396259325","1396259321","1396259320","1396259323","1396259317"],"photo_ids_order":["1396259317","1396259320","1396259321","1396259322","1396259323","1396259325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a4fa9364ccb54df6d099555fd3c997b4.jpg","text":"TemporaryFile(/tmp/multipartBody8739753441012676411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166846234,"filename":"image_26112025_10_15_43_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/26/f1b114d88bc9840b187e6278845d5567.jpg","text":"TemporaryFile(/tmp/multipartBody1692135736040182163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166846234,"filename":"image_26112025_10_17_11_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/26/9dfb5297aa128e0e2f7a136744562a44.jpg","text":"TemporaryFile(/tmp/multipartBody7935701171995136426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166846234,"filename":"image_26112025_10_15_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/26/ff7c32b44f2180d6ce2e64edd00c9cfc.jpg","text":"TemporaryFile(/tmp/multipartBody4541824028653404362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166846234,"filename":"image_26112025_10_15_38_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2788a3185c4c19ec992cdb5e224c9391.jpg","text":"TemporaryFile(/tmp/multipartBody3785279650330952809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166846234,"filename":"image_26112025_10_17_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/26/57647fbf02d8ddcad07bf17e96d19cd7.jpg","text":"TemporaryFile(/tmp/multipartBody3647484735254759273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166846234,"filename":"image_26112025_10_15_34_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396259321","file1":"1396259320","file0":"1396259317","file4":"1396259323","file5":"1396259325","file3":"1396259322"},"map_files_photo_id_array":[{"photo_id":"1396259325","filename":"file5"},{"photo_id":"1396259321","filename":"file2"},{"photo_id":"1396259323","filename":"file4"},{"photo_id":"1396259320","filename":"file1"},{"photo_id":"1396259317","filename":"file0"},{"photo_id":"1396259322","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396259322":["hashtag1","hashtag2"]},{"1396259325":["hashtag1","hashtag2"]},{"1396259321":["hashtag1","hashtag2"]},{"1396259320":["hashtag1","hashtag2"]},{"1396259323":["hashtag1","hashtag2"]},{"1396259317":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396259322, 1396259325, 1396259321, 1396259320, 1396259323, 1396259317)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 60.245725870132446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 15:20:55.783070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_13_2562.jpg', '/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_16_3004.jpg', '/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_19_2692.jpg', '/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_23_3663.jpg', '/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_25_2584.jpg', '/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_28_2785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_13_2562.jpg
/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_16_3004.jpg
/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_19_2692.jpg
/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_23_3663.jpg
/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_25_2584.jpg
/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_28_2785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 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":["1396259352","1396259354","1396259357","1396259356","1396259359","1396259353"],"photo_ids_order":["1396259352","1396259353","1396259354","1396259356","1396259357","1396259359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b8ef1d1a6cac35f2bda49c8f2656047e.jpg","text":"TemporaryFile(/tmp/multipartBody3572788139536228363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166916492,"filename":"image_26112025_10_17_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/26/483cb263a6b11c75f0d709d0b32d2eac.jpg","text":"TemporaryFile(/tmp/multipartBody8451081316622308541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166916492,"filename":"image_26112025_10_17_19_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7f9c203747232df76dfd7a52bbf3f9c5.jpg","text":"TemporaryFile(/tmp/multipartBody2828349940324809125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166916492,"filename":"image_26112025_10_17_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/26/887b8968cebc59b9a037793d0dce3411.jpg","text":"TemporaryFile(/tmp/multipartBody361587190020854518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166916492,"filename":"image_26112025_10_17_23_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/83e65391eca1a186e76927ecd4d81485.jpg","text":"TemporaryFile(/tmp/multipartBody1003108834117850307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166916492,"filename":"image_26112025_10_17_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/26/97c3dc1fd9a28f48678246344b4d5b2d.jpg","text":"TemporaryFile(/tmp/multipartBody1953443135279273450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166916492,"filename":"image_26112025_10_17_16_3004.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396259354","file1":"1396259353","file0":"1396259352","file4":"1396259357","file5":"1396259359","file3":"1396259356"},"map_files_photo_id_array":[{"photo_id":"1396259359","filename":"file5"},{"photo_id":"1396259354","filename":"file2"},{"photo_id":"1396259357","filename":"file4"},{"photo_id":"1396259353","filename":"file1"},{"photo_id":"1396259352","filename":"file0"},{"photo_id":"1396259356","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396259352":["hashtag1","hashtag2"]},{"1396259354":["hashtag1","hashtag2"]},{"1396259357":["hashtag1","hashtag2"]},{"1396259356":["hashtag1","hashtag2"]},{"1396259359":["hashtag1","hashtag2"]},{"1396259353":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396259352, 1396259354, 1396259357, 1396259356, 1396259359, 1396259353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.559006452560425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 15:21:42.029810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_32_3579.jpg', '/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_34_2653.jpg', '/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_37_2677.jpg', '/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_44_3663.jpg', '/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_46_2747.jpg', '/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_49_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_32_3579.jpg
/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_34_2653.jpg
/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_37_2677.jpg
/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_44_3663.jpg
/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_46_2747.jpg
/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_49_2592.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":["1396259373","1396259375","1396259380","1396259383","1396259377","1396259368"],"photo_ids_order":["1396259368","1396259373","1396259375","1396259377","1396259380","1396259383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a20def3573c19b89f328c195d4d254d8.jpg","text":"TemporaryFile(/tmp/multipartBody699291430490762502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166962781,"filename":"image_26112025_10_17_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/26/3636e0e276b7a5861c8bb48375e9abe9.jpg","text":"TemporaryFile(/tmp/multipartBody4709941933514812572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166962781,"filename":"image_26112025_10_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/26/398bff511975e09f18adac81b2e6de9b.jpg","text":"TemporaryFile(/tmp/multipartBody359129738112430761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166962781,"filename":"image_26112025_10_17_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/26/f6e2cfb06c5c077c8031b74e05b659ab.jpg","text":"TemporaryFile(/tmp/multipartBody2793877884451384219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166962781,"filename":"image_26112025_10_17_49_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/26/18a03f89dd9941f8075880c67551febf.jpg","text":"TemporaryFile(/tmp/multipartBody2911739095460576520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166962781,"filename":"image_26112025_10_17_44_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d571804cdcae9027163ad5bc70e4ef31.jpg","text":"TemporaryFile(/tmp/multipartBody1326053950288101875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764166962781,"filename":"image_26112025_10_17_32_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396259375","file1":"1396259373","file0":"1396259368","file4":"1396259380","file5":"1396259383","file3":"1396259377"},"map_files_photo_id_array":[{"photo_id":"1396259383","filename":"file5"},{"photo_id":"1396259375","filename":"file2"},{"photo_id":"1396259380","filename":"file4"},{"photo_id":"1396259373","filename":"file1"},{"photo_id":"1396259368","filename":"file0"},{"photo_id":"1396259377","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396259373":["hashtag1","hashtag2"]},{"1396259375":["hashtag1","hashtag2"]},{"1396259380":["hashtag1","hashtag2"]},{"1396259383":["hashtag1","hashtag2"]},{"1396259377":["hashtag1","hashtag2"]},{"1396259368":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396259373, 1396259375, 1396259380, 1396259383, 1396259377, 1396259368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16588258743286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 15:22:22.204974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_53_3699.jpg', '/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_55_2696.jpg', '/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_58_2593.jpg', '/home/pi/Desktop/images/26112025/10/18/image_26112025_10_18_02_3698.jpg', '/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_07_3019.jpg', '/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_10_3741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_53_3699.jpg
/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_55_2696.jpg
/home/pi/Desktop/images/26112025/10/17/image_26112025_10_17_58_2593.jpg
/home/pi/Desktop/images/26112025/10/18/image_26112025_10_18_02_3698.jpg
/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_07_3019.jpg
/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_10_3741.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":["1396259404","1396259406","1396259392","1396259395","1396259389","1396259398"],"photo_ids_order":["1396259389","1396259392","1396259395","1396259398","1396259404","1396259406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/98debde4403151b1bbbc8bab7d45a029.jpg","text":"TemporaryFile(/tmp/multipartBody1361359579907800850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167002939,"filename":"image_26112025_10_19_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/26/03f7744844bb34301bc74b370a41b9d9.jpg","text":"TemporaryFile(/tmp/multipartBody5384442736895476499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167002939,"filename":"image_26112025_10_19_10_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/26/9d0960be94e50c5b057bae724c6040e3.jpg","text":"TemporaryFile(/tmp/multipartBody3993611598044766607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167002939,"filename":"image_26112025_10_17_55_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/26/c55ceae5378dbf2e873e019f7635d201.jpg","text":"TemporaryFile(/tmp/multipartBody8700746630031713783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167002939,"filename":"image_26112025_10_17_58_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/26/54c2f6ce204cce7caadbef9640fef380.jpg","text":"TemporaryFile(/tmp/multipartBody2638932280960023722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167002939,"filename":"image_26112025_10_17_53_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/26/6fcd2f5b2ecfee53eb5405c19409f454.jpg","text":"TemporaryFile(/tmp/multipartBody866912601488075463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167002939,"filename":"image_26112025_10_18_02_3698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396259395","file1":"1396259392","file0":"1396259389","file4":"1396259404","file5":"1396259406","file3":"1396259398"},"map_files_photo_id_array":[{"photo_id":"1396259406","filename":"file5"},{"photo_id":"1396259395","filename":"file2"},{"photo_id":"1396259404","filename":"file4"},{"photo_id":"1396259392","filename":"file1"},{"photo_id":"1396259389","filename":"file0"},{"photo_id":"1396259398","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396259404":["hashtag1","hashtag2"]},{"1396259406":["hashtag1","hashtag2"]},{"1396259392":["hashtag1","hashtag2"]},{"1396259395":["hashtag1","hashtag2"]},{"1396259389":["hashtag1","hashtag2"]},{"1396259398":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396259404, 1396259406, 1396259392, 1396259395, 1396259389, 1396259398)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.930752992630005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-11-26 15:23:35.952890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 15:24:02.931213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_13_2636.jpg', '/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_16_2660.jpg', '/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_19_3822.jpg', '/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_22_2671.jpg', '/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_25_2716.jpg', '/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_28_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_13_2636.jpg
/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_16_2660.jpg
/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_19_3822.jpg
/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_22_2671.jpg
/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_25_2716.jpg
/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_28_3591.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.7557861804962158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 15:24:12.144536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_13_2636.jpg', '/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_16_2660.jpg', '/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_19_3822.jpg', '/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_22_2671.jpg', '/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_25_2716.jpg', '/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_28_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_13_2636.jpg
/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_16_2660.jpg
/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_19_3822.jpg
/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_22_2671.jpg
/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_25_2716.jpg
/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_28_3591.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":["1396259448","1396259453","1396259456","1396259444","1396259438","1396259434"],"photo_ids_order":["1396259434","1396259438","1396259444","1396259448","1396259453","1396259456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/14c4ac292334ee4488669496684f4893.jpg","text":"TemporaryFile(/tmp/multipartBody6267910598486451458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167112876,"filename":"image_26112025_10_19_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/26/9fbba30756328886c2583756b995b0e3.jpg","text":"TemporaryFile(/tmp/multipartBody859249035191495465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167112876,"filename":"image_26112025_10_19_25_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/26/fa0e89a5c4804da5b330de750619ff79.jpg","text":"TemporaryFile(/tmp/multipartBody6158313554908832452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167112876,"filename":"image_26112025_10_19_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/26/a92894638a8c7b66c38bd946fc0c9076.jpg","text":"TemporaryFile(/tmp/multipartBody4834051268864714772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167112876,"filename":"image_26112025_10_19_19_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/26/c1a37d1a87b37cfef8a0d8ceba37bb6e.jpg","text":"TemporaryFile(/tmp/multipartBody8701233749768174921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167112876,"filename":"image_26112025_10_19_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/26/26a092ed15f2c3bda791c3a72c845dce.jpg","text":"TemporaryFile(/tmp/multipartBody7677193040527810056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167112876,"filename":"image_26112025_10_19_13_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396259444","file1":"1396259438","file0":"1396259434","file4":"1396259453","file5":"1396259456","file3":"1396259448"},"map_files_photo_id_array":[{"photo_id":"1396259456","filename":"file5"},{"photo_id":"1396259444","filename":"file2"},{"photo_id":"1396259453","filename":"file4"},{"photo_id":"1396259438","filename":"file1"},{"photo_id":"1396259434","filename":"file0"},{"photo_id":"1396259448","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396259448":["hashtag1","hashtag2"]},{"1396259453":["hashtag1","hashtag2"]},{"1396259456":["hashtag1","hashtag2"]},{"1396259444":["hashtag1","hashtag2"]},{"1396259438":["hashtag1","hashtag2"]},{"1396259434":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396259448, 1396259453, 1396259456, 1396259444, 1396259438, 1396259434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.46841549873352 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 15:25:03.260448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_31_2659.jpg', '/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_34_2699.jpg', '/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_37_3566.jpg', '/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_46_2810.jpg', '/home/pi/Desktop/images/26112025/10/21/image_26112025_10_21_07_3011.jpg', '/home/pi/Desktop/images/26112025/10/21/image_26112025_10_21_10_3603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_31_2659.jpg
/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_34_2699.jpg
/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_37_3566.jpg
/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_46_2810.jpg
/home/pi/Desktop/images/26112025/10/21/image_26112025_10_21_07_3011.jpg
/home/pi/Desktop/images/26112025/10/21/image_26112025_10_21_10_3603.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":["1396259466","1396259471","1396259468","1396259462","1396259476","1396259464"],"photo_ids_order":["1396259462","1396259464","1396259466","1396259468","1396259471","1396259476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/44035770f5c8922d433afdbaa7b7262c.jpg","text":"TemporaryFile(/tmp/multipartBody605892821420776668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167164190,"filename":"image_26112025_10_19_37_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/26/e0e1eea68ce0215648d03a798888611a.jpg","text":"TemporaryFile(/tmp/multipartBody3966734018190616134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167164190,"filename":"image_26112025_10_21_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/26/4fb0a002b25beb7d0c6425bd2578a016.jpg","text":"TemporaryFile(/tmp/multipartBody6633944710200459307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167164190,"filename":"image_26112025_10_19_46_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/26/13a0616cc245d627b6b1e19210578e5c.jpg","text":"TemporaryFile(/tmp/multipartBody6033562732144092155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167164190,"filename":"image_26112025_10_19_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/26/03903c0c82ae1f14174fdfb84099b827.jpg","text":"TemporaryFile(/tmp/multipartBody2150697696459540775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167164190,"filename":"image_26112025_10_21_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/26/11059efe57b8789cb1541b90b0c7ec2d.jpg","text":"TemporaryFile(/tmp/multipartBody1361264956899499489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167164190,"filename":"image_26112025_10_19_34_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396259466","file1":"1396259464","file0":"1396259462","file4":"1396259471","file5":"1396259476","file3":"1396259468"},"map_files_photo_id_array":[{"photo_id":"1396259476","filename":"file5"},{"photo_id":"1396259466","filename":"file2"},{"photo_id":"1396259471","filename":"file4"},{"photo_id":"1396259464","filename":"file1"},{"photo_id":"1396259462","filename":"file0"},{"photo_id":"1396259468","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396259466":["hashtag1","hashtag2"]},{"1396259471":["hashtag1","hashtag2"]},{"1396259468":["hashtag1","hashtag2"]},{"1396259462":["hashtag1","hashtag2"]},{"1396259476":["hashtag1","hashtag2"]},{"1396259464":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396259466, 1396259471, 1396259468, 1396259462, 1396259476, 1396259464)","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 = 1396259466 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_37_3566.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1396259466 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_37_3566.jpg";
uploaded 6 photos
time to upload: 61.51631689071655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 15:26:06.968984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_31_2659.jpg', '/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_34_2699.jpg', '/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_37_3566.jpg', '/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_46_2810.jpg', '/home/pi/Desktop/images/26112025/10/21/image_26112025_10_21_07_3011.jpg', '/home/pi/Desktop/images/26112025/10/21/image_26112025_10_21_10_3603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_31_2659.jpg
/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_34_2699.jpg
/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_37_3566.jpg
/home/pi/Desktop/images/26112025/10/19/image_26112025_10_19_46_2810.jpg
/home/pi/Desktop/images/26112025/10/21/image_26112025_10_21_07_3011.jpg
/home/pi/Desktop/images/26112025/10/21/image_26112025_10_21_10_3603.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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396259547","1396259556","1396259514","1396259552","1396259546","1396259549"],"photo_ids_order":["1396259514","1396259546","1396259547","1396259549","1396259552","1396259556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9a7bced67bb9452a8805a18dea78b36d.jpg","text":"TemporaryFile(/tmp/multipartBody6581639220590340426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167227784,"filename":"image_26112025_10_19_37_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/26/e8ce70c86d6c76623bb271ed8ac1b915.jpg","text":"TemporaryFile(/tmp/multipartBody4508206334892630112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167227784,"filename":"image_26112025_10_21_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/26/c6bb16a5ba573e78750b09469aa99a37.jpg","text":"TemporaryFile(/tmp/multipartBody8062708177181932429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167227784,"filename":"image_26112025_10_19_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/26/1252be37230ed8cf5044d69e081ca94c.jpg","text":"TemporaryFile(/tmp/multipartBody2270345254451869201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167227784,"filename":"image_26112025_10_21_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/26/91d6eb314f87a26abe6ba4e9e955b48f.jpg","text":"TemporaryFile(/tmp/multipartBody2925628584286562589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167227784,"filename":"image_26112025_10_19_34_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/26/1740c8a1f801d96ffb04706d66d5106b.jpg","text":"TemporaryFile(/tmp/multipartBody6153436386003072878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167227784,"filename":"image_26112025_10_19_46_2810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396259547","file1":"1396259546","file0":"1396259514","file4":"1396259552","file5":"1396259556","file3":"1396259549"},"map_files_photo_id_array":[{"photo_id":"1396259556","filename":"file5"},{"photo_id":"1396259547","filename":"file2"},{"photo_id":"1396259552","filename":"file4"},{"photo_id":"1396259546","filename":"file1"},{"photo_id":"1396259514","filename":"file0"},{"photo_id":"1396259549","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396259547":["hashtag1","hashtag2"]},{"1396259556":["hashtag1","hashtag2"]},{"1396259514":["hashtag1","hashtag2"]},{"1396259552":["hashtag1","hashtag2"]},{"1396259546":["hashtag1","hashtag2"]},{"1396259549":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396259547, 1396259556, 1396259514, 1396259552, 1396259546, 1396259549)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 61.97948455810547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 15:27:18.236127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/21/image_26112025_10_21_13_2667.jpg', '/home/pi/Desktop/images/26112025/10/21/image_26112025_10_21_17_3592.jpg', '/home/pi/Desktop/images/26112025/10/21/image_26112025_10_21_19_2701.jpg', '/home/pi/Desktop/images/26112025/10/21/image_26112025_10_21_22_2583.jpg', '/home/pi/Desktop/images/26112025/10/21/image_26112025_10_21_26_3636.jpg', '/home/pi/Desktop/images/26112025/10/21/image_26112025_10_21_40_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/21/image_26112025_10_21_13_2667.jpg
/home/pi/Desktop/images/26112025/10/21/image_26112025_10_21_17_3592.jpg
/home/pi/Desktop/images/26112025/10/21/image_26112025_10_21_19_2701.jpg
/home/pi/Desktop/images/26112025/10/21/image_26112025_10_21_22_2583.jpg
/home/pi/Desktop/images/26112025/10/21/image_26112025_10_21_26_3636.jpg
/home/pi/Desktop/images/26112025/10/21/image_26112025_10_21_40_2599.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":["1396259592","1396259586","1396259595","1396259589","1396259577","1396259582"],"photo_ids_order":["1396259577","1396259582","1396259586","1396259589","1396259592","1396259595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/260ff806f89ce620c036baefba03f800.jpg","text":"TemporaryFile(/tmp/multipartBody5554439275575644324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167301510,"filename":"image_26112025_10_21_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/26/ab126a67225907b58c805b32abf5c2ea.jpg","text":"TemporaryFile(/tmp/multipartBody6703866224816378988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167301510,"filename":"image_26112025_10_21_19_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/26/267107bdffed9181dbc7ba025d0defd9.jpg","text":"TemporaryFile(/tmp/multipartBody4847246585425793505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167301510,"filename":"image_26112025_10_21_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/26/f484235ce9abb3a5ac0d42461941de91.jpg","text":"TemporaryFile(/tmp/multipartBody7994586137395088567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167301510,"filename":"image_26112025_10_21_22_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/26/a3098b37c93d77be1d5d44f47d1253ec.jpg","text":"TemporaryFile(/tmp/multipartBody2885409241710021562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167301510,"filename":"image_26112025_10_21_13_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/858f33506236be883ed152af414cd773.jpg","text":"TemporaryFile(/tmp/multipartBody4273606394383440681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167301510,"filename":"image_26112025_10_21_17_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396259586","file1":"1396259582","file0":"1396259577","file4":"1396259592","file5":"1396259595","file3":"1396259589"},"map_files_photo_id_array":[{"photo_id":"1396259595","filename":"file5"},{"photo_id":"1396259586","filename":"file2"},{"photo_id":"1396259592","filename":"file4"},{"photo_id":"1396259582","filename":"file1"},{"photo_id":"1396259577","filename":"file0"},{"photo_id":"1396259589","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396259592":["hashtag1","hashtag2"]},{"1396259586":["hashtag1","hashtag2"]},{"1396259595":["hashtag1","hashtag2"]},{"1396259589":["hashtag1","hashtag2"]},{"1396259577":["hashtag1","hashtag2"]},{"1396259582":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396259592, 1396259586, 1396259595, 1396259589, 1396259577, 1396259582)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.443909645080566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 15:28:13.386638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/21/image_26112025_10_21_46_2625.jpg', '/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_07_3011.jpg', '/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_11_3735.jpg', '/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_13_2689.jpg', '/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_16_2595.jpg', '/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_20_3686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/21/image_26112025_10_21_46_2625.jpg
/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_07_3011.jpg
/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_11_3735.jpg
/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_13_2689.jpg
/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_16_2595.jpg
/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_20_3686.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.7000586986541748 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 15:28:23.411440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/21/image_26112025_10_21_46_2625.jpg', '/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_07_3011.jpg', '/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_11_3735.jpg', '/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_13_2689.jpg', '/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_16_2595.jpg', '/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_20_3686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/21/image_26112025_10_21_46_2625.jpg
/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_07_3011.jpg
/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_11_3735.jpg
/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_13_2689.jpg
/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_16_2595.jpg
/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_20_3686.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":["1396259625","1396259633","1396259636","1396259615","1396259635","1396259611"],"photo_ids_order":["1396259611","1396259615","1396259625","1396259633","1396259635","1396259636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6b27f8be3391e79cf02461720e7c161f.jpg","text":"TemporaryFile(/tmp/multipartBody327195821678913410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167371413,"filename":"image_26112025_10_23_11_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/26/db9b32212b9491061587870b7112f77e.jpg","text":"TemporaryFile(/tmp/multipartBody57582146823149846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167371413,"filename":"image_26112025_10_23_13_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/26/250424b28758cdff2e4ed2307b833c10.jpg","text":"TemporaryFile(/tmp/multipartBody1596598748550226381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167371413,"filename":"image_26112025_10_23_20_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/26/68fd853774ded48ff6471abe95801c54.jpg","text":"TemporaryFile(/tmp/multipartBody3348877189075831627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167371413,"filename":"image_26112025_10_23_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/26/9dc1e84adc5869e5d2453e92ea018063.jpg","text":"TemporaryFile(/tmp/multipartBody2524850329426635704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167371413,"filename":"image_26112025_10_23_16_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/26/1dccfe3c375f6a4a7de540089a48af7f.jpg","text":"TemporaryFile(/tmp/multipartBody1857469118898311522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167371413,"filename":"image_26112025_10_21_46_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396259625","file1":"1396259615","file0":"1396259611","file4":"1396259635","file5":"1396259636","file3":"1396259633"},"map_files_photo_id_array":[{"photo_id":"1396259636","filename":"file5"},{"photo_id":"1396259625","filename":"file2"},{"photo_id":"1396259635","filename":"file4"},{"photo_id":"1396259615","filename":"file1"},{"photo_id":"1396259611","filename":"file0"},{"photo_id":"1396259633","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396259625":["hashtag1","hashtag2"]},{"1396259633":["hashtag1","hashtag2"]},{"1396259636":["hashtag1","hashtag2"]},{"1396259615":["hashtag1","hashtag2"]},{"1396259635":["hashtag1","hashtag2"]},{"1396259611":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396259625, 1396259633, 1396259636, 1396259615, 1396259635, 1396259611)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 57.03295826911926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 15:29:29.504423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_22_2606.jpg', '/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_25_2830.jpg', '/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_29_3614.jpg', '/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_31_2626.jpg', '/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_35_3552.jpg', '/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_38_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_22_2606.jpg
/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_25_2830.jpg
/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_29_3614.jpg
/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_31_2626.jpg
/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_35_3552.jpg
/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_38_2675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 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 [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>8bgljc62i</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>8bgljc62i</strong>.
uploaded 0 photos
time to upload: 57.96382284164429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 15:30:32.710225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_22_2606.jpg', '/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_25_2830.jpg', '/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_29_3614.jpg', '/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_31_2626.jpg', '/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_35_3552.jpg', '/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_38_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_22_2606.jpg
/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_25_2830.jpg
/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_29_3614.jpg
/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_31_2626.jpg
/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_35_3552.jpg
/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_38_2675.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":["1396259709","1396259693","1396259712","1396259711","1396259702","1396259689"],"photo_ids_order":["1396259689","1396259693","1396259702","1396259709","1396259711","1396259712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a804478701a34d6c37d2a6a0b4ec4ecf.jpg","text":"TemporaryFile(/tmp/multipartBody8896970005511844630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167493442,"filename":"image_26112025_10_23_31_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/26/78bbe8efcc7e347ea74e2845f747d68d.jpg","text":"TemporaryFile(/tmp/multipartBody3594025640051740085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167493442,"filename":"image_26112025_10_23_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/26/9f9f6226e5f1d7c747d8a6ea0e6c3a69.jpg","text":"TemporaryFile(/tmp/multipartBody8005479615653753036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167493442,"filename":"image_26112025_10_23_38_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/26/1a7e22432ec59653b1154111db3ee7a7.jpg","text":"TemporaryFile(/tmp/multipartBody8058996819145034396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167493442,"filename":"image_26112025_10_23_35_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/26/dfc16ca3a2ea5838c11b9df218e1eb5a.jpg","text":"TemporaryFile(/tmp/multipartBody6198655994859332162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167493442,"filename":"image_26112025_10_23_29_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2b1c49df266f26423652ccb8e8fbc9be.jpg","text":"TemporaryFile(/tmp/multipartBody304373594283708411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167493442,"filename":"image_26112025_10_23_22_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396259702","file1":"1396259693","file0":"1396259689","file4":"1396259711","file5":"1396259712","file3":"1396259709"},"map_files_photo_id_array":[{"photo_id":"1396259712","filename":"file5"},{"photo_id":"1396259702","filename":"file2"},{"photo_id":"1396259711","filename":"file4"},{"photo_id":"1396259693","filename":"file1"},{"photo_id":"1396259689","filename":"file0"},{"photo_id":"1396259709","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396259709":["hashtag1","hashtag2"]},{"1396259693":["hashtag1","hashtag2"]},{"1396259712":["hashtag1","hashtag2"]},{"1396259711":["hashtag1","hashtag2"]},{"1396259702":["hashtag1","hashtag2"]},{"1396259689":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396259709, 1396259693, 1396259712, 1396259711, 1396259702, 1396259689)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 58.649643659591675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 15:31:41.868987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_43_2680.jpg', '/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_47_3666.jpg', '/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_49_2759.jpg', '/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_52_2650.jpg', '/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_59_3668.jpg', '/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_07_3018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_43_2680.jpg
/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_47_3666.jpg
/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_49_2759.jpg
/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_52_2650.jpg
/home/pi/Desktop/images/26112025/10/23/image_26112025_10_23_59_3668.jpg
/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_07_3018.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":["1396259733","1396259727","1396259730","1396259732","1396259735","1396259734"],"photo_ids_order":["1396259727","1396259730","1396259732","1396259733","1396259734","1396259735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6b381a458a4556c1aa93835fc5ee1fce.jpg","text":"TemporaryFile(/tmp/multipartBody6546249475755252209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167562739,"filename":"image_26112025_10_23_52_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c4a32ea3072e0987070c77d4aa388422.jpg","text":"TemporaryFile(/tmp/multipartBody2209318417880506092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167562739,"filename":"image_26112025_10_23_43_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/26/89ef717956e042aa6049df42b672d619.jpg","text":"TemporaryFile(/tmp/multipartBody4130788763564153546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167562739,"filename":"image_26112025_10_23_47_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/26/f58dc7144660f747be47aabce7b035a6.jpg","text":"TemporaryFile(/tmp/multipartBody7189898872222774223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167562739,"filename":"image_26112025_10_23_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/26/c99d8f34989a437e6989ae3e66181691.jpg","text":"TemporaryFile(/tmp/multipartBody4366334115513034723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167562739,"filename":"image_26112025_10_25_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/26/c25f1c3032da113ed60cb00d84bf3cee.jpg","text":"TemporaryFile(/tmp/multipartBody1314603381005537855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167562739,"filename":"image_26112025_10_23_59_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396259732","file1":"1396259730","file0":"1396259727","file4":"1396259734","file5":"1396259735","file3":"1396259733"},"map_files_photo_id_array":[{"photo_id":"1396259735","filename":"file5"},{"photo_id":"1396259732","filename":"file2"},{"photo_id":"1396259734","filename":"file4"},{"photo_id":"1396259730","filename":"file1"},{"photo_id":"1396259727","filename":"file0"},{"photo_id":"1396259733","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396259733":["hashtag1","hashtag2"]},{"1396259727":["hashtag1","hashtag2"]},{"1396259730":["hashtag1","hashtag2"]},{"1396259732":["hashtag1","hashtag2"]},{"1396259735":["hashtag1","hashtag2"]},{"1396259734":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396259733, 1396259727, 1396259730, 1396259732, 1396259735, 1396259734)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 61.493122816085815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 15:33:02.877128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 15:33:33.842729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
2025-11-26 15:33:33.842729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
 val : 3 : upload photos already in processing! 
2025-11-26 15:33:36.770126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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
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
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-26 15:34:04.010393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_10_3668.jpg', '/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_13_2723.jpg', '/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_16_2671.jpg', '/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_19_3603.jpg', '/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_22_2540.jpg', '/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_26_3721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_10_3668.jpg
/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_13_2723.jpg
/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_16_2671.jpg
/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_19_3603.jpg
/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_22_2540.jpg
/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_26_3721.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":["1396259778","1396259772","1396259769","1396259770","1396259767","1396259775"],"photo_ids_order":["1396259767","1396259769","1396259770","1396259772","1396259775","1396259778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/36dacda436041f7b10e0e36fa46dadba.jpg","text":"TemporaryFile(/tmp/multipartBody5407775259191849775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167707305,"filename":"image_26112025_10_25_26_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/26/d357daebfa6242f2f8c26de5d10aa18a.jpg","text":"TemporaryFile(/tmp/multipartBody2693546081951578271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167707305,"filename":"image_26112025_10_25_19_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/26/90500b41900eeec4b307acb4a30c8665.jpg","text":"TemporaryFile(/tmp/multipartBody1142155449817539942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167707305,"filename":"image_26112025_10_25_13_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/26/9a530faa1f82ca325519a1e0436632c2.jpg","text":"TemporaryFile(/tmp/multipartBody3150152272511460622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167707305,"filename":"image_26112025_10_25_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/26/9f3f58151f7ea21d2821d8fa93031627.jpg","text":"TemporaryFile(/tmp/multipartBody311440580424922963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167707305,"filename":"image_26112025_10_25_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/26/08c1ab059c682be818f424d8b3164a89.jpg","text":"TemporaryFile(/tmp/multipartBody3505595196496248675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167707305,"filename":"image_26112025_10_25_22_2540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396259770","file1":"1396259769","file0":"1396259767","file4":"1396259775","file5":"1396259778","file3":"1396259772"},"map_files_photo_id_array":[{"photo_id":"1396259778","filename":"file5"},{"photo_id":"1396259770","filename":"file2"},{"photo_id":"1396259775","filename":"file4"},{"photo_id":"1396259769","filename":"file1"},{"photo_id":"1396259767","filename":"file0"},{"photo_id":"1396259772","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396259778":["hashtag1","hashtag2"]},{"1396259772":["hashtag1","hashtag2"]},{"1396259769":["hashtag1","hashtag2"]},{"1396259770":["hashtag1","hashtag2"]},{"1396259767":["hashtag1","hashtag2"]},{"1396259775":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396259778, 1396259772, 1396259769, 1396259770, 1396259767, 1396259775)","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 = 1396259770 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_16_2671.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1396259770 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_16_2671.jpg";
uploaded 6 photos
time to upload: 62.823028326034546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
 val : 2 : upload photos already in processing! 
2025-11-26 15:35:22.433762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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
2025-11-26 15:35:22.467964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 15:35:37.953796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_10_3668.jpg', '/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_13_2723.jpg', '/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_16_2671.jpg', '/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_19_3603.jpg', '/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_22_2540.jpg', '/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_26_3721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_10_3668.jpg
/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_13_2723.jpg
/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_16_2671.jpg
/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_19_3603.jpg
/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_22_2540.jpg
/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_26_3721.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":["1396259800","1396259805","1396259804","1396259803","1396259806","1396259796"],"photo_ids_order":["1396259796","1396259800","1396259803","1396259804","1396259805","1396259806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/23055f3636e4e731194f37ca8da764bf.jpg","text":"TemporaryFile(/tmp/multipartBody1744541947110395830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167798691,"filename":"image_26112025_10_25_13_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/26/91b6acce7f253610eb0063524b2fdd34.jpg","text":"TemporaryFile(/tmp/multipartBody6808452668378989968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167798691,"filename":"image_26112025_10_25_22_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cacc5299983d0a111870b3ba6296c4bc.jpg","text":"TemporaryFile(/tmp/multipartBody3374515412692306907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167798691,"filename":"image_26112025_10_25_19_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/26/49f27418eba0a6292a137ca32397de76.jpg","text":"TemporaryFile(/tmp/multipartBody2427417812165851804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167798691,"filename":"image_26112025_10_25_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/26/1142b85439a638fed65f71ed9cd2fcbc.jpg","text":"TemporaryFile(/tmp/multipartBody1602359196354825782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167798691,"filename":"image_26112025_10_25_26_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/26/1f8123702bf9b4f5b8eccdeb01c2ad6e.jpg","text":"TemporaryFile(/tmp/multipartBody2009067218900224522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167798691,"filename":"image_26112025_10_25_10_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396259803","file1":"1396259800","file0":"1396259796","file4":"1396259805","file5":"1396259806","file3":"1396259804"},"map_files_photo_id_array":[{"photo_id":"1396259806","filename":"file5"},{"photo_id":"1396259803","filename":"file2"},{"photo_id":"1396259805","filename":"file4"},{"photo_id":"1396259800","filename":"file1"},{"photo_id":"1396259796","filename":"file0"},{"photo_id":"1396259804","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396259800":["hashtag1","hashtag2"]},{"1396259805":["hashtag1","hashtag2"]},{"1396259804":["hashtag1","hashtag2"]},{"1396259803":["hashtag1","hashtag2"]},{"1396259806":["hashtag1","hashtag2"]},{"1396259796":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396259800, 1396259805, 1396259804, 1396259803, 1396259806, 1396259796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33988046646118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 15:36:15.760954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_28_2770.jpg', '/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_31_2671.jpg', '/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_34_2773.jpg', '/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_37_3643.jpg', '/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_40_2625.jpg', '/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_07_3012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_28_2770.jpg
/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_31_2671.jpg
/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_34_2773.jpg
/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_37_3643.jpg
/home/pi/Desktop/images/26112025/10/25/image_26112025_10_25_40_2625.jpg
/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_07_3012.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":["1396259850","1396259853","1396259835","1396259846","1396259860","1396259857"],"photo_ids_order":["1396259835","1396259846","1396259850","1396259853","1396259857","1396259860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8ecd02e83abf9311cc99ee654c7d4e29.jpg","text":"TemporaryFile(/tmp/multipartBody8344664410912546745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167836508,"filename":"image_26112025_10_25_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/26/5a54a5529261e5c3d8ad0030ba6c5d64.jpg","text":"TemporaryFile(/tmp/multipartBody6334101225741117320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167836508,"filename":"image_26112025_10_25_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/26/c4797f03d98b0bf74afe777d5ec96656.jpg","text":"TemporaryFile(/tmp/multipartBody507422635487744808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167836508,"filename":"image_26112025_10_25_28_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/26/04bcd4c5682b9dcfefd820b7577cffbb.jpg","text":"TemporaryFile(/tmp/multipartBody1724420028656032586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167836508,"filename":"image_26112025_10_25_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/26/8873de585e812f69005bf021b44cf5db.jpg","text":"TemporaryFile(/tmp/multipartBody1708329413649912157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167836508,"filename":"image_26112025_10_27_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/26/f5f87cd974b799d3ffc7d5899ce2acb7.jpg","text":"TemporaryFile(/tmp/multipartBody8198378480296498571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167836508,"filename":"image_26112025_10_25_40_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396259850","file1":"1396259846","file0":"1396259835","file4":"1396259857","file5":"1396259860","file3":"1396259853"},"map_files_photo_id_array":[{"photo_id":"1396259860","filename":"file5"},{"photo_id":"1396259850","filename":"file2"},{"photo_id":"1396259857","filename":"file4"},{"photo_id":"1396259846","filename":"file1"},{"photo_id":"1396259835","filename":"file0"},{"photo_id":"1396259853","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396259850":["hashtag1","hashtag2"]},{"1396259853":["hashtag1","hashtag2"]},{"1396259835":["hashtag1","hashtag2"]},{"1396259846":["hashtag1","hashtag2"]},{"1396259860":["hashtag1","hashtag2"]},{"1396259857":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396259850, 1396259853, 1396259835, 1396259846, 1396259860, 1396259857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94662427902222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 15:37:10.097211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 15:37:18.803639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_10_3767.jpg', '/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_13_2758.jpg', '/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_16_2588.jpg', '/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_19_3734.jpg', '/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_22_2650.jpg', '/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_28_3621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_10_3767.jpg
/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_13_2758.jpg
/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_16_2588.jpg
/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_19_3734.jpg
/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_22_2650.jpg
/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_28_3621.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":["1396259883","1396259886","1396259896","1396259878","1396259893","1396259889"],"photo_ids_order":["1396259878","1396259883","1396259886","1396259889","1396259893","1396259896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/153f8c29465f4707441b335dc410f21b.jpg","text":"TemporaryFile(/tmp/multipartBody5686676278504632678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167901210,"filename":"image_26112025_10_27_13_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/26/2b628674d0caa32d44da6ebabd080a77.jpg","text":"TemporaryFile(/tmp/multipartBody6723944236565379877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167901210,"filename":"image_26112025_10_27_16_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/26/ecafbdd081ccc20dd439315169a6bf44.jpg","text":"TemporaryFile(/tmp/multipartBody5651030610539514469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167901210,"filename":"image_26112025_10_27_28_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/26/f0a2bd3e7980dfdcd0e9c5150b3e952a.jpg","text":"TemporaryFile(/tmp/multipartBody8833658118999575573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167901210,"filename":"image_26112025_10_27_10_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/26/918c570f44b14828b5c81a44c7f23624.jpg","text":"TemporaryFile(/tmp/multipartBody7522809886687846228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167901210,"filename":"image_26112025_10_27_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/26/650240c9323e351b749afb75828175df.jpg","text":"TemporaryFile(/tmp/multipartBody5765242323103447311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167901210,"filename":"image_26112025_10_27_19_3734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396259886","file1":"1396259883","file0":"1396259878","file4":"1396259893","file5":"1396259896","file3":"1396259889"},"map_files_photo_id_array":[{"photo_id":"1396259896","filename":"file5"},{"photo_id":"1396259886","filename":"file2"},{"photo_id":"1396259893","filename":"file4"},{"photo_id":"1396259883","filename":"file1"},{"photo_id":"1396259878","filename":"file0"},{"photo_id":"1396259889","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396259883":["hashtag1","hashtag2"]},{"1396259886":["hashtag1","hashtag2"]},{"1396259896":["hashtag1","hashtag2"]},{"1396259878":["hashtag1","hashtag2"]},{"1396259893":["hashtag1","hashtag2"]},{"1396259889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396259883, 1396259886, 1396259896, 1396259878, 1396259893, 1396259889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.77572298049927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 15:38:02.960413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_31_2596.jpg', '/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_34_2582.jpg', '/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_37_3728.jpg', '/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_40_2587.jpg', '/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_46_3652.jpg', '/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_52_2838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_31_2596.jpg
/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_34_2582.jpg
/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_37_3728.jpg
/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_40_2587.jpg
/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_46_3652.jpg
/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_52_2838.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.6539473533630371 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 15:38:12.389145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_31_2596.jpg', '/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_34_2582.jpg', '/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_37_3728.jpg', '/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_40_2587.jpg', '/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_46_3652.jpg', '/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_52_2838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_31_2596.jpg
/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_34_2582.jpg
/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_37_3728.jpg
/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_40_2587.jpg
/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_46_3652.jpg
/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_52_2838.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":["1396259922","1396259901","1396259903","1396259915","1396259908","1396259911"],"photo_ids_order":["1396259901","1396259903","1396259908","1396259911","1396259915","1396259922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/048284b2ab6942c117af77112c398dcd.jpg","text":"TemporaryFile(/tmp/multipartBody2006230429869405703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167953135,"filename":"image_26112025_10_27_52_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/26/ca90864200abec7c3974e69ac4132769.jpg","text":"TemporaryFile(/tmp/multipartBody8416762638123445432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167953135,"filename":"image_26112025_10_27_31_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/26/7c61ced193744761bf93bbc050b34934.jpg","text":"TemporaryFile(/tmp/multipartBody5227197942017432412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167953135,"filename":"image_26112025_10_27_34_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/26/ab3eb8c38e18879d9c97739a8ccda6d5.jpg","text":"TemporaryFile(/tmp/multipartBody5675660450051986700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167953135,"filename":"image_26112025_10_27_46_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/26/3d54980c0c18b4dbfa3f8c327aa90d96.jpg","text":"TemporaryFile(/tmp/multipartBody6126861249936381621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167953135,"filename":"image_26112025_10_27_37_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/26/848f6ef0b240781cd3d0363c046ab6bb.jpg","text":"TemporaryFile(/tmp/multipartBody8354858826565927584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764167953135,"filename":"image_26112025_10_27_40_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396259908","file1":"1396259903","file0":"1396259901","file4":"1396259915","file5":"1396259922","file3":"1396259911"},"map_files_photo_id_array":[{"photo_id":"1396259922","filename":"file5"},{"photo_id":"1396259908","filename":"file2"},{"photo_id":"1396259915","filename":"file4"},{"photo_id":"1396259903","filename":"file1"},{"photo_id":"1396259901","filename":"file0"},{"photo_id":"1396259911","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396259922":["hashtag1","hashtag2"]},{"1396259901":["hashtag1","hashtag2"]},{"1396259903":["hashtag1","hashtag2"]},{"1396259915":["hashtag1","hashtag2"]},{"1396259908":["hashtag1","hashtag2"]},{"1396259911":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396259922, 1396259901, 1396259903, 1396259915, 1396259908, 1396259911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44321608543396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 15:39:03.606614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_55_3675.jpg', '/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_58_2840.jpg', '/home/pi/Desktop/images/26112025/10/28/image_26112025_10_28_01_2710.jpg', '/home/pi/Desktop/images/26112025/10/28/image_26112025_10_28_04_2704.jpg', '/home/pi/Desktop/images/26112025/10/28/image_26112025_10_28_12_8277.jpg', '/home/pi/Desktop/images/26112025/10/29/image_26112025_10_29_06_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_55_3675.jpg
/home/pi/Desktop/images/26112025/10/27/image_26112025_10_27_58_2840.jpg
/home/pi/Desktop/images/26112025/10/28/image_26112025_10_28_01_2710.jpg
/home/pi/Desktop/images/26112025/10/28/image_26112025_10_28_04_2704.jpg
/home/pi/Desktop/images/26112025/10/28/image_26112025_10_28_12_8277.jpg
/home/pi/Desktop/images/26112025/10/29/image_26112025_10_29_06_3011.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":["1396259970","1396259984","1396260045","1396260012","1396260005","1396260014"],"photo_ids_order":["1396259970","1396259984","1396260005","1396260012","1396260014","1396260045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/289a4728ba355f5b55e8c61d9cd1b5d7.jpg","text":"TemporaryFile(/tmp/multipartBody72966082701429400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168004429,"filename":"image_26112025_10_27_55_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/26/bbcb651738f631aa99b1e30fca60d9a7.jpg","text":"TemporaryFile(/tmp/multipartBody2973124605176586921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168004429,"filename":"image_26112025_10_27_58_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/26/53cd2a0d2a01c5d6e12673a4897c4775.jpg","text":"TemporaryFile(/tmp/multipartBody1706638933251803266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168004429,"filename":"image_26112025_10_29_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/26/ef223dcd0f54105c6cca72a06d6d0255.jpg","text":"TemporaryFile(/tmp/multipartBody4396970770646939593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168004429,"filename":"image_26112025_10_28_04_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/26/ab794ff73cc4359e06f489ca5d6cb541.jpg","text":"TemporaryFile(/tmp/multipartBody2573191406920634814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168004429,"filename":"image_26112025_10_28_01_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3c388a73f14daadbbc35631e20e7c7c9.jpg","text":"TemporaryFile(/tmp/multipartBody7268366258952908928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168004429,"filename":"image_26112025_10_28_12_8277.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396260005","file1":"1396259984","file0":"1396259970","file4":"1396260014","file5":"1396260045","file3":"1396260012"},"map_files_photo_id_array":[{"photo_id":"1396260045","filename":"file5"},{"photo_id":"1396260005","filename":"file2"},{"photo_id":"1396260014","filename":"file4"},{"photo_id":"1396259984","filename":"file1"},{"photo_id":"1396259970","filename":"file0"},{"photo_id":"1396260012","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396259970":["hashtag1","hashtag2"]},{"1396259984":["hashtag1","hashtag2"]},{"1396260045":["hashtag1","hashtag2"]},{"1396260012":["hashtag1","hashtag2"]},{"1396260005":["hashtag1","hashtag2"]},{"1396260014":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396259970, 1396259984, 1396260045, 1396260012, 1396260005, 1396260014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.877126932144165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 15:39:42.656166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/29/image_26112025_10_29_10_3764.jpg', '/home/pi/Desktop/images/26112025/10/29/image_26112025_10_29_13_2607.jpg', '/home/pi/Desktop/images/26112025/10/29/image_26112025_10_29_15_2630.jpg', '/home/pi/Desktop/images/26112025/10/29/image_26112025_10_29_19_3580.jpg', '/home/pi/Desktop/images/26112025/10/29/image_26112025_10_29_22_2695.jpg', '/home/pi/Desktop/images/26112025/10/29/image_26112025_10_29_25_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/29/image_26112025_10_29_10_3764.jpg
/home/pi/Desktop/images/26112025/10/29/image_26112025_10_29_13_2607.jpg
/home/pi/Desktop/images/26112025/10/29/image_26112025_10_29_15_2630.jpg
/home/pi/Desktop/images/26112025/10/29/image_26112025_10_29_19_3580.jpg
/home/pi/Desktop/images/26112025/10/29/image_26112025_10_29_22_2695.jpg
/home/pi/Desktop/images/26112025/10/29/image_26112025_10_29_25_3664.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":["1396260060","1396260057","1396260054","1396260056","1396260059","1396260058"],"photo_ids_order":["1396260054","1396260056","1396260057","1396260058","1396260059","1396260060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7399dbdedde88834770dada53e60e461.jpg","text":"TemporaryFile(/tmp/multipartBody2226300484275768576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168043408,"filename":"image_26112025_10_29_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/26/a858e603602f1aeaef696e0c3d5adf3b.jpg","text":"TemporaryFile(/tmp/multipartBody5006746847622359837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168043408,"filename":"image_26112025_10_29_15_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/26/e8b3e914da83bc06e68d56a0839ed785.jpg","text":"TemporaryFile(/tmp/multipartBody5824525857553912924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168043408,"filename":"image_26112025_10_29_10_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/26/24c17e7edffcbbadeeed93d35cbf8332.jpg","text":"TemporaryFile(/tmp/multipartBody7124783485752872664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168043408,"filename":"image_26112025_10_29_13_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/26/69e272d8c457db3b07d62010e26fb55e.jpg","text":"TemporaryFile(/tmp/multipartBody4640588676892968851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168043408,"filename":"image_26112025_10_29_22_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a44cb7cbfdf50d290c531be780dd67ab.jpg","text":"TemporaryFile(/tmp/multipartBody7976202731497184277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168043408,"filename":"image_26112025_10_29_19_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396260057","file1":"1396260056","file0":"1396260054","file4":"1396260059","file5":"1396260060","file3":"1396260058"},"map_files_photo_id_array":[{"photo_id":"1396260060","filename":"file5"},{"photo_id":"1396260057","filename":"file2"},{"photo_id":"1396260059","filename":"file4"},{"photo_id":"1396260056","filename":"file1"},{"photo_id":"1396260054","filename":"file0"},{"photo_id":"1396260058","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396260060":["hashtag1","hashtag2"]},{"1396260057":["hashtag1","hashtag2"]},{"1396260054":["hashtag1","hashtag2"]},{"1396260056":["hashtag1","hashtag2"]},{"1396260059":["hashtag1","hashtag2"]},{"1396260058":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396260060, 1396260057, 1396260054, 1396260056, 1396260059, 1396260058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.787219762802124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 15:40:29.482698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/29/image_26112025_10_29_28_2720.jpg', '/home/pi/Desktop/images/26112025/10/29/image_26112025_10_29_30_2588.jpg', '/home/pi/Desktop/images/26112025/10/29/image_26112025_10_29_34_3555.jpg', '/home/pi/Desktop/images/26112025/10/29/image_26112025_10_29_43_3598.jpg', '/home/pi/Desktop/images/26112025/10/31/image_26112025_10_31_07_3011.jpg', '/home/pi/Desktop/images/26112025/10/31/image_26112025_10_31_22_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/29/image_26112025_10_29_28_2720.jpg
/home/pi/Desktop/images/26112025/10/29/image_26112025_10_29_30_2588.jpg
/home/pi/Desktop/images/26112025/10/29/image_26112025_10_29_34_3555.jpg
/home/pi/Desktop/images/26112025/10/29/image_26112025_10_29_43_3598.jpg
/home/pi/Desktop/images/26112025/10/31/image_26112025_10_31_07_3011.jpg
/home/pi/Desktop/images/26112025/10/31/image_26112025_10_31_22_2603.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":["1396260087","1396260069","1396260066","1396260080","1396260085","1396260088"],"photo_ids_order":["1396260066","1396260069","1396260080","1396260085","1396260087","1396260088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dfc4c17267fc9aa2bba6fdffa14d2f6d.jpg","text":"TemporaryFile(/tmp/multipartBody3370878908048920689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168090234,"filename":"image_26112025_10_31_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/61a9a99d1823a6a32a6132b7f6c20541.jpg","text":"TemporaryFile(/tmp/multipartBody7283507338515899002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168090234,"filename":"image_26112025_10_29_30_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/26/fc3600ee0af75deab77e48951842de75.jpg","text":"TemporaryFile(/tmp/multipartBody303278992598665047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168090234,"filename":"image_26112025_10_29_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/26/f4daf2afc788fcb09664ac8adbf03a98.jpg","text":"TemporaryFile(/tmp/multipartBody3388158915802793745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168090234,"filename":"image_26112025_10_29_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/26/43d436c3f7ce5926ee2b17c6fe411c8d.jpg","text":"TemporaryFile(/tmp/multipartBody3655701225222334513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168090234,"filename":"image_26112025_10_29_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/26/1b5bb867238468e9d219047bc3a793da.jpg","text":"TemporaryFile(/tmp/multipartBody4306032320684014788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168090234,"filename":"image_26112025_10_31_22_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396260080","file1":"1396260069","file0":"1396260066","file4":"1396260087","file5":"1396260088","file3":"1396260085"},"map_files_photo_id_array":[{"photo_id":"1396260088","filename":"file5"},{"photo_id":"1396260080","filename":"file2"},{"photo_id":"1396260087","filename":"file4"},{"photo_id":"1396260069","filename":"file1"},{"photo_id":"1396260066","filename":"file0"},{"photo_id":"1396260085","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396260087":["hashtag1","hashtag2"]},{"1396260069":["hashtag1","hashtag2"]},{"1396260066":["hashtag1","hashtag2"]},{"1396260080":["hashtag1","hashtag2"]},{"1396260085":["hashtag1","hashtag2"]},{"1396260088":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396260087, 1396260069, 1396260066, 1396260080, 1396260085, 1396260088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40128135681152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 15:41:12.761753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/31/image_26112025_10_31_26_3564.jpg', '/home/pi/Desktop/images/26112025/10/31/image_26112025_10_31_28_2673.jpg', '/home/pi/Desktop/images/26112025/10/31/image_26112025_10_31_31_2507.jpg', '/home/pi/Desktop/images/26112025/10/31/image_26112025_10_31_34_3635.jpg', '/home/pi/Desktop/images/26112025/10/31/image_26112025_10_31_37_2561.jpg', '/home/pi/Desktop/images/26112025/10/31/image_26112025_10_31_40_2811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/31/image_26112025_10_31_26_3564.jpg
/home/pi/Desktop/images/26112025/10/31/image_26112025_10_31_28_2673.jpg
/home/pi/Desktop/images/26112025/10/31/image_26112025_10_31_31_2507.jpg
/home/pi/Desktop/images/26112025/10/31/image_26112025_10_31_34_3635.jpg
/home/pi/Desktop/images/26112025/10/31/image_26112025_10_31_37_2561.jpg
/home/pi/Desktop/images/26112025/10/31/image_26112025_10_31_40_2811.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":["1396260133","1396260112","1396260136","1396260098","1396260092","1396260130"],"photo_ids_order":["1396260092","1396260098","1396260112","1396260130","1396260133","1396260136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/550ad4bbad4b3ae80d36d55370377961.jpg","text":"TemporaryFile(/tmp/multipartBody6952830787996924350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168133468,"filename":"image_26112025_10_31_37_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/26/818c0720c4b6e7fe53cc07655d6923e0.jpg","text":"TemporaryFile(/tmp/multipartBody2035304228229132055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168133468,"filename":"image_26112025_10_31_31_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/26/3539d5c04eeef8f443c44f179f88f574.jpg","text":"TemporaryFile(/tmp/multipartBody3372385469091450661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168133468,"filename":"image_26112025_10_31_40_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/26/4d76ad02fa49249697f5798de6f5de8c.jpg","text":"TemporaryFile(/tmp/multipartBody2143534845715649870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168133468,"filename":"image_26112025_10_31_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/26/53645d567f9cd5b9fca3dd190b5270e8.jpg","text":"TemporaryFile(/tmp/multipartBody8608717445965169067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168133468,"filename":"image_26112025_10_31_26_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/26/42b26536760c08c3cd32395999df5996.jpg","text":"TemporaryFile(/tmp/multipartBody4471710243559263243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168133468,"filename":"image_26112025_10_31_34_3635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396260112","file1":"1396260098","file0":"1396260092","file4":"1396260133","file5":"1396260136","file3":"1396260130"},"map_files_photo_id_array":[{"photo_id":"1396260136","filename":"file5"},{"photo_id":"1396260112","filename":"file2"},{"photo_id":"1396260133","filename":"file4"},{"photo_id":"1396260098","filename":"file1"},{"photo_id":"1396260092","filename":"file0"},{"photo_id":"1396260130","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396260133":["hashtag1","hashtag2"]},{"1396260112":["hashtag1","hashtag2"]},{"1396260136":["hashtag1","hashtag2"]},{"1396260098":["hashtag1","hashtag2"]},{"1396260092":["hashtag1","hashtag2"]},{"1396260130":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396260133, 1396260112, 1396260136, 1396260098, 1396260092, 1396260130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.718467235565186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 15:42:12.573861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/31/image_26112025_10_31_43_3621.jpg', '/home/pi/Desktop/images/26112025/10/31/image_26112025_10_31_50_3621.jpg', '/home/pi/Desktop/images/26112025/10/31/image_26112025_10_31_52_2666.jpg', '/home/pi/Desktop/images/26112025/10/31/image_26112025_10_31_55_2705.jpg', '/home/pi/Desktop/images/26112025/10/31/image_26112025_10_31_59_3642.jpg', '/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_01_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/31/image_26112025_10_31_43_3621.jpg
/home/pi/Desktop/images/26112025/10/31/image_26112025_10_31_50_3621.jpg
/home/pi/Desktop/images/26112025/10/31/image_26112025_10_31_52_2666.jpg
/home/pi/Desktop/images/26112025/10/31/image_26112025_10_31_55_2705.jpg
/home/pi/Desktop/images/26112025/10/31/image_26112025_10_31_59_3642.jpg
/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_01_2604.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":["1396260142","1396260150","1396260144","1396260147","1396260164","1396260173"],"photo_ids_order":["1396260142","1396260144","1396260147","1396260150","1396260164","1396260173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/257aa1be28f0dee12e9a718eae0e7c64.jpg","text":"TemporaryFile(/tmp/multipartBody686895347824147035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168194924,"filename":"image_26112025_10_31_43_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/26/c6510e1ea5956d39dbb4e3d4a61b12a9.jpg","text":"TemporaryFile(/tmp/multipartBody4466412743103604291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168194924,"filename":"image_26112025_10_31_55_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7665f9808cac433338402587c7201370.jpg","text":"TemporaryFile(/tmp/multipartBody6855380336136570226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168194924,"filename":"image_26112025_10_31_50_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/26/fe0a6481de737adb90109c7169de1c79.jpg","text":"TemporaryFile(/tmp/multipartBody8599880152066323000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168194924,"filename":"image_26112025_10_31_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/26/7e3212e607324cf0722f255c384988d2.jpg","text":"TemporaryFile(/tmp/multipartBody2247236481185261244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168194924,"filename":"image_26112025_10_31_59_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/26/756f21efea8e570291c14accce64b9e5.jpg","text":"TemporaryFile(/tmp/multipartBody3816002391421305508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168194924,"filename":"image_26112025_10_32_01_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396260147","file1":"1396260144","file0":"1396260142","file4":"1396260164","file5":"1396260173","file3":"1396260150"},"map_files_photo_id_array":[{"photo_id":"1396260173","filename":"file5"},{"photo_id":"1396260147","filename":"file2"},{"photo_id":"1396260164","filename":"file4"},{"photo_id":"1396260144","filename":"file1"},{"photo_id":"1396260142","filename":"file0"},{"photo_id":"1396260150","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396260142":["hashtag1","hashtag2"]},{"1396260150":["hashtag1","hashtag2"]},{"1396260144":["hashtag1","hashtag2"]},{"1396260147":["hashtag1","hashtag2"]},{"1396260164":["hashtag1","hashtag2"]},{"1396260173":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396260142, 1396260150, 1396260144, 1396260147, 1396260164, 1396260173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0625958442688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 15:42:52.128084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_04_2658.jpg', '/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_07_3523.jpg', '/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_10_2605.jpg', '/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_14_3549.jpg', '/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_19_2590.jpg', '/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_22_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_04_2658.jpg
/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_07_3523.jpg
/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_10_2605.jpg
/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_14_3549.jpg
/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_19_2590.jpg
/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_22_2634.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":["1396260214","1396260243","1396260242","1396260215","1396260212","1396260256"],"photo_ids_order":["1396260212","1396260214","1396260215","1396260242","1396260243","1396260256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/49e64718d533d6bbd5b88646478d69b0.jpg","text":"TemporaryFile(/tmp/multipartBody5830970557564046236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168232867,"filename":"image_26112025_10_32_07_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/26/908b4852884c40e9e52dc83418484d34.jpg","text":"TemporaryFile(/tmp/multipartBody1785660959936572490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168232867,"filename":"image_26112025_10_32_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/26/268580d07941485fa9c8995e8d47bd8f.jpg","text":"TemporaryFile(/tmp/multipartBody7884400719910858517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168232867,"filename":"image_26112025_10_32_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/26/f814042d4d236b83f0ea532a5b4c3501.jpg","text":"TemporaryFile(/tmp/multipartBody8112885836744836547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168232867,"filename":"image_26112025_10_32_10_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/26/82d2f5583da895915153986659a52961.jpg","text":"TemporaryFile(/tmp/multipartBody6507395118398824005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168232867,"filename":"image_26112025_10_32_04_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/26/0517c6fa4392a4eb8d42f078bf8d6c73.jpg","text":"TemporaryFile(/tmp/multipartBody6078327870254939731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168232867,"filename":"image_26112025_10_32_22_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396260215","file1":"1396260214","file0":"1396260212","file4":"1396260243","file5":"1396260256","file3":"1396260242"},"map_files_photo_id_array":[{"photo_id":"1396260256","filename":"file5"},{"photo_id":"1396260215","filename":"file2"},{"photo_id":"1396260243","filename":"file4"},{"photo_id":"1396260214","filename":"file1"},{"photo_id":"1396260212","filename":"file0"},{"photo_id":"1396260242","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396260214":["hashtag1","hashtag2"]},{"1396260243":["hashtag1","hashtag2"]},{"1396260242":["hashtag1","hashtag2"]},{"1396260215":["hashtag1","hashtag2"]},{"1396260212":["hashtag1","hashtag2"]},{"1396260256":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396260214, 1396260243, 1396260242, 1396260215, 1396260212, 1396260256)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.913052797317505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 15:43:46.408342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_25_3704.jpg', '/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_28_2969.jpg', '/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_31_2564.jpg', '/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_35_3650.jpg', '/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_37_2710.jpg', '/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_40_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_25_3704.jpg
/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_28_2969.jpg
/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_31_2564.jpg
/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_35_3650.jpg
/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_37_2710.jpg
/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_40_2653.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":["1396260288","1396260290","1396260320","1396260292","1396260289","1396260286"],"photo_ids_order":["1396260286","1396260288","1396260289","1396260290","1396260292","1396260320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7b025a1a96bc7053739b47be6a2b201a.jpg","text":"TemporaryFile(/tmp/multipartBody807706193522864808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168287056,"filename":"image_26112025_10_32_28_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/26/60d661ef52ec32c734b5a16ea868a111.jpg","text":"TemporaryFile(/tmp/multipartBody8800986069349357203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168287056,"filename":"image_26112025_10_32_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/26/1d02266c6711bd11c723a93ee2af597a.jpg","text":"TemporaryFile(/tmp/multipartBody3564963457608117902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168287056,"filename":"image_26112025_10_32_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/26/3c627be39f7449432f0708dfba044c1d.jpg","text":"TemporaryFile(/tmp/multipartBody5876657691531780383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168287056,"filename":"image_26112025_10_32_37_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5f0d9aeb946abbbd73af2ae86a3c1dc4.jpg","text":"TemporaryFile(/tmp/multipartBody482542961637518051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168287056,"filename":"image_26112025_10_32_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/26/01abbf8667f009d384bb02d3d2f1cb46.jpg","text":"TemporaryFile(/tmp/multipartBody6878042200404114071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168287056,"filename":"image_26112025_10_32_25_3704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396260289","file1":"1396260288","file0":"1396260286","file4":"1396260292","file5":"1396260320","file3":"1396260290"},"map_files_photo_id_array":[{"photo_id":"1396260320","filename":"file5"},{"photo_id":"1396260289","filename":"file2"},{"photo_id":"1396260292","filename":"file4"},{"photo_id":"1396260288","filename":"file1"},{"photo_id":"1396260286","filename":"file0"},{"photo_id":"1396260290","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396260288":["hashtag1","hashtag2"]},{"1396260290":["hashtag1","hashtag2"]},{"1396260320":["hashtag1","hashtag2"]},{"1396260292":["hashtag1","hashtag2"]},{"1396260289":["hashtag1","hashtag2"]},{"1396260286":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396260288, 1396260290, 1396260320, 1396260292, 1396260289, 1396260286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14683985710144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 15:44:22.600509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_43_3570.jpg', '/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_46_2702.jpg', '/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_49_2891.jpg', '/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_52_2685.jpg', '/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_55_3540.jpg', '/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_58_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_43_3570.jpg
/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_46_2702.jpg
/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_49_2891.jpg
/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_52_2685.jpg
/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_55_3540.jpg
/home/pi/Desktop/images/26112025/10/32/image_26112025_10_32_58_2749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396260511","1396260468","1396260516","1396260431","1396260521","1396260496"],"photo_ids_order":["1396260431","1396260468","1396260496","1396260511","1396260516","1396260521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/08e99a2ec51dd9517f1b5c2741299d81.jpg","text":"TemporaryFile(/tmp/multipartBody2343105413846871709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168323310,"filename":"image_26112025_10_32_52_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/26/5be90f829226c863bd56340b688cb15e.jpg","text":"TemporaryFile(/tmp/multipartBody7579012669755087590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168323310,"filename":"image_26112025_10_32_46_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/26/6ff93e0ec2cc97b8a3d741e71ba6cd83.jpg","text":"TemporaryFile(/tmp/multipartBody8160939974822453825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168323310,"filename":"image_26112025_10_32_55_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/26/9ac2986efea9484bf0847416a8ec16d6.jpg","text":"TemporaryFile(/tmp/multipartBody2162036120406459893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168323310,"filename":"image_26112025_10_32_43_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/26/aff2543914d487bb94dbce09f20b4abb.jpg","text":"TemporaryFile(/tmp/multipartBody4387009767694522089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168323310,"filename":"image_26112025_10_32_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/26/50837bb529eb61b8f0dcb0c3ee0d55aa.jpg","text":"TemporaryFile(/tmp/multipartBody4046075104816785636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168323310,"filename":"image_26112025_10_32_49_2891.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396260496","file1":"1396260468","file0":"1396260431","file4":"1396260516","file5":"1396260521","file3":"1396260511"},"map_files_photo_id_array":[{"photo_id":"1396260521","filename":"file5"},{"photo_id":"1396260496","filename":"file2"},{"photo_id":"1396260516","filename":"file4"},{"photo_id":"1396260468","filename":"file1"},{"photo_id":"1396260431","filename":"file0"},{"photo_id":"1396260511","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396260511":["hashtag1","hashtag2"]},{"1396260468":["hashtag1","hashtag2"]},{"1396260516":["hashtag1","hashtag2"]},{"1396260431":["hashtag1","hashtag2"]},{"1396260521":["hashtag1","hashtag2"]},{"1396260496":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396260511, 1396260468, 1396260516, 1396260431, 1396260521, 1396260496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00248622894287 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 15:45:03.429135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/33/image_26112025_10_33_01_2793.jpg', '/home/pi/Desktop/images/26112025/10/33/image_26112025_10_33_04_3583.jpg', '/home/pi/Desktop/images/26112025/10/33/image_26112025_10_33_07_2656.jpg', '/home/pi/Desktop/images/26112025/10/33/image_26112025_10_33_10_2608.jpg', '/home/pi/Desktop/images/26112025/10/33/image_26112025_10_33_13_3677.jpg', '/home/pi/Desktop/images/26112025/10/33/image_26112025_10_33_16_2215.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/33/image_26112025_10_33_01_2793.jpg
/home/pi/Desktop/images/26112025/10/33/image_26112025_10_33_04_3583.jpg
/home/pi/Desktop/images/26112025/10/33/image_26112025_10_33_07_2656.jpg
/home/pi/Desktop/images/26112025/10/33/image_26112025_10_33_10_2608.jpg
/home/pi/Desktop/images/26112025/10/33/image_26112025_10_33_13_3677.jpg
/home/pi/Desktop/images/26112025/10/33/image_26112025_10_33_16_2215.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":["1396260564","1396260567","1396260552","1396260560","1396260554","1396260556"],"photo_ids_order":["1396260552","1396260554","1396260556","1396260560","1396260564","1396260567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/763daa5d77fa77f45b04d63cae442c47.jpg","text":"TemporaryFile(/tmp/multipartBody2487255473733989340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168367106,"filename":"image_26112025_10_33_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/26/e7eee174d06be65e72880760c240f959.jpg","text":"TemporaryFile(/tmp/multipartBody8610236407985203582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168367106,"filename":"image_26112025_10_33_16_2215.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/66e0f4d613c6c5f122967f9f8053de6d.jpg","text":"TemporaryFile(/tmp/multipartBody5121876108460553788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168367106,"filename":"image_26112025_10_33_01_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/26/ea18db3c45cb164cfcd8f0801ffb2359.jpg","text":"TemporaryFile(/tmp/multipartBody2507037550580451504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168367106,"filename":"image_26112025_10_33_10_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/368e1411c1232868586a2de3829d1256.jpg","text":"TemporaryFile(/tmp/multipartBody705773840853056808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168367106,"filename":"image_26112025_10_33_04_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/26/2c9bef7fb8b4830af5a18c1a323e7349.jpg","text":"TemporaryFile(/tmp/multipartBody3604855217657333815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168367106,"filename":"image_26112025_10_33_07_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396260556","file1":"1396260554","file0":"1396260552","file4":"1396260564","file5":"1396260567","file3":"1396260560"},"map_files_photo_id_array":[{"photo_id":"1396260567","filename":"file5"},{"photo_id":"1396260556","filename":"file2"},{"photo_id":"1396260564","filename":"file4"},{"photo_id":"1396260554","filename":"file1"},{"photo_id":"1396260552","filename":"file0"},{"photo_id":"1396260560","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396260564":["hashtag1","hashtag2"]},{"1396260567":["hashtag1","hashtag2"]},{"1396260552":["hashtag1","hashtag2"]},{"1396260560":["hashtag1","hashtag2"]},{"1396260554":["hashtag1","hashtag2"]},{"1396260556":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396260564, 1396260567, 1396260552, 1396260560, 1396260554, 1396260556)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.25299882888794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 15:46:03.375899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 15:46:12.822413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/33/image_26112025_10_33_19_3516.jpg', '/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_07_3011.jpg', '/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_10_3600.jpg', '/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_13_2506.jpg', '/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_16_3538.jpg', '/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_19_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/33/image_26112025_10_33_19_3516.jpg
/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_07_3011.jpg
/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_10_3600.jpg
/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_13_2506.jpg
/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_16_3538.jpg
/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_19_2726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396260594","1396260597","1396260582","1396260591","1396260579","1396260587"],"photo_ids_order":["1396260579","1396260582","1396260587","1396260591","1396260594","1396260597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f1bded253365439dd402d4d3e656876a.jpg","text":"TemporaryFile(/tmp/multipartBody7690723907999773255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168435225,"filename":"image_26112025_10_35_16_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/26/21b4748db606caf5b85721ca65dee247.jpg","text":"TemporaryFile(/tmp/multipartBody4686598934109041399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168435225,"filename":"image_26112025_10_35_19_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ba743e70bfac73d435ebc1aa591b83cf.jpg","text":"TemporaryFile(/tmp/multipartBody1522246858834024189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168435225,"filename":"image_26112025_10_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/26/9c8f4f997d5a9259273ac310fda8010b.jpg","text":"TemporaryFile(/tmp/multipartBody6679913170262596143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168435225,"filename":"image_26112025_10_35_13_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/26/d281d9af59200c0d9587754f13d95077.jpg","text":"TemporaryFile(/tmp/multipartBody7775416421390618721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168435225,"filename":"image_26112025_10_33_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/26/854698944051aa34792af6cbac77f20e.jpg","text":"TemporaryFile(/tmp/multipartBody644681130736703377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168435225,"filename":"image_26112025_10_35_10_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396260587","file1":"1396260582","file0":"1396260579","file4":"1396260594","file5":"1396260597","file3":"1396260591"},"map_files_photo_id_array":[{"photo_id":"1396260597","filename":"file5"},{"photo_id":"1396260587","filename":"file2"},{"photo_id":"1396260594","filename":"file4"},{"photo_id":"1396260582","filename":"file1"},{"photo_id":"1396260579","filename":"file0"},{"photo_id":"1396260591","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396260594":["hashtag1","hashtag2"]},{"1396260597":["hashtag1","hashtag2"]},{"1396260582":["hashtag1","hashtag2"]},{"1396260591":["hashtag1","hashtag2"]},{"1396260579":["hashtag1","hashtag2"]},{"1396260587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396260594, 1396260597, 1396260582, 1396260591, 1396260579, 1396260587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.00688052177429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 15:47:02.667270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_22_2852.jpg', '/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_26_3706.jpg', '/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_29_2736.jpg', '/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_31_2567.jpg', '/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_34_2722.jpg', '/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_38_3706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_22_2852.jpg
/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_26_3706.jpg
/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_29_2736.jpg
/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_31_2567.jpg
/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_34_2722.jpg
/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_38_3706.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":["1396260610","1396260613","1396260621","1396260618","1396260606","1396260608"],"photo_ids_order":["1396260606","1396260608","1396260610","1396260613","1396260618","1396260621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/03887bfed7c6ce9c4e3c3ac389251b5a.jpg","text":"TemporaryFile(/tmp/multipartBody8888345808360044200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168486012,"filename":"image_26112025_10_35_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/26/12daea5ee64c9f8a16e65d6862704a69.jpg","text":"TemporaryFile(/tmp/multipartBody7126667780578531864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168486012,"filename":"image_26112025_10_35_31_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/422b578934a07f507f8dea2fb53aef1d.jpg","text":"TemporaryFile(/tmp/multipartBody4932083517849564984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168486012,"filename":"image_26112025_10_35_38_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/26/310fcbd7fad2fbe026a0a67a2ecf6474.jpg","text":"TemporaryFile(/tmp/multipartBody6250227365921711772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168486012,"filename":"image_26112025_10_35_34_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bda28e49537c6941beba38bb503f169f.jpg","text":"TemporaryFile(/tmp/multipartBody6093717116210385808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168486012,"filename":"image_26112025_10_35_22_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/26/b62fcb7a262221a9c3e19a85dab49a2b.jpg","text":"TemporaryFile(/tmp/multipartBody3114492874679797757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168486012,"filename":"image_26112025_10_35_26_3706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396260610","file1":"1396260608","file0":"1396260606","file4":"1396260618","file5":"1396260621","file3":"1396260613"},"map_files_photo_id_array":[{"photo_id":"1396260621","filename":"file5"},{"photo_id":"1396260610","filename":"file2"},{"photo_id":"1396260618","filename":"file4"},{"photo_id":"1396260608","filename":"file1"},{"photo_id":"1396260606","filename":"file0"},{"photo_id":"1396260613","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396260610":["hashtag1","hashtag2"]},{"1396260613":["hashtag1","hashtag2"]},{"1396260621":["hashtag1","hashtag2"]},{"1396260618":["hashtag1","hashtag2"]},{"1396260606":["hashtag1","hashtag2"]},{"1396260608":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396260610, 1396260613, 1396260621, 1396260618, 1396260606, 1396260608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.85419201850891 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-26 15:48:02.890111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_40_2698.jpg', '/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_43_2619.jpg', '/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_46_3661.jpg', '/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_49_2543.jpg', '/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_53_3698.jpg', '/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_55_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_40_2698.jpg
/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_43_2619.jpg
/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_46_3661.jpg
/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_49_2543.jpg
/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_53_3698.jpg
/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_55_2682.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":["1396260643","1396260631","1396260639","1396260633","1396260635","1396260646"],"photo_ids_order":["1396260631","1396260633","1396260635","1396260639","1396260643","1396260646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f0a0c73fa6e32369cf399b206c9ed81b.jpg","text":"TemporaryFile(/tmp/multipartBody248082698879275545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168546171,"filename":"image_26112025_10_35_53_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/26/44895aed4d4902d595b55ad9d2d070df.jpg","text":"TemporaryFile(/tmp/multipartBody6636312846620845917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168546171,"filename":"image_26112025_10_35_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/26/b1e5861eeaa8fabd86ed601b4beaabdd.jpg","text":"TemporaryFile(/tmp/multipartBody2887515499048720949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168546171,"filename":"image_26112025_10_35_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/26/ee95c17c30b4752290ca9ad47e8257d2.jpg","text":"TemporaryFile(/tmp/multipartBody8809634525409816612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168546171,"filename":"image_26112025_10_35_43_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/26/6949049e574e90193059257fa7affd9d.jpg","text":"TemporaryFile(/tmp/multipartBody519932066752331747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168546171,"filename":"image_26112025_10_35_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/26/9ede8b7fd461743dbdef3aa2363a68a3.jpg","text":"TemporaryFile(/tmp/multipartBody6985283434413288778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168546171,"filename":"image_26112025_10_35_55_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396260635","file1":"1396260633","file0":"1396260631","file4":"1396260643","file5":"1396260646","file3":"1396260639"},"map_files_photo_id_array":[{"photo_id":"1396260646","filename":"file5"},{"photo_id":"1396260635","filename":"file2"},{"photo_id":"1396260643","filename":"file4"},{"photo_id":"1396260633","filename":"file1"},{"photo_id":"1396260631","filename":"file0"},{"photo_id":"1396260639","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396260643":["hashtag1","hashtag2"]},{"1396260631":["hashtag1","hashtag2"]},{"1396260639":["hashtag1","hashtag2"]},{"1396260633":["hashtag1","hashtag2"]},{"1396260635":["hashtag1","hashtag2"]},{"1396260646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396260643, 1396260631, 1396260639, 1396260633, 1396260635, 1396260646)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.98585319519043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
2025-11-26 15:49:09.080492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_58_2625.jpg', '/home/pi/Desktop/images/26112025/10/36/image_26112025_10_36_02_3693.jpg', '/home/pi/Desktop/images/26112025/10/36/image_26112025_10_36_05_2799.jpg', '/home/pi/Desktop/images/26112025/10/36/image_26112025_10_36_07_2674.jpg', '/home/pi/Desktop/images/26112025/10/37/image_26112025_10_37_07_3018.jpg', '/home/pi/Desktop/images/26112025/10/37/image_26112025_10_37_10_3553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/35/image_26112025_10_35_58_2625.jpg
/home/pi/Desktop/images/26112025/10/36/image_26112025_10_36_02_3693.jpg
/home/pi/Desktop/images/26112025/10/36/image_26112025_10_36_05_2799.jpg
/home/pi/Desktop/images/26112025/10/36/image_26112025_10_36_07_2674.jpg
/home/pi/Desktop/images/26112025/10/37/image_26112025_10_37_07_3018.jpg
/home/pi/Desktop/images/26112025/10/37/image_26112025_10_37_10_3553.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":["1396261041","1396261035","1396261029","1396261038","1396261031","1396261027"],"photo_ids_order":["1396261027","1396261029","1396261031","1396261035","1396261038","1396261041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d569c244210d2a1cffc17a9f01dc7179.jpg","text":"TemporaryFile(/tmp/multipartBody8293660964837005050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168612863,"filename":"image_26112025_10_37_10_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/26/451b5e7e60a9dc99e663ad6323009d4c.jpg","text":"TemporaryFile(/tmp/multipartBody6846343749268431119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168612863,"filename":"image_26112025_10_36_07_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d380c7b514879d5b4255a98c7426703b.jpg","text":"TemporaryFile(/tmp/multipartBody272966566755929064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168612863,"filename":"image_26112025_10_36_02_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/26/3fcaa8c9ebe63755f1c4efc2141eecaf.jpg","text":"TemporaryFile(/tmp/multipartBody5918431227399525744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168612863,"filename":"image_26112025_10_37_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/26/cd06e722cf579be67099aa217633cfcb.jpg","text":"TemporaryFile(/tmp/multipartBody3851863709433072925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168612863,"filename":"image_26112025_10_36_05_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/26/f74dd2d3da097341b305f10a9283b07a.jpg","text":"TemporaryFile(/tmp/multipartBody5136151641476230826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168612863,"filename":"image_26112025_10_35_58_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396261031","file1":"1396261029","file0":"1396261027","file4":"1396261038","file5":"1396261041","file3":"1396261035"},"map_files_photo_id_array":[{"photo_id":"1396261041","filename":"file5"},{"photo_id":"1396261031","filename":"file2"},{"photo_id":"1396261038","filename":"file4"},{"photo_id":"1396261029","filename":"file1"},{"photo_id":"1396261027","filename":"file0"},{"photo_id":"1396261035","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396261041":["hashtag1","hashtag2"]},{"1396261035":["hashtag1","hashtag2"]},{"1396261029":["hashtag1","hashtag2"]},{"1396261038":["hashtag1","hashtag2"]},{"1396261031":["hashtag1","hashtag2"]},{"1396261027":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396261041, 1396261035, 1396261029, 1396261038, 1396261031, 1396261027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.236711740493774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 15:50:02.635965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/37/image_26112025_10_37_13_2712.jpg', '/home/pi/Desktop/images/26112025/10/37/image_26112025_10_37_17_3644.jpg', '/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_07_3018.jpg', '/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_11_3798.jpg', '/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_14_2813.jpg', '/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_17_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/37/image_26112025_10_37_13_2712.jpg
/home/pi/Desktop/images/26112025/10/37/image_26112025_10_37_17_3644.jpg
/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_07_3018.jpg
/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_11_3798.jpg
/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_14_2813.jpg
/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_17_2802.jpg
 val : 1 : upload photos already in processing! 
 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":["1396261070","1396261058","1396261055","1396261075","1396261063","1396261054"],"photo_ids_order":["1396261054","1396261055","1396261058","1396261063","1396261070","1396261075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/882116b6a51e7ae56563195eb06a45d0.jpg","text":"TemporaryFile(/tmp/multipartBody6363310712506767768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168666221,"filename":"image_26112025_10_38_14_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/26/65a2c9af3904e479339586b21ab17a28.jpg","text":"TemporaryFile(/tmp/multipartBody3619979430029893986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168666221,"filename":"image_26112025_10_38_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/26/f596cdae2112c9e0b567e5ca7468959a.jpg","text":"TemporaryFile(/tmp/multipartBody7964056442356428741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168666221,"filename":"image_26112025_10_37_17_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/26/341f878873aaa64d571561f7b0572e9f.jpg","text":"TemporaryFile(/tmp/multipartBody7060834979415643711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168666221,"filename":"image_26112025_10_38_17_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/26/fb1cbce739b5766e05805cbfa85d17be.jpg","text":"TemporaryFile(/tmp/multipartBody2086191556261550246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168666221,"filename":"image_26112025_10_38_11_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/26/9fc0adc90015f92a6d7916aeb5717fb2.jpg","text":"TemporaryFile(/tmp/multipartBody353505410339286703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168666221,"filename":"image_26112025_10_37_13_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396261058","file1":"1396261055","file0":"1396261054","file4":"1396261070","file5":"1396261075","file3":"1396261063"},"map_files_photo_id_array":[{"photo_id":"1396261075","filename":"file5"},{"photo_id":"1396261058","filename":"file2"},{"photo_id":"1396261070","filename":"file4"},{"photo_id":"1396261055","filename":"file1"},{"photo_id":"1396261054","filename":"file0"},{"photo_id":"1396261063","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396261070":["hashtag1","hashtag2"]},{"1396261058":["hashtag1","hashtag2"]},{"1396261055":["hashtag1","hashtag2"]},{"1396261075":["hashtag1","hashtag2"]},{"1396261063":["hashtag1","hashtag2"]},{"1396261054":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396261070, 1396261058, 1396261055, 1396261075, 1396261063, 1396261054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.626192808151245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 15:51:05.419429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_19_2644.jpg', '/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_23_3647.jpg', '/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_26_2695.jpg', '/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_28_2559.jpg', '/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_32_3823.jpg', '/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_35_2961.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_19_2644.jpg
/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_23_3647.jpg
/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_26_2695.jpg
/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_28_2559.jpg
/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_32_3823.jpg
/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_35_2961.jpg
 val : 1 : upload photos already in processing! 
 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":["1396261092","1396261097","1396261085","1396261100","1396261087","1396261084"],"photo_ids_order":["1396261084","1396261085","1396261087","1396261092","1396261097","1396261100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4552f0afdef9d4600d5db03c34461c62.jpg","text":"TemporaryFile(/tmp/multipartBody662570854586339987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168729115,"filename":"image_26112025_10_38_28_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/26/66dbd4a5733ed5aa6844cfd1a2cae80e.jpg","text":"TemporaryFile(/tmp/multipartBody4689802313962398707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168729115,"filename":"image_26112025_10_38_32_3823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ecca1e0477797b353c5e91df8e377207.jpg","text":"TemporaryFile(/tmp/multipartBody2426941694781132803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168729115,"filename":"image_26112025_10_38_23_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/26/688ac9cf9f186d8bffb42160443a84b5.jpg","text":"TemporaryFile(/tmp/multipartBody7013596368836257219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168729115,"filename":"image_26112025_10_38_35_2961.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3d11e89736fe84f05f6732e058823e69.jpg","text":"TemporaryFile(/tmp/multipartBody9138722912182403383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168729115,"filename":"image_26112025_10_38_26_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/26/41e7a74fa0f72106599f73d55f424bcc.jpg","text":"TemporaryFile(/tmp/multipartBody3958229541576895107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168729115,"filename":"image_26112025_10_38_19_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396261087","file1":"1396261085","file0":"1396261084","file4":"1396261097","file5":"1396261100","file3":"1396261092"},"map_files_photo_id_array":[{"photo_id":"1396261100","filename":"file5"},{"photo_id":"1396261087","filename":"file2"},{"photo_id":"1396261097","filename":"file4"},{"photo_id":"1396261085","filename":"file1"},{"photo_id":"1396261084","filename":"file0"},{"photo_id":"1396261092","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396261092":["hashtag1","hashtag2"]},{"1396261097":["hashtag1","hashtag2"]},{"1396261085":["hashtag1","hashtag2"]},{"1396261100":["hashtag1","hashtag2"]},{"1396261087":["hashtag1","hashtag2"]},{"1396261084":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396261092, 1396261097, 1396261085, 1396261100, 1396261087, 1396261084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.88962006568909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 15:52:02.496253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 15:52:12.046665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_38_2575.jpg', '/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_40_2678.jpg', '/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_44_3792.jpg', '/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_47_2692.jpg', '/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_07_3011.jpg', '/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_10_3566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_38_2575.jpg
/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_40_2678.jpg
/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_44_3792.jpg
/home/pi/Desktop/images/26112025/10/38/image_26112025_10_38_47_2692.jpg
/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_07_3011.jpg
/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_10_3566.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":["1396261110","1396261112","1396261121","1396261115","1396261118","1396261126"],"photo_ids_order":["1396261110","1396261112","1396261115","1396261118","1396261121","1396261126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fe93336609818e7ada2c5423686b7947.jpg","text":"TemporaryFile(/tmp/multipartBody9184686167423159776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168792842,"filename":"image_26112025_10_38_38_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/26/333aaf320aaea56539dfd0d03c56328a.jpg","text":"TemporaryFile(/tmp/multipartBody1112857167936523684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168792842,"filename":"image_26112025_10_38_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/26/099272c2c9cf5ac284bff85cab7cebb5.jpg","text":"TemporaryFile(/tmp/multipartBody1558065446794347018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168792842,"filename":"image_26112025_10_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/26/6e17b1b29a4e53f20c62515f940d8e6d.jpg","text":"TemporaryFile(/tmp/multipartBody132391886832916537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168792842,"filename":"image_26112025_10_38_44_3792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a94832e85fe8ba05ceec857dba504458.jpg","text":"TemporaryFile(/tmp/multipartBody1526017376718845151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168792842,"filename":"image_26112025_10_38_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/26/5b1046babf972f351e8cd0d3df1ba0fd.jpg","text":"TemporaryFile(/tmp/multipartBody2496583109997807473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168792842,"filename":"image_26112025_10_41_10_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396261115","file1":"1396261112","file0":"1396261110","file4":"1396261121","file5":"1396261126","file3":"1396261118"},"map_files_photo_id_array":[{"photo_id":"1396261126","filename":"file5"},{"photo_id":"1396261115","filename":"file2"},{"photo_id":"1396261121","filename":"file4"},{"photo_id":"1396261112","filename":"file1"},{"photo_id":"1396261110","filename":"file0"},{"photo_id":"1396261118","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396261110":["hashtag1","hashtag2"]},{"1396261112":["hashtag1","hashtag2"]},{"1396261121":["hashtag1","hashtag2"]},{"1396261115":["hashtag1","hashtag2"]},{"1396261118":["hashtag1","hashtag2"]},{"1396261126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396261110, 1396261112, 1396261121, 1396261115, 1396261118, 1396261126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7294282913208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 15:53:02.921824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_13_2960.jpg', '/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_16_2690.jpg', '/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_19_3668.jpg', '/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_22_2532.jpg', '/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_25_2617.jpg', '/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_31_6288.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_13_2960.jpg
/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_16_2690.jpg
/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_19_3668.jpg
/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_22_2532.jpg
/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_25_2617.jpg
/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_31_6288.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":["1396261137","1396261139","1396261136","1396261141","1396261144","1396261138"],"photo_ids_order":["1396261136","1396261137","1396261138","1396261139","1396261141","1396261144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e8fca73de14ef2d6809ba3df1093b9c3.jpg","text":"TemporaryFile(/tmp/multipartBody2854931619757617580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168843792,"filename":"image_26112025_10_41_16_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/db3822475dd446fffb6f2ac83d71df22.jpg","text":"TemporaryFile(/tmp/multipartBody2318696155741458458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168843792,"filename":"image_26112025_10_41_22_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/55f8d5906ee0ecc47ce138e012d2460a.jpg","text":"TemporaryFile(/tmp/multipartBody390834351033103412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168843792,"filename":"image_26112025_10_41_13_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/26/e0b4bc3797a8c3f171f29e0745fe9c85.jpg","text":"TemporaryFile(/tmp/multipartBody411332898353448118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168843792,"filename":"image_26112025_10_41_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/26/548eb647e08b1b711e5b97c8c9ad9496.jpg","text":"TemporaryFile(/tmp/multipartBody1037500124198484233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168843792,"filename":"image_26112025_10_41_31_6288.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/88050fd8a8dd9d65bcf2ca478cd4104f.jpg","text":"TemporaryFile(/tmp/multipartBody425195374338255328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168843792,"filename":"image_26112025_10_41_19_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396261138","file1":"1396261137","file0":"1396261136","file4":"1396261141","file5":"1396261144","file3":"1396261139"},"map_files_photo_id_array":[{"photo_id":"1396261144","filename":"file5"},{"photo_id":"1396261138","filename":"file2"},{"photo_id":"1396261141","filename":"file4"},{"photo_id":"1396261137","filename":"file1"},{"photo_id":"1396261136","filename":"file0"},{"photo_id":"1396261139","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396261137":["hashtag1","hashtag2"]},{"1396261139":["hashtag1","hashtag2"]},{"1396261136":["hashtag1","hashtag2"]},{"1396261141":["hashtag1","hashtag2"]},{"1396261144":["hashtag1","hashtag2"]},{"1396261138":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396261137, 1396261139, 1396261136, 1396261141, 1396261144, 1396261138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75433707237244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 15:53:42.288905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_33_1840.jpg', '/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_34_1613.jpg', '/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_37_2629.jpg', '/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_39_2529.jpg', '/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_43_3922.jpg', '/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_46_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_33_1840.jpg
/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_34_1613.jpg
/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_37_2629.jpg
/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_39_2529.jpg
/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_43_3922.jpg
/home/pi/Desktop/images/26112025/10/41/image_26112025_10_41_46_2618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396261164","1396261173","1396261203","1396261175","1396261174","1396261168"],"photo_ids_order":["1396261164","1396261168","1396261173","1396261174","1396261175","1396261203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b72f360a63e9243c90b8fb1f01f56c4b.jpg","text":"TemporaryFile(/tmp/multipartBody8823049665633513163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168883040,"filename":"image_26112025_10_41_33_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/26/be1a57cb9ba7cc41de677ed0d4f29284.jpg","text":"TemporaryFile(/tmp/multipartBody899259016402194535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168883040,"filename":"image_26112025_10_41_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/26/3279b1d2c7bce1110f8d0351e8938cf1.jpg","text":"TemporaryFile(/tmp/multipartBody4976665992089966535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168883040,"filename":"image_26112025_10_41_46_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/26/8cbe7bf5068ec1b972e0f2c14873c2f0.jpg","text":"TemporaryFile(/tmp/multipartBody8709628885433851124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168883040,"filename":"image_26112025_10_41_43_3922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/328c01cd37c9b1dc5211505e1e26925e.jpg","text":"TemporaryFile(/tmp/multipartBody4067932759364867073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168883040,"filename":"image_26112025_10_41_39_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/26/b5ecac287a37a9039e15ad7f6bf2f5ad.jpg","text":"TemporaryFile(/tmp/multipartBody1750943200965018811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168883040,"filename":"image_26112025_10_41_34_1613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396261173","file1":"1396261168","file0":"1396261164","file4":"1396261175","file5":"1396261203","file3":"1396261174"},"map_files_photo_id_array":[{"photo_id":"1396261203","filename":"file5"},{"photo_id":"1396261173","filename":"file2"},{"photo_id":"1396261175","filename":"file4"},{"photo_id":"1396261168","filename":"file1"},{"photo_id":"1396261164","filename":"file0"},{"photo_id":"1396261174","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396261164":["hashtag1","hashtag2"]},{"1396261173":["hashtag1","hashtag2"]},{"1396261203":["hashtag1","hashtag2"]},{"1396261175":["hashtag1","hashtag2"]},{"1396261174":["hashtag1","hashtag2"]},{"1396261168":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396261164, 1396261173, 1396261203, 1396261175, 1396261174, 1396261168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.102741718292236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 15:54:22.558553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/43/image_26112025_10_43_06_3013.jpg', '/home/pi/Desktop/images/26112025/10/43/image_26112025_10_43_10_3577.jpg', '/home/pi/Desktop/images/26112025/10/43/image_26112025_10_43_13_2839.jpg', '/home/pi/Desktop/images/26112025/10/43/image_26112025_10_43_15_2570.jpg', '/home/pi/Desktop/images/26112025/10/43/image_26112025_10_43_19_3711.jpg', '/home/pi/Desktop/images/26112025/10/43/image_26112025_10_43_22_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/43/image_26112025_10_43_06_3013.jpg
/home/pi/Desktop/images/26112025/10/43/image_26112025_10_43_10_3577.jpg
/home/pi/Desktop/images/26112025/10/43/image_26112025_10_43_13_2839.jpg
/home/pi/Desktop/images/26112025/10/43/image_26112025_10_43_15_2570.jpg
/home/pi/Desktop/images/26112025/10/43/image_26112025_10_43_19_3711.jpg
/home/pi/Desktop/images/26112025/10/43/image_26112025_10_43_22_2659.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":["1396261226","1396261211","1396261220","1396261214","1396261223","1396261217"],"photo_ids_order":["1396261211","1396261214","1396261217","1396261220","1396261223","1396261226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c2ddf5c997d4d5e447257d6a3bbee6f8.jpg","text":"TemporaryFile(/tmp/multipartBody6361930488447603681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168923357,"filename":"image_26112025_10_43_22_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/26/bae4fff3b0a75c5b782d2755d4c16189.jpg","text":"TemporaryFile(/tmp/multipartBody8081374073148257964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168923357,"filename":"image_26112025_10_43_06_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/26/c98dc6480ca4e1f8312d0b555f840049.jpg","text":"TemporaryFile(/tmp/multipartBody1653539972823376325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168923357,"filename":"image_26112025_10_43_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/26/4dd8019b1bcffe714cef673687f3f632.jpg","text":"TemporaryFile(/tmp/multipartBody7255068026170230079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168923357,"filename":"image_26112025_10_43_10_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/26/994d126be47f9bf1b54729dbd2b21216.jpg","text":"TemporaryFile(/tmp/multipartBody2334327395453484049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168923357,"filename":"image_26112025_10_43_19_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/26/8aa3ba9dc4060a21adfa1cdadf9b68b5.jpg","text":"TemporaryFile(/tmp/multipartBody735166703030507847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168923357,"filename":"image_26112025_10_43_13_2839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396261217","file1":"1396261214","file0":"1396261211","file4":"1396261223","file5":"1396261226","file3":"1396261220"},"map_files_photo_id_array":[{"photo_id":"1396261226","filename":"file5"},{"photo_id":"1396261217","filename":"file2"},{"photo_id":"1396261223","filename":"file4"},{"photo_id":"1396261214","filename":"file1"},{"photo_id":"1396261211","filename":"file0"},{"photo_id":"1396261220","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396261226":["hashtag1","hashtag2"]},{"1396261211":["hashtag1","hashtag2"]},{"1396261220":["hashtag1","hashtag2"]},{"1396261214":["hashtag1","hashtag2"]},{"1396261223":["hashtag1","hashtag2"]},{"1396261217":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396261226, 1396261211, 1396261220, 1396261214, 1396261223, 1396261217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8402361869812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 15:55:03.399192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/43/image_26112025_10_43_25_2797.jpg', '/home/pi/Desktop/images/26112025/10/43/image_26112025_10_43_31_2569.jpg', '/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_07_3011.jpg', '/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_11_3642.jpg', '/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_14_2804.jpg', '/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_16_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/43/image_26112025_10_43_25_2797.jpg
/home/pi/Desktop/images/26112025/10/43/image_26112025_10_43_31_2569.jpg
/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_07_3011.jpg
/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_11_3642.jpg
/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_14_2804.jpg
/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_16_2600.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":["1396261233","1396261227","1396261241","1396261229","1396261252","1396261231"],"photo_ids_order":["1396261227","1396261229","1396261231","1396261233","1396261241","1396261252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1074bd5b58e22de81fd9af6c49d9e6e7.jpg","text":"TemporaryFile(/tmp/multipartBody5340390033970067402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168964266,"filename":"image_26112025_10_45_11_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/26/c8c3fa8e3a70ea60151cd96db1a6700d.jpg","text":"TemporaryFile(/tmp/multipartBody533385287229796831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168964266,"filename":"image_26112025_10_43_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/26/018dab64b29bd1bd566fb3945e95b792.jpg","text":"TemporaryFile(/tmp/multipartBody301249024006644042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168964266,"filename":"image_26112025_10_45_14_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/26/472213dc8b69b07a35ad6ce3da279f80.jpg","text":"TemporaryFile(/tmp/multipartBody5798576735192391936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168964266,"filename":"image_26112025_10_43_31_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/26/e703b45dc7759a8cae00509c8463b0b8.jpg","text":"TemporaryFile(/tmp/multipartBody8175848618176272123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168964266,"filename":"image_26112025_10_45_16_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/26/0f04e51924045578a16ded5ff42b3062.jpg","text":"TemporaryFile(/tmp/multipartBody626522482093861474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764168964266,"filename":"image_26112025_10_45_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396261231","file1":"1396261229","file0":"1396261227","file4":"1396261241","file5":"1396261252","file3":"1396261233"},"map_files_photo_id_array":[{"photo_id":"1396261252","filename":"file5"},{"photo_id":"1396261231","filename":"file2"},{"photo_id":"1396261241","filename":"file4"},{"photo_id":"1396261229","filename":"file1"},{"photo_id":"1396261227","filename":"file0"},{"photo_id":"1396261233","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396261233":["hashtag1","hashtag2"]},{"1396261227":["hashtag1","hashtag2"]},{"1396261241":["hashtag1","hashtag2"]},{"1396261229":["hashtag1","hashtag2"]},{"1396261252":["hashtag1","hashtag2"]},{"1396261231":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396261233, 1396261227, 1396261241, 1396261229, 1396261252, 1396261231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8079879283905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 15:55:42.841073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_20_3672.jpg', '/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_23_2639.jpg', '/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_26_3581.jpg', '/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_29_2641.jpg', '/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_42_13048.jpg', '/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_44_1690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_20_3672.jpg
/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_23_2639.jpg
/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_26_3581.jpg
/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_29_2641.jpg
/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_42_13048.jpg
/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_44_1690.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":["1396261263","1396261266","1396261292","1396261268","1396261271","1396261270"],"photo_ids_order":["1396261263","1396261266","1396261268","1396261270","1396261271","1396261292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c198dd1d07cb5745f1ba94a57c4c2a48.jpg","text":"TemporaryFile(/tmp/multipartBody9082888561192401270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169003667,"filename":"image_26112025_10_45_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/26/6cff4c05151211c58734b23472f83242.jpg","text":"TemporaryFile(/tmp/multipartBody1664970453021586527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169003667,"filename":"image_26112025_10_45_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/26/b4563260215b130825cc2628ee9b081c.jpg","text":"TemporaryFile(/tmp/multipartBody1599586919125665239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169003667,"filename":"image_26112025_10_45_44_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/26/8b30511a8c516381b5f0dd6ea1d69b86.jpg","text":"TemporaryFile(/tmp/multipartBody173817433041671100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169003667,"filename":"image_26112025_10_45_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/26/070708b0e281db7fd2f3bf1b0f7c3226.jpg","text":"TemporaryFile(/tmp/multipartBody8300209215694129882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169003667,"filename":"image_26112025_10_45_42_13048.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a5f56865c52758d00baafc0cf3cf563b.jpg","text":"TemporaryFile(/tmp/multipartBody7501009144683596190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169003667,"filename":"image_26112025_10_45_29_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396261268","file1":"1396261266","file0":"1396261263","file4":"1396261271","file5":"1396261292","file3":"1396261270"},"map_files_photo_id_array":[{"photo_id":"1396261292","filename":"file5"},{"photo_id":"1396261268","filename":"file2"},{"photo_id":"1396261271","filename":"file4"},{"photo_id":"1396261266","filename":"file1"},{"photo_id":"1396261263","filename":"file0"},{"photo_id":"1396261270","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396261263":["hashtag1","hashtag2"]},{"1396261266":["hashtag1","hashtag2"]},{"1396261292":["hashtag1","hashtag2"]},{"1396261268":["hashtag1","hashtag2"]},{"1396261271":["hashtag1","hashtag2"]},{"1396261270":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396261263, 1396261266, 1396261292, 1396261268, 1396261271, 1396261270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.120264291763306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 15:56:22.022870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_45_1746.jpg', '/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_47_1680.jpg', '/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_49_1634.jpg', '/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_50_1613.jpg', '/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_52_1700.jpg', '/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_54_1610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_45_1746.jpg
/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_47_1680.jpg
/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_49_1634.jpg
/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_50_1613.jpg
/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_52_1700.jpg
/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_54_1610.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":["1396261309","1396261320","1396261325","1396261313","1396261322","1396261316"],"photo_ids_order":["1396261309","1396261313","1396261316","1396261320","1396261322","1396261325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/29063c936b08fcd1c84c8c967bd8454c.jpg","text":"TemporaryFile(/tmp/multipartBody8118246080928058323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169042799,"filename":"image_26112025_10_45_45_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/26/1c41d91d9c05ac092bca0a41034f7bba.jpg","text":"TemporaryFile(/tmp/multipartBody2018146208610600351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169042799,"filename":"image_26112025_10_45_50_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/26/c3c7762bf6ef03a8b879505817eb6e5c.jpg","text":"TemporaryFile(/tmp/multipartBody8168595635766102816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169042799,"filename":"image_26112025_10_45_54_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/26/cf6d9083b455201efdf533246d80d9c9.jpg","text":"TemporaryFile(/tmp/multipartBody4142538041455153192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169042799,"filename":"image_26112025_10_45_47_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/de1e398d83e9fcc552fbe258c9f028a4.jpg","text":"TemporaryFile(/tmp/multipartBody6442773052598579345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169042799,"filename":"image_26112025_10_45_52_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/26/489580dfd09e112fefc16b53421557eb.jpg","text":"TemporaryFile(/tmp/multipartBody9215360947432248723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169042799,"filename":"image_26112025_10_45_49_1634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396261316","file1":"1396261313","file0":"1396261309","file4":"1396261322","file5":"1396261325","file3":"1396261320"},"map_files_photo_id_array":[{"photo_id":"1396261325","filename":"file5"},{"photo_id":"1396261316","filename":"file2"},{"photo_id":"1396261322","filename":"file4"},{"photo_id":"1396261313","filename":"file1"},{"photo_id":"1396261309","filename":"file0"},{"photo_id":"1396261320","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396261309":["hashtag1","hashtag2"]},{"1396261320":["hashtag1","hashtag2"]},{"1396261325":["hashtag1","hashtag2"]},{"1396261313":["hashtag1","hashtag2"]},{"1396261322":["hashtag1","hashtag2"]},{"1396261316":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396261309, 1396261320, 1396261325, 1396261313, 1396261322, 1396261316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.948745250701904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 15:57:02.950955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_56_2594.jpg', '/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_59_2698.jpg', '/home/pi/Desktop/images/26112025/10/46/image_26112025_10_46_01_2608.jpg', '/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_07_3012.jpg', '/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_11_3599.jpg', '/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_13_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_56_2594.jpg
/home/pi/Desktop/images/26112025/10/45/image_26112025_10_45_59_2698.jpg
/home/pi/Desktop/images/26112025/10/46/image_26112025_10_46_01_2608.jpg
/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_07_3012.jpg
/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_11_3599.jpg
/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_13_2689.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":["1396261382","1396261376","1396261384","1396261378","1396261387","1396261380"],"photo_ids_order":["1396261376","1396261378","1396261380","1396261382","1396261384","1396261387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ccb1b49a076f15dde8fcb8e0357cb71d.jpg","text":"TemporaryFile(/tmp/multipartBody4625985748463257366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169083808,"filename":"image_26112025_10_48_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/26/d72590b7c6e3c31a905ee457b598cf9c.jpg","text":"TemporaryFile(/tmp/multipartBody3968608622638894473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169083808,"filename":"image_26112025_10_45_56_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/26/1fe7176c2be34717afa8480a046eaab1.jpg","text":"TemporaryFile(/tmp/multipartBody8101770013295910476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169083808,"filename":"image_26112025_10_48_11_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/26/a7299e0955c7da68dcc7ee263b1e3507.jpg","text":"TemporaryFile(/tmp/multipartBody8788882559612314854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169083808,"filename":"image_26112025_10_45_59_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/26/4c9a8828cb191d8ddd022583c4055dc2.jpg","text":"TemporaryFile(/tmp/multipartBody549450610165656186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169083808,"filename":"image_26112025_10_48_13_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/26/dae1aaf645ae28b3ef538249870f3059.jpg","text":"TemporaryFile(/tmp/multipartBody2289370263248648587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169083808,"filename":"image_26112025_10_46_01_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396261380","file1":"1396261378","file0":"1396261376","file4":"1396261384","file5":"1396261387","file3":"1396261382"},"map_files_photo_id_array":[{"photo_id":"1396261387","filename":"file5"},{"photo_id":"1396261380","filename":"file2"},{"photo_id":"1396261384","filename":"file4"},{"photo_id":"1396261378","filename":"file1"},{"photo_id":"1396261376","filename":"file0"},{"photo_id":"1396261382","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396261382":["hashtag1","hashtag2"]},{"1396261376":["hashtag1","hashtag2"]},{"1396261384":["hashtag1","hashtag2"]},{"1396261378":["hashtag1","hashtag2"]},{"1396261387":["hashtag1","hashtag2"]},{"1396261380":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396261382, 1396261376, 1396261384, 1396261378, 1396261387, 1396261380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52360272407532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 15:57:42.379749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_17_3640.jpg', '/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_20_2623.jpg', '/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_22_2623.jpg', '/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_26_3653.jpg', '/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_29_2661.jpg', '/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_31_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_17_3640.jpg
/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_20_2623.jpg
/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_22_2623.jpg
/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_26_3653.jpg
/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_29_2661.jpg
/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_31_2614.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396261401","1396261404","1396261397","1396261400","1396261403","1396261402"],"photo_ids_order":["1396261397","1396261400","1396261401","1396261402","1396261403","1396261404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3598f1e62a51184d906a9b6a4d3e0cef.jpg","text":"TemporaryFile(/tmp/multipartBody6012828203053247335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169123140,"filename":"image_26112025_10_48_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/26/bec2c587bd7acc2710ca649aeda4477a.jpg","text":"TemporaryFile(/tmp/multipartBody4797914557224931820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169123140,"filename":"image_26112025_10_48_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/26/5175569f25c542892ecf5cc9a9aa7bcf.jpg","text":"TemporaryFile(/tmp/multipartBody4546097488273505250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169123140,"filename":"image_26112025_10_48_17_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/26/54ed22ea45366358fecc8c3cf9ef4196.jpg","text":"TemporaryFile(/tmp/multipartBody7345974752127454088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169123140,"filename":"image_26112025_10_48_20_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/26/780198bba957e5873271cdc945e5d667.jpg","text":"TemporaryFile(/tmp/multipartBody7420085098552834429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169123140,"filename":"image_26112025_10_48_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/26/3dbedbb6e84fe627ce9bdb42b213f1fc.jpg","text":"TemporaryFile(/tmp/multipartBody5154083077251262689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169123140,"filename":"image_26112025_10_48_26_3653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396261401","file1":"1396261400","file0":"1396261397","file4":"1396261403","file5":"1396261404","file3":"1396261402"},"map_files_photo_id_array":[{"photo_id":"1396261404","filename":"file5"},{"photo_id":"1396261401","filename":"file2"},{"photo_id":"1396261403","filename":"file4"},{"photo_id":"1396261400","filename":"file1"},{"photo_id":"1396261397","filename":"file0"},{"photo_id":"1396261402","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396261401":["hashtag1","hashtag2"]},{"1396261404":["hashtag1","hashtag2"]},{"1396261397":["hashtag1","hashtag2"]},{"1396261400":["hashtag1","hashtag2"]},{"1396261403":["hashtag1","hashtag2"]},{"1396261402":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396261401, 1396261404, 1396261397, 1396261400, 1396261403, 1396261402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51666784286499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 15:59:03.453167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_35_3643.jpg', '/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_38_2699.jpg', '/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_44_3617.jpg', '/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_50_1868.jpg', '/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_56_2690.jpg', '/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_59_2871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_35_3643.jpg
/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_38_2699.jpg
/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_44_3617.jpg
/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_50_1868.jpg
/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_56_2690.jpg
/home/pi/Desktop/images/26112025/10/48/image_26112025_10_48_59_2871.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":["1396261434","1396261436","1396261439","1396261430","1396261427","1396261417"],"photo_ids_order":["1396261417","1396261427","1396261430","1396261434","1396261436","1396261439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b07b6c99074cc0f0eba2fdf599613f02.jpg","text":"TemporaryFile(/tmp/multipartBody1301213761692392682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169204316,"filename":"image_26112025_10_48_50_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/26/8af87f45d221d30018ce24245622076e.jpg","text":"TemporaryFile(/tmp/multipartBody4286803848460056876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169204316,"filename":"image_26112025_10_48_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/26/ff669cf15d20f96f02592a8a4db0f2ec.jpg","text":"TemporaryFile(/tmp/multipartBody2875763362974860742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169204316,"filename":"image_26112025_10_48_59_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/26/2aad4eb2cefa92f6db373ea91b57ba58.jpg","text":"TemporaryFile(/tmp/multipartBody6036422992345000508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169204316,"filename":"image_26112025_10_48_44_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/26/fc6d48df6dce38499fa0d6e343bee9e3.jpg","text":"TemporaryFile(/tmp/multipartBody6262285010820620017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169204316,"filename":"image_26112025_10_48_38_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/26/c5e143447c13e9af84474a22706c1252.jpg","text":"TemporaryFile(/tmp/multipartBody7274967430274987638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169204316,"filename":"image_26112025_10_48_35_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396261430","file1":"1396261427","file0":"1396261417","file4":"1396261436","file5":"1396261439","file3":"1396261434"},"map_files_photo_id_array":[{"photo_id":"1396261439","filename":"file5"},{"photo_id":"1396261430","filename":"file2"},{"photo_id":"1396261436","filename":"file4"},{"photo_id":"1396261427","filename":"file1"},{"photo_id":"1396261417","filename":"file0"},{"photo_id":"1396261434","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396261434":["hashtag1","hashtag2"]},{"1396261436":["hashtag1","hashtag2"]},{"1396261439":["hashtag1","hashtag2"]},{"1396261430":["hashtag1","hashtag2"]},{"1396261427":["hashtag1","hashtag2"]},{"1396261417":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396261434, 1396261436, 1396261439, 1396261430, 1396261427, 1396261417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.194490909576416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 15:59:42.825114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/50/image_26112025_10_50_08_3011.jpg', '/home/pi/Desktop/images/26112025/10/50/image_26112025_10_50_12_3787.jpg', '/home/pi/Desktop/images/26112025/10/50/image_26112025_10_50_14_2535.jpg', '/home/pi/Desktop/images/26112025/10/50/image_26112025_10_50_17_2789.jpg', '/home/pi/Desktop/images/26112025/10/50/image_26112025_10_50_21_3766.jpg', '/home/pi/Desktop/images/26112025/10/50/image_26112025_10_50_24_2850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/50/image_26112025_10_50_08_3011.jpg
/home/pi/Desktop/images/26112025/10/50/image_26112025_10_50_12_3787.jpg
/home/pi/Desktop/images/26112025/10/50/image_26112025_10_50_14_2535.jpg
/home/pi/Desktop/images/26112025/10/50/image_26112025_10_50_17_2789.jpg
/home/pi/Desktop/images/26112025/10/50/image_26112025_10_50_21_3766.jpg
/home/pi/Desktop/images/26112025/10/50/image_26112025_10_50_24_2850.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":["1396261461","1396261454","1396261457","1396261459","1396261450","1396261447"],"photo_ids_order":["1396261447","1396261450","1396261454","1396261457","1396261459","1396261461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/154f6a5efe1289cc6ef2612c0c3b1dd1.jpg","text":"TemporaryFile(/tmp/multipartBody6522959267213981251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169243640,"filename":"image_26112025_10_50_24_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/26/73204efa8d5370212f257870b2d4c455.jpg","text":"TemporaryFile(/tmp/multipartBody6298084491611495960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169243640,"filename":"image_26112025_10_50_14_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/26/2575a2cc397d2c700e3974b93d042942.jpg","text":"TemporaryFile(/tmp/multipartBody8815170597799760915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169243640,"filename":"image_26112025_10_50_17_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/26/7f8865c4ae21f3cfecdf7526605b1581.jpg","text":"TemporaryFile(/tmp/multipartBody7760467445525855007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169243640,"filename":"image_26112025_10_50_21_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/26/d0224c7eec5e640ebc87b7f85d164c9e.jpg","text":"TemporaryFile(/tmp/multipartBody8902749517596305656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169243640,"filename":"image_26112025_10_50_12_3787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b570e95af11aee25b65e3ae944146898.jpg","text":"TemporaryFile(/tmp/multipartBody6521164480811881593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169243640,"filename":"image_26112025_10_50_08_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396261454","file1":"1396261450","file0":"1396261447","file4":"1396261459","file5":"1396261461","file3":"1396261457"},"map_files_photo_id_array":[{"photo_id":"1396261461","filename":"file5"},{"photo_id":"1396261454","filename":"file2"},{"photo_id":"1396261459","filename":"file4"},{"photo_id":"1396261450","filename":"file1"},{"photo_id":"1396261447","filename":"file0"},{"photo_id":"1396261457","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396261461":["hashtag1","hashtag2"]},{"1396261454":["hashtag1","hashtag2"]},{"1396261457":["hashtag1","hashtag2"]},{"1396261459":["hashtag1","hashtag2"]},{"1396261450":["hashtag1","hashtag2"]},{"1396261447":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396261461, 1396261454, 1396261457, 1396261459, 1396261450, 1396261447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58538103103638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 16:00:21.969956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/50/image_26112025_10_50_26_2676.jpg', '/home/pi/Desktop/images/26112025/10/50/image_26112025_10_50_29_2778.jpg', '/home/pi/Desktop/images/26112025/10/50/image_26112025_10_50_33_3735.jpg', '/home/pi/Desktop/images/26112025/10/50/image_26112025_10_50_35_2705.jpg', '/home/pi/Desktop/images/26112025/10/50/image_26112025_10_50_38_2894.jpg', '/home/pi/Desktop/images/26112025/10/50/image_26112025_10_50_41_2851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/50/image_26112025_10_50_26_2676.jpg
/home/pi/Desktop/images/26112025/10/50/image_26112025_10_50_29_2778.jpg
/home/pi/Desktop/images/26112025/10/50/image_26112025_10_50_33_3735.jpg
/home/pi/Desktop/images/26112025/10/50/image_26112025_10_50_35_2705.jpg
/home/pi/Desktop/images/26112025/10/50/image_26112025_10_50_38_2894.jpg
/home/pi/Desktop/images/26112025/10/50/image_26112025_10_50_41_2851.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396261472","1396261466","1396261481","1396261475","1396261469","1396261478"],"photo_ids_order":["1396261466","1396261469","1396261472","1396261475","1396261478","1396261481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1540d65e2f6fd3c9efc1fc18fc666094.jpg","text":"TemporaryFile(/tmp/multipartBody8347516057595878900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169282786,"filename":"image_26112025_10_50_33_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/26/2c9398daae74a38ee8e69897285237cf.jpg","text":"TemporaryFile(/tmp/multipartBody8637960466267568166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169282786,"filename":"image_26112025_10_50_26_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/26/82f79960ce1c477b4c67464460fc38f9.jpg","text":"TemporaryFile(/tmp/multipartBody5650356452429263867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169282786,"filename":"image_26112025_10_50_41_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/26/bedf2dd6a48dfaa7672085036e0d6185.jpg","text":"TemporaryFile(/tmp/multipartBody801502665910848491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169282786,"filename":"image_26112025_10_50_35_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/26/735dd31bbbbf431859d2f8016518614d.jpg","text":"TemporaryFile(/tmp/multipartBody4418942378466334961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169282786,"filename":"image_26112025_10_50_29_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/26/32902996206e4af3338044fdddc845aa.jpg","text":"TemporaryFile(/tmp/multipartBody1554571525496550453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169282786,"filename":"image_26112025_10_50_38_2894.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396261472","file1":"1396261469","file0":"1396261466","file4":"1396261478","file5":"1396261481","file3":"1396261475"},"map_files_photo_id_array":[{"photo_id":"1396261481","filename":"file5"},{"photo_id":"1396261472","filename":"file2"},{"photo_id":"1396261478","filename":"file4"},{"photo_id":"1396261469","filename":"file1"},{"photo_id":"1396261466","filename":"file0"},{"photo_id":"1396261475","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396261472":["hashtag1","hashtag2"]},{"1396261466":["hashtag1","hashtag2"]},{"1396261481":["hashtag1","hashtag2"]},{"1396261475":["hashtag1","hashtag2"]},{"1396261469":["hashtag1","hashtag2"]},{"1396261478":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396261472, 1396261466, 1396261481, 1396261475, 1396261469, 1396261478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82634115219116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:01:02.976063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/50/image_26112025_10_50_44_2561.jpg', '/home/pi/Desktop/images/26112025/10/52/image_26112025_10_52_07_3011.jpg', '/home/pi/Desktop/images/26112025/10/52/image_26112025_10_52_10_3572.jpg', '/home/pi/Desktop/images/26112025/10/52/image_26112025_10_52_13_2648.jpg', '/home/pi/Desktop/images/26112025/10/52/image_26112025_10_52_16_2800.jpg', '/home/pi/Desktop/images/26112025/10/52/image_26112025_10_52_19_3673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/50/image_26112025_10_50_44_2561.jpg
/home/pi/Desktop/images/26112025/10/52/image_26112025_10_52_07_3011.jpg
/home/pi/Desktop/images/26112025/10/52/image_26112025_10_52_10_3572.jpg
/home/pi/Desktop/images/26112025/10/52/image_26112025_10_52_13_2648.jpg
/home/pi/Desktop/images/26112025/10/52/image_26112025_10_52_16_2800.jpg
/home/pi/Desktop/images/26112025/10/52/image_26112025_10_52_19_3673.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":["1396261539","1396261499","1396261544","1396261532","1396261526","1396261494"],"photo_ids_order":["1396261494","1396261499","1396261526","1396261532","1396261539","1396261544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6b7f3a2026ac156220f9a95e730ed26f.jpg","text":"TemporaryFile(/tmp/multipartBody5175684585945841169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169323840,"filename":"image_26112025_10_52_16_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/26/6e9c0450cd152ccd3d1a20f2af001490.jpg","text":"TemporaryFile(/tmp/multipartBody6124907443698633933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169323840,"filename":"image_26112025_10_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/26/b3e0fc901f4269c565573f222329ff9c.jpg","text":"TemporaryFile(/tmp/multipartBody5685632877830975923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169323840,"filename":"image_26112025_10_52_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/26/2ab3e61c725a9617e2a3a90de29a6abb.jpg","text":"TemporaryFile(/tmp/multipartBody3539244675559549567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169323840,"filename":"image_26112025_10_52_13_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a71ef8f3cfcd4ebda82a0cafbc89e744.jpg","text":"TemporaryFile(/tmp/multipartBody8214460753917821918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169323840,"filename":"image_26112025_10_52_10_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/26/7db435db4084e1262769c93d5040b35a.jpg","text":"TemporaryFile(/tmp/multipartBody2461802973455916092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169323840,"filename":"image_26112025_10_50_44_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396261526","file1":"1396261499","file0":"1396261494","file4":"1396261539","file5":"1396261544","file3":"1396261532"},"map_files_photo_id_array":[{"photo_id":"1396261544","filename":"file5"},{"photo_id":"1396261526","filename":"file2"},{"photo_id":"1396261539","filename":"file4"},{"photo_id":"1396261499","filename":"file1"},{"photo_id":"1396261494","filename":"file0"},{"photo_id":"1396261532","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396261539":["hashtag1","hashtag2"]},{"1396261499":["hashtag1","hashtag2"]},{"1396261544":["hashtag1","hashtag2"]},{"1396261532":["hashtag1","hashtag2"]},{"1396261526":["hashtag1","hashtag2"]},{"1396261494":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396261539, 1396261499, 1396261544, 1396261532, 1396261526, 1396261494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19660520553589 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 16:01:42.208591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/52/image_26112025_10_52_22_2685.jpg', '/home/pi/Desktop/images/26112025/10/52/image_26112025_10_52_25_2638.jpg', '/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_07_3011.jpg', '/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_11_3690.jpg', '/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_13_2591.jpg', '/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_17_3667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/52/image_26112025_10_52_22_2685.jpg
/home/pi/Desktop/images/26112025/10/52/image_26112025_10_52_25_2638.jpg
/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_07_3011.jpg
/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_11_3690.jpg
/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_13_2591.jpg
/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_17_3667.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":["1396261560","1396261554","1396261557","1396261556","1396261559","1396261558"],"photo_ids_order":["1396261554","1396261556","1396261557","1396261558","1396261559","1396261560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9f7576a028c82a044be3ba94001e7b22.jpg","text":"TemporaryFile(/tmp/multipartBody2116449889434296637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169363119,"filename":"image_26112025_10_54_17_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/26/282036d5bf9e862094cf62376ac41710.jpg","text":"TemporaryFile(/tmp/multipartBody4734622595849125739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169363119,"filename":"image_26112025_10_52_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/26/114bbe78ed659bd0467dcca450a8c389.jpg","text":"TemporaryFile(/tmp/multipartBody6955003258400659267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169363119,"filename":"image_26112025_10_54_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/26/a3b61bf8ad3ce24443870a5f6395aa67.jpg","text":"TemporaryFile(/tmp/multipartBody1594567604645523391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169363119,"filename":"image_26112025_10_52_25_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/26/016b2756e53564e6f70b10f82a6b4627.jpg","text":"TemporaryFile(/tmp/multipartBody2726955355269213315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169363119,"filename":"image_26112025_10_54_13_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/26/49880eb22e32813a6cfa6dc71886bbb5.jpg","text":"TemporaryFile(/tmp/multipartBody404025183348330283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169363119,"filename":"image_26112025_10_54_11_3690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396261557","file1":"1396261556","file0":"1396261554","file4":"1396261559","file5":"1396261560","file3":"1396261558"},"map_files_photo_id_array":[{"photo_id":"1396261560","filename":"file5"},{"photo_id":"1396261557","filename":"file2"},{"photo_id":"1396261559","filename":"file4"},{"photo_id":"1396261556","filename":"file1"},{"photo_id":"1396261554","filename":"file0"},{"photo_id":"1396261558","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396261560":["hashtag1","hashtag2"]},{"1396261554":["hashtag1","hashtag2"]},{"1396261557":["hashtag1","hashtag2"]},{"1396261556":["hashtag1","hashtag2"]},{"1396261559":["hashtag1","hashtag2"]},{"1396261558":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396261560, 1396261554, 1396261557, 1396261556, 1396261559, 1396261558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17078161239624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 16:02:22.313934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_20_2738.jpg', '/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_23_2713.jpg', '/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_25_2633.jpg', '/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_29_3659.jpg', '/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_32_2767.jpg', '/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_34_2792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_20_2738.jpg
/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_23_2713.jpg
/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_25_2633.jpg
/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_29_3659.jpg
/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_32_2767.jpg
/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_34_2792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396261583","1396261571","1396261580","1396261574","1396261568","1396261577"],"photo_ids_order":["1396261568","1396261571","1396261574","1396261577","1396261580","1396261583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1567c899de4845957077afcb507530e3.jpg","text":"TemporaryFile(/tmp/multipartBody6670976704003115732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169403159,"filename":"image_26112025_10_54_34_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/26/9ef5625a361a2160a8013359b943e434.jpg","text":"TemporaryFile(/tmp/multipartBody4580540506699002483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169403159,"filename":"image_26112025_10_54_23_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d8266729a2961d9268b0d57a1639a939.jpg","text":"TemporaryFile(/tmp/multipartBody2546315437610539902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169403159,"filename":"image_26112025_10_54_32_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/26/4ddf5e4a5f1e259fa1f66950b3eedae3.jpg","text":"TemporaryFile(/tmp/multipartBody8483872576385727902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169403159,"filename":"image_26112025_10_54_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/26/38a7ae153a653abe6e11545808ea682e.jpg","text":"TemporaryFile(/tmp/multipartBody6889828762048976364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169403159,"filename":"image_26112025_10_54_20_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/26/ce71f6090cb8047b525e8d7ef0601293.jpg","text":"TemporaryFile(/tmp/multipartBody5345302263557967002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169403159,"filename":"image_26112025_10_54_29_3659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396261574","file1":"1396261571","file0":"1396261568","file4":"1396261580","file5":"1396261583","file3":"1396261577"},"map_files_photo_id_array":[{"photo_id":"1396261583","filename":"file5"},{"photo_id":"1396261574","filename":"file2"},{"photo_id":"1396261580","filename":"file4"},{"photo_id":"1396261571","filename":"file1"},{"photo_id":"1396261568","filename":"file0"},{"photo_id":"1396261577","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396261583":["hashtag1","hashtag2"]},{"1396261571":["hashtag1","hashtag2"]},{"1396261580":["hashtag1","hashtag2"]},{"1396261574":["hashtag1","hashtag2"]},{"1396261568":["hashtag1","hashtag2"]},{"1396261577":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396261583, 1396261571, 1396261580, 1396261574, 1396261568, 1396261577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25208044052124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:03:03.144968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_37_2780.jpg', '/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_41_3812.jpg', '/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_45_4100.jpg', '/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_47_1654.jpg', '/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_49_2730.jpg', '/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_52_2874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_37_2780.jpg
/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_41_3812.jpg
/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_45_4100.jpg
/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_47_1654.jpg
/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_49_2730.jpg
/home/pi/Desktop/images/26112025/10/54/image_26112025_10_54_52_2874.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":["1396261595","1396261601","1396261604","1396261607","1396261597","1396261593"],"photo_ids_order":["1396261593","1396261595","1396261597","1396261601","1396261604","1396261607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0b77bd1788869451e5e1a235671014b7.jpg","text":"TemporaryFile(/tmp/multipartBody8611461985802978351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169446619,"filename":"image_26112025_10_54_41_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/26/803661aa1f17a9ea9db2e01649c31e02.jpg","text":"TemporaryFile(/tmp/multipartBody1866143194219631448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169446619,"filename":"image_26112025_10_54_47_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/26/76ab7f51b8be13fb7f181f89c4a17355.jpg","text":"TemporaryFile(/tmp/multipartBody7442151656207605987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169446619,"filename":"image_26112025_10_54_49_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/26/f11766d91f11b945cc3861c486ed4da1.jpg","text":"TemporaryFile(/tmp/multipartBody9005576703527122973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169446619,"filename":"image_26112025_10_54_52_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/26/a14b6307ebd9c7fc645bfff1ac7fd088.jpg","text":"TemporaryFile(/tmp/multipartBody415308304576239399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169446619,"filename":"image_26112025_10_54_45_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/26/3b4f32bb23c296b2df9382813fce8bbe.jpg","text":"TemporaryFile(/tmp/multipartBody6447230601874227900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169446619,"filename":"image_26112025_10_54_37_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396261597","file1":"1396261595","file0":"1396261593","file4":"1396261604","file5":"1396261607","file3":"1396261601"},"map_files_photo_id_array":[{"photo_id":"1396261607","filename":"file5"},{"photo_id":"1396261597","filename":"file2"},{"photo_id":"1396261604","filename":"file4"},{"photo_id":"1396261595","filename":"file1"},{"photo_id":"1396261593","filename":"file0"},{"photo_id":"1396261601","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396261595":["hashtag1","hashtag2"]},{"1396261601":["hashtag1","hashtag2"]},{"1396261604":["hashtag1","hashtag2"]},{"1396261607":["hashtag1","hashtag2"]},{"1396261597":["hashtag1","hashtag2"]},{"1396261593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396261595, 1396261601, 1396261604, 1396261607, 1396261597, 1396261593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64801836013794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 16:03:42.623195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/55/image_26112025_10_55_11_3011.jpg', '/home/pi/Desktop/images/26112025/10/55/image_26112025_10_55_15_3733.jpg', '/home/pi/Desktop/images/26112025/10/56/image_26112025_10_56_07_3016.jpg', '/home/pi/Desktop/images/26112025/10/56/image_26112025_10_56_10_3781.jpg', '/home/pi/Desktop/images/26112025/10/56/image_26112025_10_56_13_2627.jpg', '/home/pi/Desktop/images/26112025/10/56/image_26112025_10_56_16_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/55/image_26112025_10_55_11_3011.jpg
/home/pi/Desktop/images/26112025/10/55/image_26112025_10_55_15_3733.jpg
/home/pi/Desktop/images/26112025/10/56/image_26112025_10_56_07_3016.jpg
/home/pi/Desktop/images/26112025/10/56/image_26112025_10_56_10_3781.jpg
/home/pi/Desktop/images/26112025/10/56/image_26112025_10_56_13_2627.jpg
/home/pi/Desktop/images/26112025/10/56/image_26112025_10_56_16_2700.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":["1396261617","1396261620","1396261614","1396261616","1396261619","1396261618"],"photo_ids_order":["1396261614","1396261616","1396261617","1396261618","1396261619","1396261620"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7b36ba03e1127fced050d6cc68f46b2e.jpg","text":"TemporaryFile(/tmp/multipartBody1287435971532380556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169483419,"filename":"image_26112025_10_56_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/26/19396ee3d4289d82b49ad679b8e32abf.jpg","text":"TemporaryFile(/tmp/multipartBody2865595473553346877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169483419,"filename":"image_26112025_10_56_16_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e4872ea3cafa9a131a253cff2146b51d.jpg","text":"TemporaryFile(/tmp/multipartBody3353081700269911704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169483419,"filename":"image_26112025_10_55_11_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e478386622babfb49039a80a6108fe86.jpg","text":"TemporaryFile(/tmp/multipartBody5015730811790199023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169483419,"filename":"image_26112025_10_55_15_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/26/22ed864b8e8d9d5b4feb359a6f78bcae.jpg","text":"TemporaryFile(/tmp/multipartBody331000717911668464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169483419,"filename":"image_26112025_10_56_13_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/26/b0b1c88f67405389d4fce92cdc557ca6.jpg","text":"TemporaryFile(/tmp/multipartBody1534125215692641239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169483419,"filename":"image_26112025_10_56_10_3781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396261617","file1":"1396261616","file0":"1396261614","file4":"1396261619","file5":"1396261620","file3":"1396261618"},"map_files_photo_id_array":[{"photo_id":"1396261620","filename":"file5"},{"photo_id":"1396261617","filename":"file2"},{"photo_id":"1396261619","filename":"file4"},{"photo_id":"1396261616","filename":"file1"},{"photo_id":"1396261614","filename":"file0"},{"photo_id":"1396261618","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396261617":["hashtag1","hashtag2"]},{"1396261620":["hashtag1","hashtag2"]},{"1396261614":["hashtag1","hashtag2"]},{"1396261616":["hashtag1","hashtag2"]},{"1396261619":["hashtag1","hashtag2"]},{"1396261618":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396261617, 1396261620, 1396261614, 1396261616, 1396261619, 1396261618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07642102241516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 16:04:22.715052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/56/image_26112025_10_56_19_3640.jpg', '/home/pi/Desktop/images/26112025/10/56/image_26112025_10_56_22_2707.jpg', '/home/pi/Desktop/images/26112025/10/56/image_26112025_10_56_25_2725.jpg', '/home/pi/Desktop/images/26112025/10/56/image_26112025_10_56_28_3648.jpg', '/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_07_3011.jpg', '/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_11_3809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/56/image_26112025_10_56_19_3640.jpg
/home/pi/Desktop/images/26112025/10/56/image_26112025_10_56_22_2707.jpg
/home/pi/Desktop/images/26112025/10/56/image_26112025_10_56_25_2725.jpg
/home/pi/Desktop/images/26112025/10/56/image_26112025_10_56_28_3648.jpg
/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_07_3011.jpg
/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_11_3809.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":["1396261641","1396261635","1396261632","1396261649","1396261628","1396261654"],"photo_ids_order":["1396261628","1396261632","1396261635","1396261641","1396261649","1396261654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d1c0305da55b5212efd179215d5ff559.jpg","text":"TemporaryFile(/tmp/multipartBody5385517044772706475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169523522,"filename":"image_26112025_10_56_28_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/26/f772d9242cd15e6de2df389a39742189.jpg","text":"TemporaryFile(/tmp/multipartBody6559066703739452551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169523522,"filename":"image_26112025_10_56_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/26/0ea311af39bc362aa698e64a2d3f754b.jpg","text":"TemporaryFile(/tmp/multipartBody3035340910561767803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169523522,"filename":"image_26112025_10_56_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/26/72b3b0524e4e389098a1daaed629ec94.jpg","text":"TemporaryFile(/tmp/multipartBody7732482837911662273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169523522,"filename":"image_26112025_10_58_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/26/b4c06e103c91ae0b33b46cc265653d17.jpg","text":"TemporaryFile(/tmp/multipartBody3958088252294541496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169523522,"filename":"image_26112025_10_56_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/26/d2d54efe410b20701ddc9b640632cc6a.jpg","text":"TemporaryFile(/tmp/multipartBody5532270279599547198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169523522,"filename":"image_26112025_10_58_11_3809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396261635","file1":"1396261632","file0":"1396261628","file4":"1396261649","file5":"1396261654","file3":"1396261641"},"map_files_photo_id_array":[{"photo_id":"1396261654","filename":"file5"},{"photo_id":"1396261635","filename":"file2"},{"photo_id":"1396261649","filename":"file4"},{"photo_id":"1396261632","filename":"file1"},{"photo_id":"1396261628","filename":"file0"},{"photo_id":"1396261641","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396261641":["hashtag1","hashtag2"]},{"1396261635":["hashtag1","hashtag2"]},{"1396261632":["hashtag1","hashtag2"]},{"1396261649":["hashtag1","hashtag2"]},{"1396261628":["hashtag1","hashtag2"]},{"1396261654":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396261641, 1396261635, 1396261632, 1396261649, 1396261628, 1396261654)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.09053134918213 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 16:05:15.238869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_14_2709.jpg', '/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_16_2704.jpg', '/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_20_3661.jpg', '/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_23_2623.jpg', '/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_25_2587.jpg', '/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_29_3684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_14_2709.jpg
/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_16_2704.jpg
/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_20_3661.jpg
/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_23_2623.jpg
/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_25_2587.jpg
/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_29_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":["1396261662","1396261710","1396261796","1396261835","1396261756","1396261672"],"photo_ids_order":["1396261662","1396261672","1396261710","1396261756","1396261796","1396261835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1d559ada7b08054f21d01af1cbd96a01.jpg","text":"TemporaryFile(/tmp/multipartBody7800562056811195796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169576005,"filename":"image_26112025_10_58_14_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/26/dd614542feb936d33a8033aa01daa9b2.jpg","text":"TemporaryFile(/tmp/multipartBody2244621119948184003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169576005,"filename":"image_26112025_10_58_20_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/26/47e3be028aa7606ef148d88d86ffcccc.jpg","text":"TemporaryFile(/tmp/multipartBody9022967759439040580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169576005,"filename":"image_26112025_10_58_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/26/a62d766bf0456438d385f1bea83de185.jpg","text":"TemporaryFile(/tmp/multipartBody5207560996243539148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169576005,"filename":"image_26112025_10_58_29_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/26/e22cf16c2d07a04226feab81df01d56d.jpg","text":"TemporaryFile(/tmp/multipartBody1485554584020315006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169576005,"filename":"image_26112025_10_58_23_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/26/87e3afbe49fc680932861d237c65714a.jpg","text":"TemporaryFile(/tmp/multipartBody3703967783431439982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169576005,"filename":"image_26112025_10_58_16_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396261710","file1":"1396261672","file0":"1396261662","file4":"1396261796","file5":"1396261835","file3":"1396261756"},"map_files_photo_id_array":[{"photo_id":"1396261835","filename":"file5"},{"photo_id":"1396261710","filename":"file2"},{"photo_id":"1396261796","filename":"file4"},{"photo_id":"1396261672","filename":"file1"},{"photo_id":"1396261662","filename":"file0"},{"photo_id":"1396261756","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396261662":["hashtag1","hashtag2"]},{"1396261710":["hashtag1","hashtag2"]},{"1396261796":["hashtag1","hashtag2"]},{"1396261835":["hashtag1","hashtag2"]},{"1396261756":["hashtag1","hashtag2"]},{"1396261672":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396261662, 1396261710, 1396261796, 1396261835, 1396261756, 1396261672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03786492347717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:06:03.224652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_32_2919.jpg', '/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_35_2791.jpg', '/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_37_2727.jpg', '/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_40_2750.jpg', '/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_44_3586.jpg', '/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_46_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_32_2919.jpg
/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_35_2791.jpg
/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_37_2727.jpg
/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_40_2750.jpg
/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_44_3586.jpg
/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_46_2622.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":["1396262016","1396262019","1396262010","1396262009","1396262050","1396262011"],"photo_ids_order":["1396262009","1396262010","1396262011","1396262016","1396262019","1396262050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7b09fc664f79ebc2b7c35e41a2b246f4.jpg","text":"TemporaryFile(/tmp/multipartBody3569723724675975551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169624044,"filename":"image_26112025_10_58_40_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/26/f41d307b9577c69aa3509560ae5ea177.jpg","text":"TemporaryFile(/tmp/multipartBody3628095012571126866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169624044,"filename":"image_26112025_10_58_44_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/26/47931f02becf39cb0da10738c688f004.jpg","text":"TemporaryFile(/tmp/multipartBody8048750983679573865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169624044,"filename":"image_26112025_10_58_35_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/26/41d5662d26e7ba373f4521e6c66d2cfc.jpg","text":"TemporaryFile(/tmp/multipartBody8350034180317374189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169624044,"filename":"image_26112025_10_58_32_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/26/95ac44435a933dcfaae811a71af1f203.jpg","text":"TemporaryFile(/tmp/multipartBody1817107962390031579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169624044,"filename":"image_26112025_10_58_46_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/26/98389681a2204d7f1ab0015b2a209e06.jpg","text":"TemporaryFile(/tmp/multipartBody1971330817709398062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169624044,"filename":"image_26112025_10_58_37_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396262011","file1":"1396262010","file0":"1396262009","file4":"1396262019","file5":"1396262050","file3":"1396262016"},"map_files_photo_id_array":[{"photo_id":"1396262050","filename":"file5"},{"photo_id":"1396262011","filename":"file2"},{"photo_id":"1396262019","filename":"file4"},{"photo_id":"1396262010","filename":"file1"},{"photo_id":"1396262009","filename":"file0"},{"photo_id":"1396262016","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396262016":["hashtag1","hashtag2"]},{"1396262019":["hashtag1","hashtag2"]},{"1396262010":["hashtag1","hashtag2"]},{"1396262009":["hashtag1","hashtag2"]},{"1396262050":["hashtag1","hashtag2"]},{"1396262011":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396262016, 1396262019, 1396262010, 1396262009, 1396262050, 1396262011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.056880235672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 16:06:42.736168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_50_3722.jpg', '/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_53_2642.jpg', '/home/pi/Desktop/images/26112025/11/00/image_26112025_11_00_07_3011.jpg', '/home/pi/Desktop/images/26112025/11/00/image_26112025_11_00_11_3718.jpg', '/home/pi/Desktop/images/26112025/11/00/image_26112025_11_00_14_2745.jpg', '/home/pi/Desktop/images/26112025/11/00/image_26112025_11_00_16_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_50_3722.jpg
/home/pi/Desktop/images/26112025/10/58/image_26112025_10_58_53_2642.jpg
/home/pi/Desktop/images/26112025/11/00/image_26112025_11_00_07_3011.jpg
/home/pi/Desktop/images/26112025/11/00/image_26112025_11_00_11_3718.jpg
/home/pi/Desktop/images/26112025/11/00/image_26112025_11_00_14_2745.jpg
/home/pi/Desktop/images/26112025/11/00/image_26112025_11_00_16_2623.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":["1396262202","1396262174","1396262240","1396262221","1396262178","1396262250"],"photo_ids_order":["1396262174","1396262178","1396262202","1396262221","1396262240","1396262250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/907e843fbc690960def710781887d6ad.jpg","text":"TemporaryFile(/tmp/multipartBody2744318493049831739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169663535,"filename":"image_26112025_11_00_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e8032e35e0ae0cd6b1117b6c71081ad8.jpg","text":"TemporaryFile(/tmp/multipartBody6424510379357034273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169663535,"filename":"image_26112025_10_58_50_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/26/6e10d0174581e5514a47dd113bd78cdd.jpg","text":"TemporaryFile(/tmp/multipartBody6999988021757148181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169663535,"filename":"image_26112025_11_00_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/26/abd777fd198e0568d3bb6eb85da24455.jpg","text":"TemporaryFile(/tmp/multipartBody7260091052181394511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169663535,"filename":"image_26112025_11_00_11_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/26/df2d7527ec79204ed0df0c4481fb5a96.jpg","text":"TemporaryFile(/tmp/multipartBody4511248928522242338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169663535,"filename":"image_26112025_10_58_53_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ff288c46273513e50eede08e5e6f763c.jpg","text":"TemporaryFile(/tmp/multipartBody7141927624172781281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169663535,"filename":"image_26112025_11_00_16_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396262202","file1":"1396262178","file0":"1396262174","file4":"1396262240","file5":"1396262250","file3":"1396262221"},"map_files_photo_id_array":[{"photo_id":"1396262250","filename":"file5"},{"photo_id":"1396262202","filename":"file2"},{"photo_id":"1396262240","filename":"file4"},{"photo_id":"1396262178","filename":"file1"},{"photo_id":"1396262174","filename":"file0"},{"photo_id":"1396262221","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396262202":["hashtag1","hashtag2"]},{"1396262174":["hashtag1","hashtag2"]},{"1396262240":["hashtag1","hashtag2"]},{"1396262221":["hashtag1","hashtag2"]},{"1396262178":["hashtag1","hashtag2"]},{"1396262250":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396262202, 1396262174, 1396262240, 1396262221, 1396262178, 1396262250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39001679420471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 16:07:21.904823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/00/image_26112025_11_00_20_3823.jpg', '/home/pi/Desktop/images/26112025/11/00/image_26112025_11_00_39_16111.jpg', '/home/pi/Desktop/images/26112025/11/00/image_26112025_11_00_41_1864.jpg', '/home/pi/Desktop/images/26112025/11/02/image_26112025_11_02_07_3011.jpg', '/home/pi/Desktop/images/26112025/11/02/image_26112025_11_02_11_3696.jpg', '/home/pi/Desktop/images/26112025/11/02/image_26112025_11_02_13_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/00/image_26112025_11_00_20_3823.jpg
/home/pi/Desktop/images/26112025/11/00/image_26112025_11_00_39_16111.jpg
/home/pi/Desktop/images/26112025/11/00/image_26112025_11_00_41_1864.jpg
/home/pi/Desktop/images/26112025/11/02/image_26112025_11_02_07_3011.jpg
/home/pi/Desktop/images/26112025/11/02/image_26112025_11_02_11_3696.jpg
/home/pi/Desktop/images/26112025/11/02/image_26112025_11_02_13_2724.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":["1396262279","1396262270","1396262263","1396262266","1396262274","1396262277"],"photo_ids_order":["1396262263","1396262266","1396262270","1396262274","1396262277","1396262279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/79be0ef7e59ec83c820a5d95f3ecb96d.jpg","text":"TemporaryFile(/tmp/multipartBody3001066510960508084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169702768,"filename":"image_26112025_11_02_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/26/2aa0401dde116cc68c8a9c8269a1fae5.jpg","text":"TemporaryFile(/tmp/multipartBody4936059481181611538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169702768,"filename":"image_26112025_11_00_41_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/26/a549c575db5fed55bcfa5caeaf443736.jpg","text":"TemporaryFile(/tmp/multipartBody8408199643693631586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169702768,"filename":"image_26112025_11_00_20_3823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5b91e4cecd382d2dbceeb4822bd4d5c1.jpg","text":"TemporaryFile(/tmp/multipartBody5599366098135576845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169702768,"filename":"image_26112025_11_00_39_16111.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ae3bef56a7fe619410eb212483a9e7db.jpg","text":"TemporaryFile(/tmp/multipartBody853477791798295338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169702768,"filename":"image_26112025_11_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/26/10d705616dd8d7b066c2583e8bef77e4.jpg","text":"TemporaryFile(/tmp/multipartBody7734851477185028589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169702768,"filename":"image_26112025_11_02_11_3696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396262270","file1":"1396262266","file0":"1396262263","file4":"1396262277","file5":"1396262279","file3":"1396262274"},"map_files_photo_id_array":[{"photo_id":"1396262279","filename":"file5"},{"photo_id":"1396262270","filename":"file2"},{"photo_id":"1396262277","filename":"file4"},{"photo_id":"1396262266","filename":"file1"},{"photo_id":"1396262263","filename":"file0"},{"photo_id":"1396262274","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396262279":["hashtag1","hashtag2"]},{"1396262270":["hashtag1","hashtag2"]},{"1396262263":["hashtag1","hashtag2"]},{"1396262266":["hashtag1","hashtag2"]},{"1396262274":["hashtag1","hashtag2"]},{"1396262277":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396262279, 1396262270, 1396262263, 1396262266, 1396262274, 1396262277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88571071624756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:08:02.693993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/02/image_26112025_11_02_16_2690.jpg', '/home/pi/Desktop/images/26112025/11/02/image_26112025_11_02_20_3593.jpg', '/home/pi/Desktop/images/26112025/11/04/image_26112025_11_04_07_3011.jpg', '/home/pi/Desktop/images/26112025/11/04/image_26112025_11_04_19_2711.jpg', '/home/pi/Desktop/images/26112025/11/04/image_26112025_11_04_22_2585.jpg', '/home/pi/Desktop/images/26112025/11/04/image_26112025_11_04_25_2826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/02/image_26112025_11_02_16_2690.jpg
/home/pi/Desktop/images/26112025/11/02/image_26112025_11_02_20_3593.jpg
/home/pi/Desktop/images/26112025/11/04/image_26112025_11_04_07_3011.jpg
/home/pi/Desktop/images/26112025/11/04/image_26112025_11_04_19_2711.jpg
/home/pi/Desktop/images/26112025/11/04/image_26112025_11_04_22_2585.jpg
/home/pi/Desktop/images/26112025/11/04/image_26112025_11_04_25_2826.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":["1396262282","1396262284","1396262293","1396262286","1396262289","1396262280"],"photo_ids_order":["1396262280","1396262282","1396262284","1396262286","1396262289","1396262293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f4469e36fe2f513c018b6a31e9d13b9c.jpg","text":"TemporaryFile(/tmp/multipartBody4629601387139959456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169743522,"filename":"image_26112025_11_02_20_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/26/7e2c69e3b1a5b1226c69415eb66900c7.jpg","text":"TemporaryFile(/tmp/multipartBody1461283337984287045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169743522,"filename":"image_26112025_11_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/26/bbbffda51abe8c41c33bc69a22dc56c7.jpg","text":"TemporaryFile(/tmp/multipartBody1912687863142766737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169743522,"filename":"image_26112025_11_04_25_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/26/9783b2fb36aece3e092ee5db8e6f2852.jpg","text":"TemporaryFile(/tmp/multipartBody5876185977876245789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169743522,"filename":"image_26112025_11_04_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/26/c50060d023c293296ec9ad42cf6c75f0.jpg","text":"TemporaryFile(/tmp/multipartBody3574000163419288321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169743522,"filename":"image_26112025_11_04_22_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/26/2a797a9a4e347a2485045c467c582b0c.jpg","text":"TemporaryFile(/tmp/multipartBody8962577422109542790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169743522,"filename":"image_26112025_11_02_16_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396262284","file1":"1396262282","file0":"1396262280","file4":"1396262289","file5":"1396262293","file3":"1396262286"},"map_files_photo_id_array":[{"photo_id":"1396262293","filename":"file5"},{"photo_id":"1396262284","filename":"file2"},{"photo_id":"1396262289","filename":"file4"},{"photo_id":"1396262282","filename":"file1"},{"photo_id":"1396262280","filename":"file0"},{"photo_id":"1396262286","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396262282":["hashtag1","hashtag2"]},{"1396262284":["hashtag1","hashtag2"]},{"1396262293":["hashtag1","hashtag2"]},{"1396262286":["hashtag1","hashtag2"]},{"1396262289":["hashtag1","hashtag2"]},{"1396262280":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396262282, 1396262284, 1396262293, 1396262286, 1396262289, 1396262280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13910961151123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 16:08:42.196715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/04/image_26112025_11_04_28_3740.jpg', '/home/pi/Desktop/images/26112025/11/04/image_26112025_11_04_31_2548.jpg', '/home/pi/Desktop/images/26112025/11/04/image_26112025_11_04_37_2578.jpg', '/home/pi/Desktop/images/26112025/11/04/image_26112025_11_04_40_2713.jpg', '/home/pi/Desktop/images/26112025/11/04/image_26112025_11_04_42_2738.jpg', '/home/pi/Desktop/images/26112025/11/04/image_26112025_11_04_46_3672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/04/image_26112025_11_04_28_3740.jpg
/home/pi/Desktop/images/26112025/11/04/image_26112025_11_04_31_2548.jpg
/home/pi/Desktop/images/26112025/11/04/image_26112025_11_04_37_2578.jpg
/home/pi/Desktop/images/26112025/11/04/image_26112025_11_04_40_2713.jpg
/home/pi/Desktop/images/26112025/11/04/image_26112025_11_04_42_2738.jpg
/home/pi/Desktop/images/26112025/11/04/image_26112025_11_04_46_3672.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":["1396262310","1396262304","1396262307","1396262306","1396262308","1396262302"],"photo_ids_order":["1396262302","1396262304","1396262306","1396262307","1396262308","1396262310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f416fec83004be04bad315865901633e.jpg","text":"TemporaryFile(/tmp/multipartBody5143543303951092664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169783008,"filename":"image_26112025_11_04_46_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/26/813c70aae1a5f8a5dfb6d2970bfdf1a1.jpg","text":"TemporaryFile(/tmp/multipartBody6412328838806446993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169783008,"filename":"image_26112025_11_04_31_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/26/31acbdbc962a545b03ec4942e9f4e9b5.jpg","text":"TemporaryFile(/tmp/multipartBody7855949975426932995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169783008,"filename":"image_26112025_11_04_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/26/790206a076d8de215a108886ebff8f5a.jpg","text":"TemporaryFile(/tmp/multipartBody6850287678235694610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169783008,"filename":"image_26112025_11_04_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/26/7df9783b6660b498c8074b7ee109b1e6.jpg","text":"TemporaryFile(/tmp/multipartBody1328331359755165929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169783008,"filename":"image_26112025_11_04_42_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/26/ac619e19cf356414d68677270bb48aab.jpg","text":"TemporaryFile(/tmp/multipartBody9096662285593989773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169783008,"filename":"image_26112025_11_04_28_3740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396262306","file1":"1396262304","file0":"1396262302","file4":"1396262308","file5":"1396262310","file3":"1396262307"},"map_files_photo_id_array":[{"photo_id":"1396262310","filename":"file5"},{"photo_id":"1396262306","filename":"file2"},{"photo_id":"1396262308","filename":"file4"},{"photo_id":"1396262304","filename":"file1"},{"photo_id":"1396262302","filename":"file0"},{"photo_id":"1396262307","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396262310":["hashtag1","hashtag2"]},{"1396262304":["hashtag1","hashtag2"]},{"1396262307":["hashtag1","hashtag2"]},{"1396262306":["hashtag1","hashtag2"]},{"1396262308":["hashtag1","hashtag2"]},{"1396262302":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396262310, 1396262304, 1396262307, 1396262306, 1396262308, 1396262302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29821538925171 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 16:09:22.430978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/04/image_26112025_11_04_52_3612.jpg', '/home/pi/Desktop/images/26112025/11/06/image_26112025_11_06_07_3012.jpg', '/home/pi/Desktop/images/26112025/11/06/image_26112025_11_06_19_3581.jpg', '/home/pi/Desktop/images/26112025/11/06/image_26112025_11_06_22_2703.jpg', '/home/pi/Desktop/images/26112025/11/06/image_26112025_11_06_25_2984.jpg', '/home/pi/Desktop/images/26112025/11/06/image_26112025_11_06_28_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/04/image_26112025_11_04_52_3612.jpg
/home/pi/Desktop/images/26112025/11/06/image_26112025_11_06_07_3012.jpg
/home/pi/Desktop/images/26112025/11/06/image_26112025_11_06_19_3581.jpg
/home/pi/Desktop/images/26112025/11/06/image_26112025_11_06_22_2703.jpg
/home/pi/Desktop/images/26112025/11/06/image_26112025_11_06_25_2984.jpg
/home/pi/Desktop/images/26112025/11/06/image_26112025_11_06_28_2665.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":["1396262319","1396262334","1396262326","1396262341","1396262349","1396262322"],"photo_ids_order":["1396262319","1396262322","1396262326","1396262334","1396262341","1396262349"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f900aba3f71cd3749573a05fc3fd9277.jpg","text":"TemporaryFile(/tmp/multipartBody1159907520835671143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169823209,"filename":"image_26112025_11_04_52_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/26/d70dfe0c25f18cab080a77eb5d12e00b.jpg","text":"TemporaryFile(/tmp/multipartBody644849865774141973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169823209,"filename":"image_26112025_11_06_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/26/98547327d87186bcf26411899eb648d2.jpg","text":"TemporaryFile(/tmp/multipartBody6808625264033772045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169823209,"filename":"image_26112025_11_06_19_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/26/6e2540c0435946e8337f3045bd2f1b9e.jpg","text":"TemporaryFile(/tmp/multipartBody160937850002930517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169823209,"filename":"image_26112025_11_06_25_2984.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/77e77f46fae53eae5ffbdac9eb11da93.jpg","text":"TemporaryFile(/tmp/multipartBody2323522361723766465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169823209,"filename":"image_26112025_11_06_28_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/26/373e4f006087aceb01d159654faf63a3.jpg","text":"TemporaryFile(/tmp/multipartBody5130316158083969959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169823209,"filename":"image_26112025_11_06_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396262326","file1":"1396262322","file0":"1396262319","file4":"1396262341","file5":"1396262349","file3":"1396262334"},"map_files_photo_id_array":[{"photo_id":"1396262349","filename":"file5"},{"photo_id":"1396262326","filename":"file2"},{"photo_id":"1396262341","filename":"file4"},{"photo_id":"1396262322","filename":"file1"},{"photo_id":"1396262319","filename":"file0"},{"photo_id":"1396262334","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396262319":["hashtag1","hashtag2"]},{"1396262334":["hashtag1","hashtag2"]},{"1396262326":["hashtag1","hashtag2"]},{"1396262341":["hashtag1","hashtag2"]},{"1396262349":["hashtag1","hashtag2"]},{"1396262322":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396262319, 1396262334, 1396262326, 1396262341, 1396262349, 1396262322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81937575340271 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:10:02.951658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/06/image_26112025_11_06_31_3556.jpg', '/home/pi/Desktop/images/26112025/11/06/image_26112025_11_06_34_2722.jpg', '/home/pi/Desktop/images/26112025/11/07/image_26112025_11_07_01_24279.jpg', '/home/pi/Desktop/images/26112025/11/07/image_26112025_11_07_03_1546.jpg', '/home/pi/Desktop/images/26112025/11/08/image_26112025_11_08_07_3017.jpg', '/home/pi/Desktop/images/26112025/11/08/image_26112025_11_08_11_3693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/06/image_26112025_11_06_31_3556.jpg
/home/pi/Desktop/images/26112025/11/06/image_26112025_11_06_34_2722.jpg
/home/pi/Desktop/images/26112025/11/07/image_26112025_11_07_01_24279.jpg
/home/pi/Desktop/images/26112025/11/07/image_26112025_11_07_03_1546.jpg
/home/pi/Desktop/images/26112025/11/08/image_26112025_11_08_07_3017.jpg
/home/pi/Desktop/images/26112025/11/08/image_26112025_11_08_11_3693.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":["1396262351","1396262354","1396262363","1396262356","1396262359","1396262350"],"photo_ids_order":["1396262350","1396262351","1396262354","1396262356","1396262359","1396262363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3bd4fbd55ad45a9133b7459a28c2a5d2.jpg","text":"TemporaryFile(/tmp/multipartBody5277089343648011081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169863742,"filename":"image_26112025_11_06_34_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/75cedd42dd5ec6c34d854be99576d84e.jpg","text":"TemporaryFile(/tmp/multipartBody4430581280344265703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169863742,"filename":"image_26112025_11_07_01_24279.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ffbe07154e0eb266b6c91fd11de3756d.jpg","text":"TemporaryFile(/tmp/multipartBody3797229276133548094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169863742,"filename":"image_26112025_11_08_11_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/675b9be1b1d446de3c44b0b677940a84.jpg","text":"TemporaryFile(/tmp/multipartBody2397396915544308180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169863742,"filename":"image_26112025_11_07_03_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/26/4077e744dd90ca6e91e6f56e921f8498.jpg","text":"TemporaryFile(/tmp/multipartBody1033063142963901918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169863742,"filename":"image_26112025_11_08_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/26/b5f8899667bc0bfdcd9d879f7087604c.jpg","text":"TemporaryFile(/tmp/multipartBody4764906721169977915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169863742,"filename":"image_26112025_11_06_31_3556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396262354","file1":"1396262351","file0":"1396262350","file4":"1396262359","file5":"1396262363","file3":"1396262356"},"map_files_photo_id_array":[{"photo_id":"1396262363","filename":"file5"},{"photo_id":"1396262354","filename":"file2"},{"photo_id":"1396262359","filename":"file4"},{"photo_id":"1396262351","filename":"file1"},{"photo_id":"1396262350","filename":"file0"},{"photo_id":"1396262356","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396262351":["hashtag1","hashtag2"]},{"1396262354":["hashtag1","hashtag2"]},{"1396262363":["hashtag1","hashtag2"]},{"1396262356":["hashtag1","hashtag2"]},{"1396262359":["hashtag1","hashtag2"]},{"1396262350":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396262351, 1396262354, 1396262363, 1396262356, 1396262359, 1396262350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99983286857605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 16:10:42.494988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/08/image_26112025_11_08_13_2644.jpg', '/home/pi/Desktop/images/26112025/11/08/image_26112025_11_08_16_2641.jpg', '/home/pi/Desktop/images/26112025/11/08/image_26112025_11_08_22_6315.jpg', '/home/pi/Desktop/images/26112025/11/08/image_26112025_11_08_26_1568.jpg', '/home/pi/Desktop/images/26112025/11/08/image_26112025_11_08_28_2688.jpg', '/home/pi/Desktop/images/26112025/11/08/image_26112025_11_08_31_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/08/image_26112025_11_08_13_2644.jpg
/home/pi/Desktop/images/26112025/11/08/image_26112025_11_08_16_2641.jpg
/home/pi/Desktop/images/26112025/11/08/image_26112025_11_08_22_6315.jpg
/home/pi/Desktop/images/26112025/11/08/image_26112025_11_08_26_1568.jpg
/home/pi/Desktop/images/26112025/11/08/image_26112025_11_08_28_2688.jpg
/home/pi/Desktop/images/26112025/11/08/image_26112025_11_08_31_2702.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":["1396262390","1396262387","1396262392","1396262389","1396262385","1396262388"],"photo_ids_order":["1396262385","1396262387","1396262388","1396262389","1396262390","1396262392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3031651c1a435fa6c3386224e08c9161.jpg","text":"TemporaryFile(/tmp/multipartBody2570107070185278144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169903277,"filename":"image_26112025_11_08_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/26/23c2bc125fb661276961220c1d7d094e.jpg","text":"TemporaryFile(/tmp/multipartBody5976540702137497042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169903277,"filename":"image_26112025_11_08_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/26/dc2ea77bcf5088e56677f6917cdcad92.jpg","text":"TemporaryFile(/tmp/multipartBody3366284113601367837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169903277,"filename":"image_26112025_11_08_31_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/26/cd86c834289824ebb7edca6fb0dec2d9.jpg","text":"TemporaryFile(/tmp/multipartBody525570198889857035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169903277,"filename":"image_26112025_11_08_26_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/26/2960cd5afcb505ef8f15fd6e7fa55e2d.jpg","text":"TemporaryFile(/tmp/multipartBody9143020874222818527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169903277,"filename":"image_26112025_11_08_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/26/bc6e6eb5af2463d212da9a5e39ba0f8b.jpg","text":"TemporaryFile(/tmp/multipartBody7257347457238933342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169903277,"filename":"image_26112025_11_08_22_6315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396262388","file1":"1396262387","file0":"1396262385","file4":"1396262390","file5":"1396262392","file3":"1396262389"},"map_files_photo_id_array":[{"photo_id":"1396262392","filename":"file5"},{"photo_id":"1396262388","filename":"file2"},{"photo_id":"1396262390","filename":"file4"},{"photo_id":"1396262387","filename":"file1"},{"photo_id":"1396262385","filename":"file0"},{"photo_id":"1396262389","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396262390":["hashtag1","hashtag2"]},{"1396262387":["hashtag1","hashtag2"]},{"1396262392":["hashtag1","hashtag2"]},{"1396262389":["hashtag1","hashtag2"]},{"1396262385":["hashtag1","hashtag2"]},{"1396262388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396262390, 1396262387, 1396262392, 1396262389, 1396262385, 1396262388)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.9849967956543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 16:11:32.779162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/08/image_26112025_11_08_37_2699.jpg', '/home/pi/Desktop/images/26112025/11/08/image_26112025_11_08_40_2627.jpg', '/home/pi/Desktop/images/26112025/11/08/image_26112025_11_08_44_3626.jpg', '/home/pi/Desktop/images/26112025/11/08/image_26112025_11_08_46_2616.jpg', '/home/pi/Desktop/images/26112025/11/08/image_26112025_11_08_49_2771.jpg', '/home/pi/Desktop/images/26112025/11/09/image_26112025_11_09_09_19713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/08/image_26112025_11_08_37_2699.jpg
/home/pi/Desktop/images/26112025/11/08/image_26112025_11_08_40_2627.jpg
/home/pi/Desktop/images/26112025/11/08/image_26112025_11_08_44_3626.jpg
/home/pi/Desktop/images/26112025/11/08/image_26112025_11_08_46_2616.jpg
/home/pi/Desktop/images/26112025/11/08/image_26112025_11_08_49_2771.jpg
/home/pi/Desktop/images/26112025/11/09/image_26112025_11_09_09_19713.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":["1396262517","1396262519","1396262458","1396262515","1396262496","1396262520"],"photo_ids_order":["1396262458","1396262496","1396262515","1396262517","1396262519","1396262520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8fad8b49dd9136006c4044ba43e26296.jpg","text":"TemporaryFile(/tmp/multipartBody6415572905965731611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169953639,"filename":"image_26112025_11_08_46_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/26/81bb5b4eb14cb92378017921af01f5f3.jpg","text":"TemporaryFile(/tmp/multipartBody7317850875752459704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169953639,"filename":"image_26112025_11_08_49_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/26/b86ca1e79203a14954223cc5dab1ee02.jpg","text":"TemporaryFile(/tmp/multipartBody4291088472695117436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169953639,"filename":"image_26112025_11_08_37_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/26/41f93adc01b0bc666d8eb56de398e9c1.jpg","text":"TemporaryFile(/tmp/multipartBody8390832829333080474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169953639,"filename":"image_26112025_11_08_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/26/c6672b69d4add8369f4b49991e30db8a.jpg","text":"TemporaryFile(/tmp/multipartBody6814526771545661885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169953639,"filename":"image_26112025_11_08_40_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/26/af721acd9e6dbc92d478565ad61f1c02.jpg","text":"TemporaryFile(/tmp/multipartBody8987314915378714362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764169953639,"filename":"image_26112025_11_09_09_19713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396262515","file1":"1396262496","file0":"1396262458","file4":"1396262519","file5":"1396262520","file3":"1396262517"},"map_files_photo_id_array":[{"photo_id":"1396262520","filename":"file5"},{"photo_id":"1396262515","filename":"file2"},{"photo_id":"1396262519","filename":"file4"},{"photo_id":"1396262496","filename":"file1"},{"photo_id":"1396262458","filename":"file0"},{"photo_id":"1396262517","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396262517":["hashtag1","hashtag2"]},{"1396262519":["hashtag1","hashtag2"]},{"1396262458":["hashtag1","hashtag2"]},{"1396262515":["hashtag1","hashtag2"]},{"1396262496":["hashtag1","hashtag2"]},{"1396262520":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396262517, 1396262519, 1396262458, 1396262515, 1396262496, 1396262520)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.465911865234375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 16:12:22.573033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_07_3011.jpg', '/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_11_3782.jpg', '/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_13_2625.jpg', '/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_16_2657.jpg', '/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_20_3707.jpg', '/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_22_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_07_3011.jpg
/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_11_3782.jpg
/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_13_2625.jpg
/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_16_2657.jpg
/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_20_3707.jpg
/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_22_2615.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":["1396262546","1396262549","1396262590","1396262566","1396262574","1396262577"],"photo_ids_order":["1396262546","1396262549","1396262566","1396262574","1396262577","1396262590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7238d6fa8f2b2d3a52f3b0be84be9404.jpg","text":"TemporaryFile(/tmp/multipartBody8497526107240173246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170003350,"filename":"image_26112025_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/26/0fe0106eae5eca1342d9beff4c5caefb.jpg","text":"TemporaryFile(/tmp/multipartBody3900354538880223561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170003350,"filename":"image_26112025_11_11_11_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/26/c017d7c1c0507f0cf7e39ab91c7b322b.jpg","text":"TemporaryFile(/tmp/multipartBody7294301979863256743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170003350,"filename":"image_26112025_11_11_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/26/e478a22582f28df9e3bacf762377d548.jpg","text":"TemporaryFile(/tmp/multipartBody832567038555790020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170003350,"filename":"image_26112025_11_11_13_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/26/612d4e584e4a8ed3c3ffa652cc9d5896.jpg","text":"TemporaryFile(/tmp/multipartBody4808947403749753676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170003350,"filename":"image_26112025_11_11_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/26/35817e4da344780ff9bdaafab3c10d29.jpg","text":"TemporaryFile(/tmp/multipartBody1945355187881177054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170003350,"filename":"image_26112025_11_11_20_3707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396262566","file1":"1396262549","file0":"1396262546","file4":"1396262577","file5":"1396262590","file3":"1396262574"},"map_files_photo_id_array":[{"photo_id":"1396262590","filename":"file5"},{"photo_id":"1396262566","filename":"file2"},{"photo_id":"1396262577","filename":"file4"},{"photo_id":"1396262549","filename":"file1"},{"photo_id":"1396262546","filename":"file0"},{"photo_id":"1396262574","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396262546":["hashtag1","hashtag2"]},{"1396262549":["hashtag1","hashtag2"]},{"1396262590":["hashtag1","hashtag2"]},{"1396262566":["hashtag1","hashtag2"]},{"1396262574":["hashtag1","hashtag2"]},{"1396262577":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396262546, 1396262549, 1396262590, 1396262566, 1396262574, 1396262577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07160973548889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:13:02.433965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_25_2704.jpg', '/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_29_3695.jpg', '/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_31_2626.jpg', '/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_38_3740.jpg', '/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_45_1857.jpg', '/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_46_1788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_25_2704.jpg
/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_29_3695.jpg
/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_31_2626.jpg
/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_38_3740.jpg
/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_45_1857.jpg
/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_46_1788.jpg
 val : 1 : upload photos already in processing! 
 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":["1396262624","1396262636","1396262615","1396262617","1396262611","1396262620"],"photo_ids_order":["1396262611","1396262615","1396262617","1396262620","1396262624","1396262636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b0120671366eb224192e647d807f3c6c.jpg","text":"TemporaryFile(/tmp/multipartBody3285786808024369505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170045860,"filename":"image_26112025_11_11_45_1857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/00584d8a6085d5c5eb13fab4636c47e5.jpg","text":"TemporaryFile(/tmp/multipartBody7080881876412563457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170045860,"filename":"image_26112025_11_11_46_1788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/95cdfbdf5ff424fb2065004cb66d3ece.jpg","text":"TemporaryFile(/tmp/multipartBody5255634784177735087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170045860,"filename":"image_26112025_11_11_29_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/26/30dd111f397dfbbed2e2cc0194e9b70a.jpg","text":"TemporaryFile(/tmp/multipartBody696885968312763405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170045860,"filename":"image_26112025_11_11_31_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/26/233fab498b4d41f0b50f030473739dcb.jpg","text":"TemporaryFile(/tmp/multipartBody7629987875060374732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170045860,"filename":"image_26112025_11_11_25_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/26/bdb78778c049c7bcf95a40c2f2225880.jpg","text":"TemporaryFile(/tmp/multipartBody4268943664168654082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170045860,"filename":"image_26112025_11_11_38_3740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396262617","file1":"1396262615","file0":"1396262611","file4":"1396262624","file5":"1396262636","file3":"1396262620"},"map_files_photo_id_array":[{"photo_id":"1396262636","filename":"file5"},{"photo_id":"1396262617","filename":"file2"},{"photo_id":"1396262624","filename":"file4"},{"photo_id":"1396262615","filename":"file1"},{"photo_id":"1396262611","filename":"file0"},{"photo_id":"1396262620","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396262624":["hashtag1","hashtag2"]},{"1396262636":["hashtag1","hashtag2"]},{"1396262615":["hashtag1","hashtag2"]},{"1396262617":["hashtag1","hashtag2"]},{"1396262611":["hashtag1","hashtag2"]},{"1396262620":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396262624, 1396262636, 1396262615, 1396262617, 1396262611, 1396262620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.231754779815674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:14:02.721401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 16:14:14.632493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_49_2724.jpg', '/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_52_2660.jpg', '/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_56_3756.jpg', '/home/pi/Desktop/images/26112025/11/12/image_26112025_11_12_01_2561.jpg', '/home/pi/Desktop/images/26112025/11/12/image_26112025_11_12_08_7683.jpg', '/home/pi/Desktop/images/26112025/11/12/image_26112025_11_12_10_1741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_49_2724.jpg
/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_52_2660.jpg
/home/pi/Desktop/images/26112025/11/11/image_26112025_11_11_56_3756.jpg
/home/pi/Desktop/images/26112025/11/12/image_26112025_11_12_01_2561.jpg
/home/pi/Desktop/images/26112025/11/12/image_26112025_11_12_08_7683.jpg
/home/pi/Desktop/images/26112025/11/12/image_26112025_11_12_10_1741.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":["1396263047","1396262989","1396262998","1396263028","1396262986","1396262994"],"photo_ids_order":["1396262986","1396262989","1396262994","1396262998","1396263028","1396263047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/541cc95143098360e44fd864dd859631.jpg","text":"TemporaryFile(/tmp/multipartBody8160679702745671162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170115446,"filename":"image_26112025_11_12_10_1741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6fb6d3407ba1817832f49cb1934429a0.jpg","text":"TemporaryFile(/tmp/multipartBody1643402345970153573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170115446,"filename":"image_26112025_11_11_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/26/996e1690f13a6896cfdd739b13c337df.jpg","text":"TemporaryFile(/tmp/multipartBody1308409103139055617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170115446,"filename":"image_26112025_11_12_01_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/26/7ac56364dd45a7a94c9be7ed99add603.jpg","text":"TemporaryFile(/tmp/multipartBody2889770347275369281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170115446,"filename":"image_26112025_11_12_08_7683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/be6748f2f6b8037fd230bfa6156e4200.jpg","text":"TemporaryFile(/tmp/multipartBody5281095989268020370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170115446,"filename":"image_26112025_11_11_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/26/bcc226875ac686551f620a78089e1db8.jpg","text":"TemporaryFile(/tmp/multipartBody4271841373608567757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170115446,"filename":"image_26112025_11_11_56_3756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396262994","file1":"1396262989","file0":"1396262986","file4":"1396263028","file5":"1396263047","file3":"1396262998"},"map_files_photo_id_array":[{"photo_id":"1396263047","filename":"file5"},{"photo_id":"1396262994","filename":"file2"},{"photo_id":"1396263028","filename":"file4"},{"photo_id":"1396262989","filename":"file1"},{"photo_id":"1396262986","filename":"file0"},{"photo_id":"1396262998","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396263047":["hashtag1","hashtag2"]},{"1396262989":["hashtag1","hashtag2"]},{"1396262998":["hashtag1","hashtag2"]},{"1396263028":["hashtag1","hashtag2"]},{"1396262986":["hashtag1","hashtag2"]},{"1396262994":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396263047, 1396262989, 1396262998, 1396263028, 1396262986, 1396262994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97189950942993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:15:03.046525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/13/image_26112025_11_13_07_3012.jpg', '/home/pi/Desktop/images/26112025/11/13/image_26112025_11_13_10_3812.jpg', '/home/pi/Desktop/images/26112025/11/13/image_26112025_11_13_13_2625.jpg', '/home/pi/Desktop/images/26112025/11/13/image_26112025_11_13_16_2670.jpg', '/home/pi/Desktop/images/26112025/11/13/image_26112025_11_13_19_3588.jpg', '/home/pi/Desktop/images/26112025/11/13/image_26112025_11_13_22_2833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/13/image_26112025_11_13_07_3012.jpg
/home/pi/Desktop/images/26112025/11/13/image_26112025_11_13_10_3812.jpg
/home/pi/Desktop/images/26112025/11/13/image_26112025_11_13_13_2625.jpg
/home/pi/Desktop/images/26112025/11/13/image_26112025_11_13_16_2670.jpg
/home/pi/Desktop/images/26112025/11/13/image_26112025_11_13_19_3588.jpg
/home/pi/Desktop/images/26112025/11/13/image_26112025_11_13_22_2833.jpg
 val : 1 : upload photos already in processing! 
 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":["1396263140","1396263143","1396263104","1396263163","1396263138","1396263147"],"photo_ids_order":["1396263104","1396263138","1396263140","1396263143","1396263147","1396263163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/28b75e47f243c2d973e1c630c2eebe5b.jpg","text":"TemporaryFile(/tmp/multipartBody4148201300927818112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170166450,"filename":"image_26112025_11_13_13_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/26/21befd7371eb2706801e66e6c3e0d89b.jpg","text":"TemporaryFile(/tmp/multipartBody7530682776434856866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170166450,"filename":"image_26112025_11_13_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/26/2396f13dbe8dd9d2abfcb43576b441cf.jpg","text":"TemporaryFile(/tmp/multipartBody3435563538282308282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170166450,"filename":"image_26112025_11_13_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/26/b2bb004472649f9ff460333b3193162b.jpg","text":"TemporaryFile(/tmp/multipartBody6720191421308900840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170166450,"filename":"image_26112025_11_13_22_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/26/6dad5c8eab391480a2a5329d1f297a4f.jpg","text":"TemporaryFile(/tmp/multipartBody2786803267239820556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170166450,"filename":"image_26112025_11_13_10_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/26/bb140d6caab61a2e62fb091bab634adc.jpg","text":"TemporaryFile(/tmp/multipartBody976937163775293303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170166450,"filename":"image_26112025_11_13_19_3588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396263140","file1":"1396263138","file0":"1396263104","file4":"1396263147","file5":"1396263163","file3":"1396263143"},"map_files_photo_id_array":[{"photo_id":"1396263163","filename":"file5"},{"photo_id":"1396263140","filename":"file2"},{"photo_id":"1396263147","filename":"file4"},{"photo_id":"1396263138","filename":"file1"},{"photo_id":"1396263104","filename":"file0"},{"photo_id":"1396263143","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396263140":["hashtag1","hashtag2"]},{"1396263143":["hashtag1","hashtag2"]},{"1396263104":["hashtag1","hashtag2"]},{"1396263163":["hashtag1","hashtag2"]},{"1396263138":["hashtag1","hashtag2"]},{"1396263147":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396263140, 1396263143, 1396263104, 1396263163, 1396263138, 1396263147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.792787313461304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:16:03.048103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/13/image_26112025_11_13_25_2601.jpg', '/home/pi/Desktop/images/26112025/11/13/image_26112025_11_13_28_3702.jpg', '/home/pi/Desktop/images/26112025/11/13/image_26112025_11_13_31_2617.jpg', '/home/pi/Desktop/images/26112025/11/13/image_26112025_11_13_34_2706.jpg', '/home/pi/Desktop/images/26112025/11/13/image_26112025_11_13_37_2985.jpg', '/home/pi/Desktop/images/26112025/11/15/image_26112025_11_15_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/13/image_26112025_11_13_25_2601.jpg
/home/pi/Desktop/images/26112025/11/13/image_26112025_11_13_28_3702.jpg
/home/pi/Desktop/images/26112025/11/13/image_26112025_11_13_31_2617.jpg
/home/pi/Desktop/images/26112025/11/13/image_26112025_11_13_34_2706.jpg
/home/pi/Desktop/images/26112025/11/13/image_26112025_11_13_37_2985.jpg
/home/pi/Desktop/images/26112025/11/15/image_26112025_11_15_07_3011.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":["1396263191","1396263185","1396263203","1396263187","1396263199","1396263189"],"photo_ids_order":["1396263185","1396263187","1396263189","1396263191","1396263199","1396263203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ae34be43d9da8eedaefb0b850378b319.jpg","text":"TemporaryFile(/tmp/multipartBody6375698185550773482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170223942,"filename":"image_26112025_11_13_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/26/7c7463fca65ecffc7d34211a712e5864.jpg","text":"TemporaryFile(/tmp/multipartBody4902840041063066098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170223942,"filename":"image_26112025_11_13_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/26/cfe05548fe2ffbfe022642ec75f45691.jpg","text":"TemporaryFile(/tmp/multipartBody2138553143043636738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170223942,"filename":"image_26112025_11_15_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/26/725a540fcca68392406c95e2b6ecf0fa.jpg","text":"TemporaryFile(/tmp/multipartBody622930783563146477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170223942,"filename":"image_26112025_11_13_28_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/26/2db2a3e3040cecb631cb548dd9684517.jpg","text":"TemporaryFile(/tmp/multipartBody8787035275805233513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170223942,"filename":"image_26112025_11_13_37_2985.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c49181e6b15d6ecc51b5ffb8ff736ccf.jpg","text":"TemporaryFile(/tmp/multipartBody2481799457768638828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170223942,"filename":"image_26112025_11_13_31_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396263189","file1":"1396263187","file0":"1396263185","file4":"1396263199","file5":"1396263203","file3":"1396263191"},"map_files_photo_id_array":[{"photo_id":"1396263203","filename":"file5"},{"photo_id":"1396263189","filename":"file2"},{"photo_id":"1396263199","filename":"file4"},{"photo_id":"1396263187","filename":"file1"},{"photo_id":"1396263185","filename":"file0"},{"photo_id":"1396263191","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396263191":["hashtag1","hashtag2"]},{"1396263185":["hashtag1","hashtag2"]},{"1396263203":["hashtag1","hashtag2"]},{"1396263187":["hashtag1","hashtag2"]},{"1396263199":["hashtag1","hashtag2"]},{"1396263189":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396263191, 1396263185, 1396263203, 1396263187, 1396263199, 1396263189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93925333023071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 16:16:42.625170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/15/image_26112025_11_15_14_2822.jpg', '/home/pi/Desktop/images/26112025/11/15/image_26112025_11_15_17_2845.jpg', '/home/pi/Desktop/images/26112025/11/15/image_26112025_11_15_19_2702.jpg', '/home/pi/Desktop/images/26112025/11/15/image_26112025_11_15_23_3624.jpg', '/home/pi/Desktop/images/26112025/11/15/image_26112025_11_15_26_2776.jpg', '/home/pi/Desktop/images/26112025/11/15/image_26112025_11_15_29_2781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/15/image_26112025_11_15_14_2822.jpg
/home/pi/Desktop/images/26112025/11/15/image_26112025_11_15_17_2845.jpg
/home/pi/Desktop/images/26112025/11/15/image_26112025_11_15_19_2702.jpg
/home/pi/Desktop/images/26112025/11/15/image_26112025_11_15_23_3624.jpg
/home/pi/Desktop/images/26112025/11/15/image_26112025_11_15_26_2776.jpg
/home/pi/Desktop/images/26112025/11/15/image_26112025_11_15_29_2781.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":["1396263221","1396263230","1396263218","1396263223","1396263229","1396263222"],"photo_ids_order":["1396263218","1396263221","1396263222","1396263223","1396263229","1396263230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/05420d7cb4505f9d5b03c20c81d110a9.jpg","text":"TemporaryFile(/tmp/multipartBody982255619962654911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170263389,"filename":"image_26112025_11_15_17_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/26/231d56566cd6681cc4364c02365e1443.jpg","text":"TemporaryFile(/tmp/multipartBody6053331200035829848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170263389,"filename":"image_26112025_11_15_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/26/0bcca245d8f94fcfab747e84b325008a.jpg","text":"TemporaryFile(/tmp/multipartBody1305615832955714345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170263389,"filename":"image_26112025_11_15_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/26/b2163607f063ff1b76cd29fbc0669925.jpg","text":"TemporaryFile(/tmp/multipartBody6472634084398713783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170263389,"filename":"image_26112025_11_15_23_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/03217934a8af29f2611ebdd95d71ed8e.jpg","text":"TemporaryFile(/tmp/multipartBody8958488322035523680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170263389,"filename":"image_26112025_11_15_26_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/26/b8947c82c57b28b577bf4c750cd1339a.jpg","text":"TemporaryFile(/tmp/multipartBody898541746989592657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170263389,"filename":"image_26112025_11_15_19_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396263222","file1":"1396263221","file0":"1396263218","file4":"1396263229","file5":"1396263230","file3":"1396263223"},"map_files_photo_id_array":[{"photo_id":"1396263230","filename":"file5"},{"photo_id":"1396263222","filename":"file2"},{"photo_id":"1396263229","filename":"file4"},{"photo_id":"1396263221","filename":"file1"},{"photo_id":"1396263218","filename":"file0"},{"photo_id":"1396263223","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396263221":["hashtag1","hashtag2"]},{"1396263230":["hashtag1","hashtag2"]},{"1396263218":["hashtag1","hashtag2"]},{"1396263223":["hashtag1","hashtag2"]},{"1396263229":["hashtag1","hashtag2"]},{"1396263222":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396263221, 1396263230, 1396263218, 1396263223, 1396263229, 1396263222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91872501373291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 16:17:21.873613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/17/image_26112025_11_17_06_3012.jpg', '/home/pi/Desktop/images/26112025/11/17/image_26112025_11_17_19_2742.jpg', '/home/pi/Desktop/images/26112025/11/17/image_26112025_11_17_22_2740.jpg', '/home/pi/Desktop/images/26112025/11/17/image_26112025_11_17_28_3617.jpg', '/home/pi/Desktop/images/26112025/11/17/image_26112025_11_17_37_3568.jpg', '/home/pi/Desktop/images/26112025/11/17/image_26112025_11_17_39_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/17/image_26112025_11_17_06_3012.jpg
/home/pi/Desktop/images/26112025/11/17/image_26112025_11_17_19_2742.jpg
/home/pi/Desktop/images/26112025/11/17/image_26112025_11_17_22_2740.jpg
/home/pi/Desktop/images/26112025/11/17/image_26112025_11_17_28_3617.jpg
/home/pi/Desktop/images/26112025/11/17/image_26112025_11_17_37_3568.jpg
/home/pi/Desktop/images/26112025/11/17/image_26112025_11_17_39_2680.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":["1396263242","1396263250","1396263238","1396263253","1396263235","1396263246"],"photo_ids_order":["1396263235","1396263238","1396263242","1396263246","1396263250","1396263253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6f9c6321cf72127d00e8bc469f52fa1c.jpg","text":"TemporaryFile(/tmp/multipartBody7532686511152464616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170302733,"filename":"image_26112025_11_17_22_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/26/9b780ff2642a30fc65b3ceee2c41fef2.jpg","text":"TemporaryFile(/tmp/multipartBody6747272074748025405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170302733,"filename":"image_26112025_11_17_37_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/26/07bb5a967836151f10f8b2feceb55674.jpg","text":"TemporaryFile(/tmp/multipartBody922460801140473640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170302733,"filename":"image_26112025_11_17_19_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/26/3e66f44e949a42905e764e6c65d7e276.jpg","text":"TemporaryFile(/tmp/multipartBody135053133064154245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170302733,"filename":"image_26112025_11_17_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/26/4a2d345524918143da54a6709975b878.jpg","text":"TemporaryFile(/tmp/multipartBody8870200093969935336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170302733,"filename":"image_26112025_11_17_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/26/ac55c7c848cfb3b5984c55b56fb20dcd.jpg","text":"TemporaryFile(/tmp/multipartBody7178042768274768273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170302733,"filename":"image_26112025_11_17_28_3617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396263242","file1":"1396263238","file0":"1396263235","file4":"1396263250","file5":"1396263253","file3":"1396263246"},"map_files_photo_id_array":[{"photo_id":"1396263253","filename":"file5"},{"photo_id":"1396263242","filename":"file2"},{"photo_id":"1396263250","filename":"file4"},{"photo_id":"1396263238","filename":"file1"},{"photo_id":"1396263235","filename":"file0"},{"photo_id":"1396263246","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396263242":["hashtag1","hashtag2"]},{"1396263250":["hashtag1","hashtag2"]},{"1396263238":["hashtag1","hashtag2"]},{"1396263253":["hashtag1","hashtag2"]},{"1396263235":["hashtag1","hashtag2"]},{"1396263246":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396263242, 1396263250, 1396263238, 1396263253, 1396263235, 1396263246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45082759857178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:18:02.611014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/17/image_26112025_11_17_49_2734.jpg', '/home/pi/Desktop/images/26112025/11/17/image_26112025_11_17_52_2740.jpg', '/home/pi/Desktop/images/26112025/11/19/image_26112025_11_19_06_3012.jpg', '/home/pi/Desktop/images/26112025/11/19/image_26112025_11_19_22_2670.jpg', '/home/pi/Desktop/images/26112025/11/19/image_26112025_11_19_28_3664.jpg', '/home/pi/Desktop/images/26112025/11/19/image_26112025_11_19_31_2809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/17/image_26112025_11_17_49_2734.jpg
/home/pi/Desktop/images/26112025/11/17/image_26112025_11_17_52_2740.jpg
/home/pi/Desktop/images/26112025/11/19/image_26112025_11_19_06_3012.jpg
/home/pi/Desktop/images/26112025/11/19/image_26112025_11_19_22_2670.jpg
/home/pi/Desktop/images/26112025/11/19/image_26112025_11_19_28_3664.jpg
/home/pi/Desktop/images/26112025/11/19/image_26112025_11_19_31_2809.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":["1396263269","1396263271","1396263285","1396263273","1396263267","1396263321"],"photo_ids_order":["1396263267","1396263269","1396263271","1396263273","1396263285","1396263321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cd59468e2546a61957e669715f0a5d8a.jpg","text":"TemporaryFile(/tmp/multipartBody5009305511203367262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170343442,"filename":"image_26112025_11_17_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/26/2142746d39f5b5efd5bed63e4e2d21cd.jpg","text":"TemporaryFile(/tmp/multipartBody3754547354577124773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170343442,"filename":"image_26112025_11_19_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/26/8457bf1d03ec68ff3b2657237ffab086.jpg","text":"TemporaryFile(/tmp/multipartBody7656734414294569609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170343442,"filename":"image_26112025_11_19_28_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/26/27cd0cac147403725a141e704d25d757.jpg","text":"TemporaryFile(/tmp/multipartBody3206013095710036572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170343442,"filename":"image_26112025_11_19_22_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/713bc1433712eb237d1addcedfecdf31.jpg","text":"TemporaryFile(/tmp/multipartBody3155317421145117310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170343442,"filename":"image_26112025_11_17_49_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/26/276c48ff71a24afddb411dba2becca4b.jpg","text":"TemporaryFile(/tmp/multipartBody2441355395771202875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170343442,"filename":"image_26112025_11_19_31_2809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396263271","file1":"1396263269","file0":"1396263267","file4":"1396263285","file5":"1396263321","file3":"1396263273"},"map_files_photo_id_array":[{"photo_id":"1396263321","filename":"file5"},{"photo_id":"1396263271","filename":"file2"},{"photo_id":"1396263285","filename":"file4"},{"photo_id":"1396263269","filename":"file1"},{"photo_id":"1396263267","filename":"file0"},{"photo_id":"1396263273","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396263269":["hashtag1","hashtag2"]},{"1396263271":["hashtag1","hashtag2"]},{"1396263285":["hashtag1","hashtag2"]},{"1396263273":["hashtag1","hashtag2"]},{"1396263267":["hashtag1","hashtag2"]},{"1396263321":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396263269, 1396263271, 1396263285, 1396263273, 1396263267, 1396263321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36477756500244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 16:18:42.156505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/19/image_26112025_11_19_33_2553.jpg', '/home/pi/Desktop/images/26112025/11/19/image_26112025_11_19_37_3688.jpg', '/home/pi/Desktop/images/26112025/11/19/image_26112025_11_19_42_2679.jpg', '/home/pi/Desktop/images/26112025/11/19/image_26112025_11_19_46_3682.jpg', '/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_06_3012.jpg', '/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_13_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/19/image_26112025_11_19_33_2553.jpg
/home/pi/Desktop/images/26112025/11/19/image_26112025_11_19_37_3688.jpg
/home/pi/Desktop/images/26112025/11/19/image_26112025_11_19_42_2679.jpg
/home/pi/Desktop/images/26112025/11/19/image_26112025_11_19_46_3682.jpg
/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_06_3012.jpg
/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_13_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 [200]>
b'{"photo_ids":["1396263338","1396263341","1396263340","1396263343","1396263334","1396263342"],"photo_ids_order":["1396263334","1396263338","1396263340","1396263341","1396263342","1396263343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1ce5c98145a4e51f7368ed48b31ac8b6.jpg","text":"TemporaryFile(/tmp/multipartBody1948968665500089948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170382962,"filename":"image_26112025_11_19_37_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/26/3141a3b0e1cfdc1b7636efee4df7234c.jpg","text":"TemporaryFile(/tmp/multipartBody3291348071620276217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170382962,"filename":"image_26112025_11_19_46_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/26/e5d98cd42773ded450f7dd3f5c18e6ef.jpg","text":"TemporaryFile(/tmp/multipartBody709493180931965090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170382962,"filename":"image_26112025_11_19_42_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/26/1559a14583108aebd4c96c9c0cb4b6bb.jpg","text":"TemporaryFile(/tmp/multipartBody4270558363354193614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170382962,"filename":"image_26112025_11_21_13_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/26/e6a9641b7470e6d97d9841cadb386ca4.jpg","text":"TemporaryFile(/tmp/multipartBody3857394610938772646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170382962,"filename":"image_26112025_11_19_33_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/26/cbeb9943229d57f28d85c72370123165.jpg","text":"TemporaryFile(/tmp/multipartBody6546738519097631921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170382962,"filename":"image_26112025_11_21_06_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396263340","file1":"1396263338","file0":"1396263334","file4":"1396263342","file5":"1396263343","file3":"1396263341"},"map_files_photo_id_array":[{"photo_id":"1396263343","filename":"file5"},{"photo_id":"1396263340","filename":"file2"},{"photo_id":"1396263342","filename":"file4"},{"photo_id":"1396263338","filename":"file1"},{"photo_id":"1396263334","filename":"file0"},{"photo_id":"1396263341","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396263338":["hashtag1","hashtag2"]},{"1396263341":["hashtag1","hashtag2"]},{"1396263340":["hashtag1","hashtag2"]},{"1396263343":["hashtag1","hashtag2"]},{"1396263334":["hashtag1","hashtag2"]},{"1396263342":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396263338, 1396263341, 1396263340, 1396263343, 1396263334, 1396263342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.642560958862305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 16:19:22.460993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_15_2692.jpg', '/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_19_3689.jpg', '/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_22_2782.jpg', '/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_24_2809.jpg', '/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_27_2943.jpg', '/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_30_2816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_15_2692.jpg
/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_19_3689.jpg
/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_22_2782.jpg
/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_24_2809.jpg
/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_27_2943.jpg
/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_30_2816.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":["1396263350","1396263368","1396263358","1396263366","1396263354","1396263363"],"photo_ids_order":["1396263350","1396263354","1396263358","1396263363","1396263366","1396263368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/92da1fc69db6bb2a6cbc3c20e784f5c2.jpg","text":"TemporaryFile(/tmp/multipartBody5961176057997935045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170423273,"filename":"image_26112025_11_21_15_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/26/341e7e5df01abb2d6b25fbaad3994d90.jpg","text":"TemporaryFile(/tmp/multipartBody1719584749658045431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170423273,"filename":"image_26112025_11_21_30_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/26/ebd59ef330b4b39655032bb5eef72abf.jpg","text":"TemporaryFile(/tmp/multipartBody6556549935567498652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170423273,"filename":"image_26112025_11_21_22_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/26/1fa7dc2d651fb3703c9901aff91589b3.jpg","text":"TemporaryFile(/tmp/multipartBody6471167883741053066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170423273,"filename":"image_26112025_11_21_27_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/26/5384dcd272a17efa2dc6b7c106cfce3e.jpg","text":"TemporaryFile(/tmp/multipartBody2742237775040582966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170423273,"filename":"image_26112025_11_21_19_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/26/dba7dd68c6eb0f4848475bc07fe0bac1.jpg","text":"TemporaryFile(/tmp/multipartBody8799916921957220044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170423273,"filename":"image_26112025_11_21_24_2809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396263358","file1":"1396263354","file0":"1396263350","file4":"1396263366","file5":"1396263368","file3":"1396263363"},"map_files_photo_id_array":[{"photo_id":"1396263368","filename":"file5"},{"photo_id":"1396263358","filename":"file2"},{"photo_id":"1396263366","filename":"file4"},{"photo_id":"1396263354","filename":"file1"},{"photo_id":"1396263350","filename":"file0"},{"photo_id":"1396263363","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396263350":["hashtag1","hashtag2"]},{"1396263368":["hashtag1","hashtag2"]},{"1396263358":["hashtag1","hashtag2"]},{"1396263366":["hashtag1","hashtag2"]},{"1396263354":["hashtag1","hashtag2"]},{"1396263363":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396263350, 1396263368, 1396263358, 1396263366, 1396263354, 1396263363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52000951766968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:20:03.063840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_37_2738.jpg', '/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_40_3795.jpg', '/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_42_1739.jpg', '/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_46_3891.jpg', '/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_49_2682.jpg', '/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_51_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_37_2738.jpg
/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_40_3795.jpg
/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_42_1739.jpg
/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_46_3891.jpg
/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_49_2682.jpg
/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_51_2702.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":["1396263377","1396263385","1396263370","1396263372","1396263381","1396263375"],"photo_ids_order":["1396263370","1396263372","1396263375","1396263377","1396263381","1396263385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6b5f370af30c2e050e274467e7eda85d.jpg","text":"TemporaryFile(/tmp/multipartBody6879194442076971133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170463950,"filename":"image_26112025_11_21_46_3891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6d6ee877e58efd27cf333daac6072dc0.jpg","text":"TemporaryFile(/tmp/multipartBody8751544354912255919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170463950,"filename":"image_26112025_11_21_51_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/26/624ae51323036182e75802742521268a.jpg","text":"TemporaryFile(/tmp/multipartBody4360456544930971934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170463950,"filename":"image_26112025_11_21_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/26/f0c8d856ba14dd9c56adf4950508a68b.jpg","text":"TemporaryFile(/tmp/multipartBody695971348830413127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170463950,"filename":"image_26112025_11_21_40_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/26/3c8360021f65c34bcd8538a2a5297ed0.jpg","text":"TemporaryFile(/tmp/multipartBody9032811967470640761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170463950,"filename":"image_26112025_11_21_49_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/26/b473cfb033c11a721a4878390d8f0905.jpg","text":"TemporaryFile(/tmp/multipartBody548379747842402982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170463950,"filename":"image_26112025_11_21_42_1739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396263375","file1":"1396263372","file0":"1396263370","file4":"1396263381","file5":"1396263385","file3":"1396263377"},"map_files_photo_id_array":[{"photo_id":"1396263385","filename":"file5"},{"photo_id":"1396263375","filename":"file2"},{"photo_id":"1396263381","filename":"file4"},{"photo_id":"1396263372","filename":"file1"},{"photo_id":"1396263370","filename":"file0"},{"photo_id":"1396263377","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396263377":["hashtag1","hashtag2"]},{"1396263385":["hashtag1","hashtag2"]},{"1396263370":["hashtag1","hashtag2"]},{"1396263372":["hashtag1","hashtag2"]},{"1396263381":["hashtag1","hashtag2"]},{"1396263375":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396263377, 1396263385, 1396263370, 1396263372, 1396263381, 1396263375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97027111053467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 16:20:42.553895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_54_2638.jpg', '/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_58_3737.jpg', '/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_07_3011.jpg', '/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_11_3792.jpg', '/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_13_2663.jpg', '/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_16_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_54_2638.jpg
/home/pi/Desktop/images/26112025/11/21/image_26112025_11_21_58_3737.jpg
/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_07_3011.jpg
/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_11_3792.jpg
/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_13_2663.jpg
/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_16_2677.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":["1396263398","1396263431","1396263469","1396263397","1396263396","1396263393"],"photo_ids_order":["1396263393","1396263396","1396263397","1396263398","1396263431","1396263469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ffa01b2d97ca3fd19ac26cde384afacb.jpg","text":"TemporaryFile(/tmp/multipartBody6409122283222265752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170503361,"filename":"image_26112025_11_24_11_3792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1dc987f71674b37511fb22712d0aa1f6.jpg","text":"TemporaryFile(/tmp/multipartBody974213701920858191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170503361,"filename":"image_26112025_11_24_13_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/26/72efc714bbc10c71807f84043b06e681.jpg","text":"TemporaryFile(/tmp/multipartBody7065983272097081658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170503361,"filename":"image_26112025_11_24_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/26/cf800f46b61724718fe8f38fce6ce166.jpg","text":"TemporaryFile(/tmp/multipartBody9021228202567774198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170503361,"filename":"image_26112025_11_24_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/26/45bb0f97d755260d352e8018d793a6bd.jpg","text":"TemporaryFile(/tmp/multipartBody8614741851666278929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170503361,"filename":"image_26112025_11_21_58_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/26/e7d4954070d1aef9ac9c900741f32186.jpg","text":"TemporaryFile(/tmp/multipartBody3345694554345815775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170503361,"filename":"image_26112025_11_21_54_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396263397","file1":"1396263396","file0":"1396263393","file4":"1396263431","file5":"1396263469","file3":"1396263398"},"map_files_photo_id_array":[{"photo_id":"1396263469","filename":"file5"},{"photo_id":"1396263397","filename":"file2"},{"photo_id":"1396263431","filename":"file4"},{"photo_id":"1396263396","filename":"file1"},{"photo_id":"1396263393","filename":"file0"},{"photo_id":"1396263398","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396263398":["hashtag1","hashtag2"]},{"1396263431":["hashtag1","hashtag2"]},{"1396263469":["hashtag1","hashtag2"]},{"1396263397":["hashtag1","hashtag2"]},{"1396263396":["hashtag1","hashtag2"]},{"1396263393":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396263398, 1396263431, 1396263469, 1396263397, 1396263396, 1396263393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.125876665115356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 16:21:22.790097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_20_3781.jpg', '/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_23_2677.jpg', '/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_25_2868.jpg', '/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_28_2752.jpg', '/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_32_3707.jpg', '/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_34_2535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_20_3781.jpg
/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_23_2677.jpg
/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_25_2868.jpg
/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_28_2752.jpg
/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_32_3707.jpg
/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_34_2535.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":["1396263626","1396263676","1396263772","1396263864","1396263723","1396263810"],"photo_ids_order":["1396263626","1396263676","1396263723","1396263772","1396263810","1396263864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1c604f55417f788b2332e7b464f7adcb.jpg","text":"TemporaryFile(/tmp/multipartBody6532162166689111262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170543664,"filename":"image_26112025_11_24_20_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/26/33d24379482eaac84eccde882ebc1a66.jpg","text":"TemporaryFile(/tmp/multipartBody2456782336187820909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170543664,"filename":"image_26112025_11_24_23_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/26/2d8b4bb68d8476e1a48b81597c0050e8.jpg","text":"TemporaryFile(/tmp/multipartBody4422699809938965623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170543664,"filename":"image_26112025_11_24_28_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/26/4fca32443fb0917c65135fbd968c825e.jpg","text":"TemporaryFile(/tmp/multipartBody4411705753854477553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170543664,"filename":"image_26112025_11_24_34_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/26/cb3e7533a4c15f69f539f583c264180e.jpg","text":"TemporaryFile(/tmp/multipartBody7773639386175625753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170543664,"filename":"image_26112025_11_24_25_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/26/6c3c544adf84b9c3cb15cc925b835904.jpg","text":"TemporaryFile(/tmp/multipartBody6613567905860113016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170543664,"filename":"image_26112025_11_24_32_3707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396263723","file1":"1396263676","file0":"1396263626","file4":"1396263810","file5":"1396263864","file3":"1396263772"},"map_files_photo_id_array":[{"photo_id":"1396263864","filename":"file5"},{"photo_id":"1396263723","filename":"file2"},{"photo_id":"1396263810","filename":"file4"},{"photo_id":"1396263676","filename":"file1"},{"photo_id":"1396263626","filename":"file0"},{"photo_id":"1396263772","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396263626":["hashtag1","hashtag2"]},{"1396263676":["hashtag1","hashtag2"]},{"1396263772":["hashtag1","hashtag2"]},{"1396263864":["hashtag1","hashtag2"]},{"1396263723":["hashtag1","hashtag2"]},{"1396263810":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396263626, 1396263676, 1396263772, 1396263864, 1396263723, 1396263810)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.50846529006958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 16:22:12.085178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_37_2675.jpg', '/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_40_2816.jpg', '/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_44_4026.jpg', '/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_47_2896.jpg', '/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_50_2781.jpg', '/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_53_2867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_37_2675.jpg
/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_40_2816.jpg
/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_44_4026.jpg
/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_47_2896.jpg
/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_50_2781.jpg
/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_53_2867.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":["1396263953","1396264009","1396263949","1396263969","1396263957","1396263945"],"photo_ids_order":["1396263945","1396263949","1396263953","1396263957","1396263969","1396264009"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ff637b20e1a3348d0b3efb128c74eb57.jpg","text":"TemporaryFile(/tmp/multipartBody3011360733777458492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170592893,"filename":"image_26112025_11_24_44_4026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/26406f65801f78a6d44e565c84b84329.jpg","text":"TemporaryFile(/tmp/multipartBody3060378874243193873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170592893,"filename":"image_26112025_11_24_53_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/26/085c1ac435eb31bfec81f619cdbc05d2.jpg","text":"TemporaryFile(/tmp/multipartBody6301387133338519496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170592893,"filename":"image_26112025_11_24_40_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/26/8d481e970566a98e3f0cf78001c2c836.jpg","text":"TemporaryFile(/tmp/multipartBody7105295788507042604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170592893,"filename":"image_26112025_11_24_50_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/26/9cde9983846e106d0f73434270069a63.jpg","text":"TemporaryFile(/tmp/multipartBody9039388118950762207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170592893,"filename":"image_26112025_11_24_47_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/26/aa0fd4a700490fbf79346362509ad401.jpg","text":"TemporaryFile(/tmp/multipartBody5303959335869900455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170592893,"filename":"image_26112025_11_24_37_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396263953","file1":"1396263949","file0":"1396263945","file4":"1396263969","file5":"1396264009","file3":"1396263957"},"map_files_photo_id_array":[{"photo_id":"1396264009","filename":"file5"},{"photo_id":"1396263953","filename":"file2"},{"photo_id":"1396263969","filename":"file4"},{"photo_id":"1396263949","filename":"file1"},{"photo_id":"1396263945","filename":"file0"},{"photo_id":"1396263957","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396263953":["hashtag1","hashtag2"]},{"1396264009":["hashtag1","hashtag2"]},{"1396263949":["hashtag1","hashtag2"]},{"1396263969":["hashtag1","hashtag2"]},{"1396263957":["hashtag1","hashtag2"]},{"1396263945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396263953, 1396264009, 1396263949, 1396263969, 1396263957, 1396263945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27348709106445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:23:03.030667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_55_2731.jpg', '/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_58_2942.jpg', '/home/pi/Desktop/images/26112025/11/26/image_26112025_11_26_07_3011.jpg', '/home/pi/Desktop/images/26112025/11/26/image_26112025_11_26_11_3666.jpg', '/home/pi/Desktop/images/26112025/11/26/image_26112025_11_26_13_2700.jpg', '/home/pi/Desktop/images/26112025/11/26/image_26112025_11_26_16_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_55_2731.jpg
/home/pi/Desktop/images/26112025/11/24/image_26112025_11_24_58_2942.jpg
/home/pi/Desktop/images/26112025/11/26/image_26112025_11_26_07_3011.jpg
/home/pi/Desktop/images/26112025/11/26/image_26112025_11_26_11_3666.jpg
/home/pi/Desktop/images/26112025/11/26/image_26112025_11_26_13_2700.jpg
/home/pi/Desktop/images/26112025/11/26/image_26112025_11_26_16_2700.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":["1396264252","1396264150","1396264161","1396264218","1396264199","1396264322"],"photo_ids_order":["1396264150","1396264161","1396264199","1396264218","1396264252","1396264322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d585ec922c70d14bd4d2e5608dfedd94.jpg","text":"TemporaryFile(/tmp/multipartBody421163854847868385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170643921,"filename":"image_26112025_11_26_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/26/4d4f48b30b4a6bc26be8501431e441a2.jpg","text":"TemporaryFile(/tmp/multipartBody7439440062618885530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170643921,"filename":"image_26112025_11_24_55_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/26/6b71f216682a3ac7779c29c18a0b415e.jpg","text":"TemporaryFile(/tmp/multipartBody8221169942775838694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170643921,"filename":"image_26112025_11_24_58_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/26/5410e0d5c8a25c131d2fb853ed41cdef.jpg","text":"TemporaryFile(/tmp/multipartBody8876647848630406492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170643921,"filename":"image_26112025_11_26_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/26/bf7e9dcbdf546b1c60b27609669d4b1d.jpg","text":"TemporaryFile(/tmp/multipartBody6326996316137524712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170643921,"filename":"image_26112025_11_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/26/0f452dc08737053f9a65b1efcd2f5091.jpg","text":"TemporaryFile(/tmp/multipartBody934167786614868579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170643921,"filename":"image_26112025_11_26_16_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396264199","file1":"1396264161","file0":"1396264150","file4":"1396264252","file5":"1396264322","file3":"1396264218"},"map_files_photo_id_array":[{"photo_id":"1396264322","filename":"file5"},{"photo_id":"1396264199","filename":"file2"},{"photo_id":"1396264252","filename":"file4"},{"photo_id":"1396264161","filename":"file1"},{"photo_id":"1396264150","filename":"file0"},{"photo_id":"1396264218","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396264252":["hashtag1","hashtag2"]},{"1396264150":["hashtag1","hashtag2"]},{"1396264161":["hashtag1","hashtag2"]},{"1396264218":["hashtag1","hashtag2"]},{"1396264199":["hashtag1","hashtag2"]},{"1396264322":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396264252, 1396264150, 1396264161, 1396264218, 1396264199, 1396264322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.649492263793945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 16:23:42.284113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/26/image_26112025_11_26_20_3581.jpg', '/home/pi/Desktop/images/26112025/11/26/image_26112025_11_26_22_2757.jpg', '/home/pi/Desktop/images/26112025/11/26/image_26112025_11_26_25_2859.jpg', '/home/pi/Desktop/images/26112025/11/26/image_26112025_11_26_29_3673.jpg', '/home/pi/Desktop/images/26112025/11/26/image_26112025_11_26_31_2664.jpg', '/home/pi/Desktop/images/26112025/11/26/image_26112025_11_26_34_2761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/26/image_26112025_11_26_20_3581.jpg
/home/pi/Desktop/images/26112025/11/26/image_26112025_11_26_22_2757.jpg
/home/pi/Desktop/images/26112025/11/26/image_26112025_11_26_25_2859.jpg
/home/pi/Desktop/images/26112025/11/26/image_26112025_11_26_29_3673.jpg
/home/pi/Desktop/images/26112025/11/26/image_26112025_11_26_31_2664.jpg
/home/pi/Desktop/images/26112025/11/26/image_26112025_11_26_34_2761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396264579","1396264461","1396264536","1396264583","1396264499","1396264574"],"photo_ids_order":["1396264461","1396264499","1396264536","1396264574","1396264579","1396264583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/48be5668f06eeb71ed72604eee75d7bf.jpg","text":"TemporaryFile(/tmp/multipartBody152603080635413623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170683094,"filename":"image_26112025_11_26_31_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/26/68db5f461481f3e9c0fc94203345e5cc.jpg","text":"TemporaryFile(/tmp/multipartBody88547291558295920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170683094,"filename":"image_26112025_11_26_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/26/877850b7ff7d75da88874868ad395f10.jpg","text":"TemporaryFile(/tmp/multipartBody1314377910240301534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170683094,"filename":"image_26112025_11_26_25_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/26/5b2f73988ceb79694f0a5c6f3fa45109.jpg","text":"TemporaryFile(/tmp/multipartBody7931696924917344590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170683094,"filename":"image_26112025_11_26_34_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/26/d83c8ee6d8ce3ba972e81d5d4bee16f7.jpg","text":"TemporaryFile(/tmp/multipartBody4794328253666454834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170683094,"filename":"image_26112025_11_26_22_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/26/7a1534d091645e7a9a08ec803a412cc5.jpg","text":"TemporaryFile(/tmp/multipartBody4066926197002024314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170683094,"filename":"image_26112025_11_26_29_3673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396264536","file1":"1396264499","file0":"1396264461","file4":"1396264579","file5":"1396264583","file3":"1396264574"},"map_files_photo_id_array":[{"photo_id":"1396264583","filename":"file5"},{"photo_id":"1396264536","filename":"file2"},{"photo_id":"1396264579","filename":"file4"},{"photo_id":"1396264499","filename":"file1"},{"photo_id":"1396264461","filename":"file0"},{"photo_id":"1396264574","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396264579":["hashtag1","hashtag2"]},{"1396264461":["hashtag1","hashtag2"]},{"1396264536":["hashtag1","hashtag2"]},{"1396264583":["hashtag1","hashtag2"]},{"1396264499":["hashtag1","hashtag2"]},{"1396264574":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396264579, 1396264461, 1396264536, 1396264583, 1396264499, 1396264574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.908546686172485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 16:24:22.499596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/26/image_26112025_11_26_37_2820.jpg', '/home/pi/Desktop/images/26112025/11/26/image_26112025_11_26_40_2790.jpg', '/home/pi/Desktop/images/26112025/11/26/image_26112025_11_26_44_3727.jpg', '/home/pi/Desktop/images/26112025/11/28/image_26112025_11_28_07_3011.jpg', '/home/pi/Desktop/images/26112025/11/28/image_26112025_11_28_10_3606.jpg', '/home/pi/Desktop/images/26112025/11/28/image_26112025_11_28_13_2809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/26/image_26112025_11_26_37_2820.jpg
/home/pi/Desktop/images/26112025/11/26/image_26112025_11_26_40_2790.jpg
/home/pi/Desktop/images/26112025/11/26/image_26112025_11_26_44_3727.jpg
/home/pi/Desktop/images/26112025/11/28/image_26112025_11_28_07_3011.jpg
/home/pi/Desktop/images/26112025/11/28/image_26112025_11_28_10_3606.jpg
/home/pi/Desktop/images/26112025/11/28/image_26112025_11_28_13_2809.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":["1396264622","1396264607","1396264642","1396264639","1396264636","1396264629"],"photo_ids_order":["1396264607","1396264622","1396264629","1396264636","1396264639","1396264642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c1f9f7300b78272532b96036592e107f.jpg","text":"TemporaryFile(/tmp/multipartBody885093869082937640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170723313,"filename":"image_26112025_11_26_40_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/26/85ded11df1632a00159cc67d61282b53.jpg","text":"TemporaryFile(/tmp/multipartBody5089727689039186976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170723313,"filename":"image_26112025_11_26_37_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/26/8adbb36baa6591d1defeaafa76c04dc2.jpg","text":"TemporaryFile(/tmp/multipartBody4082051571849610413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170723313,"filename":"image_26112025_11_28_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/26/7733c39b03c6a34e89db8f59a55f0cf4.jpg","text":"TemporaryFile(/tmp/multipartBody6729241623179291623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170723313,"filename":"image_26112025_11_28_10_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/26/abbde34cc136779826e0dbba8ff4c747.jpg","text":"TemporaryFile(/tmp/multipartBody1042352093406739157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170723313,"filename":"image_26112025_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/26/f2df84740414e314fc3e4aad9f932629.jpg","text":"TemporaryFile(/tmp/multipartBody66416237541842887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170723313,"filename":"image_26112025_11_26_44_3727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396264629","file1":"1396264622","file0":"1396264607","file4":"1396264639","file5":"1396264642","file3":"1396264636"},"map_files_photo_id_array":[{"photo_id":"1396264642","filename":"file5"},{"photo_id":"1396264629","filename":"file2"},{"photo_id":"1396264639","filename":"file4"},{"photo_id":"1396264622","filename":"file1"},{"photo_id":"1396264607","filename":"file0"},{"photo_id":"1396264636","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396264622":["hashtag1","hashtag2"]},{"1396264607":["hashtag1","hashtag2"]},{"1396264642":["hashtag1","hashtag2"]},{"1396264639":["hashtag1","hashtag2"]},{"1396264636":["hashtag1","hashtag2"]},{"1396264629":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396264622, 1396264607, 1396264642, 1396264639, 1396264636, 1396264629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.386680364608765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:25:03.381779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/28/image_26112025_11_28_16_2685.jpg', '/home/pi/Desktop/images/26112025/11/28/image_26112025_11_28_19_3708.jpg', '/home/pi/Desktop/images/26112025/11/28/image_26112025_11_28_22_2880.jpg', '/home/pi/Desktop/images/26112025/11/28/image_26112025_11_28_25_2631.jpg', '/home/pi/Desktop/images/26112025/11/28/image_26112025_11_28_28_2721.jpg', '/home/pi/Desktop/images/26112025/11/28/image_26112025_11_28_31_3636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/28/image_26112025_11_28_16_2685.jpg
/home/pi/Desktop/images/26112025/11/28/image_26112025_11_28_19_3708.jpg
/home/pi/Desktop/images/26112025/11/28/image_26112025_11_28_22_2880.jpg
/home/pi/Desktop/images/26112025/11/28/image_26112025_11_28_25_2631.jpg
/home/pi/Desktop/images/26112025/11/28/image_26112025_11_28_28_2721.jpg
/home/pi/Desktop/images/26112025/11/28/image_26112025_11_28_31_3636.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":["1396264721","1396264660","1396264653","1396264682","1396264658","1396264769"],"photo_ids_order":["1396264653","1396264658","1396264660","1396264682","1396264721","1396264769"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/089261beb75a41f51500591352f05b89.jpg","text":"TemporaryFile(/tmp/multipartBody4538542647459300503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170764268,"filename":"image_26112025_11_28_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/26/973247e479bcd644405aa60d7671c131.jpg","text":"TemporaryFile(/tmp/multipartBody6967971431845184820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170764268,"filename":"image_26112025_11_28_22_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/26/340de700980012050ab56bf003813f55.jpg","text":"TemporaryFile(/tmp/multipartBody5846776307084665199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170764268,"filename":"image_26112025_11_28_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/26/d0376a181ba5b2011a27c4f7197ca495.jpg","text":"TemporaryFile(/tmp/multipartBody4194836158844900086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170764268,"filename":"image_26112025_11_28_25_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ab0b5c07e6e6ef28b4aa37c434b7e6a7.jpg","text":"TemporaryFile(/tmp/multipartBody8400080039153439106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170764268,"filename":"image_26112025_11_28_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/26/d2a02b833d51bbd9f4eb0e9a6443cc13.jpg","text":"TemporaryFile(/tmp/multipartBody4057591629480335330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170764268,"filename":"image_26112025_11_28_31_3636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396264660","file1":"1396264658","file0":"1396264653","file4":"1396264721","file5":"1396264769","file3":"1396264682"},"map_files_photo_id_array":[{"photo_id":"1396264769","filename":"file5"},{"photo_id":"1396264660","filename":"file2"},{"photo_id":"1396264721","filename":"file4"},{"photo_id":"1396264658","filename":"file1"},{"photo_id":"1396264653","filename":"file0"},{"photo_id":"1396264682","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396264721":["hashtag1","hashtag2"]},{"1396264660":["hashtag1","hashtag2"]},{"1396264653":["hashtag1","hashtag2"]},{"1396264682":["hashtag1","hashtag2"]},{"1396264658":["hashtag1","hashtag2"]},{"1396264769":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396264721, 1396264660, 1396264653, 1396264682, 1396264658, 1396264769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89806795120239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 16:25:42.545114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/28/image_26112025_11_28_34_2632.jpg', '/home/pi/Desktop/images/26112025/11/28/image_26112025_11_28_38_4054.jpg', '/home/pi/Desktop/images/26112025/11/30/image_26112025_11_30_07_3011.jpg', '/home/pi/Desktop/images/26112025/11/30/image_26112025_11_30_11_3830.jpg', '/home/pi/Desktop/images/26112025/11/30/image_26112025_11_30_14_2801.jpg', '/home/pi/Desktop/images/26112025/11/30/image_26112025_11_30_16_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/28/image_26112025_11_28_34_2632.jpg
/home/pi/Desktop/images/26112025/11/28/image_26112025_11_28_38_4054.jpg
/home/pi/Desktop/images/26112025/11/30/image_26112025_11_30_07_3011.jpg
/home/pi/Desktop/images/26112025/11/30/image_26112025_11_30_11_3830.jpg
/home/pi/Desktop/images/26112025/11/30/image_26112025_11_30_14_2801.jpg
/home/pi/Desktop/images/26112025/11/30/image_26112025_11_30_16_2657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396264891","1396264858","1396264893","1396264892","1396264850","1396264844"],"photo_ids_order":["1396264844","1396264850","1396264858","1396264891","1396264892","1396264893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d1eece972c6d875b0dac4d97fc36d4e1.jpg","text":"TemporaryFile(/tmp/multipartBody4747152525022174841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170803315,"filename":"image_26112025_11_30_11_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/26/02a8b9b31dfd2d2507397978f10ec5ee.jpg","text":"TemporaryFile(/tmp/multipartBody5924108307637655314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170803315,"filename":"image_26112025_11_30_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f32622cf29b3f1ba47087cb7e657d3d2.jpg","text":"TemporaryFile(/tmp/multipartBody6025092107059718886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170803315,"filename":"image_26112025_11_30_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/26/3e97724d73b1665dda527d7584d86954.jpg","text":"TemporaryFile(/tmp/multipartBody4283700741434677477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170803315,"filename":"image_26112025_11_30_14_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/26/90862e69086c77e829c87a2388cabb2d.jpg","text":"TemporaryFile(/tmp/multipartBody125562341352884159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170803315,"filename":"image_26112025_11_28_38_4054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4dbcc956a7d7cd61700f41ecbca6ef7c.jpg","text":"TemporaryFile(/tmp/multipartBody7181123408933803348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170803315,"filename":"image_26112025_11_28_34_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396264858","file1":"1396264850","file0":"1396264844","file4":"1396264892","file5":"1396264893","file3":"1396264891"},"map_files_photo_id_array":[{"photo_id":"1396264893","filename":"file5"},{"photo_id":"1396264858","filename":"file2"},{"photo_id":"1396264892","filename":"file4"},{"photo_id":"1396264850","filename":"file1"},{"photo_id":"1396264844","filename":"file0"},{"photo_id":"1396264891","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396264891":["hashtag1","hashtag2"]},{"1396264858":["hashtag1","hashtag2"]},{"1396264893":["hashtag1","hashtag2"]},{"1396264892":["hashtag1","hashtag2"]},{"1396264850":["hashtag1","hashtag2"]},{"1396264844":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396264891, 1396264858, 1396264893, 1396264892, 1396264850, 1396264844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20561599731445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 16:26:22.822674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/30/image_26112025_11_30_21_4620.jpg', '/home/pi/Desktop/images/26112025/11/30/image_26112025_11_30_23_1682.jpg', '/home/pi/Desktop/images/26112025/11/30/image_26112025_11_30_26_2755.jpg', '/home/pi/Desktop/images/26112025/11/30/image_26112025_11_30_28_2787.jpg', '/home/pi/Desktop/images/26112025/11/30/image_26112025_11_30_32_3667.jpg', '/home/pi/Desktop/images/26112025/11/30/image_26112025_11_30_35_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/30/image_26112025_11_30_21_4620.jpg
/home/pi/Desktop/images/26112025/11/30/image_26112025_11_30_23_1682.jpg
/home/pi/Desktop/images/26112025/11/30/image_26112025_11_30_26_2755.jpg
/home/pi/Desktop/images/26112025/11/30/image_26112025_11_30_28_2787.jpg
/home/pi/Desktop/images/26112025/11/30/image_26112025_11_30_32_3667.jpg
/home/pi/Desktop/images/26112025/11/30/image_26112025_11_30_35_2648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396264933","1396264942","1396264944","1396264935","1396264938","1396264982"],"photo_ids_order":["1396264933","1396264935","1396264938","1396264942","1396264944","1396264982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/87858b9dd1f68a437cf2c8d5bbc7d0b2.jpg","text":"TemporaryFile(/tmp/multipartBody6102672445684257679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170843687,"filename":"image_26112025_11_30_21_4620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fcda6b124c690a7392b00fc00ef7a972.jpg","text":"TemporaryFile(/tmp/multipartBody2905472945101812475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170843687,"filename":"image_26112025_11_30_28_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/26/5ab1319204920b456e44a4665affef71.jpg","text":"TemporaryFile(/tmp/multipartBody5176638899163068737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170843687,"filename":"image_26112025_11_30_32_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/26/b945c74e22d5cc19dc05b0d07518686c.jpg","text":"TemporaryFile(/tmp/multipartBody5040042592235825979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170843687,"filename":"image_26112025_11_30_23_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/26/fa40b1af0eaa2343ead7ea70218add15.jpg","text":"TemporaryFile(/tmp/multipartBody2024970817588765679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170843687,"filename":"image_26112025_11_30_26_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/26/44fa61b1e3511172ea4f6ac7e9cfa7d9.jpg","text":"TemporaryFile(/tmp/multipartBody242387096782170986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170843687,"filename":"image_26112025_11_30_35_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396264938","file1":"1396264935","file0":"1396264933","file4":"1396264944","file5":"1396264982","file3":"1396264942"},"map_files_photo_id_array":[{"photo_id":"1396264982","filename":"file5"},{"photo_id":"1396264938","filename":"file2"},{"photo_id":"1396264944","filename":"file4"},{"photo_id":"1396264935","filename":"file1"},{"photo_id":"1396264933","filename":"file0"},{"photo_id":"1396264942","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396264933":["hashtag1","hashtag2"]},{"1396264942":["hashtag1","hashtag2"]},{"1396264944":["hashtag1","hashtag2"]},{"1396264935":["hashtag1","hashtag2"]},{"1396264938":["hashtag1","hashtag2"]},{"1396264982":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396264933, 1396264942, 1396264944, 1396264935, 1396264938, 1396264982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68595623970032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:27:02.773473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/30/image_26112025_11_30_37_2779.jpg', '/home/pi/Desktop/images/26112025/11/30/image_26112025_11_30_41_3599.jpg', '/home/pi/Desktop/images/26112025/11/32/image_26112025_11_32_07_3020.jpg', '/home/pi/Desktop/images/26112025/11/32/image_26112025_11_32_11_3756.jpg', '/home/pi/Desktop/images/26112025/11/32/image_26112025_11_32_14_3554.jpg', '/home/pi/Desktop/images/26112025/11/32/image_26112025_11_32_16_1756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/30/image_26112025_11_30_37_2779.jpg
/home/pi/Desktop/images/26112025/11/30/image_26112025_11_30_41_3599.jpg
/home/pi/Desktop/images/26112025/11/32/image_26112025_11_32_07_3020.jpg
/home/pi/Desktop/images/26112025/11/32/image_26112025_11_32_11_3756.jpg
/home/pi/Desktop/images/26112025/11/32/image_26112025_11_32_14_3554.jpg
/home/pi/Desktop/images/26112025/11/32/image_26112025_11_32_16_1756.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":["1396265044","1396265046","1396265040","1396265054","1396265051","1396265048"],"photo_ids_order":["1396265040","1396265044","1396265046","1396265048","1396265051","1396265054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c8f6312b0c7be73566848fa7f2035874.jpg","text":"TemporaryFile(/tmp/multipartBody8981422193378645136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170883684,"filename":"image_26112025_11_30_41_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/26/47353cad5c47aba2c338a91042d45c75.jpg","text":"TemporaryFile(/tmp/multipartBody6440715968372649918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170883684,"filename":"image_26112025_11_32_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/26/1761ffad6a04041b992e54e86dc845ab.jpg","text":"TemporaryFile(/tmp/multipartBody8341441987203728280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170883684,"filename":"image_26112025_11_30_37_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/26/b0c0ece2afd1b9f3e9c25e61a7a21369.jpg","text":"TemporaryFile(/tmp/multipartBody8609145913566944774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170883684,"filename":"image_26112025_11_32_16_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/26/9a95b7e6dead2d8b80a8fa32460b6bee.jpg","text":"TemporaryFile(/tmp/multipartBody1267419379937631365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170883684,"filename":"image_26112025_11_32_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/26/35166adf4cfc40ad9af2f4f48a061073.jpg","text":"TemporaryFile(/tmp/multipartBody7257831740264040322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170883684,"filename":"image_26112025_11_32_11_3756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396265046","file1":"1396265044","file0":"1396265040","file4":"1396265051","file5":"1396265054","file3":"1396265048"},"map_files_photo_id_array":[{"photo_id":"1396265054","filename":"file5"},{"photo_id":"1396265046","filename":"file2"},{"photo_id":"1396265051","filename":"file4"},{"photo_id":"1396265044","filename":"file1"},{"photo_id":"1396265040","filename":"file0"},{"photo_id":"1396265048","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396265044":["hashtag1","hashtag2"]},{"1396265046":["hashtag1","hashtag2"]},{"1396265040":["hashtag1","hashtag2"]},{"1396265054":["hashtag1","hashtag2"]},{"1396265051":["hashtag1","hashtag2"]},{"1396265048":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396265044, 1396265046, 1396265040, 1396265054, 1396265051, 1396265048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49060845375061 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 16:27:41.967801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/32/image_26112025_11_32_20_3723.jpg', '/home/pi/Desktop/images/26112025/11/32/image_26112025_11_32_23_2815.jpg', '/home/pi/Desktop/images/26112025/11/32/image_26112025_11_32_25_2832.jpg', '/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_07_3011.jpg', '/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_11_3724.jpg', '/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_14_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/32/image_26112025_11_32_20_3723.jpg
/home/pi/Desktop/images/26112025/11/32/image_26112025_11_32_23_2815.jpg
/home/pi/Desktop/images/26112025/11/32/image_26112025_11_32_25_2832.jpg
/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_07_3011.jpg
/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_11_3724.jpg
/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_14_2698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396265065","1396265068","1396265062","1396265064","1396265067","1396265066"],"photo_ids_order":["1396265062","1396265064","1396265065","1396265066","1396265067","1396265068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/253a0f2ec312e4bb6dda348bd58cc183.jpg","text":"TemporaryFile(/tmp/multipartBody4007303438812651556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170922773,"filename":"image_26112025_11_32_25_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/26/f1ccaeb1e2793c215026569644186515.jpg","text":"TemporaryFile(/tmp/multipartBody5640724634663659180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170922773,"filename":"image_26112025_11_34_14_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/26/e69900f53a0ce1c31ddeb955c1e1b446.jpg","text":"TemporaryFile(/tmp/multipartBody7885016999688537074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170922773,"filename":"image_26112025_11_32_20_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/26/eca587b89fc6e25b0a821f1963710731.jpg","text":"TemporaryFile(/tmp/multipartBody5862365221182865138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170922773,"filename":"image_26112025_11_32_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/26/6bab8c6f3c9a21e65484d0727920d903.jpg","text":"TemporaryFile(/tmp/multipartBody8663461908134790862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170922773,"filename":"image_26112025_11_34_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/26/354213df1cfaae83bf57716c5a56d160.jpg","text":"TemporaryFile(/tmp/multipartBody8024169370414227350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170922773,"filename":"image_26112025_11_34_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396265065","file1":"1396265064","file0":"1396265062","file4":"1396265067","file5":"1396265068","file3":"1396265066"},"map_files_photo_id_array":[{"photo_id":"1396265068","filename":"file5"},{"photo_id":"1396265065","filename":"file2"},{"photo_id":"1396265067","filename":"file4"},{"photo_id":"1396265064","filename":"file1"},{"photo_id":"1396265062","filename":"file0"},{"photo_id":"1396265066","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396265065":["hashtag1","hashtag2"]},{"1396265068":["hashtag1","hashtag2"]},{"1396265062":["hashtag1","hashtag2"]},{"1396265064":["hashtag1","hashtag2"]},{"1396265067":["hashtag1","hashtag2"]},{"1396265066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396265065, 1396265068, 1396265062, 1396265064, 1396265067, 1396265066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73549771308899 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 16:28:22.112494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_16_2568.jpg', '/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_20_3793.jpg', '/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_23_2808.jpg', '/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_26_2643.jpg', '/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_29_3712.jpg', '/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_32_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_16_2568.jpg
/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_20_3793.jpg
/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_23_2808.jpg
/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_26_2643.jpg
/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_29_3712.jpg
/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_32_2622.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":["1396265092","1396265089","1396265087","1396265075","1396265083","1396265077"],"photo_ids_order":["1396265075","1396265077","1396265083","1396265087","1396265089","1396265092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/17aa4d279611cf6004869adaed772fce.jpg","text":"TemporaryFile(/tmp/multipartBody305764890642505062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170962923,"filename":"image_26112025_11_34_32_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/604512eb86535d0ad5f04b525e43353e.jpg","text":"TemporaryFile(/tmp/multipartBody3765153341147734786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170962923,"filename":"image_26112025_11_34_29_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b1238e2601259e0934b545446ee40f16.jpg","text":"TemporaryFile(/tmp/multipartBody7190532398498761242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170962923,"filename":"image_26112025_11_34_26_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/26/bdbf2c5ad3b16b940124e3bba26ee008.jpg","text":"TemporaryFile(/tmp/multipartBody5760315547143487840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170962923,"filename":"image_26112025_11_34_16_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/26/dfc4fa276a6a0445886807449187abde.jpg","text":"TemporaryFile(/tmp/multipartBody704457372004602597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170962923,"filename":"image_26112025_11_34_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/26/7a5b18c985ccfbf852ffb324c63847ca.jpg","text":"TemporaryFile(/tmp/multipartBody6229182630056414732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764170962923,"filename":"image_26112025_11_34_20_3793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396265083","file1":"1396265077","file0":"1396265075","file4":"1396265089","file5":"1396265092","file3":"1396265087"},"map_files_photo_id_array":[{"photo_id":"1396265092","filename":"file5"},{"photo_id":"1396265083","filename":"file2"},{"photo_id":"1396265089","filename":"file4"},{"photo_id":"1396265077","filename":"file1"},{"photo_id":"1396265075","filename":"file0"},{"photo_id":"1396265087","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396265092":["hashtag1","hashtag2"]},{"1396265089":["hashtag1","hashtag2"]},{"1396265087":["hashtag1","hashtag2"]},{"1396265075":["hashtag1","hashtag2"]},{"1396265083":["hashtag1","hashtag2"]},{"1396265077":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396265092, 1396265089, 1396265087, 1396265075, 1396265083, 1396265077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35015940666199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:29:03.150055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_35_2685.jpg', '/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_37_2725.jpg', '/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_47_9988.jpg', '/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_49_1717.jpg', '/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_51_1674.jpg', '/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_52_1622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_35_2685.jpg
/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_37_2725.jpg
/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_47_9988.jpg
/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_49_1717.jpg
/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_51_1674.jpg
/home/pi/Desktop/images/26112025/11/34/image_26112025_11_34_52_1622.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":["1396265107","1396265097","1396265100","1396265103","1396265111","1396265105"],"photo_ids_order":["1396265097","1396265100","1396265103","1396265105","1396265107","1396265111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8f6b75fdb8080f0e86021fd94a6b6f20.jpg","text":"TemporaryFile(/tmp/multipartBody3701476954843128790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171004041,"filename":"image_26112025_11_34_51_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/26/aec1a465f46c826192344647f8305cc7.jpg","text":"TemporaryFile(/tmp/multipartBody3420089595246689830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171004041,"filename":"image_26112025_11_34_35_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/26/47b62d5ea02301033845f6b46bc224d6.jpg","text":"TemporaryFile(/tmp/multipartBody1681930334518967941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171004041,"filename":"image_26112025_11_34_37_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/26/3ac0cdf492e89e9fe910cb1a2b791cc4.jpg","text":"TemporaryFile(/tmp/multipartBody637835236101064043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171004041,"filename":"image_26112025_11_34_47_9988.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e16f9ace79826b5179c4cbcabbec66fc.jpg","text":"TemporaryFile(/tmp/multipartBody2538085839356483482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171004041,"filename":"image_26112025_11_34_52_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/26/450d64a71274a0ed1e78b7e76aec3510.jpg","text":"TemporaryFile(/tmp/multipartBody689427271958695323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171004041,"filename":"image_26112025_11_34_49_1717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396265103","file1":"1396265100","file0":"1396265097","file4":"1396265107","file5":"1396265111","file3":"1396265105"},"map_files_photo_id_array":[{"photo_id":"1396265111","filename":"file5"},{"photo_id":"1396265103","filename":"file2"},{"photo_id":"1396265107","filename":"file4"},{"photo_id":"1396265100","filename":"file1"},{"photo_id":"1396265097","filename":"file0"},{"photo_id":"1396265105","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396265107":["hashtag1","hashtag2"]},{"1396265097":["hashtag1","hashtag2"]},{"1396265100":["hashtag1","hashtag2"]},{"1396265103":["hashtag1","hashtag2"]},{"1396265111":["hashtag1","hashtag2"]},{"1396265105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396265107, 1396265097, 1396265100, 1396265103, 1396265111, 1396265105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.859609842300415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 16:29:42.328074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/36/image_26112025_11_36_07_3018.jpg', '/home/pi/Desktop/images/26112025/11/36/image_26112025_11_36_11_3838.jpg', '/home/pi/Desktop/images/26112025/11/36/image_26112025_11_36_14_2699.jpg', '/home/pi/Desktop/images/26112025/11/36/image_26112025_11_36_16_2625.jpg', '/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_06_3011.jpg', '/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_10_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/36/image_26112025_11_36_07_3018.jpg
/home/pi/Desktop/images/26112025/11/36/image_26112025_11_36_11_3838.jpg
/home/pi/Desktop/images/26112025/11/36/image_26112025_11_36_14_2699.jpg
/home/pi/Desktop/images/26112025/11/36/image_26112025_11_36_16_2625.jpg
/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_06_3011.jpg
/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_10_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":["1396265185","1396265122","1396265121","1396265118","1396265150","1396265120"],"photo_ids_order":["1396265118","1396265120","1396265121","1396265122","1396265150","1396265185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/51e02766c0ea91320274fcce925f76be.jpg","text":"TemporaryFile(/tmp/multipartBody4129282491798102361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171043185,"filename":"image_26112025_11_38_10_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/26/89e14bc96d0aa174fe3e4f7478f2ea15.jpg","text":"TemporaryFile(/tmp/multipartBody5276192214152629103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171043185,"filename":"image_26112025_11_36_16_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/26/6468e472d8471894773e54f1bae9324a.jpg","text":"TemporaryFile(/tmp/multipartBody7752711137452800931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171043185,"filename":"image_26112025_11_36_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/26/2ea53d559c7250400eea88c7b962480b.jpg","text":"TemporaryFile(/tmp/multipartBody2092443586911666322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171043185,"filename":"image_26112025_11_36_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/26/5cabfdc8ed1430b92a82b84d1f4dbf6e.jpg","text":"TemporaryFile(/tmp/multipartBody4029720094473472500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171043185,"filename":"image_26112025_11_38_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/26/725d1e3d2c2ceb99c80dd28bdbc1c24e.jpg","text":"TemporaryFile(/tmp/multipartBody7306289335517233486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171043185,"filename":"image_26112025_11_36_11_3838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396265121","file1":"1396265120","file0":"1396265118","file4":"1396265150","file5":"1396265185","file3":"1396265122"},"map_files_photo_id_array":[{"photo_id":"1396265185","filename":"file5"},{"photo_id":"1396265121","filename":"file2"},{"photo_id":"1396265150","filename":"file4"},{"photo_id":"1396265120","filename":"file1"},{"photo_id":"1396265118","filename":"file0"},{"photo_id":"1396265122","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396265185":["hashtag1","hashtag2"]},{"1396265122":["hashtag1","hashtag2"]},{"1396265121":["hashtag1","hashtag2"]},{"1396265118":["hashtag1","hashtag2"]},{"1396265150":["hashtag1","hashtag2"]},{"1396265120":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396265185, 1396265122, 1396265121, 1396265118, 1396265150, 1396265120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50284385681152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 16:30:22.511184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_16_3609.jpg', '/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_19_2756.jpg', '/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_25_2767.jpg', '/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_28_3600.jpg', '/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_31_2866.jpg', '/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_35_3733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_16_3609.jpg
/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_19_2756.jpg
/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_25_2767.jpg
/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_28_3600.jpg
/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_31_2866.jpg
/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_35_3733.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":["1396265356","1396265440","1396265317","1396265394","1396265430","1396265441"],"photo_ids_order":["1396265317","1396265356","1396265394","1396265430","1396265440","1396265441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/96a826976b33288053da8df8afcc6b7e.jpg","text":"TemporaryFile(/tmp/multipartBody717740611710368398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171083384,"filename":"image_26112025_11_38_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/26/18736741720f14f0ef23667be890a39c.jpg","text":"TemporaryFile(/tmp/multipartBody7402043708043838603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171083384,"filename":"image_26112025_11_38_31_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/26/0a1849681359597d429aa0af5f742192.jpg","text":"TemporaryFile(/tmp/multipartBody3211470406508422567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171083384,"filename":"image_26112025_11_38_16_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/26/b0220fa145c3b2687be637579a3acc6f.jpg","text":"TemporaryFile(/tmp/multipartBody7626723477051615728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171083384,"filename":"image_26112025_11_38_25_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/26/e1186da054e605a0b4c266e919d9fbb5.jpg","text":"TemporaryFile(/tmp/multipartBody5873123578152889950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171083384,"filename":"image_26112025_11_38_28_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/26/b92538151b9fa25a2bc19f03a6cd1d02.jpg","text":"TemporaryFile(/tmp/multipartBody469570808443796407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171083384,"filename":"image_26112025_11_38_35_3733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396265394","file1":"1396265356","file0":"1396265317","file4":"1396265440","file5":"1396265441","file3":"1396265430"},"map_files_photo_id_array":[{"photo_id":"1396265441","filename":"file5"},{"photo_id":"1396265394","filename":"file2"},{"photo_id":"1396265440","filename":"file4"},{"photo_id":"1396265356","filename":"file1"},{"photo_id":"1396265317","filename":"file0"},{"photo_id":"1396265430","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396265356":["hashtag1","hashtag2"]},{"1396265440":["hashtag1","hashtag2"]},{"1396265317":["hashtag1","hashtag2"]},{"1396265394":["hashtag1","hashtag2"]},{"1396265430":["hashtag1","hashtag2"]},{"1396265441":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396265356, 1396265440, 1396265317, 1396265394, 1396265430, 1396265441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42838716506958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:31:03.280269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_37_1791.jpg', '/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_39_2692.jpg', '/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_43_3734.jpg', '/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_46_2676.jpg', '/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_49_2896.jpg', '/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_51_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_37_1791.jpg
/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_39_2692.jpg
/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_43_3734.jpg
/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_46_2676.jpg
/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_49_2896.jpg
/home/pi/Desktop/images/26112025/11/38/image_26112025_11_38_51_2681.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":["1396265461","1396265455","1396265472","1396265463","1396265459","1396265468"],"photo_ids_order":["1396265455","1396265459","1396265461","1396265463","1396265468","1396265472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b86c84729a1735b8d2579a359ce55f1b.jpg","text":"TemporaryFile(/tmp/multipartBody9175316903691356248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171124205,"filename":"image_26112025_11_38_43_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/26/1c09fc9cbe8fc148aac7af2514f13c11.jpg","text":"TemporaryFile(/tmp/multipartBody6775945783577125645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171124205,"filename":"image_26112025_11_38_37_1791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3e7edefc51f8a3fc9141787e7de73411.jpg","text":"TemporaryFile(/tmp/multipartBody9151903017329889524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171124205,"filename":"image_26112025_11_38_51_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/26/3c9c2f7687e1d3402c63eebd32b7eec6.jpg","text":"TemporaryFile(/tmp/multipartBody8146876648927539343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171124205,"filename":"image_26112025_11_38_46_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/509c0eb32b7bd19628ce9b11122afaf8.jpg","text":"TemporaryFile(/tmp/multipartBody5738165258104355330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171124205,"filename":"image_26112025_11_38_39_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/26/89b34c940eb6cc0d7f9ffc7300fd2115.jpg","text":"TemporaryFile(/tmp/multipartBody2681605798207252083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171124205,"filename":"image_26112025_11_38_49_2896.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396265461","file1":"1396265459","file0":"1396265455","file4":"1396265468","file5":"1396265472","file3":"1396265463"},"map_files_photo_id_array":[{"photo_id":"1396265472","filename":"file5"},{"photo_id":"1396265461","filename":"file2"},{"photo_id":"1396265468","filename":"file4"},{"photo_id":"1396265459","filename":"file1"},{"photo_id":"1396265455","filename":"file0"},{"photo_id":"1396265463","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396265461":["hashtag1","hashtag2"]},{"1396265455":["hashtag1","hashtag2"]},{"1396265472":["hashtag1","hashtag2"]},{"1396265463":["hashtag1","hashtag2"]},{"1396265459":["hashtag1","hashtag2"]},{"1396265468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396265461, 1396265455, 1396265472, 1396265463, 1396265459, 1396265468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0945098400116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 16:31:42.753075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_06_3012.jpg', '/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_10_3876.jpg', '/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_13_2662.jpg', '/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_15_2609.jpg', '/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_19_3643.jpg', '/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_22_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_06_3012.jpg
/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_10_3876.jpg
/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_13_2662.jpg
/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_15_2609.jpg
/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_19_3643.jpg
/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_22_2729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396265539","1396265527","1396265512","1396265528","1396265537","1396265516"],"photo_ids_order":["1396265512","1396265516","1396265527","1396265528","1396265537","1396265539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ae0fd25c12c8559991bf964a2281201c.jpg","text":"TemporaryFile(/tmp/multipartBody9008982713680928889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171163608,"filename":"image_26112025_11_41_22_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5b78ce746d3d32bfa1bf252542d6b487.jpg","text":"TemporaryFile(/tmp/multipartBody9007026576596281064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171163608,"filename":"image_26112025_11_41_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/26/5d2ce94fc913de6232adaf90f1a16793.jpg","text":"TemporaryFile(/tmp/multipartBody8964017112744388512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171163608,"filename":"image_26112025_11_41_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/26/d0d0e88a37e4a8d2b875b7e3288d3f8a.jpg","text":"TemporaryFile(/tmp/multipartBody1964244705360240463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171163608,"filename":"image_26112025_11_41_15_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/26/852323df048d4c11de366ab3b43b0962.jpg","text":"TemporaryFile(/tmp/multipartBody7949607032897420037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171163608,"filename":"image_26112025_11_41_19_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/26/c81c5bb602113a8cdcdc74ec59aa42b7.jpg","text":"TemporaryFile(/tmp/multipartBody4300509234570400815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171163608,"filename":"image_26112025_11_41_10_3876.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396265527","file1":"1396265516","file0":"1396265512","file4":"1396265537","file5":"1396265539","file3":"1396265528"},"map_files_photo_id_array":[{"photo_id":"1396265539","filename":"file5"},{"photo_id":"1396265527","filename":"file2"},{"photo_id":"1396265537","filename":"file4"},{"photo_id":"1396265516","filename":"file1"},{"photo_id":"1396265512","filename":"file0"},{"photo_id":"1396265528","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396265539":["hashtag1","hashtag2"]},{"1396265527":["hashtag1","hashtag2"]},{"1396265512":["hashtag1","hashtag2"]},{"1396265528":["hashtag1","hashtag2"]},{"1396265537":["hashtag1","hashtag2"]},{"1396265516":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396265539, 1396265527, 1396265512, 1396265528, 1396265537, 1396265516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.109803915023804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 16:32:21.970821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_25_2892.jpg', '/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_27_2701.jpg', '/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_31_3685.jpg', '/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_34_2695.jpg', '/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_37_2790.jpg', '/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_39_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_25_2892.jpg
/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_27_2701.jpg
/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_31_3685.jpg
/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_34_2695.jpg
/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_37_2790.jpg
/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_39_2683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396265560","1396265557","1396265545","1396265553","1396265547","1396265555"],"photo_ids_order":["1396265545","1396265547","1396265553","1396265555","1396265557","1396265560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8e26f20701f16b49597846b797c4c654.jpg","text":"TemporaryFile(/tmp/multipartBody5694110964179496666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171202804,"filename":"image_26112025_11_41_39_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7f429a78b6695123ca4e965b5646b270.jpg","text":"TemporaryFile(/tmp/multipartBody8305589819517048615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171202804,"filename":"image_26112025_11_41_37_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/26/2b1f9e49a2c79d26934fb23affabb716.jpg","text":"TemporaryFile(/tmp/multipartBody3023390682988653190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171202804,"filename":"image_26112025_11_41_25_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/26/217b6ad09a5cea8afe12eed46a5be990.jpg","text":"TemporaryFile(/tmp/multipartBody7302732497943076469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171202804,"filename":"image_26112025_11_41_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/26/be45eb5827b631d52c44062e0bd97e0e.jpg","text":"TemporaryFile(/tmp/multipartBody8791926812702877622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171202804,"filename":"image_26112025_11_41_27_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/26/43cca5d5c0472a378f695293ec0e9358.jpg","text":"TemporaryFile(/tmp/multipartBody5957508411231054048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171202804,"filename":"image_26112025_11_41_34_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396265553","file1":"1396265547","file0":"1396265545","file4":"1396265557","file5":"1396265560","file3":"1396265555"},"map_files_photo_id_array":[{"photo_id":"1396265560","filename":"file5"},{"photo_id":"1396265553","filename":"file2"},{"photo_id":"1396265557","filename":"file4"},{"photo_id":"1396265547","filename":"file1"},{"photo_id":"1396265545","filename":"file0"},{"photo_id":"1396265555","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396265560":["hashtag1","hashtag2"]},{"1396265557":["hashtag1","hashtag2"]},{"1396265545":["hashtag1","hashtag2"]},{"1396265553":["hashtag1","hashtag2"]},{"1396265547":["hashtag1","hashtag2"]},{"1396265555":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396265560, 1396265557, 1396265545, 1396265553, 1396265547, 1396265555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.295936822891235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:33:02.780748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_43_3716.jpg', '/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_46_2742.jpg', '/home/pi/Desktop/images/26112025/11/42/image_26112025_11_42_06_20687.jpg', '/home/pi/Desktop/images/26112025/11/42/image_26112025_11_42_08_1747.jpg', '/home/pi/Desktop/images/26112025/11/42/image_26112025_11_42_10_1695.jpg', '/home/pi/Desktop/images/26112025/11/43/image_26112025_11_43_06_3016.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_43_3716.jpg
/home/pi/Desktop/images/26112025/11/41/image_26112025_11_41_46_2742.jpg
/home/pi/Desktop/images/26112025/11/42/image_26112025_11_42_06_20687.jpg
/home/pi/Desktop/images/26112025/11/42/image_26112025_11_42_08_1747.jpg
/home/pi/Desktop/images/26112025/11/42/image_26112025_11_42_10_1695.jpg
/home/pi/Desktop/images/26112025/11/43/image_26112025_11_43_06_3016.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":["1396265568","1396265562","1396265570","1396265564","1396265573","1396265566"],"photo_ids_order":["1396265562","1396265564","1396265566","1396265568","1396265570","1396265573"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8747b77e6901256d9bea60c3d10f72ad.jpg","text":"TemporaryFile(/tmp/multipartBody6858630204938811567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171243700,"filename":"image_26112025_11_42_08_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/26/bbb368725f7ffd25fe6823d57a51a15a.jpg","text":"TemporaryFile(/tmp/multipartBody1074881195249199336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171243700,"filename":"image_26112025_11_41_43_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/26/1fb6a1b7f75b94cb59f5d7c25f781dcb.jpg","text":"TemporaryFile(/tmp/multipartBody7328994082990830333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171243700,"filename":"image_26112025_11_42_10_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/26/3c88b8bf0a87ce6cf5334a3281e2fa2a.jpg","text":"TemporaryFile(/tmp/multipartBody6282760686992683837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171243700,"filename":"image_26112025_11_41_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/26/d1b509209269fb7116edca74d50a7618.jpg","text":"TemporaryFile(/tmp/multipartBody5190544340812431416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171243700,"filename":"image_26112025_11_43_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/26/dcd56fdf6f1384cfd78d31d4ccc7e033.jpg","text":"TemporaryFile(/tmp/multipartBody1966834078550226887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171243700,"filename":"image_26112025_11_42_06_20687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396265566","file1":"1396265564","file0":"1396265562","file4":"1396265570","file5":"1396265573","file3":"1396265568"},"map_files_photo_id_array":[{"photo_id":"1396265573","filename":"file5"},{"photo_id":"1396265566","filename":"file2"},{"photo_id":"1396265570","filename":"file4"},{"photo_id":"1396265564","filename":"file1"},{"photo_id":"1396265562","filename":"file0"},{"photo_id":"1396265568","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396265568":["hashtag1","hashtag2"]},{"1396265562":["hashtag1","hashtag2"]},{"1396265570":["hashtag1","hashtag2"]},{"1396265564":["hashtag1","hashtag2"]},{"1396265573":["hashtag1","hashtag2"]},{"1396265566":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396265568, 1396265562, 1396265570, 1396265564, 1396265573, 1396265566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10726451873779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 16:33:42.164116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/43/image_26112025_11_43_10_3693.jpg', '/home/pi/Desktop/images/26112025/11/43/image_26112025_11_43_12_2616.jpg', '/home/pi/Desktop/images/26112025/11/43/image_26112025_11_43_15_2835.jpg', '/home/pi/Desktop/images/26112025/11/43/image_26112025_11_43_19_3604.jpg', '/home/pi/Desktop/images/26112025/11/43/image_26112025_11_43_22_2738.jpg', '/home/pi/Desktop/images/26112025/11/43/image_26112025_11_43_24_2781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/43/image_26112025_11_43_10_3693.jpg
/home/pi/Desktop/images/26112025/11/43/image_26112025_11_43_12_2616.jpg
/home/pi/Desktop/images/26112025/11/43/image_26112025_11_43_15_2835.jpg
/home/pi/Desktop/images/26112025/11/43/image_26112025_11_43_19_3604.jpg
/home/pi/Desktop/images/26112025/11/43/image_26112025_11_43_22_2738.jpg
/home/pi/Desktop/images/26112025/11/43/image_26112025_11_43_24_2781.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":["1396265581","1396265578","1396265589","1396265582","1396265591","1396265587"],"photo_ids_order":["1396265578","1396265581","1396265582","1396265587","1396265589","1396265591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b36dca492cd3877f387d4477a652bd4c.jpg","text":"TemporaryFile(/tmp/multipartBody3535025900812712156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171283028,"filename":"image_26112025_11_43_12_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/26/272235e04b178152e15bd4a226b0efe8.jpg","text":"TemporaryFile(/tmp/multipartBody2132973897485444777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171283028,"filename":"image_26112025_11_43_10_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/26/0949b665b9b12309e8b7fafab87d0ab1.jpg","text":"TemporaryFile(/tmp/multipartBody7223165209748242850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171283028,"filename":"image_26112025_11_43_22_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/26/1d6325dbf2252f9633a824ed3e718415.jpg","text":"TemporaryFile(/tmp/multipartBody5894501977617258135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171283028,"filename":"image_26112025_11_43_15_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/26/f31ceabfc0452a057142533b4445d2d2.jpg","text":"TemporaryFile(/tmp/multipartBody1280408150113260548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171283028,"filename":"image_26112025_11_43_24_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/26/a6f37498a91e3ee76dba36c109a30d91.jpg","text":"TemporaryFile(/tmp/multipartBody6219443983412344849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171283028,"filename":"image_26112025_11_43_19_3604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396265582","file1":"1396265581","file0":"1396265578","file4":"1396265589","file5":"1396265591","file3":"1396265587"},"map_files_photo_id_array":[{"photo_id":"1396265591","filename":"file5"},{"photo_id":"1396265582","filename":"file2"},{"photo_id":"1396265589","filename":"file4"},{"photo_id":"1396265581","filename":"file1"},{"photo_id":"1396265578","filename":"file0"},{"photo_id":"1396265587","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396265581":["hashtag1","hashtag2"]},{"1396265578":["hashtag1","hashtag2"]},{"1396265589":["hashtag1","hashtag2"]},{"1396265582":["hashtag1","hashtag2"]},{"1396265591":["hashtag1","hashtag2"]},{"1396265587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396265581, 1396265578, 1396265589, 1396265582, 1396265591, 1396265587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03495907783508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 16:34:22.418934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_07_3010.jpg', '/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_11_3649.jpg', '/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_13_2801.jpg', '/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_16_2532.jpg', '/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_20_3704.jpg', '/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_22_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_07_3010.jpg
/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_11_3649.jpg
/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_13_2801.jpg
/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_16_2532.jpg
/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_20_3704.jpg
/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_22_2686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396265605","1396265595","1396265608","1396265598","1396265601","1396265603"],"photo_ids_order":["1396265595","1396265598","1396265601","1396265603","1396265605","1396265608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/875eb81bbd35b683e44158a1b59626ff.jpg","text":"TemporaryFile(/tmp/multipartBody8917027864370653863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171323229,"filename":"image_26112025_11_45_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/26/0f1ae3182f4fe025961e728a3f80089e.jpg","text":"TemporaryFile(/tmp/multipartBody378417657994069904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171323229,"filename":"image_26112025_11_45_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/26/5eda98d8307e0675fdfaf9f0f27c5c47.jpg","text":"TemporaryFile(/tmp/multipartBody6056301815875414532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171323229,"filename":"image_26112025_11_45_22_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/26/0c514213faea546e9ca5c2c075d3aaa2.jpg","text":"TemporaryFile(/tmp/multipartBody3587868718948509389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171323229,"filename":"image_26112025_11_45_11_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/26/74b6cf461a4d5a8ea4db697034cf96dd.jpg","text":"TemporaryFile(/tmp/multipartBody6329711489998184014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171323229,"filename":"image_26112025_11_45_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/26/8a1e223527284f45a4cb0a0702930118.jpg","text":"TemporaryFile(/tmp/multipartBody5676582739702569059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171323229,"filename":"image_26112025_11_45_16_2532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396265601","file1":"1396265598","file0":"1396265595","file4":"1396265605","file5":"1396265608","file3":"1396265603"},"map_files_photo_id_array":[{"photo_id":"1396265608","filename":"file5"},{"photo_id":"1396265601","filename":"file2"},{"photo_id":"1396265605","filename":"file4"},{"photo_id":"1396265598","filename":"file1"},{"photo_id":"1396265595","filename":"file0"},{"photo_id":"1396265603","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396265605":["hashtag1","hashtag2"]},{"1396265595":["hashtag1","hashtag2"]},{"1396265608":["hashtag1","hashtag2"]},{"1396265598":["hashtag1","hashtag2"]},{"1396265601":["hashtag1","hashtag2"]},{"1396265603":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396265605, 1396265595, 1396265608, 1396265598, 1396265601, 1396265603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41913414001465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:35:03.182092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_25_2641.jpg', '/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_29_3919.jpg', '/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_31_2611.jpg', '/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_34_2725.jpg', '/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_38_3531.jpg', '/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_40_2715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_25_2641.jpg
/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_29_3919.jpg
/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_31_2611.jpg
/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_34_2725.jpg
/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_38_3531.jpg
/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_40_2715.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":["1396265632","1396265631","1396265634","1396265619","1396265610","1396265612"],"photo_ids_order":["1396265610","1396265612","1396265619","1396265631","1396265632","1396265634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7f69834d57b05ea9750cf999142e96aa.jpg","text":"TemporaryFile(/tmp/multipartBody4255481178442846426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171363960,"filename":"image_26112025_11_45_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/26/3d0084d207d85e3287bf2be2bf2fba6b.jpg","text":"TemporaryFile(/tmp/multipartBody1609196674557613723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171363960,"filename":"image_26112025_11_45_34_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/26/91c29f33f4a258ba645abc036e167882.jpg","text":"TemporaryFile(/tmp/multipartBody7076131920564005354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171363960,"filename":"image_26112025_11_45_40_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/26/c8e350a828bf21984fd8f2b4cd78a621.jpg","text":"TemporaryFile(/tmp/multipartBody3371913016174650991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171363960,"filename":"image_26112025_11_45_31_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3e31299557f50ea01a830e6e0a02514c.jpg","text":"TemporaryFile(/tmp/multipartBody4188099314148759531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171363960,"filename":"image_26112025_11_45_25_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/26/1c6f32878e5332a092890613a52bdb48.jpg","text":"TemporaryFile(/tmp/multipartBody1770404278684669550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171363960,"filename":"image_26112025_11_45_29_3919.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396265619","file1":"1396265612","file0":"1396265610","file4":"1396265632","file5":"1396265634","file3":"1396265631"},"map_files_photo_id_array":[{"photo_id":"1396265634","filename":"file5"},{"photo_id":"1396265619","filename":"file2"},{"photo_id":"1396265632","filename":"file4"},{"photo_id":"1396265612","filename":"file1"},{"photo_id":"1396265610","filename":"file0"},{"photo_id":"1396265631","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396265632":["hashtag1","hashtag2"]},{"1396265631":["hashtag1","hashtag2"]},{"1396265634":["hashtag1","hashtag2"]},{"1396265619":["hashtag1","hashtag2"]},{"1396265610":["hashtag1","hashtag2"]},{"1396265612":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396265632, 1396265631, 1396265634, 1396265619, 1396265610, 1396265612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.559831857681274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 16:35:42.548386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_43_2730.jpg', '/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_46_2786.jpg', '/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_50_3651.jpg', '/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_52_2756.jpg', '/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_55_2673.jpg', '/home/pi/Desktop/images/26112025/11/46/image_26112025_11_46_01_6125.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_43_2730.jpg
/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_46_2786.jpg
/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_50_3651.jpg
/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_52_2756.jpg
/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_55_2673.jpg
/home/pi/Desktop/images/26112025/11/46/image_26112025_11_46_01_6125.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":["1396265650","1396265652","1396265657","1396265642","1396265645","1396265639"],"photo_ids_order":["1396265639","1396265642","1396265645","1396265650","1396265652","1396265657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0a715923f67a2c95e3f81a167af90555.jpg","text":"TemporaryFile(/tmp/multipartBody4174174329924140886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171403270,"filename":"image_26112025_11_45_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/26/421f1ac3bf5b00bfedfcaf498cf9d710.jpg","text":"TemporaryFile(/tmp/multipartBody835703615251275642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171403270,"filename":"image_26112025_11_45_55_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9531c68cde6c7d5dc55ab02776bf75b7.jpg","text":"TemporaryFile(/tmp/multipartBody7888434479137263951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171403270,"filename":"image_26112025_11_46_01_6125.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9872adfd4c2baa1044446388cd0d51bc.jpg","text":"TemporaryFile(/tmp/multipartBody3885927623005163787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171403270,"filename":"image_26112025_11_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/26/87349338a42ab247f209c1f0d019f329.jpg","text":"TemporaryFile(/tmp/multipartBody7728568212956699748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171403270,"filename":"image_26112025_11_45_50_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/26/f350dce3f0f36827684c2605d3509d26.jpg","text":"TemporaryFile(/tmp/multipartBody1409452382732630654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171403270,"filename":"image_26112025_11_45_43_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396265645","file1":"1396265642","file0":"1396265639","file4":"1396265652","file5":"1396265657","file3":"1396265650"},"map_files_photo_id_array":[{"photo_id":"1396265657","filename":"file5"},{"photo_id":"1396265645","filename":"file2"},{"photo_id":"1396265652","filename":"file4"},{"photo_id":"1396265642","filename":"file1"},{"photo_id":"1396265639","filename":"file0"},{"photo_id":"1396265650","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396265650":["hashtag1","hashtag2"]},{"1396265652":["hashtag1","hashtag2"]},{"1396265657":["hashtag1","hashtag2"]},{"1396265642":["hashtag1","hashtag2"]},{"1396265645":["hashtag1","hashtag2"]},{"1396265639":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396265650, 1396265652, 1396265657, 1396265642, 1396265645, 1396265639)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 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 = 1396265645 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_50_3651.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1396265645 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_50_3651.jpg";
uploaded 6 photos
time to upload: 60.02090859413147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:37:03.027041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 16:37:16.207403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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! 
 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 30
2025-11-26 16:37:51.486891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 16:38:02.386679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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! 
 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-26 16:38:32.057932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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! 
 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-26 16:39:12.563829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_43_2730.jpg', '/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_46_2786.jpg', '/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_50_3651.jpg', '/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_52_2756.jpg', '/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_55_2673.jpg', '/home/pi/Desktop/images/26112025/11/46/image_26112025_11_46_01_6125.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_43_2730.jpg
/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_46_2786.jpg
/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_50_3651.jpg
/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_52_2756.jpg
/home/pi/Desktop/images/26112025/11/45/image_26112025_11_45_55_2673.jpg
/home/pi/Desktop/images/26112025/11/46/image_26112025_11_46_01_6125.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":["1396265740","1396265737","1396265751","1396265745","1396265754","1396265748"],"photo_ids_order":["1396265737","1396265740","1396265745","1396265748","1396265751","1396265754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fe638d4136fd6a243537a23d433dcc3c.jpg","text":"TemporaryFile(/tmp/multipartBody6411972909789960457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171615930,"filename":"image_26112025_11_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/26/ad2317be7b9ba7616ce69eba00e3896b.jpg","text":"TemporaryFile(/tmp/multipartBody5515707473576545237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171615930,"filename":"image_26112025_11_45_43_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/26/073c61a0b269a14fe1d940354a7cb8fd.jpg","text":"TemporaryFile(/tmp/multipartBody6632322440483234527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171615930,"filename":"image_26112025_11_45_55_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3db94fb1a0a3f58cdd3c531f31a1d0c5.jpg","text":"TemporaryFile(/tmp/multipartBody2701123856511744593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171615930,"filename":"image_26112025_11_45_50_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/26/96db8ac9dfa0bb28a20899898c2191ba.jpg","text":"TemporaryFile(/tmp/multipartBody4702515312817843474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171615930,"filename":"image_26112025_11_46_01_6125.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7d18ab96125899800dfce986f9100afd.jpg","text":"TemporaryFile(/tmp/multipartBody791022191647257791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171615930,"filename":"image_26112025_11_45_52_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396265745","file1":"1396265740","file0":"1396265737","file4":"1396265751","file5":"1396265754","file3":"1396265748"},"map_files_photo_id_array":[{"photo_id":"1396265754","filename":"file5"},{"photo_id":"1396265745","filename":"file2"},{"photo_id":"1396265751","filename":"file4"},{"photo_id":"1396265740","filename":"file1"},{"photo_id":"1396265737","filename":"file0"},{"photo_id":"1396265748","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396265740":["hashtag1","hashtag2"]},{"1396265737":["hashtag1","hashtag2"]},{"1396265751":["hashtag1","hashtag2"]},{"1396265745":["hashtag1","hashtag2"]},{"1396265754":["hashtag1","hashtag2"]},{"1396265748":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396265740, 1396265737, 1396265751, 1396265745, 1396265754, 1396265748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.1713502407074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:40:03.090961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/46/image_26112025_11_46_03_1695.jpg', '/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_06_3011.jpg', '/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_10_3751.jpg', '/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_14_3570.jpg', '/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_15_1706.jpg', '/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_19_3542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/46/image_26112025_11_46_03_1695.jpg
/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_06_3011.jpg
/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_10_3751.jpg
/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_14_3570.jpg
/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_15_1706.jpg
/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_19_3542.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":["1396265766","1396265760","1396265771","1396265777","1396265762","1396265759"],"photo_ids_order":["1396265759","1396265760","1396265762","1396265766","1396265771","1396265777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/65fee49a024c840df57f06750a586107.jpg","text":"TemporaryFile(/tmp/multipartBody7647633847386348849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171663926,"filename":"image_26112025_11_48_14_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/26/5f9ceca47bddee30e93c422324d2bca1.jpg","text":"TemporaryFile(/tmp/multipartBody4996090981369612652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171663926,"filename":"image_26112025_11_48_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/26/ac191cef987f029ff290cf49516630d7.jpg","text":"TemporaryFile(/tmp/multipartBody6302831081797846852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171663926,"filename":"image_26112025_11_48_15_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/950f73eb97ea1b2e76412f296b40da7b.jpg","text":"TemporaryFile(/tmp/multipartBody8835154746861339599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171663926,"filename":"image_26112025_11_48_19_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/26/8340b972b626fd8298929174e00c717e.jpg","text":"TemporaryFile(/tmp/multipartBody149004543953440998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171663926,"filename":"image_26112025_11_48_10_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/26/a9140b95c01fd4f77b68a8fb670d885c.jpg","text":"TemporaryFile(/tmp/multipartBody8634965177607376138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171663926,"filename":"image_26112025_11_46_03_1695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396265762","file1":"1396265760","file0":"1396265759","file4":"1396265771","file5":"1396265777","file3":"1396265766"},"map_files_photo_id_array":[{"photo_id":"1396265777","filename":"file5"},{"photo_id":"1396265762","filename":"file2"},{"photo_id":"1396265771","filename":"file4"},{"photo_id":"1396265760","filename":"file1"},{"photo_id":"1396265759","filename":"file0"},{"photo_id":"1396265766","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396265766":["hashtag1","hashtag2"]},{"1396265760":["hashtag1","hashtag2"]},{"1396265771":["hashtag1","hashtag2"]},{"1396265777":["hashtag1","hashtag2"]},{"1396265762":["hashtag1","hashtag2"]},{"1396265759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396265766, 1396265760, 1396265771, 1396265777, 1396265762, 1396265759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62436294555664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 16:40:42.439612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_22_2705.jpg', '/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_25_3595.jpg', '/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_28_2645.jpg', '/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_30_2574.jpg', '/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_35_4288.jpg', '/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_36_1712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_22_2705.jpg
/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_25_3595.jpg
/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_28_2645.jpg
/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_30_2574.jpg
/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_35_4288.jpg
/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_36_1712.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":["1396265800","1396265799","1396265787","1396265798","1396265802","1396265801"],"photo_ids_order":["1396265787","1396265798","1396265799","1396265800","1396265801","1396265802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/751c68bc614a412495d3271e4d8f7b3a.jpg","text":"TemporaryFile(/tmp/multipartBody8315204210392058685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171703208,"filename":"image_26112025_11_48_30_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/26/e80c9889d7e26ffd46c013572c6d5af7.jpg","text":"TemporaryFile(/tmp/multipartBody6047808096294879889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171703208,"filename":"image_26112025_11_48_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/26/722b2c6494f91effc26f0a01be11d1ed.jpg","text":"TemporaryFile(/tmp/multipartBody5952486631309706492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171703208,"filename":"image_26112025_11_48_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/26/f8bdafc5798ddc16e05ad7787d05cab3.jpg","text":"TemporaryFile(/tmp/multipartBody261843552148070012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171703208,"filename":"image_26112025_11_48_25_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/26/5c589cbe3550f6018e5aac683ff96cf9.jpg","text":"TemporaryFile(/tmp/multipartBody3180642153901962692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171703208,"filename":"image_26112025_11_48_36_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/26/3f75880075af7aae3791c1fbe3ab579f.jpg","text":"TemporaryFile(/tmp/multipartBody7151005125273284678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171703208,"filename":"image_26112025_11_48_35_4288.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396265799","file1":"1396265798","file0":"1396265787","file4":"1396265801","file5":"1396265802","file3":"1396265800"},"map_files_photo_id_array":[{"photo_id":"1396265802","filename":"file5"},{"photo_id":"1396265799","filename":"file2"},{"photo_id":"1396265801","filename":"file4"},{"photo_id":"1396265798","filename":"file1"},{"photo_id":"1396265787","filename":"file0"},{"photo_id":"1396265800","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396265800":["hashtag1","hashtag2"]},{"1396265799":["hashtag1","hashtag2"]},{"1396265787":["hashtag1","hashtag2"]},{"1396265798":["hashtag1","hashtag2"]},{"1396265802":["hashtag1","hashtag2"]},{"1396265801":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396265800, 1396265799, 1396265787, 1396265798, 1396265802, 1396265801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.757752418518066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 16:41:22.764340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_40_3735.jpg', '/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_43_2610.jpg', '/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_46_2784.jpg', '/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_49_3563.jpg', '/home/pi/Desktop/images/26112025/11/51/image_26112025_11_51_06_3012.jpg', '/home/pi/Desktop/images/26112025/11/51/image_26112025_11_51_10_3659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_40_3735.jpg
/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_43_2610.jpg
/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_46_2784.jpg
/home/pi/Desktop/images/26112025/11/48/image_26112025_11_48_49_3563.jpg
/home/pi/Desktop/images/26112025/11/51/image_26112025_11_51_06_3012.jpg
/home/pi/Desktop/images/26112025/11/51/image_26112025_11_51_10_3659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396265848","1396265842","1396265839","1396265835","1396265816","1396265846"],"photo_ids_order":["1396265816","1396265835","1396265839","1396265842","1396265846","1396265848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/af6f7b58e48c2eb3bcd85ea3c8778581.jpg","text":"TemporaryFile(/tmp/multipartBody6752041481419954541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171743530,"filename":"image_26112025_11_51_10_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/26/ad597156fea21cec1f770200114d3e9c.jpg","text":"TemporaryFile(/tmp/multipartBody524880096895618590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171743530,"filename":"image_26112025_11_48_49_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/26/3a89dec2fbd40a69a3ab312bc1929330.jpg","text":"TemporaryFile(/tmp/multipartBody7092095122617431037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171743530,"filename":"image_26112025_11_48_46_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/26/7462233fe3ba3c629845eaffc8d4b2a0.jpg","text":"TemporaryFile(/tmp/multipartBody6710580471826186745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171743530,"filename":"image_26112025_11_48_43_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/26/a28ee2320c7ced9344c94630b7bd358f.jpg","text":"TemporaryFile(/tmp/multipartBody5212692163999138122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171743530,"filename":"image_26112025_11_48_40_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/26/eaecd6843ac13801a29c4c038d7420e5.jpg","text":"TemporaryFile(/tmp/multipartBody7036351954285012539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171743530,"filename":"image_26112025_11_51_06_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396265839","file1":"1396265835","file0":"1396265816","file4":"1396265846","file5":"1396265848","file3":"1396265842"},"map_files_photo_id_array":[{"photo_id":"1396265848","filename":"file5"},{"photo_id":"1396265839","filename":"file2"},{"photo_id":"1396265846","filename":"file4"},{"photo_id":"1396265835","filename":"file1"},{"photo_id":"1396265816","filename":"file0"},{"photo_id":"1396265842","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396265848":["hashtag1","hashtag2"]},{"1396265842":["hashtag1","hashtag2"]},{"1396265839":["hashtag1","hashtag2"]},{"1396265835":["hashtag1","hashtag2"]},{"1396265816":["hashtag1","hashtag2"]},{"1396265846":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396265848, 1396265842, 1396265839, 1396265835, 1396265816, 1396265846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66863298416138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:42:02.364370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/51/image_26112025_11_51_12_2407.jpg', '/home/pi/Desktop/images/26112025/11/51/image_26112025_11_51_16_3785.jpg', '/home/pi/Desktop/images/26112025/11/51/image_26112025_11_51_21_2840.jpg', '/home/pi/Desktop/images/26112025/11/51/image_26112025_11_51_24_2707.jpg', '/home/pi/Desktop/images/26112025/11/51/image_26112025_11_51_28_3680.jpg', '/home/pi/Desktop/images/26112025/11/51/image_26112025_11_51_31_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/51/image_26112025_11_51_12_2407.jpg
/home/pi/Desktop/images/26112025/11/51/image_26112025_11_51_16_3785.jpg
/home/pi/Desktop/images/26112025/11/51/image_26112025_11_51_21_2840.jpg
/home/pi/Desktop/images/26112025/11/51/image_26112025_11_51_24_2707.jpg
/home/pi/Desktop/images/26112025/11/51/image_26112025_11_51_28_3680.jpg
/home/pi/Desktop/images/26112025/11/51/image_26112025_11_51_31_2752.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":["1396265851","1396265854","1396265856","1396265859","1396265853","1396265849"],"photo_ids_order":["1396265849","1396265851","1396265853","1396265854","1396265856","1396265859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/406494b631844085c30e28db5135f50a.jpg","text":"TemporaryFile(/tmp/multipartBody2634569830874960670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171783335,"filename":"image_26112025_11_51_16_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/26/65d62ced3da6bd760fa6a562190a945f.jpg","text":"TemporaryFile(/tmp/multipartBody2913170588748381340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171783335,"filename":"image_26112025_11_51_24_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/26/679d3f3135b44cc33e6c0ed94f20ddb4.jpg","text":"TemporaryFile(/tmp/multipartBody366644080069845492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171783335,"filename":"image_26112025_11_51_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/26/dc3d1b23bca8c417e4b0ad71d9b12db1.jpg","text":"TemporaryFile(/tmp/multipartBody2617658553764691547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171783335,"filename":"image_26112025_11_51_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/26/d51feb2c959c820a2658f5898b21a71b.jpg","text":"TemporaryFile(/tmp/multipartBody526899077016959813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171783335,"filename":"image_26112025_11_51_21_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/26/54a4f06bcd206d7fdbf2788ec68604e6.jpg","text":"TemporaryFile(/tmp/multipartBody1040040985207345957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171783335,"filename":"image_26112025_11_51_12_2407.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396265853","file1":"1396265851","file0":"1396265849","file4":"1396265856","file5":"1396265859","file3":"1396265854"},"map_files_photo_id_array":[{"photo_id":"1396265859","filename":"file5"},{"photo_id":"1396265853","filename":"file2"},{"photo_id":"1396265856","filename":"file4"},{"photo_id":"1396265851","filename":"file1"},{"photo_id":"1396265849","filename":"file0"},{"photo_id":"1396265854","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396265851":["hashtag1","hashtag2"]},{"1396265854":["hashtag1","hashtag2"]},{"1396265856":["hashtag1","hashtag2"]},{"1396265859":["hashtag1","hashtag2"]},{"1396265853":["hashtag1","hashtag2"]},{"1396265849":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396265851, 1396265854, 1396265856, 1396265859, 1396265853, 1396265849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26025652885437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 16:42:41.927570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/51/image_26112025_11_51_37_3597.jpg', '/home/pi/Desktop/images/26112025/11/51/image_26112025_11_51_40_2742.jpg', '/home/pi/Desktop/images/26112025/11/51/image_26112025_11_51_42_2753.jpg', '/home/pi/Desktop/images/26112025/11/51/image_26112025_11_51_45_2719.jpg', '/home/pi/Desktop/images/26112025/11/51/image_26112025_11_51_49_3726.jpg', '/home/pi/Desktop/images/26112025/11/53/image_26112025_11_53_07_3100.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/51/image_26112025_11_51_37_3597.jpg
/home/pi/Desktop/images/26112025/11/51/image_26112025_11_51_40_2742.jpg
/home/pi/Desktop/images/26112025/11/51/image_26112025_11_51_42_2753.jpg
/home/pi/Desktop/images/26112025/11/51/image_26112025_11_51_45_2719.jpg
/home/pi/Desktop/images/26112025/11/51/image_26112025_11_51_49_3726.jpg
/home/pi/Desktop/images/26112025/11/53/image_26112025_11_53_07_3100.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":["1396265872","1396265880","1396265882","1396265876","1396265881","1396265884"],"photo_ids_order":["1396265872","1396265876","1396265880","1396265881","1396265882","1396265884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fb84dcb8d372ec3a08e62a4e2824fe53.jpg","text":"TemporaryFile(/tmp/multipartBody1113903840868208398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171822695,"filename":"image_26112025_11_51_37_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5c7783ae78ee9bb5bceef7728355988a.jpg","text":"TemporaryFile(/tmp/multipartBody2072100845157479031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171822695,"filename":"image_26112025_11_51_42_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/26/777e8d655c4bfbdbe4c46a0eced2c7db.jpg","text":"TemporaryFile(/tmp/multipartBody4905692374311648712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171822695,"filename":"image_26112025_11_51_49_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/26/5debded704ecf88978e4d1f00f7e0d78.jpg","text":"TemporaryFile(/tmp/multipartBody9106147599060131325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171822695,"filename":"image_26112025_11_51_40_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/26/ee133c7107ae957e0e4fe6674603f000.jpg","text":"TemporaryFile(/tmp/multipartBody4899015921656859962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171822695,"filename":"image_26112025_11_51_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/26/2e382ef410df7e18fc29a4a526e2a1e4.jpg","text":"TemporaryFile(/tmp/multipartBody6937732631707255479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171822695,"filename":"image_26112025_11_53_07_3100.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396265880","file1":"1396265876","file0":"1396265872","file4":"1396265882","file5":"1396265884","file3":"1396265881"},"map_files_photo_id_array":[{"photo_id":"1396265884","filename":"file5"},{"photo_id":"1396265880","filename":"file2"},{"photo_id":"1396265882","filename":"file4"},{"photo_id":"1396265876","filename":"file1"},{"photo_id":"1396265872","filename":"file0"},{"photo_id":"1396265881","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396265872":["hashtag1","hashtag2"]},{"1396265880":["hashtag1","hashtag2"]},{"1396265882":["hashtag1","hashtag2"]},{"1396265876":["hashtag1","hashtag2"]},{"1396265881":["hashtag1","hashtag2"]},{"1396265884":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396265872, 1396265880, 1396265882, 1396265876, 1396265881, 1396265884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31136751174927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 16:43:22.200278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/53/image_26112025_11_53_11_3763.jpg', '/home/pi/Desktop/images/26112025/11/53/image_26112025_11_53_13_2190.jpg', '/home/pi/Desktop/images/26112025/11/53/image_26112025_11_53_17_3683.jpg', '/home/pi/Desktop/images/26112025/11/53/image_26112025_11_53_33_16478.jpg', '/home/pi/Desktop/images/26112025/11/53/image_26112025_11_53_35_1681.jpg', '/home/pi/Desktop/images/26112025/11/53/image_26112025_11_53_39_4486.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/53/image_26112025_11_53_11_3763.jpg
/home/pi/Desktop/images/26112025/11/53/image_26112025_11_53_13_2190.jpg
/home/pi/Desktop/images/26112025/11/53/image_26112025_11_53_17_3683.jpg
/home/pi/Desktop/images/26112025/11/53/image_26112025_11_53_33_16478.jpg
/home/pi/Desktop/images/26112025/11/53/image_26112025_11_53_35_1681.jpg
/home/pi/Desktop/images/26112025/11/53/image_26112025_11_53_39_4486.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":["1396265902","1396265907","1396265891","1396265904","1396265896","1396265899"],"photo_ids_order":["1396265891","1396265896","1396265899","1396265902","1396265904","1396265907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/18201364afd090fb911a4ab572ef2849.jpg","text":"TemporaryFile(/tmp/multipartBody1153702849920475288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171863013,"filename":"image_26112025_11_53_33_16478.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dd25234301ed48ffcf3428b617d219e6.jpg","text":"TemporaryFile(/tmp/multipartBody4444572829618168476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171863013,"filename":"image_26112025_11_53_39_4486.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8acbcbe0d057dd62da32ada789e8b079.jpg","text":"TemporaryFile(/tmp/multipartBody1977125009128302173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171863013,"filename":"image_26112025_11_53_11_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/26/d9e215943f22b212dc8cb20eff4c2c92.jpg","text":"TemporaryFile(/tmp/multipartBody5853929035275612868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171863013,"filename":"image_26112025_11_53_35_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/26/62a26ef53753b20773b863e7e1f13031.jpg","text":"TemporaryFile(/tmp/multipartBody6541708646079078120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171863013,"filename":"image_26112025_11_53_13_2190.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c8b765448ba74c54c324d6ee1ca9a291.jpg","text":"TemporaryFile(/tmp/multipartBody4451901010270818664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171863013,"filename":"image_26112025_11_53_17_3683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396265899","file1":"1396265896","file0":"1396265891","file4":"1396265904","file5":"1396265907","file3":"1396265902"},"map_files_photo_id_array":[{"photo_id":"1396265907","filename":"file5"},{"photo_id":"1396265899","filename":"file2"},{"photo_id":"1396265904","filename":"file4"},{"photo_id":"1396265896","filename":"file1"},{"photo_id":"1396265891","filename":"file0"},{"photo_id":"1396265902","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396265902":["hashtag1","hashtag2"]},{"1396265907":["hashtag1","hashtag2"]},{"1396265891":["hashtag1","hashtag2"]},{"1396265904":["hashtag1","hashtag2"]},{"1396265896":["hashtag1","hashtag2"]},{"1396265899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396265902, 1396265907, 1396265891, 1396265904, 1396265896, 1396265899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06340265274048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:44:03.097763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/53/image_26112025_11_53_41_1768.jpg', '/home/pi/Desktop/images/26112025/11/53/image_26112025_11_53_43_1673.jpg', '/home/pi/Desktop/images/26112025/11/53/image_26112025_11_53_44_1803.jpg', '/home/pi/Desktop/images/26112025/11/53/image_26112025_11_53_46_1637.jpg', '/home/pi/Desktop/images/26112025/11/53/image_26112025_11_53_48_1754.jpg', '/home/pi/Desktop/images/26112025/11/53/image_26112025_11_53_49_1628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/53/image_26112025_11_53_41_1768.jpg
/home/pi/Desktop/images/26112025/11/53/image_26112025_11_53_43_1673.jpg
/home/pi/Desktop/images/26112025/11/53/image_26112025_11_53_44_1803.jpg
/home/pi/Desktop/images/26112025/11/53/image_26112025_11_53_46_1637.jpg
/home/pi/Desktop/images/26112025/11/53/image_26112025_11_53_48_1754.jpg
/home/pi/Desktop/images/26112025/11/53/image_26112025_11_53_49_1628.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":["1396265923","1396265925","1396265934","1396265928","1396265921","1396265918"],"photo_ids_order":["1396265918","1396265921","1396265923","1396265925","1396265928","1396265934"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3cce977d8469bad53b92fd54cb289694.jpg","text":"TemporaryFile(/tmp/multipartBody8594348355933594885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171904025,"filename":"image_26112025_11_53_44_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/26/dec7c63e472d92a92157a60dbff3c7ae.jpg","text":"TemporaryFile(/tmp/multipartBody833192030948157015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171904025,"filename":"image_26112025_11_53_46_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/26/e354dd319ac7935e6a4675de8c8f902e.jpg","text":"TemporaryFile(/tmp/multipartBody7028639908055608494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171904025,"filename":"image_26112025_11_53_49_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/26/61d6dd78446bd1796c87a65e7ba1b13a.jpg","text":"TemporaryFile(/tmp/multipartBody185954071426735463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171904025,"filename":"image_26112025_11_53_48_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/26/d2d731668c1a35d53457b2b867636a60.jpg","text":"TemporaryFile(/tmp/multipartBody5549174339097792968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171904025,"filename":"image_26112025_11_53_43_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/26/c18ccce5c34835ddbcc5c92ca6c9233e.jpg","text":"TemporaryFile(/tmp/multipartBody562669872446859010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171904025,"filename":"image_26112025_11_53_41_1768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396265923","file1":"1396265921","file0":"1396265918","file4":"1396265928","file5":"1396265934","file3":"1396265925"},"map_files_photo_id_array":[{"photo_id":"1396265934","filename":"file5"},{"photo_id":"1396265923","filename":"file2"},{"photo_id":"1396265928","filename":"file4"},{"photo_id":"1396265921","filename":"file1"},{"photo_id":"1396265918","filename":"file0"},{"photo_id":"1396265925","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396265923":["hashtag1","hashtag2"]},{"1396265925":["hashtag1","hashtag2"]},{"1396265934":["hashtag1","hashtag2"]},{"1396265928":["hashtag1","hashtag2"]},{"1396265921":["hashtag1","hashtag2"]},{"1396265918":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396265923, 1396265925, 1396265934, 1396265928, 1396265921, 1396265918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29908585548401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 16:44:42.582340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/56/image_26112025_11_56_07_3011.jpg', '/home/pi/Desktop/images/26112025/11/56/image_26112025_11_56_11_3712.jpg', '/home/pi/Desktop/images/26112025/11/56/image_26112025_11_56_13_2644.jpg', '/home/pi/Desktop/images/26112025/11/56/image_26112025_11_56_16_2625.jpg', '/home/pi/Desktop/images/26112025/11/56/image_26112025_11_56_19_3638.jpg', '/home/pi/Desktop/images/26112025/11/56/image_26112025_11_56_22_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/56/image_26112025_11_56_07_3011.jpg
/home/pi/Desktop/images/26112025/11/56/image_26112025_11_56_11_3712.jpg
/home/pi/Desktop/images/26112025/11/56/image_26112025_11_56_13_2644.jpg
/home/pi/Desktop/images/26112025/11/56/image_26112025_11_56_16_2625.jpg
/home/pi/Desktop/images/26112025/11/56/image_26112025_11_56_19_3638.jpg
/home/pi/Desktop/images/26112025/11/56/image_26112025_11_56_22_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":["1396265950","1396265953","1396265947","1396265949","1396265951","1396265945"],"photo_ids_order":["1396265945","1396265947","1396265949","1396265950","1396265951","1396265953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c1556086aecde79a470e47dcb386d12a.jpg","text":"TemporaryFile(/tmp/multipartBody7483328092144533320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171943395,"filename":"image_26112025_11_56_16_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/26/7e08497b7cc70c4589b88e7fbc219524.jpg","text":"TemporaryFile(/tmp/multipartBody8846548314093774633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171943395,"filename":"image_26112025_11_56_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/26/ba461144d395ed4fb760633aaf6eaf44.jpg","text":"TemporaryFile(/tmp/multipartBody876465254286023162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171943395,"filename":"image_26112025_11_56_11_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/26/74733923a37787295141b70b9f01ead3.jpg","text":"TemporaryFile(/tmp/multipartBody7193430709951329633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171943395,"filename":"image_26112025_11_56_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/26/16e8704dac02514f65f47884ad852af5.jpg","text":"TemporaryFile(/tmp/multipartBody3080420979518495573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171943395,"filename":"image_26112025_11_56_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/26/bcf8709174ca4867ff997ec92828bc60.jpg","text":"TemporaryFile(/tmp/multipartBody7622023591681294879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171943395,"filename":"image_26112025_11_56_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396265949","file1":"1396265947","file0":"1396265945","file4":"1396265951","file5":"1396265953","file3":"1396265950"},"map_files_photo_id_array":[{"photo_id":"1396265953","filename":"file5"},{"photo_id":"1396265949","filename":"file2"},{"photo_id":"1396265951","filename":"file4"},{"photo_id":"1396265947","filename":"file1"},{"photo_id":"1396265945","filename":"file0"},{"photo_id":"1396265950","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396265950":["hashtag1","hashtag2"]},{"1396265953":["hashtag1","hashtag2"]},{"1396265947":["hashtag1","hashtag2"]},{"1396265949":["hashtag1","hashtag2"]},{"1396265951":["hashtag1","hashtag2"]},{"1396265945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396265950, 1396265953, 1396265947, 1396265949, 1396265951, 1396265945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.014567613601685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 16:45:22.702570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/56/image_26112025_11_56_25_2733.jpg', '/home/pi/Desktop/images/26112025/11/56/image_26112025_11_56_28_3641.jpg', '/home/pi/Desktop/images/26112025/11/56/image_26112025_11_56_31_2652.jpg', '/home/pi/Desktop/images/26112025/11/56/image_26112025_11_56_45_14031.jpg', '/home/pi/Desktop/images/26112025/11/56/image_26112025_11_56_47_1849.jpg', '/home/pi/Desktop/images/26112025/11/56/image_26112025_11_56_49_1814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/56/image_26112025_11_56_25_2733.jpg
/home/pi/Desktop/images/26112025/11/56/image_26112025_11_56_28_3641.jpg
/home/pi/Desktop/images/26112025/11/56/image_26112025_11_56_31_2652.jpg
/home/pi/Desktop/images/26112025/11/56/image_26112025_11_56_45_14031.jpg
/home/pi/Desktop/images/26112025/11/56/image_26112025_11_56_47_1849.jpg
/home/pi/Desktop/images/26112025/11/56/image_26112025_11_56_49_1814.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":["1396265968","1396265973","1396265967","1396265961","1396265970","1396265964"],"photo_ids_order":["1396265961","1396265964","1396265967","1396265968","1396265970","1396265973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bd3c553a6f426ad73728b8792c247b76.jpg","text":"TemporaryFile(/tmp/multipartBody4883718196335695074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171983508,"filename":"image_26112025_11_56_45_14031.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/91a45e41c30204800457c7002676eacf.jpg","text":"TemporaryFile(/tmp/multipartBody2913819435885759474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171983508,"filename":"image_26112025_11_56_49_1814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7ed35a141e16a63d5d86f2f8b38d2504.jpg","text":"TemporaryFile(/tmp/multipartBody4974857728334703160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171983508,"filename":"image_26112025_11_56_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/26/9aa4a3a2487c7b6d4f847de0c093df9d.jpg","text":"TemporaryFile(/tmp/multipartBody294211873364170665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171983508,"filename":"image_26112025_11_56_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/26/6d1b88934a8d35bf03e71021bb281236.jpg","text":"TemporaryFile(/tmp/multipartBody5326247638244115127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171983508,"filename":"image_26112025_11_56_47_1849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/286fbff3f79f2c33de60545229cffcdd.jpg","text":"TemporaryFile(/tmp/multipartBody1729519930558443461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764171983508,"filename":"image_26112025_11_56_28_3641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396265967","file1":"1396265964","file0":"1396265961","file4":"1396265970","file5":"1396265973","file3":"1396265968"},"map_files_photo_id_array":[{"photo_id":"1396265973","filename":"file5"},{"photo_id":"1396265967","filename":"file2"},{"photo_id":"1396265970","filename":"file4"},{"photo_id":"1396265964","filename":"file1"},{"photo_id":"1396265961","filename":"file0"},{"photo_id":"1396265968","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396265968":["hashtag1","hashtag2"]},{"1396265973":["hashtag1","hashtag2"]},{"1396265967":["hashtag1","hashtag2"]},{"1396265961":["hashtag1","hashtag2"]},{"1396265970":["hashtag1","hashtag2"]},{"1396265964":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396265968, 1396265973, 1396265967, 1396265961, 1396265970, 1396265964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.754231214523315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:46:02.464427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/56/image_26112025_11_56_54_1686.jpg', '/home/pi/Desktop/images/26112025/11/58/image_26112025_11_58_07_3012.jpg', '/home/pi/Desktop/images/26112025/11/58/image_26112025_11_58_11_3874.jpg', '/home/pi/Desktop/images/26112025/11/58/image_26112025_11_58_14_2830.jpg', '/home/pi/Desktop/images/26112025/11/58/image_26112025_11_58_16_2878.jpg', '/home/pi/Desktop/images/26112025/11/58/image_26112025_11_58_19_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/56/image_26112025_11_56_54_1686.jpg
/home/pi/Desktop/images/26112025/11/58/image_26112025_11_58_07_3012.jpg
/home/pi/Desktop/images/26112025/11/58/image_26112025_11_58_11_3874.jpg
/home/pi/Desktop/images/26112025/11/58/image_26112025_11_58_14_2830.jpg
/home/pi/Desktop/images/26112025/11/58/image_26112025_11_58_16_2878.jpg
/home/pi/Desktop/images/26112025/11/58/image_26112025_11_58_19_2718.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":["1396265988","1396265976","1396265984","1396265978","1396265975","1396265980"],"photo_ids_order":["1396265975","1396265976","1396265978","1396265980","1396265984","1396265988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a2355fb5f2dec9c13f493c7e70100374.jpg","text":"TemporaryFile(/tmp/multipartBody561615928052084698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172023322,"filename":"image_26112025_11_58_19_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/26/7d1aee5a4d7eefaab6ca988f8cf3ee5b.jpg","text":"TemporaryFile(/tmp/multipartBody8745941396563048585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172023322,"filename":"image_26112025_11_58_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/26/0131acdf54e5ad5c737ef572ed9c3a28.jpg","text":"TemporaryFile(/tmp/multipartBody4358829982346568886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172023322,"filename":"image_26112025_11_58_16_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9a92c0d0bb290bb77128740978f6e938.jpg","text":"TemporaryFile(/tmp/multipartBody3845192696363575474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172023322,"filename":"image_26112025_11_58_11_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/26/edcefce80b37194b830b266a4c7c9937.jpg","text":"TemporaryFile(/tmp/multipartBody5641701695238585364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172023322,"filename":"image_26112025_11_56_54_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/26/e183ece8c61df288b3f12dceb983d1f7.jpg","text":"TemporaryFile(/tmp/multipartBody3205323974123494829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172023322,"filename":"image_26112025_11_58_14_2830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396265978","file1":"1396265976","file0":"1396265975","file4":"1396265984","file5":"1396265988","file3":"1396265980"},"map_files_photo_id_array":[{"photo_id":"1396265988","filename":"file5"},{"photo_id":"1396265978","filename":"file2"},{"photo_id":"1396265984","filename":"file4"},{"photo_id":"1396265976","filename":"file1"},{"photo_id":"1396265975","filename":"file0"},{"photo_id":"1396265980","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396265988":["hashtag1","hashtag2"]},{"1396265976":["hashtag1","hashtag2"]},{"1396265984":["hashtag1","hashtag2"]},{"1396265978":["hashtag1","hashtag2"]},{"1396265975":["hashtag1","hashtag2"]},{"1396265980":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396265988, 1396265976, 1396265984, 1396265978, 1396265975, 1396265980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.463059425354004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 16:46:42.003525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/11/58/image_26112025_11_58_22_2758.jpg', '/home/pi/Desktop/images/26112025/12/00/image_26112025_12_00_07_3011.jpg', '/home/pi/Desktop/images/26112025/12/00/image_26112025_12_00_11_3647.jpg', '/home/pi/Desktop/images/26112025/12/00/image_26112025_12_00_14_2700.jpg', '/home/pi/Desktop/images/26112025/12/00/image_26112025_12_00_16_2686.jpg', '/home/pi/Desktop/images/26112025/12/00/image_26112025_12_00_20_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/11/58/image_26112025_11_58_22_2758.jpg
/home/pi/Desktop/images/26112025/12/00/image_26112025_12_00_07_3011.jpg
/home/pi/Desktop/images/26112025/12/00/image_26112025_12_00_11_3647.jpg
/home/pi/Desktop/images/26112025/12/00/image_26112025_12_00_14_2700.jpg
/home/pi/Desktop/images/26112025/12/00/image_26112025_12_00_16_2686.jpg
/home/pi/Desktop/images/26112025/12/00/image_26112025_12_00_20_3647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396266001","1396266004","1396266000","1396266003","1396265996","1396266002"],"photo_ids_order":["1396265996","1396266000","1396266001","1396266002","1396266003","1396266004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9aa067884ba85941ff3791089c014ea6.jpg","text":"TemporaryFile(/tmp/multipartBody6475441847676482170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172062847,"filename":"image_26112025_12_00_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/26/4d230e63a1ad19a2472e2fb7b25c19a3.jpg","text":"TemporaryFile(/tmp/multipartBody195927941113530248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172062847,"filename":"image_26112025_12_00_20_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/26/290b5d3a1fdac923d80a7cc0e9184c8e.jpg","text":"TemporaryFile(/tmp/multipartBody5474608848026385676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172062847,"filename":"image_26112025_12_00_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c226bcaf35ec28319e62a7d3e0f88e88.jpg","text":"TemporaryFile(/tmp/multipartBody6187572821745764356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172062847,"filename":"image_26112025_12_00_16_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/26/9feb61e6d67b64f14003eea2aca2c76f.jpg","text":"TemporaryFile(/tmp/multipartBody1323814261066000189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172062847,"filename":"image_26112025_11_58_22_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ed1dd77c834ebeca4d58cea90f4d4a4d.jpg","text":"TemporaryFile(/tmp/multipartBody3808927364296133935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172062847,"filename":"image_26112025_12_00_14_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396266001","file1":"1396266000","file0":"1396265996","file4":"1396266003","file5":"1396266004","file3":"1396266002"},"map_files_photo_id_array":[{"photo_id":"1396266004","filename":"file5"},{"photo_id":"1396266001","filename":"file2"},{"photo_id":"1396266003","filename":"file4"},{"photo_id":"1396266000","filename":"file1"},{"photo_id":"1396265996","filename":"file0"},{"photo_id":"1396266002","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396266001":["hashtag1","hashtag2"]},{"1396266004":["hashtag1","hashtag2"]},{"1396266000":["hashtag1","hashtag2"]},{"1396266003":["hashtag1","hashtag2"]},{"1396265996":["hashtag1","hashtag2"]},{"1396266002":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396266001, 1396266004, 1396266000, 1396266003, 1396265996, 1396266002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12191963195801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 16:47:22.182277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/00/image_26112025_12_00_23_2701.jpg', '/home/pi/Desktop/images/26112025/12/00/image_26112025_12_00_25_2657.jpg', '/home/pi/Desktop/images/26112025/12/00/image_26112025_12_00_29_3682.jpg', '/home/pi/Desktop/images/26112025/12/00/image_26112025_12_00_32_2802.jpg', '/home/pi/Desktop/images/26112025/12/00/image_26112025_12_00_34_2585.jpg', '/home/pi/Desktop/images/26112025/12/00/image_26112025_12_00_50_15520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/00/image_26112025_12_00_23_2701.jpg
/home/pi/Desktop/images/26112025/12/00/image_26112025_12_00_25_2657.jpg
/home/pi/Desktop/images/26112025/12/00/image_26112025_12_00_29_3682.jpg
/home/pi/Desktop/images/26112025/12/00/image_26112025_12_00_32_2802.jpg
/home/pi/Desktop/images/26112025/12/00/image_26112025_12_00_34_2585.jpg
/home/pi/Desktop/images/26112025/12/00/image_26112025_12_00_50_15520.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":["1396266016","1396266029","1396266020","1396266023","1396266026","1396266011"],"photo_ids_order":["1396266011","1396266016","1396266020","1396266023","1396266026","1396266029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/40071f9a8f968cf03b428c33dc818381.jpg","text":"TemporaryFile(/tmp/multipartBody6255776647824951811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172102986,"filename":"image_26112025_12_00_25_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/57b525cb93b8a1c988df61501a1ba53f.jpg","text":"TemporaryFile(/tmp/multipartBody7702769937943630063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172102986,"filename":"image_26112025_12_00_50_15520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/850ee30711e32ecae50014ab5de28327.jpg","text":"TemporaryFile(/tmp/multipartBody2220317734160480726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172102986,"filename":"image_26112025_12_00_29_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/26/656ee4373188ebde5551667025e117a2.jpg","text":"TemporaryFile(/tmp/multipartBody6492180848091272644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172102986,"filename":"image_26112025_12_00_32_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/26/c342f60dd162312bdde4d7c3bf57b023.jpg","text":"TemporaryFile(/tmp/multipartBody3324669072676161580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172102986,"filename":"image_26112025_12_00_34_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/26/8a1bed910a544afafcebd62021f38363.jpg","text":"TemporaryFile(/tmp/multipartBody512480421236244346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172102986,"filename":"image_26112025_12_00_23_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396266020","file1":"1396266016","file0":"1396266011","file4":"1396266026","file5":"1396266029","file3":"1396266023"},"map_files_photo_id_array":[{"photo_id":"1396266029","filename":"file5"},{"photo_id":"1396266020","filename":"file2"},{"photo_id":"1396266026","filename":"file4"},{"photo_id":"1396266016","filename":"file1"},{"photo_id":"1396266011","filename":"file0"},{"photo_id":"1396266023","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396266016":["hashtag1","hashtag2"]},{"1396266029":["hashtag1","hashtag2"]},{"1396266020":["hashtag1","hashtag2"]},{"1396266023":["hashtag1","hashtag2"]},{"1396266026":["hashtag1","hashtag2"]},{"1396266011":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396266016, 1396266029, 1396266020, 1396266023, 1396266026, 1396266011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18113303184509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:48:02.751385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/02/image_26112025_12_02_07_3011.jpg', '/home/pi/Desktop/images/26112025/12/02/image_26112025_12_02_13_2650.jpg', '/home/pi/Desktop/images/26112025/12/02/image_26112025_12_02_16_2653.jpg', '/home/pi/Desktop/images/26112025/12/02/image_26112025_12_02_20_3702.jpg', '/home/pi/Desktop/images/26112025/12/02/image_26112025_12_02_23_2866.jpg', '/home/pi/Desktop/images/26112025/12/02/image_26112025_12_02_25_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/02/image_26112025_12_02_07_3011.jpg
/home/pi/Desktop/images/26112025/12/02/image_26112025_12_02_13_2650.jpg
/home/pi/Desktop/images/26112025/12/02/image_26112025_12_02_16_2653.jpg
/home/pi/Desktop/images/26112025/12/02/image_26112025_12_02_20_3702.jpg
/home/pi/Desktop/images/26112025/12/02/image_26112025_12_02_23_2866.jpg
/home/pi/Desktop/images/26112025/12/02/image_26112025_12_02_25_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: 0.7948563098907471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 16:48:12.327195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/02/image_26112025_12_02_07_3011.jpg', '/home/pi/Desktop/images/26112025/12/02/image_26112025_12_02_13_2650.jpg', '/home/pi/Desktop/images/26112025/12/02/image_26112025_12_02_16_2653.jpg', '/home/pi/Desktop/images/26112025/12/02/image_26112025_12_02_20_3702.jpg', '/home/pi/Desktop/images/26112025/12/02/image_26112025_12_02_23_2866.jpg', '/home/pi/Desktop/images/26112025/12/02/image_26112025_12_02_25_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/02/image_26112025_12_02_07_3011.jpg
/home/pi/Desktop/images/26112025/12/02/image_26112025_12_02_13_2650.jpg
/home/pi/Desktop/images/26112025/12/02/image_26112025_12_02_16_2653.jpg
/home/pi/Desktop/images/26112025/12/02/image_26112025_12_02_20_3702.jpg
/home/pi/Desktop/images/26112025/12/02/image_26112025_12_02_23_2866.jpg
/home/pi/Desktop/images/26112025/12/02/image_26112025_12_02_25_2629.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":["1396266087","1396266167","1396266047","1396266128","1396266035","1396266038"],"photo_ids_order":["1396266035","1396266038","1396266047","1396266087","1396266128","1396266167"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2698eb62760e8615cea5f3abbf0c6e99.jpg","text":"TemporaryFile(/tmp/multipartBody1573581670669398101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172153090,"filename":"image_26112025_12_02_20_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/26/5d26eeefcf4e5e7a39249435958907ff.jpg","text":"TemporaryFile(/tmp/multipartBody612846600890780513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172153090,"filename":"image_26112025_12_02_25_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/26/e8fb8ae005ce22ed258c33b05ed941b6.jpg","text":"TemporaryFile(/tmp/multipartBody5076214156787535205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172153090,"filename":"image_26112025_12_02_16_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/26/de3f428f3030adfe163f6fbcfce13d62.jpg","text":"TemporaryFile(/tmp/multipartBody297435797863381980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172153090,"filename":"image_26112025_12_02_23_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/26/25e14dc75072936fb55c0a655bfab06e.jpg","text":"TemporaryFile(/tmp/multipartBody7848018630674454792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172153090,"filename":"image_26112025_12_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/26/844bfec1d29f33e14ca36f7385b9b043.jpg","text":"TemporaryFile(/tmp/multipartBody8251680498501058571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172153090,"filename":"image_26112025_12_02_13_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396266047","file1":"1396266038","file0":"1396266035","file4":"1396266128","file5":"1396266167","file3":"1396266087"},"map_files_photo_id_array":[{"photo_id":"1396266167","filename":"file5"},{"photo_id":"1396266047","filename":"file2"},{"photo_id":"1396266128","filename":"file4"},{"photo_id":"1396266038","filename":"file1"},{"photo_id":"1396266035","filename":"file0"},{"photo_id":"1396266087","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396266087":["hashtag1","hashtag2"]},{"1396266167":["hashtag1","hashtag2"]},{"1396266047":["hashtag1","hashtag2"]},{"1396266128":["hashtag1","hashtag2"]},{"1396266035":["hashtag1","hashtag2"]},{"1396266038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396266087, 1396266167, 1396266047, 1396266128, 1396266035, 1396266038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.247827768325806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:49:03.301036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/02/image_26112025_12_02_28_2680.jpg', '/home/pi/Desktop/images/26112025/12/04/image_26112025_12_04_07_3012.jpg', '/home/pi/Desktop/images/26112025/12/04/image_26112025_12_04_11_3728.jpg', '/home/pi/Desktop/images/26112025/12/04/image_26112025_12_04_13_2725.jpg', '/home/pi/Desktop/images/26112025/12/04/image_26112025_12_04_16_2664.jpg', '/home/pi/Desktop/images/26112025/12/04/image_26112025_12_04_20_3684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/02/image_26112025_12_02_28_2680.jpg
/home/pi/Desktop/images/26112025/12/04/image_26112025_12_04_07_3012.jpg
/home/pi/Desktop/images/26112025/12/04/image_26112025_12_04_11_3728.jpg
/home/pi/Desktop/images/26112025/12/04/image_26112025_12_04_13_2725.jpg
/home/pi/Desktop/images/26112025/12/04/image_26112025_12_04_16_2664.jpg
/home/pi/Desktop/images/26112025/12/04/image_26112025_12_04_20_3684.jpg
 val : 1 : upload photos already in processing! 
 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":["1396266346","1396266378","1396266363","1396266380","1396266361","1396266358"],"photo_ids_order":["1396266346","1396266358","1396266361","1396266363","1396266378","1396266380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/25090faed9b608a78ab230d5704ae76b.jpg","text":"TemporaryFile(/tmp/multipartBody135192233259961784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172204343,"filename":"image_26112025_12_02_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/26/e06a8b271f4068516c6d9a35a50a4cf9.jpg","text":"TemporaryFile(/tmp/multipartBody2302153416947557317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172204343,"filename":"image_26112025_12_04_16_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/26/da9127e1aea27105a4f39a5a67283632.jpg","text":"TemporaryFile(/tmp/multipartBody6938473919918557867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172204343,"filename":"image_26112025_12_04_13_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/26/5a687291734b64c1bf2f48dcdbb67630.jpg","text":"TemporaryFile(/tmp/multipartBody5957011459204962950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172204343,"filename":"image_26112025_12_04_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/26/24a16584b1cb51ad981947354c8bf8ff.jpg","text":"TemporaryFile(/tmp/multipartBody9072911099510248084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172204343,"filename":"image_26112025_12_04_11_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/26/700d070e77d2b78d57df20920568dc7c.jpg","text":"TemporaryFile(/tmp/multipartBody1405732544794810929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172204343,"filename":"image_26112025_12_04_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396266361","file1":"1396266358","file0":"1396266346","file4":"1396266378","file5":"1396266380","file3":"1396266363"},"map_files_photo_id_array":[{"photo_id":"1396266380","filename":"file5"},{"photo_id":"1396266361","filename":"file2"},{"photo_id":"1396266378","filename":"file4"},{"photo_id":"1396266358","filename":"file1"},{"photo_id":"1396266346","filename":"file0"},{"photo_id":"1396266363","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396266346":["hashtag1","hashtag2"]},{"1396266378":["hashtag1","hashtag2"]},{"1396266363":["hashtag1","hashtag2"]},{"1396266380":["hashtag1","hashtag2"]},{"1396266361":["hashtag1","hashtag2"]},{"1396266358":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396266346, 1396266378, 1396266363, 1396266380, 1396266361, 1396266358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.715168476104736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:50:03.619505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/04/image_26112025_12_04_22_2677.jpg', '/home/pi/Desktop/images/26112025/12/04/image_26112025_12_04_25_2737.jpg', '/home/pi/Desktop/images/26112025/12/04/image_26112025_12_04_28_2792.jpg', '/home/pi/Desktop/images/26112025/12/04/image_26112025_12_04_32_3756.jpg', '/home/pi/Desktop/images/26112025/12/04/image_26112025_12_04_35_2836.jpg', '/home/pi/Desktop/images/26112025/12/04/image_26112025_12_04_37_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/04/image_26112025_12_04_22_2677.jpg
/home/pi/Desktop/images/26112025/12/04/image_26112025_12_04_25_2737.jpg
/home/pi/Desktop/images/26112025/12/04/image_26112025_12_04_28_2792.jpg
/home/pi/Desktop/images/26112025/12/04/image_26112025_12_04_32_3756.jpg
/home/pi/Desktop/images/26112025/12/04/image_26112025_12_04_35_2836.jpg
/home/pi/Desktop/images/26112025/12/04/image_26112025_12_04_37_2680.jpg
 val : 1 : upload photos already in processing! 
 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":["1396266390","1396266402","1396266392","1396266386","1396266398","1396266388"],"photo_ids_order":["1396266386","1396266388","1396266390","1396266392","1396266398","1396266402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/17eddc5bedd5d14d8e2b9f1559f64e03.jpg","text":"TemporaryFile(/tmp/multipartBody3437526801398902617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172264475,"filename":"image_26112025_12_04_28_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/26/ddc116f166e7a6f4b35ad36dc38f057f.jpg","text":"TemporaryFile(/tmp/multipartBody1153963736449086725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172264475,"filename":"image_26112025_12_04_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/26/c523f8c9729ef9cd0aa3c1eb07b190bf.jpg","text":"TemporaryFile(/tmp/multipartBody2448527517780562844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172264475,"filename":"image_26112025_12_04_32_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/26/b72425ec439e36a09c67e2ac20905572.jpg","text":"TemporaryFile(/tmp/multipartBody2859145341160555066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172264475,"filename":"image_26112025_12_04_22_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/26/e6683a5ad19f8e08b09b35682db09cee.jpg","text":"TemporaryFile(/tmp/multipartBody7720634882659762694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172264475,"filename":"image_26112025_12_04_35_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/26/af18a14cc6bbe2addeb264a77fc3992f.jpg","text":"TemporaryFile(/tmp/multipartBody3177786251888691257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172264475,"filename":"image_26112025_12_04_25_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396266390","file1":"1396266388","file0":"1396266386","file4":"1396266398","file5":"1396266402","file3":"1396266392"},"map_files_photo_id_array":[{"photo_id":"1396266402","filename":"file5"},{"photo_id":"1396266390","filename":"file2"},{"photo_id":"1396266398","filename":"file4"},{"photo_id":"1396266388","filename":"file1"},{"photo_id":"1396266386","filename":"file0"},{"photo_id":"1396266392","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396266390":["hashtag1","hashtag2"]},{"1396266402":["hashtag1","hashtag2"]},{"1396266392":["hashtag1","hashtag2"]},{"1396266386":["hashtag1","hashtag2"]},{"1396266398":["hashtag1","hashtag2"]},{"1396266388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396266390, 1396266402, 1396266392, 1396266386, 1396266398, 1396266388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19205856323242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:51:02.561198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/04/image_26112025_12_04_40_2727.jpg', '/home/pi/Desktop/images/26112025/12/06/image_26112025_12_06_07_3011.jpg', '/home/pi/Desktop/images/26112025/12/06/image_26112025_12_06_10_3538.jpg', '/home/pi/Desktop/images/26112025/12/06/image_26112025_12_06_13_2887.jpg', '/home/pi/Desktop/images/26112025/12/06/image_26112025_12_06_16_2697.jpg', '/home/pi/Desktop/images/26112025/12/06/image_26112025_12_06_19_3684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/04/image_26112025_12_04_40_2727.jpg
/home/pi/Desktop/images/26112025/12/06/image_26112025_12_06_07_3011.jpg
/home/pi/Desktop/images/26112025/12/06/image_26112025_12_06_10_3538.jpg
/home/pi/Desktop/images/26112025/12/06/image_26112025_12_06_13_2887.jpg
/home/pi/Desktop/images/26112025/12/06/image_26112025_12_06_16_2697.jpg
/home/pi/Desktop/images/26112025/12/06/image_26112025_12_06_19_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":["1396266418","1396266412","1396266414","1396266425","1396266416","1396266421"],"photo_ids_order":["1396266412","1396266414","1396266416","1396266418","1396266421","1396266425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/669d3ebd756d39adef960fe03c2f1515.jpg","text":"TemporaryFile(/tmp/multipartBody3886176507004008276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172323457,"filename":"image_26112025_12_06_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/26/4698ed4ff04f666f0695de30b2cff57a.jpg","text":"TemporaryFile(/tmp/multipartBody4263037539638270577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172323457,"filename":"image_26112025_12_04_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/26/e38ad6a732285bf803691dc9a46d7e13.jpg","text":"TemporaryFile(/tmp/multipartBody5056701678060169076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172323457,"filename":"image_26112025_12_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/26/9873e75a07359ee9b5470ca70c08baa8.jpg","text":"TemporaryFile(/tmp/multipartBody7966692522831533539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172323457,"filename":"image_26112025_12_06_19_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/26/091a70434120da1a484f5073a8c2f0d9.jpg","text":"TemporaryFile(/tmp/multipartBody4883739910838020415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172323457,"filename":"image_26112025_12_06_10_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/26/1604f88b8dbce813bd73c0878ff3d502.jpg","text":"TemporaryFile(/tmp/multipartBody157881000208299242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172323457,"filename":"image_26112025_12_06_16_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396266416","file1":"1396266414","file0":"1396266412","file4":"1396266421","file5":"1396266425","file3":"1396266418"},"map_files_photo_id_array":[{"photo_id":"1396266425","filename":"file5"},{"photo_id":"1396266416","filename":"file2"},{"photo_id":"1396266421","filename":"file4"},{"photo_id":"1396266414","filename":"file1"},{"photo_id":"1396266412","filename":"file0"},{"photo_id":"1396266418","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396266418":["hashtag1","hashtag2"]},{"1396266412":["hashtag1","hashtag2"]},{"1396266414":["hashtag1","hashtag2"]},{"1396266425":["hashtag1","hashtag2"]},{"1396266416":["hashtag1","hashtag2"]},{"1396266421":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396266418, 1396266412, 1396266414, 1396266425, 1396266416, 1396266421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.227519035339355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 16:51:41.928502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/06/image_26112025_12_06_22_2614.jpg', '/home/pi/Desktop/images/26112025/12/06/image_26112025_12_06_25_2731.jpg', '/home/pi/Desktop/images/26112025/12/08/image_26112025_12_08_07_3056.jpg', '/home/pi/Desktop/images/26112025/12/08/image_26112025_12_08_19_11981.jpg', '/home/pi/Desktop/images/26112025/12/08/image_26112025_12_08_21_1693.jpg', '/home/pi/Desktop/images/26112025/12/08/image_26112025_12_08_23_1580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/06/image_26112025_12_06_22_2614.jpg
/home/pi/Desktop/images/26112025/12/06/image_26112025_12_06_25_2731.jpg
/home/pi/Desktop/images/26112025/12/08/image_26112025_12_08_07_3056.jpg
/home/pi/Desktop/images/26112025/12/08/image_26112025_12_08_19_11981.jpg
/home/pi/Desktop/images/26112025/12/08/image_26112025_12_08_21_1693.jpg
/home/pi/Desktop/images/26112025/12/08/image_26112025_12_08_23_1580.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":["1396266439","1396266441","1396266438","1396266437","1396266440","1396266434"],"photo_ids_order":["1396266434","1396266437","1396266438","1396266439","1396266440","1396266441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d6e7ca9719c0ebed3d17b5ed22c0420c.jpg","text":"TemporaryFile(/tmp/multipartBody8748974706950515467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172362743,"filename":"image_26112025_12_08_19_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/26/ac0745af9e8e14065b419504d7ad98c9.jpg","text":"TemporaryFile(/tmp/multipartBody8648229053038119010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172362743,"filename":"image_26112025_12_08_23_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/26/af7264dc2fa23b0b0835bb5f139ffd9b.jpg","text":"TemporaryFile(/tmp/multipartBody6618040239612726582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172362743,"filename":"image_26112025_12_08_07_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/26/5cfc78395ae53f563cd05df0b724623f.jpg","text":"TemporaryFile(/tmp/multipartBody1894526005331864089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172362743,"filename":"image_26112025_12_06_25_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/26/4888f531926a29108fcb8a79ed45258c.jpg","text":"TemporaryFile(/tmp/multipartBody724285674899521142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172362743,"filename":"image_26112025_12_08_21_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/26/8373f5dda3e5a5489c16b53f1eda1a9c.jpg","text":"TemporaryFile(/tmp/multipartBody7833142766906412966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172362743,"filename":"image_26112025_12_06_22_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396266438","file1":"1396266437","file0":"1396266434","file4":"1396266440","file5":"1396266441","file3":"1396266439"},"map_files_photo_id_array":[{"photo_id":"1396266441","filename":"file5"},{"photo_id":"1396266438","filename":"file2"},{"photo_id":"1396266440","filename":"file4"},{"photo_id":"1396266437","filename":"file1"},{"photo_id":"1396266434","filename":"file0"},{"photo_id":"1396266439","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396266439":["hashtag1","hashtag2"]},{"1396266441":["hashtag1","hashtag2"]},{"1396266438":["hashtag1","hashtag2"]},{"1396266437":["hashtag1","hashtag2"]},{"1396266440":["hashtag1","hashtag2"]},{"1396266434":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396266439, 1396266441, 1396266438, 1396266437, 1396266440, 1396266434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82256317138672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 16:52:22.063939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/08/image_26112025_12_08_47_24486.jpg', '/home/pi/Desktop/images/26112025/12/08/image_26112025_12_08_49_1920.jpg', '/home/pi/Desktop/images/26112025/12/08/image_26112025_12_08_51_1824.jpg', '/home/pi/Desktop/images/26112025/12/08/image_26112025_12_08_52_1658.jpg', '/home/pi/Desktop/images/26112025/12/08/image_26112025_12_08_54_1837.jpg', '/home/pi/Desktop/images/26112025/12/08/image_26112025_12_08_56_1799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/08/image_26112025_12_08_47_24486.jpg
/home/pi/Desktop/images/26112025/12/08/image_26112025_12_08_49_1920.jpg
/home/pi/Desktop/images/26112025/12/08/image_26112025_12_08_51_1824.jpg
/home/pi/Desktop/images/26112025/12/08/image_26112025_12_08_52_1658.jpg
/home/pi/Desktop/images/26112025/12/08/image_26112025_12_08_54_1837.jpg
/home/pi/Desktop/images/26112025/12/08/image_26112025_12_08_56_1799.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":["1396266458","1396266466","1396266451","1396266469","1396266454","1396266448"],"photo_ids_order":["1396266448","1396266451","1396266454","1396266458","1396266466","1396266469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8fa33657f7aaa89d368f95d8f5bedcef.jpg","text":"TemporaryFile(/tmp/multipartBody7217006707424023398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172402877,"filename":"image_26112025_12_08_52_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/26/861b55ecb09d669e50b812c70dbfa5e8.jpg","text":"TemporaryFile(/tmp/multipartBody6362204545037401283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172402877,"filename":"image_26112025_12_08_54_1837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ab22dde8f5e47817daa175800fa3bfdd.jpg","text":"TemporaryFile(/tmp/multipartBody4530502571638398217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172402877,"filename":"image_26112025_12_08_49_1920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/122f740a9c641b4ece6462005b86b5ff.jpg","text":"TemporaryFile(/tmp/multipartBody3456947938490520458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172402877,"filename":"image_26112025_12_08_56_1799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a9fc2de0f122f78ce4bcb8627a0120cb.jpg","text":"TemporaryFile(/tmp/multipartBody8691510601040170472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172402877,"filename":"image_26112025_12_08_51_1824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bb2fcb8e62769487b292bb3706997c5d.jpg","text":"TemporaryFile(/tmp/multipartBody9138667123899417644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172402877,"filename":"image_26112025_12_08_47_24486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396266454","file1":"1396266451","file0":"1396266448","file4":"1396266466","file5":"1396266469","file3":"1396266458"},"map_files_photo_id_array":[{"photo_id":"1396266469","filename":"file5"},{"photo_id":"1396266454","filename":"file2"},{"photo_id":"1396266466","filename":"file4"},{"photo_id":"1396266451","filename":"file1"},{"photo_id":"1396266448","filename":"file0"},{"photo_id":"1396266458","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396266458":["hashtag1","hashtag2"]},{"1396266466":["hashtag1","hashtag2"]},{"1396266451":["hashtag1","hashtag2"]},{"1396266469":["hashtag1","hashtag2"]},{"1396266454":["hashtag1","hashtag2"]},{"1396266448":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396266458, 1396266466, 1396266451, 1396266469, 1396266454, 1396266448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30370330810547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:53:02.862371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/08/image_26112025_12_08_58_1517.jpg', '/home/pi/Desktop/images/26112025/12/10/image_26112025_12_10_07_3011.jpg', '/home/pi/Desktop/images/26112025/12/10/image_26112025_12_10_11_3620.jpg', '/home/pi/Desktop/images/26112025/12/10/image_26112025_12_10_13_2700.jpg', '/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_07_3011.jpg', '/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_11_3874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/08/image_26112025_12_08_58_1517.jpg
/home/pi/Desktop/images/26112025/12/10/image_26112025_12_10_07_3011.jpg
/home/pi/Desktop/images/26112025/12/10/image_26112025_12_10_11_3620.jpg
/home/pi/Desktop/images/26112025/12/10/image_26112025_12_10_13_2700.jpg
/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_07_3011.jpg
/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_11_3874.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":["1396266474","1396266473","1396266482","1396266478","1396266472","1396266475"],"photo_ids_order":["1396266472","1396266473","1396266474","1396266475","1396266478","1396266482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/563ab788b3b222e54b47e22d359c8a98.jpg","text":"TemporaryFile(/tmp/multipartBody216880331532069531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172443806,"filename":"image_26112025_12_10_11_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/26/d12def452484a274f54f12c7451bc3fe.jpg","text":"TemporaryFile(/tmp/multipartBody4657968543908877373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172443806,"filename":"image_26112025_12_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/26/3d48b493a5f2d1b2d09fa358e5231bfa.jpg","text":"TemporaryFile(/tmp/multipartBody6047595340456576401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172443806,"filename":"image_26112025_12_12_11_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/26/04591071406b6fc9d1274754336b7b89.jpg","text":"TemporaryFile(/tmp/multipartBody9180974238452786495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172443806,"filename":"image_26112025_12_12_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/26/279fc389726138a79bb70a48ff170800.jpg","text":"TemporaryFile(/tmp/multipartBody5714614492924772439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172443806,"filename":"image_26112025_12_08_58_1517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/290c3becd6c535bc9ba138f289bee4af.jpg","text":"TemporaryFile(/tmp/multipartBody8980840568946305381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172443806,"filename":"image_26112025_12_10_13_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396266474","file1":"1396266473","file0":"1396266472","file4":"1396266478","file5":"1396266482","file3":"1396266475"},"map_files_photo_id_array":[{"photo_id":"1396266482","filename":"file5"},{"photo_id":"1396266474","filename":"file2"},{"photo_id":"1396266478","filename":"file4"},{"photo_id":"1396266473","filename":"file1"},{"photo_id":"1396266472","filename":"file0"},{"photo_id":"1396266475","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396266474":["hashtag1","hashtag2"]},{"1396266473":["hashtag1","hashtag2"]},{"1396266482":["hashtag1","hashtag2"]},{"1396266478":["hashtag1","hashtag2"]},{"1396266472":["hashtag1","hashtag2"]},{"1396266475":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396266474, 1396266473, 1396266482, 1396266478, 1396266472, 1396266475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88269376754761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 16:53:42.283377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_13_2576.jpg', '/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_16_2618.jpg', '/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_20_3766.jpg', '/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_22_2634.jpg', '/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_25_2765.jpg', '/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_29_3675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_13_2576.jpg
/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_16_2618.jpg
/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_20_3766.jpg
/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_22_2634.jpg
/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_25_2765.jpg
/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_29_3675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396266492","1396266491","1396266494","1396266488","1396266490","1396266493"],"photo_ids_order":["1396266488","1396266490","1396266491","1396266492","1396266493","1396266494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/19f40da6c4e64055c0255228c5a47241.jpg","text":"TemporaryFile(/tmp/multipartBody7517826627779777307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172483104,"filename":"image_26112025_12_12_22_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/26/afd1027ec5605e67743952d4e4898028.jpg","text":"TemporaryFile(/tmp/multipartBody7293101027568159827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172483104,"filename":"image_26112025_12_12_20_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/26/3fb496c31f39b4e42148f721e8e49e64.jpg","text":"TemporaryFile(/tmp/multipartBody5693269710262684104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172483104,"filename":"image_26112025_12_12_29_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/26/c6abbb92dc710b776d08a684f527f167.jpg","text":"TemporaryFile(/tmp/multipartBody7408000190759185783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172483104,"filename":"image_26112025_12_12_13_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9f110a999500ec6222b7279f3da1dbf8.jpg","text":"TemporaryFile(/tmp/multipartBody6246381609548403957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172483104,"filename":"image_26112025_12_12_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/26/825883f4ea2ba2a38eefee22e5262f11.jpg","text":"TemporaryFile(/tmp/multipartBody5054706774351365078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172483104,"filename":"image_26112025_12_12_25_2765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396266491","file1":"1396266490","file0":"1396266488","file4":"1396266493","file5":"1396266494","file3":"1396266492"},"map_files_photo_id_array":[{"photo_id":"1396266494","filename":"file5"},{"photo_id":"1396266491","filename":"file2"},{"photo_id":"1396266493","filename":"file4"},{"photo_id":"1396266490","filename":"file1"},{"photo_id":"1396266488","filename":"file0"},{"photo_id":"1396266492","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396266492":["hashtag1","hashtag2"]},{"1396266491":["hashtag1","hashtag2"]},{"1396266494":["hashtag1","hashtag2"]},{"1396266488":["hashtag1","hashtag2"]},{"1396266490":["hashtag1","hashtag2"]},{"1396266493":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396266492, 1396266491, 1396266494, 1396266488, 1396266490, 1396266493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86070132255554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 16:54:22.520285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_31_2590.jpg', '/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_34_2665.jpg', '/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_38_3747.jpg', '/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_40_2666.jpg', '/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_43_2825.jpg', '/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_46_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_31_2590.jpg
/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_34_2665.jpg
/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_38_3747.jpg
/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_40_2666.jpg
/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_43_2825.jpg
/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_46_2631.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":["1396266497","1396266503","1396266512","1396266506","1396266515","1396266500"],"photo_ids_order":["1396266497","1396266500","1396266503","1396266506","1396266512","1396266515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/67f7db9dfdb0e8ff01329deb6d24cbad.jpg","text":"TemporaryFile(/tmp/multipartBody6853605648846797217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172523346,"filename":"image_26112025_12_12_31_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/26/ec96965e3cb0a2c8ff12aefc2addb15a.jpg","text":"TemporaryFile(/tmp/multipartBody129435953036258949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172523346,"filename":"image_26112025_12_12_38_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/26/a25e567d890ed7c1f2ff85d6bc6a1a18.jpg","text":"TemporaryFile(/tmp/multipartBody6906503751369669887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172523346,"filename":"image_26112025_12_12_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/26/dc0bc4eb3441bd5b0a601796a5eae18d.jpg","text":"TemporaryFile(/tmp/multipartBody5167895535426675493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172523346,"filename":"image_26112025_12_12_40_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/73e7ceba5f8a7c5cea5ad67a4877a6f9.jpg","text":"TemporaryFile(/tmp/multipartBody5363550956673081679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172523346,"filename":"image_26112025_12_12_46_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/84a968de806d3642c35792e60d93a5d9.jpg","text":"TemporaryFile(/tmp/multipartBody5150044696458932709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172523346,"filename":"image_26112025_12_12_34_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396266503","file1":"1396266500","file0":"1396266497","file4":"1396266512","file5":"1396266515","file3":"1396266506"},"map_files_photo_id_array":[{"photo_id":"1396266515","filename":"file5"},{"photo_id":"1396266503","filename":"file2"},{"photo_id":"1396266512","filename":"file4"},{"photo_id":"1396266500","filename":"file1"},{"photo_id":"1396266497","filename":"file0"},{"photo_id":"1396266506","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396266497":["hashtag1","hashtag2"]},{"1396266503":["hashtag1","hashtag2"]},{"1396266512":["hashtag1","hashtag2"]},{"1396266506":["hashtag1","hashtag2"]},{"1396266515":["hashtag1","hashtag2"]},{"1396266500":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396266497, 1396266503, 1396266512, 1396266506, 1396266515, 1396266500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.891382455825806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:55:03.248569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_49_3654.jpg', '/home/pi/Desktop/images/26112025/12/14/image_26112025_12_14_07_3011.jpg', '/home/pi/Desktop/images/26112025/12/14/image_26112025_12_14_13_2672.jpg', '/home/pi/Desktop/images/26112025/12/14/image_26112025_12_14_17_3704.jpg', '/home/pi/Desktop/images/26112025/12/16/image_26112025_12_16_07_3011.jpg', '/home/pi/Desktop/images/26112025/12/16/image_26112025_12_16_10_3015.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/12/image_26112025_12_12_49_3654.jpg
/home/pi/Desktop/images/26112025/12/14/image_26112025_12_14_07_3011.jpg
/home/pi/Desktop/images/26112025/12/14/image_26112025_12_14_13_2672.jpg
/home/pi/Desktop/images/26112025/12/14/image_26112025_12_14_17_3704.jpg
/home/pi/Desktop/images/26112025/12/16/image_26112025_12_16_07_3011.jpg
/home/pi/Desktop/images/26112025/12/16/image_26112025_12_16_10_3015.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":["1396266523","1396266531","1396266525","1396266528","1396266527","1396266535"],"photo_ids_order":["1396266523","1396266525","1396266527","1396266528","1396266531","1396266535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8360d3583b4bd75b01bc93675deffbfa.jpg","text":"TemporaryFile(/tmp/multipartBody1619907823077952463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172564219,"filename":"image_26112025_12_12_49_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/26/5098f9a58d2d0237f72e967c6bc038f4.jpg","text":"TemporaryFile(/tmp/multipartBody8556978511507492874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172564219,"filename":"image_26112025_12_16_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5f6f542441cad9e8689954a2921c66e7.jpg","text":"TemporaryFile(/tmp/multipartBody7242050653109002284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172564219,"filename":"image_26112025_12_14_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/26/26c3df12b31bf0fc0b50ab543fcd8cc2.jpg","text":"TemporaryFile(/tmp/multipartBody5606474915204263871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172564219,"filename":"image_26112025_12_14_17_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/26/e270d1fa29834d42036e1eb05b5f19a4.jpg","text":"TemporaryFile(/tmp/multipartBody2272713215959610548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172564219,"filename":"image_26112025_12_14_13_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/26/5b0d3d7f59ce67cd4bd9e0a03355a5fa.jpg","text":"TemporaryFile(/tmp/multipartBody5004483425205134523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172564219,"filename":"image_26112025_12_16_10_3015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396266527","file1":"1396266525","file0":"1396266523","file4":"1396266531","file5":"1396266535","file3":"1396266528"},"map_files_photo_id_array":[{"photo_id":"1396266535","filename":"file5"},{"photo_id":"1396266527","filename":"file2"},{"photo_id":"1396266531","filename":"file4"},{"photo_id":"1396266525","filename":"file1"},{"photo_id":"1396266523","filename":"file0"},{"photo_id":"1396266528","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396266523":["hashtag1","hashtag2"]},{"1396266531":["hashtag1","hashtag2"]},{"1396266525":["hashtag1","hashtag2"]},{"1396266528":["hashtag1","hashtag2"]},{"1396266527":["hashtag1","hashtag2"]},{"1396266535":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396266523, 1396266531, 1396266525, 1396266528, 1396266527, 1396266535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.379745960235596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 16:55:42.594789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/16/image_26112025_12_16_13_3765.jpg', '/home/pi/Desktop/images/26112025/12/16/image_26112025_12_16_16_2659.jpg', '/home/pi/Desktop/images/26112025/12/16/image_26112025_12_16_19_2648.jpg', '/home/pi/Desktop/images/26112025/12/16/image_26112025_12_16_25_2734.jpg', '/home/pi/Desktop/images/26112025/12/16/image_26112025_12_16_28_2708.jpg', '/home/pi/Desktop/images/26112025/12/16/image_26112025_12_16_31_3639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/16/image_26112025_12_16_13_3765.jpg
/home/pi/Desktop/images/26112025/12/16/image_26112025_12_16_16_2659.jpg
/home/pi/Desktop/images/26112025/12/16/image_26112025_12_16_19_2648.jpg
/home/pi/Desktop/images/26112025/12/16/image_26112025_12_16_25_2734.jpg
/home/pi/Desktop/images/26112025/12/16/image_26112025_12_16_28_2708.jpg
/home/pi/Desktop/images/26112025/12/16/image_26112025_12_16_31_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":["1396266543","1396266546","1396266549","1396266548","1396266545","1396266547"],"photo_ids_order":["1396266543","1396266545","1396266546","1396266547","1396266548","1396266549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9c125665a074a5cb7d80f220482b3f4d.jpg","text":"TemporaryFile(/tmp/multipartBody7768199235845719983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172603414,"filename":"image_26112025_12_16_13_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/26/b5f90c88b32b41724e7dbf8f5026270c.jpg","text":"TemporaryFile(/tmp/multipartBody4208305631313493983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172603414,"filename":"image_26112025_12_16_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/26/b26ad0cd80c224ec2afed7999bb22cd0.jpg","text":"TemporaryFile(/tmp/multipartBody7822907577443516669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172603414,"filename":"image_26112025_12_16_31_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/26/c93c15fd5b0499537d6a82486e71a4fd.jpg","text":"TemporaryFile(/tmp/multipartBody2105898304809244654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172603414,"filename":"image_26112025_12_16_28_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/26/7be666e219369c77dbc2c390e6592fe4.jpg","text":"TemporaryFile(/tmp/multipartBody965788501269850915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172603414,"filename":"image_26112025_12_16_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/26/bbdaaba1c2cffff5da1456670dcee210.jpg","text":"TemporaryFile(/tmp/multipartBody8564077577246680539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172603414,"filename":"image_26112025_12_16_25_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396266546","file1":"1396266545","file0":"1396266543","file4":"1396266548","file5":"1396266549","file3":"1396266547"},"map_files_photo_id_array":[{"photo_id":"1396266549","filename":"file5"},{"photo_id":"1396266546","filename":"file2"},{"photo_id":"1396266548","filename":"file4"},{"photo_id":"1396266545","filename":"file1"},{"photo_id":"1396266543","filename":"file0"},{"photo_id":"1396266547","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396266543":["hashtag1","hashtag2"]},{"1396266546":["hashtag1","hashtag2"]},{"1396266549":["hashtag1","hashtag2"]},{"1396266548":["hashtag1","hashtag2"]},{"1396266545":["hashtag1","hashtag2"]},{"1396266547":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396266543, 1396266546, 1396266549, 1396266548, 1396266545, 1396266547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46047639846802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 16:56:22.774565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/16/image_26112025_12_16_37_2724.jpg', '/home/pi/Desktop/images/26112025/12/16/image_26112025_12_16_40_2894.jpg', '/home/pi/Desktop/images/26112025/12/16/image_26112025_12_16_44_3622.jpg', '/home/pi/Desktop/images/26112025/12/16/image_26112025_12_16_49_2838.jpg', '/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_07_3011.jpg', '/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_11_3532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/16/image_26112025_12_16_37_2724.jpg
/home/pi/Desktop/images/26112025/12/16/image_26112025_12_16_40_2894.jpg
/home/pi/Desktop/images/26112025/12/16/image_26112025_12_16_44_3622.jpg
/home/pi/Desktop/images/26112025/12/16/image_26112025_12_16_49_2838.jpg
/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_07_3011.jpg
/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_11_3532.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":["1396266582","1396266558","1396266566","1396266575","1396266578","1396266562"],"photo_ids_order":["1396266558","1396266562","1396266566","1396266575","1396266578","1396266582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/74b1844faf54ea1fec91c5fe63cf6f04.jpg","text":"TemporaryFile(/tmp/multipartBody491607994421866089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172643596,"filename":"image_26112025_12_18_11_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/26/e6835f62310bb62df11d7859b4c8607b.jpg","text":"TemporaryFile(/tmp/multipartBody125123537519086460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172643596,"filename":"image_26112025_12_16_37_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/26/739e301714881ecf22c02cd9565264b2.jpg","text":"TemporaryFile(/tmp/multipartBody2179860469335659619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172643596,"filename":"image_26112025_12_16_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/26/a4908daa7910209e8df46e4c8ebc012f.jpg","text":"TemporaryFile(/tmp/multipartBody698738154796548496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172643596,"filename":"image_26112025_12_16_49_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/26/3fe65e9af8df7eed32a970a1779dd4c8.jpg","text":"TemporaryFile(/tmp/multipartBody4560666915870447418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172643596,"filename":"image_26112025_12_18_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/26/7acc4d9bb9cdb43b81a57e6e7d96d965.jpg","text":"TemporaryFile(/tmp/multipartBody6948157451626927457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172643596,"filename":"image_26112025_12_16_40_2894.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396266566","file1":"1396266562","file0":"1396266558","file4":"1396266578","file5":"1396266582","file3":"1396266575"},"map_files_photo_id_array":[{"photo_id":"1396266582","filename":"file5"},{"photo_id":"1396266566","filename":"file2"},{"photo_id":"1396266578","filename":"file4"},{"photo_id":"1396266562","filename":"file1"},{"photo_id":"1396266558","filename":"file0"},{"photo_id":"1396266575","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396266582":["hashtag1","hashtag2"]},{"1396266558":["hashtag1","hashtag2"]},{"1396266566":["hashtag1","hashtag2"]},{"1396266575":["hashtag1","hashtag2"]},{"1396266578":["hashtag1","hashtag2"]},{"1396266562":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396266582, 1396266558, 1396266566, 1396266575, 1396266578, 1396266562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.81777858734131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:57:03.984592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_14_2703.jpg', '/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_17_3665.jpg', '/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_20_2683.jpg', '/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_23_2736.jpg', '/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_26_2977.jpg', '/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_29_3604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_14_2703.jpg
/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_17_3665.jpg
/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_20_2683.jpg
/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_23_2736.jpg
/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_26_2977.jpg
/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_29_3604.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":["1396266610","1396266588","1396266590","1396266593","1396266595","1396266586"],"photo_ids_order":["1396266586","1396266588","1396266590","1396266593","1396266595","1396266610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/340db313519954111f79cd5292998f03.jpg","text":"TemporaryFile(/tmp/multipartBody4246251988751930905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172684888,"filename":"image_26112025_12_18_29_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/26/45660cd7abae2e843383cab796ac9901.jpg","text":"TemporaryFile(/tmp/multipartBody3921289000141345789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172684888,"filename":"image_26112025_12_18_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/26/1064d4a7c134d215e651a775de067e58.jpg","text":"TemporaryFile(/tmp/multipartBody3586168842096297925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172684888,"filename":"image_26112025_12_18_20_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/26/7fec064ea1ba789f9259d016211d10e2.jpg","text":"TemporaryFile(/tmp/multipartBody4593483619866009754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172684888,"filename":"image_26112025_12_18_23_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/26/3464c733fdf6b1b2cee5354dd5a53494.jpg","text":"TemporaryFile(/tmp/multipartBody3527906753499121776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172684888,"filename":"image_26112025_12_18_26_2977.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7799dc6ae1135283e050d8d7d7605b47.jpg","text":"TemporaryFile(/tmp/multipartBody7712205191266218745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172684888,"filename":"image_26112025_12_18_14_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396266590","file1":"1396266588","file0":"1396266586","file4":"1396266595","file5":"1396266610","file3":"1396266593"},"map_files_photo_id_array":[{"photo_id":"1396266610","filename":"file5"},{"photo_id":"1396266590","filename":"file2"},{"photo_id":"1396266595","filename":"file4"},{"photo_id":"1396266588","filename":"file1"},{"photo_id":"1396266586","filename":"file0"},{"photo_id":"1396266593","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396266610":["hashtag1","hashtag2"]},{"1396266588":["hashtag1","hashtag2"]},{"1396266590":["hashtag1","hashtag2"]},{"1396266593":["hashtag1","hashtag2"]},{"1396266595":["hashtag1","hashtag2"]},{"1396266586":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396266610, 1396266588, 1396266590, 1396266593, 1396266595, 1396266586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3435423374176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 16:57:43.400450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_32_2781.jpg', '/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_35_2939.jpg', '/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_38_2830.jpg', '/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_41_2745.jpg', '/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_44_3663.jpg', '/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_47_2746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_32_2781.jpg
/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_35_2939.jpg
/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_38_2830.jpg
/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_41_2745.jpg
/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_44_3663.jpg
/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_47_2746.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396266642","1396266636","1396266633","1396266644","1396266638","1396266640"],"photo_ids_order":["1396266633","1396266636","1396266638","1396266640","1396266642","1396266644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e421bea5ef98977d6514e987b9a0b487.jpg","text":"TemporaryFile(/tmp/multipartBody2988810123774387245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172724218,"filename":"image_26112025_12_18_44_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c221555920d07def1b1d37a8a176c1c0.jpg","text":"TemporaryFile(/tmp/multipartBody3973465155758497298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172724218,"filename":"image_26112025_12_18_35_2939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2ce2a81a376271084d92ff7a0c2b0b2a.jpg","text":"TemporaryFile(/tmp/multipartBody3064212091414498389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172724218,"filename":"image_26112025_12_18_32_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/26/c3906a209f7c8f442c34c6bb5a58f000.jpg","text":"TemporaryFile(/tmp/multipartBody1915268863340261964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172724218,"filename":"image_26112025_12_18_47_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/26/a405d4cac0ef63a95ab3504cc52ed928.jpg","text":"TemporaryFile(/tmp/multipartBody4410250492591951405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172724218,"filename":"image_26112025_12_18_38_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/26/358c4e8f3482fae2ec9b1d83ed8ef9e1.jpg","text":"TemporaryFile(/tmp/multipartBody6893608228709841478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172724218,"filename":"image_26112025_12_18_41_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396266638","file1":"1396266636","file0":"1396266633","file4":"1396266642","file5":"1396266644","file3":"1396266640"},"map_files_photo_id_array":[{"photo_id":"1396266644","filename":"file5"},{"photo_id":"1396266638","filename":"file2"},{"photo_id":"1396266642","filename":"file4"},{"photo_id":"1396266636","filename":"file1"},{"photo_id":"1396266633","filename":"file0"},{"photo_id":"1396266640","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396266642":["hashtag1","hashtag2"]},{"1396266636":["hashtag1","hashtag2"]},{"1396266633":["hashtag1","hashtag2"]},{"1396266644":["hashtag1","hashtag2"]},{"1396266638":["hashtag1","hashtag2"]},{"1396266640":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396266642, 1396266636, 1396266633, 1396266644, 1396266638, 1396266640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52601718902588 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 16:59:03.694911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_50_2772.jpg', '/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_53_2830.jpg', '/home/pi/Desktop/images/26112025/12/20/image_26112025_12_20_07_3014.jpg', '/home/pi/Desktop/images/26112025/12/20/image_26112025_12_20_11_3748.jpg', '/home/pi/Desktop/images/26112025/12/20/image_26112025_12_20_14_3697.jpg', '/home/pi/Desktop/images/26112025/12/20/image_26112025_12_20_16_1782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_50_2772.jpg
/home/pi/Desktop/images/26112025/12/18/image_26112025_12_18_53_2830.jpg
/home/pi/Desktop/images/26112025/12/20/image_26112025_12_20_07_3014.jpg
/home/pi/Desktop/images/26112025/12/20/image_26112025_12_20_11_3748.jpg
/home/pi/Desktop/images/26112025/12/20/image_26112025_12_20_14_3697.jpg
/home/pi/Desktop/images/26112025/12/20/image_26112025_12_20_16_1782.jpg
 val : 1 : upload photos already in processing! 
 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":["1396266672","1396266678","1396266686","1396266682","1396266691","1396266667"],"photo_ids_order":["1396266667","1396266672","1396266678","1396266682","1396266686","1396266691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/abc6577bceeb753a47d263ec8c443bc1.jpg","text":"TemporaryFile(/tmp/multipartBody3710720171346961261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172804724,"filename":"image_26112025_12_18_53_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/26/66442ac3eb6ef965a36bc74e9d59d971.jpg","text":"TemporaryFile(/tmp/multipartBody4096800811738691491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172804724,"filename":"image_26112025_12_20_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/26/2f02b715e7ac2410ffc01e0a0316a8fc.jpg","text":"TemporaryFile(/tmp/multipartBody3279716521616271310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172804724,"filename":"image_26112025_12_20_14_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/26/6c7755a39ea352599f06a3fcaa097337.jpg","text":"TemporaryFile(/tmp/multipartBody5471871555922888300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172804724,"filename":"image_26112025_12_20_11_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/26/6e2c3c8177e0ecc38e9e3aa6ee49a62e.jpg","text":"TemporaryFile(/tmp/multipartBody6481832720375076019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172804724,"filename":"image_26112025_12_20_16_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/26/a7f877c3ccb5cb9eca1f3d2e2b23cf45.jpg","text":"TemporaryFile(/tmp/multipartBody331913597718205073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172804724,"filename":"image_26112025_12_18_50_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396266678","file1":"1396266672","file0":"1396266667","file4":"1396266686","file5":"1396266691","file3":"1396266682"},"map_files_photo_id_array":[{"photo_id":"1396266691","filename":"file5"},{"photo_id":"1396266678","filename":"file2"},{"photo_id":"1396266686","filename":"file4"},{"photo_id":"1396266672","filename":"file1"},{"photo_id":"1396266667","filename":"file0"},{"photo_id":"1396266682","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396266672":["hashtag1","hashtag2"]},{"1396266678":["hashtag1","hashtag2"]},{"1396266686":["hashtag1","hashtag2"]},{"1396266682":["hashtag1","hashtag2"]},{"1396266691":["hashtag1","hashtag2"]},{"1396266667":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396266672, 1396266678, 1396266686, 1396266682, 1396266691, 1396266667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.3967080116272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:00:02.322306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/20/image_26112025_12_20_19_2810.jpg', '/home/pi/Desktop/images/26112025/12/20/image_26112025_12_20_23_3584.jpg', '/home/pi/Desktop/images/26112025/12/20/image_26112025_12_20_25_2535.jpg', '/home/pi/Desktop/images/26112025/12/20/image_26112025_12_20_28_3330.jpg', '/home/pi/Desktop/images/26112025/12/22/image_26112025_12_22_07_3011.jpg', '/home/pi/Desktop/images/26112025/12/22/image_26112025_12_22_11_3726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/20/image_26112025_12_20_19_2810.jpg
/home/pi/Desktop/images/26112025/12/20/image_26112025_12_20_23_3584.jpg
/home/pi/Desktop/images/26112025/12/20/image_26112025_12_20_25_2535.jpg
/home/pi/Desktop/images/26112025/12/20/image_26112025_12_20_28_3330.jpg
/home/pi/Desktop/images/26112025/12/22/image_26112025_12_22_07_3011.jpg
/home/pi/Desktop/images/26112025/12/22/image_26112025_12_22_11_3726.jpg
 val : 1 : upload photos already in processing! 
 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":["1396266700","1396266698","1396266710","1396266704","1396266713","1396266707"],"photo_ids_order":["1396266698","1396266700","1396266704","1396266707","1396266710","1396266713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ad7fc6660affec8dc1852a4dbf90e251.jpg","text":"TemporaryFile(/tmp/multipartBody3643084810362206352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172863179,"filename":"image_26112025_12_20_23_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/26/6a83ed44fbc2b2dfa4bf9b0b7740981a.jpg","text":"TemporaryFile(/tmp/multipartBody2092864742214333074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172863179,"filename":"image_26112025_12_20_19_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1f690c89f249e0c6d1278d2384e31922.jpg","text":"TemporaryFile(/tmp/multipartBody6953059665594187336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172863179,"filename":"image_26112025_12_22_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/26/03516e67556c0d13504e9e9bbf6089b1.jpg","text":"TemporaryFile(/tmp/multipartBody2784483371758343162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172863179,"filename":"image_26112025_12_20_25_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/26/be4377fbf88e1fc001041c2f1741f651.jpg","text":"TemporaryFile(/tmp/multipartBody5281789744342998839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172863179,"filename":"image_26112025_12_22_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/26/66fa1301c6887a6c63bc35c42ca7744f.jpg","text":"TemporaryFile(/tmp/multipartBody4520394018162691538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172863179,"filename":"image_26112025_12_20_28_3330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396266704","file1":"1396266700","file0":"1396266698","file4":"1396266710","file5":"1396266713","file3":"1396266707"},"map_files_photo_id_array":[{"photo_id":"1396266713","filename":"file5"},{"photo_id":"1396266704","filename":"file2"},{"photo_id":"1396266710","filename":"file4"},{"photo_id":"1396266700","filename":"file1"},{"photo_id":"1396266698","filename":"file0"},{"photo_id":"1396266707","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396266700":["hashtag1","hashtag2"]},{"1396266698":["hashtag1","hashtag2"]},{"1396266710":["hashtag1","hashtag2"]},{"1396266704":["hashtag1","hashtag2"]},{"1396266713":["hashtag1","hashtag2"]},{"1396266707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396266700, 1396266698, 1396266710, 1396266704, 1396266713, 1396266707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.14669847488403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:01:02.698919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/22/image_26112025_12_22_13_2649.jpg', '/home/pi/Desktop/images/26112025/12/22/image_26112025_12_22_16_2625.jpg', '/home/pi/Desktop/images/26112025/12/22/image_26112025_12_22_20_3820.jpg', '/home/pi/Desktop/images/26112025/12/22/image_26112025_12_22_22_2715.jpg', '/home/pi/Desktop/images/26112025/12/22/image_26112025_12_22_25_2754.jpg', '/home/pi/Desktop/images/26112025/12/22/image_26112025_12_22_31_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/22/image_26112025_12_22_13_2649.jpg
/home/pi/Desktop/images/26112025/12/22/image_26112025_12_22_16_2625.jpg
/home/pi/Desktop/images/26112025/12/22/image_26112025_12_22_20_3820.jpg
/home/pi/Desktop/images/26112025/12/22/image_26112025_12_22_22_2715.jpg
/home/pi/Desktop/images/26112025/12/22/image_26112025_12_22_25_2754.jpg
/home/pi/Desktop/images/26112025/12/22/image_26112025_12_22_31_2669.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":["1396266726","1396266761","1396266743","1396266725","1396266730","1396266748"],"photo_ids_order":["1396266725","1396266726","1396266730","1396266743","1396266748","1396266761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9149a4cf7890b823383ba116fefe9eec.jpg","text":"TemporaryFile(/tmp/multipartBody3735966377633817550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172923619,"filename":"image_26112025_12_22_16_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/26/48acf41abfdef1afb60330eead99f16f.jpg","text":"TemporaryFile(/tmp/multipartBody1021060953926947951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172923619,"filename":"image_26112025_12_22_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/26/9df1506423416bc1cff54155a836356a.jpg","text":"TemporaryFile(/tmp/multipartBody1904399473251877164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172923619,"filename":"image_26112025_12_22_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/26/04618e57d6ff3563583fd202e906bb62.jpg","text":"TemporaryFile(/tmp/multipartBody9163289027136330382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172923619,"filename":"image_26112025_12_22_13_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cf25f52089ba6dc65bd244c1b2708489.jpg","text":"TemporaryFile(/tmp/multipartBody612320046424602364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172923619,"filename":"image_26112025_12_22_20_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/26/e874c2e8b1ed50254a91622c62a6d06e.jpg","text":"TemporaryFile(/tmp/multipartBody5445702512590846131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172923619,"filename":"image_26112025_12_22_25_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396266730","file1":"1396266726","file0":"1396266725","file4":"1396266748","file5":"1396266761","file3":"1396266743"},"map_files_photo_id_array":[{"photo_id":"1396266761","filename":"file5"},{"photo_id":"1396266730","filename":"file2"},{"photo_id":"1396266748","filename":"file4"},{"photo_id":"1396266726","filename":"file1"},{"photo_id":"1396266725","filename":"file0"},{"photo_id":"1396266743","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396266726":["hashtag1","hashtag2"]},{"1396266761":["hashtag1","hashtag2"]},{"1396266743":["hashtag1","hashtag2"]},{"1396266725":["hashtag1","hashtag2"]},{"1396266730":["hashtag1","hashtag2"]},{"1396266748":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396266726, 1396266761, 1396266743, 1396266725, 1396266730, 1396266748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.941924810409546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:01:42.079449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/22/image_26112025_12_22_34_2729.jpg', '/home/pi/Desktop/images/26112025/12/22/image_26112025_12_22_38_3639.jpg', '/home/pi/Desktop/images/26112025/12/25/image_26112025_12_25_07_3242.jpg', '/home/pi/Desktop/images/26112025/12/25/image_26112025_12_25_10_3743.jpg', '/home/pi/Desktop/images/26112025/12/25/image_26112025_12_25_13_2746.jpg', '/home/pi/Desktop/images/26112025/12/25/image_26112025_12_25_23_7385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/22/image_26112025_12_22_34_2729.jpg
/home/pi/Desktop/images/26112025/12/22/image_26112025_12_22_38_3639.jpg
/home/pi/Desktop/images/26112025/12/25/image_26112025_12_25_07_3242.jpg
/home/pi/Desktop/images/26112025/12/25/image_26112025_12_25_10_3743.jpg
/home/pi/Desktop/images/26112025/12/25/image_26112025_12_25_13_2746.jpg
/home/pi/Desktop/images/26112025/12/25/image_26112025_12_25_23_7385.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":["1396266802","1396266804","1396266801","1396266800","1396266796","1396266799"],"photo_ids_order":["1396266796","1396266799","1396266800","1396266801","1396266802","1396266804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a5a24031e6925c14ffb0d7cd89a35438.jpg","text":"TemporaryFile(/tmp/multipartBody1619216000622429464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172962950,"filename":"image_26112025_12_25_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/26/48f39b1e2f621eaeac1c9c92ea766585.jpg","text":"TemporaryFile(/tmp/multipartBody6851123940663008634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172962950,"filename":"image_26112025_12_25_23_7385.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ac98e5a57330b3bc9a1a3cc0b4a80bff.jpg","text":"TemporaryFile(/tmp/multipartBody8759989388129524760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172962950,"filename":"image_26112025_12_25_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/26/795fbb431b3c319fbafea23f35d9eac6.jpg","text":"TemporaryFile(/tmp/multipartBody3237173391670169115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172962950,"filename":"image_26112025_12_25_07_3242.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0dc02a2cce9bc8e715b44de840e4fda1.jpg","text":"TemporaryFile(/tmp/multipartBody3577454388773369051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172962950,"filename":"image_26112025_12_22_34_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/26/e2c605e794c31af10fc8d227460d4676.jpg","text":"TemporaryFile(/tmp/multipartBody5240356201338710343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764172962950,"filename":"image_26112025_12_22_38_3639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396266800","file1":"1396266799","file0":"1396266796","file4":"1396266802","file5":"1396266804","file3":"1396266801"},"map_files_photo_id_array":[{"photo_id":"1396266804","filename":"file5"},{"photo_id":"1396266800","filename":"file2"},{"photo_id":"1396266802","filename":"file4"},{"photo_id":"1396266799","filename":"file1"},{"photo_id":"1396266796","filename":"file0"},{"photo_id":"1396266801","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396266802":["hashtag1","hashtag2"]},{"1396266804":["hashtag1","hashtag2"]},{"1396266801":["hashtag1","hashtag2"]},{"1396266800":["hashtag1","hashtag2"]},{"1396266796":["hashtag1","hashtag2"]},{"1396266799":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396266802, 1396266804, 1396266801, 1396266800, 1396266796, 1396266799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51833653450012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 17:02:22.280389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/25/image_26112025_12_25_25_1795.jpg', '/home/pi/Desktop/images/26112025/12/25/image_26112025_12_25_27_1633.jpg', '/home/pi/Desktop/images/26112025/12/25/image_26112025_12_25_31_4697.jpg', '/home/pi/Desktop/images/26112025/12/25/image_26112025_12_25_33_1751.jpg', '/home/pi/Desktop/images/26112025/12/25/image_26112025_12_25_35_1858.jpg', '/home/pi/Desktop/images/26112025/12/25/image_26112025_12_25_37_1980.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/25/image_26112025_12_25_25_1795.jpg
/home/pi/Desktop/images/26112025/12/25/image_26112025_12_25_27_1633.jpg
/home/pi/Desktop/images/26112025/12/25/image_26112025_12_25_31_4697.jpg
/home/pi/Desktop/images/26112025/12/25/image_26112025_12_25_33_1751.jpg
/home/pi/Desktop/images/26112025/12/25/image_26112025_12_25_35_1858.jpg
/home/pi/Desktop/images/26112025/12/25/image_26112025_12_25_37_1980.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":["1396266825","1396266819","1396266833","1396266821","1396266815","1396266823"],"photo_ids_order":["1396266815","1396266819","1396266821","1396266823","1396266825","1396266833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8cdaf607fc9bb904f7107260d2db741e.jpg","text":"TemporaryFile(/tmp/multipartBody7589613787288415624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173003104,"filename":"image_26112025_12_25_35_1858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2e112f27f96b116fc3a861bf934755db.jpg","text":"TemporaryFile(/tmp/multipartBody2306003945609587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173003104,"filename":"image_26112025_12_25_27_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/26/65daa3a41d43703b9a0f0127ad51def6.jpg","text":"TemporaryFile(/tmp/multipartBody3023910715475953552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173003104,"filename":"image_26112025_12_25_37_1980.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0a447c7345d25341f71b2a149603e5be.jpg","text":"TemporaryFile(/tmp/multipartBody4409275160728134277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173003104,"filename":"image_26112025_12_25_31_4697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1a35d9ce3236b69c2663225a8907958a.jpg","text":"TemporaryFile(/tmp/multipartBody3918375727775769765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173003104,"filename":"image_26112025_12_25_25_1795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ffdd30e7fc656465c36960b2ad3195e3.jpg","text":"TemporaryFile(/tmp/multipartBody5777140169234256218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173003104,"filename":"image_26112025_12_25_33_1751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396266821","file1":"1396266819","file0":"1396266815","file4":"1396266825","file5":"1396266833","file3":"1396266823"},"map_files_photo_id_array":[{"photo_id":"1396266833","filename":"file5"},{"photo_id":"1396266821","filename":"file2"},{"photo_id":"1396266825","filename":"file4"},{"photo_id":"1396266819","filename":"file1"},{"photo_id":"1396266815","filename":"file0"},{"photo_id":"1396266823","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396266825":["hashtag1","hashtag2"]},{"1396266819":["hashtag1","hashtag2"]},{"1396266833":["hashtag1","hashtag2"]},{"1396266821":["hashtag1","hashtag2"]},{"1396266815":["hashtag1","hashtag2"]},{"1396266823":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396266825, 1396266819, 1396266833, 1396266821, 1396266815, 1396266823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.456502199172974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:03:03.243434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/25/image_26112025_12_25_40_2689.jpg', '/home/pi/Desktop/images/26112025/12/25/image_26112025_12_25_43_3778.jpg', '/home/pi/Desktop/images/26112025/12/25/image_26112025_12_25_46_2752.jpg', '/home/pi/Desktop/images/26112025/12/26/image_26112025_12_26_15_29332.jpg', '/home/pi/Desktop/images/26112025/12/28/image_26112025_12_28_07_3011.jpg', '/home/pi/Desktop/images/26112025/12/28/image_26112025_12_28_13_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/25/image_26112025_12_25_40_2689.jpg
/home/pi/Desktop/images/26112025/12/25/image_26112025_12_25_43_3778.jpg
/home/pi/Desktop/images/26112025/12/25/image_26112025_12_25_46_2752.jpg
/home/pi/Desktop/images/26112025/12/26/image_26112025_12_26_15_29332.jpg
/home/pi/Desktop/images/26112025/12/28/image_26112025_12_28_07_3011.jpg
/home/pi/Desktop/images/26112025/12/28/image_26112025_12_28_13_2637.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":["1396266852","1396266843","1396266863","1396266854","1396266856","1396266859"],"photo_ids_order":["1396266843","1396266852","1396266854","1396266856","1396266859","1396266863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bcc284961642723bb61c88accc878cda.jpg","text":"TemporaryFile(/tmp/multipartBody120308694910903882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173044192,"filename":"image_26112025_12_25_43_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/26/443bed4c057bb689e0cbb2c6b76d8a62.jpg","text":"TemporaryFile(/tmp/multipartBody5022892333537160937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173044192,"filename":"image_26112025_12_25_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/26/d0f50bd39e76e43a4ea08086038f0626.jpg","text":"TemporaryFile(/tmp/multipartBody2560055331848488053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173044192,"filename":"image_26112025_12_28_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/26/d9def56f1183e958a29a603cb170f97b.jpg","text":"TemporaryFile(/tmp/multipartBody5161269893123642319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173044192,"filename":"image_26112025_12_25_46_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/26/f51e4536c29661816d8e5d5176f555d8.jpg","text":"TemporaryFile(/tmp/multipartBody9104169158339202061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173044192,"filename":"image_26112025_12_26_15_29332.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7d0045b686023a0bcac9fec9c131803d.jpg","text":"TemporaryFile(/tmp/multipartBody2317981976536555184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173044192,"filename":"image_26112025_12_28_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396266854","file1":"1396266852","file0":"1396266843","file4":"1396266859","file5":"1396266863","file3":"1396266856"},"map_files_photo_id_array":[{"photo_id":"1396266863","filename":"file5"},{"photo_id":"1396266854","filename":"file2"},{"photo_id":"1396266859","filename":"file4"},{"photo_id":"1396266852","filename":"file1"},{"photo_id":"1396266843","filename":"file0"},{"photo_id":"1396266856","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396266852":["hashtag1","hashtag2"]},{"1396266843":["hashtag1","hashtag2"]},{"1396266863":["hashtag1","hashtag2"]},{"1396266854":["hashtag1","hashtag2"]},{"1396266856":["hashtag1","hashtag2"]},{"1396266859":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396266852, 1396266843, 1396266863, 1396266854, 1396266856, 1396266859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.512760400772095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:03:42.498487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/28/image_26112025_12_28_19_3690.jpg', '/home/pi/Desktop/images/26112025/12/28/image_26112025_12_28_22_2652.jpg', '/home/pi/Desktop/images/26112025/12/28/image_26112025_12_28_25_2668.jpg', '/home/pi/Desktop/images/26112025/12/28/image_26112025_12_28_31_2736.jpg', '/home/pi/Desktop/images/26112025/12/28/image_26112025_12_28_50_18622.jpg', '/home/pi/Desktop/images/26112025/12/28/image_26112025_12_28_52_1721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/28/image_26112025_12_28_19_3690.jpg
/home/pi/Desktop/images/26112025/12/28/image_26112025_12_28_22_2652.jpg
/home/pi/Desktop/images/26112025/12/28/image_26112025_12_28_25_2668.jpg
/home/pi/Desktop/images/26112025/12/28/image_26112025_12_28_31_2736.jpg
/home/pi/Desktop/images/26112025/12/28/image_26112025_12_28_50_18622.jpg
/home/pi/Desktop/images/26112025/12/28/image_26112025_12_28_52_1721.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":["1396266879","1396266876","1396266878","1396266872","1396266875","1396266877"],"photo_ids_order":["1396266872","1396266875","1396266876","1396266877","1396266878","1396266879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0cb0417bcb7a7b98d3cbf0ff46459c0c.jpg","text":"TemporaryFile(/tmp/multipartBody4280425251111034835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173083314,"filename":"image_26112025_12_28_52_1721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0ed2953149f963b7bf155866738d2208.jpg","text":"TemporaryFile(/tmp/multipartBody3710815097606931790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173083314,"filename":"image_26112025_12_28_25_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a486d14123a56fe636ad1c267e011318.jpg","text":"TemporaryFile(/tmp/multipartBody125512551983563909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173083314,"filename":"image_26112025_12_28_50_18622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e5d07fede9deb2049f7a8cd238400331.jpg","text":"TemporaryFile(/tmp/multipartBody714636544676529165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173083314,"filename":"image_26112025_12_28_19_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/618826353fa186e2c8a3e476b761fe47.jpg","text":"TemporaryFile(/tmp/multipartBody2618117580310646002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173083314,"filename":"image_26112025_12_28_22_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/26/750394678de1be6deebc7b4ff61ab425.jpg","text":"TemporaryFile(/tmp/multipartBody4056287104241585845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173083314,"filename":"image_26112025_12_28_31_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396266876","file1":"1396266875","file0":"1396266872","file4":"1396266878","file5":"1396266879","file3":"1396266877"},"map_files_photo_id_array":[{"photo_id":"1396266879","filename":"file5"},{"photo_id":"1396266876","filename":"file2"},{"photo_id":"1396266878","filename":"file4"},{"photo_id":"1396266875","filename":"file1"},{"photo_id":"1396266872","filename":"file0"},{"photo_id":"1396266877","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396266879":["hashtag1","hashtag2"]},{"1396266876":["hashtag1","hashtag2"]},{"1396266878":["hashtag1","hashtag2"]},{"1396266872":["hashtag1","hashtag2"]},{"1396266875":["hashtag1","hashtag2"]},{"1396266877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396266879, 1396266876, 1396266878, 1396266872, 1396266875, 1396266877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7238073348999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 17:04:22.689169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/28/image_26112025_12_28_53_1720.jpg', '/home/pi/Desktop/images/26112025/12/30/image_26112025_12_30_07_3015.jpg', '/home/pi/Desktop/images/26112025/12/30/image_26112025_12_30_11_3802.jpg', '/home/pi/Desktop/images/26112025/12/30/image_26112025_12_30_15_4401.jpg', '/home/pi/Desktop/images/26112025/12/30/image_26112025_12_30_17_1710.jpg', '/home/pi/Desktop/images/26112025/12/30/image_26112025_12_30_20_2740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/28/image_26112025_12_28_53_1720.jpg
/home/pi/Desktop/images/26112025/12/30/image_26112025_12_30_07_3015.jpg
/home/pi/Desktop/images/26112025/12/30/image_26112025_12_30_11_3802.jpg
/home/pi/Desktop/images/26112025/12/30/image_26112025_12_30_15_4401.jpg
/home/pi/Desktop/images/26112025/12/30/image_26112025_12_30_17_1710.jpg
/home/pi/Desktop/images/26112025/12/30/image_26112025_12_30_20_2740.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":["1396266897","1396266891","1396266894","1396266903","1396266900","1396266887"],"photo_ids_order":["1396266887","1396266891","1396266894","1396266897","1396266900","1396266903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c136f03c43a6fcd906dbf98f89276fc0.jpg","text":"TemporaryFile(/tmp/multipartBody8188170266297451650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173123557,"filename":"image_26112025_12_30_15_4401.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a748929703d4a118ffd539affd02766e.jpg","text":"TemporaryFile(/tmp/multipartBody1235898721417373285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173123557,"filename":"image_26112025_12_30_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/26/a5553a7ad91325ce7b4a9e4d6114c17d.jpg","text":"TemporaryFile(/tmp/multipartBody3594748904153779614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173123557,"filename":"image_26112025_12_30_11_3802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7bdfe89ac18dfabaa2db4e38005ef671.jpg","text":"TemporaryFile(/tmp/multipartBody1425813199160710120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173123557,"filename":"image_26112025_12_30_20_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/26/852f79f54c9c434ff2092b7ef4c7ffec.jpg","text":"TemporaryFile(/tmp/multipartBody4999829001341151156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173123557,"filename":"image_26112025_12_30_17_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c33224e7ee252422189223a43bf6e589.jpg","text":"TemporaryFile(/tmp/multipartBody2867536123957497622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173123557,"filename":"image_26112025_12_28_53_1720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396266894","file1":"1396266891","file0":"1396266887","file4":"1396266900","file5":"1396266903","file3":"1396266897"},"map_files_photo_id_array":[{"photo_id":"1396266903","filename":"file5"},{"photo_id":"1396266894","filename":"file2"},{"photo_id":"1396266900","filename":"file4"},{"photo_id":"1396266891","filename":"file1"},{"photo_id":"1396266887","filename":"file0"},{"photo_id":"1396266897","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396266897":["hashtag1","hashtag2"]},{"1396266891":["hashtag1","hashtag2"]},{"1396266894":["hashtag1","hashtag2"]},{"1396266903":["hashtag1","hashtag2"]},{"1396266900":["hashtag1","hashtag2"]},{"1396266887":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396266897, 1396266891, 1396266894, 1396266903, 1396266900, 1396266887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72118330001831 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:05:02.617875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/30/image_26112025_12_30_23_2706.jpg', '/home/pi/Desktop/images/26112025/12/30/image_26112025_12_30_25_2648.jpg', '/home/pi/Desktop/images/26112025/12/30/image_26112025_12_30_29_3796.jpg', '/home/pi/Desktop/images/26112025/12/30/image_26112025_12_30_32_2740.jpg', '/home/pi/Desktop/images/26112025/12/32/image_26112025_12_32_07_3011.jpg', '/home/pi/Desktop/images/26112025/12/32/image_26112025_12_32_10_3691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/30/image_26112025_12_30_23_2706.jpg
/home/pi/Desktop/images/26112025/12/30/image_26112025_12_30_25_2648.jpg
/home/pi/Desktop/images/26112025/12/30/image_26112025_12_30_29_3796.jpg
/home/pi/Desktop/images/26112025/12/30/image_26112025_12_30_32_2740.jpg
/home/pi/Desktop/images/26112025/12/32/image_26112025_12_32_07_3011.jpg
/home/pi/Desktop/images/26112025/12/32/image_26112025_12_32_10_3691.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":["1396266907","1396266915","1396266927","1396266923","1396266931","1396266919"],"photo_ids_order":["1396266907","1396266915","1396266919","1396266923","1396266927","1396266931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/30ac64a295776023d8bf78aa33b9d376.jpg","text":"TemporaryFile(/tmp/multipartBody3211784353898279985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173163495,"filename":"image_26112025_12_30_23_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fc4076ef21f32bf0dd884ce6183d84c3.jpg","text":"TemporaryFile(/tmp/multipartBody7021302153921952804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173163495,"filename":"image_26112025_12_30_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/26/6ac49a839852f72b7fecd43aaabfc78e.jpg","text":"TemporaryFile(/tmp/multipartBody6019796807947587065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173163495,"filename":"image_26112025_12_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/26/aa8738fc22e8d85301e2dbfd4ac796aa.jpg","text":"TemporaryFile(/tmp/multipartBody5653295500519770521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173163495,"filename":"image_26112025_12_30_32_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e499b4c886a31a999f3cf2009e07ee82.jpg","text":"TemporaryFile(/tmp/multipartBody2313762290410549384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173163495,"filename":"image_26112025_12_32_10_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/26/d650095330d5f092293280c0da13170c.jpg","text":"TemporaryFile(/tmp/multipartBody6372597353511713793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173163495,"filename":"image_26112025_12_30_29_3796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396266919","file1":"1396266915","file0":"1396266907","file4":"1396266927","file5":"1396266931","file3":"1396266923"},"map_files_photo_id_array":[{"photo_id":"1396266931","filename":"file5"},{"photo_id":"1396266919","filename":"file2"},{"photo_id":"1396266927","filename":"file4"},{"photo_id":"1396266915","filename":"file1"},{"photo_id":"1396266907","filename":"file0"},{"photo_id":"1396266923","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396266907":["hashtag1","hashtag2"]},{"1396266915":["hashtag1","hashtag2"]},{"1396266927":["hashtag1","hashtag2"]},{"1396266923":["hashtag1","hashtag2"]},{"1396266931":["hashtag1","hashtag2"]},{"1396266919":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396266907, 1396266915, 1396266927, 1396266923, 1396266931, 1396266919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11371350288391 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:05:41.994303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/32/image_26112025_12_32_13_2580.jpg', '/home/pi/Desktop/images/26112025/12/32/image_26112025_12_32_17_3650.jpg', '/home/pi/Desktop/images/26112025/12/32/image_26112025_12_32_19_2778.jpg', '/home/pi/Desktop/images/26112025/12/32/image_26112025_12_32_22_2822.jpg', '/home/pi/Desktop/images/26112025/12/32/image_26112025_12_32_25_2735.jpg', '/home/pi/Desktop/images/26112025/12/32/image_26112025_12_32_31_3622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/32/image_26112025_12_32_13_2580.jpg
/home/pi/Desktop/images/26112025/12/32/image_26112025_12_32_17_3650.jpg
/home/pi/Desktop/images/26112025/12/32/image_26112025_12_32_19_2778.jpg
/home/pi/Desktop/images/26112025/12/32/image_26112025_12_32_22_2822.jpg
/home/pi/Desktop/images/26112025/12/32/image_26112025_12_32_25_2735.jpg
/home/pi/Desktop/images/26112025/12/32/image_26112025_12_32_31_3622.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":["1396266951","1396266954","1396266948","1396266939","1396266953","1396266952"],"photo_ids_order":["1396266939","1396266948","1396266951","1396266952","1396266953","1396266954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c25123975584c6d71fb98d4941980aa8.jpg","text":"TemporaryFile(/tmp/multipartBody7200055272198143204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173202820,"filename":"image_26112025_12_32_19_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/26/d5b2f7a8917f8efcbd4e84bb40cc98c3.jpg","text":"TemporaryFile(/tmp/multipartBody3701853837881359220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173202820,"filename":"image_26112025_12_32_31_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/26/d288d8561ab3761b6da1aeb9a4c458ab.jpg","text":"TemporaryFile(/tmp/multipartBody1263939189537904581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173202820,"filename":"image_26112025_12_32_17_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/26/ce0b95d65e90831d44e5bd70d7798f6b.jpg","text":"TemporaryFile(/tmp/multipartBody8377140977562582871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173202820,"filename":"image_26112025_12_32_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/26/576e729e895a67fda26f12ca06861ce0.jpg","text":"TemporaryFile(/tmp/multipartBody7055216660890032721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173202820,"filename":"image_26112025_12_32_25_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/26/66beac20eb5dd42781ff2f2ae940cd96.jpg","text":"TemporaryFile(/tmp/multipartBody4426398342697700043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173202820,"filename":"image_26112025_12_32_22_2822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396266951","file1":"1396266948","file0":"1396266939","file4":"1396266953","file5":"1396266954","file3":"1396266952"},"map_files_photo_id_array":[{"photo_id":"1396266954","filename":"file5"},{"photo_id":"1396266951","filename":"file2"},{"photo_id":"1396266953","filename":"file4"},{"photo_id":"1396266948","filename":"file1"},{"photo_id":"1396266939","filename":"file0"},{"photo_id":"1396266952","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396266951":["hashtag1","hashtag2"]},{"1396266954":["hashtag1","hashtag2"]},{"1396266948":["hashtag1","hashtag2"]},{"1396266939":["hashtag1","hashtag2"]},{"1396266953":["hashtag1","hashtag2"]},{"1396266952":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396266951, 1396266954, 1396266948, 1396266939, 1396266953, 1396266952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76498055458069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 17:06:22.151360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/34/image_26112025_12_34_07_3011.jpg', '/home/pi/Desktop/images/26112025/12/34/image_26112025_12_34_11_3640.jpg', '/home/pi/Desktop/images/26112025/12/34/image_26112025_12_34_14_2693.jpg', '/home/pi/Desktop/images/26112025/12/34/image_26112025_12_34_17_3625.jpg', '/home/pi/Desktop/images/26112025/12/34/image_26112025_12_34_20_2928.jpg', '/home/pi/Desktop/images/26112025/12/34/image_26112025_12_34_23_2839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/34/image_26112025_12_34_07_3011.jpg
/home/pi/Desktop/images/26112025/12/34/image_26112025_12_34_11_3640.jpg
/home/pi/Desktop/images/26112025/12/34/image_26112025_12_34_14_2693.jpg
/home/pi/Desktop/images/26112025/12/34/image_26112025_12_34_17_3625.jpg
/home/pi/Desktop/images/26112025/12/34/image_26112025_12_34_20_2928.jpg
/home/pi/Desktop/images/26112025/12/34/image_26112025_12_34_23_2839.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":["1396266996","1396266972","1396266998","1396267001","1396266976","1396266961"],"photo_ids_order":["1396266961","1396266972","1396266976","1396266996","1396266998","1396267001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3d1d2c3d15bfb18d3ad2f4f216c80def.jpg","text":"TemporaryFile(/tmp/multipartBody1329615968924989865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173242988,"filename":"image_26112025_12_34_17_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/26/4ada157326306428a7feebb907c6b1be.jpg","text":"TemporaryFile(/tmp/multipartBody7132719138325975956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173242988,"filename":"image_26112025_12_34_11_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/26/34d519de46b42b10fd527bf5939308f8.jpg","text":"TemporaryFile(/tmp/multipartBody8253641989670921985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173242988,"filename":"image_26112025_12_34_20_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/26/e8787155eef07b36963ca1173cf5bd14.jpg","text":"TemporaryFile(/tmp/multipartBody6984741457251620472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173242988,"filename":"image_26112025_12_34_23_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/26/627c2aee8a3ca89f17d5d7a632a0ea42.jpg","text":"TemporaryFile(/tmp/multipartBody5871751673979715544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173242988,"filename":"image_26112025_12_34_14_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/26/ff5f81bdf6916a0525ce352be3c8e2d6.jpg","text":"TemporaryFile(/tmp/multipartBody5293638624571912566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173242988,"filename":"image_26112025_12_34_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396266976","file1":"1396266972","file0":"1396266961","file4":"1396266998","file5":"1396267001","file3":"1396266996"},"map_files_photo_id_array":[{"photo_id":"1396267001","filename":"file5"},{"photo_id":"1396266976","filename":"file2"},{"photo_id":"1396266998","filename":"file4"},{"photo_id":"1396266972","filename":"file1"},{"photo_id":"1396266961","filename":"file0"},{"photo_id":"1396266996","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396266996":["hashtag1","hashtag2"]},{"1396266972":["hashtag1","hashtag2"]},{"1396266998":["hashtag1","hashtag2"]},{"1396267001":["hashtag1","hashtag2"]},{"1396266976":["hashtag1","hashtag2"]},{"1396266961":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396266996, 1396266972, 1396266998, 1396267001, 1396266976, 1396266961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.250540018081665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:07:03.212021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/34/image_26112025_12_34_26_2688.jpg', '/home/pi/Desktop/images/26112025/12/34/image_26112025_12_34_28_2638.jpg', '/home/pi/Desktop/images/26112025/12/36/image_26112025_12_36_07_3011.jpg', '/home/pi/Desktop/images/26112025/12/36/image_26112025_12_36_11_3666.jpg', '/home/pi/Desktop/images/26112025/12/36/image_26112025_12_36_14_2846.jpg', '/home/pi/Desktop/images/26112025/12/36/image_26112025_12_36_16_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/34/image_26112025_12_34_26_2688.jpg
/home/pi/Desktop/images/26112025/12/34/image_26112025_12_34_28_2638.jpg
/home/pi/Desktop/images/26112025/12/36/image_26112025_12_36_07_3011.jpg
/home/pi/Desktop/images/26112025/12/36/image_26112025_12_36_11_3666.jpg
/home/pi/Desktop/images/26112025/12/36/image_26112025_12_36_14_2846.jpg
/home/pi/Desktop/images/26112025/12/36/image_26112025_12_36_16_2703.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":["1396267065","1396267050","1396267032","1396267026","1396267028","1396267030"],"photo_ids_order":["1396267026","1396267028","1396267030","1396267032","1396267050","1396267065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b7037506c0f17dc2e5f0a830b767a2f9.jpg","text":"TemporaryFile(/tmp/multipartBody8466459727679583527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173284097,"filename":"image_26112025_12_36_16_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/26/622c9f3ce1634c17dc0e2f3ded2e49fc.jpg","text":"TemporaryFile(/tmp/multipartBody6948316127441847540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173284097,"filename":"image_26112025_12_36_14_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/26/7ea3633649dd1145b0352f4208035a51.jpg","text":"TemporaryFile(/tmp/multipartBody1961414001801699078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173284097,"filename":"image_26112025_12_36_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/26/12bfb9943be56237ace8c1a5737a402b.jpg","text":"TemporaryFile(/tmp/multipartBody3296354701446972789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173284097,"filename":"image_26112025_12_34_26_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/26/8522fc739192075db5ad2cf75214a7d5.jpg","text":"TemporaryFile(/tmp/multipartBody900472266080448726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173284097,"filename":"image_26112025_12_34_28_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/26/c187d0eeaf87bfbab8a435007c86d60b.jpg","text":"TemporaryFile(/tmp/multipartBody7125363472730299124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173284097,"filename":"image_26112025_12_36_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396267030","file1":"1396267028","file0":"1396267026","file4":"1396267050","file5":"1396267065","file3":"1396267032"},"map_files_photo_id_array":[{"photo_id":"1396267065","filename":"file5"},{"photo_id":"1396267030","filename":"file2"},{"photo_id":"1396267050","filename":"file4"},{"photo_id":"1396267028","filename":"file1"},{"photo_id":"1396267026","filename":"file0"},{"photo_id":"1396267032","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396267065":["hashtag1","hashtag2"]},{"1396267050":["hashtag1","hashtag2"]},{"1396267032":["hashtag1","hashtag2"]},{"1396267026":["hashtag1","hashtag2"]},{"1396267028":["hashtag1","hashtag2"]},{"1396267030":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396267065, 1396267050, 1396267032, 1396267026, 1396267028, 1396267030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47814464569092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:07:42.402949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/36/image_26112025_12_36_19_2772.jpg', '/home/pi/Desktop/images/26112025/12/36/image_26112025_12_36_23_3917.jpg', '/home/pi/Desktop/images/26112025/12/36/image_26112025_12_36_26_2749.jpg', '/home/pi/Desktop/images/26112025/12/36/image_26112025_12_36_29_2806.jpg', '/home/pi/Desktop/images/26112025/12/36/image_26112025_12_36_31_2708.jpg', '/home/pi/Desktop/images/26112025/12/36/image_26112025_12_36_35_3578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/36/image_26112025_12_36_19_2772.jpg
/home/pi/Desktop/images/26112025/12/36/image_26112025_12_36_23_3917.jpg
/home/pi/Desktop/images/26112025/12/36/image_26112025_12_36_26_2749.jpg
/home/pi/Desktop/images/26112025/12/36/image_26112025_12_36_29_2806.jpg
/home/pi/Desktop/images/26112025/12/36/image_26112025_12_36_31_2708.jpg
/home/pi/Desktop/images/26112025/12/36/image_26112025_12_36_35_3578.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":["1396267116","1396267119","1396267088","1396267106","1396267084","1396267117"],"photo_ids_order":["1396267084","1396267088","1396267106","1396267116","1396267117","1396267119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bd5ad87f4d4dbbd115d420abbc0fb4ec.jpg","text":"TemporaryFile(/tmp/multipartBody2265271057320441831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173323258,"filename":"image_26112025_12_36_29_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/26/7b81e389057e95e9de3d8623b2c4b5d3.jpg","text":"TemporaryFile(/tmp/multipartBody7565845567320292702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173323258,"filename":"image_26112025_12_36_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/26/9fe9e8b6ca0f17b92c69b1166c93d2ff.jpg","text":"TemporaryFile(/tmp/multipartBody5453361855957403883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173323258,"filename":"image_26112025_12_36_23_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/26/dd852b9746db8554cacba7b8160f862d.jpg","text":"TemporaryFile(/tmp/multipartBody969810650103360686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173323258,"filename":"image_26112025_12_36_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/26/8d1732a8f8ec46a3ff724363ff7d963e.jpg","text":"TemporaryFile(/tmp/multipartBody2874270422833094148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173323258,"filename":"image_26112025_12_36_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/26/7e6b8217ac41339e9cb0a146def44548.jpg","text":"TemporaryFile(/tmp/multipartBody7137122836750885895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173323258,"filename":"image_26112025_12_36_31_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396267106","file1":"1396267088","file0":"1396267084","file4":"1396267117","file5":"1396267119","file3":"1396267116"},"map_files_photo_id_array":[{"photo_id":"1396267119","filename":"file5"},{"photo_id":"1396267106","filename":"file2"},{"photo_id":"1396267117","filename":"file4"},{"photo_id":"1396267088","filename":"file1"},{"photo_id":"1396267084","filename":"file0"},{"photo_id":"1396267116","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396267116":["hashtag1","hashtag2"]},{"1396267119":["hashtag1","hashtag2"]},{"1396267088":["hashtag1","hashtag2"]},{"1396267106":["hashtag1","hashtag2"]},{"1396267084":["hashtag1","hashtag2"]},{"1396267117":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396267116, 1396267119, 1396267088, 1396267106, 1396267084, 1396267117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59652543067932 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 17:08:22.581058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/36/image_26112025_12_36_38_2911.jpg', '/home/pi/Desktop/images/26112025/12/38/image_26112025_12_38_07_3019.jpg', '/home/pi/Desktop/images/26112025/12/38/image_26112025_12_38_13_2599.jpg', '/home/pi/Desktop/images/26112025/12/38/image_26112025_12_38_16_2701.jpg', '/home/pi/Desktop/images/26112025/12/38/image_26112025_12_38_20_3762.jpg', '/home/pi/Desktop/images/26112025/12/38/image_26112025_12_38_22_2537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/36/image_26112025_12_36_38_2911.jpg
/home/pi/Desktop/images/26112025/12/38/image_26112025_12_38_07_3019.jpg
/home/pi/Desktop/images/26112025/12/38/image_26112025_12_38_13_2599.jpg
/home/pi/Desktop/images/26112025/12/38/image_26112025_12_38_16_2701.jpg
/home/pi/Desktop/images/26112025/12/38/image_26112025_12_38_20_3762.jpg
/home/pi/Desktop/images/26112025/12/38/image_26112025_12_38_22_2537.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":["1396267179","1396267155","1396267136","1396267139","1396267129","1396267132"],"photo_ids_order":["1396267129","1396267132","1396267136","1396267139","1396267155","1396267179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/09bc0eb4c001d2d02cee05e15613e565.jpg","text":"TemporaryFile(/tmp/multipartBody1217274277248715524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173363400,"filename":"image_26112025_12_38_22_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/26/c3a58ac8e163a15d05278eac26e0e1f3.jpg","text":"TemporaryFile(/tmp/multipartBody2316108245023818098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173363400,"filename":"image_26112025_12_38_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/26/e0b303ff9c52060e2af1f48cb9726ddd.jpg","text":"TemporaryFile(/tmp/multipartBody6594530607340067963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173363400,"filename":"image_26112025_12_38_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/26/27891f76a9a18746e33bb8d0731fb849.jpg","text":"TemporaryFile(/tmp/multipartBody8680211694988973666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173363400,"filename":"image_26112025_12_38_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/26/8306c63d486b00346298be8fb83c96e2.jpg","text":"TemporaryFile(/tmp/multipartBody7138981006892879476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173363400,"filename":"image_26112025_12_36_38_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/26/78a347260bf97ad9ab18ac3fde1e25f2.jpg","text":"TemporaryFile(/tmp/multipartBody8462409074285350326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173363400,"filename":"image_26112025_12_38_07_3019.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396267136","file1":"1396267132","file0":"1396267129","file4":"1396267155","file5":"1396267179","file3":"1396267139"},"map_files_photo_id_array":[{"photo_id":"1396267179","filename":"file5"},{"photo_id":"1396267136","filename":"file2"},{"photo_id":"1396267155","filename":"file4"},{"photo_id":"1396267132","filename":"file1"},{"photo_id":"1396267129","filename":"file0"},{"photo_id":"1396267139","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396267179":["hashtag1","hashtag2"]},{"1396267155":["hashtag1","hashtag2"]},{"1396267136":["hashtag1","hashtag2"]},{"1396267139":["hashtag1","hashtag2"]},{"1396267129":["hashtag1","hashtag2"]},{"1396267132":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396267179, 1396267155, 1396267136, 1396267139, 1396267129, 1396267132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35251307487488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:09:03.755131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/38/image_26112025_12_38_25_2868.jpg', '/home/pi/Desktop/images/26112025/12/38/image_26112025_12_38_29_3555.jpg', '/home/pi/Desktop/images/26112025/12/40/image_26112025_12_40_08_3011.jpg', '/home/pi/Desktop/images/26112025/12/40/image_26112025_12_40_11_3672.jpg', '/home/pi/Desktop/images/26112025/12/40/image_26112025_12_40_14_2585.jpg', '/home/pi/Desktop/images/26112025/12/40/image_26112025_12_40_18_3698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/38/image_26112025_12_38_25_2868.jpg
/home/pi/Desktop/images/26112025/12/38/image_26112025_12_38_29_3555.jpg
/home/pi/Desktop/images/26112025/12/40/image_26112025_12_40_08_3011.jpg
/home/pi/Desktop/images/26112025/12/40/image_26112025_12_40_11_3672.jpg
/home/pi/Desktop/images/26112025/12/40/image_26112025_12_40_14_2585.jpg
/home/pi/Desktop/images/26112025/12/40/image_26112025_12_40_18_3698.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":["1396267191","1396267199","1396267202","1396267192","1396267195","1396267188"],"photo_ids_order":["1396267188","1396267191","1396267192","1396267195","1396267199","1396267202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fe593f2c44f09fa822b80a79ad513279.jpg","text":"TemporaryFile(/tmp/multipartBody6968420770464306406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173404821,"filename":"image_26112025_12_38_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/26/bb1e1fb871c2e5c14a36fffba971c7c5.jpg","text":"TemporaryFile(/tmp/multipartBody8760464602273074796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173404821,"filename":"image_26112025_12_40_14_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/26/71fc1d180a7557b75c58976f1c3ba96f.jpg","text":"TemporaryFile(/tmp/multipartBody1311690472948884068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173404821,"filename":"image_26112025_12_40_18_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/26/9039f7883d879c5831278ed632acc1d3.jpg","text":"TemporaryFile(/tmp/multipartBody3072554896396030797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173404821,"filename":"image_26112025_12_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/26/58f0646a50e29888025341f46d31b35a.jpg","text":"TemporaryFile(/tmp/multipartBody9044129451470259233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173404821,"filename":"image_26112025_12_40_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/26/29f528c3a8261c782bffc62a3ec803a6.jpg","text":"TemporaryFile(/tmp/multipartBody3730219470961301968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173404821,"filename":"image_26112025_12_38_25_2868.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396267192","file1":"1396267191","file0":"1396267188","file4":"1396267199","file5":"1396267202","file3":"1396267195"},"map_files_photo_id_array":[{"photo_id":"1396267202","filename":"file5"},{"photo_id":"1396267192","filename":"file2"},{"photo_id":"1396267199","filename":"file4"},{"photo_id":"1396267191","filename":"file1"},{"photo_id":"1396267188","filename":"file0"},{"photo_id":"1396267195","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396267191":["hashtag1","hashtag2"]},{"1396267199":["hashtag1","hashtag2"]},{"1396267202":["hashtag1","hashtag2"]},{"1396267192":["hashtag1","hashtag2"]},{"1396267195":["hashtag1","hashtag2"]},{"1396267188":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396267191, 1396267199, 1396267202, 1396267192, 1396267195, 1396267188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.777812480926514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:09:42.727835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/40/image_26112025_12_40_20_2752.jpg', '/home/pi/Desktop/images/26112025/12/40/image_26112025_12_40_23_2666.jpg', '/home/pi/Desktop/images/26112025/12/40/image_26112025_12_40_26_2646.jpg', '/home/pi/Desktop/images/26112025/12/40/image_26112025_12_40_29_3695.jpg', '/home/pi/Desktop/images/26112025/12/40/image_26112025_12_40_35_2769.jpg', '/home/pi/Desktop/images/26112025/12/40/image_26112025_12_40_41_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/40/image_26112025_12_40_20_2752.jpg
/home/pi/Desktop/images/26112025/12/40/image_26112025_12_40_23_2666.jpg
/home/pi/Desktop/images/26112025/12/40/image_26112025_12_40_26_2646.jpg
/home/pi/Desktop/images/26112025/12/40/image_26112025_12_40_29_3695.jpg
/home/pi/Desktop/images/26112025/12/40/image_26112025_12_40_35_2769.jpg
/home/pi/Desktop/images/26112025/12/40/image_26112025_12_40_41_2713.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":["1396267245","1396267239","1396267248","1396267244","1396267247","1396267246"],"photo_ids_order":["1396267239","1396267244","1396267245","1396267246","1396267247","1396267248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9072c2e5d089a1338e66b49c2f55c3e4.jpg","text":"TemporaryFile(/tmp/multipartBody3973400466915410808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173443545,"filename":"image_26112025_12_40_26_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/26/bc1b0ca967465befd09efc9b15712448.jpg","text":"TemporaryFile(/tmp/multipartBody5355635115252520140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173443545,"filename":"image_26112025_12_40_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/26/bb87127f7eb1026fd7c177d2fa3c05bf.jpg","text":"TemporaryFile(/tmp/multipartBody417333272144268201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173443545,"filename":"image_26112025_12_40_41_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/26/868e2ca2340a565f9837d027fc7b07dc.jpg","text":"TemporaryFile(/tmp/multipartBody542867355553039647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173443545,"filename":"image_26112025_12_40_23_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/26/413a42d023d0797b3d89ad42f9c3fb02.jpg","text":"TemporaryFile(/tmp/multipartBody7489267737656400576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173443545,"filename":"image_26112025_12_40_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/26/38ce6fc5354b01a87583b2f273b5beb3.jpg","text":"TemporaryFile(/tmp/multipartBody4103572777167154661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173443545,"filename":"image_26112025_12_40_29_3695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396267245","file1":"1396267244","file0":"1396267239","file4":"1396267247","file5":"1396267248","file3":"1396267246"},"map_files_photo_id_array":[{"photo_id":"1396267248","filename":"file5"},{"photo_id":"1396267245","filename":"file2"},{"photo_id":"1396267247","filename":"file4"},{"photo_id":"1396267244","filename":"file1"},{"photo_id":"1396267239","filename":"file0"},{"photo_id":"1396267246","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396267245":["hashtag1","hashtag2"]},{"1396267239":["hashtag1","hashtag2"]},{"1396267248":["hashtag1","hashtag2"]},{"1396267244":["hashtag1","hashtag2"]},{"1396267247":["hashtag1","hashtag2"]},{"1396267246":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396267245, 1396267239, 1396267248, 1396267244, 1396267247, 1396267246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3163948059082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 17:10:21.873117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/40/image_26112025_12_40_44_2772.jpg', '/home/pi/Desktop/images/26112025/12/40/image_26112025_12_40_47_2886.jpg', '/home/pi/Desktop/images/26112025/12/40/image_26112025_12_40_50_3587.jpg', '/home/pi/Desktop/images/26112025/12/42/image_26112025_12_42_06_3017.jpg', '/home/pi/Desktop/images/26112025/12/42/image_26112025_12_42_13_2835.jpg', '/home/pi/Desktop/images/26112025/12/42/image_26112025_12_42_15_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/40/image_26112025_12_40_44_2772.jpg
/home/pi/Desktop/images/26112025/12/40/image_26112025_12_40_47_2886.jpg
/home/pi/Desktop/images/26112025/12/40/image_26112025_12_40_50_3587.jpg
/home/pi/Desktop/images/26112025/12/42/image_26112025_12_42_06_3017.jpg
/home/pi/Desktop/images/26112025/12/42/image_26112025_12_42_13_2835.jpg
/home/pi/Desktop/images/26112025/12/42/image_26112025_12_42_15_2577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396267326","1396267311","1396267308","1396267321","1396267324","1396267318"],"photo_ids_order":["1396267308","1396267311","1396267318","1396267321","1396267324","1396267326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d5f9e636c4e440fb6b0862eeb00a34d5.jpg","text":"TemporaryFile(/tmp/multipartBody653212929250120957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173482693,"filename":"image_26112025_12_42_15_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/26/6e797d626c3708a9543e2f45c58ec6f3.jpg","text":"TemporaryFile(/tmp/multipartBody629370574568987061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173482693,"filename":"image_26112025_12_40_47_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/26/3c5cce5bced33f2fd900cb08744fe5f8.jpg","text":"TemporaryFile(/tmp/multipartBody1012255869532461066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173482693,"filename":"image_26112025_12_40_44_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/26/c2e920db869b9773e014afc0e830d7bf.jpg","text":"TemporaryFile(/tmp/multipartBody704450719191257076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173482693,"filename":"image_26112025_12_42_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/26/e2d84d475e86bcec3325fbae8b987df8.jpg","text":"TemporaryFile(/tmp/multipartBody1509500956752397971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173482693,"filename":"image_26112025_12_42_13_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/26/da57ce55913dd673a0b3674023a9d371.jpg","text":"TemporaryFile(/tmp/multipartBody678793827794845279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173482693,"filename":"image_26112025_12_40_50_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396267318","file1":"1396267311","file0":"1396267308","file4":"1396267324","file5":"1396267326","file3":"1396267321"},"map_files_photo_id_array":[{"photo_id":"1396267326","filename":"file5"},{"photo_id":"1396267318","filename":"file2"},{"photo_id":"1396267324","filename":"file4"},{"photo_id":"1396267311","filename":"file1"},{"photo_id":"1396267308","filename":"file0"},{"photo_id":"1396267321","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396267326":["hashtag1","hashtag2"]},{"1396267311":["hashtag1","hashtag2"]},{"1396267308":["hashtag1","hashtag2"]},{"1396267321":["hashtag1","hashtag2"]},{"1396267324":["hashtag1","hashtag2"]},{"1396267318":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396267326, 1396267311, 1396267308, 1396267321, 1396267324, 1396267318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05225419998169 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:11:02.805291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/42/image_26112025_12_42_19_3750.jpg', '/home/pi/Desktop/images/26112025/12/42/image_26112025_12_42_22_2605.jpg', '/home/pi/Desktop/images/26112025/12/42/image_26112025_12_42_25_2812.jpg', '/home/pi/Desktop/images/26112025/12/42/image_26112025_12_42_28_3680.jpg', '/home/pi/Desktop/images/26112025/12/42/image_26112025_12_42_31_2929.jpg', '/home/pi/Desktop/images/26112025/12/42/image_26112025_12_42_34_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/42/image_26112025_12_42_19_3750.jpg
/home/pi/Desktop/images/26112025/12/42/image_26112025_12_42_22_2605.jpg
/home/pi/Desktop/images/26112025/12/42/image_26112025_12_42_25_2812.jpg
/home/pi/Desktop/images/26112025/12/42/image_26112025_12_42_28_3680.jpg
/home/pi/Desktop/images/26112025/12/42/image_26112025_12_42_31_2929.jpg
/home/pi/Desktop/images/26112025/12/42/image_26112025_12_42_34_2608.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":["1396267452","1396267446","1396267460","1396267456","1396267450","1396267438"],"photo_ids_order":["1396267438","1396267446","1396267450","1396267452","1396267456","1396267460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/31084032179e999c965403f67283dd7d.jpg","text":"TemporaryFile(/tmp/multipartBody3298457786231493471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173523792,"filename":"image_26112025_12_42_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/26/bd583b61b1d6d09347e17d398d9c088f.jpg","text":"TemporaryFile(/tmp/multipartBody1742425885609850343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173523792,"filename":"image_26112025_12_42_22_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/26/b0032b10214714cbdb68c747c348d57a.jpg","text":"TemporaryFile(/tmp/multipartBody2573474776586495065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173523792,"filename":"image_26112025_12_42_34_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/26/2fe08738b4c3c23c019a4dc5c79f910d.jpg","text":"TemporaryFile(/tmp/multipartBody2371455831147352023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173523792,"filename":"image_26112025_12_42_31_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/26/5260e5fa7ce525bb67673cc65d035fd9.jpg","text":"TemporaryFile(/tmp/multipartBody1425651578253051141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173523792,"filename":"image_26112025_12_42_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/26/136e29be41b9a32661731ad9146e0096.jpg","text":"TemporaryFile(/tmp/multipartBody631930442602730303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173523792,"filename":"image_26112025_12_42_19_3750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396267450","file1":"1396267446","file0":"1396267438","file4":"1396267456","file5":"1396267460","file3":"1396267452"},"map_files_photo_id_array":[{"photo_id":"1396267460","filename":"file5"},{"photo_id":"1396267450","filename":"file2"},{"photo_id":"1396267456","filename":"file4"},{"photo_id":"1396267446","filename":"file1"},{"photo_id":"1396267438","filename":"file0"},{"photo_id":"1396267452","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396267452":["hashtag1","hashtag2"]},{"1396267446":["hashtag1","hashtag2"]},{"1396267460":["hashtag1","hashtag2"]},{"1396267456":["hashtag1","hashtag2"]},{"1396267450":["hashtag1","hashtag2"]},{"1396267438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396267452, 1396267446, 1396267460, 1396267456, 1396267450, 1396267438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38515257835388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:11:42.185824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_07_3012.jpg', '/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_11_3853.jpg', '/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_13_2690.jpg', '/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_16_2704.jpg', '/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_20_3609.jpg', '/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_22_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_07_3012.jpg
/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_11_3853.jpg
/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_13_2690.jpg
/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_16_2704.jpg
/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_20_3609.jpg
/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_22_2714.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.7190408706665039 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:12:02.816865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_07_3012.jpg', '/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_11_3853.jpg', '/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_13_2690.jpg', '/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_16_2704.jpg', '/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_20_3609.jpg', '/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_22_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_07_3012.jpg
/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_11_3853.jpg
/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_13_2690.jpg
/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_16_2704.jpg
/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_20_3609.jpg
/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_22_2714.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":["1396267482","1396267484","1396267486","1396267491","1396267494","1396267488"],"photo_ids_order":["1396267482","1396267484","1396267486","1396267488","1396267491","1396267494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/054a41370fad0e0ae849a4c9d9885cb3.jpg","text":"TemporaryFile(/tmp/multipartBody3342312601257796586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173583680,"filename":"image_26112025_12_44_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/26/ac81069aa77d6cc90f048468879ed831.jpg","text":"TemporaryFile(/tmp/multipartBody4006093944189232740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173583680,"filename":"image_26112025_12_44_11_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/26/6b0efa0c5da439be99e960cf339c398b.jpg","text":"TemporaryFile(/tmp/multipartBody5088539733954422508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173583680,"filename":"image_26112025_12_44_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/26/8d9c3d6cc5de270b96d8b7da7bcb37e4.jpg","text":"TemporaryFile(/tmp/multipartBody1350129196569897935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173583680,"filename":"image_26112025_12_44_20_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/26/f21de4c1840ba0a1b2310e5db5113524.jpg","text":"TemporaryFile(/tmp/multipartBody4721714151123645088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173583680,"filename":"image_26112025_12_44_22_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/26/5e18cdac3e97f75c6ff9174523a95ab6.jpg","text":"TemporaryFile(/tmp/multipartBody7891483173961065592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173583680,"filename":"image_26112025_12_44_16_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396267486","file1":"1396267484","file0":"1396267482","file4":"1396267491","file5":"1396267494","file3":"1396267488"},"map_files_photo_id_array":[{"photo_id":"1396267494","filename":"file5"},{"photo_id":"1396267486","filename":"file2"},{"photo_id":"1396267491","filename":"file4"},{"photo_id":"1396267484","filename":"file1"},{"photo_id":"1396267482","filename":"file0"},{"photo_id":"1396267488","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396267482":["hashtag1","hashtag2"]},{"1396267484":["hashtag1","hashtag2"]},{"1396267486":["hashtag1","hashtag2"]},{"1396267491":["hashtag1","hashtag2"]},{"1396267494":["hashtag1","hashtag2"]},{"1396267488":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396267482, 1396267484, 1396267486, 1396267491, 1396267494, 1396267488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42997360229492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:12:42.403473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_25_2602.jpg', '/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_29_3719.jpg', '/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_31_2662.jpg', '/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_34_2583.jpg', '/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_38_3770.jpg', '/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_40_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_25_2602.jpg
/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_29_3719.jpg
/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_31_2662.jpg
/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_34_2583.jpg
/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_38_3770.jpg
/home/pi/Desktop/images/26112025/12/44/image_26112025_12_44_40_2682.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":["1396267518","1396267503","1396267520","1396267505","1396267519","1396267522"],"photo_ids_order":["1396267503","1396267505","1396267518","1396267519","1396267520","1396267522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4f2b07231eab14dc7e24678c9429ea6d.jpg","text":"TemporaryFile(/tmp/multipartBody2165137847748264896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173623222,"filename":"image_26112025_12_44_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/26/c65e398708e481bb6803305ed3580d68.jpg","text":"TemporaryFile(/tmp/multipartBody9007534061594661018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173623222,"filename":"image_26112025_12_44_25_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/26/21a633f9aecbf3e25f9c85700471492d.jpg","text":"TemporaryFile(/tmp/multipartBody1127484858001328821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173623222,"filename":"image_26112025_12_44_38_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/26/f10524b8b5eb16693b9f49bba5439b33.jpg","text":"TemporaryFile(/tmp/multipartBody8250935959702031001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173623222,"filename":"image_26112025_12_44_29_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/26/2d167d3b0e34415baf70975f731fcacc.jpg","text":"TemporaryFile(/tmp/multipartBody2895939335555782245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173623222,"filename":"image_26112025_12_44_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/26/3261fcff2764a1b2f8a6b69c2840f9a8.jpg","text":"TemporaryFile(/tmp/multipartBody1029529915630803356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173623222,"filename":"image_26112025_12_44_40_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396267518","file1":"1396267505","file0":"1396267503","file4":"1396267520","file5":"1396267522","file3":"1396267519"},"map_files_photo_id_array":[{"photo_id":"1396267522","filename":"file5"},{"photo_id":"1396267518","filename":"file2"},{"photo_id":"1396267520","filename":"file4"},{"photo_id":"1396267505","filename":"file1"},{"photo_id":"1396267503","filename":"file0"},{"photo_id":"1396267519","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396267518":["hashtag1","hashtag2"]},{"1396267503":["hashtag1","hashtag2"]},{"1396267520":["hashtag1","hashtag2"]},{"1396267505":["hashtag1","hashtag2"]},{"1396267519":["hashtag1","hashtag2"]},{"1396267522":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396267518, 1396267503, 1396267520, 1396267505, 1396267519, 1396267522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.535070180892944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 17:13:22.624314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/46/image_26112025_12_46_07_3013.jpg', '/home/pi/Desktop/images/26112025/12/46/image_26112025_12_46_10_3697.jpg', '/home/pi/Desktop/images/26112025/12/46/image_26112025_12_46_13_2565.jpg', '/home/pi/Desktop/images/26112025/12/46/image_26112025_12_46_17_3678.jpg', '/home/pi/Desktop/images/26112025/12/46/image_26112025_12_46_19_2562.jpg', '/home/pi/Desktop/images/26112025/12/46/image_26112025_12_46_22_2727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/46/image_26112025_12_46_07_3013.jpg
/home/pi/Desktop/images/26112025/12/46/image_26112025_12_46_10_3697.jpg
/home/pi/Desktop/images/26112025/12/46/image_26112025_12_46_13_2565.jpg
/home/pi/Desktop/images/26112025/12/46/image_26112025_12_46_17_3678.jpg
/home/pi/Desktop/images/26112025/12/46/image_26112025_12_46_19_2562.jpg
/home/pi/Desktop/images/26112025/12/46/image_26112025_12_46_22_2727.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":["1396267530","1396267541","1396267544","1396267538","1396267546","1396267534"],"photo_ids_order":["1396267530","1396267534","1396267538","1396267541","1396267544","1396267546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b0f8a5c96010eac85d1dba464edd846f.jpg","text":"TemporaryFile(/tmp/multipartBody1517900909462512968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173663491,"filename":"image_26112025_12_46_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/26/375e31e52fcbd798f7559b7a78586407.jpg","text":"TemporaryFile(/tmp/multipartBody2404563479859374702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173663491,"filename":"image_26112025_12_46_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/26/a2fe37881f06114c3d46e2f4849ced7c.jpg","text":"TemporaryFile(/tmp/multipartBody5009176846269400966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173663491,"filename":"image_26112025_12_46_19_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/26/b639617f4fbb9a1c65809118c10645de.jpg","text":"TemporaryFile(/tmp/multipartBody5789858167693539933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173663491,"filename":"image_26112025_12_46_13_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/26/85d278f39c2be2b700f8f71019ae0162.jpg","text":"TemporaryFile(/tmp/multipartBody6796782267371600796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173663491,"filename":"image_26112025_12_46_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/26/ebfb46d0582c41eee1769d6eaa9d415b.jpg","text":"TemporaryFile(/tmp/multipartBody9010075314236020044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173663491,"filename":"image_26112025_12_46_10_3697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396267538","file1":"1396267534","file0":"1396267530","file4":"1396267544","file5":"1396267546","file3":"1396267541"},"map_files_photo_id_array":[{"photo_id":"1396267546","filename":"file5"},{"photo_id":"1396267538","filename":"file2"},{"photo_id":"1396267544","filename":"file4"},{"photo_id":"1396267534","filename":"file1"},{"photo_id":"1396267530","filename":"file0"},{"photo_id":"1396267541","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396267530":["hashtag1","hashtag2"]},{"1396267541":["hashtag1","hashtag2"]},{"1396267544":["hashtag1","hashtag2"]},{"1396267538":["hashtag1","hashtag2"]},{"1396267546":["hashtag1","hashtag2"]},{"1396267534":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396267530, 1396267541, 1396267544, 1396267538, 1396267546, 1396267534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58755540847778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:14:03.499175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/46/image_26112025_12_46_25_2831.jpg', '/home/pi/Desktop/images/26112025/12/48/image_26112025_12_48_07_3011.jpg', '/home/pi/Desktop/images/26112025/12/48/image_26112025_12_48_13_2671.jpg', '/home/pi/Desktop/images/26112025/12/48/image_26112025_12_48_20_3737.jpg', '/home/pi/Desktop/images/26112025/12/48/image_26112025_12_48_34_2551.jpg', '/home/pi/Desktop/images/26112025/12/48/image_26112025_12_48_38_3721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/46/image_26112025_12_46_25_2831.jpg
/home/pi/Desktop/images/26112025/12/48/image_26112025_12_48_07_3011.jpg
/home/pi/Desktop/images/26112025/12/48/image_26112025_12_48_13_2671.jpg
/home/pi/Desktop/images/26112025/12/48/image_26112025_12_48_20_3737.jpg
/home/pi/Desktop/images/26112025/12/48/image_26112025_12_48_34_2551.jpg
/home/pi/Desktop/images/26112025/12/48/image_26112025_12_48_38_3721.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":["1396267554","1396267563","1396267557","1396267559","1396267570","1396267567"],"photo_ids_order":["1396267554","1396267557","1396267559","1396267563","1396267567","1396267570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eb8c0db7830cd98b0195617267350948.jpg","text":"TemporaryFile(/tmp/multipartBody3366961132280773100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173704358,"filename":"image_26112025_12_46_25_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/26/1d4f73562a182c50823b95660f45c66b.jpg","text":"TemporaryFile(/tmp/multipartBody6584798819760989293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173704358,"filename":"image_26112025_12_48_20_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/26/61b5256b9e63f1d27658162b1395fbe5.jpg","text":"TemporaryFile(/tmp/multipartBody3043749309523634423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173704358,"filename":"image_26112025_12_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/26/3885abbc978ae01d7c3d8cb26117c403.jpg","text":"TemporaryFile(/tmp/multipartBody3867741659732935416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173704358,"filename":"image_26112025_12_48_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/26/91a83a81b570c19ee1e5fa3860e9ecad.jpg","text":"TemporaryFile(/tmp/multipartBody8730157269493442468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173704358,"filename":"image_26112025_12_48_38_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/26/1eaa8138f1f7c67f090e14e38f9ee648.jpg","text":"TemporaryFile(/tmp/multipartBody6182798621352812303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173704358,"filename":"image_26112025_12_48_34_2551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396267559","file1":"1396267557","file0":"1396267554","file4":"1396267567","file5":"1396267570","file3":"1396267563"},"map_files_photo_id_array":[{"photo_id":"1396267570","filename":"file5"},{"photo_id":"1396267559","filename":"file2"},{"photo_id":"1396267567","filename":"file4"},{"photo_id":"1396267557","filename":"file1"},{"photo_id":"1396267554","filename":"file0"},{"photo_id":"1396267563","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396267554":["hashtag1","hashtag2"]},{"1396267563":["hashtag1","hashtag2"]},{"1396267557":["hashtag1","hashtag2"]},{"1396267559":["hashtag1","hashtag2"]},{"1396267570":["hashtag1","hashtag2"]},{"1396267567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396267554, 1396267563, 1396267557, 1396267559, 1396267570, 1396267567)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.49640488624573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:15:02.645502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/48/image_26112025_12_48_40_2636.jpg', '/home/pi/Desktop/images/26112025/12/48/image_26112025_12_48_45_4696.jpg', '/home/pi/Desktop/images/26112025/12/48/image_26112025_12_48_47_1585.jpg', '/home/pi/Desktop/images/26112025/12/49/image_26112025_12_49_01_14226.jpg', '/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_08_3016.jpg', '/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_12_3743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/48/image_26112025_12_48_40_2636.jpg
/home/pi/Desktop/images/26112025/12/48/image_26112025_12_48_45_4696.jpg
/home/pi/Desktop/images/26112025/12/48/image_26112025_12_48_47_1585.jpg
/home/pi/Desktop/images/26112025/12/49/image_26112025_12_49_01_14226.jpg
/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_08_3016.jpg
/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_12_3743.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":["1396267596","1396267610","1396267594","1396267588","1396267590","1396267603"],"photo_ids_order":["1396267588","1396267590","1396267594","1396267596","1396267603","1396267610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2a7207e172938a6503235c65cddbe2e6.jpg","text":"TemporaryFile(/tmp/multipartBody1416305337713697915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173763543,"filename":"image_26112025_12_49_01_14226.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b67b5d9f22aafd1d909a22328f66e639.jpg","text":"TemporaryFile(/tmp/multipartBody394919165891970920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173763543,"filename":"image_26112025_12_50_12_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/26/f420891d420da4d096b737bcc0208874.jpg","text":"TemporaryFile(/tmp/multipartBody6235400624612292027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173763543,"filename":"image_26112025_12_48_47_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/26/bec456473842eefa2a3a44d6e51eef49.jpg","text":"TemporaryFile(/tmp/multipartBody5489823398496539928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173763543,"filename":"image_26112025_12_48_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/26/b6141f688312360d81767221e4a0a336.jpg","text":"TemporaryFile(/tmp/multipartBody165156069116428271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173763543,"filename":"image_26112025_12_48_45_4696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/65bcf18fe6469904e94499df8a70ff19.jpg","text":"TemporaryFile(/tmp/multipartBody3970555079527835933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173763543,"filename":"image_26112025_12_50_08_3016.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396267594","file1":"1396267590","file0":"1396267588","file4":"1396267603","file5":"1396267610","file3":"1396267596"},"map_files_photo_id_array":[{"photo_id":"1396267610","filename":"file5"},{"photo_id":"1396267594","filename":"file2"},{"photo_id":"1396267603","filename":"file4"},{"photo_id":"1396267590","filename":"file1"},{"photo_id":"1396267588","filename":"file0"},{"photo_id":"1396267596","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396267596":["hashtag1","hashtag2"]},{"1396267610":["hashtag1","hashtag2"]},{"1396267594":["hashtag1","hashtag2"]},{"1396267588":["hashtag1","hashtag2"]},{"1396267590":["hashtag1","hashtag2"]},{"1396267603":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396267596, 1396267610, 1396267594, 1396267588, 1396267590, 1396267603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7094783782959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:15:42.003184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_14_2670.jpg', '/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_17_2742.jpg', '/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_21_3705.jpg', '/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_23_2618.jpg', '/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_26_2773.jpg', '/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_30_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_14_2670.jpg
/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_17_2742.jpg
/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_21_3705.jpg
/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_23_2618.jpg
/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_26_2773.jpg
/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_30_3612.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":["1396267629","1396267638","1396267634","1396267637","1396267636","1396267627"],"photo_ids_order":["1396267627","1396267629","1396267634","1396267636","1396267637","1396267638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2502ee9ef4ee5be8f08e1ae3000e9bd5.jpg","text":"TemporaryFile(/tmp/multipartBody110759598269654798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173802820,"filename":"image_26112025_12_50_17_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/26/0880eeb18e688851c5069178e68027d1.jpg","text":"TemporaryFile(/tmp/multipartBody1597848249132241577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173802820,"filename":"image_26112025_12_50_30_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/26/53fe707af595c79b786d81a8b333de7f.jpg","text":"TemporaryFile(/tmp/multipartBody4595669791664602427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173802820,"filename":"image_26112025_12_50_21_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/26/84e0bb4b28c041330891f915183c337c.jpg","text":"TemporaryFile(/tmp/multipartBody141423630558612801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173802820,"filename":"image_26112025_12_50_26_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/26/be2badcc2bb618ebcb0629c85ad32652.jpg","text":"TemporaryFile(/tmp/multipartBody6529598163884436545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173802820,"filename":"image_26112025_12_50_23_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/26/2897e7434c317c92b3593f9f106e6de1.jpg","text":"TemporaryFile(/tmp/multipartBody6843226949725263582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173802820,"filename":"image_26112025_12_50_14_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396267634","file1":"1396267629","file0":"1396267627","file4":"1396267637","file5":"1396267638","file3":"1396267636"},"map_files_photo_id_array":[{"photo_id":"1396267638","filename":"file5"},{"photo_id":"1396267634","filename":"file2"},{"photo_id":"1396267637","filename":"file4"},{"photo_id":"1396267629","filename":"file1"},{"photo_id":"1396267627","filename":"file0"},{"photo_id":"1396267636","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396267629":["hashtag1","hashtag2"]},{"1396267638":["hashtag1","hashtag2"]},{"1396267634":["hashtag1","hashtag2"]},{"1396267637":["hashtag1","hashtag2"]},{"1396267636":["hashtag1","hashtag2"]},{"1396267627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396267629, 1396267638, 1396267634, 1396267637, 1396267636, 1396267627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.42495656013489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 17:16:22.242164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_32_2703.jpg', '/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_35_2655.jpg', '/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_39_3635.jpg', '/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_41_2671.jpg', '/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_44_2800.jpg', '/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_47_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_32_2703.jpg
/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_35_2655.jpg
/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_39_3635.jpg
/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_41_2671.jpg
/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_44_2800.jpg
/home/pi/Desktop/images/26112025/12/50/image_26112025_12_50_47_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":["1396267827","1396267830","1396267769","1396267823","1396267819","1396267810"],"photo_ids_order":["1396267769","1396267810","1396267819","1396267823","1396267827","1396267830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fb6686b328ccbdb146a5b4eb80793c26.jpg","text":"TemporaryFile(/tmp/multipartBody3394893105579311084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173843110,"filename":"image_26112025_12_50_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/26/4dc32476547622b12dcd6adc8a3cb76d.jpg","text":"TemporaryFile(/tmp/multipartBody9177258302361238021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173843110,"filename":"image_26112025_12_50_47_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/26/a44fbbee4ace2231d058a1c665183a2b.jpg","text":"TemporaryFile(/tmp/multipartBody6186080232359667488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173843110,"filename":"image_26112025_12_50_32_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/26/24d63171b49c1fe9dcb67bc54e3a2e9c.jpg","text":"TemporaryFile(/tmp/multipartBody785442922109485437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173843110,"filename":"image_26112025_12_50_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/26/ea38dba973008391413fc09e3f868a3f.jpg","text":"TemporaryFile(/tmp/multipartBody4393861266124638721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173843110,"filename":"image_26112025_12_50_39_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/26/ed558a3293215fb7bdcfaba9cba0eedf.jpg","text":"TemporaryFile(/tmp/multipartBody635659866630425015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173843110,"filename":"image_26112025_12_50_35_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396267819","file1":"1396267810","file0":"1396267769","file4":"1396267827","file5":"1396267830","file3":"1396267823"},"map_files_photo_id_array":[{"photo_id":"1396267830","filename":"file5"},{"photo_id":"1396267819","filename":"file2"},{"photo_id":"1396267827","filename":"file4"},{"photo_id":"1396267810","filename":"file1"},{"photo_id":"1396267769","filename":"file0"},{"photo_id":"1396267823","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396267827":["hashtag1","hashtag2"]},{"1396267830":["hashtag1","hashtag2"]},{"1396267769":["hashtag1","hashtag2"]},{"1396267823":["hashtag1","hashtag2"]},{"1396267819":["hashtag1","hashtag2"]},{"1396267810":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396267827, 1396267830, 1396267769, 1396267823, 1396267819, 1396267810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.859365701675415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:17:03.173355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/52/image_26112025_12_52_07_3011.jpg', '/home/pi/Desktop/images/26112025/12/52/image_26112025_12_52_11_3599.jpg', '/home/pi/Desktop/images/26112025/12/52/image_26112025_12_52_13_2722.jpg', '/home/pi/Desktop/images/26112025/12/52/image_26112025_12_52_16_2684.jpg', '/home/pi/Desktop/images/26112025/12/52/image_26112025_12_52_20_3686.jpg', '/home/pi/Desktop/images/26112025/12/52/image_26112025_12_52_22_2764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/52/image_26112025_12_52_07_3011.jpg
/home/pi/Desktop/images/26112025/12/52/image_26112025_12_52_11_3599.jpg
/home/pi/Desktop/images/26112025/12/52/image_26112025_12_52_13_2722.jpg
/home/pi/Desktop/images/26112025/12/52/image_26112025_12_52_16_2684.jpg
/home/pi/Desktop/images/26112025/12/52/image_26112025_12_52_20_3686.jpg
/home/pi/Desktop/images/26112025/12/52/image_26112025_12_52_22_2764.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":["1396267950","1396267836","1396267874","1396267946","1396267931","1396267915"],"photo_ids_order":["1396267836","1396267874","1396267915","1396267931","1396267946","1396267950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3af482b53b5cae8b4c151f1409a4df29.jpg","text":"TemporaryFile(/tmp/multipartBody5654506416837512069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173884046,"filename":"image_26112025_12_52_22_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/49c44d01c1ecb6ec5b67ab150fe3c627.jpg","text":"TemporaryFile(/tmp/multipartBody2364812380777345711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173884046,"filename":"image_26112025_12_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/26/f5058b8103ea51df9687033daa379812.jpg","text":"TemporaryFile(/tmp/multipartBody5946768774860125371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173884046,"filename":"image_26112025_12_52_11_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/26/a99feb36a3c3248ac8062dcd724cdc57.jpg","text":"TemporaryFile(/tmp/multipartBody985752699261604830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173884046,"filename":"image_26112025_12_52_20_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/26/835ae484dc153df3264a63149d9482d9.jpg","text":"TemporaryFile(/tmp/multipartBody5083188625236447373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173884046,"filename":"image_26112025_12_52_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/26/d2be0fa1805a21e9c025a2e967248ac5.jpg","text":"TemporaryFile(/tmp/multipartBody1417322288085346206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173884046,"filename":"image_26112025_12_52_13_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396267915","file1":"1396267874","file0":"1396267836","file4":"1396267946","file5":"1396267950","file3":"1396267931"},"map_files_photo_id_array":[{"photo_id":"1396267950","filename":"file5"},{"photo_id":"1396267915","filename":"file2"},{"photo_id":"1396267946","filename":"file4"},{"photo_id":"1396267874","filename":"file1"},{"photo_id":"1396267836","filename":"file0"},{"photo_id":"1396267931","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396267950":["hashtag1","hashtag2"]},{"1396267836":["hashtag1","hashtag2"]},{"1396267874":["hashtag1","hashtag2"]},{"1396267946":["hashtag1","hashtag2"]},{"1396267931":["hashtag1","hashtag2"]},{"1396267915":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396267950, 1396267836, 1396267874, 1396267946, 1396267931, 1396267915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.964051485061646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:17:42.388140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/52/image_26112025_12_52_25_2642.jpg', '/home/pi/Desktop/images/26112025/12/52/image_26112025_12_52_29_3846.jpg', '/home/pi/Desktop/images/26112025/12/54/image_26112025_12_54_07_3165.jpg', '/home/pi/Desktop/images/26112025/12/54/image_26112025_12_54_19_11755.jpg', '/home/pi/Desktop/images/26112025/12/54/image_26112025_12_54_21_1540.jpg', '/home/pi/Desktop/images/26112025/12/54/image_26112025_12_54_22_1648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/52/image_26112025_12_52_25_2642.jpg
/home/pi/Desktop/images/26112025/12/52/image_26112025_12_52_29_3846.jpg
/home/pi/Desktop/images/26112025/12/54/image_26112025_12_54_07_3165.jpg
/home/pi/Desktop/images/26112025/12/54/image_26112025_12_54_19_11755.jpg
/home/pi/Desktop/images/26112025/12/54/image_26112025_12_54_21_1540.jpg
/home/pi/Desktop/images/26112025/12/54/image_26112025_12_54_22_1648.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":["1396268013","1396267985","1396268012","1396268015","1396268014","1396268017"],"photo_ids_order":["1396267985","1396268012","1396268013","1396268014","1396268015","1396268017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ff95f0c8b6b843c61b328a76c6a1e841.jpg","text":"TemporaryFile(/tmp/multipartBody7596457584491203619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173923268,"filename":"image_26112025_12_54_07_3165.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/52d0d2deedcf0a296e53fbf54ecfc700.jpg","text":"TemporaryFile(/tmp/multipartBody4423478047959652759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173923268,"filename":"image_26112025_12_52_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/26/ad1cbf608a083f56da4fac1feac5b231.jpg","text":"TemporaryFile(/tmp/multipartBody4998350008850918261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173923268,"filename":"image_26112025_12_52_29_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/26/8815b040c33e4f5fbae203cd682b5dd3.jpg","text":"TemporaryFile(/tmp/multipartBody1841309751118981604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173923268,"filename":"image_26112025_12_54_21_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/26/2070759ef266b0c4ca522ebf681a644a.jpg","text":"TemporaryFile(/tmp/multipartBody109980950735804668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173923268,"filename":"image_26112025_12_54_19_11755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8895919956475a3794f9bb61decdedff.jpg","text":"TemporaryFile(/tmp/multipartBody7602187813441889448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173923268,"filename":"image_26112025_12_54_22_1648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396268013","file1":"1396268012","file0":"1396267985","file4":"1396268015","file5":"1396268017","file3":"1396268014"},"map_files_photo_id_array":[{"photo_id":"1396268017","filename":"file5"},{"photo_id":"1396268013","filename":"file2"},{"photo_id":"1396268015","filename":"file4"},{"photo_id":"1396268012","filename":"file1"},{"photo_id":"1396267985","filename":"file0"},{"photo_id":"1396268014","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396268013":["hashtag1","hashtag2"]},{"1396267985":["hashtag1","hashtag2"]},{"1396268012":["hashtag1","hashtag2"]},{"1396268015":["hashtag1","hashtag2"]},{"1396268014":["hashtag1","hashtag2"]},{"1396268017":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396268013, 1396267985, 1396268012, 1396268015, 1396268014, 1396268017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92972993850708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 17:18:22.558207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/54/image_26112025_12_54_24_1633.jpg', '/home/pi/Desktop/images/26112025/12/54/image_26112025_12_54_26_1617.jpg', '/home/pi/Desktop/images/26112025/12/54/image_26112025_12_54_27_1699.jpg', '/home/pi/Desktop/images/26112025/12/56/image_26112025_12_56_07_3011.jpg', '/home/pi/Desktop/images/26112025/12/56/image_26112025_12_56_11_3769.jpg', '/home/pi/Desktop/images/26112025/12/56/image_26112025_12_56_13_2758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/54/image_26112025_12_54_24_1633.jpg
/home/pi/Desktop/images/26112025/12/54/image_26112025_12_54_26_1617.jpg
/home/pi/Desktop/images/26112025/12/54/image_26112025_12_54_27_1699.jpg
/home/pi/Desktop/images/26112025/12/56/image_26112025_12_56_07_3011.jpg
/home/pi/Desktop/images/26112025/12/56/image_26112025_12_56_11_3769.jpg
/home/pi/Desktop/images/26112025/12/56/image_26112025_12_56_13_2758.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":["1396268039","1396268030","1396268033","1396268035","1396268037","1396268025"],"photo_ids_order":["1396268025","1396268030","1396268033","1396268035","1396268037","1396268039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/09acd731a7a7178ca63170b75fcf829a.jpg","text":"TemporaryFile(/tmp/multipartBody6314390603807137405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173963379,"filename":"image_26112025_12_56_13_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/26/87f2354c788743b2fc3a5b0fcc170ba9.jpg","text":"TemporaryFile(/tmp/multipartBody8680719045106514791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173963379,"filename":"image_26112025_12_54_26_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/26/b338ca602849e6158543151513c990ea.jpg","text":"TemporaryFile(/tmp/multipartBody5310644880101172373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173963379,"filename":"image_26112025_12_54_27_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/26/7e68d2e013ed979492c873a82a61958b.jpg","text":"TemporaryFile(/tmp/multipartBody7942710446391358623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173963379,"filename":"image_26112025_12_56_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e6319e897c4639d68314e1ad515e24f4.jpg","text":"TemporaryFile(/tmp/multipartBody4340256034513049111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173963379,"filename":"image_26112025_12_56_11_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/26/48b3468eb9caae3be897663167af808d.jpg","text":"TemporaryFile(/tmp/multipartBody1851773173325379925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764173963379,"filename":"image_26112025_12_54_24_1633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396268033","file1":"1396268030","file0":"1396268025","file4":"1396268037","file5":"1396268039","file3":"1396268035"},"map_files_photo_id_array":[{"photo_id":"1396268039","filename":"file5"},{"photo_id":"1396268033","filename":"file2"},{"photo_id":"1396268037","filename":"file4"},{"photo_id":"1396268030","filename":"file1"},{"photo_id":"1396268025","filename":"file0"},{"photo_id":"1396268035","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396268039":["hashtag1","hashtag2"]},{"1396268030":["hashtag1","hashtag2"]},{"1396268033":["hashtag1","hashtag2"]},{"1396268035":["hashtag1","hashtag2"]},{"1396268037":["hashtag1","hashtag2"]},{"1396268025":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396268039, 1396268030, 1396268033, 1396268035, 1396268037, 1396268025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80327129364014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:19:03.512739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/56/image_26112025_12_56_16_2662.jpg', '/home/pi/Desktop/images/26112025/12/56/image_26112025_12_56_20_3659.jpg', '/home/pi/Desktop/images/26112025/12/56/image_26112025_12_56_25_2676.jpg', '/home/pi/Desktop/images/26112025/12/56/image_26112025_12_56_29_3550.jpg', '/home/pi/Desktop/images/26112025/12/56/image_26112025_12_56_38_3642.jpg', '/home/pi/Desktop/images/26112025/12/56/image_26112025_12_56_40_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/56/image_26112025_12_56_16_2662.jpg
/home/pi/Desktop/images/26112025/12/56/image_26112025_12_56_20_3659.jpg
/home/pi/Desktop/images/26112025/12/56/image_26112025_12_56_25_2676.jpg
/home/pi/Desktop/images/26112025/12/56/image_26112025_12_56_29_3550.jpg
/home/pi/Desktop/images/26112025/12/56/image_26112025_12_56_38_3642.jpg
/home/pi/Desktop/images/26112025/12/56/image_26112025_12_56_40_2618.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":["1396268040","1396268042","1396268065","1396268050","1396268044","1396268055"],"photo_ids_order":["1396268040","1396268042","1396268044","1396268050","1396268055","1396268065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/908b364502d53cab108631f80c22cf42.jpg","text":"TemporaryFile(/tmp/multipartBody7057980143701487748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174004577,"filename":"image_26112025_12_56_16_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/26/0eb542a349ca779038b8d30481e79ef0.jpg","text":"TemporaryFile(/tmp/multipartBody5741904369917479120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174004577,"filename":"image_26112025_12_56_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/26/0f30cc0c14a5ec020b27292ee117649e.jpg","text":"TemporaryFile(/tmp/multipartBody4780829088767233372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174004577,"filename":"image_26112025_12_56_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/26/5a76bd335f3fd107ce1c71245d680105.jpg","text":"TemporaryFile(/tmp/multipartBody2257808543016284402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174004577,"filename":"image_26112025_12_56_29_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/26/775e9ff40260ca6f63b7aa9a3fdab18c.jpg","text":"TemporaryFile(/tmp/multipartBody6859991036074746112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174004577,"filename":"image_26112025_12_56_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/26/c7bae53356849037fd8c55a025b1c3bc.jpg","text":"TemporaryFile(/tmp/multipartBody6108752336835867740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174004577,"filename":"image_26112025_12_56_38_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396268044","file1":"1396268042","file0":"1396268040","file4":"1396268055","file5":"1396268065","file3":"1396268050"},"map_files_photo_id_array":[{"photo_id":"1396268065","filename":"file5"},{"photo_id":"1396268044","filename":"file2"},{"photo_id":"1396268055","filename":"file4"},{"photo_id":"1396268042","filename":"file1"},{"photo_id":"1396268040","filename":"file0"},{"photo_id":"1396268050","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396268040":["hashtag1","hashtag2"]},{"1396268042":["hashtag1","hashtag2"]},{"1396268065":["hashtag1","hashtag2"]},{"1396268050":["hashtag1","hashtag2"]},{"1396268044":["hashtag1","hashtag2"]},{"1396268055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396268040, 1396268042, 1396268065, 1396268050, 1396268044, 1396268055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4870343208313 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:19:42.772231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/56/image_26112025_12_56_43_3040.jpg', '/home/pi/Desktop/images/26112025/12/56/image_26112025_12_56_49_3089.jpg', '/home/pi/Desktop/images/26112025/12/58/image_26112025_12_58_07_3011.jpg', '/home/pi/Desktop/images/26112025/12/58/image_26112025_12_58_11_3787.jpg', '/home/pi/Desktop/images/26112025/12/58/image_26112025_12_58_14_2767.jpg', '/home/pi/Desktop/images/26112025/12/58/image_26112025_12_58_16_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/56/image_26112025_12_56_43_3040.jpg
/home/pi/Desktop/images/26112025/12/56/image_26112025_12_56_49_3089.jpg
/home/pi/Desktop/images/26112025/12/58/image_26112025_12_58_07_3011.jpg
/home/pi/Desktop/images/26112025/12/58/image_26112025_12_58_11_3787.jpg
/home/pi/Desktop/images/26112025/12/58/image_26112025_12_58_14_2767.jpg
/home/pi/Desktop/images/26112025/12/58/image_26112025_12_58_16_2655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396268090","1396268089","1396268092","1396268091","1396268088","1396268085"],"photo_ids_order":["1396268085","1396268088","1396268089","1396268090","1396268091","1396268092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/06f6e4dd008dfb87c7278db5890ef7fc.jpg","text":"TemporaryFile(/tmp/multipartBody4556362093538816690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174043573,"filename":"image_26112025_12_58_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/26/551d7622a636a6dd83127b746cc80be2.jpg","text":"TemporaryFile(/tmp/multipartBody6161156138744075718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174043573,"filename":"image_26112025_12_58_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/26/6a34f3fdb6022ad3c7bcafa25e3cf82e.jpg","text":"TemporaryFile(/tmp/multipartBody386263051772609374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174043573,"filename":"image_26112025_12_58_16_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b8cfe5fc0a341602a2e327b9d75822b1.jpg","text":"TemporaryFile(/tmp/multipartBody2808442238588444120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174043573,"filename":"image_26112025_12_58_14_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/26/040db2f26197e208c25a7adb775819b2.jpg","text":"TemporaryFile(/tmp/multipartBody1323547353562140225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174043573,"filename":"image_26112025_12_56_49_3089.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/79fe51e143324216fb05cb02c474588c.jpg","text":"TemporaryFile(/tmp/multipartBody5094671191137214109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174043573,"filename":"image_26112025_12_56_43_3040.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396268089","file1":"1396268088","file0":"1396268085","file4":"1396268091","file5":"1396268092","file3":"1396268090"},"map_files_photo_id_array":[{"photo_id":"1396268092","filename":"file5"},{"photo_id":"1396268089","filename":"file2"},{"photo_id":"1396268091","filename":"file4"},{"photo_id":"1396268088","filename":"file1"},{"photo_id":"1396268085","filename":"file0"},{"photo_id":"1396268090","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396268090":["hashtag1","hashtag2"]},{"1396268089":["hashtag1","hashtag2"]},{"1396268092":["hashtag1","hashtag2"]},{"1396268091":["hashtag1","hashtag2"]},{"1396268088":["hashtag1","hashtag2"]},{"1396268085":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396268090, 1396268089, 1396268092, 1396268091, 1396268088, 1396268085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.369633197784424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 17:20:22.030616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/58/image_26112025_12_58_19_2866.jpg', '/home/pi/Desktop/images/26112025/12/58/image_26112025_12_58_23_3769.jpg', '/home/pi/Desktop/images/26112025/12/58/image_26112025_12_58_26_2752.jpg', '/home/pi/Desktop/images/26112025/12/58/image_26112025_12_58_28_2577.jpg', '/home/pi/Desktop/images/26112025/12/58/image_26112025_12_58_31_2785.jpg', '/home/pi/Desktop/images/26112025/12/58/image_26112025_12_58_35_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/58/image_26112025_12_58_19_2866.jpg
/home/pi/Desktop/images/26112025/12/58/image_26112025_12_58_23_3769.jpg
/home/pi/Desktop/images/26112025/12/58/image_26112025_12_58_26_2752.jpg
/home/pi/Desktop/images/26112025/12/58/image_26112025_12_58_28_2577.jpg
/home/pi/Desktop/images/26112025/12/58/image_26112025_12_58_31_2785.jpg
/home/pi/Desktop/images/26112025/12/58/image_26112025_12_58_35_3680.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":["1396268123","1396268140","1396268160","1396268163","1396268166","1396268118"],"photo_ids_order":["1396268118","1396268123","1396268140","1396268160","1396268163","1396268166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cdb8b765eff257fcc3dc642fdf79b523.jpg","text":"TemporaryFile(/tmp/multipartBody5124145796816820514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174082832,"filename":"image_26112025_12_58_23_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/26/f11ba034aed77d5447d6ff27ec8ee62f.jpg","text":"TemporaryFile(/tmp/multipartBody1943515006312453376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174082832,"filename":"image_26112025_12_58_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/26/f3e4975d43995346304cc3a699f66e4b.jpg","text":"TemporaryFile(/tmp/multipartBody1677343474593613388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174082832,"filename":"image_26112025_12_58_28_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/26/0d9ac24731664469c8c5d5d34d5220d9.jpg","text":"TemporaryFile(/tmp/multipartBody2562594554280318181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174082832,"filename":"image_26112025_12_58_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/26/91c82cfd52df88def8e12b594aa641bc.jpg","text":"TemporaryFile(/tmp/multipartBody7954112822405466659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174082832,"filename":"image_26112025_12_58_35_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/26/0b62753c63be67ce3891c59603fc4812.jpg","text":"TemporaryFile(/tmp/multipartBody104571319982063856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174082832,"filename":"image_26112025_12_58_19_2866.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396268140","file1":"1396268123","file0":"1396268118","file4":"1396268163","file5":"1396268166","file3":"1396268160"},"map_files_photo_id_array":[{"photo_id":"1396268166","filename":"file5"},{"photo_id":"1396268140","filename":"file2"},{"photo_id":"1396268163","filename":"file4"},{"photo_id":"1396268123","filename":"file1"},{"photo_id":"1396268118","filename":"file0"},{"photo_id":"1396268160","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396268123":["hashtag1","hashtag2"]},{"1396268140":["hashtag1","hashtag2"]},{"1396268160":["hashtag1","hashtag2"]},{"1396268163":["hashtag1","hashtag2"]},{"1396268166":["hashtag1","hashtag2"]},{"1396268118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396268123, 1396268140, 1396268160, 1396268163, 1396268166, 1396268118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.856565952301025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:21:02.828545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/58/image_26112025_12_58_38_2706.jpg', '/home/pi/Desktop/images/26112025/12/59/image_26112025_12_59_10_3012.jpg', '/home/pi/Desktop/images/26112025/12/59/image_26112025_12_59_14_3734.jpg', '/home/pi/Desktop/images/26112025/12/59/image_26112025_12_59_17_2902.jpg', '/home/pi/Desktop/images/26112025/12/59/image_26112025_12_59_23_3630.jpg', '/home/pi/Desktop/images/26112025/12/59/image_26112025_12_59_26_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/58/image_26112025_12_58_38_2706.jpg
/home/pi/Desktop/images/26112025/12/59/image_26112025_12_59_10_3012.jpg
/home/pi/Desktop/images/26112025/12/59/image_26112025_12_59_14_3734.jpg
/home/pi/Desktop/images/26112025/12/59/image_26112025_12_59_17_2902.jpg
/home/pi/Desktop/images/26112025/12/59/image_26112025_12_59_23_3630.jpg
/home/pi/Desktop/images/26112025/12/59/image_26112025_12_59_26_2639.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":["1396268174","1396268168","1396268185","1396268179","1396268170","1396268167"],"photo_ids_order":["1396268167","1396268168","1396268170","1396268174","1396268179","1396268185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0f8565f43c4a16ffad19c843400c1783.jpg","text":"TemporaryFile(/tmp/multipartBody1114100988828468456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174123759,"filename":"image_26112025_12_59_17_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/26/056f41afbc2b7061c79d6af1f9493f38.jpg","text":"TemporaryFile(/tmp/multipartBody5934314762586376636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174123759,"filename":"image_26112025_12_59_10_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/26/632bc501c73d5be1643a0ff23f30b71a.jpg","text":"TemporaryFile(/tmp/multipartBody6295003561622990021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174123759,"filename":"image_26112025_12_59_26_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8275be6f3150ac2a94f53c2c315b5a9e.jpg","text":"TemporaryFile(/tmp/multipartBody9054085727068881555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174123759,"filename":"image_26112025_12_59_23_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/26/dae24aeca163e338c5b86561d3938712.jpg","text":"TemporaryFile(/tmp/multipartBody8155178172650621961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174123759,"filename":"image_26112025_12_59_14_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/26/66496ff3116515912dd4644b53b4cd94.jpg","text":"TemporaryFile(/tmp/multipartBody6018859937057234979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174123759,"filename":"image_26112025_12_58_38_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396268170","file1":"1396268168","file0":"1396268167","file4":"1396268179","file5":"1396268185","file3":"1396268174"},"map_files_photo_id_array":[{"photo_id":"1396268185","filename":"file5"},{"photo_id":"1396268170","filename":"file2"},{"photo_id":"1396268179","filename":"file4"},{"photo_id":"1396268168","filename":"file1"},{"photo_id":"1396268167","filename":"file0"},{"photo_id":"1396268174","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396268174":["hashtag1","hashtag2"]},{"1396268168":["hashtag1","hashtag2"]},{"1396268185":["hashtag1","hashtag2"]},{"1396268179":["hashtag1","hashtag2"]},{"1396268170":["hashtag1","hashtag2"]},{"1396268167":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396268174, 1396268168, 1396268185, 1396268179, 1396268170, 1396268167)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.9424729347229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:22:02.915607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/12/59/image_26112025_12_59_29_2610.jpg', '/home/pi/Desktop/images/26112025/12/59/image_26112025_12_59_32_3563.jpg', '/home/pi/Desktop/images/26112025/12/59/image_26112025_12_59_35_2679.jpg', '/home/pi/Desktop/images/26112025/12/59/image_26112025_12_59_37_2608.jpg', '/home/pi/Desktop/images/26112025/12/59/image_26112025_12_59_41_3618.jpg', '/home/pi/Desktop/images/26112025/12/59/image_26112025_12_59_44_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/12/59/image_26112025_12_59_29_2610.jpg
/home/pi/Desktop/images/26112025/12/59/image_26112025_12_59_32_3563.jpg
/home/pi/Desktop/images/26112025/12/59/image_26112025_12_59_35_2679.jpg
/home/pi/Desktop/images/26112025/12/59/image_26112025_12_59_37_2608.jpg
/home/pi/Desktop/images/26112025/12/59/image_26112025_12_59_41_3618.jpg
/home/pi/Desktop/images/26112025/12/59/image_26112025_12_59_44_2627.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":["1396268232","1396268255","1396268243","1396268248","1396268241","1396268235"],"photo_ids_order":["1396268232","1396268235","1396268241","1396268243","1396268248","1396268255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e3880705670d7dd2ec3824af08fdc324.jpg","text":"TemporaryFile(/tmp/multipartBody2492535076210931642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174183729,"filename":"image_26112025_12_59_29_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/26/9bc5cbf68df4a73e38086488b088a108.jpg","text":"TemporaryFile(/tmp/multipartBody3969775855398571951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174183729,"filename":"image_26112025_12_59_44_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/26/dd77d15f2a4e483645846686c10a923b.jpg","text":"TemporaryFile(/tmp/multipartBody2852092202622885959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174183729,"filename":"image_26112025_12_59_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/26/125cfc2b5857b550cfb7dde75125c6cd.jpg","text":"TemporaryFile(/tmp/multipartBody4092678904194230153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174183729,"filename":"image_26112025_12_59_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/26/c4c804a4abbcf47ce8f910a2721f1a8f.jpg","text":"TemporaryFile(/tmp/multipartBody7876313541891485062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174183729,"filename":"image_26112025_12_59_35_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/17a045c4e675ab146a6cfd325ab78be8.jpg","text":"TemporaryFile(/tmp/multipartBody3727774708376485820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174183729,"filename":"image_26112025_12_59_32_3563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396268241","file1":"1396268235","file0":"1396268232","file4":"1396268248","file5":"1396268255","file3":"1396268243"},"map_files_photo_id_array":[{"photo_id":"1396268255","filename":"file5"},{"photo_id":"1396268241","filename":"file2"},{"photo_id":"1396268248","filename":"file4"},{"photo_id":"1396268235","filename":"file1"},{"photo_id":"1396268232","filename":"file0"},{"photo_id":"1396268243","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396268232":["hashtag1","hashtag2"]},{"1396268255":["hashtag1","hashtag2"]},{"1396268243":["hashtag1","hashtag2"]},{"1396268248":["hashtag1","hashtag2"]},{"1396268241":["hashtag1","hashtag2"]},{"1396268235":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396268232, 1396268255, 1396268243, 1396268248, 1396268241, 1396268235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45087218284607 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:22:42.441429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/01/image_26112025_13_01_07_3013.jpg', '/home/pi/Desktop/images/26112025/13/01/image_26112025_13_01_11_3762.jpg', '/home/pi/Desktop/images/26112025/13/03/image_26112025_13_03_06_3019.jpg', '/home/pi/Desktop/images/26112025/13/03/image_26112025_13_03_13_2751.jpg', '/home/pi/Desktop/images/26112025/13/03/image_26112025_13_03_15_2812.jpg', '/home/pi/Desktop/images/26112025/13/03/image_26112025_13_03_29_10075.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/01/image_26112025_13_01_07_3013.jpg
/home/pi/Desktop/images/26112025/13/01/image_26112025_13_01_11_3762.jpg
/home/pi/Desktop/images/26112025/13/03/image_26112025_13_03_06_3019.jpg
/home/pi/Desktop/images/26112025/13/03/image_26112025_13_03_13_2751.jpg
/home/pi/Desktop/images/26112025/13/03/image_26112025_13_03_15_2812.jpg
/home/pi/Desktop/images/26112025/13/03/image_26112025_13_03_29_10075.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":["1396268304","1396268273","1396268309","1396268275","1396268269","1396268314"],"photo_ids_order":["1396268269","1396268273","1396268275","1396268304","1396268309","1396268314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f734ec164090de355b7235c99239e5b3.jpg","text":"TemporaryFile(/tmp/multipartBody1893067264800754441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174223278,"filename":"image_26112025_13_03_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/26/fb7d58201e27490fb94316bc3350edf3.jpg","text":"TemporaryFile(/tmp/multipartBody657432005402519483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174223278,"filename":"image_26112025_13_01_11_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/26/4bdc32ed696c853d22f5bd78a0c20528.jpg","text":"TemporaryFile(/tmp/multipartBody803498330472619913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174223278,"filename":"image_26112025_13_03_15_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/26/813ee129dec2ab39de63684de50764e9.jpg","text":"TemporaryFile(/tmp/multipartBody1905553757415059405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174223278,"filename":"image_26112025_13_03_06_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/26/aa86a436887d89d85c44587d5d05fd99.jpg","text":"TemporaryFile(/tmp/multipartBody359813250856401402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174223278,"filename":"image_26112025_13_01_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/26/9492569f90852ebcf43c61dd6defff8d.jpg","text":"TemporaryFile(/tmp/multipartBody980536840676755626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174223278,"filename":"image_26112025_13_03_29_10075.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396268275","file1":"1396268273","file0":"1396268269","file4":"1396268309","file5":"1396268314","file3":"1396268304"},"map_files_photo_id_array":[{"photo_id":"1396268314","filename":"file5"},{"photo_id":"1396268275","filename":"file2"},{"photo_id":"1396268309","filename":"file4"},{"photo_id":"1396268273","filename":"file1"},{"photo_id":"1396268269","filename":"file0"},{"photo_id":"1396268304","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396268304":["hashtag1","hashtag2"]},{"1396268273":["hashtag1","hashtag2"]},{"1396268309":["hashtag1","hashtag2"]},{"1396268275":["hashtag1","hashtag2"]},{"1396268269":["hashtag1","hashtag2"]},{"1396268314":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396268304, 1396268273, 1396268309, 1396268275, 1396268269, 1396268314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44369888305664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 17:23:22.585426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/03/image_26112025_13_03_31_1680.jpg', '/home/pi/Desktop/images/26112025/13/03/image_26112025_13_03_33_1657.jpg', '/home/pi/Desktop/images/26112025/13/03/image_26112025_13_03_34_1646.jpg', '/home/pi/Desktop/images/26112025/13/03/image_26112025_13_03_38_1720.jpg', '/home/pi/Desktop/images/26112025/13/03/image_26112025_13_03_39_1549.jpg', '/home/pi/Desktop/images/26112025/13/03/image_26112025_13_03_43_3748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/03/image_26112025_13_03_31_1680.jpg
/home/pi/Desktop/images/26112025/13/03/image_26112025_13_03_33_1657.jpg
/home/pi/Desktop/images/26112025/13/03/image_26112025_13_03_34_1646.jpg
/home/pi/Desktop/images/26112025/13/03/image_26112025_13_03_38_1720.jpg
/home/pi/Desktop/images/26112025/13/03/image_26112025_13_03_39_1549.jpg
/home/pi/Desktop/images/26112025/13/03/image_26112025_13_03_43_3748.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":["1396268331","1396268328","1396268350","1396268340","1396268334","1396268337"],"photo_ids_order":["1396268328","1396268331","1396268334","1396268337","1396268340","1396268350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a4dec33a0589d9eee23089b30a814a4b.jpg","text":"TemporaryFile(/tmp/multipartBody2251650423588478309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174263378,"filename":"image_26112025_13_03_33_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/26/9356db67a0fa31c8781fd82d315fe206.jpg","text":"TemporaryFile(/tmp/multipartBody1982038433469372168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174263378,"filename":"image_26112025_13_03_31_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2dcd1acdb06916e1716dfd5d4b51098a.jpg","text":"TemporaryFile(/tmp/multipartBody2136838209965817056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174263378,"filename":"image_26112025_13_03_43_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/26/b63b405358568df952444d7c75b293e4.jpg","text":"TemporaryFile(/tmp/multipartBody8735641867912344535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174263378,"filename":"image_26112025_13_03_39_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/26/5dddb7dffae45059f84973c821d5fb14.jpg","text":"TemporaryFile(/tmp/multipartBody7144152060377342797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174263378,"filename":"image_26112025_13_03_34_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/26/723619e8f0815bc8c9a13c64a9bc5b30.jpg","text":"TemporaryFile(/tmp/multipartBody7847199542924006998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174263378,"filename":"image_26112025_13_03_38_1720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396268334","file1":"1396268331","file0":"1396268328","file4":"1396268340","file5":"1396268350","file3":"1396268337"},"map_files_photo_id_array":[{"photo_id":"1396268350","filename":"file5"},{"photo_id":"1396268334","filename":"file2"},{"photo_id":"1396268340","filename":"file4"},{"photo_id":"1396268331","filename":"file1"},{"photo_id":"1396268328","filename":"file0"},{"photo_id":"1396268337","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396268331":["hashtag1","hashtag2"]},{"1396268328":["hashtag1","hashtag2"]},{"1396268350":["hashtag1","hashtag2"]},{"1396268340":["hashtag1","hashtag2"]},{"1396268334":["hashtag1","hashtag2"]},{"1396268337":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396268331, 1396268328, 1396268350, 1396268340, 1396268334, 1396268337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.806010246276855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:24:03.243507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/03/image_26112025_13_03_48_2653.jpg', '/home/pi/Desktop/images/26112025/13/05/image_26112025_13_05_07_3016.jpg', '/home/pi/Desktop/images/26112025/13/05/image_26112025_13_05_11_3662.jpg', '/home/pi/Desktop/images/26112025/13/05/image_26112025_13_05_13_2761.jpg', '/home/pi/Desktop/images/26112025/13/05/image_26112025_13_05_16_2651.jpg', '/home/pi/Desktop/images/26112025/13/05/image_26112025_13_05_22_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/03/image_26112025_13_03_48_2653.jpg
/home/pi/Desktop/images/26112025/13/05/image_26112025_13_05_07_3016.jpg
/home/pi/Desktop/images/26112025/13/05/image_26112025_13_05_11_3662.jpg
/home/pi/Desktop/images/26112025/13/05/image_26112025_13_05_13_2761.jpg
/home/pi/Desktop/images/26112025/13/05/image_26112025_13_05_16_2651.jpg
/home/pi/Desktop/images/26112025/13/05/image_26112025_13_05_22_2691.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":["1396268366","1396268368","1396268377","1396268362","1396268370","1396268373"],"photo_ids_order":["1396268362","1396268366","1396268368","1396268370","1396268373","1396268377"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c74c2546da392eb54ea1a3ecb075e2d3.jpg","text":"TemporaryFile(/tmp/multipartBody5732575195323500521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174304040,"filename":"image_26112025_13_05_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/26/5660aac1a1cb45fb2a35b73f475dfb60.jpg","text":"TemporaryFile(/tmp/multipartBody818214658564405489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174304040,"filename":"image_26112025_13_05_11_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/87f9e1f209fe988222c2a5d9d2926239.jpg","text":"TemporaryFile(/tmp/multipartBody2972388306611945016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174304040,"filename":"image_26112025_13_05_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/26/6aea6f4ced0978ceb0a147e11b146864.jpg","text":"TemporaryFile(/tmp/multipartBody4238453166161576067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174304040,"filename":"image_26112025_13_03_48_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/26/4be758a29267bdb1324f80e2a64b3570.jpg","text":"TemporaryFile(/tmp/multipartBody8701046262837495913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174304040,"filename":"image_26112025_13_05_13_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/26/620049e1d6374f3d1a975073ef1cf8d3.jpg","text":"TemporaryFile(/tmp/multipartBody7427206344453518382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174304040,"filename":"image_26112025_13_05_16_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396268368","file1":"1396268366","file0":"1396268362","file4":"1396268373","file5":"1396268377","file3":"1396268370"},"map_files_photo_id_array":[{"photo_id":"1396268377","filename":"file5"},{"photo_id":"1396268368","filename":"file2"},{"photo_id":"1396268373","filename":"file4"},{"photo_id":"1396268366","filename":"file1"},{"photo_id":"1396268362","filename":"file0"},{"photo_id":"1396268370","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396268366":["hashtag1","hashtag2"]},{"1396268368":["hashtag1","hashtag2"]},{"1396268377":["hashtag1","hashtag2"]},{"1396268362":["hashtag1","hashtag2"]},{"1396268370":["hashtag1","hashtag2"]},{"1396268373":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396268366, 1396268368, 1396268377, 1396268362, 1396268370, 1396268373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.924400091171265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:24:42.719513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/05/image_26112025_13_05_25_2658.jpg', '/home/pi/Desktop/images/26112025/13/05/image_26112025_13_05_29_3821.jpg', '/home/pi/Desktop/images/26112025/13/05/image_26112025_13_05_35_1625.jpg', '/home/pi/Desktop/images/26112025/13/08/image_26112025_13_08_07_3012.jpg', '/home/pi/Desktop/images/26112025/13/08/image_26112025_13_08_10_3117.jpg', '/home/pi/Desktop/images/26112025/13/08/image_26112025_13_08_13_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/05/image_26112025_13_05_25_2658.jpg
/home/pi/Desktop/images/26112025/13/05/image_26112025_13_05_29_3821.jpg
/home/pi/Desktop/images/26112025/13/05/image_26112025_13_05_35_1625.jpg
/home/pi/Desktop/images/26112025/13/08/image_26112025_13_08_07_3012.jpg
/home/pi/Desktop/images/26112025/13/08/image_26112025_13_08_10_3117.jpg
/home/pi/Desktop/images/26112025/13/08/image_26112025_13_08_13_3623.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":["1396268403","1396268393","1396268396","1396268392","1396268389","1396268391"],"photo_ids_order":["1396268389","1396268391","1396268392","1396268393","1396268396","1396268403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/50bd507a5a1b0ba416dcb6bbcb060e3a.jpg","text":"TemporaryFile(/tmp/multipartBody4612241088659569894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174343488,"filename":"image_26112025_13_08_13_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/26/cc3d278b066eae87871713c26dfca57f.jpg","text":"TemporaryFile(/tmp/multipartBody4573335799144762358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174343488,"filename":"image_26112025_13_08_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/26/e9a9f5ebe1b26e459168a9b453a476af.jpg","text":"TemporaryFile(/tmp/multipartBody322295655334389692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174343488,"filename":"image_26112025_13_08_10_3117.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7010d5443fb777ca19e929a209b9a886.jpg","text":"TemporaryFile(/tmp/multipartBody8085444195055076447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174343488,"filename":"image_26112025_13_05_35_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/26/d29546841cdc1cffc247a53f25393913.jpg","text":"TemporaryFile(/tmp/multipartBody8377978674466988534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174343488,"filename":"image_26112025_13_05_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/26/0db48e5cb921141bf0da2878829067bc.jpg","text":"TemporaryFile(/tmp/multipartBody7945129881488949828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174343488,"filename":"image_26112025_13_05_29_3821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396268392","file1":"1396268391","file0":"1396268389","file4":"1396268396","file5":"1396268403","file3":"1396268393"},"map_files_photo_id_array":[{"photo_id":"1396268403","filename":"file5"},{"photo_id":"1396268392","filename":"file2"},{"photo_id":"1396268396","filename":"file4"},{"photo_id":"1396268391","filename":"file1"},{"photo_id":"1396268389","filename":"file0"},{"photo_id":"1396268393","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396268403":["hashtag1","hashtag2"]},{"1396268393":["hashtag1","hashtag2"]},{"1396268396":["hashtag1","hashtag2"]},{"1396268392":["hashtag1","hashtag2"]},{"1396268389":["hashtag1","hashtag2"]},{"1396268391":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396268403, 1396268393, 1396268396, 1396268392, 1396268389, 1396268391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28388023376465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 17:25:21.863064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/08/image_26112025_13_08_18_4162.jpg', '/home/pi/Desktop/images/26112025/13/08/image_26112025_13_08_23_5570.jpg', '/home/pi/Desktop/images/26112025/13/08/image_26112025_13_08_29_5973.jpg', '/home/pi/Desktop/images/26112025/13/08/image_26112025_13_08_32_1654.jpg', '/home/pi/Desktop/images/26112025/13/08/image_26112025_13_08_34_1522.jpg', '/home/pi/Desktop/images/26112025/13/08/image_26112025_13_08_35_1542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/08/image_26112025_13_08_18_4162.jpg
/home/pi/Desktop/images/26112025/13/08/image_26112025_13_08_23_5570.jpg
/home/pi/Desktop/images/26112025/13/08/image_26112025_13_08_29_5973.jpg
/home/pi/Desktop/images/26112025/13/08/image_26112025_13_08_32_1654.jpg
/home/pi/Desktop/images/26112025/13/08/image_26112025_13_08_34_1522.jpg
/home/pi/Desktop/images/26112025/13/08/image_26112025_13_08_35_1542.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":["1396268426","1396268420","1396268414","1396268423","1396268417","1396268410"],"photo_ids_order":["1396268410","1396268414","1396268417","1396268420","1396268423","1396268426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8d57ad521534e0151aafaf3db25e8154.jpg","text":"TemporaryFile(/tmp/multipartBody2907333852348897505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174382628,"filename":"image_26112025_13_08_35_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/58efff3bbe37d732d37f8a3b73388f94.jpg","text":"TemporaryFile(/tmp/multipartBody5993798960162807032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174382628,"filename":"image_26112025_13_08_32_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/26/a9d7e37c718b84ba59bc209ba6596448.jpg","text":"TemporaryFile(/tmp/multipartBody3883763924521811790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174382628,"filename":"image_26112025_13_08_23_5570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/14378ccc9791bef5837a8611e8f01e91.jpg","text":"TemporaryFile(/tmp/multipartBody6596007741677345832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174382628,"filename":"image_26112025_13_08_34_1522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8c265755fe287f1814f3d388fbe15daf.jpg","text":"TemporaryFile(/tmp/multipartBody4600359129242539537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174382628,"filename":"image_26112025_13_08_29_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/26/62fce037f94881c2b8b791d7bfc04ece.jpg","text":"TemporaryFile(/tmp/multipartBody1402297081988162377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174382628,"filename":"image_26112025_13_08_18_4162.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396268417","file1":"1396268414","file0":"1396268410","file4":"1396268423","file5":"1396268426","file3":"1396268420"},"map_files_photo_id_array":[{"photo_id":"1396268426","filename":"file5"},{"photo_id":"1396268417","filename":"file2"},{"photo_id":"1396268423","filename":"file4"},{"photo_id":"1396268414","filename":"file1"},{"photo_id":"1396268410","filename":"file0"},{"photo_id":"1396268420","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396268426":["hashtag1","hashtag2"]},{"1396268420":["hashtag1","hashtag2"]},{"1396268414":["hashtag1","hashtag2"]},{"1396268423":["hashtag1","hashtag2"]},{"1396268417":["hashtag1","hashtag2"]},{"1396268410":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396268426, 1396268420, 1396268414, 1396268423, 1396268417, 1396268410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71857476234436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:26:02.562827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/08/image_26112025_13_08_37_1546.jpg', '/home/pi/Desktop/images/26112025/13/08/image_26112025_13_08_59_21584.jpg', '/home/pi/Desktop/images/26112025/13/09/image_26112025_13_09_01_2891.jpg', '/home/pi/Desktop/images/26112025/13/09/image_26112025_13_09_03_1825.jpg', '/home/pi/Desktop/images/26112025/13/09/image_26112025_13_09_05_1670.jpg', '/home/pi/Desktop/images/26112025/13/11/image_26112025_13_11_07_3384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/08/image_26112025_13_08_37_1546.jpg
/home/pi/Desktop/images/26112025/13/08/image_26112025_13_08_59_21584.jpg
/home/pi/Desktop/images/26112025/13/09/image_26112025_13_09_01_2891.jpg
/home/pi/Desktop/images/26112025/13/09/image_26112025_13_09_03_1825.jpg
/home/pi/Desktop/images/26112025/13/09/image_26112025_13_09_05_1670.jpg
/home/pi/Desktop/images/26112025/13/11/image_26112025_13_11_07_3384.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":["1396268445","1396268439","1396268438","1396268448","1396268442","1396268436"],"photo_ids_order":["1396268436","1396268438","1396268439","1396268442","1396268445","1396268448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ee8a3c907b277652d8371dcfce1e26b9.jpg","text":"TemporaryFile(/tmp/multipartBody4533338511429988460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174423381,"filename":"image_26112025_13_09_05_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/26/e2cb78846b2890baff8615ff4786964a.jpg","text":"TemporaryFile(/tmp/multipartBody624492641514100915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174423381,"filename":"image_26112025_13_09_01_2891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cb306e172b2c966367808621a6ab07fb.jpg","text":"TemporaryFile(/tmp/multipartBody8996243398347018079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174423381,"filename":"image_26112025_13_08_59_21584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dc788c73fe2f15794567a770a75f075a.jpg","text":"TemporaryFile(/tmp/multipartBody5655947676029261777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174423381,"filename":"image_26112025_13_11_07_3384.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1d33800b54b5cd20d10985b32c83e505.jpg","text":"TemporaryFile(/tmp/multipartBody7184374459100912155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174423381,"filename":"image_26112025_13_09_03_1825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4293210bf2f104fc80d1943aed13399c.jpg","text":"TemporaryFile(/tmp/multipartBody523345309224705426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174423381,"filename":"image_26112025_13_08_37_1546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396268439","file1":"1396268438","file0":"1396268436","file4":"1396268445","file5":"1396268448","file3":"1396268442"},"map_files_photo_id_array":[{"photo_id":"1396268448","filename":"file5"},{"photo_id":"1396268439","filename":"file2"},{"photo_id":"1396268445","filename":"file4"},{"photo_id":"1396268438","filename":"file1"},{"photo_id":"1396268436","filename":"file0"},{"photo_id":"1396268442","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396268445":["hashtag1","hashtag2"]},{"1396268439":["hashtag1","hashtag2"]},{"1396268438":["hashtag1","hashtag2"]},{"1396268448":["hashtag1","hashtag2"]},{"1396268442":["hashtag1","hashtag2"]},{"1396268436":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396268445, 1396268439, 1396268438, 1396268448, 1396268442, 1396268436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.816214084625244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:26:42.203681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/11/image_26112025_13_11_10_3088.jpg', '/home/pi/Desktop/images/26112025/13/11/image_26112025_13_11_13_2618.jpg', '/home/pi/Desktop/images/26112025/13/11/image_26112025_13_11_17_3785.jpg', '/home/pi/Desktop/images/26112025/13/11/image_26112025_13_11_19_2623.jpg', '/home/pi/Desktop/images/26112025/13/13/image_26112025_13_13_07_3390.jpg', '/home/pi/Desktop/images/26112025/13/13/image_26112025_13_13_10_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/11/image_26112025_13_11_10_3088.jpg
/home/pi/Desktop/images/26112025/13/11/image_26112025_13_11_13_2618.jpg
/home/pi/Desktop/images/26112025/13/11/image_26112025_13_11_17_3785.jpg
/home/pi/Desktop/images/26112025/13/11/image_26112025_13_11_19_2623.jpg
/home/pi/Desktop/images/26112025/13/13/image_26112025_13_13_07_3390.jpg
/home/pi/Desktop/images/26112025/13/13/image_26112025_13_13_10_2759.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.68827223777771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:27:03.167606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/11/image_26112025_13_11_10_3088.jpg', '/home/pi/Desktop/images/26112025/13/11/image_26112025_13_11_13_2618.jpg', '/home/pi/Desktop/images/26112025/13/11/image_26112025_13_11_17_3785.jpg', '/home/pi/Desktop/images/26112025/13/11/image_26112025_13_11_19_2623.jpg', '/home/pi/Desktop/images/26112025/13/13/image_26112025_13_13_07_3390.jpg', '/home/pi/Desktop/images/26112025/13/13/image_26112025_13_13_10_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/11/image_26112025_13_11_10_3088.jpg
/home/pi/Desktop/images/26112025/13/11/image_26112025_13_11_13_2618.jpg
/home/pi/Desktop/images/26112025/13/11/image_26112025_13_11_17_3785.jpg
/home/pi/Desktop/images/26112025/13/11/image_26112025_13_11_19_2623.jpg
/home/pi/Desktop/images/26112025/13/13/image_26112025_13_13_07_3390.jpg
/home/pi/Desktop/images/26112025/13/13/image_26112025_13_13_10_2759.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":["1396268483","1396268486","1396268491","1396268494","1396268488","1396268500"],"photo_ids_order":["1396268483","1396268486","1396268488","1396268491","1396268494","1396268500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d4f893da6b35409bd745bbef132cea87.jpg","text":"TemporaryFile(/tmp/multipartBody5678825686920610540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174484043,"filename":"image_26112025_13_11_10_3088.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1dcae4123347a954f145c7c701e866a7.jpg","text":"TemporaryFile(/tmp/multipartBody8483379734611682452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174484043,"filename":"image_26112025_13_11_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/26/5943880d1f0b6cd025b89e5789d57758.jpg","text":"TemporaryFile(/tmp/multipartBody7737591447834259616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174484043,"filename":"image_26112025_13_11_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/26/8a870f6dcb565b898fdc5b798b1c8ab0.jpg","text":"TemporaryFile(/tmp/multipartBody1960807374773361542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174484043,"filename":"image_26112025_13_13_07_3390.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ff9c53a721471eab17015c8b0e6f4d24.jpg","text":"TemporaryFile(/tmp/multipartBody7787458907543468352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174484043,"filename":"image_26112025_13_11_17_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/26/04b1ce8a6c0e2ae5735e0e854eeabf58.jpg","text":"TemporaryFile(/tmp/multipartBody1751517771578748314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174484043,"filename":"image_26112025_13_13_10_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396268488","file1":"1396268486","file0":"1396268483","file4":"1396268494","file5":"1396268500","file3":"1396268491"},"map_files_photo_id_array":[{"photo_id":"1396268500","filename":"file5"},{"photo_id":"1396268488","filename":"file2"},{"photo_id":"1396268494","filename":"file4"},{"photo_id":"1396268486","filename":"file1"},{"photo_id":"1396268483","filename":"file0"},{"photo_id":"1396268491","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396268483":["hashtag1","hashtag2"]},{"1396268486":["hashtag1","hashtag2"]},{"1396268491":["hashtag1","hashtag2"]},{"1396268494":["hashtag1","hashtag2"]},{"1396268488":["hashtag1","hashtag2"]},{"1396268500":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396268483, 1396268486, 1396268491, 1396268494, 1396268488, 1396268500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76782965660095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:27:42.443461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/13/image_26112025_13_13_13_2890.jpg', '/home/pi/Desktop/images/26112025/13/13/image_26112025_13_13_23_3665.jpg', '/home/pi/Desktop/images/26112025/13/13/image_26112025_13_13_37_14335.jpg', '/home/pi/Desktop/images/26112025/13/13/image_26112025_13_13_39_1553.jpg', '/home/pi/Desktop/images/26112025/13/16/image_26112025_13_16_07_3011.jpg', '/home/pi/Desktop/images/26112025/13/16/image_26112025_13_16_10_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/13/image_26112025_13_13_13_2890.jpg
/home/pi/Desktop/images/26112025/13/13/image_26112025_13_13_23_3665.jpg
/home/pi/Desktop/images/26112025/13/13/image_26112025_13_13_37_14335.jpg
/home/pi/Desktop/images/26112025/13/13/image_26112025_13_13_39_1553.jpg
/home/pi/Desktop/images/26112025/13/16/image_26112025_13_16_07_3011.jpg
/home/pi/Desktop/images/26112025/13/16/image_26112025_13_16_10_3658.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.6335604190826416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:28:03.062656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/13/image_26112025_13_13_13_2890.jpg', '/home/pi/Desktop/images/26112025/13/13/image_26112025_13_13_23_3665.jpg', '/home/pi/Desktop/images/26112025/13/13/image_26112025_13_13_37_14335.jpg', '/home/pi/Desktop/images/26112025/13/13/image_26112025_13_13_39_1553.jpg', '/home/pi/Desktop/images/26112025/13/16/image_26112025_13_16_07_3011.jpg', '/home/pi/Desktop/images/26112025/13/16/image_26112025_13_16_10_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/13/image_26112025_13_13_13_2890.jpg
/home/pi/Desktop/images/26112025/13/13/image_26112025_13_13_23_3665.jpg
/home/pi/Desktop/images/26112025/13/13/image_26112025_13_13_37_14335.jpg
/home/pi/Desktop/images/26112025/13/13/image_26112025_13_13_39_1553.jpg
/home/pi/Desktop/images/26112025/13/16/image_26112025_13_16_07_3011.jpg
/home/pi/Desktop/images/26112025/13/16/image_26112025_13_16_10_3658.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":["1396268789","1396268849","1396268822","1396268857","1396268845","1396268853"],"photo_ids_order":["1396268789","1396268822","1396268845","1396268849","1396268853","1396268857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/34e83173b076ef8287644fd688aced4a.jpg","text":"TemporaryFile(/tmp/multipartBody4872448909257326086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174543913,"filename":"image_26112025_13_13_13_2890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dd4685bcce4c3049f7bd36ef668fae3c.jpg","text":"TemporaryFile(/tmp/multipartBody220274445405180660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174543913,"filename":"image_26112025_13_13_39_1553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d406a4895814b589b2bcf66be1cc6fd0.jpg","text":"TemporaryFile(/tmp/multipartBody3213026852380348389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174543913,"filename":"image_26112025_13_13_23_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/26/eff59ebf8211f3d4c47bd96ac0a21e9a.jpg","text":"TemporaryFile(/tmp/multipartBody8596976313397926185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174543913,"filename":"image_26112025_13_16_10_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/26/115f687941760ad748016352a78288b6.jpg","text":"TemporaryFile(/tmp/multipartBody1451801506802387014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174543913,"filename":"image_26112025_13_13_37_14335.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/29b6a2e007927ad6917abf552fcc67c9.jpg","text":"TemporaryFile(/tmp/multipartBody8698159452916898283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174543913,"filename":"image_26112025_13_16_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396268845","file1":"1396268822","file0":"1396268789","file4":"1396268853","file5":"1396268857","file3":"1396268849"},"map_files_photo_id_array":[{"photo_id":"1396268857","filename":"file5"},{"photo_id":"1396268845","filename":"file2"},{"photo_id":"1396268853","filename":"file4"},{"photo_id":"1396268822","filename":"file1"},{"photo_id":"1396268789","filename":"file0"},{"photo_id":"1396268849","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396268789":["hashtag1","hashtag2"]},{"1396268849":["hashtag1","hashtag2"]},{"1396268822":["hashtag1","hashtag2"]},{"1396268857":["hashtag1","hashtag2"]},{"1396268845":["hashtag1","hashtag2"]},{"1396268853":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396268789, 1396268849, 1396268822, 1396268857, 1396268845, 1396268853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10306262969971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:28:42.637712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/16/image_26112025_13_16_17_2582.jpg', '/home/pi/Desktop/images/26112025/13/16/image_26112025_13_16_19_2683.jpg', '/home/pi/Desktop/images/26112025/13/16/image_26112025_13_16_28_3665.jpg', '/home/pi/Desktop/images/26112025/13/16/image_26112025_13_16_34_2643.jpg', '/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_01_27419.jpg', '/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_03_1821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/16/image_26112025_13_16_17_2582.jpg
/home/pi/Desktop/images/26112025/13/16/image_26112025_13_16_19_2683.jpg
/home/pi/Desktop/images/26112025/13/16/image_26112025_13_16_28_3665.jpg
/home/pi/Desktop/images/26112025/13/16/image_26112025_13_16_34_2643.jpg
/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_01_27419.jpg
/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_03_1821.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":["1396268891","1396268879","1396268893","1396268884","1396268874","1396268877"],"photo_ids_order":["1396268874","1396268877","1396268879","1396268884","1396268891","1396268893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f2a1f35346e459f6fc75af8b5bf2e11a.jpg","text":"TemporaryFile(/tmp/multipartBody2839544395694808762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174583376,"filename":"image_26112025_13_17_01_27419.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3e2fa1fc89b5301da261714eb6d2d080.jpg","text":"TemporaryFile(/tmp/multipartBody7988926462449942853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174583376,"filename":"image_26112025_13_16_28_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/56d1592fe25247eb48645f6e8ea4e2d4.jpg","text":"TemporaryFile(/tmp/multipartBody5282624826043506726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174583376,"filename":"image_26112025_13_17_03_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/26/f2056922e22cddca2f917eb20bae0c7f.jpg","text":"TemporaryFile(/tmp/multipartBody7707722074334807854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174583376,"filename":"image_26112025_13_16_34_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/26/8ae28a1d76d8a87295efae26c54480c9.jpg","text":"TemporaryFile(/tmp/multipartBody7272236525443402340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174583376,"filename":"image_26112025_13_16_17_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/26/7c8668e84e97ab5d45db777f39d1adb9.jpg","text":"TemporaryFile(/tmp/multipartBody9208481523570979755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174583376,"filename":"image_26112025_13_16_19_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396268879","file1":"1396268877","file0":"1396268874","file4":"1396268891","file5":"1396268893","file3":"1396268884"},"map_files_photo_id_array":[{"photo_id":"1396268893","filename":"file5"},{"photo_id":"1396268879","filename":"file2"},{"photo_id":"1396268891","filename":"file4"},{"photo_id":"1396268877","filename":"file1"},{"photo_id":"1396268874","filename":"file0"},{"photo_id":"1396268884","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396268891":["hashtag1","hashtag2"]},{"1396268879":["hashtag1","hashtag2"]},{"1396268893":["hashtag1","hashtag2"]},{"1396268884":["hashtag1","hashtag2"]},{"1396268874":["hashtag1","hashtag2"]},{"1396268877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396268891, 1396268879, 1396268893, 1396268884, 1396268874, 1396268877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96608209609985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 17:29:22.902589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_05_1820.jpg', '/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_07_1842.jpg', '/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_08_1602.jpg', '/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_14_5414.jpg', '/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_15_1667.jpg', '/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_17_1635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_05_1820.jpg
/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_07_1842.jpg
/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_08_1602.jpg
/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_14_5414.jpg
/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_15_1667.jpg
/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_17_1635.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":["1396268913","1396268953","1396268991","1396268902","1396269036","1396268898"],"photo_ids_order":["1396268898","1396268902","1396268913","1396268953","1396268991","1396269036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e672376ded35cb8aa4a3517294b0c825.jpg","text":"TemporaryFile(/tmp/multipartBody2566553190607626871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174623594,"filename":"image_26112025_13_17_08_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/26/20593a59263b0c542ad93355d0043ee0.jpg","text":"TemporaryFile(/tmp/multipartBody4228058233855934641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174623594,"filename":"image_26112025_13_17_14_5414.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fe151984b0bf07e383b6a0e1c569a887.jpg","text":"TemporaryFile(/tmp/multipartBody9051567402615871072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174623594,"filename":"image_26112025_13_17_15_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/26/d14771b217cac65953150008c3f27a3b.jpg","text":"TemporaryFile(/tmp/multipartBody1303629210969989543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174623594,"filename":"image_26112025_13_17_07_1842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5881d441b0012fd675fff40d6368d6fe.jpg","text":"TemporaryFile(/tmp/multipartBody1643267695142235447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174623594,"filename":"image_26112025_13_17_17_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/26/4a14232b781e588e1986158698ad174f.jpg","text":"TemporaryFile(/tmp/multipartBody3351322281017974383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174623594,"filename":"image_26112025_13_17_05_1820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396268913","file1":"1396268902","file0":"1396268898","file4":"1396268991","file5":"1396269036","file3":"1396268953"},"map_files_photo_id_array":[{"photo_id":"1396269036","filename":"file5"},{"photo_id":"1396268913","filename":"file2"},{"photo_id":"1396268991","filename":"file4"},{"photo_id":"1396268902","filename":"file1"},{"photo_id":"1396268898","filename":"file0"},{"photo_id":"1396268953","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396268913":["hashtag1","hashtag2"]},{"1396268953":["hashtag1","hashtag2"]},{"1396268991":["hashtag1","hashtag2"]},{"1396268902":["hashtag1","hashtag2"]},{"1396269036":["hashtag1","hashtag2"]},{"1396268898":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396268913, 1396268953, 1396268991, 1396268902, 1396269036, 1396268898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.884127140045166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:30:02.559517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_19_1635.jpg', '/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_20_1647.jpg', '/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_22_1553.jpg', '/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_23_1625.jpg', '/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_25_1678.jpg', '/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_27_1623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_19_1635.jpg
/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_20_1647.jpg
/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_22_1553.jpg
/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_23_1625.jpg
/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_25_1678.jpg
/home/pi/Desktop/images/26112025/13/17/image_26112025_13_17_27_1623.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":["1396269227","1396269223","1396269243","1396269237","1396269225","1396269194"],"photo_ids_order":["1396269194","1396269223","1396269225","1396269227","1396269237","1396269243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9b713614a402081e650c1068c6663e28.jpg","text":"TemporaryFile(/tmp/multipartBody517850061605320320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174663401,"filename":"image_26112025_13_17_23_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/26/df5bce5e32359dac0ff5f813c943713a.jpg","text":"TemporaryFile(/tmp/multipartBody5842916598273454050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174663401,"filename":"image_26112025_13_17_20_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/26/f023d1876f0d7d9680751782f9b049ce.jpg","text":"TemporaryFile(/tmp/multipartBody6084379333825744423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174663401,"filename":"image_26112025_13_17_27_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/26/cdb13ea0b2ffbd603018d88ac6e6095d.jpg","text":"TemporaryFile(/tmp/multipartBody7354269966545051523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174663401,"filename":"image_26112025_13_17_25_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/26/a9e2d352a92f555f994da3ec263dfbfc.jpg","text":"TemporaryFile(/tmp/multipartBody5789740718906204213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174663401,"filename":"image_26112025_13_17_22_1553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/138c4746102fd33095befd1d572d9334.jpg","text":"TemporaryFile(/tmp/multipartBody3770227114103990747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174663401,"filename":"image_26112025_13_17_19_1635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396269225","file1":"1396269223","file0":"1396269194","file4":"1396269237","file5":"1396269243","file3":"1396269227"},"map_files_photo_id_array":[{"photo_id":"1396269243","filename":"file5"},{"photo_id":"1396269225","filename":"file2"},{"photo_id":"1396269237","filename":"file4"},{"photo_id":"1396269223","filename":"file1"},{"photo_id":"1396269194","filename":"file0"},{"photo_id":"1396269227","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396269227":["hashtag1","hashtag2"]},{"1396269223":["hashtag1","hashtag2"]},{"1396269243":["hashtag1","hashtag2"]},{"1396269237":["hashtag1","hashtag2"]},{"1396269225":["hashtag1","hashtag2"]},{"1396269194":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396269227, 1396269223, 1396269243, 1396269237, 1396269225, 1396269194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56584143638611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:30:42.053882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/19/image_26112025_13_19_06_3018.jpg', '/home/pi/Desktop/images/26112025/13/19/image_26112025_13_19_13_2569.jpg', '/home/pi/Desktop/images/26112025/13/19/image_26112025_13_19_16_3700.jpg', '/home/pi/Desktop/images/26112025/13/19/image_26112025_13_19_19_2592.jpg', '/home/pi/Desktop/images/26112025/13/19/image_26112025_13_19_22_2664.jpg', '/home/pi/Desktop/images/26112025/13/19/image_26112025_13_19_25_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/19/image_26112025_13_19_06_3018.jpg
/home/pi/Desktop/images/26112025/13/19/image_26112025_13_19_13_2569.jpg
/home/pi/Desktop/images/26112025/13/19/image_26112025_13_19_16_3700.jpg
/home/pi/Desktop/images/26112025/13/19/image_26112025_13_19_19_2592.jpg
/home/pi/Desktop/images/26112025/13/19/image_26112025_13_19_22_2664.jpg
/home/pi/Desktop/images/26112025/13/19/image_26112025_13_19_25_3600.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":["1396269272","1396269266","1396269254","1396269271","1396269270","1396269269"],"photo_ids_order":["1396269254","1396269266","1396269269","1396269270","1396269271","1396269272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e04ded661686128bd957a5bdba2beb2c.jpg","text":"TemporaryFile(/tmp/multipartBody1799961397648660686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174702826,"filename":"image_26112025_13_19_25_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/26/c651665778d4246df34c5864b0bcf524.jpg","text":"TemporaryFile(/tmp/multipartBody1209552564655839320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174702826,"filename":"image_26112025_13_19_13_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6766b930a4c9c4b3be26f88cc44cce05.jpg","text":"TemporaryFile(/tmp/multipartBody1718150863494358931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174702826,"filename":"image_26112025_13_19_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/26/3c3a2cc720f81b04608942c774c7ae36.jpg","text":"TemporaryFile(/tmp/multipartBody8227039809330595590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174702826,"filename":"image_26112025_13_19_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/26/4e0ee99d844269ab2a840507549582bd.jpg","text":"TemporaryFile(/tmp/multipartBody1640571228352454810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174702826,"filename":"image_26112025_13_19_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/26/28832ea4d4cfd14c127a9a3f186fc61f.jpg","text":"TemporaryFile(/tmp/multipartBody1839428320035593871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174702826,"filename":"image_26112025_13_19_16_3700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396269269","file1":"1396269266","file0":"1396269254","file4":"1396269271","file5":"1396269272","file3":"1396269270"},"map_files_photo_id_array":[{"photo_id":"1396269272","filename":"file5"},{"photo_id":"1396269269","filename":"file2"},{"photo_id":"1396269271","filename":"file4"},{"photo_id":"1396269266","filename":"file1"},{"photo_id":"1396269254","filename":"file0"},{"photo_id":"1396269270","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396269272":["hashtag1","hashtag2"]},{"1396269266":["hashtag1","hashtag2"]},{"1396269254":["hashtag1","hashtag2"]},{"1396269271":["hashtag1","hashtag2"]},{"1396269270":["hashtag1","hashtag2"]},{"1396269269":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396269272, 1396269266, 1396269254, 1396269271, 1396269270, 1396269269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.93281412124634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 17:31:22.224545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/19/image_26112025_13_19_30_5345.jpg', '/home/pi/Desktop/images/26112025/13/21/image_26112025_13_21_07_3017.jpg', '/home/pi/Desktop/images/26112025/13/21/image_26112025_13_21_10_3561.jpg', '/home/pi/Desktop/images/26112025/13/21/image_26112025_13_21_20_3770.jpg', '/home/pi/Desktop/images/26112025/13/21/image_26112025_13_21_25_2633.jpg', '/home/pi/Desktop/images/26112025/13/21/image_26112025_13_21_28_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/19/image_26112025_13_19_30_5345.jpg
/home/pi/Desktop/images/26112025/13/21/image_26112025_13_21_07_3017.jpg
/home/pi/Desktop/images/26112025/13/21/image_26112025_13_21_10_3561.jpg
/home/pi/Desktop/images/26112025/13/21/image_26112025_13_21_20_3770.jpg
/home/pi/Desktop/images/26112025/13/21/image_26112025_13_21_25_2633.jpg
/home/pi/Desktop/images/26112025/13/21/image_26112025_13_21_28_2795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396269299","1396269290","1396269311","1396269308","1396269302","1396269304"],"photo_ids_order":["1396269290","1396269299","1396269302","1396269304","1396269308","1396269311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/41d565b1db92a53dff4e977ea17dedfd.jpg","text":"TemporaryFile(/tmp/multipartBody2788330813949828747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174742955,"filename":"image_26112025_13_21_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/26/226814899c7974593cb8090985f973d1.jpg","text":"TemporaryFile(/tmp/multipartBody3770681664574894410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174742955,"filename":"image_26112025_13_19_30_5345.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a0fbb7abba3466d5f0135f0fb93c3e50.jpg","text":"TemporaryFile(/tmp/multipartBody6194970012876233429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174742955,"filename":"image_26112025_13_21_28_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/26/237a141cf7ed691909ba93fd18917859.jpg","text":"TemporaryFile(/tmp/multipartBody6568671282052054784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174742955,"filename":"image_26112025_13_21_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/26/563710c17533b86219bb29970a7a63d3.jpg","text":"TemporaryFile(/tmp/multipartBody4337590455329765752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174742955,"filename":"image_26112025_13_21_10_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/26/0d657d0e404e4a98f09242e320c1b640.jpg","text":"TemporaryFile(/tmp/multipartBody1353789523775111885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174742955,"filename":"image_26112025_13_21_20_3770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396269302","file1":"1396269299","file0":"1396269290","file4":"1396269308","file5":"1396269311","file3":"1396269304"},"map_files_photo_id_array":[{"photo_id":"1396269311","filename":"file5"},{"photo_id":"1396269302","filename":"file2"},{"photo_id":"1396269308","filename":"file4"},{"photo_id":"1396269299","filename":"file1"},{"photo_id":"1396269290","filename":"file0"},{"photo_id":"1396269304","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396269299":["hashtag1","hashtag2"]},{"1396269290":["hashtag1","hashtag2"]},{"1396269311":["hashtag1","hashtag2"]},{"1396269308":["hashtag1","hashtag2"]},{"1396269302":["hashtag1","hashtag2"]},{"1396269304":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396269299, 1396269290, 1396269311, 1396269308, 1396269302, 1396269304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.319408655166626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:32:02.869326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/21/image_26112025_13_21_44_1682.jpg', '/home/pi/Desktop/images/26112025/13/21/image_26112025_13_21_47_1624.jpg', '/home/pi/Desktop/images/26112025/13/21/image_26112025_13_21_49_1736.jpg', '/home/pi/Desktop/images/26112025/13/21/image_26112025_13_21_58_9601.jpg', '/home/pi/Desktop/images/26112025/13/24/image_26112025_13_24_07_3011.jpg', '/home/pi/Desktop/images/26112025/13/24/image_26112025_13_24_10_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/21/image_26112025_13_21_44_1682.jpg
/home/pi/Desktop/images/26112025/13/21/image_26112025_13_21_47_1624.jpg
/home/pi/Desktop/images/26112025/13/21/image_26112025_13_21_49_1736.jpg
/home/pi/Desktop/images/26112025/13/21/image_26112025_13_21_58_9601.jpg
/home/pi/Desktop/images/26112025/13/24/image_26112025_13_24_07_3011.jpg
/home/pi/Desktop/images/26112025/13/24/image_26112025_13_24_10_3682.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":["1396269314","1396269317","1396269325","1396269313","1396269330","1396269327"],"photo_ids_order":["1396269313","1396269314","1396269317","1396269325","1396269327","1396269330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ac07e9f675279cbc5666a633b3ae4816.jpg","text":"TemporaryFile(/tmp/multipartBody6179445399571532026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174785137,"filename":"image_26112025_13_21_47_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/26/94a0cdc818720af74cb15e42f2470585.jpg","text":"TemporaryFile(/tmp/multipartBody5358632182069445862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174785137,"filename":"image_26112025_13_21_49_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/26/a3ceb0dc6f62e6783a69cdf814448fb9.jpg","text":"TemporaryFile(/tmp/multipartBody8899274154107955963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174785137,"filename":"image_26112025_13_21_58_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3080bb0790525b17bb2685b913ff65fd.jpg","text":"TemporaryFile(/tmp/multipartBody6554802919671251328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174785137,"filename":"image_26112025_13_21_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/26/7991c4bcf9241a3ded088f70e89dbc2c.jpg","text":"TemporaryFile(/tmp/multipartBody7310800587543083194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174785137,"filename":"image_26112025_13_24_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/26/51a6eac4cb2a484dbe991d01b2839842.jpg","text":"TemporaryFile(/tmp/multipartBody2811177500516606131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174785137,"filename":"image_26112025_13_24_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396269317","file1":"1396269314","file0":"1396269313","file4":"1396269327","file5":"1396269330","file3":"1396269325"},"map_files_photo_id_array":[{"photo_id":"1396269330","filename":"file5"},{"photo_id":"1396269317","filename":"file2"},{"photo_id":"1396269327","filename":"file4"},{"photo_id":"1396269314","filename":"file1"},{"photo_id":"1396269313","filename":"file0"},{"photo_id":"1396269325","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396269314":["hashtag1","hashtag2"]},{"1396269317":["hashtag1","hashtag2"]},{"1396269325":["hashtag1","hashtag2"]},{"1396269313":["hashtag1","hashtag2"]},{"1396269330":["hashtag1","hashtag2"]},{"1396269327":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396269314, 1396269317, 1396269325, 1396269313, 1396269330, 1396269327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.709174156188965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:32:42.487888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/24/image_26112025_13_24_13_2782.jpg', '/home/pi/Desktop/images/26112025/13/24/image_26112025_13_24_16_2739.jpg', '/home/pi/Desktop/images/26112025/13/24/image_26112025_13_24_19_3653.jpg', '/home/pi/Desktop/images/26112025/13/24/image_26112025_13_24_22_2749.jpg', '/home/pi/Desktop/images/26112025/13/24/image_26112025_13_24_28_2690.jpg', '/home/pi/Desktop/images/26112025/13/24/image_26112025_13_24_47_19837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/24/image_26112025_13_24_13_2782.jpg
/home/pi/Desktop/images/26112025/13/24/image_26112025_13_24_16_2739.jpg
/home/pi/Desktop/images/26112025/13/24/image_26112025_13_24_19_3653.jpg
/home/pi/Desktop/images/26112025/13/24/image_26112025_13_24_22_2749.jpg
/home/pi/Desktop/images/26112025/13/24/image_26112025_13_24_28_2690.jpg
/home/pi/Desktop/images/26112025/13/24/image_26112025_13_24_47_19837.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":["1396269356","1396269359","1396269346","1396269358","1396269357","1396269360"],"photo_ids_order":["1396269346","1396269356","1396269357","1396269358","1396269359","1396269360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/21e08eae34a632028152c2b49e9bc92f.jpg","text":"TemporaryFile(/tmp/multipartBody7245687538078790105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174823208,"filename":"image_26112025_13_24_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/26/c5caef4fa41418a492fa1ffa42a51593.jpg","text":"TemporaryFile(/tmp/multipartBody5280095939771666264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174823208,"filename":"image_26112025_13_24_28_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/26/e227154e6efdde9805f9f7bba61c149f.jpg","text":"TemporaryFile(/tmp/multipartBody2130389770026755253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174823208,"filename":"image_26112025_13_24_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/26/f9a119c10d43b27069aa9e46100b717c.jpg","text":"TemporaryFile(/tmp/multipartBody7466603996749930924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174823208,"filename":"image_26112025_13_24_22_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/26/125f66cb2ecd13198a50f84fd1d08fcf.jpg","text":"TemporaryFile(/tmp/multipartBody7069742998621965265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174823208,"filename":"image_26112025_13_24_19_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/26/b54a5801e6fb50fe38c42f54b4c99386.jpg","text":"TemporaryFile(/tmp/multipartBody7354856855480243926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174823208,"filename":"image_26112025_13_24_47_19837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396269357","file1":"1396269356","file0":"1396269346","file4":"1396269359","file5":"1396269360","file3":"1396269358"},"map_files_photo_id_array":[{"photo_id":"1396269360","filename":"file5"},{"photo_id":"1396269357","filename":"file2"},{"photo_id":"1396269359","filename":"file4"},{"photo_id":"1396269356","filename":"file1"},{"photo_id":"1396269346","filename":"file0"},{"photo_id":"1396269358","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396269356":["hashtag1","hashtag2"]},{"1396269359":["hashtag1","hashtag2"]},{"1396269346":["hashtag1","hashtag2"]},{"1396269358":["hashtag1","hashtag2"]},{"1396269357":["hashtag1","hashtag2"]},{"1396269360":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396269356, 1396269359, 1396269346, 1396269358, 1396269357, 1396269360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94385576248169 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 17:33:22.640945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/24/image_26112025_13_24_53_1745.jpg', '/home/pi/Desktop/images/26112025/13/24/image_26112025_13_24_56_1689.jpg', '/home/pi/Desktop/images/26112025/13/24/image_26112025_13_24_58_1552.jpg', '/home/pi/Desktop/images/26112025/13/24/image_26112025_13_24_59_1779.jpg', '/home/pi/Desktop/images/26112025/13/25/image_26112025_13_25_01_1502.jpg', '/home/pi/Desktop/images/26112025/13/25/image_26112025_13_25_03_1804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/24/image_26112025_13_24_53_1745.jpg
/home/pi/Desktop/images/26112025/13/24/image_26112025_13_24_56_1689.jpg
/home/pi/Desktop/images/26112025/13/24/image_26112025_13_24_58_1552.jpg
/home/pi/Desktop/images/26112025/13/24/image_26112025_13_24_59_1779.jpg
/home/pi/Desktop/images/26112025/13/25/image_26112025_13_25_01_1502.jpg
/home/pi/Desktop/images/26112025/13/25/image_26112025_13_25_03_1804.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":["1396269364","1396269375","1396269378","1396269372","1396269366","1396269369"],"photo_ids_order":["1396269364","1396269366","1396269369","1396269372","1396269375","1396269378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5f1f67a79947ed297e2853823f41ca86.jpg","text":"TemporaryFile(/tmp/multipartBody6332742647151567430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174863360,"filename":"image_26112025_13_24_53_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/26/4970a3d08c642b2008801f8c4b17b29b.jpg","text":"TemporaryFile(/tmp/multipartBody7121100673908513993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174863360,"filename":"image_26112025_13_25_01_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/26/ace71eb43281dba9a7fd4768fce4c3d9.jpg","text":"TemporaryFile(/tmp/multipartBody8526462950206886276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174863360,"filename":"image_26112025_13_25_03_1804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f3b3584edc6e02ddb4d08ec41a1ae739.jpg","text":"TemporaryFile(/tmp/multipartBody7775645858286374908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174863360,"filename":"image_26112025_13_24_59_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/26/9d306219aa1d668d9c01a2e8e0f3157d.jpg","text":"TemporaryFile(/tmp/multipartBody2643462271941959859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174863360,"filename":"image_26112025_13_24_56_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/26/fe9cd3cbf547bd3d79c17fae7758c47b.jpg","text":"TemporaryFile(/tmp/multipartBody5735327393044789908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174863360,"filename":"image_26112025_13_24_58_1552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396269369","file1":"1396269366","file0":"1396269364","file4":"1396269375","file5":"1396269378","file3":"1396269372"},"map_files_photo_id_array":[{"photo_id":"1396269378","filename":"file5"},{"photo_id":"1396269369","filename":"file2"},{"photo_id":"1396269375","filename":"file4"},{"photo_id":"1396269366","filename":"file1"},{"photo_id":"1396269364","filename":"file0"},{"photo_id":"1396269372","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396269364":["hashtag1","hashtag2"]},{"1396269375":["hashtag1","hashtag2"]},{"1396269378":["hashtag1","hashtag2"]},{"1396269372":["hashtag1","hashtag2"]},{"1396269366":["hashtag1","hashtag2"]},{"1396269369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396269364, 1396269375, 1396269378, 1396269372, 1396269366, 1396269369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16303086280823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:34:03.378257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/25/image_26112025_13_25_04_1626.jpg', '/home/pi/Desktop/images/26112025/13/25/image_26112025_13_25_06_1559.jpg', '/home/pi/Desktop/images/26112025/13/25/image_26112025_13_25_07_1588.jpg', '/home/pi/Desktop/images/26112025/13/25/image_26112025_13_25_13_5897.jpg', '/home/pi/Desktop/images/26112025/13/25/image_26112025_13_25_15_1557.jpg', '/home/pi/Desktop/images/26112025/13/26/image_26112025_13_26_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/25/image_26112025_13_25_04_1626.jpg
/home/pi/Desktop/images/26112025/13/25/image_26112025_13_25_06_1559.jpg
/home/pi/Desktop/images/26112025/13/25/image_26112025_13_25_07_1588.jpg
/home/pi/Desktop/images/26112025/13/25/image_26112025_13_25_13_5897.jpg
/home/pi/Desktop/images/26112025/13/25/image_26112025_13_25_15_1557.jpg
/home/pi/Desktop/images/26112025/13/26/image_26112025_13_26_07_3011.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":["1396269383","1396269382","1396269381","1396269390","1396269384","1396269387"],"photo_ids_order":["1396269381","1396269382","1396269383","1396269384","1396269387","1396269390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fde88c2ab87e1de1d60664eea53d864d.jpg","text":"TemporaryFile(/tmp/multipartBody4607697028887357024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174904123,"filename":"image_26112025_13_25_07_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/26/2413e061261bbe0d36b8b11e4d5a4d67.jpg","text":"TemporaryFile(/tmp/multipartBody5521863132728154660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174904123,"filename":"image_26112025_13_25_06_1559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3d7212bf71ca65fb4a786278908c1154.jpg","text":"TemporaryFile(/tmp/multipartBody7435474553501642397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174904123,"filename":"image_26112025_13_25_04_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/26/082d283a31a7c8f070f1788149a853f5.jpg","text":"TemporaryFile(/tmp/multipartBody6853258680483170670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174904123,"filename":"image_26112025_13_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/26/cfe9046bfafb2d7e442fed244f112694.jpg","text":"TemporaryFile(/tmp/multipartBody158645882923385194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174904123,"filename":"image_26112025_13_25_13_5897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/17f56ad10693de7e79bca584013be784.jpg","text":"TemporaryFile(/tmp/multipartBody32643526390197080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174904123,"filename":"image_26112025_13_25_15_1557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396269383","file1":"1396269382","file0":"1396269381","file4":"1396269387","file5":"1396269390","file3":"1396269384"},"map_files_photo_id_array":[{"photo_id":"1396269390","filename":"file5"},{"photo_id":"1396269383","filename":"file2"},{"photo_id":"1396269387","filename":"file4"},{"photo_id":"1396269382","filename":"file1"},{"photo_id":"1396269381","filename":"file0"},{"photo_id":"1396269384","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396269383":["hashtag1","hashtag2"]},{"1396269382":["hashtag1","hashtag2"]},{"1396269381":["hashtag1","hashtag2"]},{"1396269390":["hashtag1","hashtag2"]},{"1396269384":["hashtag1","hashtag2"]},{"1396269387":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396269383, 1396269382, 1396269381, 1396269390, 1396269384, 1396269387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92591142654419 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:34:42.857102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/26/image_26112025_13_26_10_3680.jpg', '/home/pi/Desktop/images/26112025/13/26/image_26112025_13_26_13_2841.jpg', '/home/pi/Desktop/images/26112025/13/26/image_26112025_13_26_22_3655.jpg', '/home/pi/Desktop/images/26112025/13/26/image_26112025_13_26_29_3638.jpg', '/home/pi/Desktop/images/26112025/13/28/image_26112025_13_28_07_3011.jpg', '/home/pi/Desktop/images/26112025/13/28/image_26112025_13_28_14_3634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/26/image_26112025_13_26_10_3680.jpg
/home/pi/Desktop/images/26112025/13/26/image_26112025_13_26_13_2841.jpg
/home/pi/Desktop/images/26112025/13/26/image_26112025_13_26_22_3655.jpg
/home/pi/Desktop/images/26112025/13/26/image_26112025_13_26_29_3638.jpg
/home/pi/Desktop/images/26112025/13/28/image_26112025_13_28_07_3011.jpg
/home/pi/Desktop/images/26112025/13/28/image_26112025_13_28_14_3634.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":["1396269404","1396269407","1396269406","1396269408","1396269402","1396269405"],"photo_ids_order":["1396269402","1396269404","1396269405","1396269406","1396269407","1396269408"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/75b44bb7da2848f94ca54b1b951812e0.jpg","text":"TemporaryFile(/tmp/multipartBody1076558399484979884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174943574,"filename":"image_26112025_13_26_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/26/807cd8e3f7e3d6377210ac4e3647f84c.jpg","text":"TemporaryFile(/tmp/multipartBody2211524334648312720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174943574,"filename":"image_26112025_13_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/26/460df01ac30354146592957dd5506508.jpg","text":"TemporaryFile(/tmp/multipartBody7425797445482889394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174943574,"filename":"image_26112025_13_26_29_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/26/7441721e036d0739a3b24f1c1b8cbca6.jpg","text":"TemporaryFile(/tmp/multipartBody6888252993703698825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174943574,"filename":"image_26112025_13_28_14_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/26/f2afc20ac535fcb07172483ad01696f5.jpg","text":"TemporaryFile(/tmp/multipartBody6546714086317848548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174943574,"filename":"image_26112025_13_26_10_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/26/806e6d966f6edc5d38e05dcd40efbb59.jpg","text":"TemporaryFile(/tmp/multipartBody8196804743858824974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174943574,"filename":"image_26112025_13_26_22_3655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396269405","file1":"1396269404","file0":"1396269402","file4":"1396269407","file5":"1396269408","file3":"1396269406"},"map_files_photo_id_array":[{"photo_id":"1396269408","filename":"file5"},{"photo_id":"1396269405","filename":"file2"},{"photo_id":"1396269407","filename":"file4"},{"photo_id":"1396269404","filename":"file1"},{"photo_id":"1396269402","filename":"file0"},{"photo_id":"1396269406","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396269404":["hashtag1","hashtag2"]},{"1396269407":["hashtag1","hashtag2"]},{"1396269406":["hashtag1","hashtag2"]},{"1396269408":["hashtag1","hashtag2"]},{"1396269402":["hashtag1","hashtag2"]},{"1396269405":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396269404, 1396269407, 1396269406, 1396269408, 1396269402, 1396269405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20022964477539 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 17:35:22.009433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/28/image_26112025_13_28_29_1762.jpg', '/home/pi/Desktop/images/26112025/13/28/image_26112025_13_28_37_2547.jpg', '/home/pi/Desktop/images/26112025/13/28/image_26112025_13_28_59_12524.jpg', '/home/pi/Desktop/images/26112025/13/29/image_26112025_13_29_05_1612.jpg', '/home/pi/Desktop/images/26112025/13/30/image_26112025_13_30_11_3552.jpg', '/home/pi/Desktop/images/26112025/13/30/image_26112025_13_30_40_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/28/image_26112025_13_28_29_1762.jpg
/home/pi/Desktop/images/26112025/13/28/image_26112025_13_28_37_2547.jpg
/home/pi/Desktop/images/26112025/13/28/image_26112025_13_28_59_12524.jpg
/home/pi/Desktop/images/26112025/13/29/image_26112025_13_29_05_1612.jpg
/home/pi/Desktop/images/26112025/13/30/image_26112025_13_30_11_3552.jpg
/home/pi/Desktop/images/26112025/13/30/image_26112025_13_30_40_2701.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":["1396269422","1396269425","1396269419","1396269428","1396269413","1396269416"],"photo_ids_order":["1396269413","1396269416","1396269419","1396269422","1396269425","1396269428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ff9d93e2356cc7fee23a2927f9a2f671.jpg","text":"TemporaryFile(/tmp/multipartBody2219165824375713145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174982728,"filename":"image_26112025_13_29_05_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/26/2ed97ec4cb9bdaa702447766f20645e3.jpg","text":"TemporaryFile(/tmp/multipartBody1692048553100355086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174982728,"filename":"image_26112025_13_30_11_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/26/f8ec2c55563e1230fb303e63eaf710bc.jpg","text":"TemporaryFile(/tmp/multipartBody6109297012022703788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174982728,"filename":"image_26112025_13_28_59_12524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6b9885afc3e1a3b195c52d06ee16800f.jpg","text":"TemporaryFile(/tmp/multipartBody7856053342040995018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174982728,"filename":"image_26112025_13_30_40_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/110fd61b1e1546e76d94c404439b233b.jpg","text":"TemporaryFile(/tmp/multipartBody3015994610735128514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174982728,"filename":"image_26112025_13_28_29_1762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/503aa57ffaaae50672d153326d9a080d.jpg","text":"TemporaryFile(/tmp/multipartBody3458358237341798494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764174982728,"filename":"image_26112025_13_28_37_2547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396269419","file1":"1396269416","file0":"1396269413","file4":"1396269425","file5":"1396269428","file3":"1396269422"},"map_files_photo_id_array":[{"photo_id":"1396269428","filename":"file5"},{"photo_id":"1396269419","filename":"file2"},{"photo_id":"1396269425","filename":"file4"},{"photo_id":"1396269416","filename":"file1"},{"photo_id":"1396269413","filename":"file0"},{"photo_id":"1396269422","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396269422":["hashtag1","hashtag2"]},{"1396269425":["hashtag1","hashtag2"]},{"1396269419":["hashtag1","hashtag2"]},{"1396269428":["hashtag1","hashtag2"]},{"1396269413":["hashtag1","hashtag2"]},{"1396269416":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396269422, 1396269425, 1396269419, 1396269428, 1396269413, 1396269416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99271368980408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:36:02.664111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/30/image_26112025_13_30_43_2872.jpg', '/home/pi/Desktop/images/26112025/13/30/image_26112025_13_30_58_5876.jpg', '/home/pi/Desktop/images/26112025/13/31/image_26112025_13_31_10_11587.jpg', '/home/pi/Desktop/images/26112025/13/31/image_26112025_13_31_11_1564.jpg', '/home/pi/Desktop/images/26112025/13/33/image_26112025_13_33_06_3014.jpg', '/home/pi/Desktop/images/26112025/13/33/image_26112025_13_33_13_3123.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/30/image_26112025_13_30_43_2872.jpg
/home/pi/Desktop/images/26112025/13/30/image_26112025_13_30_58_5876.jpg
/home/pi/Desktop/images/26112025/13/31/image_26112025_13_31_10_11587.jpg
/home/pi/Desktop/images/26112025/13/31/image_26112025_13_31_11_1564.jpg
/home/pi/Desktop/images/26112025/13/33/image_26112025_13_33_06_3014.jpg
/home/pi/Desktop/images/26112025/13/33/image_26112025_13_33_13_3123.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":["1396269437","1396269431","1396269434","1396269433","1396269441","1396269435"],"photo_ids_order":["1396269431","1396269433","1396269434","1396269435","1396269437","1396269441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e56fdf93f2b3a28e370b428b9f3e090d.jpg","text":"TemporaryFile(/tmp/multipartBody6369048875034137097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175023378,"filename":"image_26112025_13_33_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/26/a686100d2bb689a352b4152e146d4e46.jpg","text":"TemporaryFile(/tmp/multipartBody1646780798852343519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175023378,"filename":"image_26112025_13_30_43_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/26/1e3d4ffa8f343561827b6d85083958b2.jpg","text":"TemporaryFile(/tmp/multipartBody1020921563431249711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175023378,"filename":"image_26112025_13_31_10_11587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7d32e5397fbf41931badb908383ce694.jpg","text":"TemporaryFile(/tmp/multipartBody8451060511646354956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175023378,"filename":"image_26112025_13_30_58_5876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/05b9df8892ef331ad4c18610ca8dfa3f.jpg","text":"TemporaryFile(/tmp/multipartBody6332559480848507185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175023378,"filename":"image_26112025_13_33_13_3123.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5ba5bad53545a9323283694e1321ed81.jpg","text":"TemporaryFile(/tmp/multipartBody6885183154705676104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175023378,"filename":"image_26112025_13_31_11_1564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396269434","file1":"1396269433","file0":"1396269431","file4":"1396269437","file5":"1396269441","file3":"1396269435"},"map_files_photo_id_array":[{"photo_id":"1396269441","filename":"file5"},{"photo_id":"1396269434","filename":"file2"},{"photo_id":"1396269437","filename":"file4"},{"photo_id":"1396269433","filename":"file1"},{"photo_id":"1396269431","filename":"file0"},{"photo_id":"1396269435","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396269437":["hashtag1","hashtag2"]},{"1396269431":["hashtag1","hashtag2"]},{"1396269434":["hashtag1","hashtag2"]},{"1396269433":["hashtag1","hashtag2"]},{"1396269441":["hashtag1","hashtag2"]},{"1396269435":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396269437, 1396269431, 1396269434, 1396269433, 1396269441, 1396269435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65711045265198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:36:42.165024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/33/image_26112025_13_33_18_2722.jpg', '/home/pi/Desktop/images/26112025/13/33/image_26112025_13_33_22_3574.jpg', '/home/pi/Desktop/images/26112025/13/33/image_26112025_13_33_28_3568.jpg', '/home/pi/Desktop/images/26112025/13/33/image_26112025_13_33_42_13386.jpg', '/home/pi/Desktop/images/26112025/13/33/image_26112025_13_33_45_1750.jpg', '/home/pi/Desktop/images/26112025/13/33/image_26112025_13_33_48_1578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/33/image_26112025_13_33_18_2722.jpg
/home/pi/Desktop/images/26112025/13/33/image_26112025_13_33_22_3574.jpg
/home/pi/Desktop/images/26112025/13/33/image_26112025_13_33_28_3568.jpg
/home/pi/Desktop/images/26112025/13/33/image_26112025_13_33_42_13386.jpg
/home/pi/Desktop/images/26112025/13/33/image_26112025_13_33_45_1750.jpg
/home/pi/Desktop/images/26112025/13/33/image_26112025_13_33_48_1578.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":["1396269455","1396269449","1396269452","1396269451","1396269454","1396269453"],"photo_ids_order":["1396269449","1396269451","1396269452","1396269453","1396269454","1396269455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2fcf4deb035a8b612a1b0a8cee1c3fe2.jpg","text":"TemporaryFile(/tmp/multipartBody2111104007000169107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175062862,"filename":"image_26112025_13_33_48_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/26/5a6da69d8d4b419631aa1a8696659e05.jpg","text":"TemporaryFile(/tmp/multipartBody7227427619952712748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175062862,"filename":"image_26112025_13_33_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/26/a91bde25dd18322bbccde9b7006a6313.jpg","text":"TemporaryFile(/tmp/multipartBody7730742129363293428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175062862,"filename":"image_26112025_13_33_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/26/19985082d7aad12b906c218b1a2bcf49.jpg","text":"TemporaryFile(/tmp/multipartBody1571212982637681726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175062862,"filename":"image_26112025_13_33_22_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/26/785bc1c9e588da23e1d6ee6d4e92108f.jpg","text":"TemporaryFile(/tmp/multipartBody2684826034969826747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175062862,"filename":"image_26112025_13_33_45_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/26/e8a5349f3631509d5a5c6ae7299937b6.jpg","text":"TemporaryFile(/tmp/multipartBody6787532126338765878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175062862,"filename":"image_26112025_13_33_42_13386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396269452","file1":"1396269451","file0":"1396269449","file4":"1396269454","file5":"1396269455","file3":"1396269453"},"map_files_photo_id_array":[{"photo_id":"1396269455","filename":"file5"},{"photo_id":"1396269452","filename":"file2"},{"photo_id":"1396269454","filename":"file4"},{"photo_id":"1396269451","filename":"file1"},{"photo_id":"1396269449","filename":"file0"},{"photo_id":"1396269453","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396269455":["hashtag1","hashtag2"]},{"1396269449":["hashtag1","hashtag2"]},{"1396269452":["hashtag1","hashtag2"]},{"1396269451":["hashtag1","hashtag2"]},{"1396269454":["hashtag1","hashtag2"]},{"1396269453":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396269455, 1396269449, 1396269452, 1396269451, 1396269454, 1396269453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55197358131409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 17:37:22.394827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/33/image_26112025_13_33_58_8724.jpg', '/home/pi/Desktop/images/26112025/13/33/image_26112025_13_34_00_1756.jpg', '/home/pi/Desktop/images/26112025/13/34/image_26112025_13_34_02_1705.jpg', '/home/pi/Desktop/images/26112025/13/34/image_26112025_13_34_03_1583.jpg', '/home/pi/Desktop/images/26112025/13/34/image_26112025_13_34_05_1623.jpg', '/home/pi/Desktop/images/26112025/13/34/image_26112025_13_34_09_1675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/33/image_26112025_13_33_58_8724.jpg
/home/pi/Desktop/images/26112025/13/33/image_26112025_13_34_00_1756.jpg
/home/pi/Desktop/images/26112025/13/34/image_26112025_13_34_02_1705.jpg
/home/pi/Desktop/images/26112025/13/34/image_26112025_13_34_03_1583.jpg
/home/pi/Desktop/images/26112025/13/34/image_26112025_13_34_05_1623.jpg
/home/pi/Desktop/images/26112025/13/34/image_26112025_13_34_09_1675.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":["1396269484","1396269466","1396269497","1396269491","1396269494","1396269488"],"photo_ids_order":["1396269466","1396269484","1396269488","1396269491","1396269494","1396269497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8fc877bdacf40161bc77e0c96e2680b4.jpg","text":"TemporaryFile(/tmp/multipartBody6122642873788141388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175103098,"filename":"image_26112025_13_34_00_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/26/5983c44fa97a8c959c603b69b31a79cf.jpg","text":"TemporaryFile(/tmp/multipartBody2722613196351556942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175103098,"filename":"image_26112025_13_33_58_8724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3e6de341def21486d84e43236f3d170d.jpg","text":"TemporaryFile(/tmp/multipartBody8362055476177484084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175103098,"filename":"image_26112025_13_34_09_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9d3a70835a4f47201a1d456790495a97.jpg","text":"TemporaryFile(/tmp/multipartBody2575415910227756065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175103098,"filename":"image_26112025_13_34_03_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/26/0aefbe3cfc3ffceed49315b0ea072897.jpg","text":"TemporaryFile(/tmp/multipartBody130952570913154687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175103098,"filename":"image_26112025_13_34_05_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/26/823a12279706791633479bd60e202fb9.jpg","text":"TemporaryFile(/tmp/multipartBody9218994508545196833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175103098,"filename":"image_26112025_13_34_02_1705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396269488","file1":"1396269484","file0":"1396269466","file4":"1396269494","file5":"1396269497","file3":"1396269491"},"map_files_photo_id_array":[{"photo_id":"1396269497","filename":"file5"},{"photo_id":"1396269488","filename":"file2"},{"photo_id":"1396269494","filename":"file4"},{"photo_id":"1396269484","filename":"file1"},{"photo_id":"1396269466","filename":"file0"},{"photo_id":"1396269491","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396269484":["hashtag1","hashtag2"]},{"1396269466":["hashtag1","hashtag2"]},{"1396269497":["hashtag1","hashtag2"]},{"1396269491":["hashtag1","hashtag2"]},{"1396269494":["hashtag1","hashtag2"]},{"1396269488":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396269484, 1396269466, 1396269497, 1396269491, 1396269494, 1396269488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.653732776641846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:38:02.904510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/34/image_26112025_13_34_10_1528.jpg', '/home/pi/Desktop/images/26112025/13/34/image_26112025_13_34_13_2585.jpg', '/home/pi/Desktop/images/26112025/13/34/image_26112025_13_34_19_3815.jpg', '/home/pi/Desktop/images/26112025/13/34/image_26112025_13_34_26_6569.jpg', '/home/pi/Desktop/images/26112025/13/34/image_26112025_13_34_27_1550.jpg', '/home/pi/Desktop/images/26112025/13/34/image_26112025_13_34_40_13002.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/34/image_26112025_13_34_10_1528.jpg
/home/pi/Desktop/images/26112025/13/34/image_26112025_13_34_13_2585.jpg
/home/pi/Desktop/images/26112025/13/34/image_26112025_13_34_19_3815.jpg
/home/pi/Desktop/images/26112025/13/34/image_26112025_13_34_26_6569.jpg
/home/pi/Desktop/images/26112025/13/34/image_26112025_13_34_27_1550.jpg
/home/pi/Desktop/images/26112025/13/34/image_26112025_13_34_40_13002.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":["1396269518","1396269520","1396269514","1396269523","1396269517","1396269516"],"photo_ids_order":["1396269514","1396269516","1396269517","1396269518","1396269520","1396269523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1849a395e5cf7c6f87caf1535b9fd427.jpg","text":"TemporaryFile(/tmp/multipartBody6195331345406077525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175143673,"filename":"image_26112025_13_34_26_6569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a5b7956eb0191ff878a96223bcf22b51.jpg","text":"TemporaryFile(/tmp/multipartBody3869786206183662493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175143673,"filename":"image_26112025_13_34_27_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/26/9dd0b3147d239a66f1ad9d9cfda156f7.jpg","text":"TemporaryFile(/tmp/multipartBody3021530122473710596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175143673,"filename":"image_26112025_13_34_10_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/26/511046c92588024d37528def5ebfb257.jpg","text":"TemporaryFile(/tmp/multipartBody890812811299453757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175143673,"filename":"image_26112025_13_34_40_13002.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e957a4b28250dee8b005c1133cc208bc.jpg","text":"TemporaryFile(/tmp/multipartBody6827531119290053558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175143673,"filename":"image_26112025_13_34_19_3815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a669e9db3c760b803050e38c6f559550.jpg","text":"TemporaryFile(/tmp/multipartBody6038470643294463177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175143673,"filename":"image_26112025_13_34_13_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396269517","file1":"1396269516","file0":"1396269514","file4":"1396269520","file5":"1396269523","file3":"1396269518"},"map_files_photo_id_array":[{"photo_id":"1396269523","filename":"file5"},{"photo_id":"1396269517","filename":"file2"},{"photo_id":"1396269520","filename":"file4"},{"photo_id":"1396269516","filename":"file1"},{"photo_id":"1396269514","filename":"file0"},{"photo_id":"1396269518","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396269518":["hashtag1","hashtag2"]},{"1396269520":["hashtag1","hashtag2"]},{"1396269514":["hashtag1","hashtag2"]},{"1396269523":["hashtag1","hashtag2"]},{"1396269517":["hashtag1","hashtag2"]},{"1396269516":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396269518, 1396269520, 1396269514, 1396269523, 1396269517, 1396269516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.547837257385254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:38:42.552635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/35/image_26112025_13_35_07_5966.jpg', '/home/pi/Desktop/images/26112025/13/35/image_26112025_13_35_26_1565.jpg', '/home/pi/Desktop/images/26112025/13/35/image_26112025_13_35_29_1577.jpg', '/home/pi/Desktop/images/26112025/13/35/image_26112025_13_35_31_1554.jpg', '/home/pi/Desktop/images/26112025/13/35/image_26112025_13_35_33_1673.jpg', '/home/pi/Desktop/images/26112025/13/35/image_26112025_13_35_36_1661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/35/image_26112025_13_35_07_5966.jpg
/home/pi/Desktop/images/26112025/13/35/image_26112025_13_35_26_1565.jpg
/home/pi/Desktop/images/26112025/13/35/image_26112025_13_35_29_1577.jpg
/home/pi/Desktop/images/26112025/13/35/image_26112025_13_35_31_1554.jpg
/home/pi/Desktop/images/26112025/13/35/image_26112025_13_35_33_1673.jpg
/home/pi/Desktop/images/26112025/13/35/image_26112025_13_35_36_1661.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":["1396269641","1396269533","1396269639","1396269633","1396269599","1396269566"],"photo_ids_order":["1396269533","1396269566","1396269599","1396269633","1396269639","1396269641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cf4edd45f9cae566a3d482fdba4941f2.jpg","text":"TemporaryFile(/tmp/multipartBody5260794326430741118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175183287,"filename":"image_26112025_13_35_36_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/26/7376a5460fa8ebff10bc544df67885f0.jpg","text":"TemporaryFile(/tmp/multipartBody1174807234283236240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175183287,"filename":"image_26112025_13_35_07_5966.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fa896425f2c384f8845868b9ed4bc736.jpg","text":"TemporaryFile(/tmp/multipartBody7432068159379517080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175183287,"filename":"image_26112025_13_35_33_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/26/8082acbf118c153181f4546c5b76c9ff.jpg","text":"TemporaryFile(/tmp/multipartBody8116458958134672909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175183287,"filename":"image_26112025_13_35_31_1554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b973e52a22a797781e342276e70b87fa.jpg","text":"TemporaryFile(/tmp/multipartBody966671974977231141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175183287,"filename":"image_26112025_13_35_29_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/26/3133da99d2ccf1033b2e7a0d7a97ee08.jpg","text":"TemporaryFile(/tmp/multipartBody5088398970981936504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175183287,"filename":"image_26112025_13_35_26_1565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396269599","file1":"1396269566","file0":"1396269533","file4":"1396269639","file5":"1396269641","file3":"1396269633"},"map_files_photo_id_array":[{"photo_id":"1396269641","filename":"file5"},{"photo_id":"1396269599","filename":"file2"},{"photo_id":"1396269639","filename":"file4"},{"photo_id":"1396269566","filename":"file1"},{"photo_id":"1396269533","filename":"file0"},{"photo_id":"1396269633","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396269641":["hashtag1","hashtag2"]},{"1396269533":["hashtag1","hashtag2"]},{"1396269639":["hashtag1","hashtag2"]},{"1396269633":["hashtag1","hashtag2"]},{"1396269599":["hashtag1","hashtag2"]},{"1396269566":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396269641, 1396269533, 1396269639, 1396269633, 1396269599, 1396269566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.31962728500366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 17:39:22.705483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/35/image_26112025_13_35_37_1531.jpg', '/home/pi/Desktop/images/26112025/13/35/image_26112025_13_35_39_1563.jpg', '/home/pi/Desktop/images/26112025/13/38/image_26112025_13_38_07_3018.jpg', '/home/pi/Desktop/images/26112025/13/38/image_26112025_13_38_13_2599.jpg', '/home/pi/Desktop/images/26112025/13/38/image_26112025_13_38_20_3630.jpg', '/home/pi/Desktop/images/26112025/13/38/image_26112025_13_38_22_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/35/image_26112025_13_35_37_1531.jpg
/home/pi/Desktop/images/26112025/13/35/image_26112025_13_35_39_1563.jpg
/home/pi/Desktop/images/26112025/13/38/image_26112025_13_38_07_3018.jpg
/home/pi/Desktop/images/26112025/13/38/image_26112025_13_38_13_2599.jpg
/home/pi/Desktop/images/26112025/13/38/image_26112025_13_38_20_3630.jpg
/home/pi/Desktop/images/26112025/13/38/image_26112025_13_38_22_2548.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":["1396269653","1396269662","1396269656","1396269667","1396269665","1396269659"],"photo_ids_order":["1396269653","1396269656","1396269659","1396269662","1396269665","1396269667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/99661e529ddf44230628ae4f5c8028cd.jpg","text":"TemporaryFile(/tmp/multipartBody4128800312523367988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175223426,"filename":"image_26112025_13_35_37_1531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/96f5db0b31e49f56005258095719f60e.jpg","text":"TemporaryFile(/tmp/multipartBody8129867698112250784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175223426,"filename":"image_26112025_13_38_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/26/56ad94c9174511293f7180d61c6d580a.jpg","text":"TemporaryFile(/tmp/multipartBody2841899738072245488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175223426,"filename":"image_26112025_13_35_39_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/26/596a3f92e592f45c7d8c21d68b585b87.jpg","text":"TemporaryFile(/tmp/multipartBody673392338288016619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175223426,"filename":"image_26112025_13_38_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/26/5680f9bb2e261c144078284e446fa480.jpg","text":"TemporaryFile(/tmp/multipartBody3501062162207928711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175223426,"filename":"image_26112025_13_38_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/26/6793f830b4bfb43b1643ec472c37b3f8.jpg","text":"TemporaryFile(/tmp/multipartBody8454228714447803954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175223426,"filename":"image_26112025_13_38_07_3018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396269659","file1":"1396269656","file0":"1396269653","file4":"1396269665","file5":"1396269667","file3":"1396269662"},"map_files_photo_id_array":[{"photo_id":"1396269667","filename":"file5"},{"photo_id":"1396269659","filename":"file2"},{"photo_id":"1396269665","filename":"file4"},{"photo_id":"1396269656","filename":"file1"},{"photo_id":"1396269653","filename":"file0"},{"photo_id":"1396269662","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396269653":["hashtag1","hashtag2"]},{"1396269662":["hashtag1","hashtag2"]},{"1396269656":["hashtag1","hashtag2"]},{"1396269667":["hashtag1","hashtag2"]},{"1396269665":["hashtag1","hashtag2"]},{"1396269659":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396269653, 1396269662, 1396269656, 1396269667, 1396269665, 1396269659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17553114891052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:40:02.360086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/39/image_26112025_13_39_25_2876.jpg', '/home/pi/Desktop/images/26112025/13/39/image_26112025_13_39_49_2511.jpg', '/home/pi/Desktop/images/26112025/13/40/image_26112025_13_40_10_2693.jpg', '/home/pi/Desktop/images/26112025/13/40/image_26112025_13_40_13_3501.jpg', '/home/pi/Desktop/images/26112025/13/42/image_26112025_13_42_07_3011.jpg', '/home/pi/Desktop/images/26112025/13/42/image_26112025_13_42_43_2808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/39/image_26112025_13_39_25_2876.jpg
/home/pi/Desktop/images/26112025/13/39/image_26112025_13_39_49_2511.jpg
/home/pi/Desktop/images/26112025/13/40/image_26112025_13_40_10_2693.jpg
/home/pi/Desktop/images/26112025/13/40/image_26112025_13_40_13_3501.jpg
/home/pi/Desktop/images/26112025/13/42/image_26112025_13_42_07_3011.jpg
/home/pi/Desktop/images/26112025/13/42/image_26112025_13_42_43_2808.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":["1396269674","1396269676","1396269670","1396269672","1396269669","1396269671"],"photo_ids_order":["1396269669","1396269670","1396269671","1396269672","1396269674","1396269676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d51380bd58b9636e3c633e8cb16c033d.jpg","text":"TemporaryFile(/tmp/multipartBody5515635673023678211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175263076,"filename":"image_26112025_13_42_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c414dd8eeb215165de88399951a74fb2.jpg","text":"TemporaryFile(/tmp/multipartBody4201728954070468563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175263076,"filename":"image_26112025_13_42_43_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/26/535d0d6e58afd6f6ba89fb8d769d8e30.jpg","text":"TemporaryFile(/tmp/multipartBody2266059340297995456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175263076,"filename":"image_26112025_13_39_49_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/26/a069212805aacb200860720886070d00.jpg","text":"TemporaryFile(/tmp/multipartBody7581775736362815983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175263076,"filename":"image_26112025_13_40_13_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/26/cb73e0bbe9969d00eb332e1e589c20ab.jpg","text":"TemporaryFile(/tmp/multipartBody6013566091908001968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175263076,"filename":"image_26112025_13_39_25_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/26/cb14dc4ffb2e1fa6a678016af665454f.jpg","text":"TemporaryFile(/tmp/multipartBody3321300804049581470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175263076,"filename":"image_26112025_13_40_10_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396269671","file1":"1396269670","file0":"1396269669","file4":"1396269674","file5":"1396269676","file3":"1396269672"},"map_files_photo_id_array":[{"photo_id":"1396269676","filename":"file5"},{"photo_id":"1396269671","filename":"file2"},{"photo_id":"1396269674","filename":"file4"},{"photo_id":"1396269670","filename":"file1"},{"photo_id":"1396269669","filename":"file0"},{"photo_id":"1396269672","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396269674":["hashtag1","hashtag2"]},{"1396269676":["hashtag1","hashtag2"]},{"1396269670":["hashtag1","hashtag2"]},{"1396269672":["hashtag1","hashtag2"]},{"1396269669":["hashtag1","hashtag2"]},{"1396269671":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396269674, 1396269676, 1396269670, 1396269672, 1396269669, 1396269671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.44617986679077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:40:41.863789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/42/image_26112025_13_42_49_1653.jpg', '/home/pi/Desktop/images/26112025/13/42/image_26112025_13_42_58_3599.jpg', '/home/pi/Desktop/images/26112025/13/43/image_26112025_13_43_10_2518.jpg', '/home/pi/Desktop/images/26112025/13/43/image_26112025_13_43_16_2695.jpg', '/home/pi/Desktop/images/26112025/13/43/image_26112025_13_43_46_2672.jpg', '/home/pi/Desktop/images/26112025/13/44/image_26112025_13_44_04_3603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/42/image_26112025_13_42_49_1653.jpg
/home/pi/Desktop/images/26112025/13/42/image_26112025_13_42_58_3599.jpg
/home/pi/Desktop/images/26112025/13/43/image_26112025_13_43_10_2518.jpg
/home/pi/Desktop/images/26112025/13/43/image_26112025_13_43_16_2695.jpg
/home/pi/Desktop/images/26112025/13/43/image_26112025_13_43_46_2672.jpg
/home/pi/Desktop/images/26112025/13/44/image_26112025_13_44_04_3603.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":["1396269689","1396269697","1396269691","1396269685","1396269693","1396269695"],"photo_ids_order":["1396269685","1396269689","1396269691","1396269693","1396269695","1396269697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6355c6ceb218af282655472d43cc21af.jpg","text":"TemporaryFile(/tmp/multipartBody6755654144180697688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175302547,"filename":"image_26112025_13_42_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/26/1d4d480b0f2b9499aff6c6d3164bbf23.jpg","text":"TemporaryFile(/tmp/multipartBody2407970408016589365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175302547,"filename":"image_26112025_13_44_04_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/26/e379532fb4fac779571460ec0b4d1f9c.jpg","text":"TemporaryFile(/tmp/multipartBody2073648539922058447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175302547,"filename":"image_26112025_13_43_10_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/26/326e2bfaf70b2937bebb0a5738547311.jpg","text":"TemporaryFile(/tmp/multipartBody7639905212611741190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175302547,"filename":"image_26112025_13_42_49_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/26/5bdb6c4804f832e38979f1ea2cbf7fbd.jpg","text":"TemporaryFile(/tmp/multipartBody7105724788077145619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175302547,"filename":"image_26112025_13_43_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/26/2299d7e46ca2e25369e00ddb4cbdc320.jpg","text":"TemporaryFile(/tmp/multipartBody4076158445308843965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175302547,"filename":"image_26112025_13_43_46_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396269691","file1":"1396269689","file0":"1396269685","file4":"1396269695","file5":"1396269697","file3":"1396269693"},"map_files_photo_id_array":[{"photo_id":"1396269697","filename":"file5"},{"photo_id":"1396269691","filename":"file2"},{"photo_id":"1396269695","filename":"file4"},{"photo_id":"1396269689","filename":"file1"},{"photo_id":"1396269685","filename":"file0"},{"photo_id":"1396269693","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396269689":["hashtag1","hashtag2"]},{"1396269697":["hashtag1","hashtag2"]},{"1396269691":["hashtag1","hashtag2"]},{"1396269685":["hashtag1","hashtag2"]},{"1396269693":["hashtag1","hashtag2"]},{"1396269695":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396269689, 1396269697, 1396269691, 1396269685, 1396269693, 1396269695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.648534059524536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 17:41:22.010061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/44/image_26112025_13_44_07_2767.jpg', '/home/pi/Desktop/images/26112025/13/44/image_26112025_13_44_16_2934.jpg', '/home/pi/Desktop/images/26112025/13/44/image_26112025_13_44_30_8254.jpg', '/home/pi/Desktop/images/26112025/13/44/image_26112025_13_44_39_2876.jpg', '/home/pi/Desktop/images/26112025/13/44/image_26112025_13_44_40_1638.jpg', '/home/pi/Desktop/images/26112025/13/44/image_26112025_13_44_44_1671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/44/image_26112025_13_44_07_2767.jpg
/home/pi/Desktop/images/26112025/13/44/image_26112025_13_44_16_2934.jpg
/home/pi/Desktop/images/26112025/13/44/image_26112025_13_44_30_8254.jpg
/home/pi/Desktop/images/26112025/13/44/image_26112025_13_44_39_2876.jpg
/home/pi/Desktop/images/26112025/13/44/image_26112025_13_44_40_1638.jpg
/home/pi/Desktop/images/26112025/13/44/image_26112025_13_44_44_1671.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":["1396269719","1396269710","1396269724","1396269733","1396269727","1396269703"],"photo_ids_order":["1396269703","1396269710","1396269719","1396269724","1396269727","1396269733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/61d84f6f01768544b45017e4ccd54e84.jpg","text":"TemporaryFile(/tmp/multipartBody7323521188925359535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175342722,"filename":"image_26112025_13_44_30_8254.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fc744530b89e7f986f6d3ec3bb88f0cd.jpg","text":"TemporaryFile(/tmp/multipartBody1030532896406239544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175342722,"filename":"image_26112025_13_44_16_2934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2bd028695e80c47a92eeb8f6a954a929.jpg","text":"TemporaryFile(/tmp/multipartBody4161177709981453177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175342722,"filename":"image_26112025_13_44_39_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/26/dfa28fd45affb2491b4fb569713ba73c.jpg","text":"TemporaryFile(/tmp/multipartBody630356099861982773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175342722,"filename":"image_26112025_13_44_44_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/26/e11b6ad9ec3d7f6d233373433f15540e.jpg","text":"TemporaryFile(/tmp/multipartBody3902543579081708645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175342722,"filename":"image_26112025_13_44_40_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/26/cd7a3d5c9f340395dc99a520f9c88cf7.jpg","text":"TemporaryFile(/tmp/multipartBody1961446029853882703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175342722,"filename":"image_26112025_13_44_07_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396269719","file1":"1396269710","file0":"1396269703","file4":"1396269727","file5":"1396269733","file3":"1396269724"},"map_files_photo_id_array":[{"photo_id":"1396269733","filename":"file5"},{"photo_id":"1396269719","filename":"file2"},{"photo_id":"1396269727","filename":"file4"},{"photo_id":"1396269710","filename":"file1"},{"photo_id":"1396269703","filename":"file0"},{"photo_id":"1396269724","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396269719":["hashtag1","hashtag2"]},{"1396269710":["hashtag1","hashtag2"]},{"1396269724":["hashtag1","hashtag2"]},{"1396269733":["hashtag1","hashtag2"]},{"1396269727":["hashtag1","hashtag2"]},{"1396269703":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396269719, 1396269710, 1396269724, 1396269733, 1396269727, 1396269703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59981393814087 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:42:02.956960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/44/image_26112025_13_44_49_1856.jpg', '/home/pi/Desktop/images/26112025/13/44/image_26112025_13_44_53_3949.jpg', '/home/pi/Desktop/images/26112025/13/44/image_26112025_13_44_54_1519.jpg', '/home/pi/Desktop/images/26112025/13/44/image_26112025_13_45_01_3860.jpg', '/home/pi/Desktop/images/26112025/13/45/image_26112025_13_45_07_2703.jpg', '/home/pi/Desktop/images/26112025/13/45/image_26112025_13_45_21_5892.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/44/image_26112025_13_44_49_1856.jpg
/home/pi/Desktop/images/26112025/13/44/image_26112025_13_44_53_3949.jpg
/home/pi/Desktop/images/26112025/13/44/image_26112025_13_44_54_1519.jpg
/home/pi/Desktop/images/26112025/13/44/image_26112025_13_45_01_3860.jpg
/home/pi/Desktop/images/26112025/13/45/image_26112025_13_45_07_2703.jpg
/home/pi/Desktop/images/26112025/13/45/image_26112025_13_45_21_5892.jpg
 val : 1 : upload photos already in processing! 
 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":["1396269743","1396269787","1396269808","1396269789","1396269747","1396269779"],"photo_ids_order":["1396269743","1396269747","1396269779","1396269787","1396269789","1396269808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f078178d04627ddbc787754cd6f6c468.jpg","text":"TemporaryFile(/tmp/multipartBody8671355012571750531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175388456,"filename":"image_26112025_13_44_49_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/26/1b8173e5f8968818eb7bfc670e8c303e.jpg","text":"TemporaryFile(/tmp/multipartBody4574709553708558463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175388456,"filename":"image_26112025_13_45_01_3860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9dbad26f051e27b9ce5e022dc7838fb7.jpg","text":"TemporaryFile(/tmp/multipartBody8658599268338456363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175388456,"filename":"image_26112025_13_45_21_5892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eed0a5d7f296b435b1aa024eeaa8de51.jpg","text":"TemporaryFile(/tmp/multipartBody7449899200388689660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175388456,"filename":"image_26112025_13_45_07_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/26/d50d794f6ccb1662e22e59e2f9ed7c14.jpg","text":"TemporaryFile(/tmp/multipartBody2913725078930711380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175388456,"filename":"image_26112025_13_44_53_3949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5450f6772f5852c66536a604181b19db.jpg","text":"TemporaryFile(/tmp/multipartBody4071023938408238836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175388456,"filename":"image_26112025_13_44_54_1519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396269779","file1":"1396269747","file0":"1396269743","file4":"1396269789","file5":"1396269808","file3":"1396269787"},"map_files_photo_id_array":[{"photo_id":"1396269808","filename":"file5"},{"photo_id":"1396269779","filename":"file2"},{"photo_id":"1396269789","filename":"file4"},{"photo_id":"1396269747","filename":"file1"},{"photo_id":"1396269743","filename":"file0"},{"photo_id":"1396269787","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396269743":["hashtag1","hashtag2"]},{"1396269787":["hashtag1","hashtag2"]},{"1396269808":["hashtag1","hashtag2"]},{"1396269789":["hashtag1","hashtag2"]},{"1396269747":["hashtag1","hashtag2"]},{"1396269779":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396269743, 1396269787, 1396269808, 1396269789, 1396269747, 1396269779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.08635926246643 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:43:03.323637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/45/image_26112025_13_45_34_1606.jpg', '/home/pi/Desktop/images/26112025/13/46/image_26112025_13_46_03_2692.jpg', '/home/pi/Desktop/images/26112025/13/46/image_26112025_13_46_20_1646.jpg', '/home/pi/Desktop/images/26112025/13/46/image_26112025_13_46_25_3526.jpg', '/home/pi/Desktop/images/26112025/13/46/image_26112025_13_46_30_2631.jpg', '/home/pi/Desktop/images/26112025/13/46/image_26112025_13_46_49_1670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/45/image_26112025_13_45_34_1606.jpg
/home/pi/Desktop/images/26112025/13/46/image_26112025_13_46_03_2692.jpg
/home/pi/Desktop/images/26112025/13/46/image_26112025_13_46_20_1646.jpg
/home/pi/Desktop/images/26112025/13/46/image_26112025_13_46_25_3526.jpg
/home/pi/Desktop/images/26112025/13/46/image_26112025_13_46_30_2631.jpg
/home/pi/Desktop/images/26112025/13/46/image_26112025_13_46_49_1670.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":["1396269842","1396269844","1396269847","1396269852","1396269846","1396269849"],"photo_ids_order":["1396269842","1396269844","1396269846","1396269847","1396269849","1396269852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e1acfb78fdc7ce98cb294d679945df1b.jpg","text":"TemporaryFile(/tmp/multipartBody3337487824089201527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175444085,"filename":"image_26112025_13_45_34_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/45413c6527a1275b62caa7e656667dc1.jpg","text":"TemporaryFile(/tmp/multipartBody7902072038524954730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175444085,"filename":"image_26112025_13_46_03_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/26/07cccf789f3d990fc38bc2aafc373be6.jpg","text":"TemporaryFile(/tmp/multipartBody8519514333434917566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175444085,"filename":"image_26112025_13_46_25_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/26/c63862ab3ffa76eae20bb57a2a85235b.jpg","text":"TemporaryFile(/tmp/multipartBody2669432247212953654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175444085,"filename":"image_26112025_13_46_49_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/26/d1ff5e24db03711ffbd5a26b0479aabb.jpg","text":"TemporaryFile(/tmp/multipartBody8724033988528257584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175444085,"filename":"image_26112025_13_46_20_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/26/45b0c9ea46c6fd5891cce8130de1f757.jpg","text":"TemporaryFile(/tmp/multipartBody6556613681339378670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175444085,"filename":"image_26112025_13_46_30_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396269846","file1":"1396269844","file0":"1396269842","file4":"1396269849","file5":"1396269852","file3":"1396269847"},"map_files_photo_id_array":[{"photo_id":"1396269852","filename":"file5"},{"photo_id":"1396269846","filename":"file2"},{"photo_id":"1396269849","filename":"file4"},{"photo_id":"1396269844","filename":"file1"},{"photo_id":"1396269842","filename":"file0"},{"photo_id":"1396269847","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396269842":["hashtag1","hashtag2"]},{"1396269844":["hashtag1","hashtag2"]},{"1396269847":["hashtag1","hashtag2"]},{"1396269852":["hashtag1","hashtag2"]},{"1396269846":["hashtag1","hashtag2"]},{"1396269849":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396269842, 1396269844, 1396269847, 1396269852, 1396269846, 1396269849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97612977027893 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:43:42.734650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/46/image_26112025_13_46_52_1483.jpg', '/home/pi/Desktop/images/26112025/13/47/image_26112025_13_47_09_2992.jpg', '/home/pi/Desktop/images/26112025/13/47/image_26112025_13_47_46_6333.jpg', '/home/pi/Desktop/images/26112025/13/48/image_26112025_13_48_04_17484.jpg', '/home/pi/Desktop/images/26112025/13/48/image_26112025_13_48_23_1568.jpg', '/home/pi/Desktop/images/26112025/13/48/image_26112025_13_48_28_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/46/image_26112025_13_46_52_1483.jpg
/home/pi/Desktop/images/26112025/13/47/image_26112025_13_47_09_2992.jpg
/home/pi/Desktop/images/26112025/13/47/image_26112025_13_47_46_6333.jpg
/home/pi/Desktop/images/26112025/13/48/image_26112025_13_48_04_17484.jpg
/home/pi/Desktop/images/26112025/13/48/image_26112025_13_48_23_1568.jpg
/home/pi/Desktop/images/26112025/13/48/image_26112025_13_48_28_2673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396269941","1396269905","1396269868","1396269864","1396269861","1396269863"],"photo_ids_order":["1396269861","1396269863","1396269864","1396269868","1396269905","1396269941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a6e0684a13dea4dbc28008ffee01789f.jpg","text":"TemporaryFile(/tmp/multipartBody1981063067272777856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175483421,"filename":"image_26112025_13_48_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/26/20b4024d45688de478a26f20da1c5cda.jpg","text":"TemporaryFile(/tmp/multipartBody485874719221687762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175483421,"filename":"image_26112025_13_48_23_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/26/0fb55d564831f656b08ddb177942fd41.jpg","text":"TemporaryFile(/tmp/multipartBody7152659448090309885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175483421,"filename":"image_26112025_13_48_04_17484.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/46daa5801ea54d2373059c0454795201.jpg","text":"TemporaryFile(/tmp/multipartBody3175761089083156871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175483421,"filename":"image_26112025_13_47_46_6333.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/30101282c9d4af6252d3413e268ae826.jpg","text":"TemporaryFile(/tmp/multipartBody2135137940436022964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175483421,"filename":"image_26112025_13_46_52_1483.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eed334a9a307d6a24821003333a02f2a.jpg","text":"TemporaryFile(/tmp/multipartBody1004997038016219983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175483421,"filename":"image_26112025_13_47_09_2992.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396269864","file1":"1396269863","file0":"1396269861","file4":"1396269905","file5":"1396269941","file3":"1396269868"},"map_files_photo_id_array":[{"photo_id":"1396269941","filename":"file5"},{"photo_id":"1396269864","filename":"file2"},{"photo_id":"1396269905","filename":"file4"},{"photo_id":"1396269863","filename":"file1"},{"photo_id":"1396269861","filename":"file0"},{"photo_id":"1396269868","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396269941":["hashtag1","hashtag2"]},{"1396269905":["hashtag1","hashtag2"]},{"1396269868":["hashtag1","hashtag2"]},{"1396269864":["hashtag1","hashtag2"]},{"1396269861":["hashtag1","hashtag2"]},{"1396269863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396269941, 1396269905, 1396269868, 1396269864, 1396269861, 1396269863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.761494874954224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 17:44:22.076705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/48/image_26112025_13_48_30_2585.jpg', '/home/pi/Desktop/images/26112025/13/48/image_26112025_13_48_48_2546.jpg', '/home/pi/Desktop/images/26112025/13/49/image_26112025_13_49_10_3674.jpg', '/home/pi/Desktop/images/26112025/13/49/image_26112025_13_49_36_2622.jpg', '/home/pi/Desktop/images/26112025/13/50/image_26112025_13_50_06_3615.jpg', '/home/pi/Desktop/images/26112025/13/51/image_26112025_13_51_01_3255.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/48/image_26112025_13_48_30_2585.jpg
/home/pi/Desktop/images/26112025/13/48/image_26112025_13_48_48_2546.jpg
/home/pi/Desktop/images/26112025/13/49/image_26112025_13_49_10_3674.jpg
/home/pi/Desktop/images/26112025/13/49/image_26112025_13_49_36_2622.jpg
/home/pi/Desktop/images/26112025/13/50/image_26112025_13_50_06_3615.jpg
/home/pi/Desktop/images/26112025/13/51/image_26112025_13_51_01_3255.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":["1396270119","1396270091","1396270121","1396270075","1396270077","1396270071"],"photo_ids_order":["1396270071","1396270075","1396270077","1396270091","1396270119","1396270121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/153a165478e39a77aa4fdd1314d2b6ba.jpg","text":"TemporaryFile(/tmp/multipartBody4517714732390463002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175522756,"filename":"image_26112025_13_50_06_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/26/3384d168012a5d0c99ceb7ace4ef8789.jpg","text":"TemporaryFile(/tmp/multipartBody2260975180802121962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175522756,"filename":"image_26112025_13_49_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/26/f410891f360aad3d66804646cbcda563.jpg","text":"TemporaryFile(/tmp/multipartBody8389038506725394125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175522756,"filename":"image_26112025_13_51_01_3255.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1cd27f82235b04eefa0c41fb7b4499da.jpg","text":"TemporaryFile(/tmp/multipartBody5425624304605430716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175522756,"filename":"image_26112025_13_48_48_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/26/3c3e153d72111731757d376ead630419.jpg","text":"TemporaryFile(/tmp/multipartBody3985755623278142440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175522756,"filename":"image_26112025_13_49_10_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/26/98f427127596d2a891dfc46cdf84f14a.jpg","text":"TemporaryFile(/tmp/multipartBody6470188614545269950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175522756,"filename":"image_26112025_13_48_30_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396270077","file1":"1396270075","file0":"1396270071","file4":"1396270119","file5":"1396270121","file3":"1396270091"},"map_files_photo_id_array":[{"photo_id":"1396270121","filename":"file5"},{"photo_id":"1396270077","filename":"file2"},{"photo_id":"1396270119","filename":"file4"},{"photo_id":"1396270075","filename":"file1"},{"photo_id":"1396270071","filename":"file0"},{"photo_id":"1396270091","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396270119":["hashtag1","hashtag2"]},{"1396270091":["hashtag1","hashtag2"]},{"1396270121":["hashtag1","hashtag2"]},{"1396270075":["hashtag1","hashtag2"]},{"1396270077":["hashtag1","hashtag2"]},{"1396270071":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396270119, 1396270091, 1396270121, 1396270075, 1396270077, 1396270071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36630463600159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:45:02.753186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/51/image_26112025_13_51_48_3719.jpg', '/home/pi/Desktop/images/26112025/13/51/image_26112025_13_51_57_3646.jpg', '/home/pi/Desktop/images/26112025/13/52/image_26112025_13_52_06_3504.jpg', '/home/pi/Desktop/images/26112025/13/52/image_26112025_13_52_09_2566.jpg', '/home/pi/Desktop/images/26112025/13/52/image_26112025_13_52_27_2671.jpg', '/home/pi/Desktop/images/26112025/13/52/image_26112025_13_52_42_3636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/51/image_26112025_13_51_48_3719.jpg
/home/pi/Desktop/images/26112025/13/51/image_26112025_13_51_57_3646.jpg
/home/pi/Desktop/images/26112025/13/52/image_26112025_13_52_06_3504.jpg
/home/pi/Desktop/images/26112025/13/52/image_26112025_13_52_09_2566.jpg
/home/pi/Desktop/images/26112025/13/52/image_26112025_13_52_27_2671.jpg
/home/pi/Desktop/images/26112025/13/52/image_26112025_13_52_42_3636.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":["1396270203","1396270205","1396270162","1396270144","1396270204","1396270207"],"photo_ids_order":["1396270144","1396270162","1396270203","1396270204","1396270205","1396270207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0715a2b68ad384d7201d815e04b71710.jpg","text":"TemporaryFile(/tmp/multipartBody866507881403755990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175563519,"filename":"image_26112025_13_52_06_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/26/043729e4b9399482f22c8b93d0334241.jpg","text":"TemporaryFile(/tmp/multipartBody4361046012137806265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175563519,"filename":"image_26112025_13_52_27_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/26/775a99b97aedffff54c1bac7f1ce872d.jpg","text":"TemporaryFile(/tmp/multipartBody5545125209174527023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175563519,"filename":"image_26112025_13_51_57_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/26/15d7413066691fbcd2ff686e49f5f0f6.jpg","text":"TemporaryFile(/tmp/multipartBody6054181309172381362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175563519,"filename":"image_26112025_13_51_48_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/26/1c07b2df945c5901c044b24049c69be4.jpg","text":"TemporaryFile(/tmp/multipartBody284549852286652299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175563519,"filename":"image_26112025_13_52_09_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/26/0c3e170478d2d943bc9e341964669c6c.jpg","text":"TemporaryFile(/tmp/multipartBody6082664238803252055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175563519,"filename":"image_26112025_13_52_42_3636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396270203","file1":"1396270162","file0":"1396270144","file4":"1396270205","file5":"1396270207","file3":"1396270204"},"map_files_photo_id_array":[{"photo_id":"1396270207","filename":"file5"},{"photo_id":"1396270203","filename":"file2"},{"photo_id":"1396270205","filename":"file4"},{"photo_id":"1396270162","filename":"file1"},{"photo_id":"1396270144","filename":"file0"},{"photo_id":"1396270204","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396270203":["hashtag1","hashtag2"]},{"1396270205":["hashtag1","hashtag2"]},{"1396270162":["hashtag1","hashtag2"]},{"1396270144":["hashtag1","hashtag2"]},{"1396270204":["hashtag1","hashtag2"]},{"1396270207":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396270203, 1396270205, 1396270162, 1396270144, 1396270204, 1396270207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64718174934387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:45:42.107264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/52/image_26112025_13_52_51_2803.jpg', '/home/pi/Desktop/images/26112025/13/53/image_26112025_13_53_03_8647.jpg', '/home/pi/Desktop/images/26112025/13/53/image_26112025_13_53_30_2652.jpg', '/home/pi/Desktop/images/26112025/13/53/image_26112025_13_53_32_2590.jpg', '/home/pi/Desktop/images/26112025/13/53/image_26112025_13_53_45_2815.jpg', '/home/pi/Desktop/images/26112025/13/53/image_26112025_13_53_51_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/52/image_26112025_13_52_51_2803.jpg
/home/pi/Desktop/images/26112025/13/53/image_26112025_13_53_03_8647.jpg
/home/pi/Desktop/images/26112025/13/53/image_26112025_13_53_30_2652.jpg
/home/pi/Desktop/images/26112025/13/53/image_26112025_13_53_32_2590.jpg
/home/pi/Desktop/images/26112025/13/53/image_26112025_13_53_45_2815.jpg
/home/pi/Desktop/images/26112025/13/53/image_26112025_13_53_51_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":["1396270236","1396270232","1396270234","1396270228","1396270287","1396270251"],"photo_ids_order":["1396270228","1396270232","1396270234","1396270236","1396270251","1396270287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/05913233cb8343fc9aea6847c45eef0b.jpg","text":"TemporaryFile(/tmp/multipartBody7565812057411047282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175602796,"filename":"image_26112025_13_53_32_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/26/07b8dd8348e8f8a428a9a7d4e2d63ce0.jpg","text":"TemporaryFile(/tmp/multipartBody2251093771902193233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175602796,"filename":"image_26112025_13_53_03_8647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ff04266572ed77f78cbbbacee1de320e.jpg","text":"TemporaryFile(/tmp/multipartBody2842237551100513194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175602796,"filename":"image_26112025_13_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/26/a4bb5203a8baf977fc84ceafe3d63a2e.jpg","text":"TemporaryFile(/tmp/multipartBody3015510267668914817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175602796,"filename":"image_26112025_13_52_51_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/26/1181c848e0e12e83c35edfa6fbd31ef2.jpg","text":"TemporaryFile(/tmp/multipartBody8769608182757722367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175602796,"filename":"image_26112025_13_53_51_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/26/a5e92b6e6346aa1a6f0cf1cb9e1502c9.jpg","text":"TemporaryFile(/tmp/multipartBody1692649090934579213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175602796,"filename":"image_26112025_13_53_45_2815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396270234","file1":"1396270232","file0":"1396270228","file4":"1396270251","file5":"1396270287","file3":"1396270236"},"map_files_photo_id_array":[{"photo_id":"1396270287","filename":"file5"},{"photo_id":"1396270234","filename":"file2"},{"photo_id":"1396270251","filename":"file4"},{"photo_id":"1396270232","filename":"file1"},{"photo_id":"1396270228","filename":"file0"},{"photo_id":"1396270236","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396270236":["hashtag1","hashtag2"]},{"1396270232":["hashtag1","hashtag2"]},{"1396270234":["hashtag1","hashtag2"]},{"1396270228":["hashtag1","hashtag2"]},{"1396270287":["hashtag1","hashtag2"]},{"1396270251":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396270236, 1396270232, 1396270234, 1396270228, 1396270287, 1396270251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85629200935364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 17:46:22.270166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/54/image_26112025_13_54_05_1616.jpg', '/home/pi/Desktop/images/26112025/13/54/image_26112025_13_54_15_3657.jpg', '/home/pi/Desktop/images/26112025/13/54/image_26112025_13_54_25_4088.jpg', '/home/pi/Desktop/images/26112025/13/54/image_26112025_13_54_33_2775.jpg', '/home/pi/Desktop/images/26112025/13/54/image_26112025_13_54_45_1628.jpg', '/home/pi/Desktop/images/26112025/13/54/image_26112025_13_55_00_1593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/54/image_26112025_13_54_05_1616.jpg
/home/pi/Desktop/images/26112025/13/54/image_26112025_13_54_15_3657.jpg
/home/pi/Desktop/images/26112025/13/54/image_26112025_13_54_25_4088.jpg
/home/pi/Desktop/images/26112025/13/54/image_26112025_13_54_33_2775.jpg
/home/pi/Desktop/images/26112025/13/54/image_26112025_13_54_45_1628.jpg
/home/pi/Desktop/images/26112025/13/54/image_26112025_13_55_00_1593.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":["1396270329","1396270336","1396270368","1396270362","1396270356","1396270365"],"photo_ids_order":["1396270329","1396270336","1396270356","1396270362","1396270365","1396270368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/82ce114a13ea066a27fe35a35a5ab6cc.jpg","text":"TemporaryFile(/tmp/multipartBody514722273731020007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175642947,"filename":"image_26112025_13_54_05_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/26/a3333f4299090069dadcab3d61fbd7b7.jpg","text":"TemporaryFile(/tmp/multipartBody3822756230511136932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175642947,"filename":"image_26112025_13_54_15_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ed04e7f3c1ddec0feb906f651d6e4b2f.jpg","text":"TemporaryFile(/tmp/multipartBody1174210158388558355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175642947,"filename":"image_26112025_13_55_00_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/26/71f3739802dc4319a7eef1c0a0e60a40.jpg","text":"TemporaryFile(/tmp/multipartBody7919815910371414308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175642947,"filename":"image_26112025_13_54_33_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/26/9b1fa0168697974bb9aa7330d21bd645.jpg","text":"TemporaryFile(/tmp/multipartBody6440716669140011064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175642947,"filename":"image_26112025_13_54_25_4088.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/20d6fdeb5b540460064871ced5ec0030.jpg","text":"TemporaryFile(/tmp/multipartBody8777029654199071447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175642947,"filename":"image_26112025_13_54_45_1628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396270356","file1":"1396270336","file0":"1396270329","file4":"1396270365","file5":"1396270368","file3":"1396270362"},"map_files_photo_id_array":[{"photo_id":"1396270368","filename":"file5"},{"photo_id":"1396270356","filename":"file2"},{"photo_id":"1396270365","filename":"file4"},{"photo_id":"1396270336","filename":"file1"},{"photo_id":"1396270329","filename":"file0"},{"photo_id":"1396270362","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396270329":["hashtag1","hashtag2"]},{"1396270336":["hashtag1","hashtag2"]},{"1396270368":["hashtag1","hashtag2"]},{"1396270362":["hashtag1","hashtag2"]},{"1396270356":["hashtag1","hashtag2"]},{"1396270365":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396270329, 1396270336, 1396270368, 1396270362, 1396270356, 1396270365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.945061683654785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:47:03.231517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/55/image_26112025_13_55_05_1643.jpg', '/home/pi/Desktop/images/26112025/13/55/image_26112025_13_55_15_9919.jpg', '/home/pi/Desktop/images/26112025/13/55/image_26112025_13_55_19_1798.jpg', '/home/pi/Desktop/images/26112025/13/55/image_26112025_13_55_23_1532.jpg', '/home/pi/Desktop/images/26112025/13/55/image_26112025_13_55_26_1638.jpg', '/home/pi/Desktop/images/26112025/13/55/image_26112025_13_55_28_1673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/55/image_26112025_13_55_05_1643.jpg
/home/pi/Desktop/images/26112025/13/55/image_26112025_13_55_15_9919.jpg
/home/pi/Desktop/images/26112025/13/55/image_26112025_13_55_19_1798.jpg
/home/pi/Desktop/images/26112025/13/55/image_26112025_13_55_23_1532.jpg
/home/pi/Desktop/images/26112025/13/55/image_26112025_13_55_26_1638.jpg
/home/pi/Desktop/images/26112025/13/55/image_26112025_13_55_28_1673.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":["1396270434","1396270433","1396270418","1396270435","1396270440","1396270437"],"photo_ids_order":["1396270418","1396270433","1396270434","1396270435","1396270437","1396270440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/39b4dc3714c72173ec7ef5a2b15777da.jpg","text":"TemporaryFile(/tmp/multipartBody739927362215175709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175683963,"filename":"image_26112025_13_55_19_1798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/066edcd64b2d3cf83c27efd9c0370c3c.jpg","text":"TemporaryFile(/tmp/multipartBody8751401179016794934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175683963,"filename":"image_26112025_13_55_15_9919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/669d5a989fa895dd498ee51873e72ac0.jpg","text":"TemporaryFile(/tmp/multipartBody7675276496013131036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175683963,"filename":"image_26112025_13_55_05_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/26/5fea9eb8ba684901820443d5dcbfbac4.jpg","text":"TemporaryFile(/tmp/multipartBody5637301941162455662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175683963,"filename":"image_26112025_13_55_23_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/26/1c2c1079fb063fdd0b21d41e412f30a6.jpg","text":"TemporaryFile(/tmp/multipartBody2502752420919780265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175683963,"filename":"image_26112025_13_55_28_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/26/a159cb5fe693d4e79e94f49ece823437.jpg","text":"TemporaryFile(/tmp/multipartBody5231483410173250127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175683963,"filename":"image_26112025_13_55_26_1638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396270434","file1":"1396270433","file0":"1396270418","file4":"1396270437","file5":"1396270440","file3":"1396270435"},"map_files_photo_id_array":[{"photo_id":"1396270440","filename":"file5"},{"photo_id":"1396270434","filename":"file2"},{"photo_id":"1396270437","filename":"file4"},{"photo_id":"1396270433","filename":"file1"},{"photo_id":"1396270418","filename":"file0"},{"photo_id":"1396270435","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396270434":["hashtag1","hashtag2"]},{"1396270433":["hashtag1","hashtag2"]},{"1396270418":["hashtag1","hashtag2"]},{"1396270435":["hashtag1","hashtag2"]},{"1396270440":["hashtag1","hashtag2"]},{"1396270437":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396270434, 1396270433, 1396270418, 1396270435, 1396270440, 1396270437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.311893463134766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:47:42.590429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/55/image_26112025_13_55_52_1653.jpg', '/home/pi/Desktop/images/26112025/13/56/image_26112025_13_56_22_3009.jpg', '/home/pi/Desktop/images/26112025/13/56/image_26112025_13_56_47_2641.jpg', '/home/pi/Desktop/images/26112025/13/57/image_26112025_13_57_18_1830.jpg', '/home/pi/Desktop/images/26112025/13/58/image_26112025_13_58_05_11692.jpg', '/home/pi/Desktop/images/26112025/13/58/image_26112025_13_58_20_1590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/55/image_26112025_13_55_52_1653.jpg
/home/pi/Desktop/images/26112025/13/56/image_26112025_13_56_22_3009.jpg
/home/pi/Desktop/images/26112025/13/56/image_26112025_13_56_47_2641.jpg
/home/pi/Desktop/images/26112025/13/57/image_26112025_13_57_18_1830.jpg
/home/pi/Desktop/images/26112025/13/58/image_26112025_13_58_05_11692.jpg
/home/pi/Desktop/images/26112025/13/58/image_26112025_13_58_20_1590.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":["1396270611","1396270506","1396270649","1396270543","1396270467","1396270578"],"photo_ids_order":["1396270467","1396270506","1396270543","1396270578","1396270611","1396270649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b4d466610570ed838cd87f3cfebc6b7b.jpg","text":"TemporaryFile(/tmp/multipartBody8164404296782431743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175723255,"filename":"image_26112025_13_58_05_11692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d74cf16e58dad7005876aca74c062d84.jpg","text":"TemporaryFile(/tmp/multipartBody683017979293751617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175723255,"filename":"image_26112025_13_56_22_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/26/83bef856de25c02d597822ff1119111e.jpg","text":"TemporaryFile(/tmp/multipartBody6302423069804217564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175723255,"filename":"image_26112025_13_58_20_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/26/91afbb21f3d4c5ceef9056b9749ad6a0.jpg","text":"TemporaryFile(/tmp/multipartBody3492772425925188510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175723255,"filename":"image_26112025_13_56_47_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/26/1c74f8f46f77a571578a846edaf18ea3.jpg","text":"TemporaryFile(/tmp/multipartBody7889869098566584568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175723255,"filename":"image_26112025_13_55_52_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/26/65911f6656fbb5305a95c9e947f7f759.jpg","text":"TemporaryFile(/tmp/multipartBody6328660317021488247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175723255,"filename":"image_26112025_13_57_18_1830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396270543","file1":"1396270506","file0":"1396270467","file4":"1396270611","file5":"1396270649","file3":"1396270578"},"map_files_photo_id_array":[{"photo_id":"1396270649","filename":"file5"},{"photo_id":"1396270543","filename":"file2"},{"photo_id":"1396270611","filename":"file4"},{"photo_id":"1396270506","filename":"file1"},{"photo_id":"1396270467","filename":"file0"},{"photo_id":"1396270578","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396270611":["hashtag1","hashtag2"]},{"1396270506":["hashtag1","hashtag2"]},{"1396270649":["hashtag1","hashtag2"]},{"1396270543":["hashtag1","hashtag2"]},{"1396270467":["hashtag1","hashtag2"]},{"1396270578":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396270611, 1396270506, 1396270649, 1396270543, 1396270467, 1396270578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57218146324158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 17:48:23.467713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/13/58/image_26112025_13_58_32_6095.jpg', '/home/pi/Desktop/images/26112025/13/58/image_26112025_13_58_43_1607.jpg', '/home/pi/Desktop/images/26112025/13/58/image_26112025_13_58_47_1600.jpg', '/home/pi/Desktop/images/26112025/13/59/image_26112025_13_59_16_4687.jpg', '/home/pi/Desktop/images/26112025/13/59/image_26112025_13_59_54_1524.jpg', '/home/pi/Desktop/images/26112025/14/01/image_26112025_14_01_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/13/58/image_26112025_13_58_32_6095.jpg
/home/pi/Desktop/images/26112025/13/58/image_26112025_13_58_43_1607.jpg
/home/pi/Desktop/images/26112025/13/58/image_26112025_13_58_47_1600.jpg
/home/pi/Desktop/images/26112025/13/59/image_26112025_13_59_16_4687.jpg
/home/pi/Desktop/images/26112025/13/59/image_26112025_13_59_54_1524.jpg
/home/pi/Desktop/images/26112025/14/01/image_26112025_14_01_07_3011.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396270803","1396270793","1396270786","1396270789","1396270780","1396270800"],"photo_ids_order":["1396270780","1396270786","1396270789","1396270793","1396270800","1396270803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a232df0723c0f18dd9610924d10c1027.jpg","text":"TemporaryFile(/tmp/multipartBody5735907669843691824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175764177,"filename":"image_26112025_14_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/26/9b21b0dd12351e05287a7f250d582c79.jpg","text":"TemporaryFile(/tmp/multipartBody5469257770691121584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175764177,"filename":"image_26112025_13_59_16_4687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a2916c5a1a40e5e2fc9327b9f8bb4fdd.jpg","text":"TemporaryFile(/tmp/multipartBody4371889905867044147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175764177,"filename":"image_26112025_13_58_43_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/26/394a25fff0958c38076525cb1dff5712.jpg","text":"TemporaryFile(/tmp/multipartBody4346160486899285936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175764177,"filename":"image_26112025_13_58_47_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ee5657618fcfe8d22648c0675b62e27d.jpg","text":"TemporaryFile(/tmp/multipartBody188304952441324934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175764177,"filename":"image_26112025_13_58_32_6095.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/05c70d652d35983a2fb335c488926d4b.jpg","text":"TemporaryFile(/tmp/multipartBody5499840875292230931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175764177,"filename":"image_26112025_13_59_54_1524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396270789","file1":"1396270786","file0":"1396270780","file4":"1396270800","file5":"1396270803","file3":"1396270793"},"map_files_photo_id_array":[{"photo_id":"1396270803","filename":"file5"},{"photo_id":"1396270789","filename":"file2"},{"photo_id":"1396270800","filename":"file4"},{"photo_id":"1396270786","filename":"file1"},{"photo_id":"1396270780","filename":"file0"},{"photo_id":"1396270793","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396270803":["hashtag1","hashtag2"]},{"1396270793":["hashtag1","hashtag2"]},{"1396270786":["hashtag1","hashtag2"]},{"1396270789":["hashtag1","hashtag2"]},{"1396270780":["hashtag1","hashtag2"]},{"1396270800":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396270803, 1396270793, 1396270786, 1396270789, 1396270780, 1396270800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.607582330703735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:49:03.576283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/01/image_26112025_14_01_17_3608.jpg', '/home/pi/Desktop/images/26112025/14/01/image_26112025_14_01_22_2667.jpg', '/home/pi/Desktop/images/26112025/14/01/image_26112025_14_01_28_2668.jpg', '/home/pi/Desktop/images/26112025/14/01/image_26112025_14_01_49_3763.jpg', '/home/pi/Desktop/images/26112025/14/01/image_26112025_14_01_52_2596.jpg', '/home/pi/Desktop/images/26112025/14/01/image_26112025_14_01_58_3204.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/01/image_26112025_14_01_17_3608.jpg
/home/pi/Desktop/images/26112025/14/01/image_26112025_14_01_22_2667.jpg
/home/pi/Desktop/images/26112025/14/01/image_26112025_14_01_28_2668.jpg
/home/pi/Desktop/images/26112025/14/01/image_26112025_14_01_49_3763.jpg
/home/pi/Desktop/images/26112025/14/01/image_26112025_14_01_52_2596.jpg
/home/pi/Desktop/images/26112025/14/01/image_26112025_14_01_58_3204.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":["1396270823","1396270817","1396270816","1396270819","1396270815","1396270809"],"photo_ids_order":["1396270809","1396270815","1396270816","1396270817","1396270819","1396270823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3f21f4e952c3a432746c4e8019d9f33d.jpg","text":"TemporaryFile(/tmp/multipartBody7638122541532376469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175804494,"filename":"image_26112025_14_01_58_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/26/3a9c6d037cd874bb3a0612740cb705a3.jpg","text":"TemporaryFile(/tmp/multipartBody4132292969619200696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175804494,"filename":"image_26112025_14_01_49_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/26/4278ef612cbd211dbc17dbc04f0ff170.jpg","text":"TemporaryFile(/tmp/multipartBody7404655304015732445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175804494,"filename":"image_26112025_14_01_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/26/10b7a762be8e79033e0de4e165d24504.jpg","text":"TemporaryFile(/tmp/multipartBody5341841667548462356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175804494,"filename":"image_26112025_14_01_52_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/26/e10ab131be40e6fc2251d08a2c29ce50.jpg","text":"TemporaryFile(/tmp/multipartBody1483022020580187166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175804494,"filename":"image_26112025_14_01_22_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/26/943ff4edcef93e6087609ac378175ae7.jpg","text":"TemporaryFile(/tmp/multipartBody7204670461473629236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175804494,"filename":"image_26112025_14_01_17_3608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396270816","file1":"1396270815","file0":"1396270809","file4":"1396270819","file5":"1396270823","file3":"1396270817"},"map_files_photo_id_array":[{"photo_id":"1396270823","filename":"file5"},{"photo_id":"1396270816","filename":"file2"},{"photo_id":"1396270819","filename":"file4"},{"photo_id":"1396270815","filename":"file1"},{"photo_id":"1396270809","filename":"file0"},{"photo_id":"1396270817","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396270823":["hashtag1","hashtag2"]},{"1396270817":["hashtag1","hashtag2"]},{"1396270816":["hashtag1","hashtag2"]},{"1396270819":["hashtag1","hashtag2"]},{"1396270815":["hashtag1","hashtag2"]},{"1396270809":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396270823, 1396270817, 1396270816, 1396270819, 1396270815, 1396270809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89397621154785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:49:42.820376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_04_5875.jpg', '/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_07_2988.jpg', '/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_14_3514.jpg', '/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_16_2481.jpg', '/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_31_3573.jpg', '/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_34_2508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_04_5875.jpg
/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_07_2988.jpg
/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_14_3514.jpg
/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_16_2481.jpg
/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_31_3573.jpg
/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_34_2508.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":["1396270838","1396270832","1396270835","1396270837","1396270839","1396270836"],"photo_ids_order":["1396270832","1396270835","1396270836","1396270837","1396270838","1396270839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b3c72de5f3c0730392a017af75111870.jpg","text":"TemporaryFile(/tmp/multipartBody2213105942464717689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175843513,"filename":"image_26112025_14_02_31_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/26/14e1ff2c410e8481980673085141b8e0.jpg","text":"TemporaryFile(/tmp/multipartBody854456732280706090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175843513,"filename":"image_26112025_14_02_04_5875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/117a71e607fb2afac665cc37356143c3.jpg","text":"TemporaryFile(/tmp/multipartBody4880874067472194363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175843513,"filename":"image_26112025_14_02_07_2988.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/304bd5d29ecc90afdcc7caa37e9addcb.jpg","text":"TemporaryFile(/tmp/multipartBody2316153421410709324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175843513,"filename":"image_26112025_14_02_16_2481.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aa59b19686d002b468a0fc4df63bc231.jpg","text":"TemporaryFile(/tmp/multipartBody2504843302464566640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175843513,"filename":"image_26112025_14_02_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/26/55a5a7c4b58993c8a0a41d48220d691c.jpg","text":"TemporaryFile(/tmp/multipartBody128340819497670896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175843513,"filename":"image_26112025_14_02_14_3514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396270836","file1":"1396270835","file0":"1396270832","file4":"1396270838","file5":"1396270839","file3":"1396270837"},"map_files_photo_id_array":[{"photo_id":"1396270839","filename":"file5"},{"photo_id":"1396270836","filename":"file2"},{"photo_id":"1396270838","filename":"file4"},{"photo_id":"1396270835","filename":"file1"},{"photo_id":"1396270832","filename":"file0"},{"photo_id":"1396270837","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396270838":["hashtag1","hashtag2"]},{"1396270832":["hashtag1","hashtag2"]},{"1396270835":["hashtag1","hashtag2"]},{"1396270837":["hashtag1","hashtag2"]},{"1396270839":["hashtag1","hashtag2"]},{"1396270836":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396270838, 1396270832, 1396270835, 1396270837, 1396270839, 1396270836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53704285621643 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 17:50:22.111289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_40_2624.jpg', '/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_44_3633.jpg', '/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_46_2982.jpg', '/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_52_3235.jpg', '/home/pi/Desktop/images/26112025/14/03/image_26112025_14_03_01_3721.jpg', '/home/pi/Desktop/images/26112025/14/03/image_26112025_14_03_07_3537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_40_2624.jpg
/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_44_3633.jpg
/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_46_2982.jpg
/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_52_3235.jpg
/home/pi/Desktop/images/26112025/14/03/image_26112025_14_03_01_3721.jpg
/home/pi/Desktop/images/26112025/14/03/image_26112025_14_03_07_3537.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.5783374309539795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 17:50:31.960108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_40_2624.jpg', '/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_44_3633.jpg', '/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_46_2982.jpg', '/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_52_3235.jpg', '/home/pi/Desktop/images/26112025/14/03/image_26112025_14_03_01_3721.jpg', '/home/pi/Desktop/images/26112025/14/03/image_26112025_14_03_07_3537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_40_2624.jpg
/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_44_3633.jpg
/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_46_2982.jpg
/home/pi/Desktop/images/26112025/14/02/image_26112025_14_02_52_3235.jpg
/home/pi/Desktop/images/26112025/14/03/image_26112025_14_03_01_3721.jpg
/home/pi/Desktop/images/26112025/14/03/image_26112025_14_03_07_3537.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":["1396270862","1396270850","1396270858","1396270863","1396270860","1396270854"],"photo_ids_order":["1396270850","1396270854","1396270858","1396270860","1396270862","1396270863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/40069084e1d21d64757595ec06570d34.jpg","text":"TemporaryFile(/tmp/multipartBody7254327926317851381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175892680,"filename":"image_26112025_14_03_01_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/26/c8d9bc768875b83967c7e0f4def0da8e.jpg","text":"TemporaryFile(/tmp/multipartBody2523373102116733088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175892680,"filename":"image_26112025_14_02_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/26/3e4139b7722bde9eff6cbe7fe9c5e3a1.jpg","text":"TemporaryFile(/tmp/multipartBody3057820706787107112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175892680,"filename":"image_26112025_14_02_46_2982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2cf4e4b230a9b713ca57129b6a16a023.jpg","text":"TemporaryFile(/tmp/multipartBody8851410291497499023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175892680,"filename":"image_26112025_14_03_07_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/26/fadcba5f49fb4e7cb1d3db5b62711797.jpg","text":"TemporaryFile(/tmp/multipartBody7090677591959991752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175892680,"filename":"image_26112025_14_02_52_3235.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a74fc847565e288921ad2335fd5c321e.jpg","text":"TemporaryFile(/tmp/multipartBody2006487074362843620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175892680,"filename":"image_26112025_14_02_44_3633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396270858","file1":"1396270854","file0":"1396270850","file4":"1396270862","file5":"1396270863","file3":"1396270860"},"map_files_photo_id_array":[{"photo_id":"1396270863","filename":"file5"},{"photo_id":"1396270858","filename":"file2"},{"photo_id":"1396270862","filename":"file4"},{"photo_id":"1396270854","filename":"file1"},{"photo_id":"1396270850","filename":"file0"},{"photo_id":"1396270860","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396270862":["hashtag1","hashtag2"]},{"1396270850":["hashtag1","hashtag2"]},{"1396270858":["hashtag1","hashtag2"]},{"1396270863":["hashtag1","hashtag2"]},{"1396270860":["hashtag1","hashtag2"]},{"1396270854":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396270862, 1396270850, 1396270858, 1396270863, 1396270860, 1396270854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70245695114136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 17:51:12.167688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/03/image_26112025_14_03_10_2762.jpg', '/home/pi/Desktop/images/26112025/14/03/image_26112025_14_03_28_2997.jpg', '/home/pi/Desktop/images/26112025/14/03/image_26112025_14_03_31_2655.jpg', '/home/pi/Desktop/images/26112025/14/03/image_26112025_14_03_43_2502.jpg', '/home/pi/Desktop/images/26112025/14/03/image_26112025_14_03_49_2850.jpg', '/home/pi/Desktop/images/26112025/14/04/image_26112025_14_04_03_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/03/image_26112025_14_03_10_2762.jpg
/home/pi/Desktop/images/26112025/14/03/image_26112025_14_03_28_2997.jpg
/home/pi/Desktop/images/26112025/14/03/image_26112025_14_03_31_2655.jpg
/home/pi/Desktop/images/26112025/14/03/image_26112025_14_03_43_2502.jpg
/home/pi/Desktop/images/26112025/14/03/image_26112025_14_03_49_2850.jpg
/home/pi/Desktop/images/26112025/14/04/image_26112025_14_04_03_2604.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":["1396270902","1396270892","1396270895","1396270898","1396270885","1396270890"],"photo_ids_order":["1396270885","1396270890","1396270892","1396270895","1396270898","1396270902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/779dac756b383b4de561010e13e5e7ee.jpg","text":"TemporaryFile(/tmp/multipartBody8714695258306518694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175932802,"filename":"image_26112025_14_04_03_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/26/0582f162072def7ceba1b68ef65a31ca.jpg","text":"TemporaryFile(/tmp/multipartBody7532783034159322582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175932802,"filename":"image_26112025_14_03_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/26/8603198e720fcc34fb8174e746f98bb7.jpg","text":"TemporaryFile(/tmp/multipartBody3824711691422249787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175932802,"filename":"image_26112025_14_03_43_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/26/344c9664421d2867ae7c9eefbe4daa4b.jpg","text":"TemporaryFile(/tmp/multipartBody5760498500161157568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175932802,"filename":"image_26112025_14_03_49_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/26/da820e85c94125348c23b32ba205581a.jpg","text":"TemporaryFile(/tmp/multipartBody2541795185231015806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175932802,"filename":"image_26112025_14_03_10_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/26/67e9f3dfd7afda0d368f9feb97d6ce6c.jpg","text":"TemporaryFile(/tmp/multipartBody1160891357383539106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175932802,"filename":"image_26112025_14_03_28_2997.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396270892","file1":"1396270890","file0":"1396270885","file4":"1396270898","file5":"1396270902","file3":"1396270895"},"map_files_photo_id_array":[{"photo_id":"1396270902","filename":"file5"},{"photo_id":"1396270892","filename":"file2"},{"photo_id":"1396270898","filename":"file4"},{"photo_id":"1396270890","filename":"file1"},{"photo_id":"1396270885","filename":"file0"},{"photo_id":"1396270895","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396270902":["hashtag1","hashtag2"]},{"1396270892":["hashtag1","hashtag2"]},{"1396270895":["hashtag1","hashtag2"]},{"1396270898":["hashtag1","hashtag2"]},{"1396270885":["hashtag1","hashtag2"]},{"1396270890":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396270902, 1396270892, 1396270895, 1396270898, 1396270885, 1396270890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95268249511719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:52:02.805743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/04/image_26112025_14_04_10_1655.jpg', '/home/pi/Desktop/images/26112025/14/04/image_26112025_14_04_22_3795.jpg', '/home/pi/Desktop/images/26112025/14/04/image_26112025_14_04_25_2558.jpg', '/home/pi/Desktop/images/26112025/14/04/image_26112025_14_04_43_3110.jpg', '/home/pi/Desktop/images/26112025/14/04/image_26112025_14_04_45_2545.jpg', '/home/pi/Desktop/images/26112025/14/04/image_26112025_14_04_49_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/04/image_26112025_14_04_10_1655.jpg
/home/pi/Desktop/images/26112025/14/04/image_26112025_14_04_22_3795.jpg
/home/pi/Desktop/images/26112025/14/04/image_26112025_14_04_25_2558.jpg
/home/pi/Desktop/images/26112025/14/04/image_26112025_14_04_43_3110.jpg
/home/pi/Desktop/images/26112025/14/04/image_26112025_14_04_45_2545.jpg
/home/pi/Desktop/images/26112025/14/04/image_26112025_14_04_49_3663.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":["1396271018","1396270949","1396271077","1396271074","1396271053","1396270984"],"photo_ids_order":["1396270949","1396270984","1396271018","1396271053","1396271074","1396271077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4582019f2fe69bacec77b6e3172e94ed.jpg","text":"TemporaryFile(/tmp/multipartBody7355242524870237027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175983502,"filename":"image_26112025_14_04_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/26/dc5543762ee202092c00721f740043de.jpg","text":"TemporaryFile(/tmp/multipartBody2106219359338347184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175983502,"filename":"image_26112025_14_04_10_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/26/643ae840522c7478168d0dc75a550d49.jpg","text":"TemporaryFile(/tmp/multipartBody2858422355849502722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175983502,"filename":"image_26112025_14_04_49_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/26/f611fcb3c0a9f7833b6f503dcef32ed1.jpg","text":"TemporaryFile(/tmp/multipartBody173972842284966973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175983502,"filename":"image_26112025_14_04_45_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/26/e5f08341de5d377890f47eabae946b71.jpg","text":"TemporaryFile(/tmp/multipartBody4639035285996312806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175983502,"filename":"image_26112025_14_04_43_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/26/f026fe1b673ce5858abb7d1720db47ea.jpg","text":"TemporaryFile(/tmp/multipartBody6284890873017768665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764175983502,"filename":"image_26112025_14_04_22_3795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396271018","file1":"1396270984","file0":"1396270949","file4":"1396271074","file5":"1396271077","file3":"1396271053"},"map_files_photo_id_array":[{"photo_id":"1396271077","filename":"file5"},{"photo_id":"1396271018","filename":"file2"},{"photo_id":"1396271074","filename":"file4"},{"photo_id":"1396270984","filename":"file1"},{"photo_id":"1396270949","filename":"file0"},{"photo_id":"1396271053","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396271018":["hashtag1","hashtag2"]},{"1396270949":["hashtag1","hashtag2"]},{"1396271077":["hashtag1","hashtag2"]},{"1396271074":["hashtag1","hashtag2"]},{"1396271053":["hashtag1","hashtag2"]},{"1396270984":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396271018, 1396270949, 1396271077, 1396271074, 1396271053, 1396270984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.35311770439148 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:52:42.406058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/04/image_26112025_14_04_52_2500.jpg', '/home/pi/Desktop/images/26112025/14/04/image_26112025_14_04_55_3181.jpg', '/home/pi/Desktop/images/26112025/14/04/image_26112025_14_04_57_2563.jpg', '/home/pi/Desktop/images/26112025/14/04/image_26112025_14_05_01_3769.jpg', '/home/pi/Desktop/images/26112025/14/05/image_26112025_14_05_04_2659.jpg', '/home/pi/Desktop/images/26112025/14/05/image_26112025_14_05_06_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/04/image_26112025_14_04_52_2500.jpg
/home/pi/Desktop/images/26112025/14/04/image_26112025_14_04_55_3181.jpg
/home/pi/Desktop/images/26112025/14/04/image_26112025_14_04_57_2563.jpg
/home/pi/Desktop/images/26112025/14/04/image_26112025_14_05_01_3769.jpg
/home/pi/Desktop/images/26112025/14/05/image_26112025_14_05_04_2659.jpg
/home/pi/Desktop/images/26112025/14/05/image_26112025_14_05_06_2572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396271102","1396271114","1396271101","1396271148","1396271100","1396271090"],"photo_ids_order":["1396271090","1396271100","1396271101","1396271102","1396271114","1396271148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/be01f01edd8bbd67b4df65cf978291f5.jpg","text":"TemporaryFile(/tmp/multipartBody5879920776905435935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176023073,"filename":"image_26112025_14_05_01_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/26/3a75f9015f8cfa11cc566aff52d58edb.jpg","text":"TemporaryFile(/tmp/multipartBody1657518051443286119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176023073,"filename":"image_26112025_14_05_04_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2d225fd7036eb882c293bbc6973e4b42.jpg","text":"TemporaryFile(/tmp/multipartBody8712374397632506027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176023073,"filename":"image_26112025_14_04_57_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/26/875f7c5e9b1846be0dbd9ddcd2e650e9.jpg","text":"TemporaryFile(/tmp/multipartBody158483413667426263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176023073,"filename":"image_26112025_14_05_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/26/c0dba6ec340ddbb20d49661efc4f3ff7.jpg","text":"TemporaryFile(/tmp/multipartBody1082859882853359830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176023073,"filename":"image_26112025_14_04_55_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/26/79c544c693b90f88b15f5617f12acaa8.jpg","text":"TemporaryFile(/tmp/multipartBody4628582728507993092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176023073,"filename":"image_26112025_14_04_52_2500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396271101","file1":"1396271100","file0":"1396271090","file4":"1396271114","file5":"1396271148","file3":"1396271102"},"map_files_photo_id_array":[{"photo_id":"1396271148","filename":"file5"},{"photo_id":"1396271101","filename":"file2"},{"photo_id":"1396271114","filename":"file4"},{"photo_id":"1396271100","filename":"file1"},{"photo_id":"1396271090","filename":"file0"},{"photo_id":"1396271102","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396271102":["hashtag1","hashtag2"]},{"1396271114":["hashtag1","hashtag2"]},{"1396271101":["hashtag1","hashtag2"]},{"1396271148":["hashtag1","hashtag2"]},{"1396271100":["hashtag1","hashtag2"]},{"1396271090":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396271102, 1396271114, 1396271101, 1396271148, 1396271100, 1396271090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31032156944275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 17:53:22.741210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/05/image_26112025_14_05_18_4730.jpg', '/home/pi/Desktop/images/26112025/14/05/image_26112025_14_05_19_1714.jpg', '/home/pi/Desktop/images/26112025/14/05/image_26112025_14_05_22_2646.jpg', '/home/pi/Desktop/images/26112025/14/05/image_26112025_14_05_33_2598.jpg', '/home/pi/Desktop/images/26112025/14/06/image_26112025_14_06_24_2594.jpg', '/home/pi/Desktop/images/26112025/14/07/image_26112025_14_07_18_2780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/05/image_26112025_14_05_18_4730.jpg
/home/pi/Desktop/images/26112025/14/05/image_26112025_14_05_19_1714.jpg
/home/pi/Desktop/images/26112025/14/05/image_26112025_14_05_22_2646.jpg
/home/pi/Desktop/images/26112025/14/05/image_26112025_14_05_33_2598.jpg
/home/pi/Desktop/images/26112025/14/06/image_26112025_14_06_24_2594.jpg
/home/pi/Desktop/images/26112025/14/07/image_26112025_14_07_18_2780.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":["1396271252","1396271276","1396271230","1396271224","1396271226","1396271279"],"photo_ids_order":["1396271224","1396271226","1396271230","1396271252","1396271276","1396271279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/160d5a0e2f043749dccd09e435d095a8.jpg","text":"TemporaryFile(/tmp/multipartBody2754697112760297444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176063460,"filename":"image_26112025_14_05_33_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/26/d3376cf1b89d32073d67e01059c2d9cb.jpg","text":"TemporaryFile(/tmp/multipartBody9199511740879741144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176063460,"filename":"image_26112025_14_06_24_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6e8974a97689681a2be74d22cf410536.jpg","text":"TemporaryFile(/tmp/multipartBody2285404364991673553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176063460,"filename":"image_26112025_14_05_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/26/03783c46d4ad6dd2d3909435b6bb35dd.jpg","text":"TemporaryFile(/tmp/multipartBody6727905598951105891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176063460,"filename":"image_26112025_14_05_18_4730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c750d10310625b6616ed06f5d3e0d629.jpg","text":"TemporaryFile(/tmp/multipartBody144024610788708234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176063460,"filename":"image_26112025_14_05_19_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/26/2b6cb7a326508c0fef08baefc67779dc.jpg","text":"TemporaryFile(/tmp/multipartBody8024015334721847911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176063460,"filename":"image_26112025_14_07_18_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396271230","file1":"1396271226","file0":"1396271224","file4":"1396271276","file5":"1396271279","file3":"1396271252"},"map_files_photo_id_array":[{"photo_id":"1396271279","filename":"file5"},{"photo_id":"1396271230","filename":"file2"},{"photo_id":"1396271276","filename":"file4"},{"photo_id":"1396271226","filename":"file1"},{"photo_id":"1396271224","filename":"file0"},{"photo_id":"1396271252","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396271252":["hashtag1","hashtag2"]},{"1396271276":["hashtag1","hashtag2"]},{"1396271230":["hashtag1","hashtag2"]},{"1396271224":["hashtag1","hashtag2"]},{"1396271226":["hashtag1","hashtag2"]},{"1396271279":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396271252, 1396271276, 1396271230, 1396271224, 1396271226, 1396271279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44608521461487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:54:03.441921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/07/image_26112025_14_07_27_2658.jpg', '/home/pi/Desktop/images/26112025/14/07/image_26112025_14_07_31_3752.jpg', '/home/pi/Desktop/images/26112025/14/07/image_26112025_14_07_36_2667.jpg', '/home/pi/Desktop/images/26112025/14/08/image_26112025_14_08_33_8484.jpg', '/home/pi/Desktop/images/26112025/14/08/image_26112025_14_08_35_1632.jpg', '/home/pi/Desktop/images/26112025/14/08/image_26112025_14_08_37_1616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/07/image_26112025_14_07_27_2658.jpg
/home/pi/Desktop/images/26112025/14/07/image_26112025_14_07_31_3752.jpg
/home/pi/Desktop/images/26112025/14/07/image_26112025_14_07_36_2667.jpg
/home/pi/Desktop/images/26112025/14/08/image_26112025_14_08_33_8484.jpg
/home/pi/Desktop/images/26112025/14/08/image_26112025_14_08_35_1632.jpg
/home/pi/Desktop/images/26112025/14/08/image_26112025_14_08_37_1616.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":["1396271281","1396271299","1396271284","1396271305","1396271335","1396271308"],"photo_ids_order":["1396271281","1396271284","1396271299","1396271305","1396271308","1396271335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8e1f8720d0388bf6725a294fdf8cd4da.jpg","text":"TemporaryFile(/tmp/multipartBody6846601113352211697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176106634,"filename":"image_26112025_14_07_27_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/26/88d26c64d3239949acc51545619366d5.jpg","text":"TemporaryFile(/tmp/multipartBody8647790688555547936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176106634,"filename":"image_26112025_14_07_36_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/26/07eb9cfb079546d00d6d47ee2be36d3e.jpg","text":"TemporaryFile(/tmp/multipartBody7797175986637684841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176106634,"filename":"image_26112025_14_07_31_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/26/acb0dadf0af74ea58898669a216bbc56.jpg","text":"TemporaryFile(/tmp/multipartBody7864246629313834676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176106634,"filename":"image_26112025_14_08_33_8484.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/38dbac489951155a108c363fc83d3aa2.jpg","text":"TemporaryFile(/tmp/multipartBody6432455643858531760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176106634,"filename":"image_26112025_14_08_37_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/26/1976124be305bb0e3ff5acc5a78c4218.jpg","text":"TemporaryFile(/tmp/multipartBody7766902888270135790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176106634,"filename":"image_26112025_14_08_35_1632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396271299","file1":"1396271284","file0":"1396271281","file4":"1396271308","file5":"1396271335","file3":"1396271305"},"map_files_photo_id_array":[{"photo_id":"1396271335","filename":"file5"},{"photo_id":"1396271299","filename":"file2"},{"photo_id":"1396271308","filename":"file4"},{"photo_id":"1396271284","filename":"file1"},{"photo_id":"1396271281","filename":"file0"},{"photo_id":"1396271305","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396271281":["hashtag1","hashtag2"]},{"1396271299":["hashtag1","hashtag2"]},{"1396271284":["hashtag1","hashtag2"]},{"1396271305":["hashtag1","hashtag2"]},{"1396271335":["hashtag1","hashtag2"]},{"1396271308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396271281, 1396271299, 1396271284, 1396271305, 1396271335, 1396271308)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.733850955963135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:55:02.562001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/08/image_26112025_14_08_38_1537.jpg', '/home/pi/Desktop/images/26112025/14/08/image_26112025_14_08_40_1618.jpg', '/home/pi/Desktop/images/26112025/14/08/image_26112025_14_08_42_2571.jpg', '/home/pi/Desktop/images/26112025/14/08/image_26112025_14_08_45_2832.jpg', '/home/pi/Desktop/images/26112025/14/08/image_26112025_14_08_49_3682.jpg', '/home/pi/Desktop/images/26112025/14/08/image_26112025_14_08_56_7093.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/08/image_26112025_14_08_38_1537.jpg
/home/pi/Desktop/images/26112025/14/08/image_26112025_14_08_40_1618.jpg
/home/pi/Desktop/images/26112025/14/08/image_26112025_14_08_42_2571.jpg
/home/pi/Desktop/images/26112025/14/08/image_26112025_14_08_45_2832.jpg
/home/pi/Desktop/images/26112025/14/08/image_26112025_14_08_49_3682.jpg
/home/pi/Desktop/images/26112025/14/08/image_26112025_14_08_56_7093.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":["1396271351","1396271345","1396271348","1396271344","1396271343","1396271346"],"photo_ids_order":["1396271343","1396271344","1396271345","1396271346","1396271348","1396271351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a51cecc90858ea31261938f0e8507be1.jpg","text":"TemporaryFile(/tmp/multipartBody7368855896899678895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176163325,"filename":"image_26112025_14_08_56_7093.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7c9095f56ec836659ffbde15da8ade3a.jpg","text":"TemporaryFile(/tmp/multipartBody4439530214408599963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176163325,"filename":"image_26112025_14_08_42_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/26/b80a50ca0674249c61fd0e47a7ebe0cc.jpg","text":"TemporaryFile(/tmp/multipartBody6106074540857260499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176163325,"filename":"image_26112025_14_08_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/26/9903703040ea6c632924e518d3ae6cf1.jpg","text":"TemporaryFile(/tmp/multipartBody8942849948839905796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176163325,"filename":"image_26112025_14_08_40_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/26/e529665e57e634d49c25c34d0f18b31d.jpg","text":"TemporaryFile(/tmp/multipartBody9056673489420015842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176163325,"filename":"image_26112025_14_08_38_1537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/210ade211eefdc9192bc45bdc4c185b2.jpg","text":"TemporaryFile(/tmp/multipartBody1990815127847635924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176163325,"filename":"image_26112025_14_08_45_2832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396271345","file1":"1396271344","file0":"1396271343","file4":"1396271348","file5":"1396271351","file3":"1396271346"},"map_files_photo_id_array":[{"photo_id":"1396271351","filename":"file5"},{"photo_id":"1396271345","filename":"file2"},{"photo_id":"1396271348","filename":"file4"},{"photo_id":"1396271344","filename":"file1"},{"photo_id":"1396271343","filename":"file0"},{"photo_id":"1396271346","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396271351":["hashtag1","hashtag2"]},{"1396271345":["hashtag1","hashtag2"]},{"1396271348":["hashtag1","hashtag2"]},{"1396271344":["hashtag1","hashtag2"]},{"1396271343":["hashtag1","hashtag2"]},{"1396271346":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396271351, 1396271345, 1396271348, 1396271344, 1396271343, 1396271346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.587175607681274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:55:41.821906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/09/image_26112025_14_09_30_1771.jpg', '/home/pi/Desktop/images/26112025/14/10/image_26112025_14_10_13_3633.jpg', '/home/pi/Desktop/images/26112025/14/10/image_26112025_14_10_15_2642.jpg', '/home/pi/Desktop/images/26112025/14/10/image_26112025_14_10_25_3781.jpg', '/home/pi/Desktop/images/26112025/14/10/image_26112025_14_10_27_2724.jpg', '/home/pi/Desktop/images/26112025/14/10/image_26112025_14_10_30_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/09/image_26112025_14_09_30_1771.jpg
/home/pi/Desktop/images/26112025/14/10/image_26112025_14_10_13_3633.jpg
/home/pi/Desktop/images/26112025/14/10/image_26112025_14_10_15_2642.jpg
/home/pi/Desktop/images/26112025/14/10/image_26112025_14_10_25_3781.jpg
/home/pi/Desktop/images/26112025/14/10/image_26112025_14_10_27_2724.jpg
/home/pi/Desktop/images/26112025/14/10/image_26112025_14_10_30_2585.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":["1396271362","1396271356","1396271359","1396271361","1396271364","1396271363"],"photo_ids_order":["1396271356","1396271359","1396271361","1396271362","1396271363","1396271364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/90ac7b679bca040fb3f3175127e2714f.jpg","text":"TemporaryFile(/tmp/multipartBody2213211871099939770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176202510,"filename":"image_26112025_14_10_25_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/26/bb6edbdfbb7e4eb16a66f58b8bd23277.jpg","text":"TemporaryFile(/tmp/multipartBody9092177846722044894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176202510,"filename":"image_26112025_14_09_30_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/26/c0f6836f73ce547228c34b6d4111bbe1.jpg","text":"TemporaryFile(/tmp/multipartBody704509107100204936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176202510,"filename":"image_26112025_14_10_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/26/1b212731daafa93ed8c1355fc2bffc62.jpg","text":"TemporaryFile(/tmp/multipartBody857861386736860841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176202510,"filename":"image_26112025_14_10_15_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/26/6800345c739735ae3ca68fdf90df5f26.jpg","text":"TemporaryFile(/tmp/multipartBody3608221325827619521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176202510,"filename":"image_26112025_14_10_30_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/26/2302cc35b137ad9e55c0b5822a07585d.jpg","text":"TemporaryFile(/tmp/multipartBody7738522512345009728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176202510,"filename":"image_26112025_14_10_27_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396271361","file1":"1396271359","file0":"1396271356","file4":"1396271363","file5":"1396271364","file3":"1396271362"},"map_files_photo_id_array":[{"photo_id":"1396271364","filename":"file5"},{"photo_id":"1396271361","filename":"file2"},{"photo_id":"1396271363","filename":"file4"},{"photo_id":"1396271359","filename":"file1"},{"photo_id":"1396271356","filename":"file0"},{"photo_id":"1396271362","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396271362":["hashtag1","hashtag2"]},{"1396271356":["hashtag1","hashtag2"]},{"1396271359":["hashtag1","hashtag2"]},{"1396271361":["hashtag1","hashtag2"]},{"1396271364":["hashtag1","hashtag2"]},{"1396271363":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396271362, 1396271356, 1396271359, 1396271361, 1396271364, 1396271363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37002944946289 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 17:56:21.989818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/10/image_26112025_14_10_34_3649.jpg', '/home/pi/Desktop/images/26112025/14/10/image_26112025_14_10_36_2532.jpg', '/home/pi/Desktop/images/26112025/14/10/image_26112025_14_10_39_2678.jpg', '/home/pi/Desktop/images/26112025/14/10/image_26112025_14_10_51_2998.jpg', '/home/pi/Desktop/images/26112025/14/10/image_26112025_14_10_55_3786.jpg', '/home/pi/Desktop/images/26112025/14/10/image_26112025_14_10_57_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/10/image_26112025_14_10_34_3649.jpg
/home/pi/Desktop/images/26112025/14/10/image_26112025_14_10_36_2532.jpg
/home/pi/Desktop/images/26112025/14/10/image_26112025_14_10_39_2678.jpg
/home/pi/Desktop/images/26112025/14/10/image_26112025_14_10_51_2998.jpg
/home/pi/Desktop/images/26112025/14/10/image_26112025_14_10_55_3786.jpg
/home/pi/Desktop/images/26112025/14/10/image_26112025_14_10_57_2657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396271368","1396271377","1396271371","1396271373","1396271375","1396271378"],"photo_ids_order":["1396271368","1396271371","1396271373","1396271375","1396271377","1396271378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/45f734f62201cd614c147aa78672bc9f.jpg","text":"TemporaryFile(/tmp/multipartBody5987864293634129904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176243016,"filename":"image_26112025_14_10_34_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/26/8617f1a9d43631c9354136306bb0676e.jpg","text":"TemporaryFile(/tmp/multipartBody3848084899895042355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176243016,"filename":"image_26112025_14_10_55_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/26/2fc35bf27736393990c22398b336778f.jpg","text":"TemporaryFile(/tmp/multipartBody5311798005849749063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176243016,"filename":"image_26112025_14_10_36_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/26/47457bacbe48d569e79caa6569fee5d1.jpg","text":"TemporaryFile(/tmp/multipartBody4777400203120325469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176243016,"filename":"image_26112025_14_10_39_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/26/3aae1821971e8d662f38a5e0b3bf86e2.jpg","text":"TemporaryFile(/tmp/multipartBody1196452306805191879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176243016,"filename":"image_26112025_14_10_51_2998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/222584dc8640ac9a552a077f4ed14176.jpg","text":"TemporaryFile(/tmp/multipartBody2556586382707724375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176243016,"filename":"image_26112025_14_10_57_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396271373","file1":"1396271371","file0":"1396271368","file4":"1396271377","file5":"1396271378","file3":"1396271375"},"map_files_photo_id_array":[{"photo_id":"1396271378","filename":"file5"},{"photo_id":"1396271373","filename":"file2"},{"photo_id":"1396271377","filename":"file4"},{"photo_id":"1396271371","filename":"file1"},{"photo_id":"1396271368","filename":"file0"},{"photo_id":"1396271375","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396271368":["hashtag1","hashtag2"]},{"1396271377":["hashtag1","hashtag2"]},{"1396271371":["hashtag1","hashtag2"]},{"1396271373":["hashtag1","hashtag2"]},{"1396271375":["hashtag1","hashtag2"]},{"1396271378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396271368, 1396271377, 1396271371, 1396271373, 1396271375, 1396271378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.957942724227905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:57:02.950493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/10/image_26112025_14_11_00_2514.jpg', '/home/pi/Desktop/images/26112025/14/11/image_26112025_14_11_03_3624.jpg', '/home/pi/Desktop/images/26112025/14/11/image_26112025_14_11_06_2503.jpg', '/home/pi/Desktop/images/26112025/14/11/image_26112025_14_11_09_2824.jpg', '/home/pi/Desktop/images/26112025/14/11/image_26112025_14_11_12_3652.jpg', '/home/pi/Desktop/images/26112025/14/11/image_26112025_14_11_15_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/10/image_26112025_14_11_00_2514.jpg
/home/pi/Desktop/images/26112025/14/11/image_26112025_14_11_03_3624.jpg
/home/pi/Desktop/images/26112025/14/11/image_26112025_14_11_06_2503.jpg
/home/pi/Desktop/images/26112025/14/11/image_26112025_14_11_09_2824.jpg
/home/pi/Desktop/images/26112025/14/11/image_26112025_14_11_12_3652.jpg
/home/pi/Desktop/images/26112025/14/11/image_26112025_14_11_15_2597.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":["1396271387","1396271380","1396271379","1396271382","1396271381","1396271384"],"photo_ids_order":["1396271379","1396271380","1396271381","1396271382","1396271384","1396271387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e2ce0972f4686711e51c0e867c3e2b1c.jpg","text":"TemporaryFile(/tmp/multipartBody2665638989412752016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176283722,"filename":"image_26112025_14_11_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/26/15e283471eb5cd1c52a415a02a731ef6.jpg","text":"TemporaryFile(/tmp/multipartBody2628826685230344404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176283722,"filename":"image_26112025_14_11_03_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/26/de6f068d9e122c6e939f26096ab43d27.jpg","text":"TemporaryFile(/tmp/multipartBody7629302964040657952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176283722,"filename":"image_26112025_14_11_00_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/26/f5e15b961f02898600c3df68362ee3da.jpg","text":"TemporaryFile(/tmp/multipartBody6813349547539557953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176283722,"filename":"image_26112025_14_11_09_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/26/b546ab7a04408dd0b5ca981a1669cfb6.jpg","text":"TemporaryFile(/tmp/multipartBody546384375890480754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176283722,"filename":"image_26112025_14_11_06_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/26/30282b3dd900d668b98ee378bd10339e.jpg","text":"TemporaryFile(/tmp/multipartBody6297336844111042732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176283722,"filename":"image_26112025_14_11_12_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396271381","file1":"1396271380","file0":"1396271379","file4":"1396271384","file5":"1396271387","file3":"1396271382"},"map_files_photo_id_array":[{"photo_id":"1396271387","filename":"file5"},{"photo_id":"1396271381","filename":"file2"},{"photo_id":"1396271384","filename":"file4"},{"photo_id":"1396271380","filename":"file1"},{"photo_id":"1396271379","filename":"file0"},{"photo_id":"1396271382","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396271387":["hashtag1","hashtag2"]},{"1396271380":["hashtag1","hashtag2"]},{"1396271379":["hashtag1","hashtag2"]},{"1396271382":["hashtag1","hashtag2"]},{"1396271381":["hashtag1","hashtag2"]},{"1396271384":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396271387, 1396271380, 1396271379, 1396271382, 1396271381, 1396271384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45319581031799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:57:42.311185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/11/image_26112025_14_11_19_3660.jpg', '/home/pi/Desktop/images/26112025/14/11/image_26112025_14_11_21_2662.jpg', '/home/pi/Desktop/images/26112025/14/11/image_26112025_14_11_24_2670.jpg', '/home/pi/Desktop/images/26112025/14/11/image_26112025_14_11_27_2664.jpg', '/home/pi/Desktop/images/26112025/14/11/image_26112025_14_11_30_3621.jpg', '/home/pi/Desktop/images/26112025/14/11/image_26112025_14_11_36_3601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/11/image_26112025_14_11_19_3660.jpg
/home/pi/Desktop/images/26112025/14/11/image_26112025_14_11_21_2662.jpg
/home/pi/Desktop/images/26112025/14/11/image_26112025_14_11_24_2670.jpg
/home/pi/Desktop/images/26112025/14/11/image_26112025_14_11_27_2664.jpg
/home/pi/Desktop/images/26112025/14/11/image_26112025_14_11_30_3621.jpg
/home/pi/Desktop/images/26112025/14/11/image_26112025_14_11_36_3601.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396271392","1396271395","1396271398","1396271397","1396271400","1396271399"],"photo_ids_order":["1396271392","1396271395","1396271397","1396271398","1396271399","1396271400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3d8dcc6c2e960c418b94c512b0e11b6d.jpg","text":"TemporaryFile(/tmp/multipartBody5409851602147455304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176322999,"filename":"image_26112025_14_11_19_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/26/89cc8d596e47b081dd97ee268d3a68de.jpg","text":"TemporaryFile(/tmp/multipartBody5200046244730147698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176322999,"filename":"image_26112025_14_11_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/26/78bd08023ff33e57a21adb5543252c52.jpg","text":"TemporaryFile(/tmp/multipartBody8422855646473965165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176322999,"filename":"image_26112025_14_11_27_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/26/8bf09800ff362422b53de4ec7a74d42d.jpg","text":"TemporaryFile(/tmp/multipartBody117848010873377644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176322999,"filename":"image_26112025_14_11_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/26/9f1b4f1502b2dc12539ea5dc9c194222.jpg","text":"TemporaryFile(/tmp/multipartBody3678950387056845482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176322999,"filename":"image_26112025_14_11_36_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/26/00bce682bf6096bacd2d2bf11aeda1a0.jpg","text":"TemporaryFile(/tmp/multipartBody2270738986442089692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176322999,"filename":"image_26112025_14_11_30_3621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396271397","file1":"1396271395","file0":"1396271392","file4":"1396271399","file5":"1396271400","file3":"1396271398"},"map_files_photo_id_array":[{"photo_id":"1396271400","filename":"file5"},{"photo_id":"1396271397","filename":"file2"},{"photo_id":"1396271399","filename":"file4"},{"photo_id":"1396271395","filename":"file1"},{"photo_id":"1396271392","filename":"file0"},{"photo_id":"1396271398","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396271392":["hashtag1","hashtag2"]},{"1396271395":["hashtag1","hashtag2"]},{"1396271398":["hashtag1","hashtag2"]},{"1396271397":["hashtag1","hashtag2"]},{"1396271400":["hashtag1","hashtag2"]},{"1396271399":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396271392, 1396271395, 1396271398, 1396271397, 1396271400, 1396271399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.891807317733765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 17:59:03.752570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/11/image_26112025_14_11_39_2609.jpg', '/home/pi/Desktop/images/26112025/14/11/image_26112025_14_11_42_2656.jpg', '/home/pi/Desktop/images/26112025/14/12/image_26112025_14_12_51_4301.jpg', '/home/pi/Desktop/images/26112025/14/13/image_26112025_14_13_30_2614.jpg', '/home/pi/Desktop/images/26112025/14/13/image_26112025_14_13_39_1670.jpg', '/home/pi/Desktop/images/26112025/14/13/image_26112025_14_13_48_2800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/11/image_26112025_14_11_39_2609.jpg
/home/pi/Desktop/images/26112025/14/11/image_26112025_14_11_42_2656.jpg
/home/pi/Desktop/images/26112025/14/12/image_26112025_14_12_51_4301.jpg
/home/pi/Desktop/images/26112025/14/13/image_26112025_14_13_30_2614.jpg
/home/pi/Desktop/images/26112025/14/13/image_26112025_14_13_39_1670.jpg
/home/pi/Desktop/images/26112025/14/13/image_26112025_14_13_48_2800.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":["1396271497","1396271583","1396271724","1396271649","1396271535","1396271456"],"photo_ids_order":["1396271456","1396271497","1396271535","1396271583","1396271649","1396271724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/48ac2ec1c17e48c3b306a7faaa270030.jpg","text":"TemporaryFile(/tmp/multipartBody3517865131997594620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176404571,"filename":"image_26112025_14_11_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/26/b973e29a2cc31e873c9049338542bcfe.jpg","text":"TemporaryFile(/tmp/multipartBody2711053936630963626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176404571,"filename":"image_26112025_14_13_30_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/26/784b407867eec5b610bf3a94460f5cb6.jpg","text":"TemporaryFile(/tmp/multipartBody689859673394996386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176404571,"filename":"image_26112025_14_13_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/26/a3d85b1f4038c395a15a9df7218c6c66.jpg","text":"TemporaryFile(/tmp/multipartBody6659216297785791850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176404571,"filename":"image_26112025_14_13_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/26/931456bb7dac5c934c14df4de85fc4e7.jpg","text":"TemporaryFile(/tmp/multipartBody8696479452766187048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176404571,"filename":"image_26112025_14_12_51_4301.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2088caf1ea67efa6f9d39daadf2fbfc4.jpg","text":"TemporaryFile(/tmp/multipartBody7229613991883019500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176404571,"filename":"image_26112025_14_11_39_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396271535","file1":"1396271497","file0":"1396271456","file4":"1396271649","file5":"1396271724","file3":"1396271583"},"map_files_photo_id_array":[{"photo_id":"1396271724","filename":"file5"},{"photo_id":"1396271535","filename":"file2"},{"photo_id":"1396271649","filename":"file4"},{"photo_id":"1396271497","filename":"file1"},{"photo_id":"1396271456","filename":"file0"},{"photo_id":"1396271583","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396271497":["hashtag1","hashtag2"]},{"1396271583":["hashtag1","hashtag2"]},{"1396271724":["hashtag1","hashtag2"]},{"1396271649":["hashtag1","hashtag2"]},{"1396271535":["hashtag1","hashtag2"]},{"1396271456":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396271497, 1396271583, 1396271724, 1396271649, 1396271535, 1396271456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77995204925537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 17:59:42.686603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/14/image_26112025_14_14_24_2848.jpg', '/home/pi/Desktop/images/26112025/14/14/image_26112025_14_14_42_1605.jpg', '/home/pi/Desktop/images/26112025/14/16/image_26112025_14_16_04_1615.jpg', '/home/pi/Desktop/images/26112025/14/17/image_26112025_14_17_18_4082.jpg', '/home/pi/Desktop/images/26112025/14/17/image_26112025_14_17_20_1868.jpg', '/home/pi/Desktop/images/26112025/14/17/image_26112025_14_17_22_1617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/14/image_26112025_14_14_24_2848.jpg
/home/pi/Desktop/images/26112025/14/14/image_26112025_14_14_42_1605.jpg
/home/pi/Desktop/images/26112025/14/16/image_26112025_14_16_04_1615.jpg
/home/pi/Desktop/images/26112025/14/17/image_26112025_14_17_18_4082.jpg
/home/pi/Desktop/images/26112025/14/17/image_26112025_14_17_20_1868.jpg
/home/pi/Desktop/images/26112025/14/17/image_26112025_14_17_22_1617.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":["1396271968","1396272267","1396272333","1396272123","1396272194","1396272059"],"photo_ids_order":["1396271968","1396272059","1396272123","1396272194","1396272267","1396272333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/960a39689dbc9e27db6e6783d3be8f34.jpg","text":"TemporaryFile(/tmp/multipartBody769188491666351517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176443360,"filename":"image_26112025_14_14_24_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/26/c9cd5f742f2e73612b68b5a190aede23.jpg","text":"TemporaryFile(/tmp/multipartBody3026856491345312631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176443360,"filename":"image_26112025_14_17_20_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/26/7ea7da01a398140b7caddf7b6e47f67e.jpg","text":"TemporaryFile(/tmp/multipartBody2374326138260106471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176443360,"filename":"image_26112025_14_17_22_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/26/6d31ce0cbcd672e776b8e2774686470f.jpg","text":"TemporaryFile(/tmp/multipartBody4966564672791953374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176443360,"filename":"image_26112025_14_16_04_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/26/87f93f04e835fcee8fe85abad7cbfb6c.jpg","text":"TemporaryFile(/tmp/multipartBody1710737953080975481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176443360,"filename":"image_26112025_14_17_18_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/26/757ad8bede8d6df23517738bd68d4786.jpg","text":"TemporaryFile(/tmp/multipartBody3521791890264354227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176443360,"filename":"image_26112025_14_14_42_1605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396272123","file1":"1396272059","file0":"1396271968","file4":"1396272267","file5":"1396272333","file3":"1396272194"},"map_files_photo_id_array":[{"photo_id":"1396272333","filename":"file5"},{"photo_id":"1396272123","filename":"file2"},{"photo_id":"1396272267","filename":"file4"},{"photo_id":"1396272059","filename":"file1"},{"photo_id":"1396271968","filename":"file0"},{"photo_id":"1396272194","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396271968":["hashtag1","hashtag2"]},{"1396272267":["hashtag1","hashtag2"]},{"1396272333":["hashtag1","hashtag2"]},{"1396272123":["hashtag1","hashtag2"]},{"1396272194":["hashtag1","hashtag2"]},{"1396272059":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396271968, 1396272267, 1396272333, 1396272123, 1396272194, 1396272059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80134558677673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 18:00:21.852755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/17/image_26112025_14_17_34_1642.jpg', '/home/pi/Desktop/images/26112025/14/17/image_26112025_14_17_50_2724.jpg', '/home/pi/Desktop/images/26112025/14/17/image_26112025_14_17_54_3670.jpg', '/home/pi/Desktop/images/26112025/14/18/image_26112025_14_18_30_1747.jpg', '/home/pi/Desktop/images/26112025/14/18/image_26112025_14_18_41_1712.jpg', '/home/pi/Desktop/images/26112025/14/18/image_26112025_14_18_43_1574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/17/image_26112025_14_17_34_1642.jpg
/home/pi/Desktop/images/26112025/14/17/image_26112025_14_17_50_2724.jpg
/home/pi/Desktop/images/26112025/14/17/image_26112025_14_17_54_3670.jpg
/home/pi/Desktop/images/26112025/14/18/image_26112025_14_18_30_1747.jpg
/home/pi/Desktop/images/26112025/14/18/image_26112025_14_18_41_1712.jpg
/home/pi/Desktop/images/26112025/14/18/image_26112025_14_18_43_1574.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":["1396272376","1396272514","1396272378","1396272387","1396272447","1396272572"],"photo_ids_order":["1396272376","1396272378","1396272387","1396272447","1396272514","1396272572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e399cdbb56dfdde8ee528cf8ddf0a7dd.jpg","text":"TemporaryFile(/tmp/multipartBody4391403178199506921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176482532,"filename":"image_26112025_14_17_34_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/26/fd0af63eb43c6b57f9f66f28dc4f306e.jpg","text":"TemporaryFile(/tmp/multipartBody6867501693148870125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176482532,"filename":"image_26112025_14_18_41_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/26/91033acaec5dbfc4c72b5f128c9bb812.jpg","text":"TemporaryFile(/tmp/multipartBody7230275571382023786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176482532,"filename":"image_26112025_14_17_50_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/26/76791c28e6d4c246fab602c871056287.jpg","text":"TemporaryFile(/tmp/multipartBody2254421560485800873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176482532,"filename":"image_26112025_14_17_54_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/26/769c5590683f30c921a4150c0cd6283c.jpg","text":"TemporaryFile(/tmp/multipartBody2656922829734822123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176482532,"filename":"image_26112025_14_18_30_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/26/66de96c82b33e10657325d297bc8471f.jpg","text":"TemporaryFile(/tmp/multipartBody8709438315196604859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176482532,"filename":"image_26112025_14_18_43_1574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396272387","file1":"1396272378","file0":"1396272376","file4":"1396272514","file5":"1396272572","file3":"1396272447"},"map_files_photo_id_array":[{"photo_id":"1396272572","filename":"file5"},{"photo_id":"1396272387","filename":"file2"},{"photo_id":"1396272514","filename":"file4"},{"photo_id":"1396272378","filename":"file1"},{"photo_id":"1396272376","filename":"file0"},{"photo_id":"1396272447","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396272376":["hashtag1","hashtag2"]},{"1396272514":["hashtag1","hashtag2"]},{"1396272378":["hashtag1","hashtag2"]},{"1396272387":["hashtag1","hashtag2"]},{"1396272447":["hashtag1","hashtag2"]},{"1396272572":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396272376, 1396272514, 1396272378, 1396272387, 1396272447, 1396272572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37900161743164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:01:02.938050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/18/image_26112025_14_18_44_1745.jpg', '/home/pi/Desktop/images/26112025/14/18/image_26112025_14_18_46_1529.jpg', '/home/pi/Desktop/images/26112025/14/18/image_26112025_14_18_47_1606.jpg', '/home/pi/Desktop/images/26112025/14/18/image_26112025_14_18_53_2974.jpg', '/home/pi/Desktop/images/26112025/14/19/image_26112025_14_19_29_1496.jpg', '/home/pi/Desktop/images/26112025/14/20/image_26112025_14_20_25_1605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/18/image_26112025_14_18_44_1745.jpg
/home/pi/Desktop/images/26112025/14/18/image_26112025_14_18_46_1529.jpg
/home/pi/Desktop/images/26112025/14/18/image_26112025_14_18_47_1606.jpg
/home/pi/Desktop/images/26112025/14/18/image_26112025_14_18_53_2974.jpg
/home/pi/Desktop/images/26112025/14/19/image_26112025_14_19_29_1496.jpg
/home/pi/Desktop/images/26112025/14/20/image_26112025_14_20_25_1605.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.6943225860595703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 18:01:12.253708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/18/image_26112025_14_18_44_1745.jpg', '/home/pi/Desktop/images/26112025/14/18/image_26112025_14_18_46_1529.jpg', '/home/pi/Desktop/images/26112025/14/18/image_26112025_14_18_47_1606.jpg', '/home/pi/Desktop/images/26112025/14/18/image_26112025_14_18_53_2974.jpg', '/home/pi/Desktop/images/26112025/14/19/image_26112025_14_19_29_1496.jpg', '/home/pi/Desktop/images/26112025/14/20/image_26112025_14_20_25_1605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/18/image_26112025_14_18_44_1745.jpg
/home/pi/Desktop/images/26112025/14/18/image_26112025_14_18_46_1529.jpg
/home/pi/Desktop/images/26112025/14/18/image_26112025_14_18_47_1606.jpg
/home/pi/Desktop/images/26112025/14/18/image_26112025_14_18_53_2974.jpg
/home/pi/Desktop/images/26112025/14/19/image_26112025_14_19_29_1496.jpg
/home/pi/Desktop/images/26112025/14/20/image_26112025_14_20_25_1605.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":["1396272782","1396272776","1396272785","1396272770","1396272788","1396272749"],"photo_ids_order":["1396272749","1396272770","1396272776","1396272782","1396272785","1396272788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e0598f6fc2b3ba04c862fb4a47ea9438.jpg","text":"TemporaryFile(/tmp/multipartBody6389526210439388944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176532922,"filename":"image_26112025_14_18_53_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/26/fbdafed72bde48bcd192a12c27d7ce62.jpg","text":"TemporaryFile(/tmp/multipartBody9038355293007326612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176532922,"filename":"image_26112025_14_18_47_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8b54690e5abbbbe992a94fd9cdfbaaf5.jpg","text":"TemporaryFile(/tmp/multipartBody8951538627145935083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176532922,"filename":"image_26112025_14_19_29_1496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ca4e05a04b603ea009398051b499d2f0.jpg","text":"TemporaryFile(/tmp/multipartBody5736012400947573635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176532922,"filename":"image_26112025_14_18_46_1529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c1d881b81aba9ac703ad0b24745f0a46.jpg","text":"TemporaryFile(/tmp/multipartBody6234586871961831854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176532922,"filename":"image_26112025_14_20_25_1605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1dee52bc8f0f5a23bb815afcd006784f.jpg","text":"TemporaryFile(/tmp/multipartBody233935906753127692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176532922,"filename":"image_26112025_14_18_44_1745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396272776","file1":"1396272770","file0":"1396272749","file4":"1396272785","file5":"1396272788","file3":"1396272782"},"map_files_photo_id_array":[{"photo_id":"1396272788","filename":"file5"},{"photo_id":"1396272776","filename":"file2"},{"photo_id":"1396272785","filename":"file4"},{"photo_id":"1396272770","filename":"file1"},{"photo_id":"1396272749","filename":"file0"},{"photo_id":"1396272782","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396272782":["hashtag1","hashtag2"]},{"1396272776":["hashtag1","hashtag2"]},{"1396272785":["hashtag1","hashtag2"]},{"1396272770":["hashtag1","hashtag2"]},{"1396272788":["hashtag1","hashtag2"]},{"1396272749":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396272782, 1396272776, 1396272785, 1396272770, 1396272788, 1396272749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7745144367218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:02:02.891408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/20/image_26112025_14_20_54_3667.jpg', '/home/pi/Desktop/images/26112025/14/20/image_26112025_14_20_56_2518.jpg', '/home/pi/Desktop/images/26112025/14/20/image_26112025_14_20_59_2790.jpg', '/home/pi/Desktop/images/26112025/14/21/image_26112025_14_21_03_3687.jpg', '/home/pi/Desktop/images/26112025/14/21/image_26112025_14_21_21_3541.jpg', '/home/pi/Desktop/images/26112025/14/21/image_26112025_14_21_26_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/20/image_26112025_14_20_54_3667.jpg
/home/pi/Desktop/images/26112025/14/20/image_26112025_14_20_56_2518.jpg
/home/pi/Desktop/images/26112025/14/20/image_26112025_14_20_59_2790.jpg
/home/pi/Desktop/images/26112025/14/21/image_26112025_14_21_03_3687.jpg
/home/pi/Desktop/images/26112025/14/21/image_26112025_14_21_21_3541.jpg
/home/pi/Desktop/images/26112025/14/21/image_26112025_14_21_26_2726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396272856","1396272894","1396272819","1396272971","1396272965","1396272929"],"photo_ids_order":["1396272819","1396272856","1396272894","1396272929","1396272965","1396272971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/296f6ce06d9be0774845cb38b0e37fdc.jpg","text":"TemporaryFile(/tmp/multipartBody7216643486270168193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176583579,"filename":"image_26112025_14_20_56_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/26/e0a58c126bc86d4a143bf52c15f6d691.jpg","text":"TemporaryFile(/tmp/multipartBody9139083514185871203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176583579,"filename":"image_26112025_14_20_59_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/26/dcf9ef4e416cbe179beca76ca6e45ff8.jpg","text":"TemporaryFile(/tmp/multipartBody7910818907071254178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176583579,"filename":"image_26112025_14_20_54_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/26/7054f7669d378e8784e31ca6e5cd13c9.jpg","text":"TemporaryFile(/tmp/multipartBody7027848574367444186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176583579,"filename":"image_26112025_14_21_26_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/26/197fdccca2359401d418e67e1a9273fb.jpg","text":"TemporaryFile(/tmp/multipartBody4128422064225314288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176583579,"filename":"image_26112025_14_21_21_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/26/44b621d2f324034fbb7649c82225ee60.jpg","text":"TemporaryFile(/tmp/multipartBody3294689179593545583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176583579,"filename":"image_26112025_14_21_03_3687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396272894","file1":"1396272856","file0":"1396272819","file4":"1396272965","file5":"1396272971","file3":"1396272929"},"map_files_photo_id_array":[{"photo_id":"1396272971","filename":"file5"},{"photo_id":"1396272894","filename":"file2"},{"photo_id":"1396272965","filename":"file4"},{"photo_id":"1396272856","filename":"file1"},{"photo_id":"1396272819","filename":"file0"},{"photo_id":"1396272929","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396272856":["hashtag1","hashtag2"]},{"1396272894":["hashtag1","hashtag2"]},{"1396272819":["hashtag1","hashtag2"]},{"1396272971":["hashtag1","hashtag2"]},{"1396272965":["hashtag1","hashtag2"]},{"1396272929":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396272856, 1396272894, 1396272819, 1396272971, 1396272965, 1396272929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8896586894989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 18:02:42.422409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/21/image_26112025_14_21_30_3669.jpg', '/home/pi/Desktop/images/26112025/14/21/image_26112025_14_21_38_2532.jpg', '/home/pi/Desktop/images/26112025/14/21/image_26112025_14_21_47_3157.jpg', '/home/pi/Desktop/images/26112025/14/21/image_26112025_14_21_50_2600.jpg', '/home/pi/Desktop/images/26112025/14/22/image_26112025_14_22_26_2566.jpg', '/home/pi/Desktop/images/26112025/14/22/image_26112025_14_22_54_3631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/21/image_26112025_14_21_30_3669.jpg
/home/pi/Desktop/images/26112025/14/21/image_26112025_14_21_38_2532.jpg
/home/pi/Desktop/images/26112025/14/21/image_26112025_14_21_47_3157.jpg
/home/pi/Desktop/images/26112025/14/21/image_26112025_14_21_50_2600.jpg
/home/pi/Desktop/images/26112025/14/22/image_26112025_14_22_26_2566.jpg
/home/pi/Desktop/images/26112025/14/22/image_26112025_14_22_54_3631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396272979","1396273036","1396273033","1396273035","1396273034","1396273016"],"photo_ids_order":["1396272979","1396273016","1396273033","1396273034","1396273035","1396273036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4c02a1fcb95a8db3824e06c685f02fe1.jpg","text":"TemporaryFile(/tmp/multipartBody90650105682378087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176623101,"filename":"image_26112025_14_21_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/26/78c502f84e29a00fb0182c425baff75f.jpg","text":"TemporaryFile(/tmp/multipartBody2027865167245629914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176623101,"filename":"image_26112025_14_22_54_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/26/d45712ff016de0634c6a68fa61ec8a67.jpg","text":"TemporaryFile(/tmp/multipartBody7884285078909469424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176623101,"filename":"image_26112025_14_21_47_3157.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6ac03892ad80a4f5265010d594dc93ae.jpg","text":"TemporaryFile(/tmp/multipartBody8748040936837100317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176623101,"filename":"image_26112025_14_22_26_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/26/b210dc405eb956887eec69f56b7ea439.jpg","text":"TemporaryFile(/tmp/multipartBody8304291853285028182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176623101,"filename":"image_26112025_14_21_50_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/26/d20ac83f5fd1b3682468acac40883be4.jpg","text":"TemporaryFile(/tmp/multipartBody8495705340943555112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176623101,"filename":"image_26112025_14_21_38_2532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396273033","file1":"1396273016","file0":"1396272979","file4":"1396273035","file5":"1396273036","file3":"1396273034"},"map_files_photo_id_array":[{"photo_id":"1396273036","filename":"file5"},{"photo_id":"1396273033","filename":"file2"},{"photo_id":"1396273035","filename":"file4"},{"photo_id":"1396273016","filename":"file1"},{"photo_id":"1396272979","filename":"file0"},{"photo_id":"1396273034","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396272979":["hashtag1","hashtag2"]},{"1396273036":["hashtag1","hashtag2"]},{"1396273033":["hashtag1","hashtag2"]},{"1396273035":["hashtag1","hashtag2"]},{"1396273034":["hashtag1","hashtag2"]},{"1396273016":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396272979, 1396273036, 1396273033, 1396273035, 1396273034, 1396273016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.72207498550415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 18:03:22.601378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/22/image_26112025_14_22_59_2635.jpg', '/home/pi/Desktop/images/26112025/14/23/image_26112025_14_23_29_3556.jpg', '/home/pi/Desktop/images/26112025/14/23/image_26112025_14_23_53_3534.jpg', '/home/pi/Desktop/images/26112025/14/25/image_26112025_14_25_23_2782.jpg', '/home/pi/Desktop/images/26112025/14/26/image_26112025_14_26_19_2597.jpg', '/home/pi/Desktop/images/26112025/14/27/image_26112025_14_27_46_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/22/image_26112025_14_22_59_2635.jpg
/home/pi/Desktop/images/26112025/14/23/image_26112025_14_23_29_3556.jpg
/home/pi/Desktop/images/26112025/14/23/image_26112025_14_23_53_3534.jpg
/home/pi/Desktop/images/26112025/14/25/image_26112025_14_25_23_2782.jpg
/home/pi/Desktop/images/26112025/14/26/image_26112025_14_26_19_2597.jpg
/home/pi/Desktop/images/26112025/14/27/image_26112025_14_27_46_2592.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":["1396273081","1396273161","1396273164","1396273092","1396273131","1396273084"],"photo_ids_order":["1396273081","1396273084","1396273092","1396273131","1396273161","1396273164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/46bb0d04f868fd36c6d0c17ec1e16de4.jpg","text":"TemporaryFile(/tmp/multipartBody5894314668600663817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176663304,"filename":"image_26112025_14_22_59_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/26/e88ebb97d1241636018cabbc3f81d153.jpg","text":"TemporaryFile(/tmp/multipartBody8264516916592531935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176663304,"filename":"image_26112025_14_26_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/26/c800830326554aa223f8b17e5310fbf5.jpg","text":"TemporaryFile(/tmp/multipartBody2573054676476537687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176663304,"filename":"image_26112025_14_27_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/26/99a6a2488cad146d3e68d27f6625b818.jpg","text":"TemporaryFile(/tmp/multipartBody869299312053198515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176663304,"filename":"image_26112025_14_23_53_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/26/f8890cc7dad97b785ca052cd4e9b14f4.jpg","text":"TemporaryFile(/tmp/multipartBody5765091695089999529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176663304,"filename":"image_26112025_14_25_23_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/26/6ea4989d3eec45c56e868839b45af979.jpg","text":"TemporaryFile(/tmp/multipartBody2724565227337026668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176663304,"filename":"image_26112025_14_23_29_3556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396273092","file1":"1396273084","file0":"1396273081","file4":"1396273161","file5":"1396273164","file3":"1396273131"},"map_files_photo_id_array":[{"photo_id":"1396273164","filename":"file5"},{"photo_id":"1396273092","filename":"file2"},{"photo_id":"1396273161","filename":"file4"},{"photo_id":"1396273084","filename":"file1"},{"photo_id":"1396273081","filename":"file0"},{"photo_id":"1396273131","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396273081":["hashtag1","hashtag2"]},{"1396273161":["hashtag1","hashtag2"]},{"1396273164":["hashtag1","hashtag2"]},{"1396273092":["hashtag1","hashtag2"]},{"1396273131":["hashtag1","hashtag2"]},{"1396273084":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396273081, 1396273161, 1396273164, 1396273092, 1396273131, 1396273084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.817973375320435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:04:02.686452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/28/image_26112025_14_28_56_1614.jpg', '/home/pi/Desktop/images/26112025/14/32/image_26112025_14_32_22_2544.jpg', '/home/pi/Desktop/images/26112025/14/32/image_26112025_14_32_35_3634.jpg', '/home/pi/Desktop/images/26112025/14/32/image_26112025_14_32_46_2516.jpg', '/home/pi/Desktop/images/26112025/14/33/image_26112025_14_33_43_2498.jpg', '/home/pi/Desktop/images/26112025/14/34/image_26112025_14_34_11_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/28/image_26112025_14_28_56_1614.jpg
/home/pi/Desktop/images/26112025/14/32/image_26112025_14_32_22_2544.jpg
/home/pi/Desktop/images/26112025/14/32/image_26112025_14_32_35_3634.jpg
/home/pi/Desktop/images/26112025/14/32/image_26112025_14_32_46_2516.jpg
/home/pi/Desktop/images/26112025/14/33/image_26112025_14_33_43_2498.jpg
/home/pi/Desktop/images/26112025/14/34/image_26112025_14_34_11_3694.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":["1396273174","1396273170","1396273167","1396273172","1396273166","1396273177"],"photo_ids_order":["1396273166","1396273167","1396273170","1396273172","1396273174","1396273177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/43916e476b47bd1d27748351b29fc493.jpg","text":"TemporaryFile(/tmp/multipartBody8042056163308061879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176703470,"filename":"image_26112025_14_33_43_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/26/c2f1539a7d0d8646d3269bed674a19e7.jpg","text":"TemporaryFile(/tmp/multipartBody56602366041205668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176703470,"filename":"image_26112025_14_32_35_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/26/84b4afc6bc07045869b35a47206424c9.jpg","text":"TemporaryFile(/tmp/multipartBody3082048512894160932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176703470,"filename":"image_26112025_14_32_22_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/26/6c203befff5160fbe1c7bab03b7d32f1.jpg","text":"TemporaryFile(/tmp/multipartBody3067725711692321912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176703470,"filename":"image_26112025_14_32_46_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/26/81f53e0437823c8d8102967fd009de2b.jpg","text":"TemporaryFile(/tmp/multipartBody395946799522636043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176703470,"filename":"image_26112025_14_28_56_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8982b9673bb3e635c5b74cd5028acb31.jpg","text":"TemporaryFile(/tmp/multipartBody6236035936109033120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176703470,"filename":"image_26112025_14_34_11_3694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396273170","file1":"1396273167","file0":"1396273166","file4":"1396273174","file5":"1396273177","file3":"1396273172"},"map_files_photo_id_array":[{"photo_id":"1396273177","filename":"file5"},{"photo_id":"1396273170","filename":"file2"},{"photo_id":"1396273174","filename":"file4"},{"photo_id":"1396273167","filename":"file1"},{"photo_id":"1396273166","filename":"file0"},{"photo_id":"1396273172","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396273174":["hashtag1","hashtag2"]},{"1396273170":["hashtag1","hashtag2"]},{"1396273167":["hashtag1","hashtag2"]},{"1396273172":["hashtag1","hashtag2"]},{"1396273166":["hashtag1","hashtag2"]},{"1396273177":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396273174, 1396273170, 1396273167, 1396273172, 1396273166, 1396273177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54437232017517 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 18:04:41.876701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/35/image_26112025_14_35_55_2706.jpg', '/home/pi/Desktop/images/26112025/14/35/image_26112025_14_35_58_2524.jpg', '/home/pi/Desktop/images/26112025/14/36/image_26112025_14_36_01_2860.jpg', '/home/pi/Desktop/images/26112025/14/36/image_26112025_14_36_04_3543.jpg', '/home/pi/Desktop/images/26112025/14/36/image_26112025_14_36_25_3678.jpg', '/home/pi/Desktop/images/26112025/14/37/image_26112025_14_37_28_3521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/35/image_26112025_14_35_55_2706.jpg
/home/pi/Desktop/images/26112025/14/35/image_26112025_14_35_58_2524.jpg
/home/pi/Desktop/images/26112025/14/36/image_26112025_14_36_01_2860.jpg
/home/pi/Desktop/images/26112025/14/36/image_26112025_14_36_04_3543.jpg
/home/pi/Desktop/images/26112025/14/36/image_26112025_14_36_25_3678.jpg
/home/pi/Desktop/images/26112025/14/37/image_26112025_14_37_28_3521.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":["1396273197","1396273221","1396273196","1396273259","1396273195","1396273186"],"photo_ids_order":["1396273186","1396273195","1396273196","1396273197","1396273221","1396273259"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7e93a5a0fc16bed0ca4bf360b503b8ba.jpg","text":"TemporaryFile(/tmp/multipartBody1452427416325643286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176742559,"filename":"image_26112025_14_36_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/26/13c3f64258e7025727a71382511f260b.jpg","text":"TemporaryFile(/tmp/multipartBody2787682902237127114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176742559,"filename":"image_26112025_14_36_25_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/26/261d25624562ccfdf44098b2ead5c83c.jpg","text":"TemporaryFile(/tmp/multipartBody8691567653965757183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176742559,"filename":"image_26112025_14_36_01_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/26/23b18f1dbd7c7462555b88122b2e5aa4.jpg","text":"TemporaryFile(/tmp/multipartBody4737493375413557790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176742559,"filename":"image_26112025_14_37_28_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/26/577de77a5d26599d3423804eb13d7732.jpg","text":"TemporaryFile(/tmp/multipartBody1755418007181863809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176742559,"filename":"image_26112025_14_35_58_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/26/be303a580b30a1341088e2879b914c10.jpg","text":"TemporaryFile(/tmp/multipartBody9085233396363894390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176742559,"filename":"image_26112025_14_35_55_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396273196","file1":"1396273195","file0":"1396273186","file4":"1396273221","file5":"1396273259","file3":"1396273197"},"map_files_photo_id_array":[{"photo_id":"1396273259","filename":"file5"},{"photo_id":"1396273196","filename":"file2"},{"photo_id":"1396273221","filename":"file4"},{"photo_id":"1396273195","filename":"file1"},{"photo_id":"1396273186","filename":"file0"},{"photo_id":"1396273197","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396273197":["hashtag1","hashtag2"]},{"1396273221":["hashtag1","hashtag2"]},{"1396273196":["hashtag1","hashtag2"]},{"1396273259":["hashtag1","hashtag2"]},{"1396273195":["hashtag1","hashtag2"]},{"1396273186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396273197, 1396273221, 1396273196, 1396273259, 1396273195, 1396273186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4310507774353 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 18:05:22.086454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/37/image_26112025_14_37_34_3010.jpg', '/home/pi/Desktop/images/26112025/14/38/image_26112025_14_38_34_2653.jpg', '/home/pi/Desktop/images/26112025/14/38/image_26112025_14_38_37_2594.jpg', '/home/pi/Desktop/images/26112025/14/38/image_26112025_14_38_58_3503.jpg', '/home/pi/Desktop/images/26112025/14/39/image_26112025_14_39_30_2606.jpg', '/home/pi/Desktop/images/26112025/14/42/image_26112025_14_42_07_3749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/37/image_26112025_14_37_34_3010.jpg
/home/pi/Desktop/images/26112025/14/38/image_26112025_14_38_34_2653.jpg
/home/pi/Desktop/images/26112025/14/38/image_26112025_14_38_37_2594.jpg
/home/pi/Desktop/images/26112025/14/38/image_26112025_14_38_58_3503.jpg
/home/pi/Desktop/images/26112025/14/39/image_26112025_14_39_30_2606.jpg
/home/pi/Desktop/images/26112025/14/42/image_26112025_14_42_07_3749.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":["1396273507","1396273714","1396273407","1396273643","1396273445","1396273573"],"photo_ids_order":["1396273407","1396273445","1396273507","1396273573","1396273643","1396273714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/201b67a2f7775e7bfc96f756c4074edf.jpg","text":"TemporaryFile(/tmp/multipartBody1802055091709923157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176782767,"filename":"image_26112025_14_38_37_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/26/dca139fcd3875bd6354091185a4ca024.jpg","text":"TemporaryFile(/tmp/multipartBody4285375795958538795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176782767,"filename":"image_26112025_14_42_07_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/26/86db53ed0af109d94eca007ffaabb6b1.jpg","text":"TemporaryFile(/tmp/multipartBody8265828067935280967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176782767,"filename":"image_26112025_14_37_34_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/26/96ce34e0de9332b0660af62a2edd9dbc.jpg","text":"TemporaryFile(/tmp/multipartBody8291170102769232553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176782767,"filename":"image_26112025_14_39_30_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/26/e24430d239aaa490d4c5ea006295dce2.jpg","text":"TemporaryFile(/tmp/multipartBody4053064223195938493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176782767,"filename":"image_26112025_14_38_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/26/4d313d532bb732a3aadc2d5f02ab9cbd.jpg","text":"TemporaryFile(/tmp/multipartBody6793053185596896915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176782767,"filename":"image_26112025_14_38_58_3503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396273507","file1":"1396273445","file0":"1396273407","file4":"1396273643","file5":"1396273714","file3":"1396273573"},"map_files_photo_id_array":[{"photo_id":"1396273714","filename":"file5"},{"photo_id":"1396273507","filename":"file2"},{"photo_id":"1396273643","filename":"file4"},{"photo_id":"1396273445","filename":"file1"},{"photo_id":"1396273407","filename":"file0"},{"photo_id":"1396273573","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396273507":["hashtag1","hashtag2"]},{"1396273714":["hashtag1","hashtag2"]},{"1396273407":["hashtag1","hashtag2"]},{"1396273643":["hashtag1","hashtag2"]},{"1396273445":["hashtag1","hashtag2"]},{"1396273573":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396273507, 1396273714, 1396273407, 1396273643, 1396273445, 1396273573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17250609397888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:06:02.695879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/42/image_26112025_14_42_30_2602.jpg', '/home/pi/Desktop/images/26112025/14/43/image_26112025_14_43_25_2844.jpg', '/home/pi/Desktop/images/26112025/14/45/image_26112025_14_45_21_1530.jpg', '/home/pi/Desktop/images/26112025/14/47/image_26112025_14_47_04_1538.jpg', '/home/pi/Desktop/images/26112025/14/47/image_26112025_14_47_48_29125.jpg', '/home/pi/Desktop/images/26112025/14/47/image_26112025_14_47_56_1566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/42/image_26112025_14_42_30_2602.jpg
/home/pi/Desktop/images/26112025/14/43/image_26112025_14_43_25_2844.jpg
/home/pi/Desktop/images/26112025/14/45/image_26112025_14_45_21_1530.jpg
/home/pi/Desktop/images/26112025/14/47/image_26112025_14_47_04_1538.jpg
/home/pi/Desktop/images/26112025/14/47/image_26112025_14_47_48_29125.jpg
/home/pi/Desktop/images/26112025/14/47/image_26112025_14_47_56_1566.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":["1396274166","1396274005","1396274147","1396274162","1396274077","1396274113"],"photo_ids_order":["1396274005","1396274077","1396274113","1396274147","1396274162","1396274166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7bb73a8d60ae996050873738366f7175.jpg","text":"TemporaryFile(/tmp/multipartBody106724263422911003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176823432,"filename":"image_26112025_14_47_56_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/26/561baedf7e78e189caf2a52116091572.jpg","text":"TemporaryFile(/tmp/multipartBody5743317463156686108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176823432,"filename":"image_26112025_14_42_30_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/26/c6ffa7f0bcc6146cf018a397b9197ad4.jpg","text":"TemporaryFile(/tmp/multipartBody3822409334596201006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176823432,"filename":"image_26112025_14_47_04_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/26/c7ca62b5776ba65a0af66d0697060b78.jpg","text":"TemporaryFile(/tmp/multipartBody7472389142329787735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176823432,"filename":"image_26112025_14_47_48_29125.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8cb3063e3e88e71bc9239cbdf69ad4ab.jpg","text":"TemporaryFile(/tmp/multipartBody3956326003099505417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176823432,"filename":"image_26112025_14_43_25_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/26/911f43aff7bb4e7397bd20fb8d20b460.jpg","text":"TemporaryFile(/tmp/multipartBody6133480944032698999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176823432,"filename":"image_26112025_14_45_21_1530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396274113","file1":"1396274077","file0":"1396274005","file4":"1396274162","file5":"1396274166","file3":"1396274147"},"map_files_photo_id_array":[{"photo_id":"1396274166","filename":"file5"},{"photo_id":"1396274113","filename":"file2"},{"photo_id":"1396274162","filename":"file4"},{"photo_id":"1396274077","filename":"file1"},{"photo_id":"1396274005","filename":"file0"},{"photo_id":"1396274147","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396274166":["hashtag1","hashtag2"]},{"1396274005":["hashtag1","hashtag2"]},{"1396274147":["hashtag1","hashtag2"]},{"1396274162":["hashtag1","hashtag2"]},{"1396274077":["hashtag1","hashtag2"]},{"1396274113":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396274166, 1396274005, 1396274147, 1396274162, 1396274077, 1396274113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.225990772247314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 18:06:42.286758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/47/image_26112025_14_47_57_1732.jpg', '/home/pi/Desktop/images/26112025/14/47/image_26112025_14_47_59_1767.jpg', '/home/pi/Desktop/images/26112025/14/48/image_26112025_14_48_03_1744.jpg', '/home/pi/Desktop/images/26112025/14/48/image_26112025_14_48_04_1760.jpg', '/home/pi/Desktop/images/26112025/14/48/image_26112025_14_48_06_1666.jpg', '/home/pi/Desktop/images/26112025/14/48/image_26112025_14_48_08_1651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/47/image_26112025_14_47_57_1732.jpg
/home/pi/Desktop/images/26112025/14/47/image_26112025_14_47_59_1767.jpg
/home/pi/Desktop/images/26112025/14/48/image_26112025_14_48_03_1744.jpg
/home/pi/Desktop/images/26112025/14/48/image_26112025_14_48_04_1760.jpg
/home/pi/Desktop/images/26112025/14/48/image_26112025_14_48_06_1666.jpg
/home/pi/Desktop/images/26112025/14/48/image_26112025_14_48_08_1651.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":["1396274480","1396274387","1396274252","1396274321","1396274422","1396274431"],"photo_ids_order":["1396274252","1396274321","1396274387","1396274422","1396274431","1396274480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/07049c1cc4c7031087380c67e4f4432b.jpg","text":"TemporaryFile(/tmp/multipartBody3413863269854328299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176862968,"filename":"image_26112025_14_48_08_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/26/c72df29c0a31fcc54d0b448436c0d01e.jpg","text":"TemporaryFile(/tmp/multipartBody1982697876405303330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176862968,"filename":"image_26112025_14_48_03_1744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c2789dac94332731cb89b702abf7b9c8.jpg","text":"TemporaryFile(/tmp/multipartBody8869235494758556543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176862968,"filename":"image_26112025_14_47_57_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/26/476621de512b003deb8cd8a69c7b173e.jpg","text":"TemporaryFile(/tmp/multipartBody6840402066586509699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176862968,"filename":"image_26112025_14_47_59_1767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0b9ecc876faacf8264beb7af2a970b9c.jpg","text":"TemporaryFile(/tmp/multipartBody5674662271353134707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176862968,"filename":"image_26112025_14_48_04_1760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/74eca8988e6440197e47c6210aa9be6a.jpg","text":"TemporaryFile(/tmp/multipartBody7022240897938205663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176862968,"filename":"image_26112025_14_48_06_1666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396274387","file1":"1396274321","file0":"1396274252","file4":"1396274431","file5":"1396274480","file3":"1396274422"},"map_files_photo_id_array":[{"photo_id":"1396274480","filename":"file5"},{"photo_id":"1396274387","filename":"file2"},{"photo_id":"1396274431","filename":"file4"},{"photo_id":"1396274321","filename":"file1"},{"photo_id":"1396274252","filename":"file0"},{"photo_id":"1396274422","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396274480":["hashtag1","hashtag2"]},{"1396274387":["hashtag1","hashtag2"]},{"1396274252":["hashtag1","hashtag2"]},{"1396274321":["hashtag1","hashtag2"]},{"1396274422":["hashtag1","hashtag2"]},{"1396274431":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396274480, 1396274387, 1396274252, 1396274321, 1396274422, 1396274431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35185718536377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 18:07:22.441427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/48/image_26112025_14_48_17_7762.jpg', '/home/pi/Desktop/images/26112025/14/50/image_26112025_14_50_08_3018.jpg', '/home/pi/Desktop/images/26112025/14/50/image_26112025_14_50_21_12879.jpg', '/home/pi/Desktop/images/26112025/14/50/image_26112025_14_50_24_1644.jpg', '/home/pi/Desktop/images/26112025/14/50/image_26112025_14_50_44_18900.jpg', '/home/pi/Desktop/images/26112025/14/53/image_26112025_14_53_07_3018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/48/image_26112025_14_48_17_7762.jpg
/home/pi/Desktop/images/26112025/14/50/image_26112025_14_50_08_3018.jpg
/home/pi/Desktop/images/26112025/14/50/image_26112025_14_50_21_12879.jpg
/home/pi/Desktop/images/26112025/14/50/image_26112025_14_50_24_1644.jpg
/home/pi/Desktop/images/26112025/14/50/image_26112025_14_50_44_18900.jpg
/home/pi/Desktop/images/26112025/14/53/image_26112025_14_53_07_3018.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":["1396274527","1396274520","1396274514","1396274517","1396274522","1396274524"],"photo_ids_order":["1396274514","1396274517","1396274520","1396274522","1396274524","1396274527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2c9fb16bb2e05e20de6412acc0961d00.jpg","text":"TemporaryFile(/tmp/multipartBody5757071554039332969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176903101,"filename":"image_26112025_14_53_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/26/0dcabe7a08da2b329bc8d40f5ae82c30.jpg","text":"TemporaryFile(/tmp/multipartBody3374337998819205677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176903101,"filename":"image_26112025_14_50_21_12879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aedf857f71cf21ec88386ffa41883b1d.jpg","text":"TemporaryFile(/tmp/multipartBody5977280158286775027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176903101,"filename":"image_26112025_14_48_17_7762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b12833381ef742de87f41cf664bea23a.jpg","text":"TemporaryFile(/tmp/multipartBody3020723473254218734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176903101,"filename":"image_26112025_14_50_08_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/26/1e93518a219b547b70c4661f2834e5e0.jpg","text":"TemporaryFile(/tmp/multipartBody4696824237996140591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176903101,"filename":"image_26112025_14_50_24_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c7f7dc5d0a3674e7373b3e6ef61c090d.jpg","text":"TemporaryFile(/tmp/multipartBody8367807824182031334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176903101,"filename":"image_26112025_14_50_44_18900.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396274520","file1":"1396274517","file0":"1396274514","file4":"1396274524","file5":"1396274527","file3":"1396274522"},"map_files_photo_id_array":[{"photo_id":"1396274527","filename":"file5"},{"photo_id":"1396274520","filename":"file2"},{"photo_id":"1396274524","filename":"file4"},{"photo_id":"1396274517","filename":"file1"},{"photo_id":"1396274514","filename":"file0"},{"photo_id":"1396274522","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396274527":["hashtag1","hashtag2"]},{"1396274520":["hashtag1","hashtag2"]},{"1396274514":["hashtag1","hashtag2"]},{"1396274517":["hashtag1","hashtag2"]},{"1396274522":["hashtag1","hashtag2"]},{"1396274524":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396274527, 1396274520, 1396274514, 1396274517, 1396274522, 1396274524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53612422943115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:08:03.154155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/54/image_26112025_14_54_40_2636.jpg', '/home/pi/Desktop/images/26112025/14/55/image_26112025_14_55_28_2644.jpg', '/home/pi/Desktop/images/26112025/14/56/image_26112025_14_56_28_2783.jpg', '/home/pi/Desktop/images/26112025/14/56/image_26112025_14_56_40_3511.jpg', '/home/pi/Desktop/images/26112025/14/57/image_26112025_14_57_11_1490.jpg', '/home/pi/Desktop/images/26112025/14/57/image_26112025_14_57_34_2551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/54/image_26112025_14_54_40_2636.jpg
/home/pi/Desktop/images/26112025/14/55/image_26112025_14_55_28_2644.jpg
/home/pi/Desktop/images/26112025/14/56/image_26112025_14_56_28_2783.jpg
/home/pi/Desktop/images/26112025/14/56/image_26112025_14_56_40_3511.jpg
/home/pi/Desktop/images/26112025/14/57/image_26112025_14_57_11_1490.jpg
/home/pi/Desktop/images/26112025/14/57/image_26112025_14_57_34_2551.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":["1396274565","1396274568","1396274567","1396274566","1396274563","1396274557"],"photo_ids_order":["1396274557","1396274563","1396274565","1396274566","1396274567","1396274568"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dccd66134412a4cfdf77b67782e4898b.jpg","text":"TemporaryFile(/tmp/multipartBody2620593006247998407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176943869,"filename":"image_26112025_14_56_28_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/26/137adc15b823c3a54cf6580802d585c1.jpg","text":"TemporaryFile(/tmp/multipartBody8260605172760292922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176943869,"filename":"image_26112025_14_57_34_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/26/af09f3db60036e573c3ab2b90dea74c7.jpg","text":"TemporaryFile(/tmp/multipartBody3082144474514355037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176943869,"filename":"image_26112025_14_57_11_1490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/37956050b6561c3bea586b0ebf3b422c.jpg","text":"TemporaryFile(/tmp/multipartBody1540530609714178291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176943869,"filename":"image_26112025_14_56_40_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/26/ae941fe334266b6a8dc76745cd8e4a78.jpg","text":"TemporaryFile(/tmp/multipartBody1761400686982012862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176943869,"filename":"image_26112025_14_55_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/26/3a0e4b242c43dbeece0d8b7b07474269.jpg","text":"TemporaryFile(/tmp/multipartBody8717631246809953169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176943869,"filename":"image_26112025_14_54_40_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396274565","file1":"1396274563","file0":"1396274557","file4":"1396274567","file5":"1396274568","file3":"1396274566"},"map_files_photo_id_array":[{"photo_id":"1396274568","filename":"file5"},{"photo_id":"1396274565","filename":"file2"},{"photo_id":"1396274567","filename":"file4"},{"photo_id":"1396274563","filename":"file1"},{"photo_id":"1396274557","filename":"file0"},{"photo_id":"1396274566","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396274565":["hashtag1","hashtag2"]},{"1396274568":["hashtag1","hashtag2"]},{"1396274567":["hashtag1","hashtag2"]},{"1396274566":["hashtag1","hashtag2"]},{"1396274563":["hashtag1","hashtag2"]},{"1396274557":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396274565, 1396274568, 1396274567, 1396274566, 1396274563, 1396274557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.95363140106201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 18:08:42.715618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/14/57/image_26112025_14_57_47_3613.jpg', '/home/pi/Desktop/images/26112025/14/59/image_26112025_14_59_52_2682.jpg', '/home/pi/Desktop/images/26112025/15/01/image_26112025_15_01_59_1601.jpg', '/home/pi/Desktop/images/26112025/15/02/image_26112025_15_02_11_1636.jpg', '/home/pi/Desktop/images/26112025/15/02/image_26112025_15_02_19_1655.jpg', '/home/pi/Desktop/images/26112025/15/02/image_26112025_15_02_43_1621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/14/57/image_26112025_14_57_47_3613.jpg
/home/pi/Desktop/images/26112025/14/59/image_26112025_14_59_52_2682.jpg
/home/pi/Desktop/images/26112025/15/01/image_26112025_15_01_59_1601.jpg
/home/pi/Desktop/images/26112025/15/02/image_26112025_15_02_11_1636.jpg
/home/pi/Desktop/images/26112025/15/02/image_26112025_15_02_19_1655.jpg
/home/pi/Desktop/images/26112025/15/02/image_26112025_15_02_43_1621.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":["1396274574","1396274591","1396274576","1396274579","1396274578","1396274581"],"photo_ids_order":["1396274574","1396274576","1396274578","1396274579","1396274581","1396274591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9bc27f206cd76d721ef04cee0b4f6520.jpg","text":"TemporaryFile(/tmp/multipartBody2232406958751167944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176983372,"filename":"image_26112025_14_57_47_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/26/17af8783e0569324165db43a7c33210b.jpg","text":"TemporaryFile(/tmp/multipartBody2187327482058881097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176983372,"filename":"image_26112025_15_02_43_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/26/4de672ff5cfa5e2e8b02c6ede4ac6f89.jpg","text":"TemporaryFile(/tmp/multipartBody8281506853163855687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176983372,"filename":"image_26112025_14_59_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/26/8fb08fb65bb18cd24335a533a5512c1e.jpg","text":"TemporaryFile(/tmp/multipartBody5824901381307307121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176983372,"filename":"image_26112025_15_02_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/26/8297e5b89a97e95517a267d70a8d9d66.jpg","text":"TemporaryFile(/tmp/multipartBody3009780806017825442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176983372,"filename":"image_26112025_15_01_59_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/26/935354bba703f49a57402513d1653b12.jpg","text":"TemporaryFile(/tmp/multipartBody5282121928362245109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764176983372,"filename":"image_26112025_15_02_19_1655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396274578","file1":"1396274576","file0":"1396274574","file4":"1396274581","file5":"1396274591","file3":"1396274579"},"map_files_photo_id_array":[{"photo_id":"1396274591","filename":"file5"},{"photo_id":"1396274578","filename":"file2"},{"photo_id":"1396274581","filename":"file4"},{"photo_id":"1396274576","filename":"file1"},{"photo_id":"1396274574","filename":"file0"},{"photo_id":"1396274579","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396274574":["hashtag1","hashtag2"]},{"1396274591":["hashtag1","hashtag2"]},{"1396274576":["hashtag1","hashtag2"]},{"1396274579":["hashtag1","hashtag2"]},{"1396274578":["hashtag1","hashtag2"]},{"1396274581":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396274574, 1396274591, 1396274576, 1396274579, 1396274578, 1396274581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.97765374183655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 18:09:21.936268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/15/02/image_26112025_15_02_56_1525.jpg', '/home/pi/Desktop/images/26112025/15/04/image_26112025_15_04_26_3531.jpg', '/home/pi/Desktop/images/26112025/15/04/image_26112025_15_04_37_1652.jpg', '/home/pi/Desktop/images/26112025/15/05/image_26112025_15_05_13_3569.jpg', '/home/pi/Desktop/images/26112025/15/05/image_26112025_15_05_37_3566.jpg', '/home/pi/Desktop/images/26112025/15/06/image_26112025_15_06_13_8975.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/15/02/image_26112025_15_02_56_1525.jpg
/home/pi/Desktop/images/26112025/15/04/image_26112025_15_04_26_3531.jpg
/home/pi/Desktop/images/26112025/15/04/image_26112025_15_04_37_1652.jpg
/home/pi/Desktop/images/26112025/15/05/image_26112025_15_05_13_3569.jpg
/home/pi/Desktop/images/26112025/15/05/image_26112025_15_05_37_3566.jpg
/home/pi/Desktop/images/26112025/15/06/image_26112025_15_06_13_8975.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":["1396274616","1396274618","1396274612","1396274621","1396274609","1396274614"],"photo_ids_order":["1396274609","1396274612","1396274614","1396274616","1396274618","1396274621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3d1628c3d04a6cfd6e51f559555033da.jpg","text":"TemporaryFile(/tmp/multipartBody6704479901566140734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177022590,"filename":"image_26112025_15_05_13_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/26/84e7c27823178733eafb28db45154aae.jpg","text":"TemporaryFile(/tmp/multipartBody1397260905942411500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177022590,"filename":"image_26112025_15_05_37_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/26/84ed172776b0c95c26eba0e5a1530769.jpg","text":"TemporaryFile(/tmp/multipartBody3115208166000662099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177022590,"filename":"image_26112025_15_04_26_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/26/64598fda5b6bf70fc52206836de4cee2.jpg","text":"TemporaryFile(/tmp/multipartBody9136176067534574189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177022590,"filename":"image_26112025_15_06_13_8975.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b2a7ec53863543a38c27a0ceb4b724dd.jpg","text":"TemporaryFile(/tmp/multipartBody6753581055011847431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177022590,"filename":"image_26112025_15_02_56_1525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b541f42b9db3de3bfa077418c2be32fd.jpg","text":"TemporaryFile(/tmp/multipartBody791176456632688600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177022590,"filename":"image_26112025_15_04_37_1652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396274614","file1":"1396274612","file0":"1396274609","file4":"1396274618","file5":"1396274621","file3":"1396274616"},"map_files_photo_id_array":[{"photo_id":"1396274621","filename":"file5"},{"photo_id":"1396274614","filename":"file2"},{"photo_id":"1396274618","filename":"file4"},{"photo_id":"1396274612","filename":"file1"},{"photo_id":"1396274609","filename":"file0"},{"photo_id":"1396274616","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396274616":["hashtag1","hashtag2"]},{"1396274618":["hashtag1","hashtag2"]},{"1396274612":["hashtag1","hashtag2"]},{"1396274621":["hashtag1","hashtag2"]},{"1396274609":["hashtag1","hashtag2"]},{"1396274614":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396274616, 1396274618, 1396274612, 1396274621, 1396274609, 1396274614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56303429603577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:10:02.500236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/15/07/image_26112025_15_07_10_11833.jpg', '/home/pi/Desktop/images/26112025/15/11/image_26112025_15_11_16_2530.jpg', '/home/pi/Desktop/images/26112025/15/11/image_26112025_15_11_39_17013.jpg', '/home/pi/Desktop/images/26112025/15/11/image_26112025_15_11_53_1572.jpg', '/home/pi/Desktop/images/26112025/15/12/image_26112025_15_12_32_10837.jpg', '/home/pi/Desktop/images/26112025/15/12/image_26112025_15_12_50_1576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/15/07/image_26112025_15_07_10_11833.jpg
/home/pi/Desktop/images/26112025/15/11/image_26112025_15_11_16_2530.jpg
/home/pi/Desktop/images/26112025/15/11/image_26112025_15_11_39_17013.jpg
/home/pi/Desktop/images/26112025/15/11/image_26112025_15_11_53_1572.jpg
/home/pi/Desktop/images/26112025/15/12/image_26112025_15_12_32_10837.jpg
/home/pi/Desktop/images/26112025/15/12/image_26112025_15_12_50_1576.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":["1396274781","1396274763","1396274777","1396274758","1396274752","1396274761"],"photo_ids_order":["1396274752","1396274758","1396274761","1396274763","1396274777","1396274781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6b8794a9806f6e864704ba7a1312bce8.jpg","text":"TemporaryFile(/tmp/multipartBody6023005897726926259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177063178,"filename":"image_26112025_15_12_50_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/26/ed6ec0e275ad6c853070cee087ecbc76.jpg","text":"TemporaryFile(/tmp/multipartBody7543661598588760073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177063178,"filename":"image_26112025_15_11_53_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/26/90f0e4cc1e623aee151985445cbdb004.jpg","text":"TemporaryFile(/tmp/multipartBody5539069228892970813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177063178,"filename":"image_26112025_15_12_32_10837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a0df1f485c22ca37118dd4f49d8a6cf8.jpg","text":"TemporaryFile(/tmp/multipartBody7297150818509828768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177063178,"filename":"image_26112025_15_11_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/26/12f0cb5bcfc6e38b3c48a43ac16eda1e.jpg","text":"TemporaryFile(/tmp/multipartBody8044300412362548778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177063178,"filename":"image_26112025_15_07_10_11833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dad37084d2cc13b84289be985566de15.jpg","text":"TemporaryFile(/tmp/multipartBody7948019022396482491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177063178,"filename":"image_26112025_15_11_39_17013.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396274761","file1":"1396274758","file0":"1396274752","file4":"1396274777","file5":"1396274781","file3":"1396274763"},"map_files_photo_id_array":[{"photo_id":"1396274781","filename":"file5"},{"photo_id":"1396274761","filename":"file2"},{"photo_id":"1396274777","filename":"file4"},{"photo_id":"1396274758","filename":"file1"},{"photo_id":"1396274752","filename":"file0"},{"photo_id":"1396274763","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396274781":["hashtag1","hashtag2"]},{"1396274763":["hashtag1","hashtag2"]},{"1396274777":["hashtag1","hashtag2"]},{"1396274758":["hashtag1","hashtag2"]},{"1396274752":["hashtag1","hashtag2"]},{"1396274761":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396274781, 1396274763, 1396274777, 1396274758, 1396274752, 1396274761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33135747909546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 18:10:42.109314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/15/13/image_26112025_15_13_01_6612.jpg', '/home/pi/Desktop/images/26112025/15/13/image_26112025_15_13_05_1547.jpg', '/home/pi/Desktop/images/26112025/15/13/image_26112025_15_13_14_1499.jpg', '/home/pi/Desktop/images/26112025/15/13/image_26112025_15_13_48_21706.jpg', '/home/pi/Desktop/images/26112025/15/13/image_26112025_15_13_53_1654.jpg', '/home/pi/Desktop/images/26112025/15/13/image_26112025_15_13_59_6785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/15/13/image_26112025_15_13_01_6612.jpg
/home/pi/Desktop/images/26112025/15/13/image_26112025_15_13_05_1547.jpg
/home/pi/Desktop/images/26112025/15/13/image_26112025_15_13_14_1499.jpg
/home/pi/Desktop/images/26112025/15/13/image_26112025_15_13_48_21706.jpg
/home/pi/Desktop/images/26112025/15/13/image_26112025_15_13_53_1654.jpg
/home/pi/Desktop/images/26112025/15/13/image_26112025_15_13_59_6785.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":["1396274796","1396274802","1396274786","1396274797","1396274791","1396274788"],"photo_ids_order":["1396274786","1396274788","1396274791","1396274796","1396274797","1396274802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6e048a21d206cfc16007b32e4f6460b5.jpg","text":"TemporaryFile(/tmp/multipartBody8030997169712027878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177102794,"filename":"image_26112025_15_13_48_21706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/232e35439aff9b3ff196ce7aa1377739.jpg","text":"TemporaryFile(/tmp/multipartBody1338690230472768036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177102794,"filename":"image_26112025_15_13_59_6785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/85424166cbfb9d8714a2ee4a5aa35e61.jpg","text":"TemporaryFile(/tmp/multipartBody3993986409066686881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177102794,"filename":"image_26112025_15_13_01_6612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a354e75f4b035241121fc367ffb9928d.jpg","text":"TemporaryFile(/tmp/multipartBody5109854726766087505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177102794,"filename":"image_26112025_15_13_53_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/26/6f8d7dc7203840f33763790c2b641616.jpg","text":"TemporaryFile(/tmp/multipartBody19059689275253969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177102794,"filename":"image_26112025_15_13_14_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/26/700defd5da639617a376850fc85fae1f.jpg","text":"TemporaryFile(/tmp/multipartBody4225519021456391982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177102794,"filename":"image_26112025_15_13_05_1547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396274791","file1":"1396274788","file0":"1396274786","file4":"1396274797","file5":"1396274802","file3":"1396274796"},"map_files_photo_id_array":[{"photo_id":"1396274802","filename":"file5"},{"photo_id":"1396274791","filename":"file2"},{"photo_id":"1396274797","filename":"file4"},{"photo_id":"1396274788","filename":"file1"},{"photo_id":"1396274786","filename":"file0"},{"photo_id":"1396274796","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396274796":["hashtag1","hashtag2"]},{"1396274802":["hashtag1","hashtag2"]},{"1396274786":["hashtag1","hashtag2"]},{"1396274797":["hashtag1","hashtag2"]},{"1396274791":["hashtag1","hashtag2"]},{"1396274788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396274796, 1396274802, 1396274786, 1396274797, 1396274791, 1396274788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.723713874816895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 18:11:22.284257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/15/14/image_26112025_15_14_09_1656.jpg', '/home/pi/Desktop/images/26112025/15/14/image_26112025_15_14_19_1539.jpg', '/home/pi/Desktop/images/26112025/15/14/image_26112025_15_14_31_12913.jpg', '/home/pi/Desktop/images/26112025/15/14/image_26112025_15_14_33_1615.jpg', '/home/pi/Desktop/images/26112025/15/14/image_26112025_15_14_35_1597.jpg', '/home/pi/Desktop/images/26112025/15/14/image_26112025_15_14_51_15948.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/15/14/image_26112025_15_14_09_1656.jpg
/home/pi/Desktop/images/26112025/15/14/image_26112025_15_14_19_1539.jpg
/home/pi/Desktop/images/26112025/15/14/image_26112025_15_14_31_12913.jpg
/home/pi/Desktop/images/26112025/15/14/image_26112025_15_14_33_1615.jpg
/home/pi/Desktop/images/26112025/15/14/image_26112025_15_14_35_1597.jpg
/home/pi/Desktop/images/26112025/15/14/image_26112025_15_14_51_15948.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":["1396274871","1396274883","1396274885","1396274887","1396274890","1396274863"],"photo_ids_order":["1396274863","1396274871","1396274883","1396274885","1396274887","1396274890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2ad5217eb52b6a79ba9749891ee9ce24.jpg","text":"TemporaryFile(/tmp/multipartBody5100309487571783133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177142950,"filename":"image_26112025_15_14_19_1539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/14c98889df5e3b4886708cc260ba7a02.jpg","text":"TemporaryFile(/tmp/multipartBody8643557015913435395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177142950,"filename":"image_26112025_15_14_31_12913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/56735db932d7b9f8b8c54fd5485c86a3.jpg","text":"TemporaryFile(/tmp/multipartBody9009288294125306592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177142950,"filename":"image_26112025_15_14_33_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/26/f0b90109f2d6bac1338d282a44c76696.jpg","text":"TemporaryFile(/tmp/multipartBody8286349347133778797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177142950,"filename":"image_26112025_15_14_35_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/26/54fca18c8a754837ea902d355b7f525e.jpg","text":"TemporaryFile(/tmp/multipartBody3030546655234790439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177142950,"filename":"image_26112025_15_14_51_15948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cad8948df00b738f61d406918465a306.jpg","text":"TemporaryFile(/tmp/multipartBody1718363372608923394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177142950,"filename":"image_26112025_15_14_09_1656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396274883","file1":"1396274871","file0":"1396274863","file4":"1396274887","file5":"1396274890","file3":"1396274885"},"map_files_photo_id_array":[{"photo_id":"1396274890","filename":"file5"},{"photo_id":"1396274883","filename":"file2"},{"photo_id":"1396274887","filename":"file4"},{"photo_id":"1396274871","filename":"file1"},{"photo_id":"1396274863","filename":"file0"},{"photo_id":"1396274885","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396274871":["hashtag1","hashtag2"]},{"1396274883":["hashtag1","hashtag2"]},{"1396274885":["hashtag1","hashtag2"]},{"1396274887":["hashtag1","hashtag2"]},{"1396274890":["hashtag1","hashtag2"]},{"1396274863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396274871, 1396274883, 1396274885, 1396274887, 1396274890, 1396274863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65354943275452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:12:02.996200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/15/14/image_26112025_15_14_52_1652.jpg', '/home/pi/Desktop/images/26112025/15/14/image_26112025_15_14_57_1673.jpg', '/home/pi/Desktop/images/26112025/15/15/image_26112025_15_15_04_1607.jpg', '/home/pi/Desktop/images/26112025/15/15/image_26112025_15_15_09_1689.jpg', '/home/pi/Desktop/images/26112025/15/15/image_26112025_15_15_10_1589.jpg', '/home/pi/Desktop/images/26112025/15/15/image_26112025_15_15_17_1637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/15/14/image_26112025_15_14_52_1652.jpg
/home/pi/Desktop/images/26112025/15/14/image_26112025_15_14_57_1673.jpg
/home/pi/Desktop/images/26112025/15/15/image_26112025_15_15_04_1607.jpg
/home/pi/Desktop/images/26112025/15/15/image_26112025_15_15_09_1689.jpg
/home/pi/Desktop/images/26112025/15/15/image_26112025_15_15_10_1589.jpg
/home/pi/Desktop/images/26112025/15/15/image_26112025_15_15_17_1637.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":["1396275129","1396275039","1396275164","1396274966","1396275087","1396275004"],"photo_ids_order":["1396274966","1396275004","1396275039","1396275087","1396275129","1396275164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0d9e7a2d44bd1b57a3e9b6237181a22d.jpg","text":"TemporaryFile(/tmp/multipartBody8498232502145729715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177183678,"filename":"image_26112025_15_15_10_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/26/664b2cd3d05530f6f0f6d8f1f03993e4.jpg","text":"TemporaryFile(/tmp/multipartBody4458642512458016263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177183678,"filename":"image_26112025_15_15_04_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/26/5196f69ddba44b229fe7d84d56d49744.jpg","text":"TemporaryFile(/tmp/multipartBody2738852103117265143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177183678,"filename":"image_26112025_15_15_17_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/26/2c70afa46e774b0aed6a4019ca7c4867.jpg","text":"TemporaryFile(/tmp/multipartBody8980532676919485877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177183678,"filename":"image_26112025_15_14_52_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/26/af945db2df34796400e0ed0627e393de.jpg","text":"TemporaryFile(/tmp/multipartBody54737425051642124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177183678,"filename":"image_26112025_15_15_09_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/26/0c1d65f3353b0a3643341bd3f563b42a.jpg","text":"TemporaryFile(/tmp/multipartBody7299039967338483049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177183678,"filename":"image_26112025_15_14_57_1673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396275039","file1":"1396275004","file0":"1396274966","file4":"1396275129","file5":"1396275164","file3":"1396275087"},"map_files_photo_id_array":[{"photo_id":"1396275164","filename":"file5"},{"photo_id":"1396275039","filename":"file2"},{"photo_id":"1396275129","filename":"file4"},{"photo_id":"1396275004","filename":"file1"},{"photo_id":"1396274966","filename":"file0"},{"photo_id":"1396275087","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396275129":["hashtag1","hashtag2"]},{"1396275039":["hashtag1","hashtag2"]},{"1396275164":["hashtag1","hashtag2"]},{"1396274966":["hashtag1","hashtag2"]},{"1396275087":["hashtag1","hashtag2"]},{"1396275004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396275129, 1396275039, 1396275164, 1396274966, 1396275087, 1396275004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42976784706116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30
2025-11-26 18:12:42.550896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/15/15/image_26112025_15_15_57_36688.jpg', '/home/pi/Desktop/images/26112025/15/16/image_26112025_15_16_22_1561.jpg', '/home/pi/Desktop/images/26112025/15/16/image_26112025_15_16_23_1521.jpg', '/home/pi/Desktop/images/26112025/15/16/image_26112025_15_16_25_1575.jpg', '/home/pi/Desktop/images/26112025/15/16/image_26112025_15_16_53_21935.jpg', '/home/pi/Desktop/images/26112025/15/16/image_26112025_15_16_58_1651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/15/15/image_26112025_15_15_57_36688.jpg
/home/pi/Desktop/images/26112025/15/16/image_26112025_15_16_22_1561.jpg
/home/pi/Desktop/images/26112025/15/16/image_26112025_15_16_23_1521.jpg
/home/pi/Desktop/images/26112025/15/16/image_26112025_15_16_25_1575.jpg
/home/pi/Desktop/images/26112025/15/16/image_26112025_15_16_53_21935.jpg
/home/pi/Desktop/images/26112025/15/16/image_26112025_15_16_58_1651.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":["1396275438","1396275333","1396275299","1396275470","1396275365","1396275403"],"photo_ids_order":["1396275299","1396275333","1396275365","1396275403","1396275438","1396275470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dd8acdbe5a7c0f23b31b606887fe4418.jpg","text":"TemporaryFile(/tmp/multipartBody540977122497646186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177223222,"filename":"image_26112025_15_16_53_21935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2c91633059232c4d63d957286afb0c06.jpg","text":"TemporaryFile(/tmp/multipartBody1478356757490688520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177223222,"filename":"image_26112025_15_16_22_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/26/98ef03e31d1aa06ac50d05fdbc41c0c1.jpg","text":"TemporaryFile(/tmp/multipartBody2856133800559296797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177223222,"filename":"image_26112025_15_15_57_36688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/089c3248459c52950369362dd1927921.jpg","text":"TemporaryFile(/tmp/multipartBody2907339165215090037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177223222,"filename":"image_26112025_15_16_58_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/26/9bfedeb18a8bc0d8771755d16c16ccbc.jpg","text":"TemporaryFile(/tmp/multipartBody2563106734435318577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177223222,"filename":"image_26112025_15_16_23_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/26/2b2385c5ab85b3d6586ed9b31c7d51b0.jpg","text":"TemporaryFile(/tmp/multipartBody3306691601802022336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177223222,"filename":"image_26112025_15_16_25_1575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396275365","file1":"1396275333","file0":"1396275299","file4":"1396275438","file5":"1396275470","file3":"1396275403"},"map_files_photo_id_array":[{"photo_id":"1396275470","filename":"file5"},{"photo_id":"1396275365","filename":"file2"},{"photo_id":"1396275438","filename":"file4"},{"photo_id":"1396275333","filename":"file1"},{"photo_id":"1396275299","filename":"file0"},{"photo_id":"1396275403","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396275438":["hashtag1","hashtag2"]},{"1396275333":["hashtag1","hashtag2"]},{"1396275299":["hashtag1","hashtag2"]},{"1396275470":["hashtag1","hashtag2"]},{"1396275365":["hashtag1","hashtag2"]},{"1396275403":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396275438, 1396275333, 1396275299, 1396275470, 1396275365, 1396275403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.343509912490845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 18:13:22.744790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/15/17/image_26112025_15_17_05_7018.jpg', '/home/pi/Desktop/images/26112025/15/17/image_26112025_15_17_26_1623.jpg', '/home/pi/Desktop/images/26112025/15/17/image_26112025_15_17_28_1947.jpg', '/home/pi/Desktop/images/26112025/15/17/image_26112025_15_17_30_1691.jpg', '/home/pi/Desktop/images/26112025/15/17/image_26112025_15_17_35_1544.jpg', '/home/pi/Desktop/images/26112025/15/17/image_26112025_15_17_58_10079.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/15/17/image_26112025_15_17_05_7018.jpg
/home/pi/Desktop/images/26112025/15/17/image_26112025_15_17_26_1623.jpg
/home/pi/Desktop/images/26112025/15/17/image_26112025_15_17_28_1947.jpg
/home/pi/Desktop/images/26112025/15/17/image_26112025_15_17_30_1691.jpg
/home/pi/Desktop/images/26112025/15/17/image_26112025_15_17_35_1544.jpg
/home/pi/Desktop/images/26112025/15/17/image_26112025_15_17_58_10079.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":["1396275484","1396275487","1396275538","1396275486","1396275495","1396275480"],"photo_ids_order":["1396275480","1396275484","1396275486","1396275487","1396275495","1396275538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/23270a9e31b700cb731d5961dde48271.jpg","text":"TemporaryFile(/tmp/multipartBody744149017662392769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177263412,"filename":"image_26112025_15_17_26_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/26/ed14edec4e1ea3c862865b34a7c5f3b6.jpg","text":"TemporaryFile(/tmp/multipartBody3738732669572001263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177263412,"filename":"image_26112025_15_17_30_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/26/bfcb2ec2d5f6253f34783dc4e4d63af0.jpg","text":"TemporaryFile(/tmp/multipartBody8112281607881821361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177263412,"filename":"image_26112025_15_17_58_10079.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9cbb3aeea225836e120f2c318cfd5c28.jpg","text":"TemporaryFile(/tmp/multipartBody6901888576829192280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177263412,"filename":"image_26112025_15_17_28_1947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9c7ac385a17070fc4a13cb9a88e5bd09.jpg","text":"TemporaryFile(/tmp/multipartBody197178354399285242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177263412,"filename":"image_26112025_15_17_35_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/26/8f93d2f0e5d6a52d652a3188d202292e.jpg","text":"TemporaryFile(/tmp/multipartBody980473636895777351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177263412,"filename":"image_26112025_15_17_05_7018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396275486","file1":"1396275484","file0":"1396275480","file4":"1396275495","file5":"1396275538","file3":"1396275487"},"map_files_photo_id_array":[{"photo_id":"1396275538","filename":"file5"},{"photo_id":"1396275486","filename":"file2"},{"photo_id":"1396275495","filename":"file4"},{"photo_id":"1396275484","filename":"file1"},{"photo_id":"1396275480","filename":"file0"},{"photo_id":"1396275487","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396275484":["hashtag1","hashtag2"]},{"1396275487":["hashtag1","hashtag2"]},{"1396275538":["hashtag1","hashtag2"]},{"1396275486":["hashtag1","hashtag2"]},{"1396275495":["hashtag1","hashtag2"]},{"1396275480":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396275484, 1396275487, 1396275538, 1396275486, 1396275495, 1396275480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20384979248047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:14:02.575606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/15/18/image_26112025_15_18_19_5869.jpg', '/home/pi/Desktop/images/26112025/15/18/image_26112025_15_18_26_1530.jpg', '/home/pi/Desktop/images/26112025/15/18/image_26112025_15_18_32_2269.jpg', '/home/pi/Desktop/images/26112025/15/18/image_26112025_15_18_52_1721.jpg', '/home/pi/Desktop/images/26112025/15/18/image_26112025_15_18_54_2515.jpg', '/home/pi/Desktop/images/26112025/15/18/image_26112025_15_18_56_1628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/15/18/image_26112025_15_18_19_5869.jpg
/home/pi/Desktop/images/26112025/15/18/image_26112025_15_18_26_1530.jpg
/home/pi/Desktop/images/26112025/15/18/image_26112025_15_18_32_2269.jpg
/home/pi/Desktop/images/26112025/15/18/image_26112025_15_18_52_1721.jpg
/home/pi/Desktop/images/26112025/15/18/image_26112025_15_18_54_2515.jpg
/home/pi/Desktop/images/26112025/15/18/image_26112025_15_18_56_1628.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.6270692348480225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL] [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR] [-M MINUTE] [--nb_minutes NB_MINUTES] [--folder_local_db FOLDER_LOCAL_DB] [--file_local_db FILE_LOCAL_DB] [-o ORDER] [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD] [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID] [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL] [--last_days LAST_DAYS] [--nb_batch_upload NB_BATCH_UPLOAD] [--fotonower_config_path FOTONOWER_CONFIG_PATH] [--only_old ONLY_OLD]
upload_photos.py: error: argument --only_old: expected one argument
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 18:14:21.924025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/15/18/image_26112025_15_18_19_5869.jpg', '/home/pi/Desktop/images/26112025/15/18/image_26112025_15_18_26_1530.jpg', '/home/pi/Desktop/images/26112025/15/18/image_26112025_15_18_32_2269.jpg', '/home/pi/Desktop/images/26112025/15/18/image_26112025_15_18_52_1721.jpg', '/home/pi/Desktop/images/26112025/15/18/image_26112025_15_18_54_2515.jpg', '/home/pi/Desktop/images/26112025/15/18/image_26112025_15_18_56_1628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/15/18/image_26112025_15_18_19_5869.jpg
/home/pi/Desktop/images/26112025/15/18/image_26112025_15_18_26_1530.jpg
/home/pi/Desktop/images/26112025/15/18/image_26112025_15_18_32_2269.jpg
/home/pi/Desktop/images/26112025/15/18/image_26112025_15_18_52_1721.jpg
/home/pi/Desktop/images/26112025/15/18/image_26112025_15_18_54_2515.jpg
/home/pi/Desktop/images/26112025/15/18/image_26112025_15_18_56_1628.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":["1396276097","1396276064","1396276130","1396276133","1396276135","1396276138"],"photo_ids_order":["1396276064","1396276097","1396276130","1396276133","1396276135","1396276138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/76d8b5afe1cdce55761f5ae0cbc443fd.jpg","text":"TemporaryFile(/tmp/multipartBody6415751515288569794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177322593,"filename":"image_26112025_15_18_26_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/26/63f6adade78c93560e8c18878280df39.jpg","text":"TemporaryFile(/tmp/multipartBody9119292283084455293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177322593,"filename":"image_26112025_15_18_19_5869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0c74392ae59d633a2928c43f4a6f8e7c.jpg","text":"TemporaryFile(/tmp/multipartBody6000355749535949074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177322593,"filename":"image_26112025_15_18_32_2269.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9d9f0d82e05bcd999e52a437d8413b31.jpg","text":"TemporaryFile(/tmp/multipartBody2230758346554990921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177322593,"filename":"image_26112025_15_18_52_1721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/06c53f7512d37d38c95e1778364176d7.jpg","text":"TemporaryFile(/tmp/multipartBody7519404899798034839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177322593,"filename":"image_26112025_15_18_54_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/26/7a7cbaf77c8e4700a769d51c9c928587.jpg","text":"TemporaryFile(/tmp/multipartBody8163666705970099483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177322593,"filename":"image_26112025_15_18_56_1628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396276130","file1":"1396276097","file0":"1396276064","file4":"1396276135","file5":"1396276138","file3":"1396276133"},"map_files_photo_id_array":[{"photo_id":"1396276138","filename":"file5"},{"photo_id":"1396276130","filename":"file2"},{"photo_id":"1396276135","filename":"file4"},{"photo_id":"1396276097","filename":"file1"},{"photo_id":"1396276064","filename":"file0"},{"photo_id":"1396276133","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396276097":["hashtag1","hashtag2"]},{"1396276064":["hashtag1","hashtag2"]},{"1396276130":["hashtag1","hashtag2"]},{"1396276133":["hashtag1","hashtag2"]},{"1396276135":["hashtag1","hashtag2"]},{"1396276138":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396276097, 1396276064, 1396276130, 1396276133, 1396276135, 1396276138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16934418678284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:15:02.936744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/15/18/image_26112025_15_18_58_1660.jpg', '/home/pi/Desktop/images/26112025/15/19/image_26112025_15_19_03_1597.jpg', '/home/pi/Desktop/images/26112025/15/19/image_26112025_15_19_17_14083.jpg', '/home/pi/Desktop/images/26112025/15/19/image_26112025_15_19_29_11824.jpg', '/home/pi/Desktop/images/26112025/15/19/image_26112025_15_19_49_7123.jpg', '/home/pi/Desktop/images/26112025/15/19/image_26112025_15_19_54_1594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/15/18/image_26112025_15_18_58_1660.jpg
/home/pi/Desktop/images/26112025/15/19/image_26112025_15_19_03_1597.jpg
/home/pi/Desktop/images/26112025/15/19/image_26112025_15_19_17_14083.jpg
/home/pi/Desktop/images/26112025/15/19/image_26112025_15_19_29_11824.jpg
/home/pi/Desktop/images/26112025/15/19/image_26112025_15_19_49_7123.jpg
/home/pi/Desktop/images/26112025/15/19/image_26112025_15_19_54_1594.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":["1396276282","1396276276","1396276342","1396276246","1396276315","1396276309"],"photo_ids_order":["1396276246","1396276276","1396276282","1396276309","1396276315","1396276342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c1121c9426fe45efbbb96cafddae95e2.jpg","text":"TemporaryFile(/tmp/multipartBody5439620411916151290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177363660,"filename":"image_26112025_15_19_17_14083.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dfa010255589b51dc9b594353f709d78.jpg","text":"TemporaryFile(/tmp/multipartBody7334558444719287385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177363660,"filename":"image_26112025_15_19_03_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/26/555050454193ddd7e7fb6afb2095d276.jpg","text":"TemporaryFile(/tmp/multipartBody2785745522591699835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177363660,"filename":"image_26112025_15_19_54_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/26/1c18727d7b03d82c62f71ad9e0091428.jpg","text":"TemporaryFile(/tmp/multipartBody7551376085837212050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177363660,"filename":"image_26112025_15_18_58_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/26/fd78df6cde62ecf403b75cb1cdc4a794.jpg","text":"TemporaryFile(/tmp/multipartBody5795537304072429288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177363660,"filename":"image_26112025_15_19_49_7123.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/033fedbe9aa4656767c8b7de5fb1aff1.jpg","text":"TemporaryFile(/tmp/multipartBody8514251499887586339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177363660,"filename":"image_26112025_15_19_29_11824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396276282","file1":"1396276276","file0":"1396276246","file4":"1396276315","file5":"1396276342","file3":"1396276309"},"map_files_photo_id_array":[{"photo_id":"1396276342","filename":"file5"},{"photo_id":"1396276282","filename":"file2"},{"photo_id":"1396276315","filename":"file4"},{"photo_id":"1396276276","filename":"file1"},{"photo_id":"1396276246","filename":"file0"},{"photo_id":"1396276309","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396276282":["hashtag1","hashtag2"]},{"1396276276":["hashtag1","hashtag2"]},{"1396276342":["hashtag1","hashtag2"]},{"1396276246":["hashtag1","hashtag2"]},{"1396276315":["hashtag1","hashtag2"]},{"1396276309":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396276282, 1396276276, 1396276342, 1396276246, 1396276315, 1396276309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72196412086487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 18:15:42.397570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/01/image_30102025_20_01_23_1661.jpg', '/home/pi/Desktop/images/30102025/20/01/image_30102025_20_01_24_1657.jpg', '/home/pi/Desktop/images/30102025/20/01/image_30102025_20_01_26_1641.jpg', '/home/pi/Desktop/images/30102025/20/01/image_30102025_20_01_30_1713.jpg', '/home/pi/Desktop/images/30102025/20/01/image_30102025_20_01_32_2638.jpg', '/home/pi/Desktop/images/30102025/20/01/image_30102025_20_01_35_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/01/image_30102025_20_01_23_1661.jpg
/home/pi/Desktop/images/30102025/20/01/image_30102025_20_01_24_1657.jpg
/home/pi/Desktop/images/30102025/20/01/image_30102025_20_01_26_1641.jpg
/home/pi/Desktop/images/30102025/20/01/image_30102025_20_01_30_1713.jpg
/home/pi/Desktop/images/30102025/20/01/image_30102025_20_01_32_2638.jpg
/home/pi/Desktop/images/30102025/20/01/image_30102025_20_01_35_2584.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":["1396276352","1396276355","1396276358","1396276357","1396276356","1396276359"],"photo_ids_order":["1396276352","1396276355","1396276356","1396276357","1396276358","1396276359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e3390303e5d805f50351783a17bae95e.jpg","text":"TemporaryFile(/tmp/multipartBody1287166196975934205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177403847,"filename":"image_30102025_20_01_23_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/26/13a02280c0740d9660af1d42283ea115.jpg","text":"TemporaryFile(/tmp/multipartBody7048398170657060619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177403847,"filename":"image_30102025_20_01_24_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/26/59f19574572eedddfaf68af36c274ea3.jpg","text":"TemporaryFile(/tmp/multipartBody5360721407367138806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177403847,"filename":"image_30102025_20_01_32_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/26/a6be56a2ac39e95e3514f1fbee6dc910.jpg","text":"TemporaryFile(/tmp/multipartBody1401166115791396839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177403847,"filename":"image_30102025_20_01_30_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/26/00aaaee61dc7d5c589d13d2e67751a7f.jpg","text":"TemporaryFile(/tmp/multipartBody6860339908241746019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177403847,"filename":"image_30102025_20_01_26_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1c2d98c41e00ecd8270231a75a58e4fc.jpg","text":"TemporaryFile(/tmp/multipartBody8430851765067818048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177403847,"filename":"image_30102025_20_01_35_2584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396276356","file1":"1396276355","file0":"1396276352","file4":"1396276358","file5":"1396276359","file3":"1396276357"},"map_files_photo_id_array":[{"photo_id":"1396276359","filename":"file5"},{"photo_id":"1396276356","filename":"file2"},{"photo_id":"1396276358","filename":"file4"},{"photo_id":"1396276355","filename":"file1"},{"photo_id":"1396276352","filename":"file0"},{"photo_id":"1396276357","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396276352":["hashtag1","hashtag2"]},{"1396276355":["hashtag1","hashtag2"]},{"1396276358":["hashtag1","hashtag2"]},{"1396276357":["hashtag1","hashtag2"]},{"1396276356":["hashtag1","hashtag2"]},{"1396276359":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396276352, 1396276355, 1396276358, 1396276357, 1396276356, 1396276359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13741993904114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 18:16:22.606113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/15/19/image_26112025_15_19_57_1673.jpg', '/home/pi/Desktop/images/26112025/15/19/image_26112025_15_19_59_1718.jpg', '/home/pi/Desktop/images/26112025/15/20/image_26112025_15_20_15_15982.jpg', '/home/pi/Desktop/images/26112025/15/20/image_26112025_15_20_39_1585.jpg', '/home/pi/Desktop/images/26112025/15/20/image_26112025_15_20_53_1504.jpg', '/home/pi/Desktop/images/26112025/15/23/image_26112025_15_23_07_3019.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/15/19/image_26112025_15_19_57_1673.jpg
/home/pi/Desktop/images/26112025/15/19/image_26112025_15_19_59_1718.jpg
/home/pi/Desktop/images/26112025/15/20/image_26112025_15_20_15_15982.jpg
/home/pi/Desktop/images/26112025/15/20/image_26112025_15_20_39_1585.jpg
/home/pi/Desktop/images/26112025/15/20/image_26112025_15_20_53_1504.jpg
/home/pi/Desktop/images/26112025/15/23/image_26112025_15_23_07_3019.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":["1396276370","1396276415","1396276366","1396276371","1396276494","1396276455"],"photo_ids_order":["1396276366","1396276370","1396276371","1396276415","1396276455","1396276494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6c568b1cb41b71a8280a7338ee054b6a.jpg","text":"TemporaryFile(/tmp/multipartBody487749321941762874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177443259,"filename":"image_26112025_15_19_59_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/26/1e880b0f920f0f224f149c0c47239920.jpg","text":"TemporaryFile(/tmp/multipartBody4209273600699785161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177443259,"filename":"image_26112025_15_20_39_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/26/f7b0b8082c37d9c804e4264753c232e0.jpg","text":"TemporaryFile(/tmp/multipartBody7279662882830092894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177443259,"filename":"image_26112025_15_19_57_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/26/0e97f67ea8db0ced280eaedf50a3e935.jpg","text":"TemporaryFile(/tmp/multipartBody3084539229950245683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177443259,"filename":"image_26112025_15_20_15_15982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1e1b78df57d4ed7273a8b8c25dd5f459.jpg","text":"TemporaryFile(/tmp/multipartBody5759941878183792647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177443259,"filename":"image_26112025_15_23_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/26/1962761736343dcbd88f16da217163f2.jpg","text":"TemporaryFile(/tmp/multipartBody8903308838189827340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177443259,"filename":"image_26112025_15_20_53_1504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396276371","file1":"1396276370","file0":"1396276366","file4":"1396276455","file5":"1396276494","file3":"1396276415"},"map_files_photo_id_array":[{"photo_id":"1396276494","filename":"file5"},{"photo_id":"1396276371","filename":"file2"},{"photo_id":"1396276455","filename":"file4"},{"photo_id":"1396276370","filename":"file1"},{"photo_id":"1396276366","filename":"file0"},{"photo_id":"1396276415","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396276370":["hashtag1","hashtag2"]},{"1396276415":["hashtag1","hashtag2"]},{"1396276366":["hashtag1","hashtag2"]},{"1396276371":["hashtag1","hashtag2"]},{"1396276494":["hashtag1","hashtag2"]},{"1396276455":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396276370, 1396276415, 1396276366, 1396276371, 1396276494, 1396276455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72827339172363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:17:03.234831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/15/24/image_26112025_15_25_00_23477.jpg', '/home/pi/Desktop/images/26112025/15/26/image_26112025_15_26_20_1518.jpg', '/home/pi/Desktop/images/26112025/15/27/image_26112025_15_27_02_1632.jpg', '/home/pi/Desktop/images/26112025/15/31/image_26112025_15_31_07_3011.jpg', '/home/pi/Desktop/images/26112025/15/44/image_26112025_15_44_24_20081.jpg', '/home/pi/Desktop/images/26112025/15/45/image_26112025_15_46_05_20739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/15/24/image_26112025_15_25_00_23477.jpg
/home/pi/Desktop/images/26112025/15/26/image_26112025_15_26_20_1518.jpg
/home/pi/Desktop/images/26112025/15/27/image_26112025_15_27_02_1632.jpg
/home/pi/Desktop/images/26112025/15/31/image_26112025_15_31_07_3011.jpg
/home/pi/Desktop/images/26112025/15/44/image_26112025_15_44_24_20081.jpg
/home/pi/Desktop/images/26112025/15/45/image_26112025_15_46_05_20739.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":["1396276626","1396276646","1396276631","1396276634","1396276684","1396276629"],"photo_ids_order":["1396276626","1396276629","1396276631","1396276634","1396276646","1396276684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0ffcd4d392b62bc2bf202fa2870f25f6.jpg","text":"TemporaryFile(/tmp/multipartBody4313782313912132762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177483974,"filename":"image_26112025_15_25_00_23477.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/301600939f2d8a2492e91c68fd3d924e.jpg","text":"TemporaryFile(/tmp/multipartBody625393249024201107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177483974,"filename":"image_26112025_15_44_24_20081.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/db531a940519704fba46cfd0234647e6.jpg","text":"TemporaryFile(/tmp/multipartBody8089788144166496850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177483974,"filename":"image_26112025_15_27_02_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/26/40f243d01095c7e5128dcdeb667fba6a.jpg","text":"TemporaryFile(/tmp/multipartBody6136048876191901351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177483974,"filename":"image_26112025_15_31_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b0c54c1bf7d3def3586bbc481d18e052.jpg","text":"TemporaryFile(/tmp/multipartBody7505871515960161994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177483974,"filename":"image_26112025_15_46_05_20739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/675ba75b0b03c0cd7555d0bd315fa198.jpg","text":"TemporaryFile(/tmp/multipartBody485267644424516809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177483974,"filename":"image_26112025_15_26_20_1518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396276631","file1":"1396276629","file0":"1396276626","file4":"1396276646","file5":"1396276684","file3":"1396276634"},"map_files_photo_id_array":[{"photo_id":"1396276684","filename":"file5"},{"photo_id":"1396276631","filename":"file2"},{"photo_id":"1396276646","filename":"file4"},{"photo_id":"1396276629","filename":"file1"},{"photo_id":"1396276626","filename":"file0"},{"photo_id":"1396276634","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396276626":["hashtag1","hashtag2"]},{"1396276646":["hashtag1","hashtag2"]},{"1396276631":["hashtag1","hashtag2"]},{"1396276634":["hashtag1","hashtag2"]},{"1396276684":["hashtag1","hashtag2"]},{"1396276629":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396276626, 1396276646, 1396276631, 1396276634, 1396276684, 1396276629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68971872329712 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 18:17:42.673219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/01/image_30102025_20_01_47_3524.jpg', '/home/pi/Desktop/images/30102025/20/01/image_30102025_20_01_50_2647.jpg', '/home/pi/Desktop/images/30102025/20/01/image_30102025_20_01_54_3567.jpg', '/home/pi/Desktop/images/30102025/20/02/image_30102025_20_02_08_2656.jpg', '/home/pi/Desktop/images/30102025/20/02/image_30102025_20_02_11_3635.jpg', '/home/pi/Desktop/images/30102025/20/02/image_30102025_20_02_20_3616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/01/image_30102025_20_01_47_3524.jpg
/home/pi/Desktop/images/30102025/20/01/image_30102025_20_01_50_2647.jpg
/home/pi/Desktop/images/30102025/20/01/image_30102025_20_01_54_3567.jpg
/home/pi/Desktop/images/30102025/20/02/image_30102025_20_02_08_2656.jpg
/home/pi/Desktop/images/30102025/20/02/image_30102025_20_02_11_3635.jpg
/home/pi/Desktop/images/30102025/20/02/image_30102025_20_02_20_3616.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":["1396276769","1396276766","1396276765","1396276768","1396276762","1396276767"],"photo_ids_order":["1396276762","1396276765","1396276766","1396276767","1396276768","1396276769"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b71d0dbeb8a57c27f0616aa10b7e0905.jpg","text":"TemporaryFile(/tmp/multipartBody6851252528057083199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177524187,"filename":"image_30102025_20_02_20_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/26/af5d55cb76139b32c0a8542fcaecfb0b.jpg","text":"TemporaryFile(/tmp/multipartBody751840593660531351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177524187,"filename":"image_30102025_20_01_54_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/26/22f6a6dd69fd82b8b0412c4360c396de.jpg","text":"TemporaryFile(/tmp/multipartBody1752477411942832400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177524187,"filename":"image_30102025_20_01_50_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/26/8c8f23bd4703cb1ba3b6cd34cd7c688f.jpg","text":"TemporaryFile(/tmp/multipartBody6562339275820724069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177524187,"filename":"image_30102025_20_02_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/26/8aa80a9a8ad8b3c8857aab1724dc1832.jpg","text":"TemporaryFile(/tmp/multipartBody917523171205421459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177524187,"filename":"image_30102025_20_01_47_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/26/148af8ba0f73df87658eb70f08e0993f.jpg","text":"TemporaryFile(/tmp/multipartBody7337297672031882582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177524187,"filename":"image_30102025_20_02_08_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396276766","file1":"1396276765","file0":"1396276762","file4":"1396276768","file5":"1396276769","file3":"1396276767"},"map_files_photo_id_array":[{"photo_id":"1396276769","filename":"file5"},{"photo_id":"1396276766","filename":"file2"},{"photo_id":"1396276768","filename":"file4"},{"photo_id":"1396276765","filename":"file1"},{"photo_id":"1396276762","filename":"file0"},{"photo_id":"1396276767","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396276769":["hashtag1","hashtag2"]},{"1396276766":["hashtag1","hashtag2"]},{"1396276765":["hashtag1","hashtag2"]},{"1396276768":["hashtag1","hashtag2"]},{"1396276762":["hashtag1","hashtag2"]},{"1396276767":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396276769, 1396276766, 1396276765, 1396276768, 1396276762, 1396276767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.44367980957031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL] [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR] [-M MINUTE] [--nb_minutes NB_MINUTES] [--folder_local_db FOLDER_LOCAL_DB] [--file_local_db FILE_LOCAL_DB] [-o ORDER] [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD] [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID] [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL] [--last_days LAST_DAYS] [--nb_batch_upload NB_BATCH_UPLOAD] [--fotonower_config_path FOTONOWER_CONFIG_PATH] [--only_old ONLY_OLD]
upload_photos.py: error: argument --only_old: expected one argument
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 18:18:41.837188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/03/image_30102025_20_03_15_4477.jpg', '/home/pi/Desktop/images/30102025/20/03/image_30102025_20_03_17_1810.jpg', '/home/pi/Desktop/images/30102025/20/03/image_30102025_20_03_27_9816.jpg', '/home/pi/Desktop/images/30102025/20/03/image_30102025_20_03_28_1670.jpg', '/home/pi/Desktop/images/30102025/20/03/image_30102025_20_03_30_1654.jpg', '/home/pi/Desktop/images/30102025/20/03/image_30102025_20_03_35_1613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/03/image_30102025_20_03_15_4477.jpg
/home/pi/Desktop/images/30102025/20/03/image_30102025_20_03_17_1810.jpg
/home/pi/Desktop/images/30102025/20/03/image_30102025_20_03_27_9816.jpg
/home/pi/Desktop/images/30102025/20/03/image_30102025_20_03_28_1670.jpg
/home/pi/Desktop/images/30102025/20/03/image_30102025_20_03_30_1654.jpg
/home/pi/Desktop/images/30102025/20/03/image_30102025_20_03_35_1613.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":["1396276793","1396276787","1396276792","1396276789","1396276791","1396276785"],"photo_ids_order":["1396276785","1396276787","1396276789","1396276791","1396276792","1396276793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8a78955781c66e7e16ce0aab0bf37b12.jpg","text":"TemporaryFile(/tmp/multipartBody4617928786651320921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177583294,"filename":"image_30102025_20_03_35_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/26/d83ec0ba1da572f22267c42a09bb47ef.jpg","text":"TemporaryFile(/tmp/multipartBody9006766291873054304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177583294,"filename":"image_30102025_20_03_17_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/26/236570d4b3782ddade69c6f5f095ef3f.jpg","text":"TemporaryFile(/tmp/multipartBody2024607680823601867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177583294,"filename":"image_30102025_20_03_30_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/26/ec16caded065ed669654b6e2f8f86ad5.jpg","text":"TemporaryFile(/tmp/multipartBody3418934793704527055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177583294,"filename":"image_30102025_20_03_27_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f783679e5a592f4f137e10cdc022b737.jpg","text":"TemporaryFile(/tmp/multipartBody1313616191942683207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177583294,"filename":"image_30102025_20_03_28_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/26/ec7dd1ebeed513c91d4d1b46fc6c2842.jpg","text":"TemporaryFile(/tmp/multipartBody6666771021700029536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177583294,"filename":"image_30102025_20_03_15_4477.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396276789","file1":"1396276787","file0":"1396276785","file4":"1396276792","file5":"1396276793","file3":"1396276791"},"map_files_photo_id_array":[{"photo_id":"1396276793","filename":"file5"},{"photo_id":"1396276789","filename":"file2"},{"photo_id":"1396276792","filename":"file4"},{"photo_id":"1396276787","filename":"file1"},{"photo_id":"1396276785","filename":"file0"},{"photo_id":"1396276791","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396276793":["hashtag1","hashtag2"]},{"1396276787":["hashtag1","hashtag2"]},{"1396276792":["hashtag1","hashtag2"]},{"1396276789":["hashtag1","hashtag2"]},{"1396276791":["hashtag1","hashtag2"]},{"1396276785":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396276793, 1396276787, 1396276792, 1396276789, 1396276791, 1396276785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.583452224731445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 18:19:22.042390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/15/46/image_26112025_15_46_14_10047.jpg', '/home/pi/Desktop/images/26112025/15/46/image_26112025_15_46_24_19740.jpg', '/home/pi/Desktop/images/26112025/15/46/image_26112025_15_46_25_10807.jpg', '/home/pi/Desktop/images/26112025/15/46/image_26112025_15_46_35_9754.jpg', '/home/pi/Desktop/images/26112025/15/46/image_26112025_15_46_44_19805.jpg', '/home/pi/Desktop/images/26112025/15/46/image_26112025_15_46_45_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/15/46/image_26112025_15_46_14_10047.jpg
/home/pi/Desktop/images/26112025/15/46/image_26112025_15_46_24_19740.jpg
/home/pi/Desktop/images/26112025/15/46/image_26112025_15_46_25_10807.jpg
/home/pi/Desktop/images/26112025/15/46/image_26112025_15_46_35_9754.jpg
/home/pi/Desktop/images/26112025/15/46/image_26112025_15_46_44_19805.jpg
/home/pi/Desktop/images/26112025/15/46/image_26112025_15_46_45_9749.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":["1396276817","1396276832","1396276819","1396276812","1396276815","1396276809"],"photo_ids_order":["1396276809","1396276812","1396276815","1396276817","1396276819","1396276832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bad538f833373784f544d2b42659214a.jpg","text":"TemporaryFile(/tmp/multipartBody3390165773231541322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177622778,"filename":"image_26112025_15_46_35_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0feb3ce7417c3e0493bdbe72f5af7b8e.jpg","text":"TemporaryFile(/tmp/multipartBody8491760109292113447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177622778,"filename":"image_26112025_15_46_45_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/67ce948f60c86feabccfc6d8a4f5c307.jpg","text":"TemporaryFile(/tmp/multipartBody8958254734381504790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177622778,"filename":"image_26112025_15_46_44_19805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/69dd7ac8729f85151ab60b43769abfcd.jpg","text":"TemporaryFile(/tmp/multipartBody1273753281988351408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177622778,"filename":"image_26112025_15_46_24_19740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/90c5a60dd74742d1f369c8a51e4f745b.jpg","text":"TemporaryFile(/tmp/multipartBody6652879462678995922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177622778,"filename":"image_26112025_15_46_25_10807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/46af57e76d22204fb1f5fb7780f87851.jpg","text":"TemporaryFile(/tmp/multipartBody5882891889970141040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177622778,"filename":"image_26112025_15_46_14_10047.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396276815","file1":"1396276812","file0":"1396276809","file4":"1396276819","file5":"1396276832","file3":"1396276817"},"map_files_photo_id_array":[{"photo_id":"1396276832","filename":"file5"},{"photo_id":"1396276815","filename":"file2"},{"photo_id":"1396276819","filename":"file4"},{"photo_id":"1396276812","filename":"file1"},{"photo_id":"1396276809","filename":"file0"},{"photo_id":"1396276817","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396276817":["hashtag1","hashtag2"]},{"1396276832":["hashtag1","hashtag2"]},{"1396276819":["hashtag1","hashtag2"]},{"1396276812":["hashtag1","hashtag2"]},{"1396276815":["hashtag1","hashtag2"]},{"1396276809":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396276817, 1396276832, 1396276819, 1396276812, 1396276815, 1396276809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23822569847107 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 --only_old
usage: upload_photos.py [-h] [-f FOLDER] [-t TOKEN] [-u ROOT_URL] [-P PROTOCOL] [-n NAME] [-j JOB] [-D DAY] [-H HOUR] [-M MINUTE] [--nb_minutes NB_MINUTES] [--folder_local_db FOLDER_LOCAL_DB] [--file_local_db FILE_LOCAL_DB] [-o ORDER] [-l LIMIT_UPLOAD] [-s LIST_STATUS_UPLOAD] [-S STATUS_UPLOAD] [-v] [--datou_id DATOU_ID] [--threshold THRESHOLD] [-F FACTOR] [-I INTERVAL] [--last_days LAST_DAYS] [--nb_batch_upload NB_BATCH_UPLOAD] [--fotonower_config_path FOTONOWER_CONFIG_PATH] [--only_old ONLY_OLD]
upload_photos.py: error: argument --only_old: expected one argument
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 18:20:22.186455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/15/46/image_26112025_15_46_54_9689.jpg', '/home/pi/Desktop/images/26112025/15/47/image_26112025_15_47_14_9456.jpg', '/home/pi/Desktop/images/26112025/15/47/image_26112025_15_47_24_20332.jpg', '/home/pi/Desktop/images/26112025/15/47/image_26112025_15_47_25_10708.jpg', '/home/pi/Desktop/images/26112025/15/47/image_26112025_15_47_35_9582.jpg', '/home/pi/Desktop/images/26112025/15/47/image_26112025_15_47_44_19946.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/15/46/image_26112025_15_46_54_9689.jpg
/home/pi/Desktop/images/26112025/15/47/image_26112025_15_47_14_9456.jpg
/home/pi/Desktop/images/26112025/15/47/image_26112025_15_47_24_20332.jpg
/home/pi/Desktop/images/26112025/15/47/image_26112025_15_47_25_10708.jpg
/home/pi/Desktop/images/26112025/15/47/image_26112025_15_47_35_9582.jpg
/home/pi/Desktop/images/26112025/15/47/image_26112025_15_47_44_19946.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":["1396276917","1396276902","1396276907","1396276897","1396276911","1396276914"],"photo_ids_order":["1396276897","1396276902","1396276907","1396276911","1396276914","1396276917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bedad9d1e2b65c4778b1667c89067027.jpg","text":"TemporaryFile(/tmp/multipartBody2392145732847646654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177682945,"filename":"image_26112025_15_47_44_19946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ffae9a940acc1288af726bacce420411.jpg","text":"TemporaryFile(/tmp/multipartBody8506076228745361933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177682945,"filename":"image_26112025_15_47_14_9456.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/74051bebc9ab58674638cd1266fd412d.jpg","text":"TemporaryFile(/tmp/multipartBody3508182244953732782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177682945,"filename":"image_26112025_15_47_24_20332.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3b39f5c3d2b9d8c14d0ad1b2d2778631.jpg","text":"TemporaryFile(/tmp/multipartBody1610058204065302891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177682945,"filename":"image_26112025_15_46_54_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7482dcb412821753f67f6415bebda76a.jpg","text":"TemporaryFile(/tmp/multipartBody5153751429516662608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177682945,"filename":"image_26112025_15_47_25_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/02e9ed366ac06c8987017bab4190b7fc.jpg","text":"TemporaryFile(/tmp/multipartBody837392927942749012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177682945,"filename":"image_26112025_15_47_35_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396276907","file1":"1396276902","file0":"1396276897","file4":"1396276914","file5":"1396276917","file3":"1396276911"},"map_files_photo_id_array":[{"photo_id":"1396276917","filename":"file5"},{"photo_id":"1396276907","filename":"file2"},{"photo_id":"1396276914","filename":"file4"},{"photo_id":"1396276902","filename":"file1"},{"photo_id":"1396276897","filename":"file0"},{"photo_id":"1396276911","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396276917":["hashtag1","hashtag2"]},{"1396276902":["hashtag1","hashtag2"]},{"1396276907":["hashtag1","hashtag2"]},{"1396276897":["hashtag1","hashtag2"]},{"1396276911":["hashtag1","hashtag2"]},{"1396276914":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396276917, 1396276902, 1396276907, 1396276897, 1396276911, 1396276914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69626426696777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:21:03.047196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/15/47/image_26112025_15_48_04_20076.jpg', '/home/pi/Desktop/images/26112025/15/47/image_26112025_15_48_05_10590.jpg', '/home/pi/Desktop/images/26112025/15/48/image_26112025_15_48_15_9841.jpg', '/home/pi/Desktop/images/26112025/15/48/image_26112025_15_48_24_19739.jpg', '/home/pi/Desktop/images/26112025/15/48/image_26112025_15_48_25_9825.jpg', '/home/pi/Desktop/images/26112025/15/48/image_26112025_15_48_35_10111.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/15/47/image_26112025_15_48_04_20076.jpg
/home/pi/Desktop/images/26112025/15/47/image_26112025_15_48_05_10590.jpg
/home/pi/Desktop/images/26112025/15/48/image_26112025_15_48_15_9841.jpg
/home/pi/Desktop/images/26112025/15/48/image_26112025_15_48_24_19739.jpg
/home/pi/Desktop/images/26112025/15/48/image_26112025_15_48_25_9825.jpg
/home/pi/Desktop/images/26112025/15/48/image_26112025_15_48_35_10111.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":["1396276949","1396276919","1396276951","1396276933","1396276968","1396276956"],"photo_ids_order":["1396276919","1396276933","1396276949","1396276951","1396276956","1396276968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0164e8104eb23a46ba6c2e1f7fd76d92.jpg","text":"TemporaryFile(/tmp/multipartBody1161208912576180912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177723818,"filename":"image_26112025_15_48_15_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/26/21d0a7465c4fa741635f540de820806e.jpg","text":"TemporaryFile(/tmp/multipartBody8452799759967181010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177723818,"filename":"image_26112025_15_48_04_20076.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d82caeb484da3fbab8483f725757f2c8.jpg","text":"TemporaryFile(/tmp/multipartBody4684760421399954814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177723818,"filename":"image_26112025_15_48_24_19739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6c6e7ba098bc37cd569535208c8890bc.jpg","text":"TemporaryFile(/tmp/multipartBody1128453021576721231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177723818,"filename":"image_26112025_15_48_05_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0fe47170362812fdd3f27934300940f7.jpg","text":"TemporaryFile(/tmp/multipartBody4634395842165049419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177723818,"filename":"image_26112025_15_48_35_10111.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a0c0ccc302b2f90f16fc88ab47263cc4.jpg","text":"TemporaryFile(/tmp/multipartBody4636517254408964212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177723818,"filename":"image_26112025_15_48_25_9825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396276949","file1":"1396276933","file0":"1396276919","file4":"1396276956","file5":"1396276968","file3":"1396276951"},"map_files_photo_id_array":[{"photo_id":"1396276968","filename":"file5"},{"photo_id":"1396276949","filename":"file2"},{"photo_id":"1396276956","filename":"file4"},{"photo_id":"1396276933","filename":"file1"},{"photo_id":"1396276919","filename":"file0"},{"photo_id":"1396276951","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396276949":["hashtag1","hashtag2"]},{"1396276919":["hashtag1","hashtag2"]},{"1396276951":["hashtag1","hashtag2"]},{"1396276933":["hashtag1","hashtag2"]},{"1396276968":["hashtag1","hashtag2"]},{"1396276956":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396276949, 1396276919, 1396276951, 1396276933, 1396276968, 1396276956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.315667390823364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 18:21:42.372998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/03/image_30102025_20_03_38_2623.jpg', '/home/pi/Desktop/images/30102025/20/03/image_30102025_20_03_40_2672.jpg', '/home/pi/Desktop/images/30102025/20/03/image_30102025_20_03_44_3585.jpg', '/home/pi/Desktop/images/30102025/20/03/image_30102025_20_03_47_2680.jpg', '/home/pi/Desktop/images/30102025/20/03/image_30102025_20_03_50_3644.jpg', '/home/pi/Desktop/images/30102025/20/03/image_30102025_20_03_56_3071.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/03/image_30102025_20_03_38_2623.jpg
/home/pi/Desktop/images/30102025/20/03/image_30102025_20_03_40_2672.jpg
/home/pi/Desktop/images/30102025/20/03/image_30102025_20_03_44_3585.jpg
/home/pi/Desktop/images/30102025/20/03/image_30102025_20_03_47_2680.jpg
/home/pi/Desktop/images/30102025/20/03/image_30102025_20_03_50_3644.jpg
/home/pi/Desktop/images/30102025/20/03/image_30102025_20_03_56_3071.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":["1396277030","1396276993","1396277136","1396277064","1396276989","1396277100"],"photo_ids_order":["1396276989","1396276993","1396277030","1396277064","1396277100","1396277136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7588383d20eb83a30541e0f58adbaa42.jpg","text":"TemporaryFile(/tmp/multipartBody7838470414314050353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177763823,"filename":"image_30102025_20_03_44_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/26/3182ffe771aa1d79f472f0d1a6424669.jpg","text":"TemporaryFile(/tmp/multipartBody6639073137312199081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177763823,"filename":"image_30102025_20_03_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/26/c8cd0b3650b5ba4290068b0a7c78a44b.jpg","text":"TemporaryFile(/tmp/multipartBody901307451348249323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177763823,"filename":"image_30102025_20_03_56_3071.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e2a93a671ef2b5083e960d2ff1c7cc08.jpg","text":"TemporaryFile(/tmp/multipartBody8459191427155447137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177763823,"filename":"image_30102025_20_03_47_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/26/a543b734fd1883f294dde02b265af040.jpg","text":"TemporaryFile(/tmp/multipartBody7850016191935125509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177763823,"filename":"image_30102025_20_03_38_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/26/bbf9636cf235651edc427dff9c130967.jpg","text":"TemporaryFile(/tmp/multipartBody2877361370150699895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177763823,"filename":"image_30102025_20_03_50_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396277030","file1":"1396276993","file0":"1396276989","file4":"1396277100","file5":"1396277136","file3":"1396277064"},"map_files_photo_id_array":[{"photo_id":"1396277136","filename":"file5"},{"photo_id":"1396277030","filename":"file2"},{"photo_id":"1396277100","filename":"file4"},{"photo_id":"1396276993","filename":"file1"},{"photo_id":"1396276989","filename":"file0"},{"photo_id":"1396277064","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396277030":["hashtag1","hashtag2"]},{"1396276993":["hashtag1","hashtag2"]},{"1396277136":["hashtag1","hashtag2"]},{"1396277064":["hashtag1","hashtag2"]},{"1396276989":["hashtag1","hashtag2"]},{"1396277100":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396277030, 1396276993, 1396277136, 1396277064, 1396276989, 1396277100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77132964134216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 18:22:22.608264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/15/48/image_26112025_15_48_44_9640.jpg', '/home/pi/Desktop/images/26112025/15/49/image_26112025_15_49_34_9914.jpg', '/home/pi/Desktop/images/26112025/15/49/image_26112025_15_49_54_9963.jpg', '/home/pi/Desktop/images/26112025/15/50/image_26112025_15_50_05_10703.jpg', '/home/pi/Desktop/images/26112025/15/50/image_26112025_15_50_25_20796.jpg', '/home/pi/Desktop/images/26112025/15/50/image_26112025_15_50_35_10586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/15/48/image_26112025_15_48_44_9640.jpg
/home/pi/Desktop/images/26112025/15/49/image_26112025_15_49_34_9914.jpg
/home/pi/Desktop/images/26112025/15/49/image_26112025_15_49_54_9963.jpg
/home/pi/Desktop/images/26112025/15/50/image_26112025_15_50_05_10703.jpg
/home/pi/Desktop/images/26112025/15/50/image_26112025_15_50_25_20796.jpg
/home/pi/Desktop/images/26112025/15/50/image_26112025_15_50_35_10586.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":["1396277351","1396277429","1396277315","1396277392","1396277277","1396277466"],"photo_ids_order":["1396277277","1396277315","1396277351","1396277392","1396277429","1396277466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1195d03303f863667308c9884d191e85.jpg","text":"TemporaryFile(/tmp/multipartBody5323785036946537446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177803304,"filename":"image_26112025_15_49_54_9963.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b393e6fe2fb0be7f0ceea631141ac058.jpg","text":"TemporaryFile(/tmp/multipartBody2004040035297566404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177803304,"filename":"image_26112025_15_50_25_20796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8a15bb6e622125b01745be4678523513.jpg","text":"TemporaryFile(/tmp/multipartBody2806477431494999232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177803304,"filename":"image_26112025_15_49_34_9914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f2e0869b8d30dabd8bf710aa825367ed.jpg","text":"TemporaryFile(/tmp/multipartBody2368634491093273314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177803304,"filename":"image_26112025_15_50_05_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bc2f9cf350dc04a74c21710c829a165c.jpg","text":"TemporaryFile(/tmp/multipartBody4320086290939292958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177803304,"filename":"image_26112025_15_48_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/98e3221e742227aa4fa27228bd54e0a6.jpg","text":"TemporaryFile(/tmp/multipartBody9171554158161808226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177803304,"filename":"image_26112025_15_50_35_10586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396277351","file1":"1396277315","file0":"1396277277","file4":"1396277429","file5":"1396277466","file3":"1396277392"},"map_files_photo_id_array":[{"photo_id":"1396277466","filename":"file5"},{"photo_id":"1396277351","filename":"file2"},{"photo_id":"1396277429","filename":"file4"},{"photo_id":"1396277315","filename":"file1"},{"photo_id":"1396277277","filename":"file0"},{"photo_id":"1396277392","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396277351":["hashtag1","hashtag2"]},{"1396277429":["hashtag1","hashtag2"]},{"1396277315":["hashtag1","hashtag2"]},{"1396277392":["hashtag1","hashtag2"]},{"1396277277":["hashtag1","hashtag2"]},{"1396277466":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396277351, 1396277429, 1396277315, 1396277392, 1396277277, 1396277466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23237133026123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:23:03.507238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/15/50/image_26112025_15_50_45_9793.jpg', '/home/pi/Desktop/images/26112025/15/50/image_26112025_15_50_55_10075.jpg', '/home/pi/Desktop/images/26112025/15/51/image_26112025_15_51_25_20771.jpg', '/home/pi/Desktop/images/26112025/15/51/image_26112025_15_51_35_9835.jpg', '/home/pi/Desktop/images/26112025/15/51/image_26112025_15_51_45_20109.jpg', '/home/pi/Desktop/images/26112025/15/52/image_26112025_15_52_01_15987.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/15/50/image_26112025_15_50_45_9793.jpg
/home/pi/Desktop/images/26112025/15/50/image_26112025_15_50_55_10075.jpg
/home/pi/Desktop/images/26112025/15/51/image_26112025_15_51_25_20771.jpg
/home/pi/Desktop/images/26112025/15/51/image_26112025_15_51_35_9835.jpg
/home/pi/Desktop/images/26112025/15/51/image_26112025_15_51_45_20109.jpg
/home/pi/Desktop/images/26112025/15/52/image_26112025_15_52_01_15987.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":["1396277758","1396277734","1396277617","1396277696","1396277768","1396277660"],"photo_ids_order":["1396277617","1396277660","1396277696","1396277734","1396277758","1396277768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e7d191fda897c80e79017fad68610dd3.jpg","text":"TemporaryFile(/tmp/multipartBody1364071744724757281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177844293,"filename":"image_26112025_15_51_45_20109.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/537026425db56f5e770c221462febb86.jpg","text":"TemporaryFile(/tmp/multipartBody2179754740778023254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177844293,"filename":"image_26112025_15_51_35_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/99fb82d4f290e31ff1833f70eceb9d9e.jpg","text":"TemporaryFile(/tmp/multipartBody7399411271688861732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177844293,"filename":"image_26112025_15_50_45_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/51565faee225095f8ed270b1fdfb20eb.jpg","text":"TemporaryFile(/tmp/multipartBody867666495172869131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177844293,"filename":"image_26112025_15_51_25_20771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cb721a4d3d7ac18f9443951a6e57d613.jpg","text":"TemporaryFile(/tmp/multipartBody1608709039070025688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177844293,"filename":"image_26112025_15_52_01_15987.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c329aaf44c6c6dfc4c486ab1a95eb80d.jpg","text":"TemporaryFile(/tmp/multipartBody4205908874659926974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177844293,"filename":"image_26112025_15_50_55_10075.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396277696","file1":"1396277660","file0":"1396277617","file4":"1396277758","file5":"1396277768","file3":"1396277734"},"map_files_photo_id_array":[{"photo_id":"1396277768","filename":"file5"},{"photo_id":"1396277696","filename":"file2"},{"photo_id":"1396277758","filename":"file4"},{"photo_id":"1396277660","filename":"file1"},{"photo_id":"1396277617","filename":"file0"},{"photo_id":"1396277734","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396277758":["hashtag1","hashtag2"]},{"1396277734":["hashtag1","hashtag2"]},{"1396277617":["hashtag1","hashtag2"]},{"1396277696":["hashtag1","hashtag2"]},{"1396277768":["hashtag1","hashtag2"]},{"1396277660":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396277758, 1396277734, 1396277617, 1396277696, 1396277768, 1396277660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.659982442855835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 18:23:42.782376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/03/image_30102025_20_03_59_2730.jpg', '/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_01_2610.jpg', '/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_05_3480.jpg', '/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_08_2999.jpg', '/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_11_2781.jpg', '/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_14_3263.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/03/image_30102025_20_03_59_2730.jpg
/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_01_2610.jpg
/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_05_3480.jpg
/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_08_2999.jpg
/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_11_2781.jpg
/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_14_3263.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":["1396278160","1396278226","1396278096","1396278028","1396277973","1396277940"],"photo_ids_order":["1396277940","1396277973","1396278028","1396278096","1396278160","1396278226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/01df044d122291cd24252eae72d8b7af.jpg","text":"TemporaryFile(/tmp/multipartBody7066020921514116653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177889392,"filename":"image_30102025_20_04_11_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/26/86e656ef7724913f5109e163726ae0f1.jpg","text":"TemporaryFile(/tmp/multipartBody8956197843083141941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177889392,"filename":"image_30102025_20_04_14_3263.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aa6cbe1cfc0aa4d2728c51906339af29.jpg","text":"TemporaryFile(/tmp/multipartBody2550211337749791611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177889392,"filename":"image_30102025_20_04_08_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/26/e80366e955ccb970e179e3ed1b046fd8.jpg","text":"TemporaryFile(/tmp/multipartBody5685338540559826529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177889392,"filename":"image_30102025_20_04_05_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/26/764501d4dc0e33a5a4a6cf6c815f4917.jpg","text":"TemporaryFile(/tmp/multipartBody983132463961075642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177889392,"filename":"image_30102025_20_04_01_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/26/90386141dff8e0504c17fed7378f1288.jpg","text":"TemporaryFile(/tmp/multipartBody6536415317747244080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177889392,"filename":"image_30102025_20_03_59_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396278028","file1":"1396277973","file0":"1396277940","file4":"1396278160","file5":"1396278226","file3":"1396278096"},"map_files_photo_id_array":[{"photo_id":"1396278226","filename":"file5"},{"photo_id":"1396278028","filename":"file2"},{"photo_id":"1396278160","filename":"file4"},{"photo_id":"1396277973","filename":"file1"},{"photo_id":"1396277940","filename":"file0"},{"photo_id":"1396278096","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396278160":["hashtag1","hashtag2"]},{"1396278226":["hashtag1","hashtag2"]},{"1396278096":["hashtag1","hashtag2"]},{"1396278028":["hashtag1","hashtag2"]},{"1396277973":["hashtag1","hashtag2"]},{"1396277940":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396278160, 1396278226, 1396278096, 1396278028, 1396277973, 1396277940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.28251123428345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 18:24:31.890447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_49_2751.jpg', '/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_52_3543.jpg', '/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_57_2656.jpg', '/home/pi/Desktop/images/20112025/23/03/image_20112025_23_04_01_3637.jpg', '/home/pi/Desktop/images/20112025/23/04/image_20112025_23_04_04_2771.jpg', '/home/pi/Desktop/images/20112025/23/04/image_20112025_23_04_09_2884.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_49_2751.jpg
/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_52_3543.jpg
/home/pi/Desktop/images/20112025/23/03/image_20112025_23_03_57_2656.jpg
/home/pi/Desktop/images/20112025/23/03/image_20112025_23_04_01_3637.jpg
/home/pi/Desktop/images/20112025/23/04/image_20112025_23_04_04_2771.jpg
/home/pi/Desktop/images/20112025/23/04/image_20112025_23_04_09_2884.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":["1396278556","1396278553","1396278615","1396278543","1396278606","1396278593"],"photo_ids_order":["1396278543","1396278553","1396278556","1396278593","1396278606","1396278615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/99170216d1664ca5a2e96d7161ec2553.jpg","text":"TemporaryFile(/tmp/multipartBody3084662949454302969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177933753,"filename":"image_20112025_23_03_57_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/26/2ecf217d05c2f63894da17414dda7dfe.jpg","text":"TemporaryFile(/tmp/multipartBody5984859348096776854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177933753,"filename":"image_20112025_23_03_52_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/26/4f033e333436699af14db32b89e96d11.jpg","text":"TemporaryFile(/tmp/multipartBody7078061524909429917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177933753,"filename":"image_20112025_23_04_09_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/26/b3ed9e70ae702041b5f06e0f1356b967.jpg","text":"TemporaryFile(/tmp/multipartBody2477813898600202779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177933753,"filename":"image_20112025_23_03_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/26/104cddc75197accbf0c4cef95c718305.jpg","text":"TemporaryFile(/tmp/multipartBody5190597463187940194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177933753,"filename":"image_20112025_23_04_04_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/26/3d6a724a29347111cfc9f862618dac55.jpg","text":"TemporaryFile(/tmp/multipartBody3037887300693242224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177933753,"filename":"image_20112025_23_04_01_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396278556","file1":"1396278553","file0":"1396278543","file4":"1396278606","file5":"1396278615","file3":"1396278593"},"map_files_photo_id_array":[{"photo_id":"1396278615","filename":"file5"},{"photo_id":"1396278556","filename":"file2"},{"photo_id":"1396278606","filename":"file4"},{"photo_id":"1396278553","filename":"file1"},{"photo_id":"1396278543","filename":"file0"},{"photo_id":"1396278593","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396278556":["hashtag1","hashtag2"]},{"1396278553":["hashtag1","hashtag2"]},{"1396278615":["hashtag1","hashtag2"]},{"1396278543":["hashtag1","hashtag2"]},{"1396278606":["hashtag1","hashtag2"]},{"1396278593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396278556, 1396278553, 1396278615, 1396278543, 1396278606, 1396278593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.128145933151245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 18:25:12.099499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/04/image_20112025_23_04_13_3727.jpg', '/home/pi/Desktop/images/20112025/23/04/image_20112025_23_04_16_2898.jpg', '/home/pi/Desktop/images/20112025/23/04/image_20112025_23_04_19_2665.jpg', '/home/pi/Desktop/images/20112025/23/04/image_20112025_23_04_21_2694.jpg', '/home/pi/Desktop/images/20112025/23/04/image_20112025_23_04_57_2564.jpg', '/home/pi/Desktop/images/20112025/23/04/image_20112025_23_05_01_3627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/04/image_20112025_23_04_13_3727.jpg
/home/pi/Desktop/images/20112025/23/04/image_20112025_23_04_16_2898.jpg
/home/pi/Desktop/images/20112025/23/04/image_20112025_23_04_19_2665.jpg
/home/pi/Desktop/images/20112025/23/04/image_20112025_23_04_21_2694.jpg
/home/pi/Desktop/images/20112025/23/04/image_20112025_23_04_57_2564.jpg
/home/pi/Desktop/images/20112025/23/04/image_20112025_23_05_01_3627.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":["1396278775","1396278736","1396278733","1396278924","1396278883","1396278821"],"photo_ids_order":["1396278733","1396278736","1396278775","1396278821","1396278883","1396278924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/733584d7fb4645e3f22567786a1cd807.jpg","text":"TemporaryFile(/tmp/multipartBody858658212863445656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177973945,"filename":"image_20112025_23_04_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/26/3d824fd76a4860821895fdf504d5ac5b.jpg","text":"TemporaryFile(/tmp/multipartBody3600181355697534374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177973945,"filename":"image_20112025_23_04_16_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/26/6b56ebb327fe77299e31b30d5b8abbce.jpg","text":"TemporaryFile(/tmp/multipartBody6530824635194616125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177973945,"filename":"image_20112025_23_04_13_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/26/493a47732045de58fbbb6fe9c32e1aae.jpg","text":"TemporaryFile(/tmp/multipartBody2072290999570732935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177973945,"filename":"image_20112025_23_05_01_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2b5571cc03d1cc03f8c84c1bab117c9b.jpg","text":"TemporaryFile(/tmp/multipartBody8072102452240736737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177973945,"filename":"image_20112025_23_04_57_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/26/a85c5d8a36115a04a300c09858f58617.jpg","text":"TemporaryFile(/tmp/multipartBody9159495878471150039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764177973945,"filename":"image_20112025_23_04_21_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396278775","file1":"1396278736","file0":"1396278733","file4":"1396278883","file5":"1396278924","file3":"1396278821"},"map_files_photo_id_array":[{"photo_id":"1396278924","filename":"file5"},{"photo_id":"1396278775","filename":"file2"},{"photo_id":"1396278883","filename":"file4"},{"photo_id":"1396278736","filename":"file1"},{"photo_id":"1396278733","filename":"file0"},{"photo_id":"1396278821","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396278775":["hashtag1","hashtag2"]},{"1396278736":["hashtag1","hashtag2"]},{"1396278733":["hashtag1","hashtag2"]},{"1396278924":["hashtag1","hashtag2"]},{"1396278883":["hashtag1","hashtag2"]},{"1396278821":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396278775, 1396278736, 1396278733, 1396278924, 1396278883, 1396278821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.571653604507446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:26:02.853867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/15/52/image_26112025_15_52_05_19739.jpg', '/home/pi/Desktop/images/26112025/15/52/image_26112025_15_52_15_10604.jpg', '/home/pi/Desktop/images/26112025/15/52/image_26112025_15_52_24_19721.jpg', '/home/pi/Desktop/images/26112025/15/52/image_26112025_15_52_25_9688.jpg', '/home/pi/Desktop/images/26112025/15/52/image_26112025_15_52_35_9740.jpg', '/home/pi/Desktop/images/26112025/15/53/image_26112025_15_53_24_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/15/52/image_26112025_15_52_05_19739.jpg
/home/pi/Desktop/images/26112025/15/52/image_26112025_15_52_15_10604.jpg
/home/pi/Desktop/images/26112025/15/52/image_26112025_15_52_24_19721.jpg
/home/pi/Desktop/images/26112025/15/52/image_26112025_15_52_25_9688.jpg
/home/pi/Desktop/images/26112025/15/52/image_26112025_15_52_35_9740.jpg
/home/pi/Desktop/images/26112025/15/53/image_26112025_15_53_24_9695.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":["1396279039","1396279059","1396279041","1396279079","1396279037","1396279010"],"photo_ids_order":["1396279010","1396279037","1396279039","1396279041","1396279059","1396279079"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/77dec8fd9447a51fad238a7277875dd5.jpg","text":"TemporaryFile(/tmp/multipartBody6904309261727002416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178023577,"filename":"image_26112025_15_52_24_19721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7157a227de223abba1eadd4f8423bdb6.jpg","text":"TemporaryFile(/tmp/multipartBody6357135177794360994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178023577,"filename":"image_26112025_15_52_35_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2efd024131c2f468cc1873675c419c69.jpg","text":"TemporaryFile(/tmp/multipartBody6640520958395692270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178023577,"filename":"image_26112025_15_52_25_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c33dd04ac42358c95e85d5f413d7ca55.jpg","text":"TemporaryFile(/tmp/multipartBody8289218379051260383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178023577,"filename":"image_26112025_15_53_24_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/efb74c5ce99cc9b35ad6bac81f1f87d9.jpg","text":"TemporaryFile(/tmp/multipartBody6457930541631038676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178023577,"filename":"image_26112025_15_52_15_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/281e6c9326838e64d8ae2fd2ef9c8312.jpg","text":"TemporaryFile(/tmp/multipartBody1844646655739659447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178023577,"filename":"image_26112025_15_52_05_19739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396279039","file1":"1396279037","file0":"1396279010","file4":"1396279059","file5":"1396279079","file3":"1396279041"},"map_files_photo_id_array":[{"photo_id":"1396279079","filename":"file5"},{"photo_id":"1396279039","filename":"file2"},{"photo_id":"1396279059","filename":"file4"},{"photo_id":"1396279037","filename":"file1"},{"photo_id":"1396279010","filename":"file0"},{"photo_id":"1396279041","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396279039":["hashtag1","hashtag2"]},{"1396279059":["hashtag1","hashtag2"]},{"1396279041":["hashtag1","hashtag2"]},{"1396279079":["hashtag1","hashtag2"]},{"1396279037":["hashtag1","hashtag2"]},{"1396279010":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396279039, 1396279059, 1396279041, 1396279079, 1396279037, 1396279010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3001708984375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 18:26:42.416009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_17_2682.jpg', '/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_19_2736.jpg', '/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_23_3863.jpg', '/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_26_2633.jpg', '/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_29_2656.jpg', '/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_32_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_17_2682.jpg
/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_19_2736.jpg
/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_23_3863.jpg
/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_26_2633.jpg
/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_29_2656.jpg
/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_32_3676.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":["1396279102","1396279161","1396279196","1396279101","1396279127","1396279099"],"photo_ids_order":["1396279099","1396279101","1396279102","1396279127","1396279161","1396279196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f4eb6e8029e38753243c45f94fb51a04.jpg","text":"TemporaryFile(/tmp/multipartBody8574226234955826952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178063908,"filename":"image_30102025_20_04_23_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/26/87f4326174cba75659c2e4ff1928acd1.jpg","text":"TemporaryFile(/tmp/multipartBody1741907419609266343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178063908,"filename":"image_30102025_20_04_29_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/38f6729697696ae621d579ed5a14b999.jpg","text":"TemporaryFile(/tmp/multipartBody8201133586557300756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178063908,"filename":"image_30102025_20_04_32_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/26/083dd9cfe965a91ac4e76786a3d13f6c.jpg","text":"TemporaryFile(/tmp/multipartBody1187867960621705685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178063908,"filename":"image_30102025_20_04_19_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/11ba94892695930e43038997203655da.jpg","text":"TemporaryFile(/tmp/multipartBody8771593981398881293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178063908,"filename":"image_30102025_20_04_26_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/26/a616926b2ee1d3ef35d86a7f356ca8a4.jpg","text":"TemporaryFile(/tmp/multipartBody2116613306991290516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178063908,"filename":"image_30102025_20_04_17_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396279102","file1":"1396279101","file0":"1396279099","file4":"1396279161","file5":"1396279196","file3":"1396279127"},"map_files_photo_id_array":[{"photo_id":"1396279196","filename":"file5"},{"photo_id":"1396279102","filename":"file2"},{"photo_id":"1396279161","filename":"file4"},{"photo_id":"1396279101","filename":"file1"},{"photo_id":"1396279099","filename":"file0"},{"photo_id":"1396279127","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396279102":["hashtag1","hashtag2"]},{"1396279161":["hashtag1","hashtag2"]},{"1396279196":["hashtag1","hashtag2"]},{"1396279101":["hashtag1","hashtag2"]},{"1396279127":["hashtag1","hashtag2"]},{"1396279099":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396279102, 1396279161, 1396279196, 1396279101, 1396279127, 1396279099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47011637687683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 18:27:22.695764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/15/53/image_26112025_15_53_25_19954.jpg', '/home/pi/Desktop/images/26112025/15/53/image_26112025_15_53_34_9852.jpg', '/home/pi/Desktop/images/26112025/15/53/image_26112025_15_53_45_10628.jpg', '/home/pi/Desktop/images/26112025/15/53/image_26112025_15_53_45_20051.jpg', '/home/pi/Desktop/images/26112025/15/53/image_26112025_15_53_55_9716.jpg', '/home/pi/Desktop/images/26112025/15/55/image_26112025_15_55_25_20832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/15/53/image_26112025_15_53_25_19954.jpg
/home/pi/Desktop/images/26112025/15/53/image_26112025_15_53_34_9852.jpg
/home/pi/Desktop/images/26112025/15/53/image_26112025_15_53_45_10628.jpg
/home/pi/Desktop/images/26112025/15/53/image_26112025_15_53_45_20051.jpg
/home/pi/Desktop/images/26112025/15/53/image_26112025_15_53_55_9716.jpg
/home/pi/Desktop/images/26112025/15/55/image_26112025_15_55_25_20832.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":["1396279220","1396279214","1396279223","1396279217","1396279226","1396279211"],"photo_ids_order":["1396279211","1396279214","1396279217","1396279220","1396279223","1396279226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/99905b4892dd5b76e358c28d9244b0f0.jpg","text":"TemporaryFile(/tmp/multipartBody1421755345198615108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178103384,"filename":"image_26112025_15_53_45_20051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f03b93809329aee1062bf90ae56f65ad.jpg","text":"TemporaryFile(/tmp/multipartBody4314179631621576134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178103384,"filename":"image_26112025_15_53_34_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f1c97fd05b6c754349e27a6a62f9a1f5.jpg","text":"TemporaryFile(/tmp/multipartBody3732055024730910552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178103384,"filename":"image_26112025_15_53_55_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/84bd24f83e1391338e5f61a94580cec7.jpg","text":"TemporaryFile(/tmp/multipartBody4913645702254975876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178103384,"filename":"image_26112025_15_53_45_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/02cd751f051a37795add4bec8b9354f5.jpg","text":"TemporaryFile(/tmp/multipartBody3357885358276949601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178103384,"filename":"image_26112025_15_55_25_20832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d12d7b23fe8617aa707c2c6c3c1eb40b.jpg","text":"TemporaryFile(/tmp/multipartBody5942263846608964617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178103384,"filename":"image_26112025_15_53_25_19954.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396279217","file1":"1396279214","file0":"1396279211","file4":"1396279223","file5":"1396279226","file3":"1396279220"},"map_files_photo_id_array":[{"photo_id":"1396279226","filename":"file5"},{"photo_id":"1396279217","filename":"file2"},{"photo_id":"1396279223","filename":"file4"},{"photo_id":"1396279214","filename":"file1"},{"photo_id":"1396279211","filename":"file0"},{"photo_id":"1396279220","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396279220":["hashtag1","hashtag2"]},{"1396279214":["hashtag1","hashtag2"]},{"1396279223":["hashtag1","hashtag2"]},{"1396279217":["hashtag1","hashtag2"]},{"1396279226":["hashtag1","hashtag2"]},{"1396279211":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396279220, 1396279214, 1396279223, 1396279217, 1396279226, 1396279211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80435514450073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:28:03.257057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/15/55/image_26112025_15_56_04_19710.jpg', '/home/pi/Desktop/images/26112025/15/55/image_26112025_15_56_05_9709.jpg', '/home/pi/Desktop/images/26112025/15/56/image_26112025_15_56_15_9745.jpg', '/home/pi/Desktop/images/26112025/15/56/image_26112025_15_56_24_19726.jpg', '/home/pi/Desktop/images/26112025/15/56/image_26112025_15_56_24_9811.jpg', '/home/pi/Desktop/images/26112025/15/56/image_26112025_15_56_35_10737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/15/55/image_26112025_15_56_04_19710.jpg
/home/pi/Desktop/images/26112025/15/55/image_26112025_15_56_05_9709.jpg
/home/pi/Desktop/images/26112025/15/56/image_26112025_15_56_15_9745.jpg
/home/pi/Desktop/images/26112025/15/56/image_26112025_15_56_24_19726.jpg
/home/pi/Desktop/images/26112025/15/56/image_26112025_15_56_24_9811.jpg
/home/pi/Desktop/images/26112025/15/56/image_26112025_15_56_35_10737.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":["1396279228","1396279326","1396279292","1396279229","1396279363","1396279258"],"photo_ids_order":["1396279228","1396279229","1396279258","1396279292","1396279326","1396279363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0e107250e128bb287c7829995e7a7ac7.jpg","text":"TemporaryFile(/tmp/multipartBody6763204143805622262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178143980,"filename":"image_26112025_15_56_04_19710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c0f172de427f9767733f5b4d05660eca.jpg","text":"TemporaryFile(/tmp/multipartBody8178527976134889875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178143980,"filename":"image_26112025_15_56_24_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d7e407fceec583a8b6177beb7c85f91f.jpg","text":"TemporaryFile(/tmp/multipartBody2541119533821883696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178143980,"filename":"image_26112025_15_56_24_19726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/334fff640eab648972edbc142b236f39.jpg","text":"TemporaryFile(/tmp/multipartBody2621455593549369263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178143980,"filename":"image_26112025_15_56_05_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/314ca0619383ad9092a9f272be2cf8f2.jpg","text":"TemporaryFile(/tmp/multipartBody4803512943446718652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178143980,"filename":"image_26112025_15_56_35_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ae6cfd999998b61ffcc0fa718333b15a.jpg","text":"TemporaryFile(/tmp/multipartBody4931818684620587728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178143980,"filename":"image_26112025_15_56_15_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396279258","file1":"1396279229","file0":"1396279228","file4":"1396279326","file5":"1396279363","file3":"1396279292"},"map_files_photo_id_array":[{"photo_id":"1396279363","filename":"file5"},{"photo_id":"1396279258","filename":"file2"},{"photo_id":"1396279326","filename":"file4"},{"photo_id":"1396279229","filename":"file1"},{"photo_id":"1396279228","filename":"file0"},{"photo_id":"1396279292","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396279228":["hashtag1","hashtag2"]},{"1396279326":["hashtag1","hashtag2"]},{"1396279292":["hashtag1","hashtag2"]},{"1396279229":["hashtag1","hashtag2"]},{"1396279363":["hashtag1","hashtag2"]},{"1396279258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396279228, 1396279326, 1396279292, 1396279229, 1396279363, 1396279258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90324878692627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 18:28:42.812275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_35_2612.jpg', '/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_38_2679.jpg', '/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_41_3711.jpg', '/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_44_2744.jpg', '/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_47_2921.jpg', '/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_59_1629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_35_2612.jpg
/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_38_2679.jpg
/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_41_3711.jpg
/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_44_2744.jpg
/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_47_2921.jpg
/home/pi/Desktop/images/30102025/20/04/image_30102025_20_04_59_1629.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":["1396279519","1396279691","1396279623","1396279589","1396279658","1396279552"],"photo_ids_order":["1396279519","1396279552","1396279589","1396279623","1396279658","1396279691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7ecc292c55d5cea5a03d0178fc4a7560.jpg","text":"TemporaryFile(/tmp/multipartBody5742693217882159313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178184311,"filename":"image_30102025_20_04_35_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/26/9a037dae6222440a9e4e0550e9281bf1.jpg","text":"TemporaryFile(/tmp/multipartBody3073749308599559757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178184311,"filename":"image_30102025_20_04_59_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/26/a3ccb60b2ccdf8117900204c3c517758.jpg","text":"TemporaryFile(/tmp/multipartBody8219468946930165994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178184311,"filename":"image_30102025_20_04_44_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/26/ae1174b2cccf095c7c9818af0c23d1b2.jpg","text":"TemporaryFile(/tmp/multipartBody4522088407381358549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178184311,"filename":"image_30102025_20_04_41_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/26/35fc33257277c3302a20690d6e6aaf28.jpg","text":"TemporaryFile(/tmp/multipartBody8600774263608319199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178184311,"filename":"image_30102025_20_04_47_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/26/376f3ae4cf085a419b48d4ea5de5021e.jpg","text":"TemporaryFile(/tmp/multipartBody3744625163280135429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178184311,"filename":"image_30102025_20_04_38_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396279589","file1":"1396279552","file0":"1396279519","file4":"1396279658","file5":"1396279691","file3":"1396279623"},"map_files_photo_id_array":[{"photo_id":"1396279691","filename":"file5"},{"photo_id":"1396279589","filename":"file2"},{"photo_id":"1396279658","filename":"file4"},{"photo_id":"1396279552","filename":"file1"},{"photo_id":"1396279519","filename":"file0"},{"photo_id":"1396279623","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396279519":["hashtag1","hashtag2"]},{"1396279691":["hashtag1","hashtag2"]},{"1396279623":["hashtag1","hashtag2"]},{"1396279589":["hashtag1","hashtag2"]},{"1396279658":["hashtag1","hashtag2"]},{"1396279552":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396279519, 1396279691, 1396279623, 1396279589, 1396279658, 1396279552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17495059967041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 18:29:22.013821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/15/56/image_26112025_15_56_45_20654.jpg', '/home/pi/Desktop/images/26112025/15/56/image_26112025_15_56_45_9648.jpg', '/home/pi/Desktop/images/26112025/15/56/image_26112025_15_56_55_9990.jpg', '/home/pi/Desktop/images/26112025/15/56/image_26112025_15_57_04_19892.jpg', '/home/pi/Desktop/images/26112025/15/57/image_26112025_15_57_15_10671.jpg', '/home/pi/Desktop/images/26112025/15/57/image_26112025_15_57_24_19752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/15/56/image_26112025_15_56_45_20654.jpg
/home/pi/Desktop/images/26112025/15/56/image_26112025_15_56_45_9648.jpg
/home/pi/Desktop/images/26112025/15/56/image_26112025_15_56_55_9990.jpg
/home/pi/Desktop/images/26112025/15/56/image_26112025_15_57_04_19892.jpg
/home/pi/Desktop/images/26112025/15/57/image_26112025_15_57_15_10671.jpg
/home/pi/Desktop/images/26112025/15/57/image_26112025_15_57_24_19752.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":["1396280006","1396279933","1396279968","1396279862","1396279901","1396279823"],"photo_ids_order":["1396279823","1396279862","1396279901","1396279933","1396279968","1396280006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/32ec5870b9fd769ea4b9c2baa49bf878.jpg","text":"TemporaryFile(/tmp/multipartBody7203087554008194434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178222703,"filename":"image_26112025_15_57_24_19752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1701e10eef28cd199b6191ee974854c0.jpg","text":"TemporaryFile(/tmp/multipartBody2063782385119302076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178222703,"filename":"image_26112025_15_57_04_19892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b7349026cc5c97d5e2ca6627c86690d3.jpg","text":"TemporaryFile(/tmp/multipartBody5582242690749327258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178222703,"filename":"image_26112025_15_57_15_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e765a955ec2ca256a5c784bf1310f82c.jpg","text":"TemporaryFile(/tmp/multipartBody478796076496637054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178222703,"filename":"image_26112025_15_56_45_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6865f60897acc3b368a8e3cdc17d5945.jpg","text":"TemporaryFile(/tmp/multipartBody1852612231347711569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178222703,"filename":"image_26112025_15_56_55_9990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f47b2093ad7da639de1419331bbcff44.jpg","text":"TemporaryFile(/tmp/multipartBody4086745055470479678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178222703,"filename":"image_26112025_15_56_45_20654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396279901","file1":"1396279862","file0":"1396279823","file4":"1396279968","file5":"1396280006","file3":"1396279933"},"map_files_photo_id_array":[{"photo_id":"1396280006","filename":"file5"},{"photo_id":"1396279901","filename":"file2"},{"photo_id":"1396279968","filename":"file4"},{"photo_id":"1396279862","filename":"file1"},{"photo_id":"1396279823","filename":"file0"},{"photo_id":"1396279933","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396280006":["hashtag1","hashtag2"]},{"1396279933":["hashtag1","hashtag2"]},{"1396279968":["hashtag1","hashtag2"]},{"1396279862":["hashtag1","hashtag2"]},{"1396279901":["hashtag1","hashtag2"]},{"1396279823":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396280006, 1396279933, 1396279968, 1396279862, 1396279901, 1396279823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.646854877471924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:30:02.887766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/15/57/image_26112025_15_57_25_9603.jpg', '/home/pi/Desktop/images/26112025/15/57/image_26112025_15_57_34_9681.jpg', '/home/pi/Desktop/images/26112025/15/57/image_26112025_15_57_44_19639.jpg', '/home/pi/Desktop/images/26112025/15/57/image_26112025_15_57_45_10670.jpg', '/home/pi/Desktop/images/26112025/15/57/image_26112025_15_57_55_9597.jpg', '/home/pi/Desktop/images/26112025/15/57/image_26112025_15_58_04_20606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/15/57/image_26112025_15_57_25_9603.jpg
/home/pi/Desktop/images/26112025/15/57/image_26112025_15_57_34_9681.jpg
/home/pi/Desktop/images/26112025/15/57/image_26112025_15_57_44_19639.jpg
/home/pi/Desktop/images/26112025/15/57/image_26112025_15_57_45_10670.jpg
/home/pi/Desktop/images/26112025/15/57/image_26112025_15_57_55_9597.jpg
/home/pi/Desktop/images/26112025/15/57/image_26112025_15_58_04_20606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 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":["1396280089","1396280108","1396280098","1396280094","1396280178","1396280144"],"photo_ids_order":["1396280089","1396280094","1396280098","1396280108","1396280144","1396280178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/073f45a303be064e2321ae5e20947550.jpg","text":"TemporaryFile(/tmp/multipartBody8562448196314568084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178288864,"filename":"image_26112025_15_57_25_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4ededcdedcdbd4ef3d48217a761515b4.jpg","text":"TemporaryFile(/tmp/multipartBody9139091635300449013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178288864,"filename":"image_26112025_15_57_45_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/28597f665195d04411784b38284bd26e.jpg","text":"TemporaryFile(/tmp/multipartBody7647095143473983764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178288864,"filename":"image_26112025_15_57_44_19639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/523cc6985b315186d37b699ca62e8907.jpg","text":"TemporaryFile(/tmp/multipartBody3962318866653112080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178288864,"filename":"image_26112025_15_57_34_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eca528c7c2234780b154b214889f8485.jpg","text":"TemporaryFile(/tmp/multipartBody8656585909991898927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178288864,"filename":"image_26112025_15_58_04_20606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bb69600ce6dd236c2c7cf93c14257518.jpg","text":"TemporaryFile(/tmp/multipartBody2436932080974907007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178288864,"filename":"image_26112025_15_57_55_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396280098","file1":"1396280094","file0":"1396280089","file4":"1396280144","file5":"1396280178","file3":"1396280108"},"map_files_photo_id_array":[{"photo_id":"1396280178","filename":"file5"},{"photo_id":"1396280098","filename":"file2"},{"photo_id":"1396280144","filename":"file4"},{"photo_id":"1396280094","filename":"file1"},{"photo_id":"1396280089","filename":"file0"},{"photo_id":"1396280108","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396280089":["hashtag1","hashtag2"]},{"1396280108":["hashtag1","hashtag2"]},{"1396280098":["hashtag1","hashtag2"]},{"1396280094":["hashtag1","hashtag2"]},{"1396280178":["hashtag1","hashtag2"]},{"1396280144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396280089, 1396280108, 1396280098, 1396280094, 1396280178, 1396280144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.74079179763794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 18:31:12.721206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/05/image_20112025_23_05_04_2774.jpg', '/home/pi/Desktop/images/20112025/23/05/image_20112025_23_05_10_3705.jpg', '/home/pi/Desktop/images/20112025/23/05/image_20112025_23_05_22_3760.jpg', '/home/pi/Desktop/images/20112025/23/05/image_20112025_23_05_30_2803.jpg', '/home/pi/Desktop/images/20112025/23/05/image_20112025_23_05_34_3721.jpg', '/home/pi/Desktop/images/20112025/23/05/image_20112025_23_05_43_3773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/05/image_20112025_23_05_04_2774.jpg
/home/pi/Desktop/images/20112025/23/05/image_20112025_23_05_10_3705.jpg
/home/pi/Desktop/images/20112025/23/05/image_20112025_23_05_22_3760.jpg
/home/pi/Desktop/images/20112025/23/05/image_20112025_23_05_30_2803.jpg
/home/pi/Desktop/images/20112025/23/05/image_20112025_23_05_34_3721.jpg
/home/pi/Desktop/images/20112025/23/05/image_20112025_23_05_43_3773.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":["1396280413","1396280375","1396280369","1396280441","1396280444","1396280372"],"photo_ids_order":["1396280369","1396280372","1396280375","1396280413","1396280441","1396280444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ec056ebacb2670272f57fb5190dbc3cb.jpg","text":"TemporaryFile(/tmp/multipartBody8066567980558527370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178337087,"filename":"image_20112025_23_05_30_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/26/7967cb449232826eb7b08f79f010e461.jpg","text":"TemporaryFile(/tmp/multipartBody7934958052580949388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178337087,"filename":"image_20112025_23_05_22_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/26/5e093babc138f5925a7dc50caceb9048.jpg","text":"TemporaryFile(/tmp/multipartBody4902760415245893597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178337087,"filename":"image_20112025_23_05_04_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/efddf498265670866bd64e3c4709d5bd.jpg","text":"TemporaryFile(/tmp/multipartBody1473033605417072234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178337087,"filename":"image_20112025_23_05_34_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/26/8e3ed7fc40e886240cdcdd5445c53e09.jpg","text":"TemporaryFile(/tmp/multipartBody3980502995188159896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178337087,"filename":"image_20112025_23_05_43_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/475e02d69e740223f2876cb1e31a821f.jpg","text":"TemporaryFile(/tmp/multipartBody6147011176559687155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178337087,"filename":"image_20112025_23_05_10_3705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396280375","file1":"1396280372","file0":"1396280369","file4":"1396280441","file5":"1396280444","file3":"1396280413"},"map_files_photo_id_array":[{"photo_id":"1396280444","filename":"file5"},{"photo_id":"1396280375","filename":"file2"},{"photo_id":"1396280441","filename":"file4"},{"photo_id":"1396280372","filename":"file1"},{"photo_id":"1396280369","filename":"file0"},{"photo_id":"1396280413","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396280413":["hashtag1","hashtag2"]},{"1396280375":["hashtag1","hashtag2"]},{"1396280369":["hashtag1","hashtag2"]},{"1396280441":["hashtag1","hashtag2"]},{"1396280444":["hashtag1","hashtag2"]},{"1396280372":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396280413, 1396280375, 1396280369, 1396280441, 1396280444, 1396280372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.97543907165527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:32:02.338298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/15/57/image_26112025_15_58_04_9650.jpg', '/home/pi/Desktop/images/26112025/15/58/image_26112025_15_58_15_10787.jpg', '/home/pi/Desktop/images/26112025/15/58/image_26112025_15_58_24_20007.jpg', '/home/pi/Desktop/images/26112025/15/58/image_26112025_15_58_35_10557.jpg', '/home/pi/Desktop/images/26112025/15/58/image_26112025_15_58_44_19562.jpg', '/home/pi/Desktop/images/26112025/15/58/image_26112025_15_58_45_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/15/57/image_26112025_15_58_04_9650.jpg
/home/pi/Desktop/images/26112025/15/58/image_26112025_15_58_15_10787.jpg
/home/pi/Desktop/images/26112025/15/58/image_26112025_15_58_24_20007.jpg
/home/pi/Desktop/images/26112025/15/58/image_26112025_15_58_35_10557.jpg
/home/pi/Desktop/images/26112025/15/58/image_26112025_15_58_44_19562.jpg
/home/pi/Desktop/images/26112025/15/58/image_26112025_15_58_45_9587.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":["1396280521","1396280518","1396280523","1396280517","1396280525","1396280528"],"photo_ids_order":["1396280517","1396280518","1396280521","1396280523","1396280525","1396280528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b3c370b16fa4659ae6bcd99d313d0419.jpg","text":"TemporaryFile(/tmp/multipartBody6125680291804639792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178383072,"filename":"image_26112025_15_58_24_20007.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f26f4ed38b2f144f88e1d65a09802c1a.jpg","text":"TemporaryFile(/tmp/multipartBody5650806531537567458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178383072,"filename":"image_26112025_15_58_15_10787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8b30b1c60895c9cdf8d4c73408fcf901.jpg","text":"TemporaryFile(/tmp/multipartBody896329595873609071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178383072,"filename":"image_26112025_15_58_35_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/db993b64cc2d3be37f324bd99aec19d5.jpg","text":"TemporaryFile(/tmp/multipartBody822339094283969850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178383072,"filename":"image_26112025_15_58_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/031502279a48a78d693a8df0b9aa8e34.jpg","text":"TemporaryFile(/tmp/multipartBody1512141466501420146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178383072,"filename":"image_26112025_15_58_44_19562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b4111ef3d077a08e31fc89b82e4deaf6.jpg","text":"TemporaryFile(/tmp/multipartBody7891821089555263078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178383072,"filename":"image_26112025_15_58_45_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396280521","file1":"1396280518","file0":"1396280517","file4":"1396280525","file5":"1396280528","file3":"1396280523"},"map_files_photo_id_array":[{"photo_id":"1396280528","filename":"file5"},{"photo_id":"1396280521","filename":"file2"},{"photo_id":"1396280525","filename":"file4"},{"photo_id":"1396280518","filename":"file1"},{"photo_id":"1396280517","filename":"file0"},{"photo_id":"1396280523","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396280521":["hashtag1","hashtag2"]},{"1396280518":["hashtag1","hashtag2"]},{"1396280523":["hashtag1","hashtag2"]},{"1396280517":["hashtag1","hashtag2"]},{"1396280525":["hashtag1","hashtag2"]},{"1396280528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396280521, 1396280518, 1396280523, 1396280517, 1396280525, 1396280528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05777597427368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 18:32:41.856800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_01_1630.jpg', '/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_03_2246.jpg', '/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_05_1716.jpg', '/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_06_1594.jpg', '/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_08_1596.jpg', '/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_13_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_01_1630.jpg
/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_03_2246.jpg
/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_05_1716.jpg
/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_06_1594.jpg
/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_08_1596.jpg
/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_13_2587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396280548","1396280545","1396280544","1396280547","1396280549","1396280546"],"photo_ids_order":["1396280544","1396280545","1396280546","1396280547","1396280548","1396280549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/11a6cc4745b644f73bad6329e56eb5fa.jpg","text":"TemporaryFile(/tmp/multipartBody1722717656818027508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178423352,"filename":"image_30102025_20_05_08_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/837b32917618cfdff6dc36c8a702e8bc.jpg","text":"TemporaryFile(/tmp/multipartBody5821842669484675043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178423352,"filename":"image_30102025_20_05_03_2246.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d431c04437f0ee49ef4121cb03d3eb77.jpg","text":"TemporaryFile(/tmp/multipartBody4791271994036237832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178423352,"filename":"image_30102025_20_05_01_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/26/fc138ede61f22e03d38a484c9c1334df.jpg","text":"TemporaryFile(/tmp/multipartBody6334447668150430346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178423352,"filename":"image_30102025_20_05_06_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/26/6544dc07d87d43820d52553bd094b641.jpg","text":"TemporaryFile(/tmp/multipartBody8393925584454937176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178423352,"filename":"image_30102025_20_05_13_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d8d006e6a81f5afbdb6568d65a8ad86b.jpg","text":"TemporaryFile(/tmp/multipartBody757504733828560825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178423352,"filename":"image_30102025_20_05_05_1716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396280546","file1":"1396280545","file0":"1396280544","file4":"1396280548","file5":"1396280549","file3":"1396280547"},"map_files_photo_id_array":[{"photo_id":"1396280549","filename":"file5"},{"photo_id":"1396280546","filename":"file2"},{"photo_id":"1396280548","filename":"file4"},{"photo_id":"1396280545","filename":"file1"},{"photo_id":"1396280544","filename":"file0"},{"photo_id":"1396280547","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396280548":["hashtag1","hashtag2"]},{"1396280545":["hashtag1","hashtag2"]},{"1396280544":["hashtag1","hashtag2"]},{"1396280547":["hashtag1","hashtag2"]},{"1396280549":["hashtag1","hashtag2"]},{"1396280546":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396280548, 1396280545, 1396280544, 1396280547, 1396280549, 1396280546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00892353057861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 18:33:22.013301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/15/58/image_26112025_15_58_54_9671.jpg', '/home/pi/Desktop/images/26112025/15/58/image_26112025_15_59_05_10560.jpg', '/home/pi/Desktop/images/26112025/15/58/image_26112025_15_59_05_20659.jpg', '/home/pi/Desktop/images/26112025/15/59/image_26112025_15_59_15_9715.jpg', '/home/pi/Desktop/images/26112025/15/59/image_26112025_15_59_24_19669.jpg', '/home/pi/Desktop/images/26112025/15/59/image_26112025_15_59_35_10708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/15/58/image_26112025_15_58_54_9671.jpg
/home/pi/Desktop/images/26112025/15/58/image_26112025_15_59_05_10560.jpg
/home/pi/Desktop/images/26112025/15/58/image_26112025_15_59_05_20659.jpg
/home/pi/Desktop/images/26112025/15/59/image_26112025_15_59_15_9715.jpg
/home/pi/Desktop/images/26112025/15/59/image_26112025_15_59_24_19669.jpg
/home/pi/Desktop/images/26112025/15/59/image_26112025_15_59_35_10708.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":["1396280567","1396280561","1396280555","1396280570","1396280564","1396280558"],"photo_ids_order":["1396280555","1396280558","1396280561","1396280564","1396280567","1396280570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/10dc826a7a45eb4f33f60f79a80fb92d.jpg","text":"TemporaryFile(/tmp/multipartBody9081528788955120851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178462682,"filename":"image_26112025_15_59_24_19669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5c7e281c18f32d4fb57fba6ec974a6f0.jpg","text":"TemporaryFile(/tmp/multipartBody4656471323195711256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178462682,"filename":"image_26112025_15_59_05_20659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3befba14326dee754eef3697f0bd04db.jpg","text":"TemporaryFile(/tmp/multipartBody1398126887502149159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178462682,"filename":"image_26112025_15_58_54_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a84432b0e110b2f4a8e26d6f3285f266.jpg","text":"TemporaryFile(/tmp/multipartBody1833723301507972888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178462682,"filename":"image_26112025_15_59_35_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c6fed768e8e81c90053e385131bd8bd1.jpg","text":"TemporaryFile(/tmp/multipartBody324592365992717752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178462682,"filename":"image_26112025_15_59_15_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4f7d68ae0cfaa88fe8396345d9eb89c0.jpg","text":"TemporaryFile(/tmp/multipartBody7061881133656910652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178462682,"filename":"image_26112025_15_59_05_10560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396280561","file1":"1396280558","file0":"1396280555","file4":"1396280567","file5":"1396280570","file3":"1396280564"},"map_files_photo_id_array":[{"photo_id":"1396280570","filename":"file5"},{"photo_id":"1396280561","filename":"file2"},{"photo_id":"1396280567","filename":"file4"},{"photo_id":"1396280558","filename":"file1"},{"photo_id":"1396280555","filename":"file0"},{"photo_id":"1396280564","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396280567":["hashtag1","hashtag2"]},{"1396280561":["hashtag1","hashtag2"]},{"1396280555":["hashtag1","hashtag2"]},{"1396280570":["hashtag1","hashtag2"]},{"1396280564":["hashtag1","hashtag2"]},{"1396280558":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396280567, 1396280561, 1396280555, 1396280570, 1396280564, 1396280558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7398898601532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:34:03.318597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/15/59/image_26112025_15_59_44_19829.jpg', '/home/pi/Desktop/images/26112025/15/59/image_26112025_15_59_45_9661.jpg', '/home/pi/Desktop/images/26112025/15/59/image_26112025_15_59_54_9721.jpg', '/home/pi/Desktop/images/26112025/16/01/image_26112025_16_01_13_10039.jpg', '/home/pi/Desktop/images/26112025/16/01/image_26112025_16_01_24_10715.jpg', '/home/pi/Desktop/images/26112025/16/01/image_26112025_16_01_34_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/15/59/image_26112025_15_59_44_19829.jpg
/home/pi/Desktop/images/26112025/15/59/image_26112025_15_59_45_9661.jpg
/home/pi/Desktop/images/26112025/15/59/image_26112025_15_59_54_9721.jpg
/home/pi/Desktop/images/26112025/16/01/image_26112025_16_01_13_10039.jpg
/home/pi/Desktop/images/26112025/16/01/image_26112025_16_01_24_10715.jpg
/home/pi/Desktop/images/26112025/16/01/image_26112025_16_01_34_9764.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":["1396280575","1396280589","1396280574","1396280583","1396280573","1396280579"],"photo_ids_order":["1396280573","1396280574","1396280575","1396280579","1396280583","1396280589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2d0f90753dc42815f5a3c86cd6601b6f.jpg","text":"TemporaryFile(/tmp/multipartBody6246442208143115003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178504134,"filename":"image_26112025_15_59_54_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d6e179896c3080221650c6b5cdcf8341.jpg","text":"TemporaryFile(/tmp/multipartBody753853077086406463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178504134,"filename":"image_26112025_16_01_34_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4e66ab12dad9d3dc11adabcd5c754a3c.jpg","text":"TemporaryFile(/tmp/multipartBody3965893684620006482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178504134,"filename":"image_26112025_15_59_45_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f732fb3b76901c482a78868d136bb488.jpg","text":"TemporaryFile(/tmp/multipartBody8316983957379801541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178504134,"filename":"image_26112025_16_01_24_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/22af4e0974ffe9a188864d45ea353954.jpg","text":"TemporaryFile(/tmp/multipartBody8409330155693815751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178504134,"filename":"image_26112025_15_59_44_19829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d45078e2853f2969fe8475a18db97c9f.jpg","text":"TemporaryFile(/tmp/multipartBody6584913280912988057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178504134,"filename":"image_26112025_16_01_13_10039.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396280575","file1":"1396280574","file0":"1396280573","file4":"1396280583","file5":"1396280589","file3":"1396280579"},"map_files_photo_id_array":[{"photo_id":"1396280589","filename":"file5"},{"photo_id":"1396280575","filename":"file2"},{"photo_id":"1396280583","filename":"file4"},{"photo_id":"1396280574","filename":"file1"},{"photo_id":"1396280573","filename":"file0"},{"photo_id":"1396280579","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396280575":["hashtag1","hashtag2"]},{"1396280589":["hashtag1","hashtag2"]},{"1396280574":["hashtag1","hashtag2"]},{"1396280583":["hashtag1","hashtag2"]},{"1396280573":["hashtag1","hashtag2"]},{"1396280579":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396280575, 1396280589, 1396280574, 1396280583, 1396280573, 1396280579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27502989768982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 18:34:42.620139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_17_3763.jpg', '/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_20_2537.jpg', '/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_26_3669.jpg', '/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_29_2602.jpg', '/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_32_3631.jpg', '/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_35_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_17_3763.jpg
/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_20_2537.jpg
/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_26_3669.jpg
/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_29_2602.jpg
/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_32_3631.jpg
/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_35_2621.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":["1396280615","1396280609","1396280611","1396280610","1396280607","1396280621"],"photo_ids_order":["1396280607","1396280609","1396280610","1396280611","1396280615","1396280621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/66661bd26a807441165505464dc2fd74.jpg","text":"TemporaryFile(/tmp/multipartBody7236181154357505716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178544004,"filename":"image_30102025_20_05_32_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/26/de4df95867a1b20411a04d66b3d357dd.jpg","text":"TemporaryFile(/tmp/multipartBody2720984411364420206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178544004,"filename":"image_30102025_20_05_20_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/26/360740bf9c9cdec9b7176951a012dd2e.jpg","text":"TemporaryFile(/tmp/multipartBody1103049753523208672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178544004,"filename":"image_30102025_20_05_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/26/a8931cb83c9b06a558b2b4475078ebeb.jpg","text":"TemporaryFile(/tmp/multipartBody8921743427165515070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178544004,"filename":"image_30102025_20_05_26_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/26/e04483628ce18b049e556f0366866d25.jpg","text":"TemporaryFile(/tmp/multipartBody6744929692870279876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178544004,"filename":"image_30102025_20_05_17_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ba97ea1d0ecb0a6f859f6db5ac6b02b5.jpg","text":"TemporaryFile(/tmp/multipartBody99495543687972431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178544004,"filename":"image_30102025_20_05_35_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396280610","file1":"1396280609","file0":"1396280607","file4":"1396280615","file5":"1396280621","file3":"1396280611"},"map_files_photo_id_array":[{"photo_id":"1396280621","filename":"file5"},{"photo_id":"1396280610","filename":"file2"},{"photo_id":"1396280615","filename":"file4"},{"photo_id":"1396280609","filename":"file1"},{"photo_id":"1396280607","filename":"file0"},{"photo_id":"1396280611","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396280615":["hashtag1","hashtag2"]},{"1396280609":["hashtag1","hashtag2"]},{"1396280611":["hashtag1","hashtag2"]},{"1396280610":["hashtag1","hashtag2"]},{"1396280607":["hashtag1","hashtag2"]},{"1396280621":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396280615, 1396280609, 1396280611, 1396280610, 1396280607, 1396280621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89226055145264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 18:35:21.891276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/01/image_26112025_16_01_43_9648.jpg', '/home/pi/Desktop/images/26112025/16/01/image_26112025_16_01_54_10826.jpg', '/home/pi/Desktop/images/26112025/16/01/image_26112025_16_02_04_9752.jpg', '/home/pi/Desktop/images/26112025/16/02/image_26112025_16_02_14_9589.jpg', '/home/pi/Desktop/images/26112025/16/02/image_26112025_16_02_23_9683.jpg', '/home/pi/Desktop/images/26112025/16/02/image_26112025_16_02_34_10750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/01/image_26112025_16_01_43_9648.jpg
/home/pi/Desktop/images/26112025/16/01/image_26112025_16_01_54_10826.jpg
/home/pi/Desktop/images/26112025/16/01/image_26112025_16_02_04_9752.jpg
/home/pi/Desktop/images/26112025/16/02/image_26112025_16_02_14_9589.jpg
/home/pi/Desktop/images/26112025/16/02/image_26112025_16_02_23_9683.jpg
/home/pi/Desktop/images/26112025/16/02/image_26112025_16_02_34_10750.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":["1396280632","1396280638","1396280643","1396280640","1396280634","1396280628"],"photo_ids_order":["1396280628","1396280632","1396280634","1396280638","1396280640","1396280643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6512ee777a3e7428a48877e590a369a3.jpg","text":"TemporaryFile(/tmp/multipartBody7059284476977904243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178582627,"filename":"image_26112025_16_01_54_10826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/479f4de3b0b34d9485e33fe6847d169b.jpg","text":"TemporaryFile(/tmp/multipartBody1956223236507220196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178582627,"filename":"image_26112025_16_02_14_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/74ae907524259ff878f58931a00764d5.jpg","text":"TemporaryFile(/tmp/multipartBody1687645002656686714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178582627,"filename":"image_26112025_16_02_34_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/922ecb8873e1c9e8f845552cde869604.jpg","text":"TemporaryFile(/tmp/multipartBody815489912654128082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178582627,"filename":"image_26112025_16_02_23_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2e1cadfc488cd765e4d4e8399f50e545.jpg","text":"TemporaryFile(/tmp/multipartBody3845384923690338596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178582627,"filename":"image_26112025_16_02_04_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3ecc09ec250542fae0f268d0c987eae1.jpg","text":"TemporaryFile(/tmp/multipartBody2270587274709957001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178582627,"filename":"image_26112025_16_01_43_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396280634","file1":"1396280632","file0":"1396280628","file4":"1396280640","file5":"1396280643","file3":"1396280638"},"map_files_photo_id_array":[{"photo_id":"1396280643","filename":"file5"},{"photo_id":"1396280634","filename":"file2"},{"photo_id":"1396280640","filename":"file4"},{"photo_id":"1396280632","filename":"file1"},{"photo_id":"1396280628","filename":"file0"},{"photo_id":"1396280638","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396280632":["hashtag1","hashtag2"]},{"1396280638":["hashtag1","hashtag2"]},{"1396280643":["hashtag1","hashtag2"]},{"1396280640":["hashtag1","hashtag2"]},{"1396280634":["hashtag1","hashtag2"]},{"1396280628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396280632, 1396280638, 1396280643, 1396280640, 1396280634, 1396280628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6530282497406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:36:02.422722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/02/image_26112025_16_02_44_9560.jpg', '/home/pi/Desktop/images/26112025/16/02/image_26112025_16_02_54_10550.jpg', '/home/pi/Desktop/images/26112025/16/03/image_26112025_16_03_04_9930.jpg', '/home/pi/Desktop/images/26112025/16/03/image_26112025_16_03_14_9699.jpg', '/home/pi/Desktop/images/26112025/16/03/image_26112025_16_03_23_9670.jpg', '/home/pi/Desktop/images/26112025/16/03/image_26112025_16_03_34_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/02/image_26112025_16_02_44_9560.jpg
/home/pi/Desktop/images/26112025/16/02/image_26112025_16_02_54_10550.jpg
/home/pi/Desktop/images/26112025/16/03/image_26112025_16_03_04_9930.jpg
/home/pi/Desktop/images/26112025/16/03/image_26112025_16_03_14_9699.jpg
/home/pi/Desktop/images/26112025/16/03/image_26112025_16_03_23_9670.jpg
/home/pi/Desktop/images/26112025/16/03/image_26112025_16_03_34_10673.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":["1396280659","1396280650","1396280655","1396280652","1396280646","1396280648"],"photo_ids_order":["1396280646","1396280648","1396280650","1396280652","1396280655","1396280659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cac229815d74fc50f5fe6f8e3ac5460e.jpg","text":"TemporaryFile(/tmp/multipartBody2621148136113178750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178623175,"filename":"image_26112025_16_03_34_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/28c5e913ad44e9061aa022d4965612d7.jpg","text":"TemporaryFile(/tmp/multipartBody1598022913876193358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178623175,"filename":"image_26112025_16_03_04_9930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8c1238590e1998fd0d5e46da61e6ae2f.jpg","text":"TemporaryFile(/tmp/multipartBody5269139686016791373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178623175,"filename":"image_26112025_16_03_23_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a232677be5f5a942a1154af887d30107.jpg","text":"TemporaryFile(/tmp/multipartBody4893406344279338582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178623175,"filename":"image_26112025_16_03_14_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/240f2e2246875fb12936bbb4698534b3.jpg","text":"TemporaryFile(/tmp/multipartBody3593770583626853403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178623175,"filename":"image_26112025_16_02_44_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d97bf60079bc6f34fd1f32f5d2bd84cf.jpg","text":"TemporaryFile(/tmp/multipartBody8726793199271478337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178623175,"filename":"image_26112025_16_02_54_10550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396280650","file1":"1396280648","file0":"1396280646","file4":"1396280655","file5":"1396280659","file3":"1396280652"},"map_files_photo_id_array":[{"photo_id":"1396280659","filename":"file5"},{"photo_id":"1396280650","filename":"file2"},{"photo_id":"1396280655","filename":"file4"},{"photo_id":"1396280648","filename":"file1"},{"photo_id":"1396280646","filename":"file0"},{"photo_id":"1396280652","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396280659":["hashtag1","hashtag2"]},{"1396280650":["hashtag1","hashtag2"]},{"1396280655":["hashtag1","hashtag2"]},{"1396280652":["hashtag1","hashtag2"]},{"1396280646":["hashtag1","hashtag2"]},{"1396280648":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396280659, 1396280650, 1396280655, 1396280652, 1396280646, 1396280648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95508790016174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 18:36:42.115460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_37_2551.jpg', '/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_44_2568.jpg', '/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_50_3614.jpg', '/home/pi/Desktop/images/30102025/20/06/image_30102025_20_06_04_2609.jpg', '/home/pi/Desktop/images/30102025/20/06/image_30102025_20_06_08_3747.jpg', '/home/pi/Desktop/images/30102025/20/06/image_30102025_20_06_13_2840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_37_2551.jpg
/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_44_2568.jpg
/home/pi/Desktop/images/30102025/20/05/image_30102025_20_05_50_3614.jpg
/home/pi/Desktop/images/30102025/20/06/image_30102025_20_06_04_2609.jpg
/home/pi/Desktop/images/30102025/20/06/image_30102025_20_06_08_3747.jpg
/home/pi/Desktop/images/30102025/20/06/image_30102025_20_06_13_2840.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396280683","1396280671","1396280674","1396280682","1396280676","1396280684"],"photo_ids_order":["1396280671","1396280674","1396280676","1396280682","1396280683","1396280684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/07606e125fd4f550eaeeb0370005cde6.jpg","text":"TemporaryFile(/tmp/multipartBody6987666945000370253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178663571,"filename":"image_30102025_20_06_08_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/26/d4fdeeecffcc5b7832dff77aa622221f.jpg","text":"TemporaryFile(/tmp/multipartBody4148045085417418627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178663571,"filename":"image_30102025_20_05_37_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/087ba22d18b069ae49c6abf5f3397aff.jpg","text":"TemporaryFile(/tmp/multipartBody4998137920248403903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178663571,"filename":"image_30102025_20_05_44_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/26/5e0f57750e9c7b3cb6185e568ef8044f.jpg","text":"TemporaryFile(/tmp/multipartBody8310724933662198931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178663571,"filename":"image_30102025_20_06_04_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9e8510700514cdcff8ccae0b8141b7e7.jpg","text":"TemporaryFile(/tmp/multipartBody5023322545428580298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178663571,"filename":"image_30102025_20_05_50_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/26/6b4a7801285429e5aa1512767e46d478.jpg","text":"TemporaryFile(/tmp/multipartBody8564783331832869730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178663571,"filename":"image_30102025_20_06_13_2840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396280676","file1":"1396280674","file0":"1396280671","file4":"1396280683","file5":"1396280684","file3":"1396280682"},"map_files_photo_id_array":[{"photo_id":"1396280684","filename":"file5"},{"photo_id":"1396280676","filename":"file2"},{"photo_id":"1396280683","filename":"file4"},{"photo_id":"1396280674","filename":"file1"},{"photo_id":"1396280671","filename":"file0"},{"photo_id":"1396280682","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396280683":["hashtag1","hashtag2"]},{"1396280671":["hashtag1","hashtag2"]},{"1396280674":["hashtag1","hashtag2"]},{"1396280682":["hashtag1","hashtag2"]},{"1396280676":["hashtag1","hashtag2"]},{"1396280684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396280683, 1396280671, 1396280674, 1396280682, 1396280676, 1396280684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51080346107483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 18:37:20.703106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/05/image_20112025_23_05_46_2670.jpg', '/home/pi/Desktop/images/20112025/23/05/image_20112025_23_05_55_2702.jpg', '/home/pi/Desktop/images/20112025/23/05/image_20112025_23_05_57_2624.jpg', '/home/pi/Desktop/images/20112025/23/05/image_20112025_23_06_01_3824.jpg', '/home/pi/Desktop/images/20112025/23/06/image_20112025_23_06_13_2665.jpg', '/home/pi/Desktop/images/20112025/23/06/image_20112025_23_06_22_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/05/image_20112025_23_05_46_2670.jpg
/home/pi/Desktop/images/20112025/23/05/image_20112025_23_05_55_2702.jpg
/home/pi/Desktop/images/20112025/23/05/image_20112025_23_05_57_2624.jpg
/home/pi/Desktop/images/20112025/23/05/image_20112025_23_06_01_3824.jpg
/home/pi/Desktop/images/20112025/23/06/image_20112025_23_06_13_2665.jpg
/home/pi/Desktop/images/20112025/23/06/image_20112025_23_06_22_2768.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":["1396280708","1396280698","1396280701","1396280704","1396280690","1396280695"],"photo_ids_order":["1396280690","1396280695","1396280698","1396280701","1396280704","1396280708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4e3418824f886225f9875eaf5fa02c75.jpg","text":"TemporaryFile(/tmp/multipartBody2011010865532366909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178702553,"filename":"image_20112025_23_06_22_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/26/e2bbc250975cee1c3e81e43b429f8c57.jpg","text":"TemporaryFile(/tmp/multipartBody1907302212449005714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178702553,"filename":"image_20112025_23_05_57_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/26/94f435b93df77960e456d98865be065a.jpg","text":"TemporaryFile(/tmp/multipartBody2120922743600880176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178702553,"filename":"image_20112025_23_06_01_3824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/94618a9d288dc9ba3fcb6db0cbfaacd7.jpg","text":"TemporaryFile(/tmp/multipartBody1796481601699684555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178702553,"filename":"image_20112025_23_06_13_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/26/b7330f7d462a712d70c860366cb41f55.jpg","text":"TemporaryFile(/tmp/multipartBody2105976512917108967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178702553,"filename":"image_20112025_23_05_46_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/26/cd58a2b23a8474e718c3702280cef8cb.jpg","text":"TemporaryFile(/tmp/multipartBody2171189242674849238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178702553,"filename":"image_20112025_23_05_55_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396280698","file1":"1396280695","file0":"1396280690","file4":"1396280704","file5":"1396280708","file3":"1396280701"},"map_files_photo_id_array":[{"photo_id":"1396280708","filename":"file5"},{"photo_id":"1396280698","filename":"file2"},{"photo_id":"1396280704","filename":"file4"},{"photo_id":"1396280695","filename":"file1"},{"photo_id":"1396280690","filename":"file0"},{"photo_id":"1396280701","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396280708":["hashtag1","hashtag2"]},{"1396280698":["hashtag1","hashtag2"]},{"1396280701":["hashtag1","hashtag2"]},{"1396280704":["hashtag1","hashtag2"]},{"1396280690":["hashtag1","hashtag2"]},{"1396280695":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396280708, 1396280698, 1396280701, 1396280704, 1396280690, 1396280695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.729918241500854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:38:02.487409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/03/image_26112025_16_03_44_9639.jpg', '/home/pi/Desktop/images/26112025/16/03/image_26112025_16_03_53_9558.jpg', '/home/pi/Desktop/images/26112025/16/03/image_26112025_16_04_04_10942.jpg', '/home/pi/Desktop/images/26112025/16/04/image_26112025_16_04_14_9594.jpg', '/home/pi/Desktop/images/26112025/16/04/image_26112025_16_04_23_9703.jpg', '/home/pi/Desktop/images/26112025/16/04/image_26112025_16_04_33_9995.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/03/image_26112025_16_03_44_9639.jpg
/home/pi/Desktop/images/26112025/16/03/image_26112025_16_03_53_9558.jpg
/home/pi/Desktop/images/26112025/16/03/image_26112025_16_04_04_10942.jpg
/home/pi/Desktop/images/26112025/16/04/image_26112025_16_04_14_9594.jpg
/home/pi/Desktop/images/26112025/16/04/image_26112025_16_04_23_9703.jpg
/home/pi/Desktop/images/26112025/16/04/image_26112025_16_04_33_9995.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":["1396280714","1396280728","1396280716","1396280719","1396280724","1396280721"],"photo_ids_order":["1396280714","1396280716","1396280719","1396280721","1396280724","1396280728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5490c694f4c6291f96c095b695754d0b.jpg","text":"TemporaryFile(/tmp/multipartBody2387221577477873910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178743219,"filename":"image_26112025_16_03_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/855bf801957ba706958a1ad1678ff964.jpg","text":"TemporaryFile(/tmp/multipartBody7564250435845855908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178743219,"filename":"image_26112025_16_04_33_9995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a2f4c585371c2afd06d45dd9f509102d.jpg","text":"TemporaryFile(/tmp/multipartBody7053966313370940837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178743219,"filename":"image_26112025_16_03_53_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/69f50b0caa4ca61a7b6363bf83a5f41a.jpg","text":"TemporaryFile(/tmp/multipartBody8172612013440524313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178743219,"filename":"image_26112025_16_04_04_10942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f3c2e006eed6bbd0206f683ea805a47e.jpg","text":"TemporaryFile(/tmp/multipartBody5612916647138796675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178743219,"filename":"image_26112025_16_04_23_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c5fca03fbdc4df58b0c0ebf21ae03abb.jpg","text":"TemporaryFile(/tmp/multipartBody543917852612146645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178743219,"filename":"image_26112025_16_04_14_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396280719","file1":"1396280716","file0":"1396280714","file4":"1396280724","file5":"1396280728","file3":"1396280721"},"map_files_photo_id_array":[{"photo_id":"1396280728","filename":"file5"},{"photo_id":"1396280719","filename":"file2"},{"photo_id":"1396280724","filename":"file4"},{"photo_id":"1396280716","filename":"file1"},{"photo_id":"1396280714","filename":"file0"},{"photo_id":"1396280721","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396280714":["hashtag1","hashtag2"]},{"1396280728":["hashtag1","hashtag2"]},{"1396280716":["hashtag1","hashtag2"]},{"1396280719":["hashtag1","hashtag2"]},{"1396280724":["hashtag1","hashtag2"]},{"1396280721":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396280714, 1396280728, 1396280716, 1396280719, 1396280724, 1396280721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05963754653931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 18:38:41.935477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/06/image_30102025_20_06_22_2680.jpg', '/home/pi/Desktop/images/30102025/20/06/image_30102025_20_06_26_3641.jpg', '/home/pi/Desktop/images/30102025/20/06/image_30102025_20_06_31_2706.jpg', '/home/pi/Desktop/images/30102025/20/06/image_30102025_20_06_35_3645.jpg', '/home/pi/Desktop/images/30102025/20/06/image_30102025_20_06_40_2621.jpg', '/home/pi/Desktop/images/30102025/20/06/image_30102025_20_06_47_2890.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/06/image_30102025_20_06_22_2680.jpg
/home/pi/Desktop/images/30102025/20/06/image_30102025_20_06_26_3641.jpg
/home/pi/Desktop/images/30102025/20/06/image_30102025_20_06_31_2706.jpg
/home/pi/Desktop/images/30102025/20/06/image_30102025_20_06_35_3645.jpg
/home/pi/Desktop/images/30102025/20/06/image_30102025_20_06_40_2621.jpg
/home/pi/Desktop/images/30102025/20/06/image_30102025_20_06_47_2890.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":["1396280755","1396280754","1396280757","1396280751","1396280748","1396280750"],"photo_ids_order":["1396280748","1396280750","1396280751","1396280754","1396280755","1396280757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/83c65adbb5a89588ce4278227d71d482.jpg","text":"TemporaryFile(/tmp/multipartBody7314579447148916601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178783334,"filename":"image_30102025_20_06_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/26/de09157855e2b23788f0c2a9618cc9d0.jpg","text":"TemporaryFile(/tmp/multipartBody2937622071661963205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178783334,"filename":"image_30102025_20_06_35_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/26/507238d0eeddb077c13d69fbf5ea8906.jpg","text":"TemporaryFile(/tmp/multipartBody1372938182423904866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178783334,"filename":"image_30102025_20_06_47_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/26/c609c89dc4e12c0395cded8d7065a983.jpg","text":"TemporaryFile(/tmp/multipartBody4715980949292381245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178783334,"filename":"image_30102025_20_06_31_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/26/0df94155f29913c4f7e39a81167bacb1.jpg","text":"TemporaryFile(/tmp/multipartBody8244762015332033275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178783334,"filename":"image_30102025_20_06_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/26/b06197205d0d6e6029b1589f8712b20a.jpg","text":"TemporaryFile(/tmp/multipartBody1177476613341923296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178783334,"filename":"image_30102025_20_06_26_3641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396280751","file1":"1396280750","file0":"1396280748","file4":"1396280755","file5":"1396280757","file3":"1396280754"},"map_files_photo_id_array":[{"photo_id":"1396280757","filename":"file5"},{"photo_id":"1396280751","filename":"file2"},{"photo_id":"1396280755","filename":"file4"},{"photo_id":"1396280750","filename":"file1"},{"photo_id":"1396280748","filename":"file0"},{"photo_id":"1396280754","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396280755":["hashtag1","hashtag2"]},{"1396280754":["hashtag1","hashtag2"]},{"1396280757":["hashtag1","hashtag2"]},{"1396280751":["hashtag1","hashtag2"]},{"1396280748":["hashtag1","hashtag2"]},{"1396280750":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396280755, 1396280754, 1396280757, 1396280751, 1396280748, 1396280750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40111994743347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 18:39:22.291141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/04/image_26112025_16_04_43_9782.jpg', '/home/pi/Desktop/images/26112025/16/04/image_26112025_16_04_54_10647.jpg', '/home/pi/Desktop/images/26112025/16/06/image_26112025_16_06_14_10057.jpg', '/home/pi/Desktop/images/26112025/16/06/image_26112025_16_06_24_10702.jpg', '/home/pi/Desktop/images/26112025/16/06/image_26112025_16_06_34_10116.jpg', '/home/pi/Desktop/images/26112025/16/06/image_26112025_16_06_44_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/04/image_26112025_16_04_43_9782.jpg
/home/pi/Desktop/images/26112025/16/04/image_26112025_16_04_54_10647.jpg
/home/pi/Desktop/images/26112025/16/06/image_26112025_16_06_14_10057.jpg
/home/pi/Desktop/images/26112025/16/06/image_26112025_16_06_24_10702.jpg
/home/pi/Desktop/images/26112025/16/06/image_26112025_16_06_34_10116.jpg
/home/pi/Desktop/images/26112025/16/06/image_26112025_16_06_44_9755.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":["1396280776","1396280779","1396280770","1396280773","1396280767","1396280763"],"photo_ids_order":["1396280763","1396280767","1396280770","1396280773","1396280776","1396280779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/58bcc122d77b9d44ac62f4e37f3987e4.jpg","text":"TemporaryFile(/tmp/multipartBody9134382117808836775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178823004,"filename":"image_26112025_16_06_34_10116.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2a4b5e28d429599c90ee91aaa798b100.jpg","text":"TemporaryFile(/tmp/multipartBody5557156077211369419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178823004,"filename":"image_26112025_16_06_44_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/72ef4bd42561f2de342eead1d39f2ece.jpg","text":"TemporaryFile(/tmp/multipartBody5437086754101148566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178823004,"filename":"image_26112025_16_06_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/30c4b9d552855c48c434ab4a6f5b527b.jpg","text":"TemporaryFile(/tmp/multipartBody455842121929461799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178823004,"filename":"image_26112025_16_06_24_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/14d9d104458f3f48a03c86191dcacf02.jpg","text":"TemporaryFile(/tmp/multipartBody8609848502800965097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178823004,"filename":"image_26112025_16_04_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7355243e768a62565ad3ef70c3f74b3a.jpg","text":"TemporaryFile(/tmp/multipartBody6841994636935284179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178823004,"filename":"image_26112025_16_04_43_9782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396280770","file1":"1396280767","file0":"1396280763","file4":"1396280776","file5":"1396280779","file3":"1396280773"},"map_files_photo_id_array":[{"photo_id":"1396280779","filename":"file5"},{"photo_id":"1396280770","filename":"file2"},{"photo_id":"1396280776","filename":"file4"},{"photo_id":"1396280767","filename":"file1"},{"photo_id":"1396280763","filename":"file0"},{"photo_id":"1396280773","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396280776":["hashtag1","hashtag2"]},{"1396280779":["hashtag1","hashtag2"]},{"1396280770":["hashtag1","hashtag2"]},{"1396280773":["hashtag1","hashtag2"]},{"1396280767":["hashtag1","hashtag2"]},{"1396280763":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396280776, 1396280779, 1396280770, 1396280773, 1396280767, 1396280763)","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 = 1396280770 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26112025/16/06/image_26112025_16_06_14_10057.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 58.92988967895508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 18:40:22.315018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/06/image_26112025_16_06_54_9710.jpg', '/home/pi/Desktop/images/26112025/16/06/image_26112025_16_07_04_9691.jpg', '/home/pi/Desktop/images/26112025/16/07/image_26112025_16_07_14_10826.jpg', '/home/pi/Desktop/images/26112025/16/07/image_26112025_16_07_24_9637.jpg', '/home/pi/Desktop/images/26112025/16/07/image_26112025_16_07_34_9609.jpg', '/home/pi/Desktop/images/26112025/16/07/image_26112025_16_07_44_10747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/06/image_26112025_16_06_54_9710.jpg
/home/pi/Desktop/images/26112025/16/06/image_26112025_16_07_04_9691.jpg
/home/pi/Desktop/images/26112025/16/07/image_26112025_16_07_14_10826.jpg
/home/pi/Desktop/images/26112025/16/07/image_26112025_16_07_24_9637.jpg
/home/pi/Desktop/images/26112025/16/07/image_26112025_16_07_34_9609.jpg
/home/pi/Desktop/images/26112025/16/07/image_26112025_16_07_44_10747.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":["1396280797","1396280793","1396280811","1396280808","1396280802","1396280788"],"photo_ids_order":["1396280788","1396280793","1396280797","1396280802","1396280808","1396280811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/31af20541b1959855494253ee92e1232.jpg","text":"TemporaryFile(/tmp/multipartBody6596843163786219381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178883000,"filename":"image_26112025_16_07_14_10826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8d95b39ce9c2e3a4a5feeed0fa57fd12.jpg","text":"TemporaryFile(/tmp/multipartBody8156832818852790224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178883000,"filename":"image_26112025_16_07_04_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/47c3422d5cadf10c219c2a61aaf91cf7.jpg","text":"TemporaryFile(/tmp/multipartBody2556093071660380862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178883000,"filename":"image_26112025_16_07_44_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7d7c910a7f88f64da09d5630d3a8e343.jpg","text":"TemporaryFile(/tmp/multipartBody7298108298593910912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178883000,"filename":"image_26112025_16_07_34_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/897bf6279ad404133ae8fa93ad616332.jpg","text":"TemporaryFile(/tmp/multipartBody1114575482852418434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178883000,"filename":"image_26112025_16_07_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/45477e6aec98c5e962b78b38800d84d9.jpg","text":"TemporaryFile(/tmp/multipartBody433827429545216145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178883000,"filename":"image_26112025_16_06_54_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396280797","file1":"1396280793","file0":"1396280788","file4":"1396280808","file5":"1396280811","file3":"1396280802"},"map_files_photo_id_array":[{"photo_id":"1396280811","filename":"file5"},{"photo_id":"1396280797","filename":"file2"},{"photo_id":"1396280808","filename":"file4"},{"photo_id":"1396280793","filename":"file1"},{"photo_id":"1396280788","filename":"file0"},{"photo_id":"1396280802","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396280797":["hashtag1","hashtag2"]},{"1396280793":["hashtag1","hashtag2"]},{"1396280811":["hashtag1","hashtag2"]},{"1396280808":["hashtag1","hashtag2"]},{"1396280802":["hashtag1","hashtag2"]},{"1396280788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396280797, 1396280793, 1396280811, 1396280808, 1396280802, 1396280788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73709726333618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:41:03.342035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/07/image_26112025_16_07_54_9835.jpg', '/home/pi/Desktop/images/26112025/16/07/image_26112025_16_08_04_9661.jpg', '/home/pi/Desktop/images/26112025/16/08/image_26112025_16_08_14_9679.jpg', '/home/pi/Desktop/images/26112025/16/08/image_26112025_16_08_24_10646.jpg', '/home/pi/Desktop/images/26112025/16/08/image_26112025_16_08_34_9759.jpg', '/home/pi/Desktop/images/26112025/16/08/image_26112025_16_08_44_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/07/image_26112025_16_07_54_9835.jpg
/home/pi/Desktop/images/26112025/16/07/image_26112025_16_08_04_9661.jpg
/home/pi/Desktop/images/26112025/16/08/image_26112025_16_08_14_9679.jpg
/home/pi/Desktop/images/26112025/16/08/image_26112025_16_08_24_10646.jpg
/home/pi/Desktop/images/26112025/16/08/image_26112025_16_08_34_9759.jpg
/home/pi/Desktop/images/26112025/16/08/image_26112025_16_08_44_9631.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":["1396280827","1396280818","1396280823","1396280820","1396280814","1396280816"],"photo_ids_order":["1396280814","1396280816","1396280818","1396280820","1396280823","1396280827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9d2bdbe1a8e3a86163e981d54f41ccf3.jpg","text":"TemporaryFile(/tmp/multipartBody9184897971206166110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178924103,"filename":"image_26112025_16_08_44_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c99a991d89bc23a8b0aeac857237e845.jpg","text":"TemporaryFile(/tmp/multipartBody1168610642491085166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178924103,"filename":"image_26112025_16_08_14_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b26867b8ba658a3dd144d667c5f27bbe.jpg","text":"TemporaryFile(/tmp/multipartBody8873782881747463746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178924103,"filename":"image_26112025_16_08_34_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7773c58bed23ab54b6283579c3a1cd3c.jpg","text":"TemporaryFile(/tmp/multipartBody5841974317484560117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178924103,"filename":"image_26112025_16_08_24_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/58a4b27af1b5b4a838e159e6cc80a571.jpg","text":"TemporaryFile(/tmp/multipartBody3251336980223116349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178924103,"filename":"image_26112025_16_07_54_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/942ea6b901fdfb8990c3839d23326bbb.jpg","text":"TemporaryFile(/tmp/multipartBody1638072201537191315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178924103,"filename":"image_26112025_16_08_04_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396280818","file1":"1396280816","file0":"1396280814","file4":"1396280823","file5":"1396280827","file3":"1396280820"},"map_files_photo_id_array":[{"photo_id":"1396280827","filename":"file5"},{"photo_id":"1396280818","filename":"file2"},{"photo_id":"1396280823","filename":"file4"},{"photo_id":"1396280816","filename":"file1"},{"photo_id":"1396280814","filename":"file0"},{"photo_id":"1396280820","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396280827":["hashtag1","hashtag2"]},{"1396280818":["hashtag1","hashtag2"]},{"1396280823":["hashtag1","hashtag2"]},{"1396280820":["hashtag1","hashtag2"]},{"1396280814":["hashtag1","hashtag2"]},{"1396280816":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396280827, 1396280818, 1396280823, 1396280820, 1396280814, 1396280816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.466965198516846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 18:41:44.268557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/06/image_30102025_20_06_52_2734.jpg', '/home/pi/Desktop/images/30102025/20/06/image_30102025_20_06_56_3733.jpg', '/home/pi/Desktop/images/30102025/20/07/image_30102025_20_07_01_2903.jpg', '/home/pi/Desktop/images/30102025/20/07/image_30102025_20_07_04_2886.jpg', '/home/pi/Desktop/images/30102025/20/07/image_30102025_20_07_16_2680.jpg', '/home/pi/Desktop/images/30102025/20/07/image_30102025_20_07_20_3790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/06/image_30102025_20_06_52_2734.jpg
/home/pi/Desktop/images/30102025/20/06/image_30102025_20_06_56_3733.jpg
/home/pi/Desktop/images/30102025/20/07/image_30102025_20_07_01_2903.jpg
/home/pi/Desktop/images/30102025/20/07/image_30102025_20_07_04_2886.jpg
/home/pi/Desktop/images/30102025/20/07/image_30102025_20_07_16_2680.jpg
/home/pi/Desktop/images/30102025/20/07/image_30102025_20_07_20_3790.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":["1396280842","1396280841","1396280844","1396280838","1396280846","1396280843"],"photo_ids_order":["1396280838","1396280841","1396280842","1396280843","1396280844","1396280846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/64b6c172f69dd96e0ee623ab6b7d8b75.jpg","text":"TemporaryFile(/tmp/multipartBody870232685183043473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178965767,"filename":"image_30102025_20_07_01_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/26/c0578de35f66680b2698ddc9dacc3468.jpg","text":"TemporaryFile(/tmp/multipartBody7388552446690197780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178965767,"filename":"image_30102025_20_06_56_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/26/f9dbfa0aa3ae08c2a7a97e70cc691162.jpg","text":"TemporaryFile(/tmp/multipartBody6444623750228071526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178965767,"filename":"image_30102025_20_07_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/26/2ed5824e88e8c8ea1681ee3b716e11dc.jpg","text":"TemporaryFile(/tmp/multipartBody260127979634654298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178965767,"filename":"image_30102025_20_06_52_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/26/00f81cf3f0d4a2738c313163c854a10d.jpg","text":"TemporaryFile(/tmp/multipartBody578036737603615956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178965767,"filename":"image_30102025_20_07_20_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/26/884abe452f8216804488009de2a62926.jpg","text":"TemporaryFile(/tmp/multipartBody7412662600652642516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764178965767,"filename":"image_30102025_20_07_04_2886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396280842","file1":"1396280841","file0":"1396280838","file4":"1396280844","file5":"1396280846","file3":"1396280843"},"map_files_photo_id_array":[{"photo_id":"1396280846","filename":"file5"},{"photo_id":"1396280842","filename":"file2"},{"photo_id":"1396280844","filename":"file4"},{"photo_id":"1396280841","filename":"file1"},{"photo_id":"1396280838","filename":"file0"},{"photo_id":"1396280843","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396280842":["hashtag1","hashtag2"]},{"1396280841":["hashtag1","hashtag2"]},{"1396280844":["hashtag1","hashtag2"]},{"1396280838":["hashtag1","hashtag2"]},{"1396280846":["hashtag1","hashtag2"]},{"1396280843":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396280842, 1396280841, 1396280844, 1396280838, 1396280846, 1396280843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39347457885742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 18:42:22.516703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/08/image_26112025_16_08_55_10902.jpg', '/home/pi/Desktop/images/26112025/16/08/image_26112025_16_09_04_9788.jpg', '/home/pi/Desktop/images/26112025/16/09/image_26112025_16_09_14_9765.jpg', '/home/pi/Desktop/images/26112025/16/09/image_26112025_16_09_24_9776.jpg', '/home/pi/Desktop/images/26112025/16/09/image_26112025_16_09_35_10648.jpg', '/home/pi/Desktop/images/26112025/16/09/image_26112025_16_09_44_9793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/08/image_26112025_16_08_55_10902.jpg
/home/pi/Desktop/images/26112025/16/08/image_26112025_16_09_04_9788.jpg
/home/pi/Desktop/images/26112025/16/09/image_26112025_16_09_14_9765.jpg
/home/pi/Desktop/images/26112025/16/09/image_26112025_16_09_24_9776.jpg
/home/pi/Desktop/images/26112025/16/09/image_26112025_16_09_35_10648.jpg
/home/pi/Desktop/images/26112025/16/09/image_26112025_16_09_44_9793.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":["1396280870","1396280864","1396280858","1396280867","1396280861","1396280855"],"photo_ids_order":["1396280855","1396280858","1396280861","1396280864","1396280867","1396280870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ea503b330172226eb572a6744083ba15.jpg","text":"TemporaryFile(/tmp/multipartBody4963878965089244529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179003233,"filename":"image_26112025_16_09_44_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d4e9dfd0a59a8da0fa2534e1f8365b74.jpg","text":"TemporaryFile(/tmp/multipartBody8353278019959403165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179003233,"filename":"image_26112025_16_09_24_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c7b15528bb303dd252005771fa7a7084.jpg","text":"TemporaryFile(/tmp/multipartBody3172146295924668449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179003233,"filename":"image_26112025_16_09_04_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/844b17c0f8a04de8afde4881e59b8e4e.jpg","text":"TemporaryFile(/tmp/multipartBody5887848470919554434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179003233,"filename":"image_26112025_16_09_35_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0d94caaaa9fec4027969b544e331ed8c.jpg","text":"TemporaryFile(/tmp/multipartBody6555417991131193256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179003233,"filename":"image_26112025_16_09_14_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/53c90810f3764fba0672508ce358c16a.jpg","text":"TemporaryFile(/tmp/multipartBody4889144426018369351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179003233,"filename":"image_26112025_16_08_55_10902.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396280861","file1":"1396280858","file0":"1396280855","file4":"1396280867","file5":"1396280870","file3":"1396280864"},"map_files_photo_id_array":[{"photo_id":"1396280870","filename":"file5"},{"photo_id":"1396280861","filename":"file2"},{"photo_id":"1396280867","filename":"file4"},{"photo_id":"1396280858","filename":"file1"},{"photo_id":"1396280855","filename":"file0"},{"photo_id":"1396280864","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396280870":["hashtag1","hashtag2"]},{"1396280864":["hashtag1","hashtag2"]},{"1396280858":["hashtag1","hashtag2"]},{"1396280867":["hashtag1","hashtag2"]},{"1396280861":["hashtag1","hashtag2"]},{"1396280855":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396280870, 1396280864, 1396280858, 1396280867, 1396280861, 1396280855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.992294788360596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:43:03.447583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/09/image_26112025_16_09_58_13780.jpg', '/home/pi/Desktop/images/26112025/16/10/image_26112025_16_10_15_10972.jpg', '/home/pi/Desktop/images/26112025/16/10/image_26112025_16_10_25_9650.jpg', '/home/pi/Desktop/images/26112025/16/10/image_26112025_16_10_34_9612.jpg', '/home/pi/Desktop/images/26112025/16/10/image_26112025_16_10_44_9932.jpg', '/home/pi/Desktop/images/26112025/16/10/image_26112025_16_10_55_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/09/image_26112025_16_09_58_13780.jpg
/home/pi/Desktop/images/26112025/16/10/image_26112025_16_10_15_10972.jpg
/home/pi/Desktop/images/26112025/16/10/image_26112025_16_10_25_9650.jpg
/home/pi/Desktop/images/26112025/16/10/image_26112025_16_10_34_9612.jpg
/home/pi/Desktop/images/26112025/16/10/image_26112025_16_10_44_9932.jpg
/home/pi/Desktop/images/26112025/16/10/image_26112025_16_10_55_10681.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":["1396280881","1396280875","1396280871","1396280877","1396280885","1396280873"],"photo_ids_order":["1396280871","1396280873","1396280875","1396280877","1396280881","1396280885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e026181f046a43a1e40256199ae24c86.jpg","text":"TemporaryFile(/tmp/multipartBody2529571714693074617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179044195,"filename":"image_26112025_16_10_44_9932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/be7fc2e28281c2e5460e45c1182edb39.jpg","text":"TemporaryFile(/tmp/multipartBody2353543335752191937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179044195,"filename":"image_26112025_16_10_25_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f2ab7d46215e8c28881af137557ac98e.jpg","text":"TemporaryFile(/tmp/multipartBody1040953175542176037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179044195,"filename":"image_26112025_16_09_58_13780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/58fc173a7f08b551599bb42006a884e4.jpg","text":"TemporaryFile(/tmp/multipartBody994242936752794221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179044195,"filename":"image_26112025_16_10_34_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f9c5b0823961f1daa44869107ad277d8.jpg","text":"TemporaryFile(/tmp/multipartBody5090230351917474639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179044195,"filename":"image_26112025_16_10_55_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c645ee068989536055aa4779748e5a5c.jpg","text":"TemporaryFile(/tmp/multipartBody2893755624098216748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179044195,"filename":"image_26112025_16_10_15_10972.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396280875","file1":"1396280873","file0":"1396280871","file4":"1396280881","file5":"1396280885","file3":"1396280877"},"map_files_photo_id_array":[{"photo_id":"1396280885","filename":"file5"},{"photo_id":"1396280875","filename":"file2"},{"photo_id":"1396280881","filename":"file4"},{"photo_id":"1396280873","filename":"file1"},{"photo_id":"1396280871","filename":"file0"},{"photo_id":"1396280877","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396280881":["hashtag1","hashtag2"]},{"1396280875":["hashtag1","hashtag2"]},{"1396280871":["hashtag1","hashtag2"]},{"1396280877":["hashtag1","hashtag2"]},{"1396280885":["hashtag1","hashtag2"]},{"1396280873":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396280881, 1396280875, 1396280871, 1396280877, 1396280885, 1396280873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60910487174988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 18:43:42.672568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/07/image_30102025_20_07_25_2629.jpg', '/home/pi/Desktop/images/30102025/20/07/image_30102025_20_07_29_3751.jpg', '/home/pi/Desktop/images/30102025/20/07/image_30102025_20_07_46_2654.jpg', '/home/pi/Desktop/images/30102025/20/07/image_30102025_20_07_53_2720.jpg', '/home/pi/Desktop/images/30102025/20/08/image_30102025_20_08_02_3528.jpg', '/home/pi/Desktop/images/30102025/20/08/image_30102025_20_08_16_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/07/image_30102025_20_07_25_2629.jpg
/home/pi/Desktop/images/30102025/20/07/image_30102025_20_07_29_3751.jpg
/home/pi/Desktop/images/30102025/20/07/image_30102025_20_07_46_2654.jpg
/home/pi/Desktop/images/30102025/20/07/image_30102025_20_07_53_2720.jpg
/home/pi/Desktop/images/30102025/20/08/image_30102025_20_08_02_3528.jpg
/home/pi/Desktop/images/30102025/20/08/image_30102025_20_08_16_2767.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":["1396280896","1396280899","1396280898","1396280897","1396280900","1396280893"],"photo_ids_order":["1396280893","1396280896","1396280897","1396280898","1396280899","1396280900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1d85508b5465bb455fa25e718883da11.jpg","text":"TemporaryFile(/tmp/multipartBody4896164134998647783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179084135,"filename":"image_30102025_20_07_29_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/26/e38e61363d055a5d0a1b6956f31c87e1.jpg","text":"TemporaryFile(/tmp/multipartBody4193245470525171984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179084135,"filename":"image_30102025_20_08_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/26/803e30ee8018f7ad7a7d27f2a3dd3199.jpg","text":"TemporaryFile(/tmp/multipartBody5422378303699988222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179084135,"filename":"image_30102025_20_07_53_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/26/137739959b63b4c4c5bc846881f77cea.jpg","text":"TemporaryFile(/tmp/multipartBody9050609872555617174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179084135,"filename":"image_30102025_20_07_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/26/96e90008f98c5a4a5d109f262b77e2b7.jpg","text":"TemporaryFile(/tmp/multipartBody6260602649681325089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179084135,"filename":"image_30102025_20_08_16_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/26/5e5a35dcb7a2de90da3b32f087ae4cfa.jpg","text":"TemporaryFile(/tmp/multipartBody1540406594184500399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179084135,"filename":"image_30102025_20_07_25_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396280897","file1":"1396280896","file0":"1396280893","file4":"1396280899","file5":"1396280900","file3":"1396280898"},"map_files_photo_id_array":[{"photo_id":"1396280900","filename":"file5"},{"photo_id":"1396280897","filename":"file2"},{"photo_id":"1396280899","filename":"file4"},{"photo_id":"1396280896","filename":"file1"},{"photo_id":"1396280893","filename":"file0"},{"photo_id":"1396280898","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396280896":["hashtag1","hashtag2"]},{"1396280899":["hashtag1","hashtag2"]},{"1396280898":["hashtag1","hashtag2"]},{"1396280897":["hashtag1","hashtag2"]},{"1396280900":["hashtag1","hashtag2"]},{"1396280893":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396280896, 1396280899, 1396280898, 1396280897, 1396280900, 1396280893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.640925884246826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 18:44:22.850340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/10/image_26112025_16_11_04_9591.jpg', '/home/pi/Desktop/images/26112025/16/11/image_26112025_16_11_14_9638.jpg', '/home/pi/Desktop/images/26112025/16/11/image_26112025_16_11_25_10600.jpg', '/home/pi/Desktop/images/26112025/16/11/image_26112025_16_11_34_9707.jpg', '/home/pi/Desktop/images/26112025/16/11/image_26112025_16_11_44_9807.jpg', '/home/pi/Desktop/images/26112025/16/11/image_26112025_16_11_55_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/10/image_26112025_16_11_04_9591.jpg
/home/pi/Desktop/images/26112025/16/11/image_26112025_16_11_14_9638.jpg
/home/pi/Desktop/images/26112025/16/11/image_26112025_16_11_25_10600.jpg
/home/pi/Desktop/images/26112025/16/11/image_26112025_16_11_34_9707.jpg
/home/pi/Desktop/images/26112025/16/11/image_26112025_16_11_44_9807.jpg
/home/pi/Desktop/images/26112025/16/11/image_26112025_16_11_55_10637.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":["1396280956","1396280926","1396280929","1396280949","1396280919","1396280954"],"photo_ids_order":["1396280919","1396280926","1396280929","1396280949","1396280954","1396280956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cf0c1f9f3b214c222758978d7e3d0a11.jpg","text":"TemporaryFile(/tmp/multipartBody9206194815172777005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179125944,"filename":"image_26112025_16_11_55_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2c0a16e9c98dd56dc68cde4ea33b1d15.jpg","text":"TemporaryFile(/tmp/multipartBody2539832521252645628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179125944,"filename":"image_26112025_16_11_14_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/79134e3cf6474037dff6da6a808fc01b.jpg","text":"TemporaryFile(/tmp/multipartBody5172695779298461285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179125944,"filename":"image_26112025_16_11_25_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9dd165e8fe2cb2c6fbccfa8574861a98.jpg","text":"TemporaryFile(/tmp/multipartBody4865993065019591741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179125944,"filename":"image_26112025_16_11_34_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a37d5b848c0a51bec3d310b741366fba.jpg","text":"TemporaryFile(/tmp/multipartBody5763186670985593819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179125944,"filename":"image_26112025_16_11_04_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/064fade5aa511c560355c0f3d197b1df.jpg","text":"TemporaryFile(/tmp/multipartBody6856684590626085965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179125944,"filename":"image_26112025_16_11_44_9807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396280929","file1":"1396280926","file0":"1396280919","file4":"1396280954","file5":"1396280956","file3":"1396280949"},"map_files_photo_id_array":[{"photo_id":"1396280956","filename":"file5"},{"photo_id":"1396280929","filename":"file2"},{"photo_id":"1396280954","filename":"file4"},{"photo_id":"1396280926","filename":"file1"},{"photo_id":"1396280919","filename":"file0"},{"photo_id":"1396280949","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396280956":["hashtag1","hashtag2"]},{"1396280926":["hashtag1","hashtag2"]},{"1396280929":["hashtag1","hashtag2"]},{"1396280949":["hashtag1","hashtag2"]},{"1396280919":["hashtag1","hashtag2"]},{"1396280954":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396280956, 1396280926, 1396280929, 1396280949, 1396280919, 1396280954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.16062903404236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 18:45:12.213375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/06/image_20112025_23_06_33_1704.jpg', '/home/pi/Desktop/images/20112025/23/06/image_20112025_23_06_36_1808.jpg', '/home/pi/Desktop/images/20112025/23/06/image_20112025_23_06_46_2761.jpg', '/home/pi/Desktop/images/20112025/23/06/image_20112025_23_06_48_2758.jpg', '/home/pi/Desktop/images/20112025/23/06/image_20112025_23_06_55_3710.jpg', '/home/pi/Desktop/images/20112025/23/06/image_20112025_23_06_58_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/06/image_20112025_23_06_33_1704.jpg
/home/pi/Desktop/images/20112025/23/06/image_20112025_23_06_36_1808.jpg
/home/pi/Desktop/images/20112025/23/06/image_20112025_23_06_46_2761.jpg
/home/pi/Desktop/images/20112025/23/06/image_20112025_23_06_48_2758.jpg
/home/pi/Desktop/images/20112025/23/06/image_20112025_23_06_55_3710.jpg
/home/pi/Desktop/images/20112025/23/06/image_20112025_23_06_58_2745.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":["1396280968","1396280964","1396280961","1396280975","1396280978","1396280972"],"photo_ids_order":["1396280961","1396280964","1396280968","1396280972","1396280975","1396280978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/72944bac23422ed19c19e3adfd75cd03.jpg","text":"TemporaryFile(/tmp/multipartBody7452374743688122046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179177035,"filename":"image_20112025_23_06_46_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/26/1e0600050322152106f9011743377247.jpg","text":"TemporaryFile(/tmp/multipartBody5328201325436445559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179177035,"filename":"image_20112025_23_06_36_1808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/15efd85d32f5db6f09450d10400a32c8.jpg","text":"TemporaryFile(/tmp/multipartBody8977927850310846668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179177035,"filename":"image_20112025_23_06_33_1704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5b69515633784bb5039bd7ad04669b17.jpg","text":"TemporaryFile(/tmp/multipartBody6088310402526686129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179177035,"filename":"image_20112025_23_06_55_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/26/f8bb1a748d8180c71b41c90210cf6d84.jpg","text":"TemporaryFile(/tmp/multipartBody5232548542997063227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179177035,"filename":"image_20112025_23_06_58_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/26/6178830a8fb237e491d3f1b03b0ff714.jpg","text":"TemporaryFile(/tmp/multipartBody2245205895380930732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179177035,"filename":"image_20112025_23_06_48_2758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396280968","file1":"1396280964","file0":"1396280961","file4":"1396280975","file5":"1396280978","file3":"1396280972"},"map_files_photo_id_array":[{"photo_id":"1396280978","filename":"file5"},{"photo_id":"1396280968","filename":"file2"},{"photo_id":"1396280975","filename":"file4"},{"photo_id":"1396280964","filename":"file1"},{"photo_id":"1396280961","filename":"file0"},{"photo_id":"1396280972","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396280968":["hashtag1","hashtag2"]},{"1396280964":["hashtag1","hashtag2"]},{"1396280961":["hashtag1","hashtag2"]},{"1396280975":["hashtag1","hashtag2"]},{"1396280978":["hashtag1","hashtag2"]},{"1396280972":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396280968, 1396280964, 1396280961, 1396280975, 1396280978, 1396280972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.172627210617065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:46:02.847622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/11/image_26112025_16_12_04_9564.jpg', '/home/pi/Desktop/images/26112025/16/12/image_26112025_16_12_14_9643.jpg', '/home/pi/Desktop/images/26112025/16/12/image_26112025_16_12_25_10721.jpg', '/home/pi/Desktop/images/26112025/16/12/image_26112025_16_12_34_9471.jpg', '/home/pi/Desktop/images/26112025/16/12/image_26112025_16_12_45_10753.jpg', '/home/pi/Desktop/images/26112025/16/12/image_26112025_16_12_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/11/image_26112025_16_12_04_9564.jpg
/home/pi/Desktop/images/26112025/16/12/image_26112025_16_12_14_9643.jpg
/home/pi/Desktop/images/26112025/16/12/image_26112025_16_12_25_10721.jpg
/home/pi/Desktop/images/26112025/16/12/image_26112025_16_12_34_9471.jpg
/home/pi/Desktop/images/26112025/16/12/image_26112025_16_12_45_10753.jpg
/home/pi/Desktop/images/26112025/16/12/image_26112025_16_12_55_9706.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":["1396281001","1396280997","1396280991","1396281011","1396280990","1396280992"],"photo_ids_order":["1396280990","1396280991","1396280992","1396280997","1396281001","1396281011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/55a1a5daf0227d44ed9f9d49e2a536b0.jpg","text":"TemporaryFile(/tmp/multipartBody8821398167385674381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179223562,"filename":"image_26112025_16_12_45_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b27fc58a615feaee7e1c82968ae9889e.jpg","text":"TemporaryFile(/tmp/multipartBody7560148876205189447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179223562,"filename":"image_26112025_16_12_34_9471.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4fe878cda00bb0f3491c211d414480cc.jpg","text":"TemporaryFile(/tmp/multipartBody5295587898933652131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179223562,"filename":"image_26112025_16_12_14_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7e18f9598047dcb93a903bf53b61efce.jpg","text":"TemporaryFile(/tmp/multipartBody2360541841912323135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179223562,"filename":"image_26112025_16_12_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1f2a4ff11d528f38edda9ba793d65ec8.jpg","text":"TemporaryFile(/tmp/multipartBody159768460163303356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179223562,"filename":"image_26112025_16_12_04_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/22b321b9a1e1e39f437281f6dd3e2cbd.jpg","text":"TemporaryFile(/tmp/multipartBody3046679053151647175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179223562,"filename":"image_26112025_16_12_25_10721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396280992","file1":"1396280991","file0":"1396280990","file4":"1396281001","file5":"1396281011","file3":"1396280997"},"map_files_photo_id_array":[{"photo_id":"1396281011","filename":"file5"},{"photo_id":"1396280992","filename":"file2"},{"photo_id":"1396281001","filename":"file4"},{"photo_id":"1396280991","filename":"file1"},{"photo_id":"1396280990","filename":"file0"},{"photo_id":"1396280997","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396281001":["hashtag1","hashtag2"]},{"1396280997":["hashtag1","hashtag2"]},{"1396280991":["hashtag1","hashtag2"]},{"1396281011":["hashtag1","hashtag2"]},{"1396280990":["hashtag1","hashtag2"]},{"1396280992":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396281001, 1396280997, 1396280991, 1396281011, 1396280990, 1396280992)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.52580261230469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:47:03.199443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/13/image_26112025_16_13_14_9677.jpg', '/home/pi/Desktop/images/26112025/16/13/image_26112025_16_13_25_10856.jpg', '/home/pi/Desktop/images/26112025/16/13/image_26112025_16_13_35_9658.jpg', '/home/pi/Desktop/images/26112025/16/13/image_26112025_16_13_54_9825.jpg', '/home/pi/Desktop/images/26112025/16/13/image_26112025_16_14_04_10248.jpg', '/home/pi/Desktop/images/26112025/16/14/image_26112025_16_14_15_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/13/image_26112025_16_13_14_9677.jpg
/home/pi/Desktop/images/26112025/16/13/image_26112025_16_13_25_10856.jpg
/home/pi/Desktop/images/26112025/16/13/image_26112025_16_13_35_9658.jpg
/home/pi/Desktop/images/26112025/16/13/image_26112025_16_13_54_9825.jpg
/home/pi/Desktop/images/26112025/16/13/image_26112025_16_14_04_10248.jpg
/home/pi/Desktop/images/26112025/16/14/image_26112025_16_14_15_10574.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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396281034","1396281075","1396281036","1396281071","1396281032","1396281067"],"photo_ids_order":["1396281032","1396281034","1396281036","1396281067","1396281071","1396281075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/882e45fdacf719bd38ac6ed9c2b4de7d.jpg","text":"TemporaryFile(/tmp/multipartBody8343368180701298127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179283961,"filename":"image_26112025_16_13_25_10856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/62d0730cff956939f738c3d4716a5e9a.jpg","text":"TemporaryFile(/tmp/multipartBody64680004391480868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179283961,"filename":"image_26112025_16_14_15_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0715b503e529e67dedccf149ac09baa4.jpg","text":"TemporaryFile(/tmp/multipartBody3732311176074040600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179283961,"filename":"image_26112025_16_13_35_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b92ad7f0fcec4401abce19496d9262f1.jpg","text":"TemporaryFile(/tmp/multipartBody3833510568711733959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179283961,"filename":"image_26112025_16_14_04_10248.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/36ed6b557788952e1598823d06b031d7.jpg","text":"TemporaryFile(/tmp/multipartBody7947020763022601911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179283961,"filename":"image_26112025_16_13_14_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/45f1e38953882a15f0cb10de80e60c08.jpg","text":"TemporaryFile(/tmp/multipartBody7324312321083521972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179283961,"filename":"image_26112025_16_13_54_9825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396281036","file1":"1396281034","file0":"1396281032","file4":"1396281071","file5":"1396281075","file3":"1396281067"},"map_files_photo_id_array":[{"photo_id":"1396281075","filename":"file5"},{"photo_id":"1396281036","filename":"file2"},{"photo_id":"1396281071","filename":"file4"},{"photo_id":"1396281034","filename":"file1"},{"photo_id":"1396281032","filename":"file0"},{"photo_id":"1396281067","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396281034":["hashtag1","hashtag2"]},{"1396281075":["hashtag1","hashtag2"]},{"1396281036":["hashtag1","hashtag2"]},{"1396281071":["hashtag1","hashtag2"]},{"1396281032":["hashtag1","hashtag2"]},{"1396281067":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396281034, 1396281075, 1396281036, 1396281071, 1396281032, 1396281067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.69656038284302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:48:02.737038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/14/image_26112025_16_14_25_9828.jpg', '/home/pi/Desktop/images/26112025/16/14/image_26112025_16_14_35_9870.jpg', '/home/pi/Desktop/images/26112025/16/14/image_26112025_16_14_44_9535.jpg', '/home/pi/Desktop/images/26112025/16/15/image_26112025_16_15_14_10133.jpg', '/home/pi/Desktop/images/26112025/16/15/image_26112025_16_15_24_10573.jpg', '/home/pi/Desktop/images/26112025/16/15/image_26112025_16_15_34_9802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/14/image_26112025_16_14_25_9828.jpg
/home/pi/Desktop/images/26112025/16/14/image_26112025_16_14_35_9870.jpg
/home/pi/Desktop/images/26112025/16/14/image_26112025_16_14_44_9535.jpg
/home/pi/Desktop/images/26112025/16/15/image_26112025_16_15_14_10133.jpg
/home/pi/Desktop/images/26112025/16/15/image_26112025_16_15_24_10573.jpg
/home/pi/Desktop/images/26112025/16/15/image_26112025_16_15_34_9802.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":["1396281103","1396281112","1396281099","1396281108","1396281101","1396281097"],"photo_ids_order":["1396281097","1396281099","1396281101","1396281103","1396281108","1396281112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/de59ec10d5f3334b6dfb502da3781fc1.jpg","text":"TemporaryFile(/tmp/multipartBody8651732255870203912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179343479,"filename":"image_26112025_16_15_14_10133.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/689527fd79b3620a6c9e4b761c77e10a.jpg","text":"TemporaryFile(/tmp/multipartBody7770842384319406303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179343479,"filename":"image_26112025_16_15_34_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a9e053e1088adbe7e5aabee6b0539047.jpg","text":"TemporaryFile(/tmp/multipartBody1754336583195635830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179343479,"filename":"image_26112025_16_14_35_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cb647fd92d5fe5201e8412dd3aa67261.jpg","text":"TemporaryFile(/tmp/multipartBody4287158655224559182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179343479,"filename":"image_26112025_16_15_24_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/26/231c7532ea133edf2703efc8d919d57d.jpg","text":"TemporaryFile(/tmp/multipartBody5753990610155064272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179343479,"filename":"image_26112025_16_14_44_9535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/71a1d1595e2935b0a0e76c3212c0e658.jpg","text":"TemporaryFile(/tmp/multipartBody6301553641254896492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179343479,"filename":"image_26112025_16_14_25_9828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396281101","file1":"1396281099","file0":"1396281097","file4":"1396281108","file5":"1396281112","file3":"1396281103"},"map_files_photo_id_array":[{"photo_id":"1396281112","filename":"file5"},{"photo_id":"1396281101","filename":"file2"},{"photo_id":"1396281108","filename":"file4"},{"photo_id":"1396281099","filename":"file1"},{"photo_id":"1396281097","filename":"file0"},{"photo_id":"1396281103","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396281103":["hashtag1","hashtag2"]},{"1396281112":["hashtag1","hashtag2"]},{"1396281099":["hashtag1","hashtag2"]},{"1396281108":["hashtag1","hashtag2"]},{"1396281101":["hashtag1","hashtag2"]},{"1396281097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396281103, 1396281112, 1396281099, 1396281108, 1396281101, 1396281097)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.98704481124878 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:49:03.469652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/15/image_26112025_16_15_44_9988.jpg', '/home/pi/Desktop/images/26112025/16/15/image_26112025_16_15_54_10062.jpg', '/home/pi/Desktop/images/26112025/16/15/image_26112025_16_16_04_9704.jpg', '/home/pi/Desktop/images/26112025/16/16/image_26112025_16_16_15_10688.jpg', '/home/pi/Desktop/images/26112025/16/16/image_26112025_16_16_24_9926.jpg', '/home/pi/Desktop/images/26112025/16/16/image_26112025_16_16_34_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/15/image_26112025_16_15_44_9988.jpg
/home/pi/Desktop/images/26112025/16/15/image_26112025_16_15_54_10062.jpg
/home/pi/Desktop/images/26112025/16/15/image_26112025_16_16_04_9704.jpg
/home/pi/Desktop/images/26112025/16/16/image_26112025_16_16_15_10688.jpg
/home/pi/Desktop/images/26112025/16/16/image_26112025_16_16_24_9926.jpg
/home/pi/Desktop/images/26112025/16/16/image_26112025_16_16_34_9599.jpg
 val : 1 : upload photos already in processing! 
 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":["1396281130","1396281156","1396281170","1396281164","1396281172","1396281175"],"photo_ids_order":["1396281130","1396281156","1396281164","1396281170","1396281172","1396281175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d3a6dbea0b3f197e1f1226f844c1917d.jpg","text":"TemporaryFile(/tmp/multipartBody323547302063175033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179404299,"filename":"image_26112025_16_15_44_9988.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e692924d7b5b0b87b45067f4a4fa9f31.jpg","text":"TemporaryFile(/tmp/multipartBody2580541401537228308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179404299,"filename":"image_26112025_16_15_54_10062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d9bfabb56155ab7dca02b3085475a7c8.jpg","text":"TemporaryFile(/tmp/multipartBody8235458453721867394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179404299,"filename":"image_26112025_16_16_15_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6463d71206485a303d711aaa284ca9cc.jpg","text":"TemporaryFile(/tmp/multipartBody4764371059958198599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179404299,"filename":"image_26112025_16_16_04_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e42d7182f176ca58666c14c34ef8fb67.jpg","text":"TemporaryFile(/tmp/multipartBody3407868326264408741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179404299,"filename":"image_26112025_16_16_24_9926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9d68e93efcc998b1b7d81f5aba95f9dc.jpg","text":"TemporaryFile(/tmp/multipartBody2519059975608481573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179404299,"filename":"image_26112025_16_16_34_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396281164","file1":"1396281156","file0":"1396281130","file4":"1396281172","file5":"1396281175","file3":"1396281170"},"map_files_photo_id_array":[{"photo_id":"1396281175","filename":"file5"},{"photo_id":"1396281164","filename":"file2"},{"photo_id":"1396281172","filename":"file4"},{"photo_id":"1396281156","filename":"file1"},{"photo_id":"1396281130","filename":"file0"},{"photo_id":"1396281170","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396281130":["hashtag1","hashtag2"]},{"1396281156":["hashtag1","hashtag2"]},{"1396281170":["hashtag1","hashtag2"]},{"1396281164":["hashtag1","hashtag2"]},{"1396281172":["hashtag1","hashtag2"]},{"1396281175":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396281130, 1396281156, 1396281170, 1396281164, 1396281172, 1396281175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.81900334358215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:50:03.142716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/16/image_26112025_16_16_44_9792.jpg', '/home/pi/Desktop/images/26112025/16/16/image_26112025_16_16_54_10544.jpg', '/home/pi/Desktop/images/26112025/16/16/image_26112025_16_17_04_10088.jpg', '/home/pi/Desktop/images/26112025/16/17/image_26112025_16_17_14_9751.jpg', '/home/pi/Desktop/images/26112025/16/17/image_26112025_16_17_24_9847.jpg', '/home/pi/Desktop/images/26112025/16/17/image_26112025_16_17_34_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/16/image_26112025_16_16_44_9792.jpg
/home/pi/Desktop/images/26112025/16/16/image_26112025_16_16_54_10544.jpg
/home/pi/Desktop/images/26112025/16/16/image_26112025_16_17_04_10088.jpg
/home/pi/Desktop/images/26112025/16/17/image_26112025_16_17_14_9751.jpg
/home/pi/Desktop/images/26112025/16/17/image_26112025_16_17_24_9847.jpg
/home/pi/Desktop/images/26112025/16/17/image_26112025_16_17_34_9690.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":["1396281186","1396281197","1396281182","1396281200","1396281190","1396281184"],"photo_ids_order":["1396281182","1396281184","1396281186","1396281190","1396281197","1396281200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1f981d84b361fe543dca39d908addf21.jpg","text":"TemporaryFile(/tmp/multipartBody6340746943315518407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179463874,"filename":"image_26112025_16_17_04_10088.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e28e1c0dc1f09aa8a077c189f437fa8b.jpg","text":"TemporaryFile(/tmp/multipartBody7592151488276598814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179463874,"filename":"image_26112025_16_17_24_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a7640c928600ff755f3b8dedaea35047.jpg","text":"TemporaryFile(/tmp/multipartBody4132247067775682768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179463874,"filename":"image_26112025_16_16_44_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6978f19d0fe31c187b8ebfd9ed91f05f.jpg","text":"TemporaryFile(/tmp/multipartBody5731303754102728075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179463874,"filename":"image_26112025_16_17_34_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4f7965f31ed02c9d0a4097956192b95d.jpg","text":"TemporaryFile(/tmp/multipartBody8771825625389835795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179463874,"filename":"image_26112025_16_17_14_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/85856f6858726ca47cb250382e2e180c.jpg","text":"TemporaryFile(/tmp/multipartBody3024189169406086031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179463874,"filename":"image_26112025_16_16_54_10544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396281186","file1":"1396281184","file0":"1396281182","file4":"1396281197","file5":"1396281200","file3":"1396281190"},"map_files_photo_id_array":[{"photo_id":"1396281200","filename":"file5"},{"photo_id":"1396281186","filename":"file2"},{"photo_id":"1396281197","filename":"file4"},{"photo_id":"1396281184","filename":"file1"},{"photo_id":"1396281182","filename":"file0"},{"photo_id":"1396281190","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396281186":["hashtag1","hashtag2"]},{"1396281197":["hashtag1","hashtag2"]},{"1396281182":["hashtag1","hashtag2"]},{"1396281200":["hashtag1","hashtag2"]},{"1396281190":["hashtag1","hashtag2"]},{"1396281184":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396281186, 1396281197, 1396281182, 1396281200, 1396281190, 1396281184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39070653915405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 18:50:42.692921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/08/image_30102025_20_08_25_2692.jpg', '/home/pi/Desktop/images/30102025/20/08/image_30102025_20_08_31_6236.jpg', '/home/pi/Desktop/images/30102025/20/08/image_30102025_20_08_35_1640.jpg', '/home/pi/Desktop/images/30102025/20/08/image_30102025_20_08_37_2724.jpg', '/home/pi/Desktop/images/30102025/20/08/image_30102025_20_08_40_2766.jpg', '/home/pi/Desktop/images/30102025/20/08/image_30102025_20_08_44_3622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/08/image_30102025_20_08_25_2692.jpg
/home/pi/Desktop/images/30102025/20/08/image_30102025_20_08_31_6236.jpg
/home/pi/Desktop/images/30102025/20/08/image_30102025_20_08_35_1640.jpg
/home/pi/Desktop/images/30102025/20/08/image_30102025_20_08_37_2724.jpg
/home/pi/Desktop/images/30102025/20/08/image_30102025_20_08_40_2766.jpg
/home/pi/Desktop/images/30102025/20/08/image_30102025_20_08_44_3622.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":["1396281220","1396281225","1396281222","1396281218","1396281206","1396281221"],"photo_ids_order":["1396281206","1396281218","1396281220","1396281221","1396281222","1396281225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5dc461870ea72a1d6346923d4d06af2a.jpg","text":"TemporaryFile(/tmp/multipartBody1965511121289330226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179504162,"filename":"image_30102025_20_08_35_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/26/ae124881612b5bd6a7309d7c12c005c8.jpg","text":"TemporaryFile(/tmp/multipartBody8063375155459011211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179504162,"filename":"image_30102025_20_08_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/26/f441ad7d3f241ed352001454460145dd.jpg","text":"TemporaryFile(/tmp/multipartBody7352438571221326995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179504162,"filename":"image_30102025_20_08_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/26/25590ad59c793e590e8da0694f204323.jpg","text":"TemporaryFile(/tmp/multipartBody540406017739412255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179504162,"filename":"image_30102025_20_08_31_6236.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ba3fe2e1a81262564556dd4415e4cb6e.jpg","text":"TemporaryFile(/tmp/multipartBody7180246692570591116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179504162,"filename":"image_30102025_20_08_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/26/083a427c1e0bedbbd9d987a1e080b576.jpg","text":"TemporaryFile(/tmp/multipartBody5038305183542050345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179504162,"filename":"image_30102025_20_08_37_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396281220","file1":"1396281218","file0":"1396281206","file4":"1396281222","file5":"1396281225","file3":"1396281221"},"map_files_photo_id_array":[{"photo_id":"1396281225","filename":"file5"},{"photo_id":"1396281220","filename":"file2"},{"photo_id":"1396281222","filename":"file4"},{"photo_id":"1396281218","filename":"file1"},{"photo_id":"1396281206","filename":"file0"},{"photo_id":"1396281221","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396281220":["hashtag1","hashtag2"]},{"1396281225":["hashtag1","hashtag2"]},{"1396281222":["hashtag1","hashtag2"]},{"1396281218":["hashtag1","hashtag2"]},{"1396281206":["hashtag1","hashtag2"]},{"1396281221":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396281220, 1396281225, 1396281222, 1396281218, 1396281206, 1396281221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.47226881980896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 18:51:31.820566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/06/image_20112025_23_07_00_2599.jpg', '/home/pi/Desktop/images/20112025/23/07/image_20112025_23_07_09_2695.jpg', '/home/pi/Desktop/images/20112025/23/07/image_20112025_23_07_13_3635.jpg', '/home/pi/Desktop/images/20112025/23/07/image_20112025_23_07_25_3819.jpg', '/home/pi/Desktop/images/20112025/23/07/image_20112025_23_07_30_2549.jpg', '/home/pi/Desktop/images/20112025/23/07/image_20112025_23_07_34_3652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/06/image_20112025_23_07_00_2599.jpg
/home/pi/Desktop/images/20112025/23/07/image_20112025_23_07_09_2695.jpg
/home/pi/Desktop/images/20112025/23/07/image_20112025_23_07_13_3635.jpg
/home/pi/Desktop/images/20112025/23/07/image_20112025_23_07_25_3819.jpg
/home/pi/Desktop/images/20112025/23/07/image_20112025_23_07_30_2549.jpg
/home/pi/Desktop/images/20112025/23/07/image_20112025_23_07_34_3652.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":["1396281250","1396281238","1396281249","1396281242","1396281245","1396281248"],"photo_ids_order":["1396281238","1396281242","1396281245","1396281248","1396281249","1396281250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a28dc4c3a3dabfd26f7735560db1443b.jpg","text":"TemporaryFile(/tmp/multipartBody1569117221136484272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179553692,"filename":"image_20112025_23_07_34_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/26/10ea64fe5368498cdafbdd32ebab9155.jpg","text":"TemporaryFile(/tmp/multipartBody6742646990955340807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179553692,"filename":"image_20112025_23_07_00_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/26/1c619a61df83938d44f64b5a09b29586.jpg","text":"TemporaryFile(/tmp/multipartBody8013522932739457380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179553692,"filename":"image_20112025_23_07_30_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a27f34502d8a8ff76cc33c8991b6c66d.jpg","text":"TemporaryFile(/tmp/multipartBody4269608398096617370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179553692,"filename":"image_20112025_23_07_09_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/26/e8d58be4dd3f48f2e2c824eb933839bb.jpg","text":"TemporaryFile(/tmp/multipartBody3495649633983784331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179553692,"filename":"image_20112025_23_07_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/26/bf8e617e12b3b2a45306622a8d29c9fe.jpg","text":"TemporaryFile(/tmp/multipartBody8733936118724345523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179553692,"filename":"image_20112025_23_07_25_3819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396281245","file1":"1396281242","file0":"1396281238","file4":"1396281249","file5":"1396281250","file3":"1396281248"},"map_files_photo_id_array":[{"photo_id":"1396281250","filename":"file5"},{"photo_id":"1396281245","filename":"file2"},{"photo_id":"1396281249","filename":"file4"},{"photo_id":"1396281242","filename":"file1"},{"photo_id":"1396281238","filename":"file0"},{"photo_id":"1396281248","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396281250":["hashtag1","hashtag2"]},{"1396281238":["hashtag1","hashtag2"]},{"1396281249":["hashtag1","hashtag2"]},{"1396281242":["hashtag1","hashtag2"]},{"1396281245":["hashtag1","hashtag2"]},{"1396281248":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396281250, 1396281238, 1396281249, 1396281242, 1396281245, 1396281248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.01122975349426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 18:52:22.021389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/17/image_26112025_16_17_44_10657.jpg', '/home/pi/Desktop/images/26112025/16/17/image_26112025_16_17_54_9776.jpg', '/home/pi/Desktop/images/26112025/16/17/image_26112025_16_18_04_9531.jpg', '/home/pi/Desktop/images/26112025/16/18/image_26112025_16_18_15_10793.jpg', '/home/pi/Desktop/images/26112025/16/18/image_26112025_16_18_24_9677.jpg', '/home/pi/Desktop/images/26112025/16/18/image_26112025_16_18_34_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/17/image_26112025_16_17_44_10657.jpg
/home/pi/Desktop/images/26112025/16/17/image_26112025_16_17_54_9776.jpg
/home/pi/Desktop/images/26112025/16/17/image_26112025_16_18_04_9531.jpg
/home/pi/Desktop/images/26112025/16/18/image_26112025_16_18_15_10793.jpg
/home/pi/Desktop/images/26112025/16/18/image_26112025_16_18_24_9677.jpg
/home/pi/Desktop/images/26112025/16/18/image_26112025_16_18_34_9649.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":["1396281282","1396281261","1396281264","1396281267","1396281286","1396281274"],"photo_ids_order":["1396281261","1396281264","1396281267","1396281274","1396281282","1396281286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e80f728e780ff14207f7918b1400de1a.jpg","text":"TemporaryFile(/tmp/multipartBody6216790869303712123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179602754,"filename":"image_26112025_16_18_24_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/883f144450144fcb3f30f7c1543245bc.jpg","text":"TemporaryFile(/tmp/multipartBody6773145425227774531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179602754,"filename":"image_26112025_16_17_44_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a7174f708665e7aa36a0e96600627f3f.jpg","text":"TemporaryFile(/tmp/multipartBody881232771964355738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179602754,"filename":"image_26112025_16_17_54_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e02b7b50b214565661010572544daa12.jpg","text":"TemporaryFile(/tmp/multipartBody2983938094214378215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179602754,"filename":"image_26112025_16_18_04_9531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8399c8845b67297a4b268f858705ef0a.jpg","text":"TemporaryFile(/tmp/multipartBody4362361284527470531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179602754,"filename":"image_26112025_16_18_34_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1c9d0ce9ea0d9ad6f0671535fec4eef6.jpg","text":"TemporaryFile(/tmp/multipartBody881727219802073811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179602754,"filename":"image_26112025_16_18_15_10793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396281267","file1":"1396281264","file0":"1396281261","file4":"1396281282","file5":"1396281286","file3":"1396281274"},"map_files_photo_id_array":[{"photo_id":"1396281286","filename":"file5"},{"photo_id":"1396281267","filename":"file2"},{"photo_id":"1396281282","filename":"file4"},{"photo_id":"1396281264","filename":"file1"},{"photo_id":"1396281261","filename":"file0"},{"photo_id":"1396281274","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396281282":["hashtag1","hashtag2"]},{"1396281261":["hashtag1","hashtag2"]},{"1396281264":["hashtag1","hashtag2"]},{"1396281267":["hashtag1","hashtag2"]},{"1396281286":["hashtag1","hashtag2"]},{"1396281274":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396281282, 1396281261, 1396281264, 1396281267, 1396281286, 1396281274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.475886821746826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:53:03.118420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/18/image_26112025_16_18_54_9613.jpg', '/home/pi/Desktop/images/26112025/16/18/image_26112025_16_19_04_9685.jpg', '/home/pi/Desktop/images/26112025/16/19/image_26112025_16_19_14_10561.jpg', '/home/pi/Desktop/images/26112025/16/19/image_26112025_16_19_24_9631.jpg', '/home/pi/Desktop/images/26112025/16/19/image_26112025_16_19_34_9686.jpg', '/home/pi/Desktop/images/26112025/16/19/image_26112025_16_19_44_10740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/18/image_26112025_16_18_54_9613.jpg
/home/pi/Desktop/images/26112025/16/18/image_26112025_16_19_04_9685.jpg
/home/pi/Desktop/images/26112025/16/19/image_26112025_16_19_14_10561.jpg
/home/pi/Desktop/images/26112025/16/19/image_26112025_16_19_24_9631.jpg
/home/pi/Desktop/images/26112025/16/19/image_26112025_16_19_34_9686.jpg
/home/pi/Desktop/images/26112025/16/19/image_26112025_16_19_44_10740.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":["1396281312","1396281309","1396281299","1396281305","1396281295","1396281302"],"photo_ids_order":["1396281295","1396281299","1396281302","1396281305","1396281309","1396281312"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/89b945f98465de457aed96d126eeff41.jpg","text":"TemporaryFile(/tmp/multipartBody8275498623324824799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179643912,"filename":"image_26112025_16_19_44_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/df0e5d0a2cff7438db001fcff6d36f9a.jpg","text":"TemporaryFile(/tmp/multipartBody1180280164819208773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179643912,"filename":"image_26112025_16_19_34_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2b9960d42481694706fd568b61c62291.jpg","text":"TemporaryFile(/tmp/multipartBody7152751439498020543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179643912,"filename":"image_26112025_16_19_04_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/40d8c8fa61c4bdbdb67b5c69d37e96e9.jpg","text":"TemporaryFile(/tmp/multipartBody5666733391181624337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179643912,"filename":"image_26112025_16_19_24_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6b6d7f408b65b44183d2378cbf28e1e3.jpg","text":"TemporaryFile(/tmp/multipartBody105016524489987168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179643912,"filename":"image_26112025_16_18_54_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a62ab5cacb10c837a7974655ea94c064.jpg","text":"TemporaryFile(/tmp/multipartBody690883111241789322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179643912,"filename":"image_26112025_16_19_14_10561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396281302","file1":"1396281299","file0":"1396281295","file4":"1396281309","file5":"1396281312","file3":"1396281305"},"map_files_photo_id_array":[{"photo_id":"1396281312","filename":"file5"},{"photo_id":"1396281302","filename":"file2"},{"photo_id":"1396281309","filename":"file4"},{"photo_id":"1396281299","filename":"file1"},{"photo_id":"1396281295","filename":"file0"},{"photo_id":"1396281305","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396281312":["hashtag1","hashtag2"]},{"1396281309":["hashtag1","hashtag2"]},{"1396281299":["hashtag1","hashtag2"]},{"1396281305":["hashtag1","hashtag2"]},{"1396281295":["hashtag1","hashtag2"]},{"1396281302":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396281312, 1396281309, 1396281299, 1396281305, 1396281295, 1396281302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.925395488739014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 18:53:42.386656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/08/image_30102025_20_08_46_2752.jpg', '/home/pi/Desktop/images/30102025/20/08/image_30102025_20_08_49_2688.jpg', '/home/pi/Desktop/images/30102025/20/09/image_30102025_20_09_01_2660.jpg', '/home/pi/Desktop/images/30102025/20/09/image_30102025_20_09_13_2622.jpg', '/home/pi/Desktop/images/30102025/20/09/image_30102025_20_09_51_1625.jpg', '/home/pi/Desktop/images/30102025/20/09/image_30102025_20_09_58_7335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/08/image_30102025_20_08_46_2752.jpg
/home/pi/Desktop/images/30102025/20/08/image_30102025_20_08_49_2688.jpg
/home/pi/Desktop/images/30102025/20/09/image_30102025_20_09_01_2660.jpg
/home/pi/Desktop/images/30102025/20/09/image_30102025_20_09_13_2622.jpg
/home/pi/Desktop/images/30102025/20/09/image_30102025_20_09_51_1625.jpg
/home/pi/Desktop/images/30102025/20/09/image_30102025_20_09_58_7335.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":["1396281328","1396281343","1396281322","1396281342","1396281341","1396281347"],"photo_ids_order":["1396281322","1396281328","1396281341","1396281342","1396281343","1396281347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d5a6325d812d3cc10edd7b2054a15381.jpg","text":"TemporaryFile(/tmp/multipartBody1964820485466281075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179683854,"filename":"image_30102025_20_08_49_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/26/885cc6201e706cac83a28fa6d03646b1.jpg","text":"TemporaryFile(/tmp/multipartBody5924460575480103377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179683854,"filename":"image_30102025_20_09_51_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/26/f067a2b244075a00608a4325d48ddbe9.jpg","text":"TemporaryFile(/tmp/multipartBody1059420840971167614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179683854,"filename":"image_30102025_20_08_46_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/26/e2e1a8c2fccbed89a319f91cd358011f.jpg","text":"TemporaryFile(/tmp/multipartBody3402134029521688848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179683854,"filename":"image_30102025_20_09_13_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/26/9eeeeaa7783339f3030f6a4883c5e362.jpg","text":"TemporaryFile(/tmp/multipartBody4617001042854759381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179683854,"filename":"image_30102025_20_09_01_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/26/3a629f5c5dea7c08bc2ab27456f43b9d.jpg","text":"TemporaryFile(/tmp/multipartBody3271621999922926888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179683854,"filename":"image_30102025_20_09_58_7335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396281341","file1":"1396281328","file0":"1396281322","file4":"1396281343","file5":"1396281347","file3":"1396281342"},"map_files_photo_id_array":[{"photo_id":"1396281347","filename":"file5"},{"photo_id":"1396281341","filename":"file2"},{"photo_id":"1396281343","filename":"file4"},{"photo_id":"1396281328","filename":"file1"},{"photo_id":"1396281322","filename":"file0"},{"photo_id":"1396281342","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396281328":["hashtag1","hashtag2"]},{"1396281343":["hashtag1","hashtag2"]},{"1396281322":["hashtag1","hashtag2"]},{"1396281342":["hashtag1","hashtag2"]},{"1396281341":["hashtag1","hashtag2"]},{"1396281347":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396281328, 1396281343, 1396281322, 1396281342, 1396281341, 1396281347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.17239546775818 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 18:54:32.496645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/07/image_20112025_23_07_37_2789.jpg', '/home/pi/Desktop/images/20112025/23/07/image_20112025_23_07_46_3790.jpg', '/home/pi/Desktop/images/20112025/23/07/image_20112025_23_07_51_2696.jpg', '/home/pi/Desktop/images/20112025/23/07/image_20112025_23_07_54_2848.jpg', '/home/pi/Desktop/images/20112025/23/07/image_20112025_23_07_58_3631.jpg', '/home/pi/Desktop/images/20112025/23/08/image_20112025_23_08_07_3624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/07/image_20112025_23_07_37_2789.jpg
/home/pi/Desktop/images/20112025/23/07/image_20112025_23_07_46_3790.jpg
/home/pi/Desktop/images/20112025/23/07/image_20112025_23_07_51_2696.jpg
/home/pi/Desktop/images/20112025/23/07/image_20112025_23_07_54_2848.jpg
/home/pi/Desktop/images/20112025/23/07/image_20112025_23_07_58_3631.jpg
/home/pi/Desktop/images/20112025/23/08/image_20112025_23_08_07_3624.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":["1396281390","1396281363","1396281366","1396281377","1396281382","1396281385"],"photo_ids_order":["1396281363","1396281366","1396281377","1396281382","1396281385","1396281390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4817548ed392d27be78e3036e71bd8c7.jpg","text":"TemporaryFile(/tmp/multipartBody2095601949579489138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179734426,"filename":"image_20112025_23_08_07_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/26/40c2fc2fbfc0cfbf8b465d2a2886f5e4.jpg","text":"TemporaryFile(/tmp/multipartBody254058863065720658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179734426,"filename":"image_20112025_23_07_37_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/26/76e33c072beff2d2bcb915cf2a7cc703.jpg","text":"TemporaryFile(/tmp/multipartBody219300051857061098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179734426,"filename":"image_20112025_23_07_46_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/26/eb53a072e72beacbfb6e7e9a8057d462.jpg","text":"TemporaryFile(/tmp/multipartBody4288864223109598099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179734426,"filename":"image_20112025_23_07_51_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/26/cb542e619c9a82059987ea083a8f7d6f.jpg","text":"TemporaryFile(/tmp/multipartBody8624947846826899774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179734426,"filename":"image_20112025_23_07_54_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/26/247f9b69a0d4642ee7dce60eefcb30a6.jpg","text":"TemporaryFile(/tmp/multipartBody7410045664109978234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179734426,"filename":"image_20112025_23_07_58_3631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396281377","file1":"1396281366","file0":"1396281363","file4":"1396281385","file5":"1396281390","file3":"1396281382"},"map_files_photo_id_array":[{"photo_id":"1396281390","filename":"file5"},{"photo_id":"1396281377","filename":"file2"},{"photo_id":"1396281385","filename":"file4"},{"photo_id":"1396281366","filename":"file1"},{"photo_id":"1396281363","filename":"file0"},{"photo_id":"1396281382","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396281390":["hashtag1","hashtag2"]},{"1396281363":["hashtag1","hashtag2"]},{"1396281366":["hashtag1","hashtag2"]},{"1396281377":["hashtag1","hashtag2"]},{"1396281382":["hashtag1","hashtag2"]},{"1396281385":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396281390, 1396281363, 1396281366, 1396281377, 1396281382, 1396281385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.45688843727112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 18:55:12.764194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/08/image_20112025_23_08_10_2754.jpg', '/home/pi/Desktop/images/20112025/23/08/image_20112025_23_08_21_2717.jpg', '/home/pi/Desktop/images/20112025/23/08/image_20112025_23_08_43_3621.jpg', '/home/pi/Desktop/images/20112025/23/08/image_20112025_23_08_46_2724.jpg', '/home/pi/Desktop/images/20112025/23/08/image_20112025_23_08_52_1736.jpg', '/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_04_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/08/image_20112025_23_08_10_2754.jpg
/home/pi/Desktop/images/20112025/23/08/image_20112025_23_08_21_2717.jpg
/home/pi/Desktop/images/20112025/23/08/image_20112025_23_08_43_3621.jpg
/home/pi/Desktop/images/20112025/23/08/image_20112025_23_08_46_2724.jpg
/home/pi/Desktop/images/20112025/23/08/image_20112025_23_08_52_1736.jpg
/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_04_3649.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":["1396281412","1396281400","1396281396","1396281410","1396281404","1396281407"],"photo_ids_order":["1396281396","1396281400","1396281404","1396281407","1396281410","1396281412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2b1d45c8539c27a0e7f04321f7ce65ee.jpg","text":"TemporaryFile(/tmp/multipartBody5745467953724483087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179774633,"filename":"image_20112025_23_09_04_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/26/e22f31768fce6dd5956c47ff2d748d14.jpg","text":"TemporaryFile(/tmp/multipartBody69743583927813854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179774633,"filename":"image_20112025_23_08_21_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bdead07229bed92ee133856397af557a.jpg","text":"TemporaryFile(/tmp/multipartBody3782721677355640952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179774633,"filename":"image_20112025_23_08_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/26/fcbb0c6131320a0442e2b731472bca94.jpg","text":"TemporaryFile(/tmp/multipartBody2035345112920645525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179774633,"filename":"image_20112025_23_08_52_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/26/4b54907ff2e5675d364763db816d1e82.jpg","text":"TemporaryFile(/tmp/multipartBody4615397536717436097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179774633,"filename":"image_20112025_23_08_43_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/26/d7bb7bdaab96a95926f5227dcb13fc7d.jpg","text":"TemporaryFile(/tmp/multipartBody7626109144462771785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179774633,"filename":"image_20112025_23_08_46_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396281404","file1":"1396281400","file0":"1396281396","file4":"1396281410","file5":"1396281412","file3":"1396281407"},"map_files_photo_id_array":[{"photo_id":"1396281412","filename":"file5"},{"photo_id":"1396281404","filename":"file2"},{"photo_id":"1396281410","filename":"file4"},{"photo_id":"1396281400","filename":"file1"},{"photo_id":"1396281396","filename":"file0"},{"photo_id":"1396281407","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396281412":["hashtag1","hashtag2"]},{"1396281400":["hashtag1","hashtag2"]},{"1396281396":["hashtag1","hashtag2"]},{"1396281410":["hashtag1","hashtag2"]},{"1396281404":["hashtag1","hashtag2"]},{"1396281407":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396281412, 1396281400, 1396281396, 1396281410, 1396281404, 1396281407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.531896114349365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:56:02.983070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/19/image_26112025_16_19_54_9753.jpg', '/home/pi/Desktop/images/26112025/16/20/image_26112025_16_20_14_10057.jpg', '/home/pi/Desktop/images/26112025/16/20/image_26112025_16_20_25_10718.jpg', '/home/pi/Desktop/images/26112025/16/20/image_26112025_16_20_35_9633.jpg', '/home/pi/Desktop/images/26112025/16/20/image_26112025_16_20_44_9646.jpg', '/home/pi/Desktop/images/26112025/16/20/image_26112025_16_20_55_10853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/19/image_26112025_16_19_54_9753.jpg
/home/pi/Desktop/images/26112025/16/20/image_26112025_16_20_14_10057.jpg
/home/pi/Desktop/images/26112025/16/20/image_26112025_16_20_25_10718.jpg
/home/pi/Desktop/images/26112025/16/20/image_26112025_16_20_35_9633.jpg
/home/pi/Desktop/images/26112025/16/20/image_26112025_16_20_44_9646.jpg
/home/pi/Desktop/images/26112025/16/20/image_26112025_16_20_55_10853.jpg
 val : 1 : upload photos already in processing! 
 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":["1396281432","1396281429","1396281434","1396281422","1396281425","1396281419"],"photo_ids_order":["1396281419","1396281422","1396281425","1396281429","1396281432","1396281434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c4ce2f14094a2a03daaca2d0ac14fd4f.jpg","text":"TemporaryFile(/tmp/multipartBody7646436948566280494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179823776,"filename":"image_26112025_16_20_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c38be87f9452266cea80fec10385fd6d.jpg","text":"TemporaryFile(/tmp/multipartBody8484784415692739428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179823776,"filename":"image_26112025_16_20_35_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/05430967611cd9d04344a6519bee45e1.jpg","text":"TemporaryFile(/tmp/multipartBody3911928900342028672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179823776,"filename":"image_26112025_16_20_55_10853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b4a83e5202639fc82c2ec29fe2088263.jpg","text":"TemporaryFile(/tmp/multipartBody7412449244668824590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179823776,"filename":"image_26112025_16_20_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/509e9b45978d392d75c7232e5021ed6b.jpg","text":"TemporaryFile(/tmp/multipartBody6580070225000001900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179823776,"filename":"image_26112025_16_20_25_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/98d35f2641b0f63af65a0e6681076a9a.jpg","text":"TemporaryFile(/tmp/multipartBody1425094608053475320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179823776,"filename":"image_26112025_16_19_54_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396281425","file1":"1396281422","file0":"1396281419","file4":"1396281432","file5":"1396281434","file3":"1396281429"},"map_files_photo_id_array":[{"photo_id":"1396281434","filename":"file5"},{"photo_id":"1396281425","filename":"file2"},{"photo_id":"1396281432","filename":"file4"},{"photo_id":"1396281422","filename":"file1"},{"photo_id":"1396281419","filename":"file0"},{"photo_id":"1396281429","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396281432":["hashtag1","hashtag2"]},{"1396281429":["hashtag1","hashtag2"]},{"1396281434":["hashtag1","hashtag2"]},{"1396281422":["hashtag1","hashtag2"]},{"1396281425":["hashtag1","hashtag2"]},{"1396281419":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396281432, 1396281429, 1396281434, 1396281422, 1396281425, 1396281419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.08467698097229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:57:02.632496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/20/image_26112025_16_21_05_9697.jpg', '/home/pi/Desktop/images/26112025/16/21/image_26112025_16_21_14_9662.jpg', '/home/pi/Desktop/images/26112025/16/21/image_26112025_16_21_24_9789.jpg', '/home/pi/Desktop/images/26112025/16/21/image_26112025_16_21_35_10606.jpg', '/home/pi/Desktop/images/26112025/16/21/image_26112025_16_21_44_9636.jpg', '/home/pi/Desktop/images/26112025/16/21/image_26112025_16_21_55_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/20/image_26112025_16_21_05_9697.jpg
/home/pi/Desktop/images/26112025/16/21/image_26112025_16_21_14_9662.jpg
/home/pi/Desktop/images/26112025/16/21/image_26112025_16_21_24_9789.jpg
/home/pi/Desktop/images/26112025/16/21/image_26112025_16_21_35_10606.jpg
/home/pi/Desktop/images/26112025/16/21/image_26112025_16_21_44_9636.jpg
/home/pi/Desktop/images/26112025/16/21/image_26112025_16_21_55_10621.jpg
 val : 1 : upload photos already in processing! 
 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":["1396281454","1396281471","1396281467","1396281461","1396281458","1396281451"],"photo_ids_order":["1396281451","1396281454","1396281458","1396281461","1396281467","1396281471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/90edc4262b32201bdfb30f0e0e346f4b.jpg","text":"TemporaryFile(/tmp/multipartBody5657895135931527881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179883401,"filename":"image_26112025_16_21_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4a249e894c3414e0d6d01a1ac35499ed.jpg","text":"TemporaryFile(/tmp/multipartBody4302815158311684630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179883401,"filename":"image_26112025_16_21_55_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6a3acaf7ac1862fa584548819480943e.jpg","text":"TemporaryFile(/tmp/multipartBody2283353780408460131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179883401,"filename":"image_26112025_16_21_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3175669f17f6a4174c48dc05df13aa83.jpg","text":"TemporaryFile(/tmp/multipartBody8408944726667730076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179883401,"filename":"image_26112025_16_21_35_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5bcc983a9178e1fd3a0354de4050f29f.jpg","text":"TemporaryFile(/tmp/multipartBody7328178865135440138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179883401,"filename":"image_26112025_16_21_24_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0397b07a8f38412002ae426921cab4f6.jpg","text":"TemporaryFile(/tmp/multipartBody5248799588150690028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764179883401,"filename":"image_26112025_16_21_05_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396281458","file1":"1396281454","file0":"1396281451","file4":"1396281467","file5":"1396281471","file3":"1396281461"},"map_files_photo_id_array":[{"photo_id":"1396281471","filename":"file5"},{"photo_id":"1396281458","filename":"file2"},{"photo_id":"1396281467","filename":"file4"},{"photo_id":"1396281454","filename":"file1"},{"photo_id":"1396281451","filename":"file0"},{"photo_id":"1396281461","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396281454":["hashtag1","hashtag2"]},{"1396281471":["hashtag1","hashtag2"]},{"1396281467":["hashtag1","hashtag2"]},{"1396281461":["hashtag1","hashtag2"]},{"1396281458":["hashtag1","hashtag2"]},{"1396281451":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396281454, 1396281471, 1396281467, 1396281461, 1396281458, 1396281451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62995672225952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 18:59:03.465542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/21/image_26112025_16_22_05_9568.jpg', '/home/pi/Desktop/images/26112025/16/22/image_26112025_16_22_15_9840.jpg', '/home/pi/Desktop/images/26112025/16/22/image_26112025_16_22_24_9738.jpg', '/home/pi/Desktop/images/26112025/16/22/image_26112025_16_22_35_10591.jpg', '/home/pi/Desktop/images/26112025/16/22/image_26112025_16_22_45_9887.jpg', '/home/pi/Desktop/images/26112025/16/22/image_26112025_16_22_55_9884.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/21/image_26112025_16_22_05_9568.jpg
/home/pi/Desktop/images/26112025/16/22/image_26112025_16_22_15_9840.jpg
/home/pi/Desktop/images/26112025/16/22/image_26112025_16_22_24_9738.jpg
/home/pi/Desktop/images/26112025/16/22/image_26112025_16_22_35_10591.jpg
/home/pi/Desktop/images/26112025/16/22/image_26112025_16_22_45_9887.jpg
/home/pi/Desktop/images/26112025/16/22/image_26112025_16_22_55_9884.jpg
 val : 1 : upload photos already in processing! 
 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":["1396282104","1396282005","1396282100","1396282093","1396281970","1396282042"],"photo_ids_order":["1396281970","1396282005","1396282042","1396282093","1396282100","1396282104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7132027ab2747faf31e2c3529d8aff64.jpg","text":"TemporaryFile(/tmp/multipartBody1367805010466822066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180004269,"filename":"image_26112025_16_22_55_9884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5c678e033e9d31febe353ff62c5d9dd4.jpg","text":"TemporaryFile(/tmp/multipartBody2897410675422706653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180004269,"filename":"image_26112025_16_22_15_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/77af2a49118c74d17a954517557925e8.jpg","text":"TemporaryFile(/tmp/multipartBody8192801258717646299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180004269,"filename":"image_26112025_16_22_45_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aec0f10c5b858bae14bb0a433a53992a.jpg","text":"TemporaryFile(/tmp/multipartBody3111534039547139346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180004269,"filename":"image_26112025_16_22_35_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3a9021afede9e17ed58a5c5f6cd04008.jpg","text":"TemporaryFile(/tmp/multipartBody8783421750975860879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180004269,"filename":"image_26112025_16_22_05_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d944d34cb548db3fe82350e2908af6f9.jpg","text":"TemporaryFile(/tmp/multipartBody9180155446807215187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180004269,"filename":"image_26112025_16_22_24_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396282042","file1":"1396282005","file0":"1396281970","file4":"1396282100","file5":"1396282104","file3":"1396282093"},"map_files_photo_id_array":[{"photo_id":"1396282104","filename":"file5"},{"photo_id":"1396282042","filename":"file2"},{"photo_id":"1396282100","filename":"file4"},{"photo_id":"1396282005","filename":"file1"},{"photo_id":"1396281970","filename":"file0"},{"photo_id":"1396282093","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396282104":["hashtag1","hashtag2"]},{"1396282005":["hashtag1","hashtag2"]},{"1396282100":["hashtag1","hashtag2"]},{"1396282093":["hashtag1","hashtag2"]},{"1396281970":["hashtag1","hashtag2"]},{"1396282042":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396282104, 1396282005, 1396282100, 1396282093, 1396281970, 1396282042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.57183480262756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:00:08.923186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/22/image_26112025_16_23_04_9818.jpg', '/home/pi/Desktop/images/26112025/16/23/image_26112025_16_23_15_10584.jpg', '/home/pi/Desktop/images/26112025/16/23/image_26112025_16_23_25_9696.jpg', '/home/pi/Desktop/images/26112025/16/23/image_26112025_16_23_34_9673.jpg', '/home/pi/Desktop/images/26112025/16/23/image_26112025_16_23_45_10707.jpg', '/home/pi/Desktop/images/26112025/16/23/image_26112025_16_23_55_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/22/image_26112025_16_23_04_9818.jpg
/home/pi/Desktop/images/26112025/16/23/image_26112025_16_23_15_10584.jpg
/home/pi/Desktop/images/26112025/16/23/image_26112025_16_23_25_9696.jpg
/home/pi/Desktop/images/26112025/16/23/image_26112025_16_23_34_9673.jpg
/home/pi/Desktop/images/26112025/16/23/image_26112025_16_23_45_10707.jpg
/home/pi/Desktop/images/26112025/16/23/image_26112025_16_23_55_9668.jpg
 val : 1 : upload photos already in processing! 
 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":["1396282317","1396282305","1396282286","1396282253","1396282316","1396282312"],"photo_ids_order":["1396282253","1396282286","1396282305","1396282312","1396282316","1396282317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a613e27a50c97f2462c17499ecff6ec7.jpg","text":"TemporaryFile(/tmp/multipartBody2357448988863975544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180069645,"filename":"image_26112025_16_23_55_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3be7fabddfb9148854e57d1a3b7754ad.jpg","text":"TemporaryFile(/tmp/multipartBody301504550287240873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180069645,"filename":"image_26112025_16_23_25_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0451dff2e0d570c73a040249bb827585.jpg","text":"TemporaryFile(/tmp/multipartBody5411794173540465095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180069645,"filename":"image_26112025_16_23_15_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cfd3765ba7ee46321272b7fe385cce33.jpg","text":"TemporaryFile(/tmp/multipartBody6361422386265517196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180069645,"filename":"image_26112025_16_23_04_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/20f83cf51d39aeb5a944b53aea40b4b0.jpg","text":"TemporaryFile(/tmp/multipartBody417002200454854475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180069645,"filename":"image_26112025_16_23_45_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eb8c71153db67fa81d6637feeba9486e.jpg","text":"TemporaryFile(/tmp/multipartBody2210722196065388861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180069645,"filename":"image_26112025_16_23_34_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396282305","file1":"1396282286","file0":"1396282253","file4":"1396282316","file5":"1396282317","file3":"1396282312"},"map_files_photo_id_array":[{"photo_id":"1396282317","filename":"file5"},{"photo_id":"1396282305","filename":"file2"},{"photo_id":"1396282316","filename":"file4"},{"photo_id":"1396282286","filename":"file1"},{"photo_id":"1396282253","filename":"file0"},{"photo_id":"1396282312","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396282317":["hashtag1","hashtag2"]},{"1396282305":["hashtag1","hashtag2"]},{"1396282286":["hashtag1","hashtag2"]},{"1396282253":["hashtag1","hashtag2"]},{"1396282316":["hashtag1","hashtag2"]},{"1396282312":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396282317, 1396282305, 1396282286, 1396282253, 1396282316, 1396282312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.69738030433655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:01:02.744033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/23/image_26112025_16_24_04_9665.jpg', '/home/pi/Desktop/images/26112025/16/24/image_26112025_16_24_14_9795.jpg', '/home/pi/Desktop/images/26112025/16/24/image_26112025_16_24_25_10637.jpg', '/home/pi/Desktop/images/26112025/16/24/image_26112025_16_24_34_9564.jpg', '/home/pi/Desktop/images/26112025/16/24/image_26112025_16_24_45_10623.jpg', '/home/pi/Desktop/images/26112025/16/24/image_26112025_16_24_55_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/23/image_26112025_16_24_04_9665.jpg
/home/pi/Desktop/images/26112025/16/24/image_26112025_16_24_14_9795.jpg
/home/pi/Desktop/images/26112025/16/24/image_26112025_16_24_25_10637.jpg
/home/pi/Desktop/images/26112025/16/24/image_26112025_16_24_34_9564.jpg
/home/pi/Desktop/images/26112025/16/24/image_26112025_16_24_45_10623.jpg
/home/pi/Desktop/images/26112025/16/24/image_26112025_16_24_55_9587.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":["1396282347","1396282341","1396282350","1396282349","1396282345","1396282336"],"photo_ids_order":["1396282336","1396282341","1396282345","1396282347","1396282349","1396282350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/69d01a87b571ee012795d4572a4987de.jpg","text":"TemporaryFile(/tmp/multipartBody2774363278385871562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180123537,"filename":"image_26112025_16_24_34_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8a86e8d910478a3730420b14932520dd.jpg","text":"TemporaryFile(/tmp/multipartBody1568444258111701367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180123537,"filename":"image_26112025_16_24_14_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b979f5bc72708321420ee728cbcc7236.jpg","text":"TemporaryFile(/tmp/multipartBody4933608161506588156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180123537,"filename":"image_26112025_16_24_55_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/751c98ba0a5d684fd8b96ed36fcd0bbd.jpg","text":"TemporaryFile(/tmp/multipartBody3795640202570933968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180123537,"filename":"image_26112025_16_24_45_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b7f7f4e8b16f82bda4bdcd585831a021.jpg","text":"TemporaryFile(/tmp/multipartBody5730949396625392945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180123537,"filename":"image_26112025_16_24_25_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/63b0b518d555c1570164534018b5481e.jpg","text":"TemporaryFile(/tmp/multipartBody1313811196254652465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180123537,"filename":"image_26112025_16_24_04_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396282345","file1":"1396282341","file0":"1396282336","file4":"1396282349","file5":"1396282350","file3":"1396282347"},"map_files_photo_id_array":[{"photo_id":"1396282350","filename":"file5"},{"photo_id":"1396282345","filename":"file2"},{"photo_id":"1396282349","filename":"file4"},{"photo_id":"1396282341","filename":"file1"},{"photo_id":"1396282336","filename":"file0"},{"photo_id":"1396282347","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396282347":["hashtag1","hashtag2"]},{"1396282341":["hashtag1","hashtag2"]},{"1396282350":["hashtag1","hashtag2"]},{"1396282349":["hashtag1","hashtag2"]},{"1396282345":["hashtag1","hashtag2"]},{"1396282336":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396282347, 1396282341, 1396282350, 1396282349, 1396282345, 1396282336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.962361097335815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 19:01:42.135343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/10/image_30102025_20_10_04_5848.jpg', '/home/pi/Desktop/images/30102025/20/10/image_30102025_20_10_06_1708.jpg', '/home/pi/Desktop/images/30102025/20/10/image_30102025_20_10_09_1663.jpg', '/home/pi/Desktop/images/30102025/20/10/image_30102025_20_10_16_6478.jpg', '/home/pi/Desktop/images/30102025/20/10/image_30102025_20_10_17_1524.jpg', '/home/pi/Desktop/images/30102025/20/10/image_30102025_20_10_29_1598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/10/image_30102025_20_10_04_5848.jpg
/home/pi/Desktop/images/30102025/20/10/image_30102025_20_10_06_1708.jpg
/home/pi/Desktop/images/30102025/20/10/image_30102025_20_10_09_1663.jpg
/home/pi/Desktop/images/30102025/20/10/image_30102025_20_10_16_6478.jpg
/home/pi/Desktop/images/30102025/20/10/image_30102025_20_10_17_1524.jpg
/home/pi/Desktop/images/30102025/20/10/image_30102025_20_10_29_1598.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":["1396282367","1396282355","1396282387","1396282381","1396282384","1396282357"],"photo_ids_order":["1396282355","1396282357","1396282367","1396282381","1396282384","1396282387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/809515bbf00c1aed4e447a05cfd484a1.jpg","text":"TemporaryFile(/tmp/multipartBody9122969179066129291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180163519,"filename":"image_30102025_20_10_09_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/26/538995918955a9df5e8be3c0eadcb19f.jpg","text":"TemporaryFile(/tmp/multipartBody4093976468457458550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180163519,"filename":"image_30102025_20_10_04_5848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5ef83017c0db577afd58ec12b91c5b52.jpg","text":"TemporaryFile(/tmp/multipartBody4771961833711655334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180163519,"filename":"image_30102025_20_10_29_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/26/9dc7efa3c14db4e39f0d51877bf20920.jpg","text":"TemporaryFile(/tmp/multipartBody4832397617778269963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180163519,"filename":"image_30102025_20_10_16_6478.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/90490a05137622540537bb51fb7a8505.jpg","text":"TemporaryFile(/tmp/multipartBody2819597761773525838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180163519,"filename":"image_30102025_20_10_17_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/26/04bb7c7d84f3b84af40f3683e5cb028a.jpg","text":"TemporaryFile(/tmp/multipartBody8581349354859515248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180163519,"filename":"image_30102025_20_10_06_1708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396282367","file1":"1396282357","file0":"1396282355","file4":"1396282384","file5":"1396282387","file3":"1396282381"},"map_files_photo_id_array":[{"photo_id":"1396282387","filename":"file5"},{"photo_id":"1396282367","filename":"file2"},{"photo_id":"1396282384","filename":"file4"},{"photo_id":"1396282357","filename":"file1"},{"photo_id":"1396282355","filename":"file0"},{"photo_id":"1396282381","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396282367":["hashtag1","hashtag2"]},{"1396282355":["hashtag1","hashtag2"]},{"1396282387":["hashtag1","hashtag2"]},{"1396282381":["hashtag1","hashtag2"]},{"1396282384":["hashtag1","hashtag2"]},{"1396282357":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396282367, 1396282355, 1396282387, 1396282381, 1396282384, 1396282357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.680466651916504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 19:02:32.505507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_07_3084.jpg', '/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_10_2727.jpg', '/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_12_2722.jpg', '/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_15_2782.jpg', '/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_19_3556.jpg', '/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_25_3714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_07_3084.jpg
/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_10_2727.jpg
/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_12_2722.jpg
/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_15_2782.jpg
/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_19_3556.jpg
/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_25_3714.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":["1396282417","1396282410","1396282407","1396282400","1396282403","1396282398"],"photo_ids_order":["1396282398","1396282400","1396282403","1396282407","1396282410","1396282417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/42b16f04b68db98aeefbc32704db6e3a.jpg","text":"TemporaryFile(/tmp/multipartBody8463034480908686332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180214492,"filename":"image_20112025_23_09_25_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/26/4c20d9cec899d7cfca86c12f69643a97.jpg","text":"TemporaryFile(/tmp/multipartBody6328182709872555314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180214492,"filename":"image_20112025_23_09_19_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/26/50cee564875f97cca63ffc105b9898b7.jpg","text":"TemporaryFile(/tmp/multipartBody2141237201363360878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180214492,"filename":"image_20112025_23_09_15_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/26/45c8ef356341d3fe3e36848d5c42d9d6.jpg","text":"TemporaryFile(/tmp/multipartBody6547717656494118079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180214492,"filename":"image_20112025_23_09_10_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/26/1e302cb2ed45574ab712c01eeb5d504a.jpg","text":"TemporaryFile(/tmp/multipartBody5216791483020848259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180214492,"filename":"image_20112025_23_09_12_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/26/96582d64e89205cc2ea6eb886ee01693.jpg","text":"TemporaryFile(/tmp/multipartBody1035552950952638576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180214492,"filename":"image_20112025_23_09_07_3084.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396282403","file1":"1396282400","file0":"1396282398","file4":"1396282410","file5":"1396282417","file3":"1396282407"},"map_files_photo_id_array":[{"photo_id":"1396282417","filename":"file5"},{"photo_id":"1396282403","filename":"file2"},{"photo_id":"1396282410","filename":"file4"},{"photo_id":"1396282400","filename":"file1"},{"photo_id":"1396282398","filename":"file0"},{"photo_id":"1396282407","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396282417":["hashtag1","hashtag2"]},{"1396282410":["hashtag1","hashtag2"]},{"1396282407":["hashtag1","hashtag2"]},{"1396282400":["hashtag1","hashtag2"]},{"1396282403":["hashtag1","hashtag2"]},{"1396282398":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396282417, 1396282410, 1396282407, 1396282400, 1396282403, 1396282398)","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 = 1396282403 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_12_2722.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 64.39171695709229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 19:03:45.208115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/10/image_30102025_20_10_31_1647.jpg', '/home/pi/Desktop/images/30102025/20/10/image_30102025_20_10_32_1896.jpg', '/home/pi/Desktop/images/30102025/20/10/image_30102025_20_10_34_1618.jpg', '/home/pi/Desktop/images/30102025/20/11/image_30102025_20_11_07_3737.jpg', '/home/pi/Desktop/images/30102025/20/11/image_30102025_20_11_09_1683.jpg', '/home/pi/Desktop/images/30102025/20/11/image_30102025_20_11_20_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/10/image_30102025_20_10_31_1647.jpg
/home/pi/Desktop/images/30102025/20/10/image_30102025_20_10_32_1896.jpg
/home/pi/Desktop/images/30102025/20/10/image_30102025_20_10_34_1618.jpg
/home/pi/Desktop/images/30102025/20/11/image_30102025_20_11_07_3737.jpg
/home/pi/Desktop/images/30102025/20/11/image_30102025_20_11_09_1683.jpg
/home/pi/Desktop/images/30102025/20/11/image_30102025_20_11_20_9333.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":["1396282443","1396282445","1396282439","1396282442","1396282456","1396282441"],"photo_ids_order":["1396282439","1396282441","1396282442","1396282443","1396282445","1396282456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d22939d0cd8c38146450b3989087e630.jpg","text":"TemporaryFile(/tmp/multipartBody2205124261118737430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180286674,"filename":"image_30102025_20_11_07_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/26/32093faaa6a430a03f443f2fd3a365b8.jpg","text":"TemporaryFile(/tmp/multipartBody2113163072519491839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180286674,"filename":"image_30102025_20_11_09_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/26/9813b2e8583fb8afaf52fdc12e7baba5.jpg","text":"TemporaryFile(/tmp/multipartBody5508484155199909069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180286674,"filename":"image_30102025_20_10_31_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/26/c5085ec28c0b240b576dc568ebad8ba4.jpg","text":"TemporaryFile(/tmp/multipartBody5346535124783326231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180286674,"filename":"image_30102025_20_10_34_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/26/ea0c7284451a08f1a55c7a4e65c79c82.jpg","text":"TemporaryFile(/tmp/multipartBody7587720499314123667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180286674,"filename":"image_30102025_20_11_20_9333.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/713bae85f39ba077783aeb1230d3cb4e.jpg","text":"TemporaryFile(/tmp/multipartBody5870412024581471529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180286674,"filename":"image_30102025_20_10_32_1896.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396282442","file1":"1396282441","file0":"1396282439","file4":"1396282445","file5":"1396282456","file3":"1396282443"},"map_files_photo_id_array":[{"photo_id":"1396282456","filename":"file5"},{"photo_id":"1396282442","filename":"file2"},{"photo_id":"1396282445","filename":"file4"},{"photo_id":"1396282441","filename":"file1"},{"photo_id":"1396282439","filename":"file0"},{"photo_id":"1396282443","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396282443":["hashtag1","hashtag2"]},{"1396282445":["hashtag1","hashtag2"]},{"1396282439":["hashtag1","hashtag2"]},{"1396282442":["hashtag1","hashtag2"]},{"1396282456":["hashtag1","hashtag2"]},{"1396282441":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396282443, 1396282445, 1396282439, 1396282442, 1396282456, 1396282441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.86402106285095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 19:04:32.396202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_31_3646.jpg', '/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_35_4207.jpg', '/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_36_1589.jpg', '/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_43_3628.jpg', '/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_49_3814.jpg', '/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_52_2854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_31_3646.jpg
/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_35_4207.jpg
/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_36_1589.jpg
/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_43_3628.jpg
/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_49_3814.jpg
/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_52_2854.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":["1396282490","1396282492","1396282486","1396282489","1396282474","1396282483"],"photo_ids_order":["1396282474","1396282483","1396282486","1396282489","1396282490","1396282492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0880b6dc68304e3393e485d09077dd38.jpg","text":"TemporaryFile(/tmp/multipartBody2144514391543799170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180334260,"filename":"image_20112025_23_09_49_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/26/34017b89302ebb68082896178b78b643.jpg","text":"TemporaryFile(/tmp/multipartBody8869541798744192450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180334260,"filename":"image_20112025_23_09_52_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/26/8d7bec0911e2f85683383530d55e0d6f.jpg","text":"TemporaryFile(/tmp/multipartBody8897717432628857532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180334260,"filename":"image_20112025_23_09_36_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/26/618e4b63d348c9c95a0d9fe75ff22216.jpg","text":"TemporaryFile(/tmp/multipartBody2497016327206381919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180334260,"filename":"image_20112025_23_09_43_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/26/2bf5222cd90bfb8ddef1c12814d94061.jpg","text":"TemporaryFile(/tmp/multipartBody784956945991371325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180334260,"filename":"image_20112025_23_09_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/26/0da16710ebef812f89ff4ee685e7e3b6.jpg","text":"TemporaryFile(/tmp/multipartBody3308746680478629908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180334260,"filename":"image_20112025_23_09_35_4207.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396282486","file1":"1396282483","file0":"1396282474","file4":"1396282490","file5":"1396282492","file3":"1396282489"},"map_files_photo_id_array":[{"photo_id":"1396282492","filename":"file5"},{"photo_id":"1396282486","filename":"file2"},{"photo_id":"1396282490","filename":"file4"},{"photo_id":"1396282483","filename":"file1"},{"photo_id":"1396282474","filename":"file0"},{"photo_id":"1396282489","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396282490":["hashtag1","hashtag2"]},{"1396282492":["hashtag1","hashtag2"]},{"1396282486":["hashtag1","hashtag2"]},{"1396282489":["hashtag1","hashtag2"]},{"1396282474":["hashtag1","hashtag2"]},{"1396282483":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396282490, 1396282492, 1396282486, 1396282489, 1396282474, 1396282483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.613807916641235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 19:05:22.540687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/26/image_26112025_16_26_14_10039.jpg', '/home/pi/Desktop/images/26112025/16/26/image_26112025_16_26_25_10585.jpg', '/home/pi/Desktop/images/26112025/16/26/image_26112025_16_26_35_9690.jpg', '/home/pi/Desktop/images/26112025/16/26/image_26112025_16_26_44_9792.jpg', '/home/pi/Desktop/images/26112025/16/26/image_26112025_16_26_55_10654.jpg', '/home/pi/Desktop/images/26112025/16/26/image_26112025_16_27_05_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/26/image_26112025_16_26_14_10039.jpg
/home/pi/Desktop/images/26112025/16/26/image_26112025_16_26_25_10585.jpg
/home/pi/Desktop/images/26112025/16/26/image_26112025_16_26_35_9690.jpg
/home/pi/Desktop/images/26112025/16/26/image_26112025_16_26_44_9792.jpg
/home/pi/Desktop/images/26112025/16/26/image_26112025_16_26_55_10654.jpg
/home/pi/Desktop/images/26112025/16/26/image_26112025_16_27_05_9638.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.5938923358917236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 19:05:32.506705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_57_2706.jpg', '/home/pi/Desktop/images/20112025/23/09/image_20112025_23_10_00_2878.jpg', '/home/pi/Desktop/images/20112025/23/10/image_20112025_23_10_07_2780.jpg', '/home/pi/Desktop/images/20112025/23/10/image_20112025_23_10_16_3675.jpg', '/home/pi/Desktop/images/20112025/23/10/image_20112025_23_10_18_2740.jpg', '/home/pi/Desktop/images/20112025/23/10/image_20112025_23_10_21_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/09/image_20112025_23_09_57_2706.jpg
/home/pi/Desktop/images/20112025/23/09/image_20112025_23_10_00_2878.jpg
/home/pi/Desktop/images/20112025/23/10/image_20112025_23_10_07_2780.jpg
/home/pi/Desktop/images/20112025/23/10/image_20112025_23_10_16_3675.jpg
/home/pi/Desktop/images/20112025/23/10/image_20112025_23_10_18_2740.jpg
/home/pi/Desktop/images/20112025/23/10/image_20112025_23_10_21_2708.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":["1396282530","1396282532","1396282520","1396282523","1396282534","1396282528"],"photo_ids_order":["1396282520","1396282523","1396282528","1396282530","1396282532","1396282534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fb819e34b55121c8bba3ff5c28a9b69b.jpg","text":"TemporaryFile(/tmp/multipartBody7274526711453909004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180394448,"filename":"image_20112025_23_10_16_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/26/8f95ea500db4b4f3141c19da4757d237.jpg","text":"TemporaryFile(/tmp/multipartBody6476496812875242988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180394448,"filename":"image_20112025_23_10_18_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/26/4a18fdd3c84741ba2510a08e4cc6b2a0.jpg","text":"TemporaryFile(/tmp/multipartBody2345759290670439168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180394448,"filename":"image_20112025_23_09_57_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/26/70d2a5b9a51478a0e3c8b9234374e577.jpg","text":"TemporaryFile(/tmp/multipartBody1154501501825071817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180394448,"filename":"image_20112025_23_10_00_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/26/79fa965dcac5ec8d41880d64e6d1b75f.jpg","text":"TemporaryFile(/tmp/multipartBody2170869906071827829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180394448,"filename":"image_20112025_23_10_21_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/26/4ab12355cf682fd4c8fbb647c51f4702.jpg","text":"TemporaryFile(/tmp/multipartBody1288699387730959549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180394448,"filename":"image_20112025_23_10_07_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396282528","file1":"1396282523","file0":"1396282520","file4":"1396282532","file5":"1396282534","file3":"1396282530"},"map_files_photo_id_array":[{"photo_id":"1396282534","filename":"file5"},{"photo_id":"1396282528","filename":"file2"},{"photo_id":"1396282532","filename":"file4"},{"photo_id":"1396282523","filename":"file1"},{"photo_id":"1396282520","filename":"file0"},{"photo_id":"1396282530","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396282530":["hashtag1","hashtag2"]},{"1396282532":["hashtag1","hashtag2"]},{"1396282520":["hashtag1","hashtag2"]},{"1396282523":["hashtag1","hashtag2"]},{"1396282534":["hashtag1","hashtag2"]},{"1396282528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396282530, 1396282532, 1396282520, 1396282523, 1396282534, 1396282528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.5122504234314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 19:06:22.727589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/26/image_26112025_16_26_14_10039.jpg', '/home/pi/Desktop/images/26112025/16/26/image_26112025_16_26_25_10585.jpg', '/home/pi/Desktop/images/26112025/16/26/image_26112025_16_26_35_9690.jpg', '/home/pi/Desktop/images/26112025/16/26/image_26112025_16_26_44_9792.jpg', '/home/pi/Desktop/images/26112025/16/26/image_26112025_16_26_55_10654.jpg', '/home/pi/Desktop/images/26112025/16/26/image_26112025_16_27_05_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/26/image_26112025_16_26_14_10039.jpg
/home/pi/Desktop/images/26112025/16/26/image_26112025_16_26_25_10585.jpg
/home/pi/Desktop/images/26112025/16/26/image_26112025_16_26_35_9690.jpg
/home/pi/Desktop/images/26112025/16/26/image_26112025_16_26_44_9792.jpg
/home/pi/Desktop/images/26112025/16/26/image_26112025_16_26_55_10654.jpg
/home/pi/Desktop/images/26112025/16/26/image_26112025_16_27_05_9638.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":["1396282560","1396282554","1396282548","1396282556","1396282550","1396282544"],"photo_ids_order":["1396282544","1396282548","1396282550","1396282554","1396282556","1396282560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fead589afc52d0e04df0cca01f86671d.jpg","text":"TemporaryFile(/tmp/multipartBody1306849089730719559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180443423,"filename":"image_26112025_16_27_05_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/90f50488e477cad5e7ab17d7943a8da5.jpg","text":"TemporaryFile(/tmp/multipartBody4436428512738273285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180443423,"filename":"image_26112025_16_26_44_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/068a392ffe64eb3defec033c57f92758.jpg","text":"TemporaryFile(/tmp/multipartBody3372145004729213013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180443423,"filename":"image_26112025_16_26_25_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/484b0eb2d02cc62d573c2027d2edbba2.jpg","text":"TemporaryFile(/tmp/multipartBody5347124444318766425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180443423,"filename":"image_26112025_16_26_55_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d77d0777d8594e803a630541f11a5eb6.jpg","text":"TemporaryFile(/tmp/multipartBody7777781550808067278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180443423,"filename":"image_26112025_16_26_35_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/46925289e5d066cfc7f524705deb3be1.jpg","text":"TemporaryFile(/tmp/multipartBody4375949456208800927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180443423,"filename":"image_26112025_16_26_14_10039.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396282550","file1":"1396282548","file0":"1396282544","file4":"1396282556","file5":"1396282560","file3":"1396282554"},"map_files_photo_id_array":[{"photo_id":"1396282560","filename":"file5"},{"photo_id":"1396282550","filename":"file2"},{"photo_id":"1396282556","filename":"file4"},{"photo_id":"1396282548","filename":"file1"},{"photo_id":"1396282544","filename":"file0"},{"photo_id":"1396282554","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396282560":["hashtag1","hashtag2"]},{"1396282554":["hashtag1","hashtag2"]},{"1396282548":["hashtag1","hashtag2"]},{"1396282556":["hashtag1","hashtag2"]},{"1396282550":["hashtag1","hashtag2"]},{"1396282544":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396282560, 1396282554, 1396282548, 1396282556, 1396282550, 1396282544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59725522994995 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 --only_old 1
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 19:07:22.386654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/27/image_26112025_16_27_14_9703.jpg', '/home/pi/Desktop/images/26112025/16/27/image_26112025_16_27_25_10637.jpg', '/home/pi/Desktop/images/26112025/16/27/image_26112025_16_27_35_9600.jpg', '/home/pi/Desktop/images/26112025/16/27/image_26112025_16_27_45_10659.jpg', '/home/pi/Desktop/images/26112025/16/27/image_26112025_16_27_55_9646.jpg', '/home/pi/Desktop/images/26112025/16/27/image_26112025_16_28_05_9884.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/27/image_26112025_16_27_14_9703.jpg
/home/pi/Desktop/images/26112025/16/27/image_26112025_16_27_25_10637.jpg
/home/pi/Desktop/images/26112025/16/27/image_26112025_16_27_35_9600.jpg
/home/pi/Desktop/images/26112025/16/27/image_26112025_16_27_45_10659.jpg
/home/pi/Desktop/images/26112025/16/27/image_26112025_16_27_55_9646.jpg
/home/pi/Desktop/images/26112025/16/27/image_26112025_16_28_05_9884.jpg
2025-11-26 19:07:22.382668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/10/image_20112025_23_10_25_3597.jpg', '/home/pi/Desktop/images/20112025/23/10/image_20112025_23_10_27_2635.jpg', '/home/pi/Desktop/images/20112025/23/10/image_20112025_23_10_34_3743.jpg', '/home/pi/Desktop/images/20112025/23/10/image_20112025_23_10_42_2770.jpg', '/home/pi/Desktop/images/20112025/23/10/image_20112025_23_10_45_2801.jpg', '/home/pi/Desktop/images/20112025/23/10/image_20112025_23_10_49_3826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/10/image_20112025_23_10_25_3597.jpg
/home/pi/Desktop/images/20112025/23/10/image_20112025_23_10_27_2635.jpg
/home/pi/Desktop/images/20112025/23/10/image_20112025_23_10_34_3743.jpg
/home/pi/Desktop/images/20112025/23/10/image_20112025_23_10_42_2770.jpg
/home/pi/Desktop/images/20112025/23/10/image_20112025_23_10_45_2801.jpg
/home/pi/Desktop/images/20112025/23/10/image_20112025_23_10_49_3826.jpg
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
 val : 2 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396282665","1396282668","1396282656","1396282660","1396282633","1396282630"],"photo_ids_order":["1396282630","1396282633","1396282656","1396282660","1396282665","1396282668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/de2871aa26282a45892ad78fbae65f2f.jpg","text":"TemporaryFile(/tmp/multipartBody8456464888050873644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180503110,"filename":"image_26112025_16_27_55_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d56f086cd6a1549980926e87e60f6681.jpg","text":"TemporaryFile(/tmp/multipartBody4234628850036306599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180503110,"filename":"image_26112025_16_28_05_9884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/239be8f52892bb4b97f86132072745d0.jpg","text":"TemporaryFile(/tmp/multipartBody1050963380559268699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180503110,"filename":"image_26112025_16_27_35_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f1da4dc9edb39c6b61a8ccc1e9dc1801.jpg","text":"TemporaryFile(/tmp/multipartBody4864312980976795921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180503110,"filename":"image_26112025_16_27_45_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cc174d1c9b336c1e40ebc28e672364ad.jpg","text":"TemporaryFile(/tmp/multipartBody5156462286905383168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180503110,"filename":"image_26112025_16_27_25_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7fd7b650aad27d26c308acb6c0ebe6a3.jpg","text":"TemporaryFile(/tmp/multipartBody1755868743507619054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180503110,"filename":"image_26112025_16_27_14_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396282656","file1":"1396282633","file0":"1396282630","file4":"1396282665","file5":"1396282668","file3":"1396282660"},"map_files_photo_id_array":[{"photo_id":"1396282668","filename":"file5"},{"photo_id":"1396282656","filename":"file2"},{"photo_id":"1396282665","filename":"file4"},{"photo_id":"1396282633","filename":"file1"},{"photo_id":"1396282630","filename":"file0"},{"photo_id":"1396282660","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396282665":["hashtag1","hashtag2"]},{"1396282668":["hashtag1","hashtag2"]},{"1396282656":["hashtag1","hashtag2"]},{"1396282660":["hashtag1","hashtag2"]},{"1396282633":["hashtag1","hashtag2"]},{"1396282630":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396282665, 1396282668, 1396282656, 1396282660, 1396282633, 1396282630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37702465057373 secondes ---
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396282662","1396282635","1396282658","1396282631","1396282666","1396282669"],"photo_ids_order":["1396282631","1396282635","1396282658","1396282662","1396282666","1396282669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/20479b2d48379e1d025be706f9381ae6.jpg","text":"TemporaryFile(/tmp/multipartBody2997452765744453908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180504358,"filename":"image_20112025_23_10_42_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/26/c0fd9a0fc92cb1ac4fa5d570ab7f0f80.jpg","text":"TemporaryFile(/tmp/multipartBody1489423939222293666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180504358,"filename":"image_20112025_23_10_27_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/26/92f2af5c8a9b2cf79f5905dd3b4c9c7b.jpg","text":"TemporaryFile(/tmp/multipartBody3854211550467124376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180504358,"filename":"image_20112025_23_10_34_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/26/a597f5ec755e34c2ac3fe3ecc982537d.jpg","text":"TemporaryFile(/tmp/multipartBody8909650077155548863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180504358,"filename":"image_20112025_23_10_25_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/26/64ed0ef1e801b04cc4add34627e362ac.jpg","text":"TemporaryFile(/tmp/multipartBody1464641223195916152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180504358,"filename":"image_20112025_23_10_45_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b9acf0d610f247f93949cb9a842179d5.jpg","text":"TemporaryFile(/tmp/multipartBody5525024252788407291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180504358,"filename":"image_20112025_23_10_49_3826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396282658","file1":"1396282635","file0":"1396282631","file4":"1396282666","file5":"1396282669","file3":"1396282662"},"map_files_photo_id_array":[{"photo_id":"1396282669","filename":"file5"},{"photo_id":"1396282658","filename":"file2"},{"photo_id":"1396282666","filename":"file4"},{"photo_id":"1396282635","filename":"file1"},{"photo_id":"1396282631","filename":"file0"},{"photo_id":"1396282662","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396282662":["hashtag1","hashtag2"]},{"1396282635":["hashtag1","hashtag2"]},{"1396282658":["hashtag1","hashtag2"]},{"1396282631":["hashtag1","hashtag2"]},{"1396282666":["hashtag1","hashtag2"]},{"1396282669":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396282662, 1396282635, 1396282658, 1396282631, 1396282666, 1396282669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.14471220970154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 19:08:12.097719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/10/image_20112025_23_10_51_2701.jpg', '/home/pi/Desktop/images/20112025/23/10/image_20112025_23_10_54_2720.jpg', '/home/pi/Desktop/images/20112025/23/10/image_20112025_23_11_01_3768.jpg', '/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_03_2740.jpg', '/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_06_2669.jpg', '/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_10_3704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/10/image_20112025_23_10_51_2701.jpg
/home/pi/Desktop/images/20112025/23/10/image_20112025_23_10_54_2720.jpg
/home/pi/Desktop/images/20112025/23/10/image_20112025_23_11_01_3768.jpg
/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_03_2740.jpg
/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_06_2669.jpg
/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_10_3704.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":["1396282686","1396282707","1396282697","1396282727","1396282709","1396282684"],"photo_ids_order":["1396282684","1396282686","1396282697","1396282707","1396282709","1396282727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8c2be93529b032d150b0a1a633411f29.jpg","text":"TemporaryFile(/tmp/multipartBody1670792630006696250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180553936,"filename":"image_20112025_23_10_54_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/26/9d8df50d30ccb542c530ec38389b1740.jpg","text":"TemporaryFile(/tmp/multipartBody7130858098810945170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180553936,"filename":"image_20112025_23_11_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/26/0a0135127f09d8eea4d7f95346ca14a3.jpg","text":"TemporaryFile(/tmp/multipartBody8105525360755141539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180553936,"filename":"image_20112025_23_11_01_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/26/45d8667d4fad6acb030b36922699c0b0.jpg","text":"TemporaryFile(/tmp/multipartBody1466624601389390747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180553936,"filename":"image_20112025_23_11_10_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/26/b60000b6b4476c86bc6c16534363e0bf.jpg","text":"TemporaryFile(/tmp/multipartBody7834492946707142398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180553936,"filename":"image_20112025_23_11_06_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/26/7eb2ad63eab019ec6d6682b66420c86c.jpg","text":"TemporaryFile(/tmp/multipartBody232846084117252053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180553936,"filename":"image_20112025_23_10_51_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396282697","file1":"1396282686","file0":"1396282684","file4":"1396282709","file5":"1396282727","file3":"1396282707"},"map_files_photo_id_array":[{"photo_id":"1396282727","filename":"file5"},{"photo_id":"1396282697","filename":"file2"},{"photo_id":"1396282709","filename":"file4"},{"photo_id":"1396282686","filename":"file1"},{"photo_id":"1396282684","filename":"file0"},{"photo_id":"1396282707","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396282686":["hashtag1","hashtag2"]},{"1396282707":["hashtag1","hashtag2"]},{"1396282697":["hashtag1","hashtag2"]},{"1396282727":["hashtag1","hashtag2"]},{"1396282709":["hashtag1","hashtag2"]},{"1396282684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396282686, 1396282707, 1396282697, 1396282727, 1396282709, 1396282684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.973408699035645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:09:03.328407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/28/image_26112025_16_28_14_9569.jpg', '/home/pi/Desktop/images/26112025/16/28/image_26112025_16_28_25_10615.jpg', '/home/pi/Desktop/images/26112025/16/28/image_26112025_16_28_35_9496.jpg', '/home/pi/Desktop/images/26112025/16/28/image_26112025_16_28_45_10590.jpg', '/home/pi/Desktop/images/26112025/16/28/image_26112025_16_28_55_9603.jpg', '/home/pi/Desktop/images/26112025/16/28/image_26112025_16_29_04_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/28/image_26112025_16_28_14_9569.jpg
/home/pi/Desktop/images/26112025/16/28/image_26112025_16_28_25_10615.jpg
/home/pi/Desktop/images/26112025/16/28/image_26112025_16_28_35_9496.jpg
/home/pi/Desktop/images/26112025/16/28/image_26112025_16_28_45_10590.jpg
/home/pi/Desktop/images/26112025/16/28/image_26112025_16_28_55_9603.jpg
/home/pi/Desktop/images/26112025/16/28/image_26112025_16_29_04_9593.jpg
 val : 1 : upload photos already in processing! 
 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":["1396282779","1396282767","1396282769","1396282783","1396282771","1396282774"],"photo_ids_order":["1396282767","1396282769","1396282771","1396282774","1396282779","1396282783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e4fb31fe28f84bd8d6dbea40b5f15c6b.jpg","text":"TemporaryFile(/tmp/multipartBody8174994162006155438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180604214,"filename":"image_26112025_16_28_55_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1825eef4d0a1a3da4db5abcb79d3b0f2.jpg","text":"TemporaryFile(/tmp/multipartBody8174586143066686916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180604214,"filename":"image_26112025_16_28_14_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3c09edcb26d1c7bb142224cd9fb8adfd.jpg","text":"TemporaryFile(/tmp/multipartBody3507455403856360737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180604214,"filename":"image_26112025_16_28_25_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c963550b39cdf588408ad1a7d8172898.jpg","text":"TemporaryFile(/tmp/multipartBody5290131350152785844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180604214,"filename":"image_26112025_16_29_04_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/085835d56a51561c5a4c27506979ed43.jpg","text":"TemporaryFile(/tmp/multipartBody1851444755490146317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180604214,"filename":"image_26112025_16_28_35_9496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a8cb04555859f5eff16c61943ee48831.jpg","text":"TemporaryFile(/tmp/multipartBody925412789105157088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180604214,"filename":"image_26112025_16_28_45_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396282771","file1":"1396282769","file0":"1396282767","file4":"1396282779","file5":"1396282783","file3":"1396282774"},"map_files_photo_id_array":[{"photo_id":"1396282783","filename":"file5"},{"photo_id":"1396282771","filename":"file2"},{"photo_id":"1396282779","filename":"file4"},{"photo_id":"1396282769","filename":"file1"},{"photo_id":"1396282767","filename":"file0"},{"photo_id":"1396282774","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396282779":["hashtag1","hashtag2"]},{"1396282767":["hashtag1","hashtag2"]},{"1396282769":["hashtag1","hashtag2"]},{"1396282783":["hashtag1","hashtag2"]},{"1396282771":["hashtag1","hashtag2"]},{"1396282774":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396282779, 1396282767, 1396282769, 1396282783, 1396282771, 1396282774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56722974777222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:10:03.059225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/29/image_26112025_16_29_15_10905.jpg', '/home/pi/Desktop/images/26112025/16/29/image_26112025_16_29_25_9682.jpg', '/home/pi/Desktop/images/26112025/16/29/image_26112025_16_29_35_9668.jpg', '/home/pi/Desktop/images/26112025/16/29/image_26112025_16_29_45_10735.jpg', '/home/pi/Desktop/images/26112025/16/29/image_26112025_16_29_55_9718.jpg', '/home/pi/Desktop/images/26112025/16/31/image_26112025_16_31_14_10039.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/29/image_26112025_16_29_15_10905.jpg
/home/pi/Desktop/images/26112025/16/29/image_26112025_16_29_25_9682.jpg
/home/pi/Desktop/images/26112025/16/29/image_26112025_16_29_35_9668.jpg
/home/pi/Desktop/images/26112025/16/29/image_26112025_16_29_45_10735.jpg
/home/pi/Desktop/images/26112025/16/29/image_26112025_16_29_55_9718.jpg
/home/pi/Desktop/images/26112025/16/31/image_26112025_16_31_14_10039.jpg
 val : 1 : upload photos already in processing! 
 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":["1396282815","1396282803","1396282792","1396282813","1396282822","1396282819"],"photo_ids_order":["1396282792","1396282803","1396282813","1396282815","1396282819","1396282822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/511dc0adecdafe10beae23f42d36f9e0.jpg","text":"TemporaryFile(/tmp/multipartBody6271873922710854368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180663819,"filename":"image_26112025_16_29_45_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/71c623879720a46c4e5bd2773e0d3b2c.jpg","text":"TemporaryFile(/tmp/multipartBody2657332876886353656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180663819,"filename":"image_26112025_16_29_25_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a302a9b5d272313d45423701a205b4ea.jpg","text":"TemporaryFile(/tmp/multipartBody1749839866601100095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180663819,"filename":"image_26112025_16_29_15_10905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4753ee1eb9a277e05b00e7a9e199d7c8.jpg","text":"TemporaryFile(/tmp/multipartBody9112812602512467638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180663819,"filename":"image_26112025_16_29_35_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8d1a85027b9a280a3f86ff8c7bf27787.jpg","text":"TemporaryFile(/tmp/multipartBody4604196911534211413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180663819,"filename":"image_26112025_16_31_14_10039.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/02525edf9d682a1f1162488bf6c9af52.jpg","text":"TemporaryFile(/tmp/multipartBody2828408772025725934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180663819,"filename":"image_26112025_16_29_55_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396282813","file1":"1396282803","file0":"1396282792","file4":"1396282819","file5":"1396282822","file3":"1396282815"},"map_files_photo_id_array":[{"photo_id":"1396282822","filename":"file5"},{"photo_id":"1396282813","filename":"file2"},{"photo_id":"1396282819","filename":"file4"},{"photo_id":"1396282803","filename":"file1"},{"photo_id":"1396282792","filename":"file0"},{"photo_id":"1396282815","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396282815":["hashtag1","hashtag2"]},{"1396282803":["hashtag1","hashtag2"]},{"1396282792":["hashtag1","hashtag2"]},{"1396282813":["hashtag1","hashtag2"]},{"1396282822":["hashtag1","hashtag2"]},{"1396282819":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396282815, 1396282803, 1396282792, 1396282813, 1396282822, 1396282819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54504704475403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:11:02.940510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/31/image_26112025_16_31_25_10818.jpg', '/home/pi/Desktop/images/26112025/16/31/image_26112025_16_31_34_9561.jpg', '/home/pi/Desktop/images/26112025/16/31/image_26112025_16_31_44_9703.jpg', '/home/pi/Desktop/images/26112025/16/31/image_26112025_16_31_55_10674.jpg', '/home/pi/Desktop/images/26112025/16/31/image_26112025_16_32_04_9642.jpg', '/home/pi/Desktop/images/26112025/16/32/image_26112025_16_32_14_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/31/image_26112025_16_31_25_10818.jpg
/home/pi/Desktop/images/26112025/16/31/image_26112025_16_31_34_9561.jpg
/home/pi/Desktop/images/26112025/16/31/image_26112025_16_31_44_9703.jpg
/home/pi/Desktop/images/26112025/16/31/image_26112025_16_31_55_10674.jpg
/home/pi/Desktop/images/26112025/16/31/image_26112025_16_32_04_9642.jpg
/home/pi/Desktop/images/26112025/16/32/image_26112025_16_32_14_9693.jpg
 val : 1 : upload photos already in processing! 
 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":["1396282833","1396282847","1396282835","1396282838","1396282831","1396282843"],"photo_ids_order":["1396282831","1396282833","1396282835","1396282838","1396282843","1396282847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6dd04f61e45f53d0793ac35c1fc3f41a.jpg","text":"TemporaryFile(/tmp/multipartBody6000576220696895104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180723916,"filename":"image_26112025_16_31_34_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/380a507c8ad787e79c04b19abedce154.jpg","text":"TemporaryFile(/tmp/multipartBody3172020002163228560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180723916,"filename":"image_26112025_16_32_14_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a2e653c25071c855569fa83ed94b52fc.jpg","text":"TemporaryFile(/tmp/multipartBody1125791764079365817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180723916,"filename":"image_26112025_16_31_44_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2e28d6c365e0b55c7c339f1e7e33bd28.jpg","text":"TemporaryFile(/tmp/multipartBody4610256503763343507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180723916,"filename":"image_26112025_16_31_55_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1b400e4875535138b6926ac2ebcae3f2.jpg","text":"TemporaryFile(/tmp/multipartBody1427332907543273966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180723916,"filename":"image_26112025_16_31_25_10818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cc720972263fb45e98bae7f0455c485a.jpg","text":"TemporaryFile(/tmp/multipartBody173577502498805454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180723916,"filename":"image_26112025_16_32_04_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396282835","file1":"1396282833","file0":"1396282831","file4":"1396282843","file5":"1396282847","file3":"1396282838"},"map_files_photo_id_array":[{"photo_id":"1396282847","filename":"file5"},{"photo_id":"1396282835","filename":"file2"},{"photo_id":"1396282843","filename":"file4"},{"photo_id":"1396282833","filename":"file1"},{"photo_id":"1396282831","filename":"file0"},{"photo_id":"1396282838","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396282833":["hashtag1","hashtag2"]},{"1396282847":["hashtag1","hashtag2"]},{"1396282835":["hashtag1","hashtag2"]},{"1396282838":["hashtag1","hashtag2"]},{"1396282831":["hashtag1","hashtag2"]},{"1396282843":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396282833, 1396282847, 1396282835, 1396282838, 1396282831, 1396282843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25424790382385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:12:03.088975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/32/image_26112025_16_32_25_10757.jpg', '/home/pi/Desktop/images/26112025/16/32/image_26112025_16_32_34_9545.jpg', '/home/pi/Desktop/images/26112025/16/32/image_26112025_16_32_44_9614.jpg', '/home/pi/Desktop/images/26112025/16/32/image_26112025_16_32_54_10629.jpg', '/home/pi/Desktop/images/26112025/16/32/image_26112025_16_33_04_9681.jpg', '/home/pi/Desktop/images/26112025/16/33/image_26112025_16_33_15_10576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/32/image_26112025_16_32_25_10757.jpg
/home/pi/Desktop/images/26112025/16/32/image_26112025_16_32_34_9545.jpg
/home/pi/Desktop/images/26112025/16/32/image_26112025_16_32_44_9614.jpg
/home/pi/Desktop/images/26112025/16/32/image_26112025_16_32_54_10629.jpg
/home/pi/Desktop/images/26112025/16/32/image_26112025_16_33_04_9681.jpg
/home/pi/Desktop/images/26112025/16/33/image_26112025_16_33_15_10576.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":["1396282869","1396282860","1396282865","1396282862","1396282856","1396282858"],"photo_ids_order":["1396282856","1396282858","1396282860","1396282862","1396282865","1396282869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/308c948f6e2863694db751eb2344fef8.jpg","text":"TemporaryFile(/tmp/multipartBody1282521100403778003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180783839,"filename":"image_26112025_16_33_15_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/07ca36d230ff55180b59ac3ccce55c25.jpg","text":"TemporaryFile(/tmp/multipartBody5563791250561382639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180783839,"filename":"image_26112025_16_32_44_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/43eed9230454871c5e61a079f2d8a6cf.jpg","text":"TemporaryFile(/tmp/multipartBody7604920468274978326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180783839,"filename":"image_26112025_16_33_04_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/72467cf96fdfb755ac934593f369d590.jpg","text":"TemporaryFile(/tmp/multipartBody850600202038237850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180783839,"filename":"image_26112025_16_32_54_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/52b9e32f57981fd15adcfc648bf4e2ad.jpg","text":"TemporaryFile(/tmp/multipartBody5314105893063080989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180783839,"filename":"image_26112025_16_32_25_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eb8ab0c43b9460f4b3cd99e433b81123.jpg","text":"TemporaryFile(/tmp/multipartBody5976261291050985824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180783839,"filename":"image_26112025_16_32_34_9545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396282860","file1":"1396282858","file0":"1396282856","file4":"1396282865","file5":"1396282869","file3":"1396282862"},"map_files_photo_id_array":[{"photo_id":"1396282869","filename":"file5"},{"photo_id":"1396282860","filename":"file2"},{"photo_id":"1396282865","filename":"file4"},{"photo_id":"1396282858","filename":"file1"},{"photo_id":"1396282856","filename":"file0"},{"photo_id":"1396282862","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396282869":["hashtag1","hashtag2"]},{"1396282860":["hashtag1","hashtag2"]},{"1396282865":["hashtag1","hashtag2"]},{"1396282862":["hashtag1","hashtag2"]},{"1396282856":["hashtag1","hashtag2"]},{"1396282858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396282869, 1396282860, 1396282865, 1396282862, 1396282856, 1396282858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.882638931274414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 19:12:42.610940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/11/image_30102025_20_11_32_11774.jpg', '/home/pi/Desktop/images/30102025/20/11/image_30102025_20_11_35_1684.jpg', '/home/pi/Desktop/images/30102025/20/11/image_30102025_20_11_39_4437.jpg', '/home/pi/Desktop/images/30102025/20/11/image_30102025_20_11_47_1830.jpg', '/home/pi/Desktop/images/30102025/20/11/image_30102025_20_11_51_1604.jpg', '/home/pi/Desktop/images/30102025/20/11/image_30102025_20_11_53_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/11/image_30102025_20_11_32_11774.jpg
/home/pi/Desktop/images/30102025/20/11/image_30102025_20_11_35_1684.jpg
/home/pi/Desktop/images/30102025/20/11/image_30102025_20_11_39_4437.jpg
/home/pi/Desktop/images/30102025/20/11/image_30102025_20_11_47_1830.jpg
/home/pi/Desktop/images/30102025/20/11/image_30102025_20_11_51_1604.jpg
/home/pi/Desktop/images/30102025/20/11/image_30102025_20_11_53_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396282884","1396282883","1396282886","1396282882","1396282885","1396282879"],"photo_ids_order":["1396282879","1396282882","1396282883","1396282884","1396282885","1396282886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/774be91e778ff6da5c9fddc0c238345f.jpg","text":"TemporaryFile(/tmp/multipartBody5206315670315703578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180824066,"filename":"image_30102025_20_11_47_1830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/674e89b551663635382e8719eb0d5def.jpg","text":"TemporaryFile(/tmp/multipartBody565571942741823138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180824066,"filename":"image_30102025_20_11_39_4437.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6678c0a94e761554d9fec22f775b6182.jpg","text":"TemporaryFile(/tmp/multipartBody7536065587101898839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180824066,"filename":"image_30102025_20_11_53_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/26/e14c2badeb98705e80e509a92eabc808.jpg","text":"TemporaryFile(/tmp/multipartBody9046311428546552665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180824066,"filename":"image_30102025_20_11_35_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/26/e23fceda0134c18cd550bb5a0785c13e.jpg","text":"TemporaryFile(/tmp/multipartBody584188210169433561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180824066,"filename":"image_30102025_20_11_51_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c46c79d92345ffe335f0b1b0ce97614b.jpg","text":"TemporaryFile(/tmp/multipartBody3571245509240539403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180824066,"filename":"image_30102025_20_11_32_11774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396282883","file1":"1396282882","file0":"1396282879","file4":"1396282885","file5":"1396282886","file3":"1396282884"},"map_files_photo_id_array":[{"photo_id":"1396282886","filename":"file5"},{"photo_id":"1396282883","filename":"file2"},{"photo_id":"1396282885","filename":"file4"},{"photo_id":"1396282882","filename":"file1"},{"photo_id":"1396282879","filename":"file0"},{"photo_id":"1396282884","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396282884":["hashtag1","hashtag2"]},{"1396282883":["hashtag1","hashtag2"]},{"1396282886":["hashtag1","hashtag2"]},{"1396282882":["hashtag1","hashtag2"]},{"1396282885":["hashtag1","hashtag2"]},{"1396282879":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396282884, 1396282883, 1396282886, 1396282882, 1396282885, 1396282879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37031388282776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 19:13:22.873791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/33/image_26112025_16_33_25_9825.jpg', '/home/pi/Desktop/images/26112025/16/33/image_26112025_16_33_34_9667.jpg', '/home/pi/Desktop/images/26112025/16/33/image_26112025_16_33_45_10549.jpg', '/home/pi/Desktop/images/26112025/16/33/image_26112025_16_33_55_9775.jpg', '/home/pi/Desktop/images/26112025/16/33/image_26112025_16_34_04_9708.jpg', '/home/pi/Desktop/images/26112025/16/34/image_26112025_16_34_14_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/33/image_26112025_16_33_25_9825.jpg
/home/pi/Desktop/images/26112025/16/33/image_26112025_16_33_34_9667.jpg
/home/pi/Desktop/images/26112025/16/33/image_26112025_16_33_45_10549.jpg
/home/pi/Desktop/images/26112025/16/33/image_26112025_16_33_55_9775.jpg
/home/pi/Desktop/images/26112025/16/33/image_26112025_16_34_04_9708.jpg
/home/pi/Desktop/images/26112025/16/34/image_26112025_16_34_14_9599.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":["1396282905","1396282902","1396282939","1396282930","1396282936","1396282899"],"photo_ids_order":["1396282899","1396282902","1396282905","1396282930","1396282936","1396282939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/398f92554752ada711df2970b8430752.jpg","text":"TemporaryFile(/tmp/multipartBody8965437851433748562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180863568,"filename":"image_26112025_16_33_45_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/604da03c6ea90595211dcfe3d74d2b73.jpg","text":"TemporaryFile(/tmp/multipartBody1951074766739227035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180863568,"filename":"image_26112025_16_33_34_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cf057a48ea6f2d403a7ff08a09327764.jpg","text":"TemporaryFile(/tmp/multipartBody6129452925109146984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180863568,"filename":"image_26112025_16_34_14_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b2a23168c37e527e63addf4ceb7ba538.jpg","text":"TemporaryFile(/tmp/multipartBody3522113202015140701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180863568,"filename":"image_26112025_16_33_55_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aff09db399e8813ca531805903e3bfcb.jpg","text":"TemporaryFile(/tmp/multipartBody8142977380296247879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180863568,"filename":"image_26112025_16_34_04_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8f969eba05e44d29817e62bf3a046c94.jpg","text":"TemporaryFile(/tmp/multipartBody3708460955474634943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180863568,"filename":"image_26112025_16_33_25_9825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396282905","file1":"1396282902","file0":"1396282899","file4":"1396282936","file5":"1396282939","file3":"1396282930"},"map_files_photo_id_array":[{"photo_id":"1396282939","filename":"file5"},{"photo_id":"1396282905","filename":"file2"},{"photo_id":"1396282936","filename":"file4"},{"photo_id":"1396282902","filename":"file1"},{"photo_id":"1396282899","filename":"file0"},{"photo_id":"1396282930","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396282905":["hashtag1","hashtag2"]},{"1396282902":["hashtag1","hashtag2"]},{"1396282939":["hashtag1","hashtag2"]},{"1396282930":["hashtag1","hashtag2"]},{"1396282936":["hashtag1","hashtag2"]},{"1396282899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396282905, 1396282902, 1396282939, 1396282930, 1396282936, 1396282899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83144450187683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:14:02.783571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/34/image_26112025_16_34_24_10615.jpg', '/home/pi/Desktop/images/26112025/16/34/image_26112025_16_34_34_9584.jpg', '/home/pi/Desktop/images/26112025/16/34/image_26112025_16_34_44_9814.jpg', '/home/pi/Desktop/images/26112025/16/34/image_26112025_16_34_54_10656.jpg', '/home/pi/Desktop/images/26112025/16/35/image_26112025_16_35_14_10057.jpg', '/home/pi/Desktop/images/26112025/16/35/image_26112025_16_35_25_10757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/34/image_26112025_16_34_24_10615.jpg
/home/pi/Desktop/images/26112025/16/34/image_26112025_16_34_34_9584.jpg
/home/pi/Desktop/images/26112025/16/34/image_26112025_16_34_44_9814.jpg
/home/pi/Desktop/images/26112025/16/34/image_26112025_16_34_54_10656.jpg
/home/pi/Desktop/images/26112025/16/35/image_26112025_16_35_14_10057.jpg
/home/pi/Desktop/images/26112025/16/35/image_26112025_16_35_25_10757.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":["1396282953","1396282941","1396282946","1396282949","1396282940","1396282942"],"photo_ids_order":["1396282940","1396282941","1396282942","1396282946","1396282949","1396282953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cc8230e3fd6c9764bc8ddf84ffb0458b.jpg","text":"TemporaryFile(/tmp/multipartBody3430536738104735603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180903586,"filename":"image_26112025_16_35_25_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/93c107e2e5ae21292298705c50b55e52.jpg","text":"TemporaryFile(/tmp/multipartBody2954455952746897880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180903586,"filename":"image_26112025_16_34_34_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/feb37d3c82ccb9a585672b69be510a14.jpg","text":"TemporaryFile(/tmp/multipartBody4555225814007878343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180903586,"filename":"image_26112025_16_34_54_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4ff483a8cd98b1ef34bd82aadd3a0020.jpg","text":"TemporaryFile(/tmp/multipartBody1859709976689184383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180903586,"filename":"image_26112025_16_35_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ffa1f689790a8aabbe8148f6896a4cb9.jpg","text":"TemporaryFile(/tmp/multipartBody4856567752413161367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180903586,"filename":"image_26112025_16_34_24_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/44d96a47c9628d98de3cad3ec2775a6f.jpg","text":"TemporaryFile(/tmp/multipartBody4487294609940374893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180903586,"filename":"image_26112025_16_34_44_9814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396282942","file1":"1396282941","file0":"1396282940","file4":"1396282949","file5":"1396282953","file3":"1396282946"},"map_files_photo_id_array":[{"photo_id":"1396282953","filename":"file5"},{"photo_id":"1396282942","filename":"file2"},{"photo_id":"1396282949","filename":"file4"},{"photo_id":"1396282941","filename":"file1"},{"photo_id":"1396282940","filename":"file0"},{"photo_id":"1396282946","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396282953":["hashtag1","hashtag2"]},{"1396282941":["hashtag1","hashtag2"]},{"1396282946":["hashtag1","hashtag2"]},{"1396282949":["hashtag1","hashtag2"]},{"1396282940":["hashtag1","hashtag2"]},{"1396282942":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396282953, 1396282941, 1396282946, 1396282949, 1396282940, 1396282942)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.25301146507263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:15:02.507465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/35/image_26112025_16_35_34_9550.jpg', '/home/pi/Desktop/images/26112025/16/35/image_26112025_16_35_44_9721.jpg', '/home/pi/Desktop/images/26112025/16/35/image_26112025_16_35_55_10767.jpg', '/home/pi/Desktop/images/26112025/16/35/image_26112025_16_36_04_9719.jpg', '/home/pi/Desktop/images/26112025/16/36/image_26112025_16_36_14_9637.jpg', '/home/pi/Desktop/images/26112025/16/36/image_26112025_16_36_24_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/35/image_26112025_16_35_34_9550.jpg
/home/pi/Desktop/images/26112025/16/35/image_26112025_16_35_44_9721.jpg
/home/pi/Desktop/images/26112025/16/35/image_26112025_16_35_55_10767.jpg
/home/pi/Desktop/images/26112025/16/35/image_26112025_16_36_04_9719.jpg
/home/pi/Desktop/images/26112025/16/36/image_26112025_16_36_14_9637.jpg
/home/pi/Desktop/images/26112025/16/36/image_26112025_16_36_24_9797.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":["1396282989","1396283001","1396282997","1396282994","1396282981","1396282966"],"photo_ids_order":["1396282966","1396282981","1396282989","1396282994","1396282997","1396283001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/291474d6d6744205646576b1bbedb44a.jpg","text":"TemporaryFile(/tmp/multipartBody1601891156250805990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180963283,"filename":"image_26112025_16_35_55_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8b7254b938525c5b77395cd18e2d2901.jpg","text":"TemporaryFile(/tmp/multipartBody9117302981334870733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180963283,"filename":"image_26112025_16_36_24_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8ebc6f14398bb5116e19f57f6003390c.jpg","text":"TemporaryFile(/tmp/multipartBody3233201734963405214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180963283,"filename":"image_26112025_16_36_14_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fa205d63441fde2af39e397698a21759.jpg","text":"TemporaryFile(/tmp/multipartBody3168602034893358393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180963283,"filename":"image_26112025_16_36_04_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e5bd6edcc096ff65fe487f71846c5c08.jpg","text":"TemporaryFile(/tmp/multipartBody8488763754773861414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180963283,"filename":"image_26112025_16_35_44_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aac3bdffdc2f530ac86ad95e9c6e6fbb.jpg","text":"TemporaryFile(/tmp/multipartBody7955993844310135088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764180963283,"filename":"image_26112025_16_35_34_9550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396282989","file1":"1396282981","file0":"1396282966","file4":"1396282997","file5":"1396283001","file3":"1396282994"},"map_files_photo_id_array":[{"photo_id":"1396283001","filename":"file5"},{"photo_id":"1396282989","filename":"file2"},{"photo_id":"1396282997","filename":"file4"},{"photo_id":"1396282981","filename":"file1"},{"photo_id":"1396282966","filename":"file0"},{"photo_id":"1396282994","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396282989":["hashtag1","hashtag2"]},{"1396283001":["hashtag1","hashtag2"]},{"1396282997":["hashtag1","hashtag2"]},{"1396282994":["hashtag1","hashtag2"]},{"1396282981":["hashtag1","hashtag2"]},{"1396282966":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396282989, 1396283001, 1396282997, 1396282994, 1396282981, 1396282966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71545171737671 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 19:15:41.922032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/11/image_30102025_20_11_55_1603.jpg', '/home/pi/Desktop/images/30102025/20/11/image_30102025_20_11_57_1783.jpg', '/home/pi/Desktop/images/30102025/20/11/image_30102025_20_11_58_1641.jpg', '/home/pi/Desktop/images/30102025/20/11/image_30102025_20_12_00_1640.jpg', '/home/pi/Desktop/images/30102025/20/12/image_30102025_20_12_02_1648.jpg', '/home/pi/Desktop/images/30102025/20/12/image_30102025_20_12_03_1748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/11/image_30102025_20_11_55_1603.jpg
/home/pi/Desktop/images/30102025/20/11/image_30102025_20_11_57_1783.jpg
/home/pi/Desktop/images/30102025/20/11/image_30102025_20_11_58_1641.jpg
/home/pi/Desktop/images/30102025/20/11/image_30102025_20_12_00_1640.jpg
/home/pi/Desktop/images/30102025/20/12/image_30102025_20_12_02_1648.jpg
/home/pi/Desktop/images/30102025/20/12/image_30102025_20_12_03_1748.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":["1396283016","1396283013","1396283015","1396283011","1396283014","1396283017"],"photo_ids_order":["1396283011","1396283013","1396283014","1396283015","1396283016","1396283017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f96916a6ce1514bc3b03c92e0c9d77f8.jpg","text":"TemporaryFile(/tmp/multipartBody6190218103436937019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181003387,"filename":"image_30102025_20_12_02_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/26/bc7022ad273f1987792f72dae74cc421.jpg","text":"TemporaryFile(/tmp/multipartBody5174018427691217436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181003387,"filename":"image_30102025_20_11_57_1783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/290e12033c6cafb5b02fd0ed46fe6fd8.jpg","text":"TemporaryFile(/tmp/multipartBody2668572909311946231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181003387,"filename":"image_30102025_20_12_00_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/26/868de83b1fecaddee849addfebc01ef5.jpg","text":"TemporaryFile(/tmp/multipartBody3882670757381176993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181003387,"filename":"image_30102025_20_11_55_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/26/ac79b21eaa0f28b798b57fa3312e0413.jpg","text":"TemporaryFile(/tmp/multipartBody8697759468758721856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181003387,"filename":"image_30102025_20_11_58_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/30d1ef2a02efe74de008058868ec6d59.jpg","text":"TemporaryFile(/tmp/multipartBody1669164598452785182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181003387,"filename":"image_30102025_20_12_03_1748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396283014","file1":"1396283013","file0":"1396283011","file4":"1396283016","file5":"1396283017","file3":"1396283015"},"map_files_photo_id_array":[{"photo_id":"1396283017","filename":"file5"},{"photo_id":"1396283014","filename":"file2"},{"photo_id":"1396283016","filename":"file4"},{"photo_id":"1396283013","filename":"file1"},{"photo_id":"1396283011","filename":"file0"},{"photo_id":"1396283015","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396283016":["hashtag1","hashtag2"]},{"1396283013":["hashtag1","hashtag2"]},{"1396283015":["hashtag1","hashtag2"]},{"1396283011":["hashtag1","hashtag2"]},{"1396283014":["hashtag1","hashtag2"]},{"1396283017":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396283016, 1396283013, 1396283015, 1396283011, 1396283014, 1396283017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.043970823287964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 19:16:22.060885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/36/image_26112025_16_36_35_10787.jpg', '/home/pi/Desktop/images/26112025/16/36/image_26112025_16_36_44_9710.jpg', '/home/pi/Desktop/images/26112025/16/36/image_26112025_16_36_54_9621.jpg', '/home/pi/Desktop/images/26112025/16/36/image_26112025_16_37_05_10562.jpg', '/home/pi/Desktop/images/26112025/16/37/image_26112025_16_37_14_9630.jpg', '/home/pi/Desktop/images/26112025/16/37/image_26112025_16_37_25_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/36/image_26112025_16_36_35_10787.jpg
/home/pi/Desktop/images/26112025/16/36/image_26112025_16_36_44_9710.jpg
/home/pi/Desktop/images/26112025/16/36/image_26112025_16_36_54_9621.jpg
/home/pi/Desktop/images/26112025/16/36/image_26112025_16_37_05_10562.jpg
/home/pi/Desktop/images/26112025/16/37/image_26112025_16_37_14_9630.jpg
/home/pi/Desktop/images/26112025/16/37/image_26112025_16_37_25_10645.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":["1396283043","1396283037","1396283046","1396283030","1396283049","1396283034"],"photo_ids_order":["1396283030","1396283034","1396283037","1396283043","1396283046","1396283049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a831fbd696044831cc406292bff70693.jpg","text":"TemporaryFile(/tmp/multipartBody4256633284482068336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181042827,"filename":"image_26112025_16_37_05_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/120157f692b85c798dda1a71a838e3cb.jpg","text":"TemporaryFile(/tmp/multipartBody8005341914694601241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181042827,"filename":"image_26112025_16_36_54_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/07aa833d6bb17abdaf3fb4e11869bbba.jpg","text":"TemporaryFile(/tmp/multipartBody6188951554562262915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181042827,"filename":"image_26112025_16_37_14_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/68097c4186dfb524e819b89f3fe6a053.jpg","text":"TemporaryFile(/tmp/multipartBody1996019331336405638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181042827,"filename":"image_26112025_16_36_35_10787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/773303b9c5b6fb2d041c9297d50d05d9.jpg","text":"TemporaryFile(/tmp/multipartBody5902050373563195668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181042827,"filename":"image_26112025_16_37_25_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b200e3771b672ebd497a9cb30b3d1482.jpg","text":"TemporaryFile(/tmp/multipartBody5994976667875282106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181042827,"filename":"image_26112025_16_36_44_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396283037","file1":"1396283034","file0":"1396283030","file4":"1396283046","file5":"1396283049","file3":"1396283043"},"map_files_photo_id_array":[{"photo_id":"1396283049","filename":"file5"},{"photo_id":"1396283037","filename":"file2"},{"photo_id":"1396283046","filename":"file4"},{"photo_id":"1396283034","filename":"file1"},{"photo_id":"1396283030","filename":"file0"},{"photo_id":"1396283043","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396283043":["hashtag1","hashtag2"]},{"1396283037":["hashtag1","hashtag2"]},{"1396283046":["hashtag1","hashtag2"]},{"1396283030":["hashtag1","hashtag2"]},{"1396283049":["hashtag1","hashtag2"]},{"1396283034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396283043, 1396283037, 1396283046, 1396283030, 1396283049, 1396283034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84903621673584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:17:02.919390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/37/image_26112025_16_37_35_9819.jpg', '/home/pi/Desktop/images/26112025/16/37/image_26112025_16_37_44_9691.jpg', '/home/pi/Desktop/images/26112025/16/37/image_26112025_16_37_54_9952.jpg', '/home/pi/Desktop/images/26112025/16/37/image_26112025_16_38_04_9680.jpg', '/home/pi/Desktop/images/26112025/16/38/image_26112025_16_38_15_10711.jpg', '/home/pi/Desktop/images/26112025/16/38/image_26112025_16_38_51_36697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/37/image_26112025_16_37_35_9819.jpg
/home/pi/Desktop/images/26112025/16/37/image_26112025_16_37_44_9691.jpg
/home/pi/Desktop/images/26112025/16/37/image_26112025_16_37_54_9952.jpg
/home/pi/Desktop/images/26112025/16/37/image_26112025_16_38_04_9680.jpg
/home/pi/Desktop/images/26112025/16/38/image_26112025_16_38_15_10711.jpg
/home/pi/Desktop/images/26112025/16/38/image_26112025_16_38_51_36697.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":["1396283064","1396283051","1396283060","1396283057","1396283053","1396283055"],"photo_ids_order":["1396283051","1396283053","1396283055","1396283057","1396283060","1396283064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e174f8551246916d9a7dc33d4a226b43.jpg","text":"TemporaryFile(/tmp/multipartBody4726913403849727876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181083740,"filename":"image_26112025_16_38_51_36697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ea19d9001491ab73128c1247553cc73e.jpg","text":"TemporaryFile(/tmp/multipartBody3707821510126796998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181083740,"filename":"image_26112025_16_37_35_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3287bfb686dd727717cfcfd8e06ed444.jpg","text":"TemporaryFile(/tmp/multipartBody3897729182531162410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181083740,"filename":"image_26112025_16_38_15_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/00a88e08ab872df24200ac84f64eba07.jpg","text":"TemporaryFile(/tmp/multipartBody7659386774621423646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181083740,"filename":"image_26112025_16_38_04_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6482ae7eaab818c53da21465fbc8a71f.jpg","text":"TemporaryFile(/tmp/multipartBody6826923660272622899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181083740,"filename":"image_26112025_16_37_44_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/52f29a016068a104c620bf2b6a162851.jpg","text":"TemporaryFile(/tmp/multipartBody1071797944936743710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181083740,"filename":"image_26112025_16_37_54_9952.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396283055","file1":"1396283053","file0":"1396283051","file4":"1396283060","file5":"1396283064","file3":"1396283057"},"map_files_photo_id_array":[{"photo_id":"1396283064","filename":"file5"},{"photo_id":"1396283055","filename":"file2"},{"photo_id":"1396283060","filename":"file4"},{"photo_id":"1396283053","filename":"file1"},{"photo_id":"1396283051","filename":"file0"},{"photo_id":"1396283057","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396283064":["hashtag1","hashtag2"]},{"1396283051":["hashtag1","hashtag2"]},{"1396283060":["hashtag1","hashtag2"]},{"1396283057":["hashtag1","hashtag2"]},{"1396283053":["hashtag1","hashtag2"]},{"1396283055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396283064, 1396283051, 1396283060, 1396283057, 1396283053, 1396283055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55004000663757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 19:17:42.234019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/12/image_30102025_20_12_10_2523.jpg', '/home/pi/Desktop/images/30102025/20/12/image_30102025_20_12_41_3732.jpg', '/home/pi/Desktop/images/30102025/20/12/image_30102025_20_12_43_2594.jpg', '/home/pi/Desktop/images/30102025/20/12/image_30102025_20_12_46_2725.jpg', '/home/pi/Desktop/images/30102025/20/12/image_30102025_20_12_49_3631.jpg', '/home/pi/Desktop/images/30102025/20/12/image_30102025_20_12_52_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/12/image_30102025_20_12_10_2523.jpg
/home/pi/Desktop/images/30102025/20/12/image_30102025_20_12_41_3732.jpg
/home/pi/Desktop/images/30102025/20/12/image_30102025_20_12_43_2594.jpg
/home/pi/Desktop/images/30102025/20/12/image_30102025_20_12_46_2725.jpg
/home/pi/Desktop/images/30102025/20/12/image_30102025_20_12_49_3631.jpg
/home/pi/Desktop/images/30102025/20/12/image_30102025_20_12_52_2705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396283078","1396283080","1396283074","1396283077","1396283079","1396283076"],"photo_ids_order":["1396283074","1396283076","1396283077","1396283078","1396283079","1396283080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/470ab161b02c2b6cc9e32adda7cafad3.jpg","text":"TemporaryFile(/tmp/multipartBody2145784472305810530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181123744,"filename":"image_30102025_20_12_46_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c2d562edde5bea43e9acc56e64d8ec67.jpg","text":"TemporaryFile(/tmp/multipartBody8457428533685377141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181123744,"filename":"image_30102025_20_12_52_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6ca82ebc60a8b656bef2b43dbbcdbb53.jpg","text":"TemporaryFile(/tmp/multipartBody8835887950911571856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181123744,"filename":"image_30102025_20_12_10_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/26/4a70e94de59555f9c53d4cf368c34d12.jpg","text":"TemporaryFile(/tmp/multipartBody7307822319743535009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181123744,"filename":"image_30102025_20_12_43_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/26/93a1ba22840da1df8d7c8f094ded870b.jpg","text":"TemporaryFile(/tmp/multipartBody3348147540926905019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181123744,"filename":"image_30102025_20_12_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/26/f8841c16828243ccf1199a7513be32f9.jpg","text":"TemporaryFile(/tmp/multipartBody8699605687215154982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181123744,"filename":"image_30102025_20_12_41_3732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396283077","file1":"1396283076","file0":"1396283074","file4":"1396283079","file5":"1396283080","file3":"1396283078"},"map_files_photo_id_array":[{"photo_id":"1396283080","filename":"file5"},{"photo_id":"1396283077","filename":"file2"},{"photo_id":"1396283079","filename":"file4"},{"photo_id":"1396283076","filename":"file1"},{"photo_id":"1396283074","filename":"file0"},{"photo_id":"1396283078","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396283078":["hashtag1","hashtag2"]},{"1396283080":["hashtag1","hashtag2"]},{"1396283074":["hashtag1","hashtag2"]},{"1396283077":["hashtag1","hashtag2"]},{"1396283079":["hashtag1","hashtag2"]},{"1396283076":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396283078, 1396283080, 1396283074, 1396283077, 1396283079, 1396283076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27831196784973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 19:18:22.397599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/38/image_26112025_16_38_53_1692.jpg', '/home/pi/Desktop/images/26112025/16/38/image_26112025_16_38_57_4302.jpg', '/home/pi/Desktop/images/26112025/16/38/image_26112025_16_38_59_1625.jpg', '/home/pi/Desktop/images/26112025/16/39/image_26112025_16_39_05_5559.jpg', '/home/pi/Desktop/images/26112025/16/39/image_26112025_16_39_26_21761.jpg', '/home/pi/Desktop/images/26112025/16/39/image_26112025_16_39_28_1708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/38/image_26112025_16_38_53_1692.jpg
/home/pi/Desktop/images/26112025/16/38/image_26112025_16_38_57_4302.jpg
/home/pi/Desktop/images/26112025/16/38/image_26112025_16_38_59_1625.jpg
/home/pi/Desktop/images/26112025/16/39/image_26112025_16_39_05_5559.jpg
/home/pi/Desktop/images/26112025/16/39/image_26112025_16_39_26_21761.jpg
/home/pi/Desktop/images/26112025/16/39/image_26112025_16_39_28_1708.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":["1396283087","1396283095","1396283098","1396283101","1396283091","1396283104"],"photo_ids_order":["1396283087","1396283091","1396283095","1396283098","1396283101","1396283104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ac67869b4dc30364b537226d673055d4.jpg","text":"TemporaryFile(/tmp/multipartBody712359769605005476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181163108,"filename":"image_26112025_16_38_53_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/26/23d980af7176da83baf4a5e408eb7984.jpg","text":"TemporaryFile(/tmp/multipartBody2804968110499504558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181163108,"filename":"image_26112025_16_38_59_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/26/4ba79903bcc799f912099c3e2d36eed2.jpg","text":"TemporaryFile(/tmp/multipartBody9038445545619897551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181163108,"filename":"image_26112025_16_39_05_5559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dafa14f558937261d4b21fe2f1fa8e55.jpg","text":"TemporaryFile(/tmp/multipartBody4537865192242058775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181163108,"filename":"image_26112025_16_39_26_21761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e21f82b7ff68a6224c2e1f1ecd9d55fc.jpg","text":"TemporaryFile(/tmp/multipartBody3569002397780932269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181163108,"filename":"image_26112025_16_38_57_4302.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/359cad049f6c95a7ac09bb74c02d93cd.jpg","text":"TemporaryFile(/tmp/multipartBody9181125256409456566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181163108,"filename":"image_26112025_16_39_28_1708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396283095","file1":"1396283091","file0":"1396283087","file4":"1396283101","file5":"1396283104","file3":"1396283098"},"map_files_photo_id_array":[{"photo_id":"1396283104","filename":"file5"},{"photo_id":"1396283095","filename":"file2"},{"photo_id":"1396283101","filename":"file4"},{"photo_id":"1396283091","filename":"file1"},{"photo_id":"1396283087","filename":"file0"},{"photo_id":"1396283098","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396283087":["hashtag1","hashtag2"]},{"1396283095":["hashtag1","hashtag2"]},{"1396283098":["hashtag1","hashtag2"]},{"1396283101":["hashtag1","hashtag2"]},{"1396283091":["hashtag1","hashtag2"]},{"1396283104":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396283087, 1396283095, 1396283098, 1396283101, 1396283091, 1396283104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.906105041503906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:19:03.512716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 19:19:22.641513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/39/image_26112025_16_39_35_6561.jpg', '/home/pi/Desktop/images/26112025/16/39/image_26112025_16_39_44_9561.jpg', '/home/pi/Desktop/images/26112025/16/39/image_26112025_16_39_55_10706.jpg', '/home/pi/Desktop/images/26112025/16/40/image_26112025_16_40_14_10056.jpg', '/home/pi/Desktop/images/26112025/16/40/image_26112025_16_40_25_10919.jpg', '/home/pi/Desktop/images/26112025/16/40/image_26112025_16_40_35_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/39/image_26112025_16_39_35_6561.jpg
/home/pi/Desktop/images/26112025/16/39/image_26112025_16_39_44_9561.jpg
/home/pi/Desktop/images/26112025/16/39/image_26112025_16_39_55_10706.jpg
/home/pi/Desktop/images/26112025/16/40/image_26112025_16_40_14_10056.jpg
/home/pi/Desktop/images/26112025/16/40/image_26112025_16_40_25_10919.jpg
/home/pi/Desktop/images/26112025/16/40/image_26112025_16_40_35_9772.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":["1396283121","1396283124","1396283118","1396283127","1396283129","1396283114"],"photo_ids_order":["1396283114","1396283118","1396283121","1396283124","1396283127","1396283129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f9b439f1adeacb7d020501d61c6b177c.jpg","text":"TemporaryFile(/tmp/multipartBody7811959981223289742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181223304,"filename":"image_26112025_16_39_55_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4f9693a1094f01f626164bed2a7212f5.jpg","text":"TemporaryFile(/tmp/multipartBody6127870922601619827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181223304,"filename":"image_26112025_16_40_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eba6410421d8baee654286766f182f4f.jpg","text":"TemporaryFile(/tmp/multipartBody7202961224033216418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181223304,"filename":"image_26112025_16_39_44_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/04e6743c35c7f822a76892e9fbe3db3c.jpg","text":"TemporaryFile(/tmp/multipartBody7934925497339939801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181223304,"filename":"image_26112025_16_40_25_10919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/649abe4048fa1a7371b64dc166363228.jpg","text":"TemporaryFile(/tmp/multipartBody1391840878116630385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181223304,"filename":"image_26112025_16_40_35_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9b7fe68fe90c5f3a4ddf14f1062d7fd3.jpg","text":"TemporaryFile(/tmp/multipartBody3807460408768125716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181223304,"filename":"image_26112025_16_39_35_6561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396283121","file1":"1396283118","file0":"1396283114","file4":"1396283127","file5":"1396283129","file3":"1396283124"},"map_files_photo_id_array":[{"photo_id":"1396283129","filename":"file5"},{"photo_id":"1396283121","filename":"file2"},{"photo_id":"1396283127","filename":"file4"},{"photo_id":"1396283118","filename":"file1"},{"photo_id":"1396283114","filename":"file0"},{"photo_id":"1396283124","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396283121":["hashtag1","hashtag2"]},{"1396283124":["hashtag1","hashtag2"]},{"1396283118":["hashtag1","hashtag2"]},{"1396283127":["hashtag1","hashtag2"]},{"1396283129":["hashtag1","hashtag2"]},{"1396283114":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396283121, 1396283124, 1396283118, 1396283127, 1396283129, 1396283114)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.67784523963928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 19:20:11.829087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_14_4135.jpg', '/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_19_2500.jpg', '/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_21_2574.jpg', '/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_27_3588.jpg', '/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_30_2589.jpg', '/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_33_3129.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_14_4135.jpg
/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_19_2500.jpg
/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_21_2574.jpg
/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_27_3588.jpg
/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_30_2589.jpg
/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_33_3129.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":["1396283270","1396283348","1396283234","1396283428","1396283308","1396283388"],"photo_ids_order":["1396283234","1396283270","1396283308","1396283348","1396283388","1396283428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a98551e96470d019f03b53a1440d5797.jpg","text":"TemporaryFile(/tmp/multipartBody6264552486269039985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181273717,"filename":"image_20112025_23_11_19_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/26/a013037c3189392ccbd66b114a739d60.jpg","text":"TemporaryFile(/tmp/multipartBody7942389564608227087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181273717,"filename":"image_20112025_23_11_27_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/37abd7da6acad79271422402ca003295.jpg","text":"TemporaryFile(/tmp/multipartBody4147084253680175106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181273717,"filename":"image_20112025_23_11_14_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/26/9529931b9876f3413abfdb15c687e5f0.jpg","text":"TemporaryFile(/tmp/multipartBody8631815091511422569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181273717,"filename":"image_20112025_23_11_33_3129.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/50220d8afb1407172f03f30f31bc620e.jpg","text":"TemporaryFile(/tmp/multipartBody174304844954033551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181273717,"filename":"image_20112025_23_11_21_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/26/2eeae08d596e955d0b3b7194e15dc168.jpg","text":"TemporaryFile(/tmp/multipartBody4244986767778905183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181273717,"filename":"image_20112025_23_11_30_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396283308","file1":"1396283270","file0":"1396283234","file4":"1396283388","file5":"1396283428","file3":"1396283348"},"map_files_photo_id_array":[{"photo_id":"1396283428","filename":"file5"},{"photo_id":"1396283308","filename":"file2"},{"photo_id":"1396283388","filename":"file4"},{"photo_id":"1396283270","filename":"file1"},{"photo_id":"1396283234","filename":"file0"},{"photo_id":"1396283348","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396283270":["hashtag1","hashtag2"]},{"1396283348":["hashtag1","hashtag2"]},{"1396283234":["hashtag1","hashtag2"]},{"1396283428":["hashtag1","hashtag2"]},{"1396283308":["hashtag1","hashtag2"]},{"1396283388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396283270, 1396283348, 1396283234, 1396283428, 1396283308, 1396283388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.421547174453735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:21:02.615656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/40/image_26112025_16_40_44_9647.jpg', '/home/pi/Desktop/images/26112025/16/40/image_26112025_16_40_54_10009.jpg', '/home/pi/Desktop/images/26112025/16/41/image_26112025_16_41_44_9608.jpg', '/home/pi/Desktop/images/26112025/16/41/image_26112025_16_42_04_9822.jpg', '/home/pi/Desktop/images/26112025/16/42/image_26112025_16_42_24_9669.jpg', '/home/pi/Desktop/images/26112025/16/42/image_26112025_16_42_44_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/40/image_26112025_16_40_44_9647.jpg
/home/pi/Desktop/images/26112025/16/40/image_26112025_16_40_54_10009.jpg
/home/pi/Desktop/images/26112025/16/41/image_26112025_16_41_44_9608.jpg
/home/pi/Desktop/images/26112025/16/41/image_26112025_16_42_04_9822.jpg
/home/pi/Desktop/images/26112025/16/42/image_26112025_16_42_24_9669.jpg
/home/pi/Desktop/images/26112025/16/42/image_26112025_16_42_44_9627.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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396283492","1396283501","1396283494","1396283506","1396283496","1396283490"],"photo_ids_order":["1396283490","1396283492","1396283494","1396283496","1396283501","1396283506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ee4ad08bf0234cafb23ffd1d3a7b1920.jpg","text":"TemporaryFile(/tmp/multipartBody245092771410818443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181326065,"filename":"image_26112025_16_40_54_10009.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/645da762d26c720dd38a12c7329ac8c1.jpg","text":"TemporaryFile(/tmp/multipartBody4248341547461472840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181326065,"filename":"image_26112025_16_42_24_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/32d7d917ec0dc1b1f7692f40e9724a49.jpg","text":"TemporaryFile(/tmp/multipartBody6907590962156097585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181326065,"filename":"image_26112025_16_41_44_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3113c1e9f15977a3c4ef445c961d75ed.jpg","text":"TemporaryFile(/tmp/multipartBody4501294107431585346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181326065,"filename":"image_26112025_16_42_44_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/baecf5833d43dab7a0943bdb73a27da9.jpg","text":"TemporaryFile(/tmp/multipartBody8679370494648751266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181326065,"filename":"image_26112025_16_42_04_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/43b39402ff93b458e22e5cefeb052e42.jpg","text":"TemporaryFile(/tmp/multipartBody5050486471084643908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181326065,"filename":"image_26112025_16_40_44_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396283494","file1":"1396283492","file0":"1396283490","file4":"1396283501","file5":"1396283506","file3":"1396283496"},"map_files_photo_id_array":[{"photo_id":"1396283506","filename":"file5"},{"photo_id":"1396283494","filename":"file2"},{"photo_id":"1396283501","filename":"file4"},{"photo_id":"1396283492","filename":"file1"},{"photo_id":"1396283490","filename":"file0"},{"photo_id":"1396283496","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396283492":["hashtag1","hashtag2"]},{"1396283501":["hashtag1","hashtag2"]},{"1396283494":["hashtag1","hashtag2"]},{"1396283506":["hashtag1","hashtag2"]},{"1396283496":["hashtag1","hashtag2"]},{"1396283490":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396283492, 1396283501, 1396283494, 1396283506, 1396283496, 1396283490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.2030131816864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:22:03.110031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/43/image_26112025_16_43_14_9644.jpg', '/home/pi/Desktop/images/26112025/16/43/image_26112025_16_43_24_9799.jpg', '/home/pi/Desktop/images/26112025/16/43/image_26112025_16_43_35_10621.jpg', '/home/pi/Desktop/images/26112025/16/43/image_26112025_16_43_44_9648.jpg', '/home/pi/Desktop/images/26112025/16/43/image_26112025_16_43_54_9747.jpg', '/home/pi/Desktop/images/26112025/16/43/image_26112025_16_44_05_10714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/43/image_26112025_16_43_14_9644.jpg
/home/pi/Desktop/images/26112025/16/43/image_26112025_16_43_24_9799.jpg
/home/pi/Desktop/images/26112025/16/43/image_26112025_16_43_35_10621.jpg
/home/pi/Desktop/images/26112025/16/43/image_26112025_16_43_44_9648.jpg
/home/pi/Desktop/images/26112025/16/43/image_26112025_16_43_54_9747.jpg
/home/pi/Desktop/images/26112025/16/43/image_26112025_16_44_05_10714.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":["1396283540","1396283534","1396283546","1396283542","1396283536","1396283538"],"photo_ids_order":["1396283534","1396283536","1396283538","1396283540","1396283542","1396283546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/10ebc142c61292679b88fccff115559f.jpg","text":"TemporaryFile(/tmp/multipartBody8724365130244001201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181385350,"filename":"image_26112025_16_43_44_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b25328db7338346e5133e027ce4dece2.jpg","text":"TemporaryFile(/tmp/multipartBody2801177819953487400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181385350,"filename":"image_26112025_16_43_14_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0b16bfbfd5716864a768b72e718359d9.jpg","text":"TemporaryFile(/tmp/multipartBody5370190002010013057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181385350,"filename":"image_26112025_16_44_05_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8146eb5c611c5477d7dea88a307a5be3.jpg","text":"TemporaryFile(/tmp/multipartBody4230008337649977553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181385350,"filename":"image_26112025_16_43_54_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/653df461eb7f09c232196b34d7cd1eea.jpg","text":"TemporaryFile(/tmp/multipartBody1373241639783244745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181385350,"filename":"image_26112025_16_43_24_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8825aee70f747aec41ab06fa3a60f046.jpg","text":"TemporaryFile(/tmp/multipartBody4488182484308290071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181385350,"filename":"image_26112025_16_43_35_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396283538","file1":"1396283536","file0":"1396283534","file4":"1396283542","file5":"1396283546","file3":"1396283540"},"map_files_photo_id_array":[{"photo_id":"1396283546","filename":"file5"},{"photo_id":"1396283538","filename":"file2"},{"photo_id":"1396283542","filename":"file4"},{"photo_id":"1396283536","filename":"file1"},{"photo_id":"1396283534","filename":"file0"},{"photo_id":"1396283540","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396283540":["hashtag1","hashtag2"]},{"1396283534":["hashtag1","hashtag2"]},{"1396283546":["hashtag1","hashtag2"]},{"1396283542":["hashtag1","hashtag2"]},{"1396283536":["hashtag1","hashtag2"]},{"1396283538":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396283540, 1396283534, 1396283546, 1396283542, 1396283536, 1396283538)","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 = 1396283538 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/26112025/16/43/image_26112025_16_43_35_10621.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 56.06589603424072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:23:02.669045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/44/image_26112025_16_44_14_9656.jpg', '/home/pi/Desktop/images/26112025/16/44/image_26112025_16_44_34_9602.jpg', '/home/pi/Desktop/images/26112025/16/44/image_26112025_16_44_44_10669.jpg', '/home/pi/Desktop/images/26112025/16/44/image_26112025_16_44_54_9751.jpg', '/home/pi/Desktop/images/26112025/16/45/image_26112025_16_45_14_10061.jpg', '/home/pi/Desktop/images/26112025/16/45/image_26112025_16_45_25_10778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/44/image_26112025_16_44_14_9656.jpg
/home/pi/Desktop/images/26112025/16/44/image_26112025_16_44_34_9602.jpg
/home/pi/Desktop/images/26112025/16/44/image_26112025_16_44_44_10669.jpg
/home/pi/Desktop/images/26112025/16/44/image_26112025_16_44_54_9751.jpg
/home/pi/Desktop/images/26112025/16/45/image_26112025_16_45_14_10061.jpg
/home/pi/Desktop/images/26112025/16/45/image_26112025_16_45_25_10778.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":["1396283567","1396283576","1396283581","1396283578","1396283557","1396283586"],"photo_ids_order":["1396283557","1396283567","1396283576","1396283578","1396283581","1396283586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9826d40d88880906e2deccdefecce3fe.jpg","text":"TemporaryFile(/tmp/multipartBody6837260840438180340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181443473,"filename":"image_26112025_16_44_34_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f613371c65403d9303c951e7777177a6.jpg","text":"TemporaryFile(/tmp/multipartBody7322459531539667131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181443473,"filename":"image_26112025_16_44_44_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f4c96a0fff017496fa4cbc0d34b8a9ba.jpg","text":"TemporaryFile(/tmp/multipartBody1320214035465908249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181443473,"filename":"image_26112025_16_45_14_10061.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/440cdbe85cd33773649a2684bb20d935.jpg","text":"TemporaryFile(/tmp/multipartBody2634749001541174893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181443473,"filename":"image_26112025_16_44_54_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b7ab633acda6e864f210caf4b298419d.jpg","text":"TemporaryFile(/tmp/multipartBody7828364901429036514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181443473,"filename":"image_26112025_16_44_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eecfbd52833ac466daf565fb1f0f1a90.jpg","text":"TemporaryFile(/tmp/multipartBody8256631282816049039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181443473,"filename":"image_26112025_16_45_25_10778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396283576","file1":"1396283567","file0":"1396283557","file4":"1396283581","file5":"1396283586","file3":"1396283578"},"map_files_photo_id_array":[{"photo_id":"1396283586","filename":"file5"},{"photo_id":"1396283576","filename":"file2"},{"photo_id":"1396283581","filename":"file4"},{"photo_id":"1396283567","filename":"file1"},{"photo_id":"1396283557","filename":"file0"},{"photo_id":"1396283578","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396283567":["hashtag1","hashtag2"]},{"1396283576":["hashtag1","hashtag2"]},{"1396283581":["hashtag1","hashtag2"]},{"1396283578":["hashtag1","hashtag2"]},{"1396283557":["hashtag1","hashtag2"]},{"1396283586":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396283567, 1396283576, 1396283581, 1396283578, 1396283557, 1396283586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.224751472473145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 19:23:41.835874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_19_2627.jpg', '/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_22_2587.jpg', '/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_25_3688.jpg', '/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_31_2662.jpg', '/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_34_3707.jpg', '/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_43_3616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_19_2627.jpg
/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_22_2587.jpg
/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_25_3688.jpg
/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_31_2662.jpg
/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_34_3707.jpg
/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_43_3616.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.2924959659576416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:24:02.759515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/45/image_26112025_16_45_35_9633.jpg', '/home/pi/Desktop/images/26112025/16/45/image_26112025_16_45_44_9742.jpg', '/home/pi/Desktop/images/26112025/16/45/image_26112025_16_45_55_10651.jpg', '/home/pi/Desktop/images/26112025/16/45/image_26112025_16_46_05_9691.jpg', '/home/pi/Desktop/images/26112025/16/46/image_26112025_16_46_14_9633.jpg', '/home/pi/Desktop/images/26112025/16/46/image_26112025_16_46_25_10561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/45/image_26112025_16_45_35_9633.jpg
/home/pi/Desktop/images/26112025/16/45/image_26112025_16_45_44_9742.jpg
/home/pi/Desktop/images/26112025/16/45/image_26112025_16_45_55_10651.jpg
/home/pi/Desktop/images/26112025/16/45/image_26112025_16_46_05_9691.jpg
/home/pi/Desktop/images/26112025/16/46/image_26112025_16_46_14_9633.jpg
/home/pi/Desktop/images/26112025/16/46/image_26112025_16_46_25_10561.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":["1396283625","1396283607","1396283601","1396283604","1396283620","1396283614"],"photo_ids_order":["1396283601","1396283604","1396283607","1396283614","1396283620","1396283625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4b587b4ac39811083dc1c0336c66af34.jpg","text":"TemporaryFile(/tmp/multipartBody1565437351162998156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181503531,"filename":"image_26112025_16_46_25_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/de10fa149c6ced32bb919f66da55d452.jpg","text":"TemporaryFile(/tmp/multipartBody7956783409088829135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181503531,"filename":"image_26112025_16_45_55_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/057c74b6a80bb33ba7fa88b32b4e9c76.jpg","text":"TemporaryFile(/tmp/multipartBody258839625501486784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181503531,"filename":"image_26112025_16_45_35_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9b3a187971d21b215f50e2fdac5b5e58.jpg","text":"TemporaryFile(/tmp/multipartBody2369919732963666009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181503531,"filename":"image_26112025_16_45_44_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/40b22c86c03366dc041023ed633bc62b.jpg","text":"TemporaryFile(/tmp/multipartBody4412444349243411985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181503531,"filename":"image_26112025_16_46_14_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1bb0336e1d3c3e86e243d46c4f550cd1.jpg","text":"TemporaryFile(/tmp/multipartBody3707274118457551767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181503531,"filename":"image_26112025_16_46_05_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396283607","file1":"1396283604","file0":"1396283601","file4":"1396283620","file5":"1396283625","file3":"1396283614"},"map_files_photo_id_array":[{"photo_id":"1396283625","filename":"file5"},{"photo_id":"1396283607","filename":"file2"},{"photo_id":"1396283620","filename":"file4"},{"photo_id":"1396283604","filename":"file1"},{"photo_id":"1396283601","filename":"file0"},{"photo_id":"1396283614","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396283625":["hashtag1","hashtag2"]},{"1396283607":["hashtag1","hashtag2"]},{"1396283601":["hashtag1","hashtag2"]},{"1396283604":["hashtag1","hashtag2"]},{"1396283620":["hashtag1","hashtag2"]},{"1396283614":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396283625, 1396283607, 1396283601, 1396283604, 1396283620, 1396283614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.194371700286865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 19:24:42.129108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_19_2627.jpg', '/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_22_2587.jpg', '/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_25_3688.jpg', '/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_31_2662.jpg', '/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_34_3707.jpg', '/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_43_3616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_19_2627.jpg
/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_22_2587.jpg
/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_25_3688.jpg
/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_31_2662.jpg
/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_34_3707.jpg
/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_43_3616.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":["1396283652","1396283646","1396283648","1396283650","1396283653","1396283655"],"photo_ids_order":["1396283646","1396283648","1396283650","1396283652","1396283653","1396283655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4d6cfa756e5c089f31be200e3d1001ff.jpg","text":"TemporaryFile(/tmp/multipartBody4756274881204685527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181543480,"filename":"image_30102025_20_13_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/26/06258dad0435fefcd903171c66bd067a.jpg","text":"TemporaryFile(/tmp/multipartBody2799866599260080678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181543480,"filename":"image_30102025_20_13_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/26/4d8c3ae85ca7c039e38bf01768617225.jpg","text":"TemporaryFile(/tmp/multipartBody7928282327938024479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181543480,"filename":"image_30102025_20_13_22_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/26/9f5271c4d1dcebecb78dbd1805631047.jpg","text":"TemporaryFile(/tmp/multipartBody1053380313018201441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181543480,"filename":"image_30102025_20_13_25_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/26/32a4af9e091705f5193265f71d504e55.jpg","text":"TemporaryFile(/tmp/multipartBody7530842319592614636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181543480,"filename":"image_30102025_20_13_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/26/c4af34dff15a8fe5cba4b61f28061f8b.jpg","text":"TemporaryFile(/tmp/multipartBody5980490678393974706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181543480,"filename":"image_30102025_20_13_43_3616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396283650","file1":"1396283648","file0":"1396283646","file4":"1396283653","file5":"1396283655","file3":"1396283652"},"map_files_photo_id_array":[{"photo_id":"1396283655","filename":"file5"},{"photo_id":"1396283650","filename":"file2"},{"photo_id":"1396283653","filename":"file4"},{"photo_id":"1396283648","filename":"file1"},{"photo_id":"1396283646","filename":"file0"},{"photo_id":"1396283652","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396283652":["hashtag1","hashtag2"]},{"1396283646":["hashtag1","hashtag2"]},{"1396283648":["hashtag1","hashtag2"]},{"1396283650":["hashtag1","hashtag2"]},{"1396283653":["hashtag1","hashtag2"]},{"1396283655":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396283652, 1396283646, 1396283648, 1396283650, 1396283653, 1396283655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95962357521057 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 19:25:22.240446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/46/image_26112025_16_46_35_9732.jpg', '/home/pi/Desktop/images/26112025/16/46/image_26112025_16_46_44_9654.jpg', '/home/pi/Desktop/images/26112025/16/46/image_26112025_16_46_55_10751.jpg', '/home/pi/Desktop/images/26112025/16/46/image_26112025_16_47_05_9566.jpg', '/home/pi/Desktop/images/26112025/16/47/image_26112025_16_47_14_9663.jpg', '/home/pi/Desktop/images/26112025/16/47/image_26112025_16_47_25_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/46/image_26112025_16_46_35_9732.jpg
/home/pi/Desktop/images/26112025/16/46/image_26112025_16_46_44_9654.jpg
/home/pi/Desktop/images/26112025/16/46/image_26112025_16_46_55_10751.jpg
/home/pi/Desktop/images/26112025/16/46/image_26112025_16_47_05_9566.jpg
/home/pi/Desktop/images/26112025/16/47/image_26112025_16_47_14_9663.jpg
/home/pi/Desktop/images/26112025/16/47/image_26112025_16_47_25_10656.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":["1396283703","1396283706","1396283690","1396283698","1396283701","1396283694"],"photo_ids_order":["1396283690","1396283694","1396283698","1396283701","1396283703","1396283706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0f9b3539a82f0b484a2e0c7176030df2.jpg","text":"TemporaryFile(/tmp/multipartBody7904866875322014857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181582930,"filename":"image_26112025_16_47_14_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fe85dfd2742ea3e892eb669f88029bd8.jpg","text":"TemporaryFile(/tmp/multipartBody9075542564447741656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181582930,"filename":"image_26112025_16_47_25_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/77278dea51ac5c635c5f3ab9beeab41b.jpg","text":"TemporaryFile(/tmp/multipartBody7814177267297896293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181582930,"filename":"image_26112025_16_46_35_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c0fb3c2e0dccd35fda9315184c71a2b4.jpg","text":"TemporaryFile(/tmp/multipartBody2223987442108184013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181582930,"filename":"image_26112025_16_46_55_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2d6b323facffd8d75cdcb89fc2bd782a.jpg","text":"TemporaryFile(/tmp/multipartBody454851992219654569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181582930,"filename":"image_26112025_16_47_05_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/def690da80d7f36ae669381e37b07114.jpg","text":"TemporaryFile(/tmp/multipartBody4180759070973896633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181582930,"filename":"image_26112025_16_46_44_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396283698","file1":"1396283694","file0":"1396283690","file4":"1396283703","file5":"1396283706","file3":"1396283701"},"map_files_photo_id_array":[{"photo_id":"1396283706","filename":"file5"},{"photo_id":"1396283698","filename":"file2"},{"photo_id":"1396283703","filename":"file4"},{"photo_id":"1396283694","filename":"file1"},{"photo_id":"1396283690","filename":"file0"},{"photo_id":"1396283701","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396283703":["hashtag1","hashtag2"]},{"1396283706":["hashtag1","hashtag2"]},{"1396283690":["hashtag1","hashtag2"]},{"1396283698":["hashtag1","hashtag2"]},{"1396283701":["hashtag1","hashtag2"]},{"1396283694":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396283703, 1396283706, 1396283690, 1396283698, 1396283701, 1396283694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06290912628174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:26:03.046470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/47/image_26112025_16_47_35_9888.jpg', '/home/pi/Desktop/images/26112025/16/47/image_26112025_16_47_45_9674.jpg', '/home/pi/Desktop/images/26112025/16/47/image_26112025_16_47_55_10627.jpg', '/home/pi/Desktop/images/26112025/16/47/image_26112025_16_48_05_9622.jpg', '/home/pi/Desktop/images/26112025/16/48/image_26112025_16_48_15_9712.jpg', '/home/pi/Desktop/images/26112025/16/48/image_26112025_16_48_24_9964.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/47/image_26112025_16_47_35_9888.jpg
/home/pi/Desktop/images/26112025/16/47/image_26112025_16_47_45_9674.jpg
/home/pi/Desktop/images/26112025/16/47/image_26112025_16_47_55_10627.jpg
/home/pi/Desktop/images/26112025/16/47/image_26112025_16_48_05_9622.jpg
/home/pi/Desktop/images/26112025/16/48/image_26112025_16_48_15_9712.jpg
/home/pi/Desktop/images/26112025/16/48/image_26112025_16_48_24_9964.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":["1396283739","1396283712","1396283709","1396283782","1396283708","1396283820"],"photo_ids_order":["1396283708","1396283709","1396283712","1396283739","1396283782","1396283820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e1c6b2dc1bbb100620d1ba2069cb2ceb.jpg","text":"TemporaryFile(/tmp/multipartBody998103906376606420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181623762,"filename":"image_26112025_16_48_05_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/958535a67de5ee0a73fa44f265e51ac0.jpg","text":"TemporaryFile(/tmp/multipartBody1478896166035067838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181623762,"filename":"image_26112025_16_47_55_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eba4660d258d21e16747fb94a5221e63.jpg","text":"TemporaryFile(/tmp/multipartBody4152002390441374946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181623762,"filename":"image_26112025_16_47_45_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2330e39e71ffc2871516d299da2ce200.jpg","text":"TemporaryFile(/tmp/multipartBody4092888841191560324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181623762,"filename":"image_26112025_16_48_15_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/27a680a4a553067f984d94026cf9caa2.jpg","text":"TemporaryFile(/tmp/multipartBody5371194572283060346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181623762,"filename":"image_26112025_16_47_35_9888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5bec35fcc77c0b48b3685c81333ccfb5.jpg","text":"TemporaryFile(/tmp/multipartBody4879908786077998709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181623762,"filename":"image_26112025_16_48_24_9964.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396283712","file1":"1396283709","file0":"1396283708","file4":"1396283782","file5":"1396283820","file3":"1396283739"},"map_files_photo_id_array":[{"photo_id":"1396283820","filename":"file5"},{"photo_id":"1396283712","filename":"file2"},{"photo_id":"1396283782","filename":"file4"},{"photo_id":"1396283709","filename":"file1"},{"photo_id":"1396283708","filename":"file0"},{"photo_id":"1396283739","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396283739":["hashtag1","hashtag2"]},{"1396283712":["hashtag1","hashtag2"]},{"1396283709":["hashtag1","hashtag2"]},{"1396283782":["hashtag1","hashtag2"]},{"1396283708":["hashtag1","hashtag2"]},{"1396283820":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396283739, 1396283712, 1396283709, 1396283782, 1396283708, 1396283820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06087398529053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 19:26:42.590334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_49_2702.jpg', '/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_52_3662.jpg', '/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_55_2652.jpg', '/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_58_2562.jpg', '/home/pi/Desktop/images/30102025/20/13/image_30102025_20_14_01_3682.jpg', '/home/pi/Desktop/images/30102025/20/14/image_30102025_20_14_25_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_49_2702.jpg
/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_52_3662.jpg
/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_55_2652.jpg
/home/pi/Desktop/images/30102025/20/13/image_30102025_20_13_58_2562.jpg
/home/pi/Desktop/images/30102025/20/13/image_30102025_20_14_01_3682.jpg
/home/pi/Desktop/images/30102025/20/14/image_30102025_20_14_25_2716.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":["1396283978","1396283966","1396283954","1396283927","1396283926","1396283967"],"photo_ids_order":["1396283926","1396283927","1396283954","1396283966","1396283967","1396283978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/74e264228b383319695b3da43d79cd37.jpg","text":"TemporaryFile(/tmp/multipartBody6684250948272038595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181669870,"filename":"image_30102025_20_14_25_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/26/9184c34bc5576e8033255c50a4aba162.jpg","text":"TemporaryFile(/tmp/multipartBody668517267898623288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181669870,"filename":"image_30102025_20_13_58_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/26/db3b3b9c168bc63378fe85513c95d75e.jpg","text":"TemporaryFile(/tmp/multipartBody6940822512030592283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181669870,"filename":"image_30102025_20_13_55_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/26/34a31c2472198c89cc1fbac4aa3bb890.jpg","text":"TemporaryFile(/tmp/multipartBody4829908381375732213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181669870,"filename":"image_30102025_20_13_52_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/26/47cea80ff28f93874ed71b7afc6f4426.jpg","text":"TemporaryFile(/tmp/multipartBody5697890537224794071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181669870,"filename":"image_30102025_20_13_49_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/26/9437bb1b966866ff37e5109050b342cf.jpg","text":"TemporaryFile(/tmp/multipartBody4429222523832267579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181669870,"filename":"image_30102025_20_14_01_3682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396283954","file1":"1396283927","file0":"1396283926","file4":"1396283967","file5":"1396283978","file3":"1396283966"},"map_files_photo_id_array":[{"photo_id":"1396283978","filename":"file5"},{"photo_id":"1396283954","filename":"file2"},{"photo_id":"1396283967","filename":"file4"},{"photo_id":"1396283927","filename":"file1"},{"photo_id":"1396283926","filename":"file0"},{"photo_id":"1396283966","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396283978":["hashtag1","hashtag2"]},{"1396283966":["hashtag1","hashtag2"]},{"1396283954":["hashtag1","hashtag2"]},{"1396283927":["hashtag1","hashtag2"]},{"1396283926":["hashtag1","hashtag2"]},{"1396283967":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396283978, 1396283966, 1396283954, 1396283927, 1396283926, 1396283967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.845837116241455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 19:27:32.822365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_45_2396.jpg', '/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_48_3723.jpg', '/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_51_2798.jpg', '/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_54_2575.jpg', '/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_58_3725.jpg', '/home/pi/Desktop/images/20112025/23/11/image_20112025_23_12_00_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_45_2396.jpg
/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_48_3723.jpg
/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_51_2798.jpg
/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_54_2575.jpg
/home/pi/Desktop/images/20112025/23/11/image_20112025_23_11_58_3725.jpg
/home/pi/Desktop/images/20112025/23/11/image_20112025_23_12_00_2719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396284089","1396284091","1396284073","1396284037","1396284010","1396284090"],"photo_ids_order":["1396284010","1396284037","1396284073","1396284089","1396284090","1396284091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/29c950ffe1a96b39e850ce17a03002fc.jpg","text":"TemporaryFile(/tmp/multipartBody6861886623854949875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181714767,"filename":"image_20112025_23_11_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/26/8ac1299480ded4df33f6fbe3e34c059a.jpg","text":"TemporaryFile(/tmp/multipartBody3331821791148919656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181714767,"filename":"image_20112025_23_12_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/26/7a0dfeb08414a21409f9664c489abdd9.jpg","text":"TemporaryFile(/tmp/multipartBody7680853794817464172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181714767,"filename":"image_20112025_23_11_51_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/26/98cc2735318001fe40d816b8b99e3cad.jpg","text":"TemporaryFile(/tmp/multipartBody102152233475571493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181714767,"filename":"image_20112025_23_11_48_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/26/65d9ad9c70a9f515bc8d66b6e03ef276.jpg","text":"TemporaryFile(/tmp/multipartBody6217318227396285183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181714767,"filename":"image_20112025_23_11_45_2396.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d6043ee704559f3e506f933d4c0be4f8.jpg","text":"TemporaryFile(/tmp/multipartBody561275802421819268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181714767,"filename":"image_20112025_23_11_58_3725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396284073","file1":"1396284037","file0":"1396284010","file4":"1396284090","file5":"1396284091","file3":"1396284089"},"map_files_photo_id_array":[{"photo_id":"1396284091","filename":"file5"},{"photo_id":"1396284073","filename":"file2"},{"photo_id":"1396284090","filename":"file4"},{"photo_id":"1396284037","filename":"file1"},{"photo_id":"1396284010","filename":"file0"},{"photo_id":"1396284089","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396284089":["hashtag1","hashtag2"]},{"1396284091":["hashtag1","hashtag2"]},{"1396284073":["hashtag1","hashtag2"]},{"1396284037":["hashtag1","hashtag2"]},{"1396284010":["hashtag1","hashtag2"]},{"1396284090":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396284089, 1396284091, 1396284073, 1396284037, 1396284010, 1396284090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5211067199707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 19:28:11.908798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/12/image_20112025_23_12_09_2737.jpg', '/home/pi/Desktop/images/20112025/23/12/image_20112025_23_12_12_3656.jpg', '/home/pi/Desktop/images/20112025/23/12/image_20112025_23_12_18_3049.jpg', '/home/pi/Desktop/images/20112025/23/12/image_20112025_23_12_21_3057.jpg', '/home/pi/Desktop/images/20112025/23/12/image_20112025_23_12_24_3209.jpg', '/home/pi/Desktop/images/20112025/23/12/image_20112025_23_12_30_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/12/image_20112025_23_12_09_2737.jpg
/home/pi/Desktop/images/20112025/23/12/image_20112025_23_12_12_3656.jpg
/home/pi/Desktop/images/20112025/23/12/image_20112025_23_12_18_3049.jpg
/home/pi/Desktop/images/20112025/23/12/image_20112025_23_12_21_3057.jpg
/home/pi/Desktop/images/20112025/23/12/image_20112025_23_12_24_3209.jpg
/home/pi/Desktop/images/20112025/23/12/image_20112025_23_12_30_2598.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":["1396284111","1396284107","1396284101","1396284104","1396284094","1396284096"],"photo_ids_order":["1396284094","1396284096","1396284101","1396284104","1396284107","1396284111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/71c0d5615c434fe5920dbd353c06dea5.jpg","text":"TemporaryFile(/tmp/multipartBody1495952599190822754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181753787,"filename":"image_20112025_23_12_30_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/26/fc1b36ea649b5ed44e7b4b2f4f7958ea.jpg","text":"TemporaryFile(/tmp/multipartBody5949124550624385882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181753787,"filename":"image_20112025_23_12_24_3209.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e7e872d080be9121e914c2f743744d4e.jpg","text":"TemporaryFile(/tmp/multipartBody6310169436729922247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181753787,"filename":"image_20112025_23_12_18_3049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/db0a6b119c4dd9fd0e3772ed3d347fe4.jpg","text":"TemporaryFile(/tmp/multipartBody9053551203639761411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181753787,"filename":"image_20112025_23_12_21_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/26/9fcc6d3b8b4180b4e28b609ec9def95d.jpg","text":"TemporaryFile(/tmp/multipartBody5558187572589697383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181753787,"filename":"image_20112025_23_12_09_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/26/cb1df015f07adae487ac9ccbb08f60da.jpg","text":"TemporaryFile(/tmp/multipartBody2539886130381847096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181753787,"filename":"image_20112025_23_12_12_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396284101","file1":"1396284096","file0":"1396284094","file4":"1396284107","file5":"1396284111","file3":"1396284104"},"map_files_photo_id_array":[{"photo_id":"1396284111","filename":"file5"},{"photo_id":"1396284101","filename":"file2"},{"photo_id":"1396284107","filename":"file4"},{"photo_id":"1396284096","filename":"file1"},{"photo_id":"1396284094","filename":"file0"},{"photo_id":"1396284104","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396284111":["hashtag1","hashtag2"]},{"1396284107":["hashtag1","hashtag2"]},{"1396284101":["hashtag1","hashtag2"]},{"1396284104":["hashtag1","hashtag2"]},{"1396284094":["hashtag1","hashtag2"]},{"1396284096":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396284111, 1396284107, 1396284101, 1396284104, 1396284094, 1396284096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.34851670265198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:29:02.940234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/48/image_26112025_16_48_35_10668.jpg', '/home/pi/Desktop/images/26112025/16/48/image_26112025_16_48_45_9748.jpg', '/home/pi/Desktop/images/26112025/16/48/image_26112025_16_48_55_9843.jpg', '/home/pi/Desktop/images/26112025/16/48/image_26112025_16_49_04_9701.jpg', '/home/pi/Desktop/images/26112025/16/49/image_26112025_16_49_14_9887.jpg', '/home/pi/Desktop/images/26112025/16/49/image_26112025_16_49_25_10550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/48/image_26112025_16_48_35_10668.jpg
/home/pi/Desktop/images/26112025/16/48/image_26112025_16_48_45_9748.jpg
/home/pi/Desktop/images/26112025/16/48/image_26112025_16_48_55_9843.jpg
/home/pi/Desktop/images/26112025/16/48/image_26112025_16_49_04_9701.jpg
/home/pi/Desktop/images/26112025/16/49/image_26112025_16_49_14_9887.jpg
/home/pi/Desktop/images/26112025/16/49/image_26112025_16_49_25_10550.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.6635937690734863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 19:29:12.054563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/12/image_20112025_23_12_35_4728.jpg', '/home/pi/Desktop/images/20112025/23/12/image_20112025_23_12_36_1957.jpg', '/home/pi/Desktop/images/20112025/23/12/image_20112025_23_12_45_3030.jpg', '/home/pi/Desktop/images/20112025/23/12/image_20112025_23_13_00_2548.jpg', '/home/pi/Desktop/images/20112025/23/13/image_20112025_23_13_03_3899.jpg', '/home/pi/Desktop/images/20112025/23/13/image_20112025_23_13_06_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/12/image_20112025_23_12_35_4728.jpg
/home/pi/Desktop/images/20112025/23/12/image_20112025_23_12_36_1957.jpg
/home/pi/Desktop/images/20112025/23/12/image_20112025_23_12_45_3030.jpg
/home/pi/Desktop/images/20112025/23/12/image_20112025_23_13_00_2548.jpg
/home/pi/Desktop/images/20112025/23/13/image_20112025_23_13_03_3899.jpg
/home/pi/Desktop/images/20112025/23/13/image_20112025_23_13_06_2662.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":["1396284154","1396284133","1396284157","1396284147","1396284126","1396284123"],"photo_ids_order":["1396284123","1396284126","1396284133","1396284147","1396284154","1396284157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/91a1dd9785f6f5391553ef7e7db9cd6c.jpg","text":"TemporaryFile(/tmp/multipartBody2534930642180570285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181813922,"filename":"image_20112025_23_13_03_3899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1f3a19ae5da15634a868121423f405d4.jpg","text":"TemporaryFile(/tmp/multipartBody4591152465452794317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181813922,"filename":"image_20112025_23_12_45_3030.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f39b770fab1d0ae45dcb5581a36f9ad9.jpg","text":"TemporaryFile(/tmp/multipartBody937533898252042923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181813922,"filename":"image_20112025_23_13_06_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/26/4fd6370e9ff08b4a9047c87c95af5bab.jpg","text":"TemporaryFile(/tmp/multipartBody7009568740109353586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181813922,"filename":"image_20112025_23_13_00_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/26/3d2a5dabd535affb1aa9e7b03c7d88c1.jpg","text":"TemporaryFile(/tmp/multipartBody3191500757049446055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181813922,"filename":"image_20112025_23_12_36_1957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9c7cba20ca1f5c84fe5560a4f2f6964f.jpg","text":"TemporaryFile(/tmp/multipartBody8118125001113742063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181813922,"filename":"image_20112025_23_12_35_4728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396284133","file1":"1396284126","file0":"1396284123","file4":"1396284154","file5":"1396284157","file3":"1396284147"},"map_files_photo_id_array":[{"photo_id":"1396284157","filename":"file5"},{"photo_id":"1396284133","filename":"file2"},{"photo_id":"1396284154","filename":"file4"},{"photo_id":"1396284126","filename":"file1"},{"photo_id":"1396284123","filename":"file0"},{"photo_id":"1396284147","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396284154":["hashtag1","hashtag2"]},{"1396284133":["hashtag1","hashtag2"]},{"1396284157":["hashtag1","hashtag2"]},{"1396284147":["hashtag1","hashtag2"]},{"1396284126":["hashtag1","hashtag2"]},{"1396284123":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396284154, 1396284133, 1396284157, 1396284147, 1396284126, 1396284123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.841660499572754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:30:02.804256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/48/image_26112025_16_48_35_10668.jpg', '/home/pi/Desktop/images/26112025/16/48/image_26112025_16_48_45_9748.jpg', '/home/pi/Desktop/images/26112025/16/48/image_26112025_16_48_55_9843.jpg', '/home/pi/Desktop/images/26112025/16/48/image_26112025_16_49_04_9701.jpg', '/home/pi/Desktop/images/26112025/16/49/image_26112025_16_49_14_9887.jpg', '/home/pi/Desktop/images/26112025/16/49/image_26112025_16_49_25_10550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/48/image_26112025_16_48_35_10668.jpg
/home/pi/Desktop/images/26112025/16/48/image_26112025_16_48_45_9748.jpg
/home/pi/Desktop/images/26112025/16/48/image_26112025_16_48_55_9843.jpg
/home/pi/Desktop/images/26112025/16/48/image_26112025_16_49_04_9701.jpg
/home/pi/Desktop/images/26112025/16/49/image_26112025_16_49_14_9887.jpg
/home/pi/Desktop/images/26112025/16/49/image_26112025_16_49_25_10550.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":["1396284210","1396284203","1396284214","1396284205","1396284207","1396284201"],"photo_ids_order":["1396284201","1396284203","1396284205","1396284207","1396284210","1396284214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1572af0b7732eae356a1195b3b70865c.jpg","text":"TemporaryFile(/tmp/multipartBody32864317672157713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181863501,"filename":"image_26112025_16_49_14_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e7433395cc8b8aad591e823b3b8243f4.jpg","text":"TemporaryFile(/tmp/multipartBody6471507289357637170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181863501,"filename":"image_26112025_16_48_45_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f5e9b692093a175dbd1179956a6deb3d.jpg","text":"TemporaryFile(/tmp/multipartBody9013119163405668534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181863501,"filename":"image_26112025_16_49_25_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6090d30b3a62f5c141dafe1d71e58f82.jpg","text":"TemporaryFile(/tmp/multipartBody4345419427922986536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181863501,"filename":"image_26112025_16_48_55_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6f7f410f1d22c88fbd5eb46c5ff60058.jpg","text":"TemporaryFile(/tmp/multipartBody1027088905759516509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181863501,"filename":"image_26112025_16_49_04_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b4e0e7d16bf148077b63c4fa76495d79.jpg","text":"TemporaryFile(/tmp/multipartBody7320688660916196823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181863501,"filename":"image_26112025_16_48_35_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396284205","file1":"1396284203","file0":"1396284201","file4":"1396284210","file5":"1396284214","file3":"1396284207"},"map_files_photo_id_array":[{"photo_id":"1396284214","filename":"file5"},{"photo_id":"1396284205","filename":"file2"},{"photo_id":"1396284210","filename":"file4"},{"photo_id":"1396284203","filename":"file1"},{"photo_id":"1396284201","filename":"file0"},{"photo_id":"1396284207","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396284210":["hashtag1","hashtag2"]},{"1396284203":["hashtag1","hashtag2"]},{"1396284214":["hashtag1","hashtag2"]},{"1396284205":["hashtag1","hashtag2"]},{"1396284207":["hashtag1","hashtag2"]},{"1396284201":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396284210, 1396284203, 1396284214, 1396284205, 1396284207, 1396284201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61507248878479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 19:30:42.339343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/14/image_30102025_20_14_28_3640.jpg', '/home/pi/Desktop/images/30102025/20/14/image_30102025_20_14_36_2632.jpg', '/home/pi/Desktop/images/30102025/20/14/image_30102025_20_14_40_3572.jpg', '/home/pi/Desktop/images/30102025/20/14/image_30102025_20_14_43_2671.jpg', '/home/pi/Desktop/images/30102025/20/14/image_30102025_20_14_51_2597.jpg', '/home/pi/Desktop/images/30102025/20/14/image_30102025_20_14_55_3760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/14/image_30102025_20_14_28_3640.jpg
/home/pi/Desktop/images/30102025/20/14/image_30102025_20_14_36_2632.jpg
/home/pi/Desktop/images/30102025/20/14/image_30102025_20_14_40_3572.jpg
/home/pi/Desktop/images/30102025/20/14/image_30102025_20_14_43_2671.jpg
/home/pi/Desktop/images/30102025/20/14/image_30102025_20_14_51_2597.jpg
/home/pi/Desktop/images/30102025/20/14/image_30102025_20_14_55_3760.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":["1396284227","1396284229","1396284226","1396284231","1396284225","1396284228"],"photo_ids_order":["1396284225","1396284226","1396284227","1396284228","1396284229","1396284231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d7681cf8209f41c8e5c65e197ba5ace1.jpg","text":"TemporaryFile(/tmp/multipartBody1178977140159732903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181903744,"filename":"image_30102025_20_14_40_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/26/d618d5c0b4a3513a9cf4f26d96115121.jpg","text":"TemporaryFile(/tmp/multipartBody5001573414153863031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181903744,"filename":"image_30102025_20_14_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/26/3325e22794ed6676deb122f87ae29026.jpg","text":"TemporaryFile(/tmp/multipartBody987370906172423998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181903744,"filename":"image_30102025_20_14_36_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/26/83da48a58722c8d175c060fc6809521c.jpg","text":"TemporaryFile(/tmp/multipartBody1722085238524478213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181903744,"filename":"image_30102025_20_14_55_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/26/c440fbaf4caaad942c2f14f531ab6759.jpg","text":"TemporaryFile(/tmp/multipartBody395151378770666030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181903744,"filename":"image_30102025_20_14_28_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/656e3f1733ee59ce85db90e82354dcd2.jpg","text":"TemporaryFile(/tmp/multipartBody6395266566258206504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181903744,"filename":"image_30102025_20_14_43_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396284227","file1":"1396284226","file0":"1396284225","file4":"1396284229","file5":"1396284231","file3":"1396284228"},"map_files_photo_id_array":[{"photo_id":"1396284231","filename":"file5"},{"photo_id":"1396284227","filename":"file2"},{"photo_id":"1396284229","filename":"file4"},{"photo_id":"1396284226","filename":"file1"},{"photo_id":"1396284225","filename":"file0"},{"photo_id":"1396284228","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396284227":["hashtag1","hashtag2"]},{"1396284229":["hashtag1","hashtag2"]},{"1396284226":["hashtag1","hashtag2"]},{"1396284231":["hashtag1","hashtag2"]},{"1396284225":["hashtag1","hashtag2"]},{"1396284228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396284227, 1396284229, 1396284226, 1396284231, 1396284225, 1396284228)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.867400884628296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 19:31:32.518177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/13/image_20112025_23_13_09_2586.jpg', '/home/pi/Desktop/images/20112025/23/13/image_20112025_23_13_18_2711.jpg', '/home/pi/Desktop/images/20112025/23/13/image_20112025_23_13_21_2731.jpg', '/home/pi/Desktop/images/20112025/23/13/image_20112025_23_13_27_2674.jpg', '/home/pi/Desktop/images/20112025/23/13/image_20112025_23_13_33_3696.jpg', '/home/pi/Desktop/images/20112025/23/13/image_20112025_23_13_36_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/13/image_20112025_23_13_09_2586.jpg
/home/pi/Desktop/images/20112025/23/13/image_20112025_23_13_18_2711.jpg
/home/pi/Desktop/images/20112025/23/13/image_20112025_23_13_21_2731.jpg
/home/pi/Desktop/images/20112025/23/13/image_20112025_23_13_27_2674.jpg
/home/pi/Desktop/images/20112025/23/13/image_20112025_23_13_33_3696.jpg
/home/pi/Desktop/images/20112025/23/13/image_20112025_23_13_36_2623.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":["1396284248","1396284247","1396284244","1396284243","1396284246","1396284249"],"photo_ids_order":["1396284243","1396284244","1396284246","1396284247","1396284248","1396284249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4bfa1b2af8cc478e6088f4fae1833318.jpg","text":"TemporaryFile(/tmp/multipartBody4881391999671154501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181954462,"filename":"image_20112025_23_13_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/26/821deab5dcc275f778e45af453ba7170.jpg","text":"TemporaryFile(/tmp/multipartBody3198890405986635993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181954462,"filename":"image_20112025_23_13_27_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/26/d0439247dbc020f1c2f2fca58f78a23b.jpg","text":"TemporaryFile(/tmp/multipartBody8740505285957660939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181954462,"filename":"image_20112025_23_13_18_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/26/582b853caa0191a3c2c75614b9504a63.jpg","text":"TemporaryFile(/tmp/multipartBody5024501256504331976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181954462,"filename":"image_20112025_23_13_09_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/26/a3613b3a17815ef5d3635ec9bd80624b.jpg","text":"TemporaryFile(/tmp/multipartBody7412287552013176090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181954462,"filename":"image_20112025_23_13_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/26/bcaf1cc7bb593122901cfa6de170101b.jpg","text":"TemporaryFile(/tmp/multipartBody6368193258526886307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181954462,"filename":"image_20112025_23_13_36_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396284246","file1":"1396284244","file0":"1396284243","file4":"1396284248","file5":"1396284249","file3":"1396284247"},"map_files_photo_id_array":[{"photo_id":"1396284249","filename":"file5"},{"photo_id":"1396284246","filename":"file2"},{"photo_id":"1396284248","filename":"file4"},{"photo_id":"1396284244","filename":"file1"},{"photo_id":"1396284243","filename":"file0"},{"photo_id":"1396284247","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396284248":["hashtag1","hashtag2"]},{"1396284247":["hashtag1","hashtag2"]},{"1396284244":["hashtag1","hashtag2"]},{"1396284243":["hashtag1","hashtag2"]},{"1396284246":["hashtag1","hashtag2"]},{"1396284249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396284248, 1396284247, 1396284244, 1396284243, 1396284246, 1396284249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76002812385559 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 19:32:12.652839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/13/image_20112025_23_13_39_2779.jpg', '/home/pi/Desktop/images/20112025/23/13/image_20112025_23_13_42_3650.jpg', '/home/pi/Desktop/images/20112025/23/13/image_20112025_23_13_57_3769.jpg', '/home/pi/Desktop/images/20112025/23/13/image_20112025_23_14_00_2760.jpg', '/home/pi/Desktop/images/20112025/23/14/image_20112025_23_14_03_2694.jpg', '/home/pi/Desktop/images/20112025/23/14/image_20112025_23_14_06_2838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/13/image_20112025_23_13_39_2779.jpg
/home/pi/Desktop/images/20112025/23/13/image_20112025_23_13_42_3650.jpg
/home/pi/Desktop/images/20112025/23/13/image_20112025_23_13_57_3769.jpg
/home/pi/Desktop/images/20112025/23/13/image_20112025_23_14_00_2760.jpg
/home/pi/Desktop/images/20112025/23/14/image_20112025_23_14_03_2694.jpg
/home/pi/Desktop/images/20112025/23/14/image_20112025_23_14_06_2838.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":["1396284261","1396284255","1396284264","1396284258","1396284267","1396284252"],"photo_ids_order":["1396284252","1396284255","1396284258","1396284261","1396284264","1396284267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8d3c3ba0a286c3976f25405d9c2182f3.jpg","text":"TemporaryFile(/tmp/multipartBody8830143182439489423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181994511,"filename":"image_20112025_23_14_00_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/26/0a84c764212ee465cc71e2c796a8f8f2.jpg","text":"TemporaryFile(/tmp/multipartBody1168555528634605859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181994511,"filename":"image_20112025_23_13_42_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/26/5e840693054bb25a8037223f3a44393b.jpg","text":"TemporaryFile(/tmp/multipartBody2162545458748090459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181994511,"filename":"image_20112025_23_14_03_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/26/fe20a4e2cdc8b68259f6ce3acfbc28df.jpg","text":"TemporaryFile(/tmp/multipartBody5535537653003828515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181994511,"filename":"image_20112025_23_13_57_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/26/73f88517298030dceda2956b9d6a9c97.jpg","text":"TemporaryFile(/tmp/multipartBody5290665496325105079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181994511,"filename":"image_20112025_23_14_06_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/26/9c9e739f4f2896cc3afbade271ec4c34.jpg","text":"TemporaryFile(/tmp/multipartBody8924827856886409667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764181994511,"filename":"image_20112025_23_13_39_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396284258","file1":"1396284255","file0":"1396284252","file4":"1396284264","file5":"1396284267","file3":"1396284261"},"map_files_photo_id_array":[{"photo_id":"1396284267","filename":"file5"},{"photo_id":"1396284258","filename":"file2"},{"photo_id":"1396284264","filename":"file4"},{"photo_id":"1396284255","filename":"file1"},{"photo_id":"1396284252","filename":"file0"},{"photo_id":"1396284261","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396284261":["hashtag1","hashtag2"]},{"1396284255":["hashtag1","hashtag2"]},{"1396284264":["hashtag1","hashtag2"]},{"1396284258":["hashtag1","hashtag2"]},{"1396284267":["hashtag1","hashtag2"]},{"1396284252":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396284261, 1396284255, 1396284264, 1396284258, 1396284267, 1396284252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40785098075867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:33:02.936911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/49/image_26112025_16_49_35_9626.jpg', '/home/pi/Desktop/images/26112025/16/49/image_26112025_16_49_45_10641.jpg', '/home/pi/Desktop/images/26112025/16/49/image_26112025_16_49_55_10001.jpg', '/home/pi/Desktop/images/26112025/16/50/image_26112025_16_50_15_10051.jpg', '/home/pi/Desktop/images/26112025/16/50/image_26112025_16_50_25_10794.jpg', '/home/pi/Desktop/images/26112025/16/50/image_26112025_16_50_35_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/49/image_26112025_16_49_35_9626.jpg
/home/pi/Desktop/images/26112025/16/49/image_26112025_16_49_45_10641.jpg
/home/pi/Desktop/images/26112025/16/49/image_26112025_16_49_55_10001.jpg
/home/pi/Desktop/images/26112025/16/50/image_26112025_16_50_15_10051.jpg
/home/pi/Desktop/images/26112025/16/50/image_26112025_16_50_25_10794.jpg
/home/pi/Desktop/images/26112025/16/50/image_26112025_16_50_35_9766.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":["1396284292","1396284289","1396284301","1396284294","1396284288","1396284297"],"photo_ids_order":["1396284288","1396284289","1396284292","1396284294","1396284297","1396284301"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ac2677fbe3ebaa5b04b42ed7f43656d8.jpg","text":"TemporaryFile(/tmp/multipartBody8012049522651215765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182043700,"filename":"image_26112025_16_49_55_10001.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b3ef74d340bac7a423e9d3a02be6b517.jpg","text":"TemporaryFile(/tmp/multipartBody5164730896665940951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182043700,"filename":"image_26112025_16_49_45_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d27bfbe312e3829b2f65b5cddd889cd4.jpg","text":"TemporaryFile(/tmp/multipartBody8876322936887820831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182043700,"filename":"image_26112025_16_50_35_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ccfcac81c45fd3c8b2c5ab1f41760a53.jpg","text":"TemporaryFile(/tmp/multipartBody7008956405909760136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182043700,"filename":"image_26112025_16_50_15_10051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/92bcb638d94a66ec97b3f6416a59289d.jpg","text":"TemporaryFile(/tmp/multipartBody5266757910572556362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182043700,"filename":"image_26112025_16_49_35_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/664c2d47a2650d7725727cb4a87d7511.jpg","text":"TemporaryFile(/tmp/multipartBody6646510111199807850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182043700,"filename":"image_26112025_16_50_25_10794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396284292","file1":"1396284289","file0":"1396284288","file4":"1396284297","file5":"1396284301","file3":"1396284294"},"map_files_photo_id_array":[{"photo_id":"1396284301","filename":"file5"},{"photo_id":"1396284292","filename":"file2"},{"photo_id":"1396284297","filename":"file4"},{"photo_id":"1396284289","filename":"file1"},{"photo_id":"1396284288","filename":"file0"},{"photo_id":"1396284294","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396284292":["hashtag1","hashtag2"]},{"1396284289":["hashtag1","hashtag2"]},{"1396284301":["hashtag1","hashtag2"]},{"1396284294":["hashtag1","hashtag2"]},{"1396284288":["hashtag1","hashtag2"]},{"1396284297":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396284292, 1396284289, 1396284301, 1396284294, 1396284288, 1396284297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.184611558914185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 19:33:42.351029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/14/image_30102025_20_14_58_2579.jpg', '/home/pi/Desktop/images/30102025/20/15/image_30102025_20_15_10_3654.jpg', '/home/pi/Desktop/images/30102025/20/15/image_30102025_20_15_13_2542.jpg', '/home/pi/Desktop/images/30102025/20/15/image_30102025_20_15_19_3605.jpg', '/home/pi/Desktop/images/30102025/20/15/image_30102025_20_15_22_2714.jpg', '/home/pi/Desktop/images/30102025/20/15/image_30102025_20_15_24_2565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/14/image_30102025_20_14_58_2579.jpg
/home/pi/Desktop/images/30102025/20/15/image_30102025_20_15_10_3654.jpg
/home/pi/Desktop/images/30102025/20/15/image_30102025_20_15_13_2542.jpg
/home/pi/Desktop/images/30102025/20/15/image_30102025_20_15_19_3605.jpg
/home/pi/Desktop/images/30102025/20/15/image_30102025_20_15_22_2714.jpg
/home/pi/Desktop/images/30102025/20/15/image_30102025_20_15_24_2565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396284317","1396284314","1396284316","1396284319","1396284312","1396284315"],"photo_ids_order":["1396284312","1396284314","1396284315","1396284316","1396284317","1396284319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fd249017425a4629f85abedb9b2bdd44.jpg","text":"TemporaryFile(/tmp/multipartBody6707739525704645924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182083817,"filename":"image_30102025_20_15_22_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/26/fd937e28d9fa622cbac15d7c98941d5b.jpg","text":"TemporaryFile(/tmp/multipartBody5672666626877181583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182083817,"filename":"image_30102025_20_15_10_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/26/e446e4cee6afe0a77d7d49ed3d492809.jpg","text":"TemporaryFile(/tmp/multipartBody9022005718110327887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182083817,"filename":"image_30102025_20_15_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/26/9bf8f978e709d185c0388ca338fd3574.jpg","text":"TemporaryFile(/tmp/multipartBody4018567787394443464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182083817,"filename":"image_30102025_20_15_24_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/26/78bbda239c27f0a89d9fe29ff640e846.jpg","text":"TemporaryFile(/tmp/multipartBody4214428548691698424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182083817,"filename":"image_30102025_20_14_58_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/26/35996bd63a6b9f6abc64ef6d8f4512a7.jpg","text":"TemporaryFile(/tmp/multipartBody837681906018349159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182083817,"filename":"image_30102025_20_15_13_2542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396284315","file1":"1396284314","file0":"1396284312","file4":"1396284317","file5":"1396284319","file3":"1396284316"},"map_files_photo_id_array":[{"photo_id":"1396284319","filename":"file5"},{"photo_id":"1396284315","filename":"file2"},{"photo_id":"1396284317","filename":"file4"},{"photo_id":"1396284314","filename":"file1"},{"photo_id":"1396284312","filename":"file0"},{"photo_id":"1396284316","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396284317":["hashtag1","hashtag2"]},{"1396284314":["hashtag1","hashtag2"]},{"1396284316":["hashtag1","hashtag2"]},{"1396284319":["hashtag1","hashtag2"]},{"1396284312":["hashtag1","hashtag2"]},{"1396284315":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396284317, 1396284314, 1396284316, 1396284319, 1396284312, 1396284315)","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: 50.295013189315796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 19:34:43.192396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/15/image_30102025_20_15_28_3717.jpg', '/home/pi/Desktop/images/30102025/20/15/image_30102025_20_15_31_2681.jpg', '/home/pi/Desktop/images/30102025/20/15/image_30102025_20_15_37_3518.jpg', '/home/pi/Desktop/images/30102025/20/15/image_30102025_20_15_39_2561.jpg', '/home/pi/Desktop/images/30102025/20/15/image_30102025_20_15_43_3756.jpg', '/home/pi/Desktop/images/30102025/20/15/image_30102025_20_15_52_2853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/15/image_30102025_20_15_28_3717.jpg
/home/pi/Desktop/images/30102025/20/15/image_30102025_20_15_31_2681.jpg
/home/pi/Desktop/images/30102025/20/15/image_30102025_20_15_37_3518.jpg
/home/pi/Desktop/images/30102025/20/15/image_30102025_20_15_39_2561.jpg
/home/pi/Desktop/images/30102025/20/15/image_30102025_20_15_43_3756.jpg
/home/pi/Desktop/images/30102025/20/15/image_30102025_20_15_52_2853.jpg
 val : 1 : upload photos already in processing! 
 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":["1396284362","1396284356","1396284359","1396284344","1396284351","1396284383"],"photo_ids_order":["1396284344","1396284351","1396284356","1396284359","1396284362","1396284383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a59b2b157be50fb985f8b127afab4077.jpg","text":"TemporaryFile(/tmp/multipartBody7400088731421215258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182161645,"filename":"image_30102025_20_15_43_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/26/ece792e61869878e5122a873bf71ec18.jpg","text":"TemporaryFile(/tmp/multipartBody4896636984261418733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182161645,"filename":"image_30102025_20_15_37_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/26/d9b4bff846d467cf5ee4d38d73db6b6b.jpg","text":"TemporaryFile(/tmp/multipartBody2025269392412404682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182161645,"filename":"image_30102025_20_15_39_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/26/1cc3d7dad946943c22ccd09ad3c01ea4.jpg","text":"TemporaryFile(/tmp/multipartBody162863309191469071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182161645,"filename":"image_30102025_20_15_28_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/26/24410a8fef98e71fbeb9655c209acedc.jpg","text":"TemporaryFile(/tmp/multipartBody3857373711841340881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182161645,"filename":"image_30102025_20_15_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/26/d18b53cf16457601fa94a1f2e7218217.jpg","text":"TemporaryFile(/tmp/multipartBody4855377752725265987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182161645,"filename":"image_30102025_20_15_52_2853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396284356","file1":"1396284351","file0":"1396284344","file4":"1396284362","file5":"1396284383","file3":"1396284359"},"map_files_photo_id_array":[{"photo_id":"1396284383","filename":"file5"},{"photo_id":"1396284356","filename":"file2"},{"photo_id":"1396284362","filename":"file4"},{"photo_id":"1396284351","filename":"file1"},{"photo_id":"1396284344","filename":"file0"},{"photo_id":"1396284359","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396284362":["hashtag1","hashtag2"]},{"1396284356":["hashtag1","hashtag2"]},{"1396284359":["hashtag1","hashtag2"]},{"1396284344":["hashtag1","hashtag2"]},{"1396284351":["hashtag1","hashtag2"]},{"1396284383":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396284362, 1396284356, 1396284359, 1396284344, 1396284351, 1396284383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.15027117729187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 19:35:42.389698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/15/image_30102025_20_15_54_2707.jpg', '/home/pi/Desktop/images/30102025/20/15/image_30102025_20_15_58_3743.jpg', '/home/pi/Desktop/images/30102025/20/16/image_30102025_20_16_03_2636.jpg', '/home/pi/Desktop/images/30102025/20/16/image_30102025_20_16_07_3668.jpg', '/home/pi/Desktop/images/30102025/20/16/image_30102025_20_16_16_2775.jpg', '/home/pi/Desktop/images/30102025/20/16/image_30102025_20_16_25_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/15/image_30102025_20_15_54_2707.jpg
/home/pi/Desktop/images/30102025/20/15/image_30102025_20_15_58_3743.jpg
/home/pi/Desktop/images/30102025/20/16/image_30102025_20_16_03_2636.jpg
/home/pi/Desktop/images/30102025/20/16/image_30102025_20_16_07_3668.jpg
/home/pi/Desktop/images/30102025/20/16/image_30102025_20_16_16_2775.jpg
/home/pi/Desktop/images/30102025/20/16/image_30102025_20_16_25_3632.jpg
 val : 1 : upload photos already in processing! 
 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":["1396284518","1396284506","1396284511","1396284514","1396284508","1396284459"],"photo_ids_order":["1396284459","1396284506","1396284508","1396284511","1396284514","1396284518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7375ad4cf8dca5392b5ff8f7c3f49e6e.jpg","text":"TemporaryFile(/tmp/multipartBody926429588175403005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182223017,"filename":"image_30102025_20_16_25_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/26/461053ff8c2f72702c989a3470f731a8.jpg","text":"TemporaryFile(/tmp/multipartBody3237282825188783856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182223017,"filename":"image_30102025_20_15_58_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/26/fac52814eebbacb9691252be1633b960.jpg","text":"TemporaryFile(/tmp/multipartBody7989382558896469421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182223017,"filename":"image_30102025_20_16_07_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/26/1a40eb3bbd4b926c203b4d8be28912de.jpg","text":"TemporaryFile(/tmp/multipartBody829106359755501408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182223017,"filename":"image_30102025_20_16_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/26/39a12a05e2883ebcc81bba0e76a880f0.jpg","text":"TemporaryFile(/tmp/multipartBody9205556602883321317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182223017,"filename":"image_30102025_20_16_03_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/26/154318274f9577268a5b2030ed3ab98d.jpg","text":"TemporaryFile(/tmp/multipartBody3814657366370268674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182223017,"filename":"image_30102025_20_15_54_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396284508","file1":"1396284506","file0":"1396284459","file4":"1396284514","file5":"1396284518","file3":"1396284511"},"map_files_photo_id_array":[{"photo_id":"1396284518","filename":"file5"},{"photo_id":"1396284508","filename":"file2"},{"photo_id":"1396284514","filename":"file4"},{"photo_id":"1396284506","filename":"file1"},{"photo_id":"1396284459","filename":"file0"},{"photo_id":"1396284511","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396284518":["hashtag1","hashtag2"]},{"1396284506":["hashtag1","hashtag2"]},{"1396284511":["hashtag1","hashtag2"]},{"1396284514":["hashtag1","hashtag2"]},{"1396284508":["hashtag1","hashtag2"]},{"1396284459":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396284518, 1396284506, 1396284511, 1396284514, 1396284508, 1396284459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.87710356712341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 19:36:42.951216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/16/image_30102025_20_16_27_2656.jpg', '/home/pi/Desktop/images/30102025/20/16/image_30102025_20_16_34_2819.jpg', '/home/pi/Desktop/images/30102025/20/16/image_30102025_20_16_39_2744.jpg', '/home/pi/Desktop/images/30102025/20/16/image_30102025_20_16_56_12953.jpg', '/home/pi/Desktop/images/30102025/20/17/image_30102025_20_17_02_5848.jpg', '/home/pi/Desktop/images/30102025/20/17/image_30102025_20_17_10_1653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/16/image_30102025_20_16_27_2656.jpg
/home/pi/Desktop/images/30102025/20/16/image_30102025_20_16_34_2819.jpg
/home/pi/Desktop/images/30102025/20/16/image_30102025_20_16_39_2744.jpg
/home/pi/Desktop/images/30102025/20/16/image_30102025_20_16_56_12953.jpg
/home/pi/Desktop/images/30102025/20/17/image_30102025_20_17_02_5848.jpg
/home/pi/Desktop/images/30102025/20/17/image_30102025_20_17_10_1653.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":["1396284533","1396284532","1396284535","1396284534","1396284531","1396284528"],"photo_ids_order":["1396284528","1396284531","1396284532","1396284533","1396284534","1396284535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4c97607a681bbb0e2e6d3b23a7d947f2.jpg","text":"TemporaryFile(/tmp/multipartBody408290935397886495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182264344,"filename":"image_30102025_20_16_56_12953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5c60df15784bd70669817be28d114722.jpg","text":"TemporaryFile(/tmp/multipartBody7298860844188107419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182264344,"filename":"image_30102025_20_16_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/26/906c92b1a1b1276dad6b9ece2aef2976.jpg","text":"TemporaryFile(/tmp/multipartBody2812644207904604640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182264344,"filename":"image_30102025_20_17_10_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/26/97e1e49fcb256905829fa051f5f9ad47.jpg","text":"TemporaryFile(/tmp/multipartBody8163277456032561467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182264344,"filename":"image_30102025_20_17_02_5848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f5ba6f0f978b9a44cecd2d3685962813.jpg","text":"TemporaryFile(/tmp/multipartBody4360577776744448670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182264344,"filename":"image_30102025_20_16_34_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/26/bf84c9b6606d5deff961618772bf1b84.jpg","text":"TemporaryFile(/tmp/multipartBody6871300727482391379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182264344,"filename":"image_30102025_20_16_27_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396284532","file1":"1396284531","file0":"1396284528","file4":"1396284534","file5":"1396284535","file3":"1396284533"},"map_files_photo_id_array":[{"photo_id":"1396284535","filename":"file5"},{"photo_id":"1396284532","filename":"file2"},{"photo_id":"1396284534","filename":"file4"},{"photo_id":"1396284531","filename":"file1"},{"photo_id":"1396284528","filename":"file0"},{"photo_id":"1396284533","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396284533":["hashtag1","hashtag2"]},{"1396284532":["hashtag1","hashtag2"]},{"1396284535":["hashtag1","hashtag2"]},{"1396284534":["hashtag1","hashtag2"]},{"1396284531":["hashtag1","hashtag2"]},{"1396284528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396284533, 1396284532, 1396284535, 1396284534, 1396284531, 1396284528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51121711730957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 19:37:22.247017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/50/image_26112025_16_50_45_9535.jpg', '/home/pi/Desktop/images/26112025/16/50/image_26112025_16_50_55_10544.jpg', '/home/pi/Desktop/images/26112025/16/50/image_26112025_16_51_05_9554.jpg', '/home/pi/Desktop/images/26112025/16/51/image_26112025_16_51_16_10694.jpg', '/home/pi/Desktop/images/26112025/16/51/image_26112025_16_51_25_9801.jpg', '/home/pi/Desktop/images/26112025/16/51/image_26112025_16_51_35_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/50/image_26112025_16_50_45_9535.jpg
/home/pi/Desktop/images/26112025/16/50/image_26112025_16_50_55_10544.jpg
/home/pi/Desktop/images/26112025/16/50/image_26112025_16_51_05_9554.jpg
/home/pi/Desktop/images/26112025/16/51/image_26112025_16_51_16_10694.jpg
/home/pi/Desktop/images/26112025/16/51/image_26112025_16_51_25_9801.jpg
/home/pi/Desktop/images/26112025/16/51/image_26112025_16_51_35_9771.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":["1396284569","1396284554","1396284565","1396284550","1396284547","1396284543"],"photo_ids_order":["1396284543","1396284547","1396284550","1396284554","1396284565","1396284569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/546aa53d09e8160399e8907f01cb553f.jpg","text":"TemporaryFile(/tmp/multipartBody17205823049793716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182302967,"filename":"image_26112025_16_51_35_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3f926dfa3b0caf428ac35ea034960f66.jpg","text":"TemporaryFile(/tmp/multipartBody3707644212273842787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182302967,"filename":"image_26112025_16_51_16_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3023b72be8fa20d179ba2954d9af54c8.jpg","text":"TemporaryFile(/tmp/multipartBody7670528607298342736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182302967,"filename":"image_26112025_16_51_25_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fd2f016620b6035375400914ceae68ce.jpg","text":"TemporaryFile(/tmp/multipartBody9111378253092795086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182302967,"filename":"image_26112025_16_51_05_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e1fc7f6be6aa2b07ab92426e4fb65cb1.jpg","text":"TemporaryFile(/tmp/multipartBody2782103520904073370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182302967,"filename":"image_26112025_16_50_55_10544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/091457ea5b02aee49c5bd66a26dd49dd.jpg","text":"TemporaryFile(/tmp/multipartBody7125790841004213152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182302967,"filename":"image_26112025_16_50_45_9535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396284550","file1":"1396284547","file0":"1396284543","file4":"1396284565","file5":"1396284569","file3":"1396284554"},"map_files_photo_id_array":[{"photo_id":"1396284569","filename":"file5"},{"photo_id":"1396284550","filename":"file2"},{"photo_id":"1396284565","filename":"file4"},{"photo_id":"1396284547","filename":"file1"},{"photo_id":"1396284543","filename":"file0"},{"photo_id":"1396284554","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396284569":["hashtag1","hashtag2"]},{"1396284554":["hashtag1","hashtag2"]},{"1396284565":["hashtag1","hashtag2"]},{"1396284550":["hashtag1","hashtag2"]},{"1396284547":["hashtag1","hashtag2"]},{"1396284543":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396284569, 1396284554, 1396284565, 1396284550, 1396284547, 1396284543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.266578674316406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:38:02.862988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/51/image_26112025_16_51_45_9653.jpg', '/home/pi/Desktop/images/26112025/16/51/image_26112025_16_51_56_10823.jpg', '/home/pi/Desktop/images/26112025/16/51/image_26112025_16_52_05_9702.jpg', '/home/pi/Desktop/images/26112025/16/52/image_26112025_16_52_15_9670.jpg', '/home/pi/Desktop/images/26112025/16/52/image_26112025_16_52_25_9726.jpg', '/home/pi/Desktop/images/26112025/16/52/image_26112025_16_52_35_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/51/image_26112025_16_51_45_9653.jpg
/home/pi/Desktop/images/26112025/16/51/image_26112025_16_51_56_10823.jpg
/home/pi/Desktop/images/26112025/16/51/image_26112025_16_52_05_9702.jpg
/home/pi/Desktop/images/26112025/16/52/image_26112025_16_52_15_9670.jpg
/home/pi/Desktop/images/26112025/16/52/image_26112025_16_52_25_9726.jpg
/home/pi/Desktop/images/26112025/16/52/image_26112025_16_52_35_10614.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":["1396284602","1396284610","1396284604","1396284613","1396284593","1396284606"],"photo_ids_order":["1396284593","1396284602","1396284604","1396284606","1396284610","1396284613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eea3b5cb1a531a29a0898b1f2f9327da.jpg","text":"TemporaryFile(/tmp/multipartBody5869105929502209735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182343599,"filename":"image_26112025_16_51_56_10823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6552d6f053ec09c2d837cf894d1442df.jpg","text":"TemporaryFile(/tmp/multipartBody4007903445852349327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182343599,"filename":"image_26112025_16_52_25_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/80ef0bae95752740380f6eaa80ebf69d.jpg","text":"TemporaryFile(/tmp/multipartBody76707609613131896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182343599,"filename":"image_26112025_16_52_05_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/262c6b84e917b3f33ba7690c7c16fcb4.jpg","text":"TemporaryFile(/tmp/multipartBody184175747924001822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182343599,"filename":"image_26112025_16_52_35_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/107b4433ef3f4f07fdcdce41c8ac5f38.jpg","text":"TemporaryFile(/tmp/multipartBody4925696981720647199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182343599,"filename":"image_26112025_16_51_45_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9da82922e1d14150a19463e23a037198.jpg","text":"TemporaryFile(/tmp/multipartBody8984788390086760900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182343599,"filename":"image_26112025_16_52_15_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396284604","file1":"1396284602","file0":"1396284593","file4":"1396284610","file5":"1396284613","file3":"1396284606"},"map_files_photo_id_array":[{"photo_id":"1396284613","filename":"file5"},{"photo_id":"1396284604","filename":"file2"},{"photo_id":"1396284610","filename":"file4"},{"photo_id":"1396284602","filename":"file1"},{"photo_id":"1396284593","filename":"file0"},{"photo_id":"1396284606","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396284602":["hashtag1","hashtag2"]},{"1396284610":["hashtag1","hashtag2"]},{"1396284604":["hashtag1","hashtag2"]},{"1396284613":["hashtag1","hashtag2"]},{"1396284593":["hashtag1","hashtag2"]},{"1396284606":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396284602, 1396284610, 1396284604, 1396284613, 1396284593, 1396284606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35342001914978 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 19:38:42.348681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/17/image_30102025_20_17_17_6762.jpg', '/home/pi/Desktop/images/30102025/20/17/image_30102025_20_17_22_1577.jpg', '/home/pi/Desktop/images/30102025/20/17/image_30102025_20_17_23_1596.jpg', '/home/pi/Desktop/images/30102025/20/17/image_30102025_20_17_30_1736.jpg', '/home/pi/Desktop/images/30102025/20/17/image_30102025_20_17_32_1618.jpg', '/home/pi/Desktop/images/30102025/20/17/image_30102025_20_17_37_3585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/17/image_30102025_20_17_17_6762.jpg
/home/pi/Desktop/images/30102025/20/17/image_30102025_20_17_22_1577.jpg
/home/pi/Desktop/images/30102025/20/17/image_30102025_20_17_23_1596.jpg
/home/pi/Desktop/images/30102025/20/17/image_30102025_20_17_30_1736.jpg
/home/pi/Desktop/images/30102025/20/17/image_30102025_20_17_32_1618.jpg
/home/pi/Desktop/images/30102025/20/17/image_30102025_20_17_37_3585.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":["1396284626","1396284629","1396284622","1396284625","1396284628","1396284627"],"photo_ids_order":["1396284622","1396284625","1396284626","1396284627","1396284628","1396284629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/18dabc5f8d15234851db71b01eeb066b.jpg","text":"TemporaryFile(/tmp/multipartBody626578707891511158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182383739,"filename":"image_30102025_20_17_23_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/183754f88c6b8ee4d77c620b52712ff6.jpg","text":"TemporaryFile(/tmp/multipartBody2451485727963933025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182383739,"filename":"image_30102025_20_17_37_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/26/86fa6b482b7f3fd4e043228bfed6d778.jpg","text":"TemporaryFile(/tmp/multipartBody8701762059316525568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182383739,"filename":"image_30102025_20_17_17_6762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/84fa4eb5262c4e5c8d45ba47bbfbe77a.jpg","text":"TemporaryFile(/tmp/multipartBody1319417743276475622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182383739,"filename":"image_30102025_20_17_22_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/26/16f266ac9690b9b73070627bca59d030.jpg","text":"TemporaryFile(/tmp/multipartBody2798139476751177999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182383739,"filename":"image_30102025_20_17_32_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/26/a58fd9458529f7c84a915daf01c42261.jpg","text":"TemporaryFile(/tmp/multipartBody4559116198625740796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182383739,"filename":"image_30102025_20_17_30_1736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396284626","file1":"1396284625","file0":"1396284622","file4":"1396284628","file5":"1396284629","file3":"1396284627"},"map_files_photo_id_array":[{"photo_id":"1396284629","filename":"file5"},{"photo_id":"1396284626","filename":"file2"},{"photo_id":"1396284628","filename":"file4"},{"photo_id":"1396284625","filename":"file1"},{"photo_id":"1396284622","filename":"file0"},{"photo_id":"1396284627","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396284626":["hashtag1","hashtag2"]},{"1396284629":["hashtag1","hashtag2"]},{"1396284622":["hashtag1","hashtag2"]},{"1396284625":["hashtag1","hashtag2"]},{"1396284628":["hashtag1","hashtag2"]},{"1396284627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396284626, 1396284629, 1396284622, 1396284625, 1396284628, 1396284627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04473042488098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 19:39:22.630207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/52/image_26112025_16_52_45_9646.jpg', '/home/pi/Desktop/images/26112025/16/52/image_26112025_16_52_55_9784.jpg', '/home/pi/Desktop/images/26112025/16/52/image_26112025_16_53_05_10649.jpg', '/home/pi/Desktop/images/26112025/16/53/image_26112025_16_53_15_9681.jpg', '/home/pi/Desktop/images/26112025/16/53/image_26112025_16_53_25_9599.jpg', '/home/pi/Desktop/images/26112025/16/53/image_26112025_16_53_35_10601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/52/image_26112025_16_52_45_9646.jpg
/home/pi/Desktop/images/26112025/16/52/image_26112025_16_52_55_9784.jpg
/home/pi/Desktop/images/26112025/16/52/image_26112025_16_53_05_10649.jpg
/home/pi/Desktop/images/26112025/16/53/image_26112025_16_53_15_9681.jpg
/home/pi/Desktop/images/26112025/16/53/image_26112025_16_53_25_9599.jpg
/home/pi/Desktop/images/26112025/16/53/image_26112025_16_53_35_10601.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":["1396284662","1396284656","1396284659","1396284650","1396284644","1396284653"],"photo_ids_order":["1396284644","1396284650","1396284653","1396284656","1396284659","1396284662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bee8586fa28bb2344f34f6a533b42867.jpg","text":"TemporaryFile(/tmp/multipartBody7390873954560043387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182423318,"filename":"image_26112025_16_53_35_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5ece9d1ef246d26158453a7e5ea34935.jpg","text":"TemporaryFile(/tmp/multipartBody8606715123608072533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182423318,"filename":"image_26112025_16_53_15_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/40ea7fc7fe39802b88b65dae6570b383.jpg","text":"TemporaryFile(/tmp/multipartBody2638297028246328464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182423318,"filename":"image_26112025_16_53_25_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/11b77958d9ad2cdb2a0618f4e51cfdba.jpg","text":"TemporaryFile(/tmp/multipartBody7279556020987477671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182423318,"filename":"image_26112025_16_52_55_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d6105266d56d78c9073b8e5134d820fc.jpg","text":"TemporaryFile(/tmp/multipartBody5613505753023899874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182423318,"filename":"image_26112025_16_52_45_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/effc3496295665b4ebea29d4a90b8010.jpg","text":"TemporaryFile(/tmp/multipartBody3561482150821957749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182423318,"filename":"image_26112025_16_53_05_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396284653","file1":"1396284650","file0":"1396284644","file4":"1396284659","file5":"1396284662","file3":"1396284656"},"map_files_photo_id_array":[{"photo_id":"1396284662","filename":"file5"},{"photo_id":"1396284653","filename":"file2"},{"photo_id":"1396284659","filename":"file4"},{"photo_id":"1396284650","filename":"file1"},{"photo_id":"1396284644","filename":"file0"},{"photo_id":"1396284656","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396284662":["hashtag1","hashtag2"]},{"1396284656":["hashtag1","hashtag2"]},{"1396284659":["hashtag1","hashtag2"]},{"1396284650":["hashtag1","hashtag2"]},{"1396284644":["hashtag1","hashtag2"]},{"1396284653":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396284662, 1396284656, 1396284659, 1396284650, 1396284644, 1396284653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25507664680481 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:40:03.282875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/53/image_26112025_16_53_45_9596.jpg', '/home/pi/Desktop/images/26112025/16/53/image_26112025_16_53_55_9871.jpg', '/home/pi/Desktop/images/26112025/16/53/image_26112025_16_54_05_10546.jpg', '/home/pi/Desktop/images/26112025/16/54/image_26112025_16_54_15_9603.jpg', '/home/pi/Desktop/images/26112025/16/54/image_26112025_16_54_25_10561.jpg', '/home/pi/Desktop/images/26112025/16/54/image_26112025_16_54_35_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/53/image_26112025_16_53_45_9596.jpg
/home/pi/Desktop/images/26112025/16/53/image_26112025_16_53_55_9871.jpg
/home/pi/Desktop/images/26112025/16/53/image_26112025_16_54_05_10546.jpg
/home/pi/Desktop/images/26112025/16/54/image_26112025_16_54_15_9603.jpg
/home/pi/Desktop/images/26112025/16/54/image_26112025_16_54_25_10561.jpg
/home/pi/Desktop/images/26112025/16/54/image_26112025_16_54_35_9632.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":["1396284671","1396284668","1396284679","1396284664","1396284666","1396284675"],"photo_ids_order":["1396284664","1396284666","1396284668","1396284671","1396284675","1396284679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/577e33856257071140645952e4fd7c29.jpg","text":"TemporaryFile(/tmp/multipartBody8785195775275053918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182463987,"filename":"image_26112025_16_54_15_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cea6ef8f52c47efa39d892697099a161.jpg","text":"TemporaryFile(/tmp/multipartBody4377683328499818285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182463987,"filename":"image_26112025_16_54_05_10546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ce00793028f3b04f9f3ee99a6aa7b61d.jpg","text":"TemporaryFile(/tmp/multipartBody6714437677819304254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182463987,"filename":"image_26112025_16_54_35_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d6b0e705a0ffdec81c57e53beb5dbe53.jpg","text":"TemporaryFile(/tmp/multipartBody6099187304832496207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182463987,"filename":"image_26112025_16_53_45_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f0fdecbd924f722d66ee0a2963084f55.jpg","text":"TemporaryFile(/tmp/multipartBody275044407833080113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182463987,"filename":"image_26112025_16_53_55_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4505a1632bae8b52778713855283ad01.jpg","text":"TemporaryFile(/tmp/multipartBody8566430784642573758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182463987,"filename":"image_26112025_16_54_25_10561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396284668","file1":"1396284666","file0":"1396284664","file4":"1396284675","file5":"1396284679","file3":"1396284671"},"map_files_photo_id_array":[{"photo_id":"1396284679","filename":"file5"},{"photo_id":"1396284668","filename":"file2"},{"photo_id":"1396284675","filename":"file4"},{"photo_id":"1396284666","filename":"file1"},{"photo_id":"1396284664","filename":"file0"},{"photo_id":"1396284671","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396284671":["hashtag1","hashtag2"]},{"1396284668":["hashtag1","hashtag2"]},{"1396284679":["hashtag1","hashtag2"]},{"1396284664":["hashtag1","hashtag2"]},{"1396284666":["hashtag1","hashtag2"]},{"1396284675":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396284671, 1396284668, 1396284679, 1396284664, 1396284666, 1396284675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56674885749817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 19:40:42.856152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/17/image_30102025_20_17_40_3474.jpg', '/home/pi/Desktop/images/30102025/20/17/image_30102025_20_17_52_3699.jpg', '/home/pi/Desktop/images/30102025/20/17/image_30102025_20_17_55_2839.jpg', '/home/pi/Desktop/images/30102025/20/17/image_30102025_20_17_58_2931.jpg', '/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_01_2866.jpg', '/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_03_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/17/image_30102025_20_17_40_3474.jpg
/home/pi/Desktop/images/30102025/20/17/image_30102025_20_17_52_3699.jpg
/home/pi/Desktop/images/30102025/20/17/image_30102025_20_17_55_2839.jpg
/home/pi/Desktop/images/30102025/20/17/image_30102025_20_17_58_2931.jpg
/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_01_2866.jpg
/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_03_2628.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":["1396284698","1396284713","1396284710","1396284704","1396284688","1396284714"],"photo_ids_order":["1396284688","1396284698","1396284704","1396284710","1396284713","1396284714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ce2354012504f3c63089e1b801c78b34.jpg","text":"TemporaryFile(/tmp/multipartBody6430810331320996229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182504326,"filename":"image_30102025_20_17_52_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/26/c5b6934130e918e0c301085ce87c60fd.jpg","text":"TemporaryFile(/tmp/multipartBody8794213854675811914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182504326,"filename":"image_30102025_20_18_01_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/26/a3b07463680883d0a00b302616996448.jpg","text":"TemporaryFile(/tmp/multipartBody636014232350194194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182504326,"filename":"image_30102025_20_17_58_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/26/31d9ff083bc146cfff62fd5e1376ffaf.jpg","text":"TemporaryFile(/tmp/multipartBody3131017903544115432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182504326,"filename":"image_30102025_20_17_55_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/26/57ce9cd2cd03ce8a8628fdb906fab0b1.jpg","text":"TemporaryFile(/tmp/multipartBody2277479480378239913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182504326,"filename":"image_30102025_20_17_40_3474.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5e0bd446f925ecb364b3cf9a6b5210c1.jpg","text":"TemporaryFile(/tmp/multipartBody698975756389019776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182504326,"filename":"image_30102025_20_18_03_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396284704","file1":"1396284698","file0":"1396284688","file4":"1396284713","file5":"1396284714","file3":"1396284710"},"map_files_photo_id_array":[{"photo_id":"1396284714","filename":"file5"},{"photo_id":"1396284704","filename":"file2"},{"photo_id":"1396284713","filename":"file4"},{"photo_id":"1396284698","filename":"file1"},{"photo_id":"1396284688","filename":"file0"},{"photo_id":"1396284710","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396284698":["hashtag1","hashtag2"]},{"1396284713":["hashtag1","hashtag2"]},{"1396284710":["hashtag1","hashtag2"]},{"1396284704":["hashtag1","hashtag2"]},{"1396284688":["hashtag1","hashtag2"]},{"1396284714":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396284698, 1396284713, 1396284710, 1396284704, 1396284688, 1396284714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.655823707580566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 19:41:22.040720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/54/image_26112025_16_54_45_9828.jpg', '/home/pi/Desktop/images/26112025/16/54/image_26112025_16_54_56_10615.jpg', '/home/pi/Desktop/images/26112025/16/55/image_26112025_16_55_14_10058.jpg', '/home/pi/Desktop/images/26112025/16/55/image_26112025_16_55_25_10917.jpg', '/home/pi/Desktop/images/26112025/16/55/image_26112025_16_55_34_9563.jpg', '/home/pi/Desktop/images/26112025/16/55/image_26112025_16_55_44_9992.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/54/image_26112025_16_54_45_9828.jpg
/home/pi/Desktop/images/26112025/16/54/image_26112025_16_54_56_10615.jpg
/home/pi/Desktop/images/26112025/16/55/image_26112025_16_55_14_10058.jpg
/home/pi/Desktop/images/26112025/16/55/image_26112025_16_55_25_10917.jpg
/home/pi/Desktop/images/26112025/16/55/image_26112025_16_55_34_9563.jpg
/home/pi/Desktop/images/26112025/16/55/image_26112025_16_55_44_9992.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":["1396284731","1396284734","1396284728","1396284736","1396284724","1396284720"],"photo_ids_order":["1396284720","1396284724","1396284728","1396284731","1396284734","1396284736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5af6259f2be53b1f3d45a62f49ef066c.jpg","text":"TemporaryFile(/tmp/multipartBody8665011029427160338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182542716,"filename":"image_26112025_16_55_25_10917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d08dae05a8f9e56484e9954e9e6f9aad.jpg","text":"TemporaryFile(/tmp/multipartBody5135238246470880626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182542716,"filename":"image_26112025_16_55_34_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/95e52dbbb54c091a0e432c0a89afc07e.jpg","text":"TemporaryFile(/tmp/multipartBody1031636000452585022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182542716,"filename":"image_26112025_16_55_14_10058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5a790ce9ee64a540dd8d20d2b420777d.jpg","text":"TemporaryFile(/tmp/multipartBody6846023563382193570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182542716,"filename":"image_26112025_16_55_44_9992.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/76c2e0f7770abcf1c53447fe861cd28c.jpg","text":"TemporaryFile(/tmp/multipartBody655391602725325342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182542716,"filename":"image_26112025_16_54_56_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/defdb44db1a417a00376d830eb0d741a.jpg","text":"TemporaryFile(/tmp/multipartBody3003239575644017705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182542716,"filename":"image_26112025_16_54_45_9828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396284728","file1":"1396284724","file0":"1396284720","file4":"1396284734","file5":"1396284736","file3":"1396284731"},"map_files_photo_id_array":[{"photo_id":"1396284736","filename":"file5"},{"photo_id":"1396284728","filename":"file2"},{"photo_id":"1396284734","filename":"file4"},{"photo_id":"1396284724","filename":"file1"},{"photo_id":"1396284720","filename":"file0"},{"photo_id":"1396284731","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396284731":["hashtag1","hashtag2"]},{"1396284734":["hashtag1","hashtag2"]},{"1396284728":["hashtag1","hashtag2"]},{"1396284736":["hashtag1","hashtag2"]},{"1396284724":["hashtag1","hashtag2"]},{"1396284720":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396284731, 1396284734, 1396284728, 1396284736, 1396284724, 1396284720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53417706489563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:42:02.703884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/55/image_26112025_16_55_54_9653.jpg', '/home/pi/Desktop/images/26112025/16/55/image_26112025_16_56_05_10763.jpg', '/home/pi/Desktop/images/26112025/16/56/image_26112025_16_56_15_9760.jpg', '/home/pi/Desktop/images/26112025/16/56/image_26112025_16_56_25_9878.jpg', '/home/pi/Desktop/images/26112025/16/56/image_26112025_16_56_34_9679.jpg', '/home/pi/Desktop/images/26112025/16/56/image_26112025_16_56_45_10586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/55/image_26112025_16_55_54_9653.jpg
/home/pi/Desktop/images/26112025/16/55/image_26112025_16_56_05_10763.jpg
/home/pi/Desktop/images/26112025/16/56/image_26112025_16_56_15_9760.jpg
/home/pi/Desktop/images/26112025/16/56/image_26112025_16_56_25_9878.jpg
/home/pi/Desktop/images/26112025/16/56/image_26112025_16_56_34_9679.jpg
/home/pi/Desktop/images/26112025/16/56/image_26112025_16_56_45_10586.jpg
 val : 1 : upload photos already in processing! 
 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":["1396284743","1396284748","1396284751","1396284745","1396284739","1396284741"],"photo_ids_order":["1396284739","1396284741","1396284743","1396284745","1396284748","1396284751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/234ed5b9933216721b7d3c9d2dbfb51c.jpg","text":"TemporaryFile(/tmp/multipartBody1602255315591356318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182586471,"filename":"image_26112025_16_56_15_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d8970458c0b8e5b9bbf32cac79ad7ad3.jpg","text":"TemporaryFile(/tmp/multipartBody468992832701310119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182586471,"filename":"image_26112025_16_56_34_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/77f7f6ba899e6fb4d18ab8e9056bb7fc.jpg","text":"TemporaryFile(/tmp/multipartBody8005105967542301984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182586471,"filename":"image_26112025_16_56_45_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ce5cd4dcdd340891f40993aa6998fd03.jpg","text":"TemporaryFile(/tmp/multipartBody7925774557619373105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182586471,"filename":"image_26112025_16_56_25_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c90589a815d5032676b3fc145d2feaa9.jpg","text":"TemporaryFile(/tmp/multipartBody4825056906624972335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182586471,"filename":"image_26112025_16_55_54_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4f4c4abc1b7879099a972b04faea3e01.jpg","text":"TemporaryFile(/tmp/multipartBody9187244695856210387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182586471,"filename":"image_26112025_16_56_05_10763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396284743","file1":"1396284741","file0":"1396284739","file4":"1396284748","file5":"1396284751","file3":"1396284745"},"map_files_photo_id_array":[{"photo_id":"1396284751","filename":"file5"},{"photo_id":"1396284743","filename":"file2"},{"photo_id":"1396284748","filename":"file4"},{"photo_id":"1396284741","filename":"file1"},{"photo_id":"1396284739","filename":"file0"},{"photo_id":"1396284745","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396284743":["hashtag1","hashtag2"]},{"1396284748":["hashtag1","hashtag2"]},{"1396284751":["hashtag1","hashtag2"]},{"1396284745":["hashtag1","hashtag2"]},{"1396284739":["hashtag1","hashtag2"]},{"1396284741":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396284743, 1396284748, 1396284751, 1396284745, 1396284739, 1396284741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.42004346847534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:43:02.986378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/56/image_26112025_16_56_54_9555.jpg', '/home/pi/Desktop/images/26112025/16/56/image_26112025_16_57_04_9692.jpg', '/home/pi/Desktop/images/26112025/16/57/image_26112025_16_57_15_10752.jpg', '/home/pi/Desktop/images/26112025/16/57/image_26112025_16_57_24_9658.jpg', '/home/pi/Desktop/images/26112025/16/57/image_26112025_16_57_34_9676.jpg', '/home/pi/Desktop/images/26112025/16/57/image_26112025_16_57_45_10591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/56/image_26112025_16_56_54_9555.jpg
/home/pi/Desktop/images/26112025/16/56/image_26112025_16_57_04_9692.jpg
/home/pi/Desktop/images/26112025/16/57/image_26112025_16_57_15_10752.jpg
/home/pi/Desktop/images/26112025/16/57/image_26112025_16_57_24_9658.jpg
/home/pi/Desktop/images/26112025/16/57/image_26112025_16_57_34_9676.jpg
/home/pi/Desktop/images/26112025/16/57/image_26112025_16_57_45_10591.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":["1396284799","1396284802","1396284783","1396284768","1396284807","1396284794"],"photo_ids_order":["1396284768","1396284783","1396284794","1396284799","1396284802","1396284807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5af25705d773fb16d98f9495b9b9e16e.jpg","text":"TemporaryFile(/tmp/multipartBody964106822942813655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182643751,"filename":"image_26112025_16_57_24_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/795691ea1d8b2af69fad414dc1be9da9.jpg","text":"TemporaryFile(/tmp/multipartBody2435309830543135570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182643751,"filename":"image_26112025_16_57_34_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fe02873b180b9060b1176c3b400931ff.jpg","text":"TemporaryFile(/tmp/multipartBody801248985666902241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182643751,"filename":"image_26112025_16_57_04_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aa46531167286cfd88df8f9369792b85.jpg","text":"TemporaryFile(/tmp/multipartBody9201779642701718069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182643751,"filename":"image_26112025_16_56_54_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1372442b11566976f33980cecca1cfc2.jpg","text":"TemporaryFile(/tmp/multipartBody4747372296469946637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182643751,"filename":"image_26112025_16_57_45_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a56c6a065fafe5379fa12e3df3f53ab8.jpg","text":"TemporaryFile(/tmp/multipartBody8766446173738490712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182643751,"filename":"image_26112025_16_57_15_10752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396284794","file1":"1396284783","file0":"1396284768","file4":"1396284802","file5":"1396284807","file3":"1396284799"},"map_files_photo_id_array":[{"photo_id":"1396284807","filename":"file5"},{"photo_id":"1396284794","filename":"file2"},{"photo_id":"1396284802","filename":"file4"},{"photo_id":"1396284783","filename":"file1"},{"photo_id":"1396284768","filename":"file0"},{"photo_id":"1396284799","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396284799":["hashtag1","hashtag2"]},{"1396284802":["hashtag1","hashtag2"]},{"1396284783":["hashtag1","hashtag2"]},{"1396284768":["hashtag1","hashtag2"]},{"1396284807":["hashtag1","hashtag2"]},{"1396284794":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396284799, 1396284802, 1396284783, 1396284768, 1396284807, 1396284794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52027773857117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 19:43:42.336997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_07_3672.jpg', '/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_10_3142.jpg', '/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_19_8799.jpg', '/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_25_4272.jpg', '/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_28_1524.jpg', '/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_30_1740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_07_3672.jpg
/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_10_3142.jpg
/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_19_8799.jpg
/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_25_4272.jpg
/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_28_1524.jpg
/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_30_1740.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":["1396284851","1396284853","1396284838","1396284852","1396284831","1396284834"],"photo_ids_order":["1396284831","1396284834","1396284838","1396284851","1396284852","1396284853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b4e8cf3b9234df2ccfdc43de5844dd34.jpg","text":"TemporaryFile(/tmp/multipartBody6435694108529739474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182683812,"filename":"image_30102025_20_18_25_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/26/726d4082c33b40f02345979bb8c278bf.jpg","text":"TemporaryFile(/tmp/multipartBody345165635651159743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182683812,"filename":"image_30102025_20_18_30_1740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6ad341fa3231658a11344ed83084471e.jpg","text":"TemporaryFile(/tmp/multipartBody9101810562290330520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182683812,"filename":"image_30102025_20_18_19_8799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cdd5f8e14480fe1aa70ca26f7138d651.jpg","text":"TemporaryFile(/tmp/multipartBody5287691085305282124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182683812,"filename":"image_30102025_20_18_28_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/26/9d335ae67aa67e773c29e14d5ed1135f.jpg","text":"TemporaryFile(/tmp/multipartBody4304959077213554386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182683812,"filename":"image_30102025_20_18_07_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/67ee90a92833783bb2bb0f0d0724c4db.jpg","text":"TemporaryFile(/tmp/multipartBody7043489801703680547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182683812,"filename":"image_30102025_20_18_10_3142.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396284838","file1":"1396284834","file0":"1396284831","file4":"1396284852","file5":"1396284853","file3":"1396284851"},"map_files_photo_id_array":[{"photo_id":"1396284853","filename":"file5"},{"photo_id":"1396284838","filename":"file2"},{"photo_id":"1396284852","filename":"file4"},{"photo_id":"1396284834","filename":"file1"},{"photo_id":"1396284831","filename":"file0"},{"photo_id":"1396284851","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396284851":["hashtag1","hashtag2"]},{"1396284853":["hashtag1","hashtag2"]},{"1396284838":["hashtag1","hashtag2"]},{"1396284852":["hashtag1","hashtag2"]},{"1396284831":["hashtag1","hashtag2"]},{"1396284834":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396284851, 1396284853, 1396284838, 1396284852, 1396284831, 1396284834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19305634498596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 19:44:22.509324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/57/image_26112025_16_57_54_9664.jpg', '/home/pi/Desktop/images/26112025/16/57/image_26112025_16_58_04_9795.jpg', '/home/pi/Desktop/images/26112025/16/58/image_26112025_16_58_15_10720.jpg', '/home/pi/Desktop/images/26112025/16/58/image_26112025_16_58_25_9623.jpg', '/home/pi/Desktop/images/26112025/16/58/image_26112025_16_58_34_9772.jpg', '/home/pi/Desktop/images/26112025/16/58/image_26112025_16_58_44_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/57/image_26112025_16_57_54_9664.jpg
/home/pi/Desktop/images/26112025/16/57/image_26112025_16_58_04_9795.jpg
/home/pi/Desktop/images/26112025/16/58/image_26112025_16_58_15_10720.jpg
/home/pi/Desktop/images/26112025/16/58/image_26112025_16_58_25_9623.jpg
/home/pi/Desktop/images/26112025/16/58/image_26112025_16_58_34_9772.jpg
/home/pi/Desktop/images/26112025/16/58/image_26112025_16_58_44_9720.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":["1396284866","1396284876","1396284861","1396284879","1396284870","1396284873"],"photo_ids_order":["1396284861","1396284866","1396284870","1396284873","1396284876","1396284879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/554207c6dcf9310457349c42b770c51d.jpg","text":"TemporaryFile(/tmp/multipartBody4924931152033982773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182723246,"filename":"image_26112025_16_58_04_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/de2f65618630fd9eabcb8138dc60843f.jpg","text":"TemporaryFile(/tmp/multipartBody8385013341419089972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182723246,"filename":"image_26112025_16_58_34_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/feb934b1fd749f8a528fdea570473d5a.jpg","text":"TemporaryFile(/tmp/multipartBody6142989268029669438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182723246,"filename":"image_26112025_16_57_54_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5182d6cac117eb89262162d963308786.jpg","text":"TemporaryFile(/tmp/multipartBody5098782454505352972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182723246,"filename":"image_26112025_16_58_44_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/761779cd3ed651fd7fde55f4728e01cd.jpg","text":"TemporaryFile(/tmp/multipartBody6772822998344656272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182723246,"filename":"image_26112025_16_58_15_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ab60fa0a5fd4b96b0fff86ca0435eb0a.jpg","text":"TemporaryFile(/tmp/multipartBody743902532000658534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182723246,"filename":"image_26112025_16_58_25_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396284870","file1":"1396284866","file0":"1396284861","file4":"1396284876","file5":"1396284879","file3":"1396284873"},"map_files_photo_id_array":[{"photo_id":"1396284879","filename":"file5"},{"photo_id":"1396284870","filename":"file2"},{"photo_id":"1396284876","filename":"file4"},{"photo_id":"1396284866","filename":"file1"},{"photo_id":"1396284861","filename":"file0"},{"photo_id":"1396284873","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396284866":["hashtag1","hashtag2"]},{"1396284876":["hashtag1","hashtag2"]},{"1396284861":["hashtag1","hashtag2"]},{"1396284879":["hashtag1","hashtag2"]},{"1396284870":["hashtag1","hashtag2"]},{"1396284873":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396284866, 1396284876, 1396284861, 1396284879, 1396284870, 1396284873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58836579322815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:45:03.287083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/58/image_26112025_16_58_55_10619.jpg', '/home/pi/Desktop/images/26112025/16/58/image_26112025_16_59_04_9637.jpg', '/home/pi/Desktop/images/26112025/16/59/image_26112025_16_59_15_10627.jpg', '/home/pi/Desktop/images/26112025/16/59/image_26112025_16_59_25_9724.jpg', '/home/pi/Desktop/images/26112025/16/59/image_26112025_16_59_34_9576.jpg', '/home/pi/Desktop/images/26112025/16/59/image_26112025_16_59_45_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/58/image_26112025_16_58_55_10619.jpg
/home/pi/Desktop/images/26112025/16/58/image_26112025_16_59_04_9637.jpg
/home/pi/Desktop/images/26112025/16/59/image_26112025_16_59_15_10627.jpg
/home/pi/Desktop/images/26112025/16/59/image_26112025_16_59_25_9724.jpg
/home/pi/Desktop/images/26112025/16/59/image_26112025_16_59_34_9576.jpg
/home/pi/Desktop/images/26112025/16/59/image_26112025_16_59_45_10647.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":["1396284881","1396284914","1396284886","1396284891","1396284909","1396284893"],"photo_ids_order":["1396284881","1396284886","1396284891","1396284893","1396284909","1396284914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ba8412de4277e5945373ad0d8e9dacd1.jpg","text":"TemporaryFile(/tmp/multipartBody1944809821166977665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182764089,"filename":"image_26112025_16_58_55_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/54413859c59f045de1762dc6787da593.jpg","text":"TemporaryFile(/tmp/multipartBody8550804601763262714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182764089,"filename":"image_26112025_16_59_45_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5ccfecda636d9c8cdb6add9d62794e82.jpg","text":"TemporaryFile(/tmp/multipartBody5199317296358427946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182764089,"filename":"image_26112025_16_59_04_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0f54347aacbf9903fa05b034d4c90f3f.jpg","text":"TemporaryFile(/tmp/multipartBody1632972984457412025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182764089,"filename":"image_26112025_16_59_15_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ce009212dac987bf7217f253b3c7cf57.jpg","text":"TemporaryFile(/tmp/multipartBody4987965159326017838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182764089,"filename":"image_26112025_16_59_34_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/85596acf80cad4130c3fb16ae04f68d0.jpg","text":"TemporaryFile(/tmp/multipartBody4132160615928261630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182764089,"filename":"image_26112025_16_59_25_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396284891","file1":"1396284886","file0":"1396284881","file4":"1396284909","file5":"1396284914","file3":"1396284893"},"map_files_photo_id_array":[{"photo_id":"1396284914","filename":"file5"},{"photo_id":"1396284891","filename":"file2"},{"photo_id":"1396284909","filename":"file4"},{"photo_id":"1396284886","filename":"file1"},{"photo_id":"1396284881","filename":"file0"},{"photo_id":"1396284893","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396284881":["hashtag1","hashtag2"]},{"1396284914":["hashtag1","hashtag2"]},{"1396284886":["hashtag1","hashtag2"]},{"1396284891":["hashtag1","hashtag2"]},{"1396284909":["hashtag1","hashtag2"]},{"1396284893":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396284881, 1396284914, 1396284886, 1396284891, 1396284909, 1396284893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41505765914917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 19:45:42.641527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_36_4450.jpg', '/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_37_1572.jpg', '/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_39_1735.jpg', '/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_43_3657.jpg', '/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_52_3607.jpg', '/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_55_2996.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_36_4450.jpg
/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_37_1572.jpg
/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_39_1735.jpg
/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_43_3657.jpg
/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_52_3607.jpg
/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_55_2996.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":["1396284928","1396284922","1396284925","1396284930","1396284924","1396284927"],"photo_ids_order":["1396284922","1396284924","1396284925","1396284927","1396284928","1396284930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/283041aa4e59af8225ebdfe006ba978b.jpg","text":"TemporaryFile(/tmp/multipartBody6963037189388558858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182804103,"filename":"image_30102025_20_18_52_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/26/d44f5562dfb8e961feb56378919a2316.jpg","text":"TemporaryFile(/tmp/multipartBody2073599811207737310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182804103,"filename":"image_30102025_20_18_36_4450.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a5b7d347a66fc1fcf93d547d301cc187.jpg","text":"TemporaryFile(/tmp/multipartBody4726439277698587715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182804103,"filename":"image_30102025_20_18_39_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a6629c791b78662e72b556786f13572d.jpg","text":"TemporaryFile(/tmp/multipartBody3637649109654079374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182804103,"filename":"image_30102025_20_18_55_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/26/36c2b184a1eeabb41618fdef020d1dd1.jpg","text":"TemporaryFile(/tmp/multipartBody928182796984776147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182804103,"filename":"image_30102025_20_18_37_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/26/7a109d6dcddc40c45a941f8f2533afc8.jpg","text":"TemporaryFile(/tmp/multipartBody968010469639386660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182804103,"filename":"image_30102025_20_18_43_3657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396284925","file1":"1396284924","file0":"1396284922","file4":"1396284928","file5":"1396284930","file3":"1396284927"},"map_files_photo_id_array":[{"photo_id":"1396284930","filename":"file5"},{"photo_id":"1396284925","filename":"file2"},{"photo_id":"1396284928","filename":"file4"},{"photo_id":"1396284924","filename":"file1"},{"photo_id":"1396284922","filename":"file0"},{"photo_id":"1396284927","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396284928":["hashtag1","hashtag2"]},{"1396284922":["hashtag1","hashtag2"]},{"1396284925":["hashtag1","hashtag2"]},{"1396284930":["hashtag1","hashtag2"]},{"1396284924":["hashtag1","hashtag2"]},{"1396284927":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396284928, 1396284922, 1396284925, 1396284930, 1396284924, 1396284927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69897532463074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 19:46:22.866035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/16/59/image_26112025_16_59_54_9573.jpg', '/home/pi/Desktop/images/26112025/17/00/image_26112025_17_00_15_10060.jpg', '/home/pi/Desktop/images/26112025/17/00/image_26112025_17_00_26_10671.jpg', '/home/pi/Desktop/images/26112025/17/00/image_26112025_17_00_35_9597.jpg', '/home/pi/Desktop/images/26112025/17/00/image_26112025_17_00_45_9677.jpg', '/home/pi/Desktop/images/26112025/17/00/image_26112025_17_00_56_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/16/59/image_26112025_16_59_54_9573.jpg
/home/pi/Desktop/images/26112025/17/00/image_26112025_17_00_15_10060.jpg
/home/pi/Desktop/images/26112025/17/00/image_26112025_17_00_26_10671.jpg
/home/pi/Desktop/images/26112025/17/00/image_26112025_17_00_35_9597.jpg
/home/pi/Desktop/images/26112025/17/00/image_26112025_17_00_45_9677.jpg
/home/pi/Desktop/images/26112025/17/00/image_26112025_17_00_56_10691.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":["1396284952","1396284946","1396284940","1396284943","1396284937","1396284960"],"photo_ids_order":["1396284937","1396284940","1396284943","1396284946","1396284952","1396284960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eb967c79a495090051bc2e0c6dcb4653.jpg","text":"TemporaryFile(/tmp/multipartBody4893115578016739842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182843545,"filename":"image_26112025_17_00_45_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3c8b0bc9b464831819f377ee2e9a0bdb.jpg","text":"TemporaryFile(/tmp/multipartBody1582139190637498785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182843545,"filename":"image_26112025_17_00_35_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2756ae0545bdc355e5b278447124243b.jpg","text":"TemporaryFile(/tmp/multipartBody777649122538826663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182843545,"filename":"image_26112025_17_00_15_10060.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/65223ca51596281e134aaabcc93452dd.jpg","text":"TemporaryFile(/tmp/multipartBody6403251237087514494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182843545,"filename":"image_26112025_17_00_26_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0c8ff62cf29ae840ae0771c142466972.jpg","text":"TemporaryFile(/tmp/multipartBody3797542814260822787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182843545,"filename":"image_26112025_16_59_54_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7be17629e77e14d73172973720c86b06.jpg","text":"TemporaryFile(/tmp/multipartBody4470020056632193717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182843545,"filename":"image_26112025_17_00_56_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396284943","file1":"1396284940","file0":"1396284937","file4":"1396284952","file5":"1396284960","file3":"1396284946"},"map_files_photo_id_array":[{"photo_id":"1396284960","filename":"file5"},{"photo_id":"1396284943","filename":"file2"},{"photo_id":"1396284952","filename":"file4"},{"photo_id":"1396284940","filename":"file1"},{"photo_id":"1396284937","filename":"file0"},{"photo_id":"1396284946","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396284952":["hashtag1","hashtag2"]},{"1396284946":["hashtag1","hashtag2"]},{"1396284940":["hashtag1","hashtag2"]},{"1396284943":["hashtag1","hashtag2"]},{"1396284937":["hashtag1","hashtag2"]},{"1396284960":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396284952, 1396284946, 1396284940, 1396284943, 1396284937, 1396284960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40674424171448 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 --only_old 1
2025-11-26 19:47:11.916111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/14/image_20112025_23_14_18_3649.jpg', '/home/pi/Desktop/images/20112025/23/14/image_20112025_23_14_21_2629.jpg', '/home/pi/Desktop/images/20112025/23/14/image_20112025_23_14_24_2637.jpg', '/home/pi/Desktop/images/20112025/23/14/image_20112025_23_14_27_3238.jpg', '/home/pi/Desktop/images/20112025/23/14/image_20112025_23_14_36_2581.jpg', '/home/pi/Desktop/images/20112025/23/14/image_20112025_23_14_39_2998.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/14/image_20112025_23_14_18_3649.jpg
/home/pi/Desktop/images/20112025/23/14/image_20112025_23_14_21_2629.jpg
/home/pi/Desktop/images/20112025/23/14/image_20112025_23_14_24_2637.jpg
/home/pi/Desktop/images/20112025/23/14/image_20112025_23_14_27_3238.jpg
/home/pi/Desktop/images/20112025/23/14/image_20112025_23_14_36_2581.jpg
/home/pi/Desktop/images/20112025/23/14/image_20112025_23_14_39_2998.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":["1396284994","1396284982","1396284976","1396284991","1396284987","1396284978"],"photo_ids_order":["1396284976","1396284978","1396284982","1396284987","1396284991","1396284994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f64bac7534b8f2e98f81d7f9af3095a5.jpg","text":"TemporaryFile(/tmp/multipartBody8684909769487500920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182893765,"filename":"image_20112025_23_14_39_2998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0c59086290497213c13e11d392b63147.jpg","text":"TemporaryFile(/tmp/multipartBody782877104966916387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182893765,"filename":"image_20112025_23_14_24_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/26/5f3a841c360ba03e42cd8a1c4463598f.jpg","text":"TemporaryFile(/tmp/multipartBody5460402607259062793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182893765,"filename":"image_20112025_23_14_18_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/26/8891960bce5a6ac09dbf8a1ba32041e8.jpg","text":"TemporaryFile(/tmp/multipartBody3392453117692152932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182893765,"filename":"image_20112025_23_14_36_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/26/f5cc1c4825c70f50be01071c007a2e4c.jpg","text":"TemporaryFile(/tmp/multipartBody7980449376251509973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182893765,"filename":"image_20112025_23_14_27_3238.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ed6b0d65a20f7b0e3ec8df846ca8ac1e.jpg","text":"TemporaryFile(/tmp/multipartBody8904174652364255700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182893765,"filename":"image_20112025_23_14_21_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396284982","file1":"1396284978","file0":"1396284976","file4":"1396284991","file5":"1396284994","file3":"1396284987"},"map_files_photo_id_array":[{"photo_id":"1396284994","filename":"file5"},{"photo_id":"1396284982","filename":"file2"},{"photo_id":"1396284991","filename":"file4"},{"photo_id":"1396284978","filename":"file1"},{"photo_id":"1396284976","filename":"file0"},{"photo_id":"1396284987","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396284994":["hashtag1","hashtag2"]},{"1396284982":["hashtag1","hashtag2"]},{"1396284976":["hashtag1","hashtag2"]},{"1396284991":["hashtag1","hashtag2"]},{"1396284987":["hashtag1","hashtag2"]},{"1396284978":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396284994, 1396284982, 1396284976, 1396284991, 1396284987, 1396284978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.72426986694336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:48:02.995162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/00/image_26112025_17_01_05_9714.jpg', '/home/pi/Desktop/images/26112025/17/01/image_26112025_17_01_15_9875.jpg', '/home/pi/Desktop/images/26112025/17/01/image_26112025_17_01_26_10641.jpg', '/home/pi/Desktop/images/26112025/17/01/image_26112025_17_01_35_9608.jpg', '/home/pi/Desktop/images/26112025/17/01/image_26112025_17_01_45_9776.jpg', '/home/pi/Desktop/images/26112025/17/01/image_26112025_17_01_55_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/00/image_26112025_17_01_05_9714.jpg
/home/pi/Desktop/images/26112025/17/01/image_26112025_17_01_15_9875.jpg
/home/pi/Desktop/images/26112025/17/01/image_26112025_17_01_26_10641.jpg
/home/pi/Desktop/images/26112025/17/01/image_26112025_17_01_35_9608.jpg
/home/pi/Desktop/images/26112025/17/01/image_26112025_17_01_45_9776.jpg
/home/pi/Desktop/images/26112025/17/01/image_26112025_17_01_55_9751.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":["1396285001","1396285024","1396285003","1396285005","1396284999","1396285008"],"photo_ids_order":["1396284999","1396285001","1396285003","1396285005","1396285008","1396285024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/19b34e3927172318a31892902d14c260.jpg","text":"TemporaryFile(/tmp/multipartBody448243503808002897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182943713,"filename":"image_26112025_17_01_15_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/812e6de0d0b735de9c1c1f18bd4611dd.jpg","text":"TemporaryFile(/tmp/multipartBody8415980141415488914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182943713,"filename":"image_26112025_17_01_55_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8b27f07480b7d30a9e422080c0945bea.jpg","text":"TemporaryFile(/tmp/multipartBody4296095891409551314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182943713,"filename":"image_26112025_17_01_26_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b73ea4881057173d8ef5f148751de847.jpg","text":"TemporaryFile(/tmp/multipartBody1618432499680881163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182943713,"filename":"image_26112025_17_01_35_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2118daf421cd5201b4ced2342d9cba29.jpg","text":"TemporaryFile(/tmp/multipartBody4298436643571334776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182943713,"filename":"image_26112025_17_01_05_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/63c0ffb9bc281ca2f5543bb4a200edfb.jpg","text":"TemporaryFile(/tmp/multipartBody7299218104762402597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182943713,"filename":"image_26112025_17_01_45_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396285003","file1":"1396285001","file0":"1396284999","file4":"1396285008","file5":"1396285024","file3":"1396285005"},"map_files_photo_id_array":[{"photo_id":"1396285024","filename":"file5"},{"photo_id":"1396285003","filename":"file2"},{"photo_id":"1396285008","filename":"file4"},{"photo_id":"1396285001","filename":"file1"},{"photo_id":"1396284999","filename":"file0"},{"photo_id":"1396285005","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396285001":["hashtag1","hashtag2"]},{"1396285024":["hashtag1","hashtag2"]},{"1396285003":["hashtag1","hashtag2"]},{"1396285005":["hashtag1","hashtag2"]},{"1396284999":["hashtag1","hashtag2"]},{"1396285008":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396285001, 1396285024, 1396285003, 1396285005, 1396284999, 1396285008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69338417053223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 19:48:42.518020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_57_2603.jpg', '/home/pi/Desktop/images/30102025/20/18/image_30102025_20_19_00_2783.jpg', '/home/pi/Desktop/images/30102025/20/19/image_30102025_20_19_03_2703.jpg', '/home/pi/Desktop/images/30102025/20/19/image_30102025_20_19_07_3574.jpg', '/home/pi/Desktop/images/30102025/20/19/image_30102025_20_19_16_2715.jpg', '/home/pi/Desktop/images/30102025/20/19/image_30102025_20_19_18_2727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/18/image_30102025_20_18_57_2603.jpg
/home/pi/Desktop/images/30102025/20/18/image_30102025_20_19_00_2783.jpg
/home/pi/Desktop/images/30102025/20/19/image_30102025_20_19_03_2703.jpg
/home/pi/Desktop/images/30102025/20/19/image_30102025_20_19_07_3574.jpg
/home/pi/Desktop/images/30102025/20/19/image_30102025_20_19_16_2715.jpg
/home/pi/Desktop/images/30102025/20/19/image_30102025_20_19_18_2727.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":["1396285072","1396285135","1396285102","1396285077","1396285170","1396285076"],"photo_ids_order":["1396285072","1396285076","1396285077","1396285102","1396285135","1396285170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6f78638c6049cd61aad5d25abd49face.jpg","text":"TemporaryFile(/tmp/multipartBody8202144819015664167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182983978,"filename":"image_30102025_20_18_57_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/26/afb514041ef7c0347a61d8f48184a68f.jpg","text":"TemporaryFile(/tmp/multipartBody3412085869783761877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182983978,"filename":"image_30102025_20_19_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/26/f30da3231f533e2ae76bd73ba0eabb97.jpg","text":"TemporaryFile(/tmp/multipartBody5432453784363559502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182983978,"filename":"image_30102025_20_19_07_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/26/2ac00f7f7bd437d412ccc11b740d37e6.jpg","text":"TemporaryFile(/tmp/multipartBody805641585292931172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182983978,"filename":"image_30102025_20_19_03_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/26/49cdf392ec57a4b48c0d97e07d795ed5.jpg","text":"TemporaryFile(/tmp/multipartBody293557881352421419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182983978,"filename":"image_30102025_20_19_18_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/26/8fba7751cb64bba1ec94c1ba4784a9bd.jpg","text":"TemporaryFile(/tmp/multipartBody6640682911709520167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764182983978,"filename":"image_30102025_20_19_00_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396285077","file1":"1396285076","file0":"1396285072","file4":"1396285135","file5":"1396285170","file3":"1396285102"},"map_files_photo_id_array":[{"photo_id":"1396285170","filename":"file5"},{"photo_id":"1396285077","filename":"file2"},{"photo_id":"1396285135","filename":"file4"},{"photo_id":"1396285076","filename":"file1"},{"photo_id":"1396285072","filename":"file0"},{"photo_id":"1396285102","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396285072":["hashtag1","hashtag2"]},{"1396285135":["hashtag1","hashtag2"]},{"1396285102":["hashtag1","hashtag2"]},{"1396285077":["hashtag1","hashtag2"]},{"1396285170":["hashtag1","hashtag2"]},{"1396285076":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396285072, 1396285135, 1396285102, 1396285077, 1396285170, 1396285076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06574511528015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 19:49:22.685383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/01/image_26112025_17_02_06_10830.jpg', '/home/pi/Desktop/images/26112025/17/02/image_26112025_17_02_15_9605.jpg', '/home/pi/Desktop/images/26112025/17/02/image_26112025_17_02_25_9852.jpg', '/home/pi/Desktop/images/26112025/17/02/image_26112025_17_02_35_9691.jpg', '/home/pi/Desktop/images/26112025/17/02/image_26112025_17_02_45_10554.jpg', '/home/pi/Desktop/images/26112025/17/02/image_26112025_17_02_55_9535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/01/image_26112025_17_02_06_10830.jpg
/home/pi/Desktop/images/26112025/17/02/image_26112025_17_02_15_9605.jpg
/home/pi/Desktop/images/26112025/17/02/image_26112025_17_02_25_9852.jpg
/home/pi/Desktop/images/26112025/17/02/image_26112025_17_02_35_9691.jpg
/home/pi/Desktop/images/26112025/17/02/image_26112025_17_02_45_10554.jpg
/home/pi/Desktop/images/26112025/17/02/image_26112025_17_02_55_9535.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":["1396285219","1396285213","1396285222","1396285216","1396285210","1396285206"],"photo_ids_order":["1396285206","1396285210","1396285213","1396285216","1396285219","1396285222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1b78d7300cc469b50df8cef1d1468236.jpg","text":"TemporaryFile(/tmp/multipartBody7349174757310204732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183023374,"filename":"image_26112025_17_02_45_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5d23f5264c661d48c1b728d021ac6d9d.jpg","text":"TemporaryFile(/tmp/multipartBody231321619942863904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183023374,"filename":"image_26112025_17_02_25_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/821148b355a726fcf75d894cf81c85c3.jpg","text":"TemporaryFile(/tmp/multipartBody973072426941329816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183023374,"filename":"image_26112025_17_02_55_9535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f2935eff30c8bef9df0c5c1a05c4eb88.jpg","text":"TemporaryFile(/tmp/multipartBody6098065735474450238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183023374,"filename":"image_26112025_17_02_35_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2aad35918f8ed9c1a50c3cd5b6adaf0f.jpg","text":"TemporaryFile(/tmp/multipartBody2310135725565231398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183023374,"filename":"image_26112025_17_02_15_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3384be97304f93f9adce848ac0d44c20.jpg","text":"TemporaryFile(/tmp/multipartBody4511021858688315448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183023374,"filename":"image_26112025_17_02_06_10830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396285213","file1":"1396285210","file0":"1396285206","file4":"1396285219","file5":"1396285222","file3":"1396285216"},"map_files_photo_id_array":[{"photo_id":"1396285222","filename":"file5"},{"photo_id":"1396285213","filename":"file2"},{"photo_id":"1396285219","filename":"file4"},{"photo_id":"1396285210","filename":"file1"},{"photo_id":"1396285206","filename":"file0"},{"photo_id":"1396285216","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396285219":["hashtag1","hashtag2"]},{"1396285213":["hashtag1","hashtag2"]},{"1396285222":["hashtag1","hashtag2"]},{"1396285216":["hashtag1","hashtag2"]},{"1396285210":["hashtag1","hashtag2"]},{"1396285206":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396285219, 1396285213, 1396285222, 1396285216, 1396285210, 1396285206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14483976364136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 19:50:11.819933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/14/image_20112025_23_14_45_3706.jpg', '/home/pi/Desktop/images/20112025/23/14/image_20112025_23_14_48_2747.jpg', '/home/pi/Desktop/images/20112025/23/14/image_20112025_23_14_51_2722.jpg', '/home/pi/Desktop/images/20112025/23/14/image_20112025_23_14_53_2632.jpg', '/home/pi/Desktop/images/20112025/23/14/image_20112025_23_14_57_3621.jpg', '/home/pi/Desktop/images/20112025/23/15/image_20112025_23_15_09_2816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/14/image_20112025_23_14_45_3706.jpg
/home/pi/Desktop/images/20112025/23/14/image_20112025_23_14_48_2747.jpg
/home/pi/Desktop/images/20112025/23/14/image_20112025_23_14_51_2722.jpg
/home/pi/Desktop/images/20112025/23/14/image_20112025_23_14_53_2632.jpg
/home/pi/Desktop/images/20112025/23/14/image_20112025_23_14_57_3621.jpg
/home/pi/Desktop/images/20112025/23/15/image_20112025_23_15_09_2816.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":["1396285564","1396285537","1396285560","1396285503","1396285556","1396285544"],"photo_ids_order":["1396285503","1396285537","1396285544","1396285556","1396285560","1396285564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e7117e0f977d6ea3fdcf04379df716f8.jpg","text":"TemporaryFile(/tmp/multipartBody7178850300677726241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183073668,"filename":"image_20112025_23_15_09_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/26/f14a55618429034e9e7d38e0281c5d16.jpg","text":"TemporaryFile(/tmp/multipartBody7524403626453187450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183073668,"filename":"image_20112025_23_14_48_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/26/0f3e3c5f71866a9e707cfcc9551f2fe3.jpg","text":"TemporaryFile(/tmp/multipartBody8252474304490526554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183073668,"filename":"image_20112025_23_14_57_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/26/bae0c96680ad5b7850d3340fef48431e.jpg","text":"TemporaryFile(/tmp/multipartBody7490503622497042417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183073668,"filename":"image_20112025_23_14_45_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/26/3fa90daaa331b53514b3afbaebd24fc5.jpg","text":"TemporaryFile(/tmp/multipartBody1793291438630363481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183073668,"filename":"image_20112025_23_14_53_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/26/1ab57c44dba0e08e180778c27be1d8a9.jpg","text":"TemporaryFile(/tmp/multipartBody2992372982605151360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183073668,"filename":"image_20112025_23_14_51_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396285544","file1":"1396285537","file0":"1396285503","file4":"1396285560","file5":"1396285564","file3":"1396285556"},"map_files_photo_id_array":[{"photo_id":"1396285564","filename":"file5"},{"photo_id":"1396285544","filename":"file2"},{"photo_id":"1396285560","filename":"file4"},{"photo_id":"1396285537","filename":"file1"},{"photo_id":"1396285503","filename":"file0"},{"photo_id":"1396285556","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396285564":["hashtag1","hashtag2"]},{"1396285537":["hashtag1","hashtag2"]},{"1396285560":["hashtag1","hashtag2"]},{"1396285503":["hashtag1","hashtag2"]},{"1396285556":["hashtag1","hashtag2"]},{"1396285544":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396285564, 1396285537, 1396285560, 1396285503, 1396285556, 1396285544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1711483001709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:51:02.769203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/02/image_26112025_17_03_06_10697.jpg', '/home/pi/Desktop/images/26112025/17/03/image_26112025_17_03_15_9749.jpg', '/home/pi/Desktop/images/26112025/17/03/image_26112025_17_03_25_9685.jpg', '/home/pi/Desktop/images/26112025/17/03/image_26112025_17_03_36_10601.jpg', '/home/pi/Desktop/images/26112025/17/03/image_26112025_17_03_45_9766.jpg', '/home/pi/Desktop/images/26112025/17/03/image_26112025_17_03_55_9592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/02/image_26112025_17_03_06_10697.jpg
/home/pi/Desktop/images/26112025/17/03/image_26112025_17_03_15_9749.jpg
/home/pi/Desktop/images/26112025/17/03/image_26112025_17_03_25_9685.jpg
/home/pi/Desktop/images/26112025/17/03/image_26112025_17_03_36_10601.jpg
/home/pi/Desktop/images/26112025/17/03/image_26112025_17_03_45_9766.jpg
/home/pi/Desktop/images/26112025/17/03/image_26112025_17_03_55_9592.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":["1396285570","1396285594","1396285576","1396285581","1396285572","1396285574"],"photo_ids_order":["1396285570","1396285572","1396285574","1396285576","1396285581","1396285594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9e3eab351979d4996a0dcd168b89bed6.jpg","text":"TemporaryFile(/tmp/multipartBody1386479549896832215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183123516,"filename":"image_26112025_17_03_06_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5284e18eaea0d2dfc4f2f1f409bdcdaa.jpg","text":"TemporaryFile(/tmp/multipartBody942659427148264918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183123516,"filename":"image_26112025_17_03_55_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c6588276e9d3a11e96c4e290f24656dc.jpg","text":"TemporaryFile(/tmp/multipartBody5996910337194883633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183123516,"filename":"image_26112025_17_03_36_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9b4dd21a133af220b61ecfc03e63b4a2.jpg","text":"TemporaryFile(/tmp/multipartBody5849135515180531817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183123516,"filename":"image_26112025_17_03_45_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1e13d3c1ac0535df550feb9a8b2bf546.jpg","text":"TemporaryFile(/tmp/multipartBody8609899773249362151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183123516,"filename":"image_26112025_17_03_15_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4abda9749cc32bd5b851adf64e188dff.jpg","text":"TemporaryFile(/tmp/multipartBody5859400116723644513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183123516,"filename":"image_26112025_17_03_25_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396285574","file1":"1396285572","file0":"1396285570","file4":"1396285581","file5":"1396285594","file3":"1396285576"},"map_files_photo_id_array":[{"photo_id":"1396285594","filename":"file5"},{"photo_id":"1396285574","filename":"file2"},{"photo_id":"1396285581","filename":"file4"},{"photo_id":"1396285572","filename":"file1"},{"photo_id":"1396285570","filename":"file0"},{"photo_id":"1396285576","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396285570":["hashtag1","hashtag2"]},{"1396285594":["hashtag1","hashtag2"]},{"1396285576":["hashtag1","hashtag2"]},{"1396285581":["hashtag1","hashtag2"]},{"1396285572":["hashtag1","hashtag2"]},{"1396285574":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396285570, 1396285594, 1396285576, 1396285581, 1396285572, 1396285574)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.95055961608887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:52:03.150821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/03/image_26112025_17_04_06_10622.jpg', '/home/pi/Desktop/images/26112025/17/04/image_26112025_17_04_16_9823.jpg', '/home/pi/Desktop/images/26112025/17/04/image_26112025_17_04_25_9711.jpg', '/home/pi/Desktop/images/26112025/17/04/image_26112025_17_04_35_9658.jpg', '/home/pi/Desktop/images/26112025/17/04/image_26112025_17_04_45_10552.jpg', '/home/pi/Desktop/images/26112025/17/04/image_26112025_17_04_55_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/03/image_26112025_17_04_06_10622.jpg
/home/pi/Desktop/images/26112025/17/04/image_26112025_17_04_16_9823.jpg
/home/pi/Desktop/images/26112025/17/04/image_26112025_17_04_25_9711.jpg
/home/pi/Desktop/images/26112025/17/04/image_26112025_17_04_35_9658.jpg
/home/pi/Desktop/images/26112025/17/04/image_26112025_17_04_45_10552.jpg
/home/pi/Desktop/images/26112025/17/04/image_26112025_17_04_55_9606.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":["1396285625","1396285619","1396285628","1396285621","1396285623","1396285617"],"photo_ids_order":["1396285617","1396285619","1396285621","1396285623","1396285625","1396285628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ba7f0f23da6132c0501dc112f2ef1d7d.jpg","text":"TemporaryFile(/tmp/multipartBody237329490430520599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183184613,"filename":"image_26112025_17_04_45_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/647c4837b9f98043e9a674c2fcf3f2c4.jpg","text":"TemporaryFile(/tmp/multipartBody4953059276785326237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183184613,"filename":"image_26112025_17_04_16_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/44a191ed84bb6174b9f89181e18c5b5c.jpg","text":"TemporaryFile(/tmp/multipartBody1246929693638729253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183184613,"filename":"image_26112025_17_04_55_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7dc47cc2981f9ce4f505973b8e8d38d7.jpg","text":"TemporaryFile(/tmp/multipartBody764043878316625579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183184613,"filename":"image_26112025_17_04_25_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8395320be38168c6bd556eae41c1b5ef.jpg","text":"TemporaryFile(/tmp/multipartBody2084217444597288702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183184613,"filename":"image_26112025_17_04_35_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/853c253f02fa6df1cc660b91f82b8207.jpg","text":"TemporaryFile(/tmp/multipartBody4836461338709514233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183184613,"filename":"image_26112025_17_04_06_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396285621","file1":"1396285619","file0":"1396285617","file4":"1396285625","file5":"1396285628","file3":"1396285623"},"map_files_photo_id_array":[{"photo_id":"1396285628","filename":"file5"},{"photo_id":"1396285621","filename":"file2"},{"photo_id":"1396285625","filename":"file4"},{"photo_id":"1396285619","filename":"file1"},{"photo_id":"1396285617","filename":"file0"},{"photo_id":"1396285623","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396285625":["hashtag1","hashtag2"]},{"1396285619":["hashtag1","hashtag2"]},{"1396285628":["hashtag1","hashtag2"]},{"1396285621":["hashtag1","hashtag2"]},{"1396285623":["hashtag1","hashtag2"]},{"1396285617":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396285625, 1396285619, 1396285628, 1396285621, 1396285623, 1396285617)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.62502431869507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:53:06.193485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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 --only_old 1
2025-11-26 19:53:15.505625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/15/image_20112025_23_15_38_2684.jpg', '/home/pi/Desktop/images/20112025/23/15/image_20112025_23_15_45_3727.jpg', '/home/pi/Desktop/images/20112025/23/15/image_20112025_23_15_48_2771.jpg', '/home/pi/Desktop/images/20112025/23/16/image_20112025_23_16_05_2708.jpg', '/home/pi/Desktop/images/20112025/23/16/image_20112025_23_16_23_2665.jpg', '/home/pi/Desktop/images/20112025/23/16/image_20112025_23_16_30_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/15/image_20112025_23_15_38_2684.jpg
/home/pi/Desktop/images/20112025/23/15/image_20112025_23_15_45_3727.jpg
/home/pi/Desktop/images/20112025/23/15/image_20112025_23_15_48_2771.jpg
/home/pi/Desktop/images/20112025/23/16/image_20112025_23_16_05_2708.jpg
/home/pi/Desktop/images/20112025/23/16/image_20112025_23_16_23_2665.jpg
/home/pi/Desktop/images/20112025/23/16/image_20112025_23_16_30_2757.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":["1396285663","1396285671","1396285659","1396285673","1396285667","1396285676"],"photo_ids_order":["1396285659","1396285663","1396285667","1396285671","1396285673","1396285676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a6b46cf6becf5b0d8d670217e72ea572.jpg","text":"TemporaryFile(/tmp/multipartBody730716484617127738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183259127,"filename":"image_20112025_23_15_45_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/26/f160a44022ba8fc06fadfbffc416bd1a.jpg","text":"TemporaryFile(/tmp/multipartBody8547375966402695993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183259127,"filename":"image_20112025_23_16_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/26/6790b731fbce61013420dbb29320d47b.jpg","text":"TemporaryFile(/tmp/multipartBody8367037256328773261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183259127,"filename":"image_20112025_23_15_38_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6542bf031407fe00653ed2b1394fe40e.jpg","text":"TemporaryFile(/tmp/multipartBody8811149436715813300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183259127,"filename":"image_20112025_23_16_23_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/26/985dcf8f6fa1e27a70b060bd09f1935c.jpg","text":"TemporaryFile(/tmp/multipartBody7277516912531924526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183259127,"filename":"image_20112025_23_15_48_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/26/7beb13b062df31e906d0789a2ff85e7b.jpg","text":"TemporaryFile(/tmp/multipartBody6406009003990977408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183259127,"filename":"image_20112025_23_16_30_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396285667","file1":"1396285663","file0":"1396285659","file4":"1396285673","file5":"1396285676","file3":"1396285671"},"map_files_photo_id_array":[{"photo_id":"1396285676","filename":"file5"},{"photo_id":"1396285667","filename":"file2"},{"photo_id":"1396285673","filename":"file4"},{"photo_id":"1396285663","filename":"file1"},{"photo_id":"1396285659","filename":"file0"},{"photo_id":"1396285671","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396285663":["hashtag1","hashtag2"]},{"1396285671":["hashtag1","hashtag2"]},{"1396285659":["hashtag1","hashtag2"]},{"1396285673":["hashtag1","hashtag2"]},{"1396285667":["hashtag1","hashtag2"]},{"1396285676":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396285663, 1396285671, 1396285659, 1396285673, 1396285667, 1396285676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.95477628707886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:54:03.437640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/05/image_26112025_17_05_14_10057.jpg', '/home/pi/Desktop/images/26112025/17/05/image_26112025_17_05_25_10788.jpg', '/home/pi/Desktop/images/26112025/17/05/image_26112025_17_05_35_9813.jpg', '/home/pi/Desktop/images/26112025/17/05/image_26112025_17_05_45_9639.jpg', '/home/pi/Desktop/images/26112025/17/05/image_26112025_17_05_55_10592.jpg', '/home/pi/Desktop/images/26112025/17/05/image_26112025_17_06_05_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/05/image_26112025_17_05_14_10057.jpg
/home/pi/Desktop/images/26112025/17/05/image_26112025_17_05_25_10788.jpg
/home/pi/Desktop/images/26112025/17/05/image_26112025_17_05_35_9813.jpg
/home/pi/Desktop/images/26112025/17/05/image_26112025_17_05_45_9639.jpg
/home/pi/Desktop/images/26112025/17/05/image_26112025_17_05_55_10592.jpg
/home/pi/Desktop/images/26112025/17/05/image_26112025_17_06_05_9619.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.2719225883483887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 19:54:12.962334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/16/image_20112025_23_16_32_2594.jpg', '/home/pi/Desktop/images/20112025/23/16/image_20112025_23_16_39_2632.jpg', '/home/pi/Desktop/images/20112025/23/16/image_20112025_23_16_48_3704.jpg', '/home/pi/Desktop/images/20112025/23/16/image_20112025_23_16_51_2879.jpg', '/home/pi/Desktop/images/20112025/23/16/image_20112025_23_16_54_3002.jpg', '/home/pi/Desktop/images/20112025/23/17/image_20112025_23_17_03_3796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/16/image_20112025_23_16_32_2594.jpg
/home/pi/Desktop/images/20112025/23/16/image_20112025_23_16_39_2632.jpg
/home/pi/Desktop/images/20112025/23/16/image_20112025_23_16_48_3704.jpg
/home/pi/Desktop/images/20112025/23/16/image_20112025_23_16_51_2879.jpg
/home/pi/Desktop/images/20112025/23/16/image_20112025_23_16_54_3002.jpg
/home/pi/Desktop/images/20112025/23/17/image_20112025_23_17_03_3796.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":["1396285703","1396285699","1396285689","1396285707","1396285685","1396285694"],"photo_ids_order":["1396285685","1396285689","1396285694","1396285699","1396285703","1396285707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bb307236cf55196dc4943ab816facaad.jpg","text":"TemporaryFile(/tmp/multipartBody4958425412052135597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183316173,"filename":"image_20112025_23_16_54_3002.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1c8cc05c09f733aeef623899f3df085c.jpg","text":"TemporaryFile(/tmp/multipartBody9181284633489949809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183316173,"filename":"image_20112025_23_16_51_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/26/b056c444c1d173cd2ef5e0e439be5f07.jpg","text":"TemporaryFile(/tmp/multipartBody6138232292171483505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183316173,"filename":"image_20112025_23_16_39_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/26/f9ee54f3c70ee1280912f02f03571f6c.jpg","text":"TemporaryFile(/tmp/multipartBody7016654012534980754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183316173,"filename":"image_20112025_23_17_03_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/26/d57e17a48dde543b73a310976f050aaf.jpg","text":"TemporaryFile(/tmp/multipartBody83986708699485791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183316173,"filename":"image_20112025_23_16_32_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/26/69edd5bc874cb5c4c7377ad112504e44.jpg","text":"TemporaryFile(/tmp/multipartBody2911042349205846384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183316173,"filename":"image_20112025_23_16_48_3704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396285694","file1":"1396285689","file0":"1396285685","file4":"1396285703","file5":"1396285707","file3":"1396285699"},"map_files_photo_id_array":[{"photo_id":"1396285707","filename":"file5"},{"photo_id":"1396285694","filename":"file2"},{"photo_id":"1396285703","filename":"file4"},{"photo_id":"1396285689","filename":"file1"},{"photo_id":"1396285685","filename":"file0"},{"photo_id":"1396285699","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396285703":["hashtag1","hashtag2"]},{"1396285699":["hashtag1","hashtag2"]},{"1396285689":["hashtag1","hashtag2"]},{"1396285707":["hashtag1","hashtag2"]},{"1396285685":["hashtag1","hashtag2"]},{"1396285694":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396285703, 1396285699, 1396285689, 1396285707, 1396285685, 1396285694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.4054958820343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
2025-11-26 19:55:07.850240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 19:55:22.103011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/05/image_26112025_17_05_14_10057.jpg', '/home/pi/Desktop/images/26112025/17/05/image_26112025_17_05_25_10788.jpg', '/home/pi/Desktop/images/26112025/17/05/image_26112025_17_05_35_9813.jpg', '/home/pi/Desktop/images/26112025/17/05/image_26112025_17_05_45_9639.jpg', '/home/pi/Desktop/images/26112025/17/05/image_26112025_17_05_55_10592.jpg', '/home/pi/Desktop/images/26112025/17/05/image_26112025_17_06_05_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/05/image_26112025_17_05_14_10057.jpg
/home/pi/Desktop/images/26112025/17/05/image_26112025_17_05_25_10788.jpg
/home/pi/Desktop/images/26112025/17/05/image_26112025_17_05_35_9813.jpg
/home/pi/Desktop/images/26112025/17/05/image_26112025_17_05_45_9639.jpg
/home/pi/Desktop/images/26112025/17/05/image_26112025_17_05_55_10592.jpg
/home/pi/Desktop/images/26112025/17/05/image_26112025_17_06_05_9619.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":["1396285730","1396285724","1396285727","1396285719","1396285716","1396285721"],"photo_ids_order":["1396285716","1396285719","1396285721","1396285724","1396285727","1396285730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/49d51ae22b82fac24201ffb40994eab4.jpg","text":"TemporaryFile(/tmp/multipartBody8772437394940976087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183382918,"filename":"image_26112025_17_06_05_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1d317303497930b0efdda7b261303116.jpg","text":"TemporaryFile(/tmp/multipartBody4225340613383639851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183382918,"filename":"image_26112025_17_05_45_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a5995c2d4c93f1a14c52d28639b176ad.jpg","text":"TemporaryFile(/tmp/multipartBody4638668713977667022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183382918,"filename":"image_26112025_17_05_55_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/91c31c3c0a95d8e4cabe7e77601ba6af.jpg","text":"TemporaryFile(/tmp/multipartBody5540173157185574924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183382918,"filename":"image_26112025_17_05_25_10788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4faa5830924ada5bef22bdd2d64da738.jpg","text":"TemporaryFile(/tmp/multipartBody6822835517079172321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183382918,"filename":"image_26112025_17_05_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cc64ca9188f15bb8ae2d1b937165264d.jpg","text":"TemporaryFile(/tmp/multipartBody4453912557681603579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183382918,"filename":"image_26112025_17_05_35_9813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396285721","file1":"1396285719","file0":"1396285716","file4":"1396285727","file5":"1396285730","file3":"1396285724"},"map_files_photo_id_array":[{"photo_id":"1396285730","filename":"file5"},{"photo_id":"1396285721","filename":"file2"},{"photo_id":"1396285727","filename":"file4"},{"photo_id":"1396285719","filename":"file1"},{"photo_id":"1396285716","filename":"file0"},{"photo_id":"1396285724","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396285730":["hashtag1","hashtag2"]},{"1396285724":["hashtag1","hashtag2"]},{"1396285727":["hashtag1","hashtag2"]},{"1396285719":["hashtag1","hashtag2"]},{"1396285716":["hashtag1","hashtag2"]},{"1396285721":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396285730, 1396285724, 1396285727, 1396285719, 1396285716, 1396285721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46148753166199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:56:02.523272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/06/image_26112025_17_06_15_9742.jpg', '/home/pi/Desktop/images/26112025/17/06/image_26112025_17_06_25_10679.jpg', '/home/pi/Desktop/images/26112025/17/06/image_26112025_17_06_35_9637.jpg', '/home/pi/Desktop/images/26112025/17/06/image_26112025_17_06_45_9937.jpg', '/home/pi/Desktop/images/26112025/17/06/image_26112025_17_06_55_9798.jpg', '/home/pi/Desktop/images/26112025/17/06/image_26112025_17_07_05_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/06/image_26112025_17_06_15_9742.jpg
/home/pi/Desktop/images/26112025/17/06/image_26112025_17_06_25_10679.jpg
/home/pi/Desktop/images/26112025/17/06/image_26112025_17_06_35_9637.jpg
/home/pi/Desktop/images/26112025/17/06/image_26112025_17_06_45_9937.jpg
/home/pi/Desktop/images/26112025/17/06/image_26112025_17_06_55_9798.jpg
/home/pi/Desktop/images/26112025/17/06/image_26112025_17_07_05_10673.jpg
 val : 1 : upload photos already in processing! 
 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":["1396285733","1396285750","1396285753","1396285747","1396285756","1396285740"],"photo_ids_order":["1396285733","1396285740","1396285747","1396285750","1396285753","1396285756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5f4ec3b9a2ea0e49cde6449f3c2e9e0b.jpg","text":"TemporaryFile(/tmp/multipartBody1582652881481870298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183425985,"filename":"image_26112025_17_06_15_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a971ba408c1cfe069b67dce75c3dd89f.jpg","text":"TemporaryFile(/tmp/multipartBody895149706209848961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183425985,"filename":"image_26112025_17_06_45_9937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b3a8623ebe588188d20ed6f4555ef5ba.jpg","text":"TemporaryFile(/tmp/multipartBody1942503327163819150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183425985,"filename":"image_26112025_17_06_55_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0edab08fc2bc85b8c31fed9e9af402b4.jpg","text":"TemporaryFile(/tmp/multipartBody5099110061493875796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183425985,"filename":"image_26112025_17_06_35_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f61e472009aafe1432b86b43840b9a8a.jpg","text":"TemporaryFile(/tmp/multipartBody3006769737764629866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183425985,"filename":"image_26112025_17_07_05_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f784265f4e79fd9f66e6aa2ac5665c23.jpg","text":"TemporaryFile(/tmp/multipartBody2380972670136004442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183425985,"filename":"image_26112025_17_06_25_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396285747","file1":"1396285740","file0":"1396285733","file4":"1396285753","file5":"1396285756","file3":"1396285750"},"map_files_photo_id_array":[{"photo_id":"1396285756","filename":"file5"},{"photo_id":"1396285747","filename":"file2"},{"photo_id":"1396285753","filename":"file4"},{"photo_id":"1396285740","filename":"file1"},{"photo_id":"1396285733","filename":"file0"},{"photo_id":"1396285750","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396285733":["hashtag1","hashtag2"]},{"1396285750":["hashtag1","hashtag2"]},{"1396285753":["hashtag1","hashtag2"]},{"1396285747":["hashtag1","hashtag2"]},{"1396285756":["hashtag1","hashtag2"]},{"1396285740":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396285733, 1396285750, 1396285753, 1396285747, 1396285756, 1396285740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.06558871269226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:57:05.843295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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 --only_old 1
2025-11-26 19:57:15.350690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/17/image_20112025_23_17_08_2607.jpg', '/home/pi/Desktop/images/20112025/23/17/image_20112025_23_17_12_3654.jpg', '/home/pi/Desktop/images/20112025/23/17/image_20112025_23_17_21_3725.jpg', '/home/pi/Desktop/images/20112025/23/17/image_20112025_23_17_30_3809.jpg', '/home/pi/Desktop/images/20112025/23/17/image_20112025_23_17_33_2923.jpg', '/home/pi/Desktop/images/20112025/23/17/image_20112025_23_17_50_2824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/17/image_20112025_23_17_08_2607.jpg
/home/pi/Desktop/images/20112025/23/17/image_20112025_23_17_12_3654.jpg
/home/pi/Desktop/images/20112025/23/17/image_20112025_23_17_21_3725.jpg
/home/pi/Desktop/images/20112025/23/17/image_20112025_23_17_30_3809.jpg
/home/pi/Desktop/images/20112025/23/17/image_20112025_23_17_33_2923.jpg
/home/pi/Desktop/images/20112025/23/17/image_20112025_23_17_50_2824.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":["1396285795","1396285783","1396285792","1396285788","1396285785","1396285779"],"photo_ids_order":["1396285779","1396285783","1396285785","1396285788","1396285792","1396285795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/553edf222aa8fc58f995f3019a4b488f.jpg","text":"TemporaryFile(/tmp/multipartBody630678370097387859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183498437,"filename":"image_20112025_23_17_50_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/26/66ad9f94fb2919e0ecfff6b4414f5d62.jpg","text":"TemporaryFile(/tmp/multipartBody8653974816865917989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183498437,"filename":"image_20112025_23_17_12_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/26/f8849c8b59f2b312a03924365e292e22.jpg","text":"TemporaryFile(/tmp/multipartBody7639248829318334703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183498437,"filename":"image_20112025_23_17_33_2923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fad3826e93ec1dc4178954646c75173c.jpg","text":"TemporaryFile(/tmp/multipartBody4153045638999412391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183498437,"filename":"image_20112025_23_17_30_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/26/da780a0e0f5b148255bcf4020d5a7d5f.jpg","text":"TemporaryFile(/tmp/multipartBody4993868742691927413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183498437,"filename":"image_20112025_23_17_21_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/26/7e5b3c79ac6060fb86623819dc717249.jpg","text":"TemporaryFile(/tmp/multipartBody4851433679902771250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183498437,"filename":"image_20112025_23_17_08_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396285785","file1":"1396285783","file0":"1396285779","file4":"1396285792","file5":"1396285795","file3":"1396285788"},"map_files_photo_id_array":[{"photo_id":"1396285795","filename":"file5"},{"photo_id":"1396285785","filename":"file2"},{"photo_id":"1396285792","filename":"file4"},{"photo_id":"1396285783","filename":"file1"},{"photo_id":"1396285779","filename":"file0"},{"photo_id":"1396285788","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396285795":["hashtag1","hashtag2"]},{"1396285783":["hashtag1","hashtag2"]},{"1396285792":["hashtag1","hashtag2"]},{"1396285788":["hashtag1","hashtag2"]},{"1396285785":["hashtag1","hashtag2"]},{"1396285779":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396285795, 1396285783, 1396285792, 1396285788, 1396285785, 1396285779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45445442199707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 19:59:02.896513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/07/image_26112025_17_07_15_9697.jpg', '/home/pi/Desktop/images/26112025/17/07/image_26112025_17_07_25_9612.jpg', '/home/pi/Desktop/images/26112025/17/07/image_26112025_17_07_34_9807.jpg', '/home/pi/Desktop/images/26112025/17/07/image_26112025_17_07_45_10602.jpg', '/home/pi/Desktop/images/26112025/17/07/image_26112025_17_07_55_9732.jpg', '/home/pi/Desktop/images/26112025/17/07/image_26112025_17_08_05_10565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/07/image_26112025_17_07_15_9697.jpg
/home/pi/Desktop/images/26112025/17/07/image_26112025_17_07_25_9612.jpg
/home/pi/Desktop/images/26112025/17/07/image_26112025_17_07_34_9807.jpg
/home/pi/Desktop/images/26112025/17/07/image_26112025_17_07_45_10602.jpg
/home/pi/Desktop/images/26112025/17/07/image_26112025_17_07_55_9732.jpg
/home/pi/Desktop/images/26112025/17/07/image_26112025_17_08_05_10565.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":["1396285850","1396285844","1396285817","1396285834","1396285839","1396285847"],"photo_ids_order":["1396285817","1396285834","1396285839","1396285844","1396285847","1396285850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7936fe81e049aac0daff79a55870cb03.jpg","text":"TemporaryFile(/tmp/multipartBody8767783321669200758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183603820,"filename":"image_26112025_17_08_05_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c2d1bb86faac55ddae1a53eb20a13c34.jpg","text":"TemporaryFile(/tmp/multipartBody3988648191206814830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183603820,"filename":"image_26112025_17_07_45_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f0e104bd8bfdc515449d3dad82f73057.jpg","text":"TemporaryFile(/tmp/multipartBody2335170668926583175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183603820,"filename":"image_26112025_17_07_15_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/297acd6c18a25fe491e04dfef08f6b11.jpg","text":"TemporaryFile(/tmp/multipartBody6558594245882116995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183603820,"filename":"image_26112025_17_07_25_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/76be9938a962a0d3651adab418f9ca5c.jpg","text":"TemporaryFile(/tmp/multipartBody8515273630627821671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183603820,"filename":"image_26112025_17_07_34_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7457e307b40e6967ca7ecff9e95cbe0d.jpg","text":"TemporaryFile(/tmp/multipartBody1725487274876564373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183603820,"filename":"image_26112025_17_07_55_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396285839","file1":"1396285834","file0":"1396285817","file4":"1396285847","file5":"1396285850","file3":"1396285844"},"map_files_photo_id_array":[{"photo_id":"1396285850","filename":"file5"},{"photo_id":"1396285839","filename":"file2"},{"photo_id":"1396285847","filename":"file4"},{"photo_id":"1396285834","filename":"file1"},{"photo_id":"1396285817","filename":"file0"},{"photo_id":"1396285844","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396285850":["hashtag1","hashtag2"]},{"1396285844":["hashtag1","hashtag2"]},{"1396285817":["hashtag1","hashtag2"]},{"1396285834":["hashtag1","hashtag2"]},{"1396285839":["hashtag1","hashtag2"]},{"1396285847":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396285850, 1396285844, 1396285817, 1396285834, 1396285839, 1396285847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.673351764678955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 19:59:41.833520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/19/image_30102025_20_19_25_3565.jpg', '/home/pi/Desktop/images/30102025/20/19/image_30102025_20_19_31_3530.jpg', '/home/pi/Desktop/images/30102025/20/19/image_30102025_20_19_33_2653.jpg', '/home/pi/Desktop/images/30102025/20/19/image_30102025_20_19_36_2600.jpg', '/home/pi/Desktop/images/30102025/20/19/image_30102025_20_19_40_3688.jpg', '/home/pi/Desktop/images/30102025/20/19/image_30102025_20_19_42_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/19/image_30102025_20_19_25_3565.jpg
/home/pi/Desktop/images/30102025/20/19/image_30102025_20_19_31_3530.jpg
/home/pi/Desktop/images/30102025/20/19/image_30102025_20_19_33_2653.jpg
/home/pi/Desktop/images/30102025/20/19/image_30102025_20_19_36_2600.jpg
/home/pi/Desktop/images/30102025/20/19/image_30102025_20_19_40_3688.jpg
/home/pi/Desktop/images/30102025/20/19/image_30102025_20_19_42_2660.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":["1396285870","1396285864","1396285867","1396285855","1396285860","1396285857"],"photo_ids_order":["1396285855","1396285857","1396285860","1396285864","1396285867","1396285870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d13d167b0116912844919f5d7b9bea9b.jpg","text":"TemporaryFile(/tmp/multipartBody2128438600202337028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183643283,"filename":"image_30102025_20_19_42_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/26/27dfb66e80bfcbfd388f16ae5d676461.jpg","text":"TemporaryFile(/tmp/multipartBody4092950882755828449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183643283,"filename":"image_30102025_20_19_36_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/26/92f365837559a56e279a31dc9cc3582f.jpg","text":"TemporaryFile(/tmp/multipartBody7141650769426777833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183643283,"filename":"image_30102025_20_19_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/26/96fb7abbe498d5f01bedaafae0cb5063.jpg","text":"TemporaryFile(/tmp/multipartBody162121378067246319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183643283,"filename":"image_30102025_20_19_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/26/dffa7a6ce8bd11b035b26d5927e394e5.jpg","text":"TemporaryFile(/tmp/multipartBody4859831076461531222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183643283,"filename":"image_30102025_20_19_33_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/26/3aae0e07c19972bf4e74da8face90c3e.jpg","text":"TemporaryFile(/tmp/multipartBody6968415112607219251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183643283,"filename":"image_30102025_20_19_31_3530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396285860","file1":"1396285857","file0":"1396285855","file4":"1396285867","file5":"1396285870","file3":"1396285864"},"map_files_photo_id_array":[{"photo_id":"1396285870","filename":"file5"},{"photo_id":"1396285860","filename":"file2"},{"photo_id":"1396285867","filename":"file4"},{"photo_id":"1396285857","filename":"file1"},{"photo_id":"1396285855","filename":"file0"},{"photo_id":"1396285864","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396285870":["hashtag1","hashtag2"]},{"1396285864":["hashtag1","hashtag2"]},{"1396285867":["hashtag1","hashtag2"]},{"1396285855":["hashtag1","hashtag2"]},{"1396285860":["hashtag1","hashtag2"]},{"1396285857":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396285870, 1396285864, 1396285867, 1396285855, 1396285860, 1396285857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21572804450989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 20:00:21.995180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/08/image_26112025_17_08_15_9645.jpg', '/home/pi/Desktop/images/26112025/17/08/image_26112025_17_08_25_9734.jpg', '/home/pi/Desktop/images/26112025/17/08/image_26112025_17_08_35_10561.jpg', '/home/pi/Desktop/images/26112025/17/08/image_26112025_17_08_45_9619.jpg', '/home/pi/Desktop/images/26112025/17/08/image_26112025_17_08_54_9649.jpg', '/home/pi/Desktop/images/26112025/17/08/image_26112025_17_09_04_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/08/image_26112025_17_08_15_9645.jpg
/home/pi/Desktop/images/26112025/17/08/image_26112025_17_08_25_9734.jpg
/home/pi/Desktop/images/26112025/17/08/image_26112025_17_08_35_10561.jpg
/home/pi/Desktop/images/26112025/17/08/image_26112025_17_08_45_9619.jpg
/home/pi/Desktop/images/26112025/17/08/image_26112025_17_08_54_9649.jpg
/home/pi/Desktop/images/26112025/17/08/image_26112025_17_09_04_9849.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":["1396285888","1396285876","1396285879","1396285893","1396285883","1396285880"],"photo_ids_order":["1396285876","1396285879","1396285880","1396285883","1396285888","1396285893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/435fafd54e196f0e196d774468b18df7.jpg","text":"TemporaryFile(/tmp/multipartBody7419347217202349156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183682691,"filename":"image_26112025_17_08_54_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f341d46692952dbf623b3ec1bf6e9109.jpg","text":"TemporaryFile(/tmp/multipartBody2348662716835235043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183682691,"filename":"image_26112025_17_08_15_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5088603679e48682852cf44e6eac11bb.jpg","text":"TemporaryFile(/tmp/multipartBody951294877277697305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183682691,"filename":"image_26112025_17_08_25_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6e04ae650c561f2ff2ef3b24d7bd46b2.jpg","text":"TemporaryFile(/tmp/multipartBody4621444075948911804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183682691,"filename":"image_26112025_17_09_04_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c9118c22761d7000c3270df884844e96.jpg","text":"TemporaryFile(/tmp/multipartBody6415208066626836935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183682691,"filename":"image_26112025_17_08_45_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e37215bb04ea1ff6526f1857cbfa30d9.jpg","text":"TemporaryFile(/tmp/multipartBody2717385787181354305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183682691,"filename":"image_26112025_17_08_35_10561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396285880","file1":"1396285879","file0":"1396285876","file4":"1396285888","file5":"1396285893","file3":"1396285883"},"map_files_photo_id_array":[{"photo_id":"1396285893","filename":"file5"},{"photo_id":"1396285880","filename":"file2"},{"photo_id":"1396285888","filename":"file4"},{"photo_id":"1396285879","filename":"file1"},{"photo_id":"1396285876","filename":"file0"},{"photo_id":"1396285883","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396285888":["hashtag1","hashtag2"]},{"1396285876":["hashtag1","hashtag2"]},{"1396285879":["hashtag1","hashtag2"]},{"1396285893":["hashtag1","hashtag2"]},{"1396285883":["hashtag1","hashtag2"]},{"1396285880":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396285888, 1396285876, 1396285879, 1396285893, 1396285883, 1396285880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98283863067627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:01:02.907031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/09/image_26112025_17_09_15_10605.jpg', '/home/pi/Desktop/images/26112025/17/09/image_26112025_17_09_25_9647.jpg', '/home/pi/Desktop/images/26112025/17/09/image_26112025_17_09_35_10599.jpg', '/home/pi/Desktop/images/26112025/17/09/image_26112025_17_09_45_9566.jpg', '/home/pi/Desktop/images/26112025/17/09/image_26112025_17_09_54_9547.jpg', '/home/pi/Desktop/images/26112025/17/10/image_26112025_17_10_15_10056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/09/image_26112025_17_09_15_10605.jpg
/home/pi/Desktop/images/26112025/17/09/image_26112025_17_09_25_9647.jpg
/home/pi/Desktop/images/26112025/17/09/image_26112025_17_09_35_10599.jpg
/home/pi/Desktop/images/26112025/17/09/image_26112025_17_09_45_9566.jpg
/home/pi/Desktop/images/26112025/17/09/image_26112025_17_09_54_9547.jpg
/home/pi/Desktop/images/26112025/17/10/image_26112025_17_10_15_10056.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":["1396285916","1396285921","1396285923","1396285917","1396285926","1396285920"],"photo_ids_order":["1396285916","1396285917","1396285920","1396285921","1396285923","1396285926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2f1c9f23a82bf8cee52988a5a09bbad7.jpg","text":"TemporaryFile(/tmp/multipartBody476505194973476864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183723675,"filename":"image_26112025_17_09_15_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/64b99fd8b321054c841c5e2c531c3c14.jpg","text":"TemporaryFile(/tmp/multipartBody2557819190424282907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183723675,"filename":"image_26112025_17_09_45_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fdbf3ba7e0d81f47fec282fe4af5f950.jpg","text":"TemporaryFile(/tmp/multipartBody6820574586133992809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183723675,"filename":"image_26112025_17_09_54_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/171b8d5e6a62ad4fa041b26eb7a04e0d.jpg","text":"TemporaryFile(/tmp/multipartBody7977744812061965757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183723675,"filename":"image_26112025_17_09_25_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/823e3a96efd2b3abb06084225c07b2c6.jpg","text":"TemporaryFile(/tmp/multipartBody4115477780989583483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183723675,"filename":"image_26112025_17_10_15_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5f3b6c97f6c86a719bea64db1cf0463a.jpg","text":"TemporaryFile(/tmp/multipartBody4693253033284038240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183723675,"filename":"image_26112025_17_09_35_10599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396285920","file1":"1396285917","file0":"1396285916","file4":"1396285923","file5":"1396285926","file3":"1396285921"},"map_files_photo_id_array":[{"photo_id":"1396285926","filename":"file5"},{"photo_id":"1396285920","filename":"file2"},{"photo_id":"1396285923","filename":"file4"},{"photo_id":"1396285917","filename":"file1"},{"photo_id":"1396285916","filename":"file0"},{"photo_id":"1396285921","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396285916":["hashtag1","hashtag2"]},{"1396285921":["hashtag1","hashtag2"]},{"1396285923":["hashtag1","hashtag2"]},{"1396285917":["hashtag1","hashtag2"]},{"1396285926":["hashtag1","hashtag2"]},{"1396285920":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396285916, 1396285921, 1396285923, 1396285917, 1396285926, 1396285920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.288944482803345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 20:01:42.250775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/19/image_30102025_20_19_45_2663.jpg', '/home/pi/Desktop/images/30102025/20/19/image_30102025_20_19_49_3651.jpg', '/home/pi/Desktop/images/30102025/20/19/image_30102025_20_19_51_2535.jpg', '/home/pi/Desktop/images/30102025/20/19/image_30102025_20_20_00_2720.jpg', '/home/pi/Desktop/images/30102025/20/20/image_30102025_20_20_09_2729.jpg', '/home/pi/Desktop/images/30102025/20/20/image_30102025_20_20_21_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/19/image_30102025_20_19_45_2663.jpg
/home/pi/Desktop/images/30102025/20/19/image_30102025_20_19_49_3651.jpg
/home/pi/Desktop/images/30102025/20/19/image_30102025_20_19_51_2535.jpg
/home/pi/Desktop/images/30102025/20/19/image_30102025_20_20_00_2720.jpg
/home/pi/Desktop/images/30102025/20/20/image_30102025_20_20_09_2729.jpg
/home/pi/Desktop/images/30102025/20/20/image_30102025_20_20_21_2696.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":["1396285942","1396285939","1396285936","1396285941","1396285938","1396285940"],"photo_ids_order":["1396285936","1396285938","1396285939","1396285940","1396285941","1396285942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/19c2918d66ee278e832625dc912a1a48.jpg","text":"TemporaryFile(/tmp/multipartBody5373296552603116172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183763710,"filename":"image_30102025_20_20_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/26/1f051bfa91300cdb4ab5cc0f9edd18d9.jpg","text":"TemporaryFile(/tmp/multipartBody3845138540285342478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183763710,"filename":"image_30102025_20_19_51_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/26/dab54c7c3dcdd36ef13d3043e7fc2abe.jpg","text":"TemporaryFile(/tmp/multipartBody1277638073799525349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183763710,"filename":"image_30102025_20_19_45_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/26/a0be380890d6bd128c08e42b60eb2379.jpg","text":"TemporaryFile(/tmp/multipartBody8382670578567414214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183763710,"filename":"image_30102025_20_20_09_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d82e1dff0947dd766eafd74cabb6e668.jpg","text":"TemporaryFile(/tmp/multipartBody1909980921991846168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183763710,"filename":"image_30102025_20_19_49_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/26/3a3aef4fb56ac21aeb3e6dca04dfb768.jpg","text":"TemporaryFile(/tmp/multipartBody1665279235275556468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183763710,"filename":"image_30102025_20_20_00_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396285939","file1":"1396285938","file0":"1396285936","file4":"1396285941","file5":"1396285942","file3":"1396285940"},"map_files_photo_id_array":[{"photo_id":"1396285942","filename":"file5"},{"photo_id":"1396285939","filename":"file2"},{"photo_id":"1396285941","filename":"file4"},{"photo_id":"1396285938","filename":"file1"},{"photo_id":"1396285936","filename":"file0"},{"photo_id":"1396285940","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396285942":["hashtag1","hashtag2"]},{"1396285939":["hashtag1","hashtag2"]},{"1396285936":["hashtag1","hashtag2"]},{"1396285941":["hashtag1","hashtag2"]},{"1396285938":["hashtag1","hashtag2"]},{"1396285940":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396285942, 1396285939, 1396285936, 1396285941, 1396285938, 1396285940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.674952268600464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 20:02:22.523554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/10/image_26112025_17_10_26_10655.jpg', '/home/pi/Desktop/images/26112025/17/10/image_26112025_17_10_35_9606.jpg', '/home/pi/Desktop/images/26112025/17/10/image_26112025_17_10_45_9717.jpg', '/home/pi/Desktop/images/26112025/17/10/image_26112025_17_10_56_10914.jpg', '/home/pi/Desktop/images/26112025/17/10/image_26112025_17_11_06_9830.jpg', '/home/pi/Desktop/images/26112025/17/11/image_26112025_17_11_15_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/10/image_26112025_17_10_26_10655.jpg
/home/pi/Desktop/images/26112025/17/10/image_26112025_17_10_35_9606.jpg
/home/pi/Desktop/images/26112025/17/10/image_26112025_17_10_45_9717.jpg
/home/pi/Desktop/images/26112025/17/10/image_26112025_17_10_56_10914.jpg
/home/pi/Desktop/images/26112025/17/10/image_26112025_17_11_06_9830.jpg
/home/pi/Desktop/images/26112025/17/11/image_26112025_17_11_15_9672.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":["1396285954","1396285968","1396285962","1396285965","1396285959","1396285950"],"photo_ids_order":["1396285950","1396285954","1396285959","1396285962","1396285965","1396285968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8e81ab051068e5c29b2ecfc72d5054eb.jpg","text":"TemporaryFile(/tmp/multipartBody46757541753616175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183803213,"filename":"image_26112025_17_10_35_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/267254281725862811f60ce8e34ddd1d.jpg","text":"TemporaryFile(/tmp/multipartBody8631948932436224064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183803213,"filename":"image_26112025_17_11_15_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d33a63dbb9b55d9dda535a45b86ae67b.jpg","text":"TemporaryFile(/tmp/multipartBody4055896038701774248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183803213,"filename":"image_26112025_17_10_56_10914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d688946d10e505533c47e5f0aac3445d.jpg","text":"TemporaryFile(/tmp/multipartBody8543621506900486892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183803213,"filename":"image_26112025_17_11_06_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/601ac79e8981ff80740f8bd1d2e1a98f.jpg","text":"TemporaryFile(/tmp/multipartBody4168606236427353856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183803213,"filename":"image_26112025_17_10_45_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1bcd288b9d654c362d5f17b80564e664.jpg","text":"TemporaryFile(/tmp/multipartBody8278549037181328202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183803213,"filename":"image_26112025_17_10_26_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396285959","file1":"1396285954","file0":"1396285950","file4":"1396285965","file5":"1396285968","file3":"1396285962"},"map_files_photo_id_array":[{"photo_id":"1396285968","filename":"file5"},{"photo_id":"1396285959","filename":"file2"},{"photo_id":"1396285965","filename":"file4"},{"photo_id":"1396285954","filename":"file1"},{"photo_id":"1396285950","filename":"file0"},{"photo_id":"1396285962","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396285954":["hashtag1","hashtag2"]},{"1396285968":["hashtag1","hashtag2"]},{"1396285962":["hashtag1","hashtag2"]},{"1396285965":["hashtag1","hashtag2"]},{"1396285959":["hashtag1","hashtag2"]},{"1396285950":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396285954, 1396285968, 1396285962, 1396285965, 1396285959, 1396285950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90770435333252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:03:03.232236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/11/image_26112025_17_11_25_9637.jpg', '/home/pi/Desktop/images/26112025/17/11/image_26112025_17_11_36_10612.jpg', '/home/pi/Desktop/images/26112025/17/11/image_26112025_17_11_45_9545.jpg', '/home/pi/Desktop/images/26112025/17/11/image_26112025_17_11_56_10670.jpg', '/home/pi/Desktop/images/26112025/17/11/image_26112025_17_12_05_9643.jpg', '/home/pi/Desktop/images/26112025/17/12/image_26112025_17_12_15_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/11/image_26112025_17_11_25_9637.jpg
/home/pi/Desktop/images/26112025/17/11/image_26112025_17_11_36_10612.jpg
/home/pi/Desktop/images/26112025/17/11/image_26112025_17_11_45_9545.jpg
/home/pi/Desktop/images/26112025/17/11/image_26112025_17_11_56_10670.jpg
/home/pi/Desktop/images/26112025/17/11/image_26112025_17_12_05_9643.jpg
/home/pi/Desktop/images/26112025/17/12/image_26112025_17_12_15_9663.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":["1396285975","1396285978","1396285971","1396285982","1396285985","1396285973"],"photo_ids_order":["1396285971","1396285973","1396285975","1396285978","1396285982","1396285985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f5806e5e4869bcb594c1b406d04c2c01.jpg","text":"TemporaryFile(/tmp/multipartBody5123806092732347342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183846403,"filename":"image_26112025_17_11_45_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/29ecd6077fea9477224fa4a5b61ad00a.jpg","text":"TemporaryFile(/tmp/multipartBody2853077054355086738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183846403,"filename":"image_26112025_17_11_56_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8c304669a73d34f210fa1f6dcb8a58c0.jpg","text":"TemporaryFile(/tmp/multipartBody7219136299818559556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183846403,"filename":"image_26112025_17_11_25_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/115c4ebe1f0e618399851587898a02f4.jpg","text":"TemporaryFile(/tmp/multipartBody5994639511357511515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183846403,"filename":"image_26112025_17_12_05_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cb1c1781ae42d0df9ab85c6c95df3778.jpg","text":"TemporaryFile(/tmp/multipartBody6230110114853341445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183846403,"filename":"image_26112025_17_12_15_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7b5c6032e6dc7974269c32572f51ae14.jpg","text":"TemporaryFile(/tmp/multipartBody1560973264854543417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183846403,"filename":"image_26112025_17_11_36_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396285975","file1":"1396285973","file0":"1396285971","file4":"1396285982","file5":"1396285985","file3":"1396285978"},"map_files_photo_id_array":[{"photo_id":"1396285985","filename":"file5"},{"photo_id":"1396285975","filename":"file2"},{"photo_id":"1396285982","filename":"file4"},{"photo_id":"1396285973","filename":"file1"},{"photo_id":"1396285971","filename":"file0"},{"photo_id":"1396285978","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396285975":["hashtag1","hashtag2"]},{"1396285978":["hashtag1","hashtag2"]},{"1396285971":["hashtag1","hashtag2"]},{"1396285982":["hashtag1","hashtag2"]},{"1396285985":["hashtag1","hashtag2"]},{"1396285973":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396285975, 1396285978, 1396285971, 1396285982, 1396285985, 1396285973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13437104225159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 20:03:42.633627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/20/image_30102025_20_20_25_3597.jpg', '/home/pi/Desktop/images/30102025/20/20/image_30102025_20_20_27_2777.jpg', '/home/pi/Desktop/images/30102025/20/20/image_30102025_20_20_30_2725.jpg', '/home/pi/Desktop/images/30102025/20/20/image_30102025_20_20_33_2798.jpg', '/home/pi/Desktop/images/30102025/20/20/image_30102025_20_20_39_2606.jpg', '/home/pi/Desktop/images/30102025/20/20/image_30102025_20_20_42_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/20/image_30102025_20_20_25_3597.jpg
/home/pi/Desktop/images/30102025/20/20/image_30102025_20_20_27_2777.jpg
/home/pi/Desktop/images/30102025/20/20/image_30102025_20_20_30_2725.jpg
/home/pi/Desktop/images/30102025/20/20/image_30102025_20_20_33_2798.jpg
/home/pi/Desktop/images/30102025/20/20/image_30102025_20_20_39_2606.jpg
/home/pi/Desktop/images/30102025/20/20/image_30102025_20_20_42_2578.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":["1396285996","1396285998","1396285992","1396285995","1396285994","1396285997"],"photo_ids_order":["1396285992","1396285994","1396285995","1396285996","1396285997","1396285998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ff0d71300609349b1ae662a860816cdf.jpg","text":"TemporaryFile(/tmp/multipartBody6687884549754211685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183884129,"filename":"image_30102025_20_20_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/26/4c19f89a8bd941cd365d2610c918d853.jpg","text":"TemporaryFile(/tmp/multipartBody6828725145423196781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183884129,"filename":"image_30102025_20_20_42_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/26/669d273d4abc71eb65433393c422a83d.jpg","text":"TemporaryFile(/tmp/multipartBody3550022071423034119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183884129,"filename":"image_30102025_20_20_25_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/26/15af445631d5bde7e2e0ea61b7711aa0.jpg","text":"TemporaryFile(/tmp/multipartBody6982337002657529480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183884129,"filename":"image_30102025_20_20_30_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/26/a4f6c507a568d3fe6e4f02fe29a73995.jpg","text":"TemporaryFile(/tmp/multipartBody8845664514455867656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183884129,"filename":"image_30102025_20_20_27_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/26/85df41809dbc24a096a80f121cdef733.jpg","text":"TemporaryFile(/tmp/multipartBody8827350049399049375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183884129,"filename":"image_30102025_20_20_39_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396285995","file1":"1396285994","file0":"1396285992","file4":"1396285997","file5":"1396285998","file3":"1396285996"},"map_files_photo_id_array":[{"photo_id":"1396285998","filename":"file5"},{"photo_id":"1396285995","filename":"file2"},{"photo_id":"1396285997","filename":"file4"},{"photo_id":"1396285994","filename":"file1"},{"photo_id":"1396285992","filename":"file0"},{"photo_id":"1396285996","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396285996":["hashtag1","hashtag2"]},{"1396285998":["hashtag1","hashtag2"]},{"1396285992":["hashtag1","hashtag2"]},{"1396285995":["hashtag1","hashtag2"]},{"1396285994":["hashtag1","hashtag2"]},{"1396285997":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396285996, 1396285998, 1396285992, 1396285995, 1396285994, 1396285997)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 60.428847551345825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:05:03.980449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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 --only_old 1
2025-11-26 20:05:12.198280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 20:05:22.063201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/12/image_26112025_17_12_26_10642.jpg', '/home/pi/Desktop/images/26112025/17/12/image_26112025_17_12_35_9596.jpg', '/home/pi/Desktop/images/26112025/17/12/image_26112025_17_12_45_9806.jpg', '/home/pi/Desktop/images/26112025/17/12/image_26112025_17_12_56_10713.jpg', '/home/pi/Desktop/images/26112025/17/12/image_26112025_17_13_05_9587.jpg', '/home/pi/Desktop/images/26112025/17/13/image_26112025_17_13_15_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/12/image_26112025_17_12_26_10642.jpg
/home/pi/Desktop/images/26112025/17/12/image_26112025_17_12_35_9596.jpg
/home/pi/Desktop/images/26112025/17/12/image_26112025_17_12_45_9806.jpg
/home/pi/Desktop/images/26112025/17/12/image_26112025_17_12_56_10713.jpg
/home/pi/Desktop/images/26112025/17/12/image_26112025_17_13_05_9587.jpg
/home/pi/Desktop/images/26112025/17/13/image_26112025_17_13_15_9667.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":["1396286074","1396286056","1396286059","1396286052","1396286049","1396286039"],"photo_ids_order":["1396286039","1396286049","1396286052","1396286056","1396286059","1396286074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/efdc893b1dbe8e872c7b0382cfd25bc2.jpg","text":"TemporaryFile(/tmp/multipartBody3703228649868837050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183982754,"filename":"image_26112025_17_13_15_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/56b62a01fe7d771df8e7c98299305b54.jpg","text":"TemporaryFile(/tmp/multipartBody4737766316173027281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183982754,"filename":"image_26112025_17_12_56_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bd16c5160c9df459519682f5fcc6b6b6.jpg","text":"TemporaryFile(/tmp/multipartBody1903254533633658532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183982754,"filename":"image_26112025_17_13_05_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/983063edefb931eb786045c9a21d68e5.jpg","text":"TemporaryFile(/tmp/multipartBody306483785496257835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183982754,"filename":"image_26112025_17_12_45_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6970d8f83fa470d9c6032534f00ec3b1.jpg","text":"TemporaryFile(/tmp/multipartBody460893756784378959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183982754,"filename":"image_26112025_17_12_35_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/612536d10f6bc93ec059079e97b21cea.jpg","text":"TemporaryFile(/tmp/multipartBody6640894802753143517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764183982754,"filename":"image_26112025_17_12_26_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396286052","file1":"1396286049","file0":"1396286039","file4":"1396286059","file5":"1396286074","file3":"1396286056"},"map_files_photo_id_array":[{"photo_id":"1396286074","filename":"file5"},{"photo_id":"1396286052","filename":"file2"},{"photo_id":"1396286059","filename":"file4"},{"photo_id":"1396286049","filename":"file1"},{"photo_id":"1396286039","filename":"file0"},{"photo_id":"1396286056","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396286074":["hashtag1","hashtag2"]},{"1396286056":["hashtag1","hashtag2"]},{"1396286059":["hashtag1","hashtag2"]},{"1396286052":["hashtag1","hashtag2"]},{"1396286049":["hashtag1","hashtag2"]},{"1396286039":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396286074, 1396286056, 1396286059, 1396286052, 1396286049, 1396286039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16434717178345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:06:02.787083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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 --only_old 1
2025-11-26 20:06:12.346684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/17/image_20112025_23_17_57_3849.jpg', '/home/pi/Desktop/images/20112025/23/18/image_20112025_23_18_12_2611.jpg', '/home/pi/Desktop/images/20112025/23/18/image_20112025_23_18_33_3664.jpg', '/home/pi/Desktop/images/20112025/23/18/image_20112025_23_18_41_2698.jpg', '/home/pi/Desktop/images/20112025/23/18/image_20112025_23_18_48_3727.jpg', '/home/pi/Desktop/images/20112025/23/19/image_20112025_23_19_08_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/17/image_20112025_23_17_57_3849.jpg
/home/pi/Desktop/images/20112025/23/18/image_20112025_23_18_12_2611.jpg
/home/pi/Desktop/images/20112025/23/18/image_20112025_23_18_33_3664.jpg
/home/pi/Desktop/images/20112025/23/18/image_20112025_23_18_41_2698.jpg
/home/pi/Desktop/images/20112025/23/18/image_20112025_23_18_48_3727.jpg
/home/pi/Desktop/images/20112025/23/19/image_20112025_23_19_08_2685.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":["1396286194","1396286182","1396286179","1396286177","1396286186","1396286191"],"photo_ids_order":["1396286177","1396286179","1396286182","1396286186","1396286191","1396286194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/38293154bf55eacb67163fcba44104ec.jpg","text":"TemporaryFile(/tmp/multipartBody2135452098321101152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184034262,"filename":"image_20112025_23_19_08_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/26/983a4bf0194d63df24b682c7c33253a8.jpg","text":"TemporaryFile(/tmp/multipartBody3221817611879176503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184034262,"filename":"image_20112025_23_18_33_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/26/6d0203001f7b97d68f0070293e45c34c.jpg","text":"TemporaryFile(/tmp/multipartBody2637077549663934262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184034262,"filename":"image_20112025_23_18_12_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/26/fed2990eaedecbd7f29daf35f05b6025.jpg","text":"TemporaryFile(/tmp/multipartBody8514672653727317228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184034262,"filename":"image_20112025_23_17_57_3849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/376be32185b4bbe65d1305a7156239a8.jpg","text":"TemporaryFile(/tmp/multipartBody8061552105643266319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184034262,"filename":"image_20112025_23_18_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/26/4d667570d4820a2f71e380ff94e4f7e3.jpg","text":"TemporaryFile(/tmp/multipartBody847275027043673445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184034262,"filename":"image_20112025_23_18_48_3727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396286182","file1":"1396286179","file0":"1396286177","file4":"1396286191","file5":"1396286194","file3":"1396286186"},"map_files_photo_id_array":[{"photo_id":"1396286194","filename":"file5"},{"photo_id":"1396286182","filename":"file2"},{"photo_id":"1396286191","filename":"file4"},{"photo_id":"1396286179","filename":"file1"},{"photo_id":"1396286177","filename":"file0"},{"photo_id":"1396286186","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396286194":["hashtag1","hashtag2"]},{"1396286182":["hashtag1","hashtag2"]},{"1396286179":["hashtag1","hashtag2"]},{"1396286177":["hashtag1","hashtag2"]},{"1396286186":["hashtag1","hashtag2"]},{"1396286191":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396286194, 1396286182, 1396286179, 1396286177, 1396286186, 1396286191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.87514901161194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:07:05.316273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/13/image_26112025_17_13_26_10634.jpg', '/home/pi/Desktop/images/26112025/17/13/image_26112025_17_13_36_9911.jpg', '/home/pi/Desktop/images/26112025/17/13/image_26112025_17_13_45_9669.jpg', '/home/pi/Desktop/images/26112025/17/13/image_26112025_17_13_55_9681.jpg', '/home/pi/Desktop/images/26112025/17/13/image_26112025_17_14_06_10569.jpg', '/home/pi/Desktop/images/26112025/17/14/image_26112025_17_14_15_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/13/image_26112025_17_13_26_10634.jpg
/home/pi/Desktop/images/26112025/17/13/image_26112025_17_13_36_9911.jpg
/home/pi/Desktop/images/26112025/17/13/image_26112025_17_13_45_9669.jpg
/home/pi/Desktop/images/26112025/17/13/image_26112025_17_13_55_9681.jpg
/home/pi/Desktop/images/26112025/17/13/image_26112025_17_14_06_10569.jpg
/home/pi/Desktop/images/26112025/17/14/image_26112025_17_14_15_9697.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":["1396286203","1396286199","1396286208","1396286211","1396286205","1396286201"],"photo_ids_order":["1396286199","1396286201","1396286203","1396286205","1396286208","1396286211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a7ce1e4d9dcada065f7ca7969930f4fc.jpg","text":"TemporaryFile(/tmp/multipartBody3516074603536576355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184088780,"filename":"image_26112025_17_13_45_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7a2a6cbe57d72a8c0776e7643cacaaf1.jpg","text":"TemporaryFile(/tmp/multipartBody8608748794377043159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184088780,"filename":"image_26112025_17_13_26_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/52941c50f31dc47fe1bfd3989b2a8f5a.jpg","text":"TemporaryFile(/tmp/multipartBody4319196017174895091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184088780,"filename":"image_26112025_17_14_06_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3c2bd1eb2b726750d3310c7bddf50e39.jpg","text":"TemporaryFile(/tmp/multipartBody1901424847235751191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184088780,"filename":"image_26112025_17_14_15_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fbd33d2cde97e0ce96a9da8cc403851b.jpg","text":"TemporaryFile(/tmp/multipartBody4373487186435814348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184088780,"filename":"image_26112025_17_13_55_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b9896c858f16ffebffef8218ed2b89f4.jpg","text":"TemporaryFile(/tmp/multipartBody2732752019141526027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184088780,"filename":"image_26112025_17_13_36_9911.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396286203","file1":"1396286201","file0":"1396286199","file4":"1396286208","file5":"1396286211","file3":"1396286205"},"map_files_photo_id_array":[{"photo_id":"1396286211","filename":"file5"},{"photo_id":"1396286203","filename":"file2"},{"photo_id":"1396286208","filename":"file4"},{"photo_id":"1396286201","filename":"file1"},{"photo_id":"1396286199","filename":"file0"},{"photo_id":"1396286205","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396286203":["hashtag1","hashtag2"]},{"1396286199":["hashtag1","hashtag2"]},{"1396286208":["hashtag1","hashtag2"]},{"1396286211":["hashtag1","hashtag2"]},{"1396286205":["hashtag1","hashtag2"]},{"1396286201":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396286203, 1396286199, 1396286208, 1396286211, 1396286205, 1396286201)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.50762987136841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:08:04.534349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/14/image_26112025_17_14_26_10570.jpg', '/home/pi/Desktop/images/26112025/17/14/image_26112025_17_14_36_9753.jpg', '/home/pi/Desktop/images/26112025/17/14/image_26112025_17_14_45_9747.jpg', '/home/pi/Desktop/images/26112025/17/14/image_26112025_17_14_55_9588.jpg', '/home/pi/Desktop/images/26112025/17/15/image_26112025_17_15_14_10059.jpg', '/home/pi/Desktop/images/26112025/17/15/image_26112025_17_15_25_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/14/image_26112025_17_14_26_10570.jpg
/home/pi/Desktop/images/26112025/17/14/image_26112025_17_14_36_9753.jpg
/home/pi/Desktop/images/26112025/17/14/image_26112025_17_14_45_9747.jpg
/home/pi/Desktop/images/26112025/17/14/image_26112025_17_14_55_9588.jpg
/home/pi/Desktop/images/26112025/17/15/image_26112025_17_15_14_10059.jpg
/home/pi/Desktop/images/26112025/17/15/image_26112025_17_15_25_10662.jpg
 val : 1 : upload photos already in processing! 
 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":["1396286257","1396286271","1396286291","1396286261","1396286285","1396286278"],"photo_ids_order":["1396286257","1396286261","1396286271","1396286278","1396286285","1396286291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/36e9cba6c4ca75c46e992f86b7ad2de3.jpg","text":"TemporaryFile(/tmp/multipartBody3963571335957418708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184149282,"filename":"image_26112025_17_14_26_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/011b086c735a8d7c1adf54f9df0c8455.jpg","text":"TemporaryFile(/tmp/multipartBody6488100929257555164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184149282,"filename":"image_26112025_17_14_45_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f05d89dbd56e6ef318c51b5f04f1cab4.jpg","text":"TemporaryFile(/tmp/multipartBody5049287085427475202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184149282,"filename":"image_26112025_17_15_25_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c454883066a003a8d98914fcdc3188a7.jpg","text":"TemporaryFile(/tmp/multipartBody5804233848184225657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184149282,"filename":"image_26112025_17_14_36_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/62a98392fbd21fe331e5d4931f5e059d.jpg","text":"TemporaryFile(/tmp/multipartBody7881320287971982875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184149282,"filename":"image_26112025_17_15_14_10059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/532e046fa68bed955d814ba809b13eaf.jpg","text":"TemporaryFile(/tmp/multipartBody2481465763071197288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184149282,"filename":"image_26112025_17_14_55_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396286271","file1":"1396286261","file0":"1396286257","file4":"1396286285","file5":"1396286291","file3":"1396286278"},"map_files_photo_id_array":[{"photo_id":"1396286291","filename":"file5"},{"photo_id":"1396286271","filename":"file2"},{"photo_id":"1396286285","filename":"file4"},{"photo_id":"1396286261","filename":"file1"},{"photo_id":"1396286257","filename":"file0"},{"photo_id":"1396286278","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396286257":["hashtag1","hashtag2"]},{"1396286271":["hashtag1","hashtag2"]},{"1396286291":["hashtag1","hashtag2"]},{"1396286261":["hashtag1","hashtag2"]},{"1396286285":["hashtag1","hashtag2"]},{"1396286278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396286257, 1396286271, 1396286291, 1396286261, 1396286285, 1396286278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24841260910034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:09:03.700256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/15/image_26112025_17_15_35_9645.jpg', '/home/pi/Desktop/images/26112025/17/15/image_26112025_17_15_44_9661.jpg', '/home/pi/Desktop/images/26112025/17/15/image_26112025_17_15_55_10689.jpg', '/home/pi/Desktop/images/26112025/17/15/image_26112025_17_16_05_9763.jpg', '/home/pi/Desktop/images/26112025/17/16/image_26112025_17_16_15_9724.jpg', '/home/pi/Desktop/images/26112025/17/16/image_26112025_17_16_24_9859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/15/image_26112025_17_15_35_9645.jpg
/home/pi/Desktop/images/26112025/17/15/image_26112025_17_15_44_9661.jpg
/home/pi/Desktop/images/26112025/17/15/image_26112025_17_15_55_10689.jpg
/home/pi/Desktop/images/26112025/17/15/image_26112025_17_16_05_9763.jpg
/home/pi/Desktop/images/26112025/17/16/image_26112025_17_16_15_9724.jpg
/home/pi/Desktop/images/26112025/17/16/image_26112025_17_16_24_9859.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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396286326","1396286311","1396286308","1396286307","1396286316","1396286321"],"photo_ids_order":["1396286307","1396286308","1396286311","1396286316","1396286321","1396286326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9c8dc2e76584564a85ccb96c5271e088.jpg","text":"TemporaryFile(/tmp/multipartBody3639821147518673206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184207046,"filename":"image_26112025_17_16_24_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a87c8ea90171e9f1e196a027dbf5f314.jpg","text":"TemporaryFile(/tmp/multipartBody1029519346207222353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184207046,"filename":"image_26112025_17_15_55_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d774ec8c2b0b89098af61ca16d949b12.jpg","text":"TemporaryFile(/tmp/multipartBody1161977304968934895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184207046,"filename":"image_26112025_17_15_44_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4f5e59e3ec51080b6818c3536ab750f5.jpg","text":"TemporaryFile(/tmp/multipartBody8405263916495049140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184207046,"filename":"image_26112025_17_15_35_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b9ea1768c85be4cc35937473f920b67b.jpg","text":"TemporaryFile(/tmp/multipartBody3110368430048420773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184207046,"filename":"image_26112025_17_16_05_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b061b98722f98f61b81e07fc85003316.jpg","text":"TemporaryFile(/tmp/multipartBody7988742580293485762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184207046,"filename":"image_26112025_17_16_15_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396286311","file1":"1396286308","file0":"1396286307","file4":"1396286321","file5":"1396286326","file3":"1396286316"},"map_files_photo_id_array":[{"photo_id":"1396286326","filename":"file5"},{"photo_id":"1396286311","filename":"file2"},{"photo_id":"1396286321","filename":"file4"},{"photo_id":"1396286308","filename":"file1"},{"photo_id":"1396286307","filename":"file0"},{"photo_id":"1396286316","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396286326":["hashtag1","hashtag2"]},{"1396286311":["hashtag1","hashtag2"]},{"1396286308":["hashtag1","hashtag2"]},{"1396286307":["hashtag1","hashtag2"]},{"1396286316":["hashtag1","hashtag2"]},{"1396286321":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396286326, 1396286311, 1396286308, 1396286307, 1396286316, 1396286321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.060402154922485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:10:03.015488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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 --only_old 1
2025-11-26 20:10:12.626644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/19/image_20112025_23_19_15_3776.jpg', '/home/pi/Desktop/images/20112025/23/19/image_20112025_23_19_18_2919.jpg', '/home/pi/Desktop/images/20112025/23/19/image_20112025_23_19_20_2676.jpg', '/home/pi/Desktop/images/20112025/23/19/image_20112025_23_19_23_2744.jpg', '/home/pi/Desktop/images/20112025/23/19/image_20112025_23_19_26_2728.jpg', '/home/pi/Desktop/images/20112025/23/19/image_20112025_23_19_30_3741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/19/image_20112025_23_19_15_3776.jpg
/home/pi/Desktop/images/20112025/23/19/image_20112025_23_19_18_2919.jpg
/home/pi/Desktop/images/20112025/23/19/image_20112025_23_19_20_2676.jpg
/home/pi/Desktop/images/20112025/23/19/image_20112025_23_19_23_2744.jpg
/home/pi/Desktop/images/20112025/23/19/image_20112025_23_19_26_2728.jpg
/home/pi/Desktop/images/20112025/23/19/image_20112025_23_19_30_3741.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":["1396286386","1396286389","1396286380","1396286366","1396286383","1396286377"],"photo_ids_order":["1396286366","1396286377","1396286380","1396286383","1396286386","1396286389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/71530a5752be25bf7b52749ffe4d2a5c.jpg","text":"TemporaryFile(/tmp/multipartBody732529676844044926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184276361,"filename":"image_20112025_23_19_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/26/f1b42978334d6081fc797490e43cfe05.jpg","text":"TemporaryFile(/tmp/multipartBody3499060294110393584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184276361,"filename":"image_20112025_23_19_30_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/26/a6b4316962705bd4c1f6bce0cf4c0487.jpg","text":"TemporaryFile(/tmp/multipartBody4927624083601770910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184276361,"filename":"image_20112025_23_19_20_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/26/0f4ac814ac2f75e23bd77537cdb90c1a.jpg","text":"TemporaryFile(/tmp/multipartBody2500123963017653625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184276361,"filename":"image_20112025_23_19_15_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/26/94a7740edbaf319939695f3c4e1c0563.jpg","text":"TemporaryFile(/tmp/multipartBody165605548464055217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184276361,"filename":"image_20112025_23_19_23_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/26/8fd6212bb8a604aa8b898cb000030f9a.jpg","text":"TemporaryFile(/tmp/multipartBody6416129149074879165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184276361,"filename":"image_20112025_23_19_18_2919.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396286380","file1":"1396286377","file0":"1396286366","file4":"1396286386","file5":"1396286389","file3":"1396286383"},"map_files_photo_id_array":[{"photo_id":"1396286389","filename":"file5"},{"photo_id":"1396286380","filename":"file2"},{"photo_id":"1396286386","filename":"file4"},{"photo_id":"1396286377","filename":"file1"},{"photo_id":"1396286366","filename":"file0"},{"photo_id":"1396286383","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396286386":["hashtag1","hashtag2"]},{"1396286389":["hashtag1","hashtag2"]},{"1396286380":["hashtag1","hashtag2"]},{"1396286366":["hashtag1","hashtag2"]},{"1396286383":["hashtag1","hashtag2"]},{"1396286377":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396286386, 1396286389, 1396286380, 1396286366, 1396286383, 1396286377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.584267139434814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:11:02.475380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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 --only_old 1
2025-11-26 20:11:11.986712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/19/image_20112025_23_19_35_2700.jpg', '/home/pi/Desktop/images/20112025/23/19/image_20112025_23_19_39_3568.jpg', '/home/pi/Desktop/images/20112025/23/19/image_20112025_23_19_50_2826.jpg', '/home/pi/Desktop/images/20112025/23/19/image_20112025_23_19_53_2628.jpg', '/home/pi/Desktop/images/20112025/23/19/image_20112025_23_19_56_2933.jpg', '/home/pi/Desktop/images/20112025/23/19/image_20112025_23_19_59_3019.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/19/image_20112025_23_19_35_2700.jpg
/home/pi/Desktop/images/20112025/23/19/image_20112025_23_19_39_3568.jpg
/home/pi/Desktop/images/20112025/23/19/image_20112025_23_19_50_2826.jpg
/home/pi/Desktop/images/20112025/23/19/image_20112025_23_19_53_2628.jpg
/home/pi/Desktop/images/20112025/23/19/image_20112025_23_19_56_2933.jpg
/home/pi/Desktop/images/20112025/23/19/image_20112025_23_19_59_3019.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":["1396286464","1396286548","1396286427","1396286502","1396286477","1396286519"],"photo_ids_order":["1396286427","1396286464","1396286477","1396286502","1396286519","1396286548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b5f6b01247897e7d7fd05058d95d7e0d.jpg","text":"TemporaryFile(/tmp/multipartBody2671520708839870363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184335240,"filename":"image_20112025_23_19_39_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/26/a714fa10c490a1a1ab61f5a9be07c3da.jpg","text":"TemporaryFile(/tmp/multipartBody7915721222337334466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184335240,"filename":"image_20112025_23_19_59_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/26/4f7c873a0aac6f31ef66a2298361e4df.jpg","text":"TemporaryFile(/tmp/multipartBody5334420430062045840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184335240,"filename":"image_20112025_23_19_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/26/0e43f120ef7e55a760f1fe97804f0685.jpg","text":"TemporaryFile(/tmp/multipartBody1939940510843216833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184335240,"filename":"image_20112025_23_19_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/26/edb08986c1c6324095f6217ec38e1c1f.jpg","text":"TemporaryFile(/tmp/multipartBody5442976610445025580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184335240,"filename":"image_20112025_23_19_50_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/26/9482e5123b1c50f7fcd37387d5b8c4cb.jpg","text":"TemporaryFile(/tmp/multipartBody4836118430610398334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184335240,"filename":"image_20112025_23_19_56_2933.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396286477","file1":"1396286464","file0":"1396286427","file4":"1396286519","file5":"1396286548","file3":"1396286502"},"map_files_photo_id_array":[{"photo_id":"1396286548","filename":"file5"},{"photo_id":"1396286477","filename":"file2"},{"photo_id":"1396286519","filename":"file4"},{"photo_id":"1396286464","filename":"file1"},{"photo_id":"1396286427","filename":"file0"},{"photo_id":"1396286502","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396286464":["hashtag1","hashtag2"]},{"1396286548":["hashtag1","hashtag2"]},{"1396286427":["hashtag1","hashtag2"]},{"1396286502":["hashtag1","hashtag2"]},{"1396286477":["hashtag1","hashtag2"]},{"1396286519":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396286464, 1396286548, 1396286427, 1396286502, 1396286477, 1396286519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.85263633728027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:12:02.725260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/16/image_26112025_17_16_35_10542.jpg', '/home/pi/Desktop/images/26112025/17/16/image_26112025_17_16_45_9589.jpg', '/home/pi/Desktop/images/26112025/17/16/image_26112025_17_16_55_10717.jpg', '/home/pi/Desktop/images/26112025/17/16/image_26112025_17_17_05_9894.jpg', '/home/pi/Desktop/images/26112025/17/17/image_26112025_17_17_15_9713.jpg', '/home/pi/Desktop/images/26112025/17/17/image_26112025_17_17_25_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/16/image_26112025_17_16_35_10542.jpg
/home/pi/Desktop/images/26112025/17/16/image_26112025_17_16_45_9589.jpg
/home/pi/Desktop/images/26112025/17/16/image_26112025_17_16_55_10717.jpg
/home/pi/Desktop/images/26112025/17/16/image_26112025_17_17_05_9894.jpg
/home/pi/Desktop/images/26112025/17/17/image_26112025_17_17_15_9713.jpg
/home/pi/Desktop/images/26112025/17/17/image_26112025_17_17_25_9738.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":["1396286590","1396286598","1396286601","1396286591","1396286594","1396286596"],"photo_ids_order":["1396286590","1396286591","1396286594","1396286596","1396286598","1396286601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8a5fc1cdf6c877550bdef2aeddeb7563.jpg","text":"TemporaryFile(/tmp/multipartBody3709933716564018307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184383466,"filename":"image_26112025_17_16_35_10542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5f73441acb9a34ad2cdefd10e3be2354.jpg","text":"TemporaryFile(/tmp/multipartBody5905665244031641799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184383466,"filename":"image_26112025_17_17_15_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a4fb072bd87f7c3221a901e81d29ee92.jpg","text":"TemporaryFile(/tmp/multipartBody6216769969873423263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184383466,"filename":"image_26112025_17_17_25_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7f4554ad697f09608cac099797ed2348.jpg","text":"TemporaryFile(/tmp/multipartBody3019270570405947670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184383466,"filename":"image_26112025_17_16_45_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a49f5d4cc0bd437bff579af70d954d37.jpg","text":"TemporaryFile(/tmp/multipartBody4858734874310351396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184383466,"filename":"image_26112025_17_16_55_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0063ce8b93226dbfeb24690c0b74510e.jpg","text":"TemporaryFile(/tmp/multipartBody4003572140567464537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184383466,"filename":"image_26112025_17_17_05_9894.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396286594","file1":"1396286591","file0":"1396286590","file4":"1396286598","file5":"1396286601","file3":"1396286596"},"map_files_photo_id_array":[{"photo_id":"1396286601","filename":"file5"},{"photo_id":"1396286594","filename":"file2"},{"photo_id":"1396286598","filename":"file4"},{"photo_id":"1396286591","filename":"file1"},{"photo_id":"1396286590","filename":"file0"},{"photo_id":"1396286596","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396286590":["hashtag1","hashtag2"]},{"1396286598":["hashtag1","hashtag2"]},{"1396286601":["hashtag1","hashtag2"]},{"1396286591":["hashtag1","hashtag2"]},{"1396286594":["hashtag1","hashtag2"]},{"1396286596":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396286590, 1396286598, 1396286601, 1396286591, 1396286594, 1396286596)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.18215322494507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:13:03.375517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/17/image_26112025_17_17_34_9765.jpg', '/home/pi/Desktop/images/26112025/17/17/image_26112025_17_17_45_10865.jpg', '/home/pi/Desktop/images/26112025/17/17/image_26112025_17_17_55_9899.jpg', '/home/pi/Desktop/images/26112025/17/17/image_26112025_17_18_05_9567.jpg', '/home/pi/Desktop/images/26112025/17/18/image_26112025_17_18_14_9735.jpg', '/home/pi/Desktop/images/26112025/17/18/image_26112025_17_18_25_10821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/17/image_26112025_17_17_34_9765.jpg
/home/pi/Desktop/images/26112025/17/17/image_26112025_17_17_45_10865.jpg
/home/pi/Desktop/images/26112025/17/17/image_26112025_17_17_55_9899.jpg
/home/pi/Desktop/images/26112025/17/17/image_26112025_17_18_05_9567.jpg
/home/pi/Desktop/images/26112025/17/18/image_26112025_17_18_14_9735.jpg
/home/pi/Desktop/images/26112025/17/18/image_26112025_17_18_25_10821.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":["1396286740","1396286754","1396286742","1396286745","1396286750","1396286747"],"photo_ids_order":["1396286740","1396286742","1396286745","1396286747","1396286750","1396286754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6544fa1a94223dfa2c450c0e5ec46c49.jpg","text":"TemporaryFile(/tmp/multipartBody3247109293071532624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184444143,"filename":"image_26112025_17_17_34_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8a73d05aff60d09ead982af15734fdb7.jpg","text":"TemporaryFile(/tmp/multipartBody8746223010342402478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184444143,"filename":"image_26112025_17_18_25_10821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9b552464d7efa27abf2a0dfab5b42dcf.jpg","text":"TemporaryFile(/tmp/multipartBody1297008444555271529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184444143,"filename":"image_26112025_17_17_45_10865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/857539177f41ab826fa8ffcaaff686dd.jpg","text":"TemporaryFile(/tmp/multipartBody3685698082963470941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184444143,"filename":"image_26112025_17_17_55_9899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dc0894597a09d0289a1590c44a624927.jpg","text":"TemporaryFile(/tmp/multipartBody8618465842004563347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184444143,"filename":"image_26112025_17_18_14_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/76ef4829733fa3b4333851152c967c16.jpg","text":"TemporaryFile(/tmp/multipartBody7638045817380368777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184444143,"filename":"image_26112025_17_18_05_9567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396286745","file1":"1396286742","file0":"1396286740","file4":"1396286750","file5":"1396286754","file3":"1396286747"},"map_files_photo_id_array":[{"photo_id":"1396286754","filename":"file5"},{"photo_id":"1396286745","filename":"file2"},{"photo_id":"1396286750","filename":"file4"},{"photo_id":"1396286742","filename":"file1"},{"photo_id":"1396286740","filename":"file0"},{"photo_id":"1396286747","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396286740":["hashtag1","hashtag2"]},{"1396286754":["hashtag1","hashtag2"]},{"1396286742":["hashtag1","hashtag2"]},{"1396286745":["hashtag1","hashtag2"]},{"1396286750":["hashtag1","hashtag2"]},{"1396286747":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396286740, 1396286754, 1396286742, 1396286745, 1396286750, 1396286747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.924482583999634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 20:13:42.696515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/20/image_30102025_20_20_45_3649.jpg', '/home/pi/Desktop/images/30102025/20/20/image_30102025_20_20_52_3567.jpg', '/home/pi/Desktop/images/30102025/20/20/image_30102025_20_20_54_2710.jpg', '/home/pi/Desktop/images/30102025/20/20/image_30102025_20_20_57_2623.jpg', '/home/pi/Desktop/images/30102025/20/20/image_30102025_20_21_01_3711.jpg', '/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_03_2797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/20/image_30102025_20_20_45_3649.jpg
/home/pi/Desktop/images/30102025/20/20/image_30102025_20_20_52_3567.jpg
/home/pi/Desktop/images/30102025/20/20/image_30102025_20_20_54_2710.jpg
/home/pi/Desktop/images/30102025/20/20/image_30102025_20_20_57_2623.jpg
/home/pi/Desktop/images/30102025/20/20/image_30102025_20_21_01_3711.jpg
/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_03_2797.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":["1396286778","1396286766","1396286775","1396286774","1396286768","1396286773"],"photo_ids_order":["1396286766","1396286768","1396286773","1396286774","1396286775","1396286778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a2a6e6b8b31c420753379af3b8b9696c.jpg","text":"TemporaryFile(/tmp/multipartBody332757935649554386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184484218,"filename":"image_30102025_20_21_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/26/b140a441f45e8fb574c61ce1f450e866.jpg","text":"TemporaryFile(/tmp/multipartBody134984619525239391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184484218,"filename":"image_30102025_20_20_45_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/26/4f396e2d920f935080d01c9e987f1c4e.jpg","text":"TemporaryFile(/tmp/multipartBody5352073119938536885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184484218,"filename":"image_30102025_20_21_01_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/26/e756a19aea311f39cfd26223512b4bdb.jpg","text":"TemporaryFile(/tmp/multipartBody3681461793071214476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184484218,"filename":"image_30102025_20_20_57_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/26/be2c0fa6bd067eda8028ff7fdbd6d990.jpg","text":"TemporaryFile(/tmp/multipartBody3950867899811043863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184484218,"filename":"image_30102025_20_20_52_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/26/043cd0dc27681a92100a599beb6bc4e9.jpg","text":"TemporaryFile(/tmp/multipartBody5065757835744435954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184484218,"filename":"image_30102025_20_20_54_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396286773","file1":"1396286768","file0":"1396286766","file4":"1396286775","file5":"1396286778","file3":"1396286774"},"map_files_photo_id_array":[{"photo_id":"1396286778","filename":"file5"},{"photo_id":"1396286773","filename":"file2"},{"photo_id":"1396286775","filename":"file4"},{"photo_id":"1396286768","filename":"file1"},{"photo_id":"1396286766","filename":"file0"},{"photo_id":"1396286774","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396286778":["hashtag1","hashtag2"]},{"1396286766":["hashtag1","hashtag2"]},{"1396286775":["hashtag1","hashtag2"]},{"1396286774":["hashtag1","hashtag2"]},{"1396286768":["hashtag1","hashtag2"]},{"1396286773":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396286778, 1396286766, 1396286775, 1396286774, 1396286768, 1396286773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3256778717041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 20:14:26.851349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/18/image_26112025_17_18_35_9666.jpg', '/home/pi/Desktop/images/26112025/17/18/image_26112025_17_18_45_9702.jpg', '/home/pi/Desktop/images/26112025/17/18/image_26112025_17_18_55_9882.jpg', '/home/pi/Desktop/images/26112025/17/18/image_26112025_17_19_05_10772.jpg', '/home/pi/Desktop/images/26112025/17/19/image_26112025_17_19_15_9746.jpg', '/home/pi/Desktop/images/26112025/17/19/image_26112025_17_19_25_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/18/image_26112025_17_18_35_9666.jpg
/home/pi/Desktop/images/26112025/17/18/image_26112025_17_18_45_9702.jpg
/home/pi/Desktop/images/26112025/17/18/image_26112025_17_18_55_9882.jpg
/home/pi/Desktop/images/26112025/17/18/image_26112025_17_19_05_10772.jpg
/home/pi/Desktop/images/26112025/17/19/image_26112025_17_19_15_9746.jpg
/home/pi/Desktop/images/26112025/17/19/image_26112025_17_19_25_9782.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":["1396286943","1396286831","1396286909","1396286791","1396286872","1396286794"],"photo_ids_order":["1396286791","1396286794","1396286831","1396286872","1396286909","1396286943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fb53296580b8846181e85eb2d052cb55.jpg","text":"TemporaryFile(/tmp/multipartBody3375776559989797725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184529816,"filename":"image_26112025_17_19_25_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9ecda44bee26754c9dd6960279bf13a5.jpg","text":"TemporaryFile(/tmp/multipartBody4072835019102934069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184529816,"filename":"image_26112025_17_18_55_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7681a687badbe4c83e1fdbf7044aa6a5.jpg","text":"TemporaryFile(/tmp/multipartBody2238760067707907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184529816,"filename":"image_26112025_17_19_15_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/32f225ada9de2bfff698a349f5c32165.jpg","text":"TemporaryFile(/tmp/multipartBody1492560523100761244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184529816,"filename":"image_26112025_17_18_35_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5260c8412b05976334ae1a22b9e9f57b.jpg","text":"TemporaryFile(/tmp/multipartBody505002206527299102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184529816,"filename":"image_26112025_17_19_05_10772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/83a58ed3055b4f72b66ab3a81ee480dc.jpg","text":"TemporaryFile(/tmp/multipartBody2443295503016637367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184529816,"filename":"image_26112025_17_18_45_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396286831","file1":"1396286794","file0":"1396286791","file4":"1396286909","file5":"1396286943","file3":"1396286872"},"map_files_photo_id_array":[{"photo_id":"1396286943","filename":"file5"},{"photo_id":"1396286831","filename":"file2"},{"photo_id":"1396286909","filename":"file4"},{"photo_id":"1396286794","filename":"file1"},{"photo_id":"1396286791","filename":"file0"},{"photo_id":"1396286872","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396286943":["hashtag1","hashtag2"]},{"1396286831":["hashtag1","hashtag2"]},{"1396286909":["hashtag1","hashtag2"]},{"1396286791":["hashtag1","hashtag2"]},{"1396286872":["hashtag1","hashtag2"]},{"1396286794":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396286943, 1396286831, 1396286909, 1396286791, 1396286872, 1396286794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46096634864807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 20:15:12.041200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/20/image_20112025_23_20_24_16207.jpg', '/home/pi/Desktop/images/20112025/23/20/image_20112025_23_20_26_1711.jpg', '/home/pi/Desktop/images/20112025/23/20/image_20112025_23_20_33_1744.jpg', '/home/pi/Desktop/images/20112025/23/20/image_20112025_23_20_36_1767.jpg', '/home/pi/Desktop/images/20112025/23/20/image_20112025_23_20_44_2755.jpg', '/home/pi/Desktop/images/20112025/23/20/image_20112025_23_20_53_3631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/20/image_20112025_23_20_24_16207.jpg
/home/pi/Desktop/images/20112025/23/20/image_20112025_23_20_26_1711.jpg
/home/pi/Desktop/images/20112025/23/20/image_20112025_23_20_33_1744.jpg
/home/pi/Desktop/images/20112025/23/20/image_20112025_23_20_36_1767.jpg
/home/pi/Desktop/images/20112025/23/20/image_20112025_23_20_44_2755.jpg
/home/pi/Desktop/images/20112025/23/20/image_20112025_23_20_53_3631.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":["1396287177","1396287171","1396287129","1396287163","1396287166","1396287175"],"photo_ids_order":["1396287129","1396287163","1396287166","1396287171","1396287175","1396287177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3f1c7f9408e4978039ff4bfd80d93db5.jpg","text":"TemporaryFile(/tmp/multipartBody1888480599385115759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184573901,"filename":"image_20112025_23_20_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/26/beb31a57b7c43c720afa99a3439b4efb.jpg","text":"TemporaryFile(/tmp/multipartBody5929401435483213112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184573901,"filename":"image_20112025_23_20_36_1767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/44150d476a4714a8d8ff6f0fe8425b41.jpg","text":"TemporaryFile(/tmp/multipartBody646120744350119817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184573901,"filename":"image_20112025_23_20_24_16207.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3c0d6850140ac7cc3c829932203bdf0c.jpg","text":"TemporaryFile(/tmp/multipartBody3192584046372669955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184573901,"filename":"image_20112025_23_20_26_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/26/cb6e64540642c2194b2d143b0869f722.jpg","text":"TemporaryFile(/tmp/multipartBody2918615053566595537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184573901,"filename":"image_20112025_23_20_33_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/26/bd8df1f88c7a066be520c7866081697e.jpg","text":"TemporaryFile(/tmp/multipartBody4202685056831986946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184573901,"filename":"image_20112025_23_20_44_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396287166","file1":"1396287163","file0":"1396287129","file4":"1396287175","file5":"1396287177","file3":"1396287171"},"map_files_photo_id_array":[{"photo_id":"1396287177","filename":"file5"},{"photo_id":"1396287166","filename":"file2"},{"photo_id":"1396287175","filename":"file4"},{"photo_id":"1396287163","filename":"file1"},{"photo_id":"1396287129","filename":"file0"},{"photo_id":"1396287171","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396287177":["hashtag1","hashtag2"]},{"1396287171":["hashtag1","hashtag2"]},{"1396287129":["hashtag1","hashtag2"]},{"1396287163":["hashtag1","hashtag2"]},{"1396287166":["hashtag1","hashtag2"]},{"1396287175":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396287177, 1396287171, 1396287129, 1396287163, 1396287166, 1396287175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14749526977539 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:16:02.524483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/19/image_26112025_17_19_34_9592.jpg', '/home/pi/Desktop/images/26112025/17/19/image_26112025_17_19_45_10871.jpg', '/home/pi/Desktop/images/26112025/17/19/image_26112025_17_19_55_9599.jpg', '/home/pi/Desktop/images/26112025/17/20/image_26112025_17_20_15_10060.jpg', '/home/pi/Desktop/images/26112025/17/20/image_26112025_17_20_26_10874.jpg', '/home/pi/Desktop/images/26112025/17/20/image_26112025_17_20_36_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/19/image_26112025_17_19_34_9592.jpg
/home/pi/Desktop/images/26112025/17/19/image_26112025_17_19_45_10871.jpg
/home/pi/Desktop/images/26112025/17/19/image_26112025_17_19_55_9599.jpg
/home/pi/Desktop/images/26112025/17/20/image_26112025_17_20_15_10060.jpg
/home/pi/Desktop/images/26112025/17/20/image_26112025_17_20_26_10874.jpg
/home/pi/Desktop/images/26112025/17/20/image_26112025_17_20_36_9757.jpg
 val : 1 : upload photos already in processing! 
 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":["1396287238","1396287186","1396287227","1396287215","1396287209","1396287184"],"photo_ids_order":["1396287184","1396287186","1396287209","1396287215","1396287227","1396287238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ac0ce8559de99d9f7066bb5d332233e1.jpg","text":"TemporaryFile(/tmp/multipartBody4100945022583825433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184628080,"filename":"image_26112025_17_20_36_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/10735155afb5c5ccb95a352d974ead31.jpg","text":"TemporaryFile(/tmp/multipartBody3365770566193241590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184628080,"filename":"image_26112025_17_19_45_10871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e6dce085e36382c28a0408fae7dba01b.jpg","text":"TemporaryFile(/tmp/multipartBody8900767036529585686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184628080,"filename":"image_26112025_17_20_26_10874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aa1d366e5d910ffc05216c2bbf20a14c.jpg","text":"TemporaryFile(/tmp/multipartBody5559309640836092159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184628080,"filename":"image_26112025_17_20_15_10060.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ca898c6b30bfb056f965d41c965bc3b2.jpg","text":"TemporaryFile(/tmp/multipartBody5532630413406848191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184628080,"filename":"image_26112025_17_19_55_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a435956d7cd6d2480c23d6a3fabf7ea5.jpg","text":"TemporaryFile(/tmp/multipartBody1614033960779187220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184628080,"filename":"image_26112025_17_19_34_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396287209","file1":"1396287186","file0":"1396287184","file4":"1396287227","file5":"1396287238","file3":"1396287215"},"map_files_photo_id_array":[{"photo_id":"1396287238","filename":"file5"},{"photo_id":"1396287209","filename":"file2"},{"photo_id":"1396287227","filename":"file4"},{"photo_id":"1396287186","filename":"file1"},{"photo_id":"1396287184","filename":"file0"},{"photo_id":"1396287215","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396287238":["hashtag1","hashtag2"]},{"1396287186":["hashtag1","hashtag2"]},{"1396287227":["hashtag1","hashtag2"]},{"1396287215":["hashtag1","hashtag2"]},{"1396287209":["hashtag1","hashtag2"]},{"1396287184":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396287238, 1396287186, 1396287227, 1396287215, 1396287209, 1396287184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.96749520301819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:17:02.849914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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 --only_old 1
2025-11-26 20:17:12.171959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 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-26 20:17:23.536485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/20/image_26112025_17_20_45_9680.jpg', '/home/pi/Desktop/images/26112025/17/20/image_26112025_17_20_56_10593.jpg', '/home/pi/Desktop/images/26112025/17/20/image_26112025_17_21_06_9694.jpg', '/home/pi/Desktop/images/26112025/17/21/image_26112025_17_21_15_9698.jpg', '/home/pi/Desktop/images/26112025/17/21/image_26112025_17_21_25_9665.jpg', '/home/pi/Desktop/images/26112025/17/21/image_26112025_17_21_36_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/20/image_26112025_17_20_45_9680.jpg
/home/pi/Desktop/images/26112025/17/20/image_26112025_17_20_56_10593.jpg
/home/pi/Desktop/images/26112025/17/20/image_26112025_17_21_06_9694.jpg
/home/pi/Desktop/images/26112025/17/21/image_26112025_17_21_15_9698.jpg
/home/pi/Desktop/images/26112025/17/21/image_26112025_17_21_25_9665.jpg
/home/pi/Desktop/images/26112025/17/21/image_26112025_17_21_36_10693.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":["1396287412","1396287399","1396287426","1396287408","1396287416","1396287404"],"photo_ids_order":["1396287399","1396287404","1396287408","1396287412","1396287416","1396287426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1225aeed38702e858dbf478db54d0c2b.jpg","text":"TemporaryFile(/tmp/multipartBody984821909820688360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184704209,"filename":"image_26112025_17_21_15_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/efece8b5d8b7d97fc56840e5141b9d52.jpg","text":"TemporaryFile(/tmp/multipartBody928327642156405137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184704209,"filename":"image_26112025_17_20_45_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8aa7ab5d419e019a869777b2bbdc31f9.jpg","text":"TemporaryFile(/tmp/multipartBody5509567923737618641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184704209,"filename":"image_26112025_17_21_36_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/79ec1e0b85c7bc0a111121833595d2bf.jpg","text":"TemporaryFile(/tmp/multipartBody6960072309446445694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184704209,"filename":"image_26112025_17_21_06_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/24238c51830cfe04605009db3618e6ed.jpg","text":"TemporaryFile(/tmp/multipartBody8072180762680227913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184704209,"filename":"image_26112025_17_21_25_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c7b2ef4b9c9651c9d88591c2b98f41a0.jpg","text":"TemporaryFile(/tmp/multipartBody5721952968209815072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184704209,"filename":"image_26112025_17_20_56_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396287408","file1":"1396287404","file0":"1396287399","file4":"1396287416","file5":"1396287426","file3":"1396287412"},"map_files_photo_id_array":[{"photo_id":"1396287426","filename":"file5"},{"photo_id":"1396287408","filename":"file2"},{"photo_id":"1396287416","filename":"file4"},{"photo_id":"1396287404","filename":"file1"},{"photo_id":"1396287399","filename":"file0"},{"photo_id":"1396287412","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396287412":["hashtag1","hashtag2"]},{"1396287399":["hashtag1","hashtag2"]},{"1396287426":["hashtag1","hashtag2"]},{"1396287408":["hashtag1","hashtag2"]},{"1396287416":["hashtag1","hashtag2"]},{"1396287404":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396287412, 1396287399, 1396287426, 1396287408, 1396287416, 1396287404)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.971510887145996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 20:18:13.289483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/21/image_20112025_23_21_15_3725.jpg', '/home/pi/Desktop/images/20112025/23/21/image_20112025_23_21_26_2808.jpg', '/home/pi/Desktop/images/20112025/23/21/image_20112025_23_21_29_3664.jpg', '/home/pi/Desktop/images/20112025/23/21/image_20112025_23_21_41_2626.jpg', '/home/pi/Desktop/images/20112025/23/21/image_20112025_23_21_47_2856.jpg', '/home/pi/Desktop/images/20112025/23/22/image_20112025_23_22_02_3714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/21/image_20112025_23_21_15_3725.jpg
/home/pi/Desktop/images/20112025/23/21/image_20112025_23_21_26_2808.jpg
/home/pi/Desktop/images/20112025/23/21/image_20112025_23_21_29_3664.jpg
/home/pi/Desktop/images/20112025/23/21/image_20112025_23_21_41_2626.jpg
/home/pi/Desktop/images/20112025/23/21/image_20112025_23_21_47_2856.jpg
/home/pi/Desktop/images/20112025/23/22/image_20112025_23_22_02_3714.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":["1396287450","1396287446","1396287440","1396287434","1396287443","1396287437"],"photo_ids_order":["1396287434","1396287437","1396287440","1396287443","1396287446","1396287450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/423b02a07a83a2735e237be3c9bd9d7a.jpg","text":"TemporaryFile(/tmp/multipartBody1994193814157159516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184756283,"filename":"image_20112025_23_22_02_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/26/1b001f3557d4c62c08ab6fa10a9f543f.jpg","text":"TemporaryFile(/tmp/multipartBody2514853394158553907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184756283,"filename":"image_20112025_23_21_47_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/26/647395aade58469ff65cc8f348467da3.jpg","text":"TemporaryFile(/tmp/multipartBody4762939970224435399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184756283,"filename":"image_20112025_23_21_29_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/26/9eaec5770ae924e2087ff0716430b887.jpg","text":"TemporaryFile(/tmp/multipartBody3164570058568165505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184756283,"filename":"image_20112025_23_21_15_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/26/41b48dddcd2d4f923ba0dd4ed2ee227f.jpg","text":"TemporaryFile(/tmp/multipartBody1024447754203401654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184756283,"filename":"image_20112025_23_21_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/26/22e1f5235a9276353d81d6089029a6bd.jpg","text":"TemporaryFile(/tmp/multipartBody7892704183546085956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184756283,"filename":"image_20112025_23_21_26_2808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396287440","file1":"1396287437","file0":"1396287434","file4":"1396287446","file5":"1396287450","file3":"1396287443"},"map_files_photo_id_array":[{"photo_id":"1396287450","filename":"file5"},{"photo_id":"1396287440","filename":"file2"},{"photo_id":"1396287446","filename":"file4"},{"photo_id":"1396287437","filename":"file1"},{"photo_id":"1396287434","filename":"file0"},{"photo_id":"1396287443","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396287450":["hashtag1","hashtag2"]},{"1396287446":["hashtag1","hashtag2"]},{"1396287440":["hashtag1","hashtag2"]},{"1396287434":["hashtag1","hashtag2"]},{"1396287443":["hashtag1","hashtag2"]},{"1396287437":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396287450, 1396287446, 1396287440, 1396287434, 1396287443, 1396287437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.05993461608887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:19:04.116297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/21/image_26112025_17_21_45_9651.jpg', '/home/pi/Desktop/images/26112025/17/21/image_26112025_17_21_55_9695.jpg', '/home/pi/Desktop/images/26112025/17/21/image_26112025_17_22_06_10629.jpg', '/home/pi/Desktop/images/26112025/17/22/image_26112025_17_22_15_9715.jpg', '/home/pi/Desktop/images/26112025/17/22/image_26112025_17_22_25_9747.jpg', '/home/pi/Desktop/images/26112025/17/22/image_26112025_17_22_36_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/21/image_26112025_17_21_45_9651.jpg
/home/pi/Desktop/images/26112025/17/21/image_26112025_17_21_55_9695.jpg
/home/pi/Desktop/images/26112025/17/21/image_26112025_17_22_06_10629.jpg
/home/pi/Desktop/images/26112025/17/22/image_26112025_17_22_15_9715.jpg
/home/pi/Desktop/images/26112025/17/22/image_26112025_17_22_25_9747.jpg
/home/pi/Desktop/images/26112025/17/22/image_26112025_17_22_36_10618.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":["1396287471","1396287468","1396287464","1396287458","1396287461","1396287455"],"photo_ids_order":["1396287455","1396287458","1396287461","1396287464","1396287468","1396287471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b386e727a05a56caeb0f5c952a4f0b8f.jpg","text":"TemporaryFile(/tmp/multipartBody1614367699087551146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184807551,"filename":"image_26112025_17_22_36_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e3275ecb80199e6cbd2444b24534d224.jpg","text":"TemporaryFile(/tmp/multipartBody7044313920944405911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184807551,"filename":"image_26112025_17_22_25_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b342b138574da575df6d83f7549408d6.jpg","text":"TemporaryFile(/tmp/multipartBody7731621741422737432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184807551,"filename":"image_26112025_17_22_15_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/00044d6c3f9a4085dc0b1c4b05e22187.jpg","text":"TemporaryFile(/tmp/multipartBody711030394562601712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184807551,"filename":"image_26112025_17_21_55_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/20407b228b2d73b0d0da9dcf5190c5ba.jpg","text":"TemporaryFile(/tmp/multipartBody3394021972729876072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184807551,"filename":"image_26112025_17_22_06_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1a627297cd7fc4373797d53b87fe978b.jpg","text":"TemporaryFile(/tmp/multipartBody6558076638934372426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184807551,"filename":"image_26112025_17_21_45_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396287461","file1":"1396287458","file0":"1396287455","file4":"1396287468","file5":"1396287471","file3":"1396287464"},"map_files_photo_id_array":[{"photo_id":"1396287471","filename":"file5"},{"photo_id":"1396287461","filename":"file2"},{"photo_id":"1396287468","filename":"file4"},{"photo_id":"1396287458","filename":"file1"},{"photo_id":"1396287455","filename":"file0"},{"photo_id":"1396287464","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396287471":["hashtag1","hashtag2"]},{"1396287468":["hashtag1","hashtag2"]},{"1396287464":["hashtag1","hashtag2"]},{"1396287458":["hashtag1","hashtag2"]},{"1396287461":["hashtag1","hashtag2"]},{"1396287455":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396287471, 1396287468, 1396287464, 1396287458, 1396287461, 1396287455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61158013343811 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-26 20:20:03.120086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/22/image_26112025_17_22_45_9630.jpg', '/home/pi/Desktop/images/26112025/17/22/image_26112025_17_22_55_9640.jpg', '/home/pi/Desktop/images/26112025/17/22/image_26112025_17_23_05_10517.jpg', '/home/pi/Desktop/images/26112025/17/23/image_26112025_17_23_15_9711.jpg', '/home/pi/Desktop/images/26112025/17/23/image_26112025_17_23_26_10696.jpg', '/home/pi/Desktop/images/26112025/17/23/image_26112025_17_23_36_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/22/image_26112025_17_22_45_9630.jpg
/home/pi/Desktop/images/26112025/17/22/image_26112025_17_22_55_9640.jpg
/home/pi/Desktop/images/26112025/17/22/image_26112025_17_23_05_10517.jpg
/home/pi/Desktop/images/26112025/17/23/image_26112025_17_23_15_9711.jpg
/home/pi/Desktop/images/26112025/17/23/image_26112025_17_23_26_10696.jpg
/home/pi/Desktop/images/26112025/17/23/image_26112025_17_23_36_9784.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":["1396287817","1396287825","1396287732","1396287834","1396287769","1396287829"],"photo_ids_order":["1396287732","1396287769","1396287817","1396287825","1396287829","1396287834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6465d4a8627b821bbfe7e062447eaf5f.jpg","text":"TemporaryFile(/tmp/multipartBody2183080709419359609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184863832,"filename":"image_26112025_17_23_05_10517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ee1feddace8f474593009b0fa3db7a16.jpg","text":"TemporaryFile(/tmp/multipartBody3497295140058999935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184863832,"filename":"image_26112025_17_23_15_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9ebe569df6cc04c0484baaba32fa68a0.jpg","text":"TemporaryFile(/tmp/multipartBody5859735545079324221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184863832,"filename":"image_26112025_17_22_45_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d4f39735532c244235d6aa8f5fe59dd1.jpg","text":"TemporaryFile(/tmp/multipartBody8206291128720827228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184863832,"filename":"image_26112025_17_23_36_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/66cc42e50ce0fc68c7973ab6accd20d8.jpg","text":"TemporaryFile(/tmp/multipartBody4742381398994929960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184863832,"filename":"image_26112025_17_22_55_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/29beaaf9912e7e6069b70063d5ce9ad6.jpg","text":"TemporaryFile(/tmp/multipartBody3349649876692346712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184863832,"filename":"image_26112025_17_23_26_10696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396287817","file1":"1396287769","file0":"1396287732","file4":"1396287829","file5":"1396287834","file3":"1396287825"},"map_files_photo_id_array":[{"photo_id":"1396287834","filename":"file5"},{"photo_id":"1396287817","filename":"file2"},{"photo_id":"1396287829","filename":"file4"},{"photo_id":"1396287769","filename":"file1"},{"photo_id":"1396287732","filename":"file0"},{"photo_id":"1396287825","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396287817":["hashtag1","hashtag2"]},{"1396287825":["hashtag1","hashtag2"]},{"1396287732":["hashtag1","hashtag2"]},{"1396287834":["hashtag1","hashtag2"]},{"1396287769":["hashtag1","hashtag2"]},{"1396287829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396287817, 1396287825, 1396287732, 1396287834, 1396287769, 1396287829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.956127882003784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 20:20:42.647493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_09_2770.jpg', '/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_18_2638.jpg', '/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_22_3607.jpg', '/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_24_2898.jpg', '/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_27_2607.jpg', '/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_30_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_09_2770.jpg
/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_18_2638.jpg
/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_22_3607.jpg
/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_24_2898.jpg
/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_27_2607.jpg
/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_30_2579.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":["1396287873","1396287855","1396287866","1396287854","1396287842","1396287851"],"photo_ids_order":["1396287842","1396287851","1396287854","1396287855","1396287866","1396287873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cfc0a96b0c0dd6d1029db7363aa07831.jpg","text":"TemporaryFile(/tmp/multipartBody4267517195862025731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184904109,"filename":"image_30102025_20_21_30_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/26/7454eaf04e4cc188c4a15a5add130c4b.jpg","text":"TemporaryFile(/tmp/multipartBody7908697443374409736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184904109,"filename":"image_30102025_20_21_24_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/26/8e0660f3cc250224705c802fdd50d8c2.jpg","text":"TemporaryFile(/tmp/multipartBody3504609098297528503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184904109,"filename":"image_30102025_20_21_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/26/058190922060d4754a818935d9eb4ee1.jpg","text":"TemporaryFile(/tmp/multipartBody4741335258055861399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184904109,"filename":"image_30102025_20_21_22_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/26/6691325166de2df8baf8b176cb820b7c.jpg","text":"TemporaryFile(/tmp/multipartBody5454106172985166284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184904109,"filename":"image_30102025_20_21_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/26/f2ef411d95597576b0b7b5e02a65acf5.jpg","text":"TemporaryFile(/tmp/multipartBody681537112615943454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184904109,"filename":"image_30102025_20_21_18_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396287854","file1":"1396287851","file0":"1396287842","file4":"1396287866","file5":"1396287873","file3":"1396287855"},"map_files_photo_id_array":[{"photo_id":"1396287873","filename":"file5"},{"photo_id":"1396287854","filename":"file2"},{"photo_id":"1396287866","filename":"file4"},{"photo_id":"1396287851","filename":"file1"},{"photo_id":"1396287842","filename":"file0"},{"photo_id":"1396287855","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396287873":["hashtag1","hashtag2"]},{"1396287855":["hashtag1","hashtag2"]},{"1396287866":["hashtag1","hashtag2"]},{"1396287854":["hashtag1","hashtag2"]},{"1396287842":["hashtag1","hashtag2"]},{"1396287851":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396287873, 1396287855, 1396287866, 1396287854, 1396287842, 1396287851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.362553119659424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 20:21:22.826641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/23/image_26112025_17_23_45_9699.jpg', '/home/pi/Desktop/images/26112025/17/23/image_26112025_17_23_55_9587.jpg', '/home/pi/Desktop/images/26112025/17/23/image_26112025_17_24_06_10795.jpg', '/home/pi/Desktop/images/26112025/17/24/image_26112025_17_24_15_9689.jpg', '/home/pi/Desktop/images/26112025/17/24/image_26112025_17_24_25_9709.jpg', '/home/pi/Desktop/images/26112025/17/24/image_26112025_17_24_36_10692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/23/image_26112025_17_23_45_9699.jpg
/home/pi/Desktop/images/26112025/17/23/image_26112025_17_23_55_9587.jpg
/home/pi/Desktop/images/26112025/17/23/image_26112025_17_24_06_10795.jpg
/home/pi/Desktop/images/26112025/17/24/image_26112025_17_24_15_9689.jpg
/home/pi/Desktop/images/26112025/17/24/image_26112025_17_24_25_9709.jpg
/home/pi/Desktop/images/26112025/17/24/image_26112025_17_24_36_10692.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":["1396287888","1396287891","1396287885","1396287893","1396287883","1396287880"],"photo_ids_order":["1396287880","1396287883","1396287885","1396287888","1396287891","1396287893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f0f70e2f158aa50b4ee9499d2eb4eedd.jpg","text":"TemporaryFile(/tmp/multipartBody2079973081913411805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184943526,"filename":"image_26112025_17_24_15_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f55e5ca8b6af2f9ee86df76d94b87a8d.jpg","text":"TemporaryFile(/tmp/multipartBody3857550157490469238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184943526,"filename":"image_26112025_17_24_25_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5c8aea3d9217015b265c83b80ad4cb96.jpg","text":"TemporaryFile(/tmp/multipartBody2018678669258409336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184943526,"filename":"image_26112025_17_24_06_10795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/29740ee70bc2b2345c8594934092a8ad.jpg","text":"TemporaryFile(/tmp/multipartBody4601657954623873378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184943526,"filename":"image_26112025_17_24_36_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6ed92501adbf8b9567602710cd072427.jpg","text":"TemporaryFile(/tmp/multipartBody4044502940849825181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184943526,"filename":"image_26112025_17_23_55_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/84ccd4efb0c5e8d2d415b965659fd4e5.jpg","text":"TemporaryFile(/tmp/multipartBody3756616825898018991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184943526,"filename":"image_26112025_17_23_45_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396287885","file1":"1396287883","file0":"1396287880","file4":"1396287891","file5":"1396287893","file3":"1396287888"},"map_files_photo_id_array":[{"photo_id":"1396287893","filename":"file5"},{"photo_id":"1396287885","filename":"file2"},{"photo_id":"1396287891","filename":"file4"},{"photo_id":"1396287883","filename":"file1"},{"photo_id":"1396287880","filename":"file0"},{"photo_id":"1396287888","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396287888":["hashtag1","hashtag2"]},{"1396287891":["hashtag1","hashtag2"]},{"1396287885":["hashtag1","hashtag2"]},{"1396287893":["hashtag1","hashtag2"]},{"1396287883":["hashtag1","hashtag2"]},{"1396287880":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396287888, 1396287891, 1396287885, 1396287893, 1396287883, 1396287880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4602324962616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:22:02.586935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/24/image_26112025_17_24_45_9564.jpg', '/home/pi/Desktop/images/26112025/17/24/image_26112025_17_24_55_9837.jpg', '/home/pi/Desktop/images/26112025/17/26/image_26112025_17_26_13_10036.jpg', '/home/pi/Desktop/images/26112025/17/26/image_26112025_17_26_24_10649.jpg', '/home/pi/Desktop/images/26112025/17/26/image_26112025_17_26_34_9547.jpg', '/home/pi/Desktop/images/26112025/17/26/image_26112025_17_26_44_10520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/24/image_26112025_17_24_45_9564.jpg
/home/pi/Desktop/images/26112025/17/24/image_26112025_17_24_55_9837.jpg
/home/pi/Desktop/images/26112025/17/26/image_26112025_17_26_13_10036.jpg
/home/pi/Desktop/images/26112025/17/26/image_26112025_17_26_24_10649.jpg
/home/pi/Desktop/images/26112025/17/26/image_26112025_17_26_34_9547.jpg
/home/pi/Desktop/images/26112025/17/26/image_26112025_17_26_44_10520.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":["1396287894","1396287900","1396287896","1396287911","1396287905","1396287898"],"photo_ids_order":["1396287894","1396287896","1396287898","1396287900","1396287905","1396287911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ff690da801bc0f9fb54e65cd9628a50f.jpg","text":"TemporaryFile(/tmp/multipartBody7658049228313897317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184983263,"filename":"image_26112025_17_24_45_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eac2d92faa51823f4f8c4ed60e55e357.jpg","text":"TemporaryFile(/tmp/multipartBody1863763811688278260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184983263,"filename":"image_26112025_17_26_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ec5fa4c719dfceea942592ee49591d14.jpg","text":"TemporaryFile(/tmp/multipartBody2831972824903696601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184983263,"filename":"image_26112025_17_24_55_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f723f342ec2fca91dcbf44d675c92a85.jpg","text":"TemporaryFile(/tmp/multipartBody21823769790657802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184983263,"filename":"image_26112025_17_26_44_10520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bce51098afc83d2f352b19dfa8868967.jpg","text":"TemporaryFile(/tmp/multipartBody2716202335819477152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184983263,"filename":"image_26112025_17_26_34_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8c97882b3e1c237385b9cf790c2437e3.jpg","text":"TemporaryFile(/tmp/multipartBody3334314402343671249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764184983263,"filename":"image_26112025_17_26_13_10036.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396287898","file1":"1396287896","file0":"1396287894","file4":"1396287905","file5":"1396287911","file3":"1396287900"},"map_files_photo_id_array":[{"photo_id":"1396287911","filename":"file5"},{"photo_id":"1396287898","filename":"file2"},{"photo_id":"1396287905","filename":"file4"},{"photo_id":"1396287896","filename":"file1"},{"photo_id":"1396287894","filename":"file0"},{"photo_id":"1396287900","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396287894":["hashtag1","hashtag2"]},{"1396287900":["hashtag1","hashtag2"]},{"1396287896":["hashtag1","hashtag2"]},{"1396287911":["hashtag1","hashtag2"]},{"1396287905":["hashtag1","hashtag2"]},{"1396287898":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396287894, 1396287900, 1396287896, 1396287911, 1396287905, 1396287898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62125205993652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 20:22:42.032998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_33_3573.jpg', '/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_36_2733.jpg', '/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_40_3603.jpg', '/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_42_2641.jpg', '/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_45_2755.jpg', '/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_51_3604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_33_3573.jpg
/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_36_2733.jpg
/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_40_3603.jpg
/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_42_2641.jpg
/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_45_2755.jpg
/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_51_3604.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":["1396287922","1396287925","1396287927","1396287920","1396287923","1396287926"],"photo_ids_order":["1396287920","1396287922","1396287923","1396287925","1396287926","1396287927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a26f368eaf7bab926db05c8a8ac8d590.jpg","text":"TemporaryFile(/tmp/multipartBody365598677459207905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185023483,"filename":"image_30102025_20_21_36_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/26/fd02d7f96aec63e0dfa37b357ebc1f63.jpg","text":"TemporaryFile(/tmp/multipartBody8404867182499785013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185023483,"filename":"image_30102025_20_21_42_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/26/ff53fe607b301942779aef0bc7fa6312.jpg","text":"TemporaryFile(/tmp/multipartBody5348846483598070293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185023483,"filename":"image_30102025_20_21_51_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/21a854be3f63c2373a44ca3c652431e7.jpg","text":"TemporaryFile(/tmp/multipartBody4374359117995516159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185023483,"filename":"image_30102025_20_21_33_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/26/73f9882050d02221bef3c671e40215b1.jpg","text":"TemporaryFile(/tmp/multipartBody8295385497491788859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185023483,"filename":"image_30102025_20_21_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/26/ecd9879ff2275ded342c86aaf9f390e9.jpg","text":"TemporaryFile(/tmp/multipartBody7133892647776526447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185023483,"filename":"image_30102025_20_21_45_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396287923","file1":"1396287922","file0":"1396287920","file4":"1396287926","file5":"1396287927","file3":"1396287925"},"map_files_photo_id_array":[{"photo_id":"1396287927","filename":"file5"},{"photo_id":"1396287923","filename":"file2"},{"photo_id":"1396287926","filename":"file4"},{"photo_id":"1396287922","filename":"file1"},{"photo_id":"1396287920","filename":"file0"},{"photo_id":"1396287925","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396287922":["hashtag1","hashtag2"]},{"1396287925":["hashtag1","hashtag2"]},{"1396287927":["hashtag1","hashtag2"]},{"1396287920":["hashtag1","hashtag2"]},{"1396287923":["hashtag1","hashtag2"]},{"1396287926":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396287922, 1396287925, 1396287927, 1396287920, 1396287923, 1396287926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91048765182495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 20:23:22.176949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/26/image_26112025_17_26_54_9656.jpg', '/home/pi/Desktop/images/26112025/17/26/image_26112025_17_27_03_9726.jpg', '/home/pi/Desktop/images/26112025/17/27/image_26112025_17_27_14_10548.jpg', '/home/pi/Desktop/images/26112025/17/27/image_26112025_17_27_24_9626.jpg', '/home/pi/Desktop/images/26112025/17/27/image_26112025_17_27_33_9709.jpg', '/home/pi/Desktop/images/26112025/17/27/image_26112025_17_27_44_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/26/image_26112025_17_26_54_9656.jpg
/home/pi/Desktop/images/26112025/17/26/image_26112025_17_27_03_9726.jpg
/home/pi/Desktop/images/26112025/17/27/image_26112025_17_27_14_10548.jpg
/home/pi/Desktop/images/26112025/17/27/image_26112025_17_27_24_9626.jpg
/home/pi/Desktop/images/26112025/17/27/image_26112025_17_27_33_9709.jpg
/home/pi/Desktop/images/26112025/17/27/image_26112025_17_27_44_10606.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":["1396287943","1396287937","1396287946","1396287949","1396287940","1396287934"],"photo_ids_order":["1396287934","1396287937","1396287940","1396287943","1396287946","1396287949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/023d60136be12d12fefc78f09d970ca0.jpg","text":"TemporaryFile(/tmp/multipartBody4183272559212896774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185062836,"filename":"image_26112025_17_27_24_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4e08876070828ccc468cf9ff8a9c8e04.jpg","text":"TemporaryFile(/tmp/multipartBody8469668107392605875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185062836,"filename":"image_26112025_17_27_03_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3b1806e55d72230cdfe52d53e462bd73.jpg","text":"TemporaryFile(/tmp/multipartBody493841807089406524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185062836,"filename":"image_26112025_17_27_33_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ea50c7d0d2db66ab8fed9d77d175f143.jpg","text":"TemporaryFile(/tmp/multipartBody7345235052632695386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185062836,"filename":"image_26112025_17_27_44_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/49a1ba48345c5ab5e86f8133d4d8c0b9.jpg","text":"TemporaryFile(/tmp/multipartBody6075137904206692746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185062836,"filename":"image_26112025_17_27_14_10548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8eaf5dd6545f556f516f83d0facbcd43.jpg","text":"TemporaryFile(/tmp/multipartBody2241263971595456505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185062836,"filename":"image_26112025_17_26_54_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396287940","file1":"1396287937","file0":"1396287934","file4":"1396287946","file5":"1396287949","file3":"1396287943"},"map_files_photo_id_array":[{"photo_id":"1396287949","filename":"file5"},{"photo_id":"1396287940","filename":"file2"},{"photo_id":"1396287946","filename":"file4"},{"photo_id":"1396287937","filename":"file1"},{"photo_id":"1396287934","filename":"file0"},{"photo_id":"1396287943","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396287943":["hashtag1","hashtag2"]},{"1396287937":["hashtag1","hashtag2"]},{"1396287946":["hashtag1","hashtag2"]},{"1396287949":["hashtag1","hashtag2"]},{"1396287940":["hashtag1","hashtag2"]},{"1396287934":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396287943, 1396287937, 1396287946, 1396287949, 1396287940, 1396287934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74275326728821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:24:03.241870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/27/image_26112025_17_27_54_9636.jpg', '/home/pi/Desktop/images/26112025/17/27/image_26112025_17_28_04_10647.jpg', '/home/pi/Desktop/images/26112025/17/28/image_26112025_17_28_14_9665.jpg', '/home/pi/Desktop/images/26112025/17/28/image_26112025_17_28_23_9567.jpg', '/home/pi/Desktop/images/26112025/17/28/image_26112025_17_28_34_10623.jpg', '/home/pi/Desktop/images/26112025/17/28/image_26112025_17_28_44_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/27/image_26112025_17_27_54_9636.jpg
/home/pi/Desktop/images/26112025/17/27/image_26112025_17_28_04_10647.jpg
/home/pi/Desktop/images/26112025/17/28/image_26112025_17_28_14_9665.jpg
/home/pi/Desktop/images/26112025/17/28/image_26112025_17_28_23_9567.jpg
/home/pi/Desktop/images/26112025/17/28/image_26112025_17_28_34_10623.jpg
/home/pi/Desktop/images/26112025/17/28/image_26112025_17_28_44_9767.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":["1396287972","1396287963","1396287965","1396287968","1396287959","1396287961"],"photo_ids_order":["1396287959","1396287961","1396287963","1396287965","1396287968","1396287972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/db033b2c837b8e6f19f5f5b029bb8a39.jpg","text":"TemporaryFile(/tmp/multipartBody1180894006605473744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185104041,"filename":"image_26112025_17_28_44_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e060989215196f73b2781138fa7f7590.jpg","text":"TemporaryFile(/tmp/multipartBody6979895276713364216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185104041,"filename":"image_26112025_17_28_14_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/93c7407058198c7d2417806adf390cac.jpg","text":"TemporaryFile(/tmp/multipartBody7271600086042655335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185104041,"filename":"image_26112025_17_28_23_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8deb9560aef057b8114eb4bb788b78f8.jpg","text":"TemporaryFile(/tmp/multipartBody2202953291410743690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185104041,"filename":"image_26112025_17_28_34_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d549cb522bdbe960651ba0172d118ede.jpg","text":"TemporaryFile(/tmp/multipartBody4311863338439690252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185104041,"filename":"image_26112025_17_27_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/949dcf37759cebb5e83101d262398fc6.jpg","text":"TemporaryFile(/tmp/multipartBody1650978231228251811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185104041,"filename":"image_26112025_17_28_04_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396287963","file1":"1396287961","file0":"1396287959","file4":"1396287968","file5":"1396287972","file3":"1396287965"},"map_files_photo_id_array":[{"photo_id":"1396287972","filename":"file5"},{"photo_id":"1396287963","filename":"file2"},{"photo_id":"1396287968","filename":"file4"},{"photo_id":"1396287961","filename":"file1"},{"photo_id":"1396287959","filename":"file0"},{"photo_id":"1396287965","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396287972":["hashtag1","hashtag2"]},{"1396287963":["hashtag1","hashtag2"]},{"1396287965":["hashtag1","hashtag2"]},{"1396287968":["hashtag1","hashtag2"]},{"1396287959":["hashtag1","hashtag2"]},{"1396287961":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396287972, 1396287963, 1396287965, 1396287968, 1396287959, 1396287961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81692695617676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 20:24:42.435658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_54_2584.jpg', '/home/pi/Desktop/images/30102025/20/21/image_30102025_20_22_00_3779.jpg', '/home/pi/Desktop/images/30102025/20/22/image_30102025_20_22_03_2687.jpg', '/home/pi/Desktop/images/30102025/20/22/image_30102025_20_22_06_2649.jpg', '/home/pi/Desktop/images/30102025/20/22/image_30102025_20_22_09_3622.jpg', '/home/pi/Desktop/images/30102025/20/22/image_30102025_20_22_12_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/21/image_30102025_20_21_54_2584.jpg
/home/pi/Desktop/images/30102025/20/21/image_30102025_20_22_00_3779.jpg
/home/pi/Desktop/images/30102025/20/22/image_30102025_20_22_03_2687.jpg
/home/pi/Desktop/images/30102025/20/22/image_30102025_20_22_06_2649.jpg
/home/pi/Desktop/images/30102025/20/22/image_30102025_20_22_09_3622.jpg
/home/pi/Desktop/images/30102025/20/22/image_30102025_20_22_12_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":["1396287990","1396287987","1396287983","1396287986","1396287989","1396287988"],"photo_ids_order":["1396287983","1396287986","1396287987","1396287988","1396287989","1396287990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/66766088c13d0cd2d5e963994e1bba02.jpg","text":"TemporaryFile(/tmp/multipartBody6928184821843310186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185143889,"filename":"image_30102025_20_22_12_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/26/8b9bd753e4bcddf1b813e6b159cbfd4a.jpg","text":"TemporaryFile(/tmp/multipartBody8393180196134210332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185143889,"filename":"image_30102025_20_22_03_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/26/8e7f33477bfd0243b1eff49cf776712a.jpg","text":"TemporaryFile(/tmp/multipartBody8398187010128853562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185143889,"filename":"image_30102025_20_21_54_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/26/bde554e476af981b9fc4b8fe2ff8e49c.jpg","text":"TemporaryFile(/tmp/multipartBody5191340921845966025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185143889,"filename":"image_30102025_20_22_00_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/26/d589f9d3bdc5d6c746393690d79a7241.jpg","text":"TemporaryFile(/tmp/multipartBody7037901320235524658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185143889,"filename":"image_30102025_20_22_09_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/26/987c9a78cec7999449378d1bd45b5612.jpg","text":"TemporaryFile(/tmp/multipartBody8719159087398356374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185143889,"filename":"image_30102025_20_22_06_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396287987","file1":"1396287986","file0":"1396287983","file4":"1396287989","file5":"1396287990","file3":"1396287988"},"map_files_photo_id_array":[{"photo_id":"1396287990","filename":"file5"},{"photo_id":"1396287987","filename":"file2"},{"photo_id":"1396287989","filename":"file4"},{"photo_id":"1396287986","filename":"file1"},{"photo_id":"1396287983","filename":"file0"},{"photo_id":"1396287988","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396287990":["hashtag1","hashtag2"]},{"1396287987":["hashtag1","hashtag2"]},{"1396287983":["hashtag1","hashtag2"]},{"1396287986":["hashtag1","hashtag2"]},{"1396287989":["hashtag1","hashtag2"]},{"1396287988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396287990, 1396287987, 1396287983, 1396287986, 1396287989, 1396287988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3476243019104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 20:25:22.586917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/28/image_26112025_17_28_53_9654.jpg', '/home/pi/Desktop/images/26112025/17/28/image_26112025_17_29_04_10648.jpg', '/home/pi/Desktop/images/26112025/17/29/image_26112025_17_29_14_9664.jpg', '/home/pi/Desktop/images/26112025/17/29/image_26112025_17_29_23_9572.jpg', '/home/pi/Desktop/images/26112025/17/29/image_26112025_17_29_33_10067.jpg', '/home/pi/Desktop/images/26112025/17/29/image_26112025_17_29_44_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/28/image_26112025_17_28_53_9654.jpg
/home/pi/Desktop/images/26112025/17/28/image_26112025_17_29_04_10648.jpg
/home/pi/Desktop/images/26112025/17/29/image_26112025_17_29_14_9664.jpg
/home/pi/Desktop/images/26112025/17/29/image_26112025_17_29_23_9572.jpg
/home/pi/Desktop/images/26112025/17/29/image_26112025_17_29_33_10067.jpg
/home/pi/Desktop/images/26112025/17/29/image_26112025_17_29_44_10713.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":["1396288006","1396288011","1396288020","1396288014","1396288017","1396288022"],"photo_ids_order":["1396288006","1396288011","1396288014","1396288017","1396288020","1396288022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d0bb1aef053d4faea782ca0d61a15779.jpg","text":"TemporaryFile(/tmp/multipartBody6173443901607148291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185183247,"filename":"image_26112025_17_28_53_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/924f34b6707144d363e831006c97ee6e.jpg","text":"TemporaryFile(/tmp/multipartBody6107677370284773462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185183247,"filename":"image_26112025_17_29_04_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/32d72b0cfc61f3e7d91479773b169aed.jpg","text":"TemporaryFile(/tmp/multipartBody1030281881933560084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185183247,"filename":"image_26112025_17_29_33_10067.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/585b0a79130d3816ae206abb6d31d926.jpg","text":"TemporaryFile(/tmp/multipartBody7177707162444580881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185183247,"filename":"image_26112025_17_29_14_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d28b073e7935b9c7e665cdcf89b60b80.jpg","text":"TemporaryFile(/tmp/multipartBody8888906955044379908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185183247,"filename":"image_26112025_17_29_23_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4a99bfe36d2a63614b1e72836f6f85d5.jpg","text":"TemporaryFile(/tmp/multipartBody9098253457859635729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185183247,"filename":"image_26112025_17_29_44_10713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396288014","file1":"1396288011","file0":"1396288006","file4":"1396288020","file5":"1396288022","file3":"1396288017"},"map_files_photo_id_array":[{"photo_id":"1396288022","filename":"file5"},{"photo_id":"1396288014","filename":"file2"},{"photo_id":"1396288020","filename":"file4"},{"photo_id":"1396288011","filename":"file1"},{"photo_id":"1396288006","filename":"file0"},{"photo_id":"1396288017","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396288006":["hashtag1","hashtag2"]},{"1396288011":["hashtag1","hashtag2"]},{"1396288020":["hashtag1","hashtag2"]},{"1396288014":["hashtag1","hashtag2"]},{"1396288017":["hashtag1","hashtag2"]},{"1396288022":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396288006, 1396288011, 1396288020, 1396288014, 1396288017, 1396288022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.987913846969604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:26:02.349226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/29/image_26112025_17_29_54_9522.jpg', '/home/pi/Desktop/images/26112025/17/30/image_26112025_17_30_15_10056.jpg', '/home/pi/Desktop/images/26112025/17/30/image_26112025_17_30_25_10019.jpg', '/home/pi/Desktop/images/26112025/17/30/image_26112025_17_30_35_10658.jpg', '/home/pi/Desktop/images/26112025/17/30/image_26112025_17_30_45_9819.jpg', '/home/pi/Desktop/images/26112025/17/30/image_26112025_17_30_55_9875.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/29/image_26112025_17_29_54_9522.jpg
/home/pi/Desktop/images/26112025/17/30/image_26112025_17_30_15_10056.jpg
/home/pi/Desktop/images/26112025/17/30/image_26112025_17_30_25_10019.jpg
/home/pi/Desktop/images/26112025/17/30/image_26112025_17_30_35_10658.jpg
/home/pi/Desktop/images/26112025/17/30/image_26112025_17_30_45_9819.jpg
/home/pi/Desktop/images/26112025/17/30/image_26112025_17_30_55_9875.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.580268144607544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 20:26:11.919384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/22/image_20112025_23_22_29_1673.jpg', '/home/pi/Desktop/images/20112025/23/22/image_20112025_23_22_44_3211.jpg', '/home/pi/Desktop/images/20112025/23/23/image_20112025_23_23_53_11571.jpg', '/home/pi/Desktop/images/20112025/23/23/image_20112025_23_23_58_3142.jpg', '/home/pi/Desktop/images/20112025/23/24/image_20112025_23_24_01_1831.jpg', '/home/pi/Desktop/images/20112025/23/24/image_20112025_23_24_13_2053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/22/image_20112025_23_22_29_1673.jpg
/home/pi/Desktop/images/20112025/23/22/image_20112025_23_22_44_3211.jpg
/home/pi/Desktop/images/20112025/23/23/image_20112025_23_23_53_11571.jpg
/home/pi/Desktop/images/20112025/23/23/image_20112025_23_23_58_3142.jpg
/home/pi/Desktop/images/20112025/23/24/image_20112025_23_24_01_1831.jpg
/home/pi/Desktop/images/20112025/23/24/image_20112025_23_24_13_2053.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":["1396288032","1396288029","1396288046","1396288040","1396288037","1396288042"],"photo_ids_order":["1396288029","1396288032","1396288037","1396288040","1396288042","1396288046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f724ff5929203d65311bf91ddd363145.jpg","text":"TemporaryFile(/tmp/multipartBody710547753871291536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185233808,"filename":"image_20112025_23_22_44_3211.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/76b0e3cd7a2b9677fd4794c86d69260e.jpg","text":"TemporaryFile(/tmp/multipartBody9028618741453205920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185233808,"filename":"image_20112025_23_22_29_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/26/cd5088b14a59265557e19e3da6c87039.jpg","text":"TemporaryFile(/tmp/multipartBody983453043958783099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185233808,"filename":"image_20112025_23_24_13_2053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/69ce1d0782dde7ae38fe55ad726e4ab5.jpg","text":"TemporaryFile(/tmp/multipartBody3171018456232058663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185233808,"filename":"image_20112025_23_23_58_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/26/4bb8aa0dbcf9005fc6a56c881066083a.jpg","text":"TemporaryFile(/tmp/multipartBody2028194258720790285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185233808,"filename":"image_20112025_23_23_53_11571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/66e688332a406f6ca8573313dc527086.jpg","text":"TemporaryFile(/tmp/multipartBody6674005038613314097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185233808,"filename":"image_20112025_23_24_01_1831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396288037","file1":"1396288032","file0":"1396288029","file4":"1396288042","file5":"1396288046","file3":"1396288040"},"map_files_photo_id_array":[{"photo_id":"1396288046","filename":"file5"},{"photo_id":"1396288037","filename":"file2"},{"photo_id":"1396288042","filename":"file4"},{"photo_id":"1396288032","filename":"file1"},{"photo_id":"1396288029","filename":"file0"},{"photo_id":"1396288040","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396288032":["hashtag1","hashtag2"]},{"1396288029":["hashtag1","hashtag2"]},{"1396288046":["hashtag1","hashtag2"]},{"1396288040":["hashtag1","hashtag2"]},{"1396288037":["hashtag1","hashtag2"]},{"1396288042":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396288032, 1396288029, 1396288046, 1396288040, 1396288037, 1396288042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59631419181824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:27:02.821466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/29/image_26112025_17_29_54_9522.jpg', '/home/pi/Desktop/images/26112025/17/30/image_26112025_17_30_15_10056.jpg', '/home/pi/Desktop/images/26112025/17/30/image_26112025_17_30_25_10019.jpg', '/home/pi/Desktop/images/26112025/17/30/image_26112025_17_30_35_10658.jpg', '/home/pi/Desktop/images/26112025/17/30/image_26112025_17_30_45_9819.jpg', '/home/pi/Desktop/images/26112025/17/30/image_26112025_17_30_55_9875.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/29/image_26112025_17_29_54_9522.jpg
/home/pi/Desktop/images/26112025/17/30/image_26112025_17_30_15_10056.jpg
/home/pi/Desktop/images/26112025/17/30/image_26112025_17_30_25_10019.jpg
/home/pi/Desktop/images/26112025/17/30/image_26112025_17_30_35_10658.jpg
/home/pi/Desktop/images/26112025/17/30/image_26112025_17_30_45_9819.jpg
/home/pi/Desktop/images/26112025/17/30/image_26112025_17_30_55_9875.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":["1396288079","1396288088","1396288081","1396288084","1396288072","1396288060"],"photo_ids_order":["1396288060","1396288072","1396288079","1396288081","1396288084","1396288088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/40954d87f6cb977fec737f3e71687503.jpg","text":"TemporaryFile(/tmp/multipartBody7675152217331947329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185283560,"filename":"image_26112025_17_30_25_10019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/96e19475404dc9e3b0d22431b43afbcf.jpg","text":"TemporaryFile(/tmp/multipartBody6349377880825843707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185283560,"filename":"image_26112025_17_30_55_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/872f1fe5a56bc5daac38593c7c1d96e1.jpg","text":"TemporaryFile(/tmp/multipartBody4867214458370181646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185283560,"filename":"image_26112025_17_30_35_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e075e93b3bd6aeeedc2903329476f8ab.jpg","text":"TemporaryFile(/tmp/multipartBody5389300770277949070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185283560,"filename":"image_26112025_17_30_45_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8605208dc0bbf0953cba34c57e4c662e.jpg","text":"TemporaryFile(/tmp/multipartBody9052022787957974546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185283560,"filename":"image_26112025_17_30_15_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/93226402528ad4268a4d1a1149e546a3.jpg","text":"TemporaryFile(/tmp/multipartBody8750294052384092954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185283560,"filename":"image_26112025_17_29_54_9522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396288079","file1":"1396288072","file0":"1396288060","file4":"1396288084","file5":"1396288088","file3":"1396288081"},"map_files_photo_id_array":[{"photo_id":"1396288088","filename":"file5"},{"photo_id":"1396288079","filename":"file2"},{"photo_id":"1396288084","filename":"file4"},{"photo_id":"1396288072","filename":"file1"},{"photo_id":"1396288060","filename":"file0"},{"photo_id":"1396288081","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396288079":["hashtag1","hashtag2"]},{"1396288088":["hashtag1","hashtag2"]},{"1396288081":["hashtag1","hashtag2"]},{"1396288084":["hashtag1","hashtag2"]},{"1396288072":["hashtag1","hashtag2"]},{"1396288060":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396288079, 1396288088, 1396288081, 1396288084, 1396288072, 1396288060)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.730900049209595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:28:02.816461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/30/image_26112025_17_31_05_9665.jpg', '/home/pi/Desktop/images/26112025/17/31/image_26112025_17_31_15_10758.jpg', '/home/pi/Desktop/images/26112025/17/31/image_26112025_17_31_25_9733.jpg', '/home/pi/Desktop/images/26112025/17/31/image_26112025_17_31_35_9564.jpg', '/home/pi/Desktop/images/26112025/17/31/image_26112025_17_31_45_10673.jpg', '/home/pi/Desktop/images/26112025/17/31/image_26112025_17_31_55_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/30/image_26112025_17_31_05_9665.jpg
/home/pi/Desktop/images/26112025/17/31/image_26112025_17_31_15_10758.jpg
/home/pi/Desktop/images/26112025/17/31/image_26112025_17_31_25_9733.jpg
/home/pi/Desktop/images/26112025/17/31/image_26112025_17_31_35_9564.jpg
/home/pi/Desktop/images/26112025/17/31/image_26112025_17_31_45_10673.jpg
/home/pi/Desktop/images/26112025/17/31/image_26112025_17_31_55_9743.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":["1396288104","1396288113","1396288109","1396288100","1396288106","1396288102"],"photo_ids_order":["1396288100","1396288102","1396288104","1396288106","1396288109","1396288113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/efc09f8a41de52b6bac289d8785cfaf4.jpg","text":"TemporaryFile(/tmp/multipartBody5926179502676755475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185343495,"filename":"image_26112025_17_31_25_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/25015c088b738e9f2332d7a15603c107.jpg","text":"TemporaryFile(/tmp/multipartBody6995302114962717048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185343495,"filename":"image_26112025_17_31_55_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6ad9963479fc6a976a37d28efbd21f1a.jpg","text":"TemporaryFile(/tmp/multipartBody483432397719013264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185343495,"filename":"image_26112025_17_31_45_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e5f536739c133f4d0fbe4af47dc735c1.jpg","text":"TemporaryFile(/tmp/multipartBody3498169752775624719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185343495,"filename":"image_26112025_17_31_05_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3617d9d8f1ba39603c34c71f68f5e9fc.jpg","text":"TemporaryFile(/tmp/multipartBody7022872459212344203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185343495,"filename":"image_26112025_17_31_35_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2b1ac9da7022fbdb32d5155bcfc5c5a5.jpg","text":"TemporaryFile(/tmp/multipartBody6628115084428620273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185343495,"filename":"image_26112025_17_31_15_10758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396288104","file1":"1396288102","file0":"1396288100","file4":"1396288109","file5":"1396288113","file3":"1396288106"},"map_files_photo_id_array":[{"photo_id":"1396288113","filename":"file5"},{"photo_id":"1396288104","filename":"file2"},{"photo_id":"1396288109","filename":"file4"},{"photo_id":"1396288102","filename":"file1"},{"photo_id":"1396288100","filename":"file0"},{"photo_id":"1396288106","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396288104":["hashtag1","hashtag2"]},{"1396288113":["hashtag1","hashtag2"]},{"1396288109":["hashtag1","hashtag2"]},{"1396288100":["hashtag1","hashtag2"]},{"1396288106":["hashtag1","hashtag2"]},{"1396288102":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396288104, 1396288113, 1396288109, 1396288100, 1396288106, 1396288102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.33981442451477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 20:28:42.288896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/22/image_30102025_20_22_18_3571.jpg', '/home/pi/Desktop/images/30102025/20/22/image_30102025_20_22_24_2600.jpg', '/home/pi/Desktop/images/30102025/20/22/image_30102025_20_22_27_3636.jpg', '/home/pi/Desktop/images/30102025/20/22/image_30102025_20_22_30_2938.jpg', '/home/pi/Desktop/images/30102025/20/22/image_30102025_20_22_36_3633.jpg', '/home/pi/Desktop/images/30102025/20/22/image_30102025_20_22_39_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/22/image_30102025_20_22_18_3571.jpg
/home/pi/Desktop/images/30102025/20/22/image_30102025_20_22_24_2600.jpg
/home/pi/Desktop/images/30102025/20/22/image_30102025_20_22_27_3636.jpg
/home/pi/Desktop/images/30102025/20/22/image_30102025_20_22_30_2938.jpg
/home/pi/Desktop/images/30102025/20/22/image_30102025_20_22_36_3633.jpg
/home/pi/Desktop/images/30102025/20/22/image_30102025_20_22_39_2794.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":["1396288140","1396288134","1396288131","1396288139","1396288138","1396288135"],"photo_ids_order":["1396288131","1396288134","1396288135","1396288138","1396288139","1396288140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9a081c642c7eb095b16f5129982adca2.jpg","text":"TemporaryFile(/tmp/multipartBody6261825052403227373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185383750,"filename":"image_30102025_20_22_39_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/26/69c50edee38de0d50fabb41b20e48fbf.jpg","text":"TemporaryFile(/tmp/multipartBody2228856877705225090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185383750,"filename":"image_30102025_20_22_24_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/26/d0a6902ebfdf8baeaf9bd990407bcd76.jpg","text":"TemporaryFile(/tmp/multipartBody5535385205562894731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185383750,"filename":"image_30102025_20_22_18_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/26/2cf247889b53e3bf0c0847a899be8350.jpg","text":"TemporaryFile(/tmp/multipartBody7070226675573642514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185383750,"filename":"image_30102025_20_22_36_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/26/d902ebab2c2a1ca7e520315ef77f0614.jpg","text":"TemporaryFile(/tmp/multipartBody3491676550064774667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185383750,"filename":"image_30102025_20_22_30_2938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dc2f55c89829a64aaee00eb0e6bcb612.jpg","text":"TemporaryFile(/tmp/multipartBody1351549068113658332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185383750,"filename":"image_30102025_20_22_27_3636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396288135","file1":"1396288134","file0":"1396288131","file4":"1396288139","file5":"1396288140","file3":"1396288138"},"map_files_photo_id_array":[{"photo_id":"1396288140","filename":"file5"},{"photo_id":"1396288135","filename":"file2"},{"photo_id":"1396288139","filename":"file4"},{"photo_id":"1396288134","filename":"file1"},{"photo_id":"1396288131","filename":"file0"},{"photo_id":"1396288138","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396288140":["hashtag1","hashtag2"]},{"1396288134":["hashtag1","hashtag2"]},{"1396288131":["hashtag1","hashtag2"]},{"1396288139":["hashtag1","hashtag2"]},{"1396288138":["hashtag1","hashtag2"]},{"1396288135":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396288140, 1396288134, 1396288131, 1396288139, 1396288138, 1396288135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01646709442139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 20:29:22.445961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/31/image_26112025_17_32_05_9731.jpg', '/home/pi/Desktop/images/26112025/17/32/image_26112025_17_32_15_10542.jpg', '/home/pi/Desktop/images/26112025/17/32/image_26112025_17_32_25_9637.jpg', '/home/pi/Desktop/images/26112025/17/32/image_26112025_17_32_34_9545.jpg', '/home/pi/Desktop/images/26112025/17/32/image_26112025_17_32_45_10750.jpg', '/home/pi/Desktop/images/26112025/17/32/image_26112025_17_32_55_9556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/31/image_26112025_17_32_05_9731.jpg
/home/pi/Desktop/images/26112025/17/32/image_26112025_17_32_15_10542.jpg
/home/pi/Desktop/images/26112025/17/32/image_26112025_17_32_25_9637.jpg
/home/pi/Desktop/images/26112025/17/32/image_26112025_17_32_34_9545.jpg
/home/pi/Desktop/images/26112025/17/32/image_26112025_17_32_45_10750.jpg
/home/pi/Desktop/images/26112025/17/32/image_26112025_17_32_55_9556.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":["1396288161","1396288155","1396288149","1396288164","1396288158","1396288151"],"photo_ids_order":["1396288149","1396288151","1396288155","1396288158","1396288161","1396288164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/81555e661f8b0e674e2a24f862642eb8.jpg","text":"TemporaryFile(/tmp/multipartBody6897301326369845860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185423105,"filename":"image_26112025_17_32_45_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7a157ffcf210e4555f5fab1d1894f4a8.jpg","text":"TemporaryFile(/tmp/multipartBody2088994555216834345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185423105,"filename":"image_26112025_17_32_25_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/01f5b38a8a133a0d632bbddf39cc5eb0.jpg","text":"TemporaryFile(/tmp/multipartBody7687482420123839989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185423105,"filename":"image_26112025_17_32_05_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bf659893ac6d67ebbaccfbcd890fe1aa.jpg","text":"TemporaryFile(/tmp/multipartBody733065390581991038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185423105,"filename":"image_26112025_17_32_55_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ed7943ee82e3b4a0a2d88ccdd7e3e6bd.jpg","text":"TemporaryFile(/tmp/multipartBody4407642899096479301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185423105,"filename":"image_26112025_17_32_34_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/70ac37960073da514429a80bf27c6622.jpg","text":"TemporaryFile(/tmp/multipartBody4865593387740692490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185423105,"filename":"image_26112025_17_32_15_10542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396288155","file1":"1396288151","file0":"1396288149","file4":"1396288161","file5":"1396288164","file3":"1396288158"},"map_files_photo_id_array":[{"photo_id":"1396288164","filename":"file5"},{"photo_id":"1396288155","filename":"file2"},{"photo_id":"1396288161","filename":"file4"},{"photo_id":"1396288151","filename":"file1"},{"photo_id":"1396288149","filename":"file0"},{"photo_id":"1396288158","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396288161":["hashtag1","hashtag2"]},{"1396288155":["hashtag1","hashtag2"]},{"1396288149":["hashtag1","hashtag2"]},{"1396288164":["hashtag1","hashtag2"]},{"1396288158":["hashtag1","hashtag2"]},{"1396288151":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396288161, 1396288155, 1396288149, 1396288164, 1396288158, 1396288151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15735602378845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:30:03.114130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/32/image_26112025_17_33_05_10568.jpg', '/home/pi/Desktop/images/26112025/17/33/image_26112025_17_33_15_9912.jpg', '/home/pi/Desktop/images/26112025/17/33/image_26112025_17_33_25_9523.jpg', '/home/pi/Desktop/images/26112025/17/33/image_26112025_17_33_35_10636.jpg', '/home/pi/Desktop/images/26112025/17/33/image_26112025_17_33_45_9574.jpg', '/home/pi/Desktop/images/26112025/17/33/image_26112025_17_33_55_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/32/image_26112025_17_33_05_10568.jpg
/home/pi/Desktop/images/26112025/17/33/image_26112025_17_33_15_9912.jpg
/home/pi/Desktop/images/26112025/17/33/image_26112025_17_33_25_9523.jpg
/home/pi/Desktop/images/26112025/17/33/image_26112025_17_33_35_10636.jpg
/home/pi/Desktop/images/26112025/17/33/image_26112025_17_33_45_9574.jpg
/home/pi/Desktop/images/26112025/17/33/image_26112025_17_33_55_9715.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":["1396288173","1396288167","1396288182","1396288169","1396288171","1396288179"],"photo_ids_order":["1396288167","1396288169","1396288171","1396288173","1396288179","1396288182"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/950b6c6c66bc0ebbbcbc6e82d39db6ba.jpg","text":"TemporaryFile(/tmp/multipartBody5711917895117479028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185463798,"filename":"image_26112025_17_33_35_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/19d97942b56047391a5ceb9277be2d39.jpg","text":"TemporaryFile(/tmp/multipartBody5442086073734010450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185463798,"filename":"image_26112025_17_33_05_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/23c390d58a96537ba8ef50c243fddf2b.jpg","text":"TemporaryFile(/tmp/multipartBody4270815616087184841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185463798,"filename":"image_26112025_17_33_55_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/548bf50fc78cd842f272d8870e15a143.jpg","text":"TemporaryFile(/tmp/multipartBody4641781868901761472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185463798,"filename":"image_26112025_17_33_15_9912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b48473d7e47b8ea80249025ae5672c1d.jpg","text":"TemporaryFile(/tmp/multipartBody2510519675287273971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185463798,"filename":"image_26112025_17_33_25_9523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/edf5f7d547a2e28e56664c86534becd0.jpg","text":"TemporaryFile(/tmp/multipartBody6946808422367376755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185463798,"filename":"image_26112025_17_33_45_9574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396288171","file1":"1396288169","file0":"1396288167","file4":"1396288179","file5":"1396288182","file3":"1396288173"},"map_files_photo_id_array":[{"photo_id":"1396288182","filename":"file5"},{"photo_id":"1396288171","filename":"file2"},{"photo_id":"1396288179","filename":"file4"},{"photo_id":"1396288169","filename":"file1"},{"photo_id":"1396288167","filename":"file0"},{"photo_id":"1396288173","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396288173":["hashtag1","hashtag2"]},{"1396288167":["hashtag1","hashtag2"]},{"1396288182":["hashtag1","hashtag2"]},{"1396288169":["hashtag1","hashtag2"]},{"1396288171":["hashtag1","hashtag2"]},{"1396288179":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396288173, 1396288167, 1396288182, 1396288169, 1396288171, 1396288179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.051801443099976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 20:30:42.606083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/22/image_30102025_20_22_42_2568.jpg', '/home/pi/Desktop/images/30102025/20/22/image_30102025_20_22_45_2776.jpg', '/home/pi/Desktop/images/30102025/20/22/image_30102025_20_22_54_3582.jpg', '/home/pi/Desktop/images/30102025/20/22/image_30102025_20_23_00_2599.jpg', '/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_03_3673.jpg', '/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_09_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/22/image_30102025_20_22_42_2568.jpg
/home/pi/Desktop/images/30102025/20/22/image_30102025_20_22_45_2776.jpg
/home/pi/Desktop/images/30102025/20/22/image_30102025_20_22_54_3582.jpg
/home/pi/Desktop/images/30102025/20/22/image_30102025_20_23_00_2599.jpg
/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_03_3673.jpg
/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_09_2562.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":["1396288260","1396288257","1396288259","1396288325","1396288261","1396288315"],"photo_ids_order":["1396288257","1396288259","1396288260","1396288261","1396288315","1396288325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b7a7c18fc1cde7a383267ff16c716dae.jpg","text":"TemporaryFile(/tmp/multipartBody5098614220966551266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185504083,"filename":"image_30102025_20_22_54_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/26/d6f6e0c126e4445db917c4a446f152e5.jpg","text":"TemporaryFile(/tmp/multipartBody8443870062469712407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185504083,"filename":"image_30102025_20_22_42_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/26/69e4c6aba8d7d7d29ab502dd177303b7.jpg","text":"TemporaryFile(/tmp/multipartBody4047595439515712901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185504083,"filename":"image_30102025_20_22_45_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/26/a5451daf07378c9d5f1b116ab4295ab8.jpg","text":"TemporaryFile(/tmp/multipartBody842783608536269384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185504083,"filename":"image_30102025_20_23_09_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/26/51f3956fe5c3464e1bdc4bdd5966e4b2.jpg","text":"TemporaryFile(/tmp/multipartBody7179225264542882024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185504083,"filename":"image_30102025_20_23_00_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/26/1540762d64bac59c2fbcdeb94353ffae.jpg","text":"TemporaryFile(/tmp/multipartBody7401527402324714404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185504083,"filename":"image_30102025_20_23_03_3673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396288260","file1":"1396288259","file0":"1396288257","file4":"1396288315","file5":"1396288325","file3":"1396288261"},"map_files_photo_id_array":[{"photo_id":"1396288325","filename":"file5"},{"photo_id":"1396288260","filename":"file2"},{"photo_id":"1396288315","filename":"file4"},{"photo_id":"1396288259","filename":"file1"},{"photo_id":"1396288257","filename":"file0"},{"photo_id":"1396288261","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396288260":["hashtag1","hashtag2"]},{"1396288257":["hashtag1","hashtag2"]},{"1396288259":["hashtag1","hashtag2"]},{"1396288325":["hashtag1","hashtag2"]},{"1396288261":["hashtag1","hashtag2"]},{"1396288315":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396288260, 1396288257, 1396288259, 1396288325, 1396288261, 1396288315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.317084550857544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 20:31:22.798814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/33/image_26112025_17_34_04_9741.jpg', '/home/pi/Desktop/images/26112025/17/34/image_26112025_17_34_15_10679.jpg', '/home/pi/Desktop/images/26112025/17/34/image_26112025_17_34_25_9722.jpg', '/home/pi/Desktop/images/26112025/17/34/image_26112025_17_34_35_10582.jpg', '/home/pi/Desktop/images/26112025/17/34/image_26112025_17_34_45_9679.jpg', '/home/pi/Desktop/images/26112025/17/34/image_26112025_17_34_55_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/33/image_26112025_17_34_04_9741.jpg
/home/pi/Desktop/images/26112025/17/34/image_26112025_17_34_15_10679.jpg
/home/pi/Desktop/images/26112025/17/34/image_26112025_17_34_25_9722.jpg
/home/pi/Desktop/images/26112025/17/34/image_26112025_17_34_35_10582.jpg
/home/pi/Desktop/images/26112025/17/34/image_26112025_17_34_45_9679.jpg
/home/pi/Desktop/images/26112025/17/34/image_26112025_17_34_55_9677.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":["1396288343","1396288346","1396288331","1396288340","1396288334","1396288337"],"photo_ids_order":["1396288331","1396288334","1396288337","1396288340","1396288343","1396288346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/20b6aa55efabcaaaeb7e0faf12868c5a.jpg","text":"TemporaryFile(/tmp/multipartBody5517775814779866587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185543468,"filename":"image_26112025_17_34_45_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d8673fb160b8e0c74aa19fa7be73c9cd.jpg","text":"TemporaryFile(/tmp/multipartBody8261363765471467545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185543468,"filename":"image_26112025_17_34_55_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/77d985567550c23999f1c5631bb74f17.jpg","text":"TemporaryFile(/tmp/multipartBody2429347094487085543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185543468,"filename":"image_26112025_17_34_04_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ecfc1bcbbc6a2a2a858517c64656f49d.jpg","text":"TemporaryFile(/tmp/multipartBody317343257146657697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185543468,"filename":"image_26112025_17_34_35_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/69eacf8d261522a01d8dbac6c91cffc8.jpg","text":"TemporaryFile(/tmp/multipartBody7896946820554557602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185543468,"filename":"image_26112025_17_34_15_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c44ca9a9a12c5eb6fd07a9fa52166895.jpg","text":"TemporaryFile(/tmp/multipartBody7637697263703997973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185543468,"filename":"image_26112025_17_34_25_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396288337","file1":"1396288334","file0":"1396288331","file4":"1396288343","file5":"1396288346","file3":"1396288340"},"map_files_photo_id_array":[{"photo_id":"1396288346","filename":"file5"},{"photo_id":"1396288337","filename":"file2"},{"photo_id":"1396288343","filename":"file4"},{"photo_id":"1396288334","filename":"file1"},{"photo_id":"1396288331","filename":"file0"},{"photo_id":"1396288340","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396288343":["hashtag1","hashtag2"]},{"1396288346":["hashtag1","hashtag2"]},{"1396288331":["hashtag1","hashtag2"]},{"1396288340":["hashtag1","hashtag2"]},{"1396288334":["hashtag1","hashtag2"]},{"1396288337":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396288343, 1396288346, 1396288331, 1396288340, 1396288334, 1396288337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07204294204712 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:32:02.526133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/36/image_26112025_17_36_14_10039.jpg', '/home/pi/Desktop/images/26112025/17/36/image_26112025_17_36_24_10616.jpg', '/home/pi/Desktop/images/26112025/17/36/image_26112025_17_36_34_9655.jpg', '/home/pi/Desktop/images/26112025/17/36/image_26112025_17_36_44_10590.jpg', '/home/pi/Desktop/images/26112025/17/36/image_26112025_17_36_54_9697.jpg', '/home/pi/Desktop/images/26112025/17/36/image_26112025_17_37_04_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/36/image_26112025_17_36_14_10039.jpg
/home/pi/Desktop/images/26112025/17/36/image_26112025_17_36_24_10616.jpg
/home/pi/Desktop/images/26112025/17/36/image_26112025_17_36_34_9655.jpg
/home/pi/Desktop/images/26112025/17/36/image_26112025_17_36_44_10590.jpg
/home/pi/Desktop/images/26112025/17/36/image_26112025_17_36_54_9697.jpg
/home/pi/Desktop/images/26112025/17/36/image_26112025_17_37_04_9558.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":["1396288353","1396288356","1396288361","1396288349","1396288348","1396288351"],"photo_ids_order":["1396288348","1396288349","1396288351","1396288353","1396288356","1396288361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ae5e782b6866f479489764f21e02fd11.jpg","text":"TemporaryFile(/tmp/multipartBody1746675078850359556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185583235,"filename":"image_26112025_17_36_44_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/424dbf176986b3e061f2013c1690596b.jpg","text":"TemporaryFile(/tmp/multipartBody3918761150681563064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185583235,"filename":"image_26112025_17_36_54_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/379b81c30f37f61a5a30f44252f9ebed.jpg","text":"TemporaryFile(/tmp/multipartBody4264907356601845049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185583235,"filename":"image_26112025_17_37_04_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/429e9a3564dafcab24aad4ce3cc25ff7.jpg","text":"TemporaryFile(/tmp/multipartBody8431066884527451610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185583235,"filename":"image_26112025_17_36_24_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7f8eccc12979887b977ed11fef0e8fcd.jpg","text":"TemporaryFile(/tmp/multipartBody7774002729932040853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185583235,"filename":"image_26112025_17_36_14_10039.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9396630bbf2d6a7f3ad3ff610a778fd6.jpg","text":"TemporaryFile(/tmp/multipartBody4978649275624809332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185583235,"filename":"image_26112025_17_36_34_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396288351","file1":"1396288349","file0":"1396288348","file4":"1396288356","file5":"1396288361","file3":"1396288353"},"map_files_photo_id_array":[{"photo_id":"1396288361","filename":"file5"},{"photo_id":"1396288351","filename":"file2"},{"photo_id":"1396288356","filename":"file4"},{"photo_id":"1396288349","filename":"file1"},{"photo_id":"1396288348","filename":"file0"},{"photo_id":"1396288353","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396288353":["hashtag1","hashtag2"]},{"1396288356":["hashtag1","hashtag2"]},{"1396288361":["hashtag1","hashtag2"]},{"1396288349":["hashtag1","hashtag2"]},{"1396288348":["hashtag1","hashtag2"]},{"1396288351":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396288353, 1396288356, 1396288361, 1396288349, 1396288348, 1396288351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36581254005432 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 20:32:42.169660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_12_3683.jpg', '/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_15_2510.jpg', '/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_18_2821.jpg', '/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_21_3657.jpg', '/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_24_2740.jpg', '/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_30_3696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_12_3683.jpg
/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_15_2510.jpg
/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_18_2821.jpg
/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_21_3657.jpg
/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_24_2740.jpg
/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_30_3696.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":["1396288374","1396288376","1396288373","1396288375","1396288378","1396288377"],"photo_ids_order":["1396288373","1396288374","1396288375","1396288376","1396288377","1396288378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ae0bb64f75cecfc7ae07ff27877c119e.jpg","text":"TemporaryFile(/tmp/multipartBody2642537358137036077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185623629,"filename":"image_30102025_20_23_15_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/26/49e612a4eccac5ffc489d173b48aedf7.jpg","text":"TemporaryFile(/tmp/multipartBody6027599991845070015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185623629,"filename":"image_30102025_20_23_21_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/26/a06cbaf4b9677b3dd2477f33362f65fa.jpg","text":"TemporaryFile(/tmp/multipartBody1741875844418645521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185623629,"filename":"image_30102025_20_23_12_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/26/5b8123067043ab06ef0d7dca4eae8554.jpg","text":"TemporaryFile(/tmp/multipartBody3601132679029191777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185623629,"filename":"image_30102025_20_23_18_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2a9398ff949d7fb54a48022fe39607fb.jpg","text":"TemporaryFile(/tmp/multipartBody5684122847684032876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185623629,"filename":"image_30102025_20_23_30_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/26/375d9fa7fe7e6d68e3f2de73ad3cacba.jpg","text":"TemporaryFile(/tmp/multipartBody5339173804188985400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185623629,"filename":"image_30102025_20_23_24_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396288375","file1":"1396288374","file0":"1396288373","file4":"1396288377","file5":"1396288378","file3":"1396288376"},"map_files_photo_id_array":[{"photo_id":"1396288378","filename":"file5"},{"photo_id":"1396288375","filename":"file2"},{"photo_id":"1396288377","filename":"file4"},{"photo_id":"1396288374","filename":"file1"},{"photo_id":"1396288373","filename":"file0"},{"photo_id":"1396288376","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396288374":["hashtag1","hashtag2"]},{"1396288376":["hashtag1","hashtag2"]},{"1396288373":["hashtag1","hashtag2"]},{"1396288375":["hashtag1","hashtag2"]},{"1396288378":["hashtag1","hashtag2"]},{"1396288377":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396288374, 1396288376, 1396288373, 1396288375, 1396288378, 1396288377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.974804401397705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 20:33:22.349007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/37/image_26112025_17_37_14_10750.jpg', '/home/pi/Desktop/images/26112025/17/37/image_26112025_17_37_24_9626.jpg', '/home/pi/Desktop/images/26112025/17/37/image_26112025_17_37_34_9667.jpg', '/home/pi/Desktop/images/26112025/17/37/image_26112025_17_37_43_9809.jpg', '/home/pi/Desktop/images/26112025/17/37/image_26112025_17_37_54_10557.jpg', '/home/pi/Desktop/images/26112025/17/37/image_26112025_17_38_04_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/37/image_26112025_17_37_14_10750.jpg
/home/pi/Desktop/images/26112025/17/37/image_26112025_17_37_24_9626.jpg
/home/pi/Desktop/images/26112025/17/37/image_26112025_17_37_34_9667.jpg
/home/pi/Desktop/images/26112025/17/37/image_26112025_17_37_43_9809.jpg
/home/pi/Desktop/images/26112025/17/37/image_26112025_17_37_54_10557.jpg
/home/pi/Desktop/images/26112025/17/37/image_26112025_17_38_04_9658.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":["1396288386","1396288400","1396288399","1396288390","1396288393","1396288396"],"photo_ids_order":["1396288386","1396288390","1396288393","1396288396","1396288399","1396288400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/50a21d435d39a8969c5e4279e887c1ea.jpg","text":"TemporaryFile(/tmp/multipartBody6297341690745639346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185663040,"filename":"image_26112025_17_37_14_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3cdf8ca7c77d95b1dc5888fcd5c4399f.jpg","text":"TemporaryFile(/tmp/multipartBody4828079572648462972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185663040,"filename":"image_26112025_17_38_04_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1f72f6f4d0f3d7f6551e28920e3c4060.jpg","text":"TemporaryFile(/tmp/multipartBody6049992958645628100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185663040,"filename":"image_26112025_17_37_54_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0ab2345133996b7c239d7b5670de30a8.jpg","text":"TemporaryFile(/tmp/multipartBody8844373546708062289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185663040,"filename":"image_26112025_17_37_24_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b26deffc7152be5b015b0d0f234e8e06.jpg","text":"TemporaryFile(/tmp/multipartBody9171525364424543989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185663040,"filename":"image_26112025_17_37_34_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/779327354c5e74e00e96fc8471a8ce19.jpg","text":"TemporaryFile(/tmp/multipartBody2586249008941520285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185663040,"filename":"image_26112025_17_37_43_9809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396288393","file1":"1396288390","file0":"1396288386","file4":"1396288399","file5":"1396288400","file3":"1396288396"},"map_files_photo_id_array":[{"photo_id":"1396288400","filename":"file5"},{"photo_id":"1396288393","filename":"file2"},{"photo_id":"1396288399","filename":"file4"},{"photo_id":"1396288390","filename":"file1"},{"photo_id":"1396288386","filename":"file0"},{"photo_id":"1396288396","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396288386":["hashtag1","hashtag2"]},{"1396288400":["hashtag1","hashtag2"]},{"1396288399":["hashtag1","hashtag2"]},{"1396288390":["hashtag1","hashtag2"]},{"1396288393":["hashtag1","hashtag2"]},{"1396288396":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396288386, 1396288400, 1396288399, 1396288390, 1396288393, 1396288396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.899941205978394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:34:03.343051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/38/image_26112025_17_38_14_10616.jpg', '/home/pi/Desktop/images/26112025/17/38/image_26112025_17_38_24_9994.jpg', '/home/pi/Desktop/images/26112025/17/38/image_26112025_17_38_34_9616.jpg', '/home/pi/Desktop/images/26112025/17/38/image_26112025_17_38_44_9907.jpg', '/home/pi/Desktop/images/26112025/17/38/image_26112025_17_38_53_9646.jpg', '/home/pi/Desktop/images/26112025/17/38/image_26112025_17_39_04_10751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/38/image_26112025_17_38_14_10616.jpg
/home/pi/Desktop/images/26112025/17/38/image_26112025_17_38_24_9994.jpg
/home/pi/Desktop/images/26112025/17/38/image_26112025_17_38_34_9616.jpg
/home/pi/Desktop/images/26112025/17/38/image_26112025_17_38_44_9907.jpg
/home/pi/Desktop/images/26112025/17/38/image_26112025_17_38_53_9646.jpg
/home/pi/Desktop/images/26112025/17/38/image_26112025_17_39_04_10751.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":["1396288401","1396288403","1396288402","1396288411","1396288405","1396288408"],"photo_ids_order":["1396288401","1396288402","1396288403","1396288405","1396288408","1396288411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/783579484e634190ce0c33535dfa15de.jpg","text":"TemporaryFile(/tmp/multipartBody5316842842310845745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185704092,"filename":"image_26112025_17_38_14_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9f61d108fe6fdd784a8f5c168e77f8cf.jpg","text":"TemporaryFile(/tmp/multipartBody7638734684002943416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185704092,"filename":"image_26112025_17_38_34_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a03d807669d3549d7c248a2eaa1a5d28.jpg","text":"TemporaryFile(/tmp/multipartBody32122252226942876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185704092,"filename":"image_26112025_17_38_24_9994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f03d760301f5c42200399ab88b20563b.jpg","text":"TemporaryFile(/tmp/multipartBody7132757014651184424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185704092,"filename":"image_26112025_17_39_04_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c15378e963ee0d07a84caa96cf16c4e0.jpg","text":"TemporaryFile(/tmp/multipartBody3924189922518164489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185704092,"filename":"image_26112025_17_38_44_9907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/48e291318058a182fce2ff4a8c4d00b4.jpg","text":"TemporaryFile(/tmp/multipartBody5491228803723793917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185704092,"filename":"image_26112025_17_38_53_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396288403","file1":"1396288402","file0":"1396288401","file4":"1396288408","file5":"1396288411","file3":"1396288405"},"map_files_photo_id_array":[{"photo_id":"1396288411","filename":"file5"},{"photo_id":"1396288403","filename":"file2"},{"photo_id":"1396288408","filename":"file4"},{"photo_id":"1396288402","filename":"file1"},{"photo_id":"1396288401","filename":"file0"},{"photo_id":"1396288405","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396288401":["hashtag1","hashtag2"]},{"1396288403":["hashtag1","hashtag2"]},{"1396288402":["hashtag1","hashtag2"]},{"1396288411":["hashtag1","hashtag2"]},{"1396288405":["hashtag1","hashtag2"]},{"1396288408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396288401, 1396288403, 1396288402, 1396288411, 1396288405, 1396288408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17565202713013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 20:34:42.581877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_36_2598.jpg', '/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_39_3689.jpg', '/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_42_2648.jpg', '/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_45_2738.jpg', '/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_51_3576.jpg', '/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_54_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_36_2598.jpg
/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_39_3689.jpg
/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_42_2648.jpg
/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_45_2738.jpg
/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_51_3576.jpg
/home/pi/Desktop/images/30102025/20/23/image_30102025_20_23_54_2686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396288425","1396288424","1396288427","1396288420","1396288423","1396288426"],"photo_ids_order":["1396288420","1396288423","1396288424","1396288425","1396288426","1396288427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ae2cff965fba6e932d00fbdf04118396.jpg","text":"TemporaryFile(/tmp/multipartBody6842585159451461180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185744088,"filename":"image_30102025_20_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/26/47505cc3d83ed82f1c2b92ce3ad23a3d.jpg","text":"TemporaryFile(/tmp/multipartBody7464642620161497002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185744088,"filename":"image_30102025_20_23_42_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/57085e5e6cd92fad5287a062be8599ae.jpg","text":"TemporaryFile(/tmp/multipartBody5177542935367189514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185744088,"filename":"image_30102025_20_23_54_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/26/8ed6b99ddfd90fbfb72d7a15c5382fd5.jpg","text":"TemporaryFile(/tmp/multipartBody5175542414837449810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185744088,"filename":"image_30102025_20_23_36_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/26/fc5daf861db8f58614922c4901176b9a.jpg","text":"TemporaryFile(/tmp/multipartBody3449081688473957479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185744088,"filename":"image_30102025_20_23_39_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/26/0fc2bd028f56da28c2b5f164f8b271be.jpg","text":"TemporaryFile(/tmp/multipartBody7632909999236478536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185744088,"filename":"image_30102025_20_23_51_3576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396288424","file1":"1396288423","file0":"1396288420","file4":"1396288426","file5":"1396288427","file3":"1396288425"},"map_files_photo_id_array":[{"photo_id":"1396288427","filename":"file5"},{"photo_id":"1396288424","filename":"file2"},{"photo_id":"1396288426","filename":"file4"},{"photo_id":"1396288423","filename":"file1"},{"photo_id":"1396288420","filename":"file0"},{"photo_id":"1396288425","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396288425":["hashtag1","hashtag2"]},{"1396288424":["hashtag1","hashtag2"]},{"1396288427":["hashtag1","hashtag2"]},{"1396288420":["hashtag1","hashtag2"]},{"1396288423":["hashtag1","hashtag2"]},{"1396288426":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396288425, 1396288424, 1396288427, 1396288420, 1396288423, 1396288426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60145330429077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 20:35:22.763574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/39/image_26112025_17_39_14_9761.jpg', '/home/pi/Desktop/images/26112025/17/39/image_26112025_17_39_24_9851.jpg', '/home/pi/Desktop/images/26112025/17/39/image_26112025_17_39_34_9754.jpg', '/home/pi/Desktop/images/26112025/17/39/image_26112025_17_39_44_10626.jpg', '/home/pi/Desktop/images/26112025/17/39/image_26112025_17_39_54_9661.jpg', '/home/pi/Desktop/images/26112025/17/40/image_26112025_17_40_15_10055.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/39/image_26112025_17_39_14_9761.jpg
/home/pi/Desktop/images/26112025/17/39/image_26112025_17_39_24_9851.jpg
/home/pi/Desktop/images/26112025/17/39/image_26112025_17_39_34_9754.jpg
/home/pi/Desktop/images/26112025/17/39/image_26112025_17_39_44_10626.jpg
/home/pi/Desktop/images/26112025/17/39/image_26112025_17_39_54_9661.jpg
/home/pi/Desktop/images/26112025/17/40/image_26112025_17_40_15_10055.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":["1396288449","1396288434","1396288443","1396288445","1396288439","1396288441"],"photo_ids_order":["1396288434","1396288439","1396288441","1396288443","1396288445","1396288449"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cec57ff7ad74e7f7c4a8c3f67ed7c0ab.jpg","text":"TemporaryFile(/tmp/multipartBody2227666628548761336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185783482,"filename":"image_26112025_17_40_15_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/25c4762ff480501975e8b55a2e34d2a8.jpg","text":"TemporaryFile(/tmp/multipartBody4921185558876606277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185783482,"filename":"image_26112025_17_39_14_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2f86a7981df0626ac05cb8ca46aa830a.jpg","text":"TemporaryFile(/tmp/multipartBody1966217674652789575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185783482,"filename":"image_26112025_17_39_44_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6c7cf4c8664a2d0c9559d04a91d23869.jpg","text":"TemporaryFile(/tmp/multipartBody4396181221746880479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185783482,"filename":"image_26112025_17_39_54_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c3237c85d6ea4aa88d4d0e00e61c0691.jpg","text":"TemporaryFile(/tmp/multipartBody3683075746796359299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185783482,"filename":"image_26112025_17_39_24_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b4c3e92c8196a7e5d6cd9e690e98d04a.jpg","text":"TemporaryFile(/tmp/multipartBody3158620222922706634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185783482,"filename":"image_26112025_17_39_34_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396288441","file1":"1396288439","file0":"1396288434","file4":"1396288445","file5":"1396288449","file3":"1396288443"},"map_files_photo_id_array":[{"photo_id":"1396288449","filename":"file5"},{"photo_id":"1396288441","filename":"file2"},{"photo_id":"1396288445","filename":"file4"},{"photo_id":"1396288439","filename":"file1"},{"photo_id":"1396288434","filename":"file0"},{"photo_id":"1396288443","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396288449":["hashtag1","hashtag2"]},{"1396288434":["hashtag1","hashtag2"]},{"1396288443":["hashtag1","hashtag2"]},{"1396288445":["hashtag1","hashtag2"]},{"1396288439":["hashtag1","hashtag2"]},{"1396288441":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396288449, 1396288434, 1396288443, 1396288445, 1396288439, 1396288441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.647740840911865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:36:02.400563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/40/image_26112025_17_40_25_10714.jpg', '/home/pi/Desktop/images/26112025/17/40/image_26112025_17_40_35_9549.jpg', '/home/pi/Desktop/images/26112025/17/40/image_26112025_17_40_46_10670.jpg', '/home/pi/Desktop/images/26112025/17/40/image_26112025_17_40_55_9657.jpg', '/home/pi/Desktop/images/26112025/17/40/image_26112025_17_41_05_9707.jpg', '/home/pi/Desktop/images/26112025/17/41/image_26112025_17_41_16_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/40/image_26112025_17_40_25_10714.jpg
/home/pi/Desktop/images/26112025/17/40/image_26112025_17_40_35_9549.jpg
/home/pi/Desktop/images/26112025/17/40/image_26112025_17_40_46_10670.jpg
/home/pi/Desktop/images/26112025/17/40/image_26112025_17_40_55_9657.jpg
/home/pi/Desktop/images/26112025/17/40/image_26112025_17_41_05_9707.jpg
/home/pi/Desktop/images/26112025/17/41/image_26112025_17_41_16_10618.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":["1396288458","1396288454","1396288463","1396288451","1396288456","1396288450"],"photo_ids_order":["1396288450","1396288451","1396288454","1396288456","1396288458","1396288463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7116d4bc948f2a1cc40481bfb0ce0435.jpg","text":"TemporaryFile(/tmp/multipartBody1813437894700934642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185823161,"filename":"image_26112025_17_41_05_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/78ca2788fe50e276bbdd4014e1e83a88.jpg","text":"TemporaryFile(/tmp/multipartBody180854287367935361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185823161,"filename":"image_26112025_17_40_46_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ed0622e9893732116ef3a8613a5ce927.jpg","text":"TemporaryFile(/tmp/multipartBody5294643963015152705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185823161,"filename":"image_26112025_17_41_16_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/80faf6951cfb25d61e37998426aceebf.jpg","text":"TemporaryFile(/tmp/multipartBody5227996125313364477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185823161,"filename":"image_26112025_17_40_35_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5f050c30d3c838e2ce9042c908ff2f53.jpg","text":"TemporaryFile(/tmp/multipartBody7702786859365601888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185823161,"filename":"image_26112025_17_40_55_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3605359401b6c1c091e2362423d886a9.jpg","text":"TemporaryFile(/tmp/multipartBody1682994421830232595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185823161,"filename":"image_26112025_17_40_25_10714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396288454","file1":"1396288451","file0":"1396288450","file4":"1396288458","file5":"1396288463","file3":"1396288456"},"map_files_photo_id_array":[{"photo_id":"1396288463","filename":"file5"},{"photo_id":"1396288454","filename":"file2"},{"photo_id":"1396288458","filename":"file4"},{"photo_id":"1396288451","filename":"file1"},{"photo_id":"1396288450","filename":"file0"},{"photo_id":"1396288456","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396288458":["hashtag1","hashtag2"]},{"1396288454":["hashtag1","hashtag2"]},{"1396288463":["hashtag1","hashtag2"]},{"1396288451":["hashtag1","hashtag2"]},{"1396288456":["hashtag1","hashtag2"]},{"1396288450":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396288458, 1396288454, 1396288463, 1396288451, 1396288456, 1396288450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.448368310928345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 20:36:41.924040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/23/image_30102025_20_24_00_3791.jpg', '/home/pi/Desktop/images/30102025/20/24/image_30102025_20_24_06_2648.jpg', '/home/pi/Desktop/images/30102025/20/24/image_30102025_20_24_15_2838.jpg', '/home/pi/Desktop/images/30102025/20/24/image_30102025_20_24_35_17334.jpg', '/home/pi/Desktop/images/30102025/20/24/image_30102025_20_24_44_8773.jpg', '/home/pi/Desktop/images/30102025/20/24/image_30102025_20_24_47_1701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/23/image_30102025_20_24_00_3791.jpg
/home/pi/Desktop/images/30102025/20/24/image_30102025_20_24_06_2648.jpg
/home/pi/Desktop/images/30102025/20/24/image_30102025_20_24_15_2838.jpg
/home/pi/Desktop/images/30102025/20/24/image_30102025_20_24_35_17334.jpg
/home/pi/Desktop/images/30102025/20/24/image_30102025_20_24_44_8773.jpg
/home/pi/Desktop/images/30102025/20/24/image_30102025_20_24_47_1701.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":["1396288479","1396288478","1396288480","1396288474","1396288477","1396288476"],"photo_ids_order":["1396288474","1396288476","1396288477","1396288478","1396288479","1396288480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c4305f8771d32469aa0927a83093009b.jpg","text":"TemporaryFile(/tmp/multipartBody8569651190789042347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185863402,"filename":"image_30102025_20_24_44_8773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2e13f4934564b1346fc3265822aac015.jpg","text":"TemporaryFile(/tmp/multipartBody7732043049503062943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185863402,"filename":"image_30102025_20_24_35_17334.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1b2472c49fba78ed64aba01687a4fdcd.jpg","text":"TemporaryFile(/tmp/multipartBody737310978699830452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185863402,"filename":"image_30102025_20_24_47_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/26/7ef9e055b3624dd913f871ef996ead3a.jpg","text":"TemporaryFile(/tmp/multipartBody8366798712792906310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185863402,"filename":"image_30102025_20_24_00_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/26/056ab2f714345778eb429116a3f5dd01.jpg","text":"TemporaryFile(/tmp/multipartBody382870245714785874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185863402,"filename":"image_30102025_20_24_15_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/26/669b17917bf91d9dae50fc5e7766578f.jpg","text":"TemporaryFile(/tmp/multipartBody2607353566680147685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185863402,"filename":"image_30102025_20_24_06_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396288477","file1":"1396288476","file0":"1396288474","file4":"1396288479","file5":"1396288480","file3":"1396288478"},"map_files_photo_id_array":[{"photo_id":"1396288480","filename":"file5"},{"photo_id":"1396288477","filename":"file2"},{"photo_id":"1396288479","filename":"file4"},{"photo_id":"1396288476","filename":"file1"},{"photo_id":"1396288474","filename":"file0"},{"photo_id":"1396288478","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396288479":["hashtag1","hashtag2"]},{"1396288478":["hashtag1","hashtag2"]},{"1396288480":["hashtag1","hashtag2"]},{"1396288474":["hashtag1","hashtag2"]},{"1396288477":["hashtag1","hashtag2"]},{"1396288476":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396288479, 1396288478, 1396288480, 1396288474, 1396288477, 1396288476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20301127433777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 20:37:22.104792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/41/image_26112025_17_41_25_9654.jpg', '/home/pi/Desktop/images/26112025/17/41/image_26112025_17_41_35_9600.jpg', '/home/pi/Desktop/images/26112025/17/41/image_26112025_17_41_46_10608.jpg', '/home/pi/Desktop/images/26112025/17/41/image_26112025_17_41_55_9535.jpg', '/home/pi/Desktop/images/26112025/17/41/image_26112025_17_42_06_10570.jpg', '/home/pi/Desktop/images/26112025/17/42/image_26112025_17_42_15_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/41/image_26112025_17_41_25_9654.jpg
/home/pi/Desktop/images/26112025/17/41/image_26112025_17_41_35_9600.jpg
/home/pi/Desktop/images/26112025/17/41/image_26112025_17_41_46_10608.jpg
/home/pi/Desktop/images/26112025/17/41/image_26112025_17_41_55_9535.jpg
/home/pi/Desktop/images/26112025/17/41/image_26112025_17_42_06_10570.jpg
/home/pi/Desktop/images/26112025/17/42/image_26112025_17_42_15_9655.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":["1396288503","1396288487","1396288538","1396288547","1396288492","1396288525"],"photo_ids_order":["1396288487","1396288492","1396288503","1396288525","1396288538","1396288547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/742ef7d4303fc14ce2367c1a4ff9a6a8.jpg","text":"TemporaryFile(/tmp/multipartBody5093137704517497198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185902796,"filename":"image_26112025_17_41_46_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/226de9e1dc92e4b5cc622cc8d8613832.jpg","text":"TemporaryFile(/tmp/multipartBody2036041522063075814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185902796,"filename":"image_26112025_17_41_25_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9a661681be3bb287c690d263a314bfa3.jpg","text":"TemporaryFile(/tmp/multipartBody6393862158285463688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185902796,"filename":"image_26112025_17_42_06_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bf4f5175ac7ae65d274877f32e09b777.jpg","text":"TemporaryFile(/tmp/multipartBody7034135690503418962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185902796,"filename":"image_26112025_17_42_15_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fac06b954219c9d73f29ebf3d944f073.jpg","text":"TemporaryFile(/tmp/multipartBody853094844460632065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185902796,"filename":"image_26112025_17_41_35_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/27c199b4a63f4a02e7900624e74d88a3.jpg","text":"TemporaryFile(/tmp/multipartBody586522836941627144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185902796,"filename":"image_26112025_17_41_55_9535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396288503","file1":"1396288492","file0":"1396288487","file4":"1396288538","file5":"1396288547","file3":"1396288525"},"map_files_photo_id_array":[{"photo_id":"1396288547","filename":"file5"},{"photo_id":"1396288503","filename":"file2"},{"photo_id":"1396288538","filename":"file4"},{"photo_id":"1396288492","filename":"file1"},{"photo_id":"1396288487","filename":"file0"},{"photo_id":"1396288525","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396288503":["hashtag1","hashtag2"]},{"1396288487":["hashtag1","hashtag2"]},{"1396288538":["hashtag1","hashtag2"]},{"1396288547":["hashtag1","hashtag2"]},{"1396288492":["hashtag1","hashtag2"]},{"1396288525":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396288503, 1396288487, 1396288538, 1396288547, 1396288492, 1396288525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69424104690552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:38:02.751221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/42/image_26112025_17_42_25_9664.jpg', '/home/pi/Desktop/images/26112025/17/42/image_26112025_17_42_36_10669.jpg', '/home/pi/Desktop/images/26112025/17/42/image_26112025_17_42_45_9639.jpg', '/home/pi/Desktop/images/26112025/17/42/image_26112025_17_42_55_9592.jpg', '/home/pi/Desktop/images/26112025/17/42/image_26112025_17_43_06_10706.jpg', '/home/pi/Desktop/images/26112025/17/43/image_26112025_17_43_15_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/42/image_26112025_17_42_25_9664.jpg
/home/pi/Desktop/images/26112025/17/42/image_26112025_17_42_36_10669.jpg
/home/pi/Desktop/images/26112025/17/42/image_26112025_17_42_45_9639.jpg
/home/pi/Desktop/images/26112025/17/42/image_26112025_17_42_55_9592.jpg
/home/pi/Desktop/images/26112025/17/42/image_26112025_17_43_06_10706.jpg
/home/pi/Desktop/images/26112025/17/43/image_26112025_17_43_15_9708.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":["1396288563","1396288560","1396288550","1396288570","1396288567","1396288552"],"photo_ids_order":["1396288550","1396288552","1396288560","1396288563","1396288567","1396288570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f2ea3e59cc91e7cd2cc4d61ed407110a.jpg","text":"TemporaryFile(/tmp/multipartBody1698437193954435389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185943459,"filename":"image_26112025_17_42_55_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/46690e07f9ad33835bece719364e7d45.jpg","text":"TemporaryFile(/tmp/multipartBody1712451337420860391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185943459,"filename":"image_26112025_17_42_45_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2e22d967b003abc9bdff9cb70645296b.jpg","text":"TemporaryFile(/tmp/multipartBody1335484436513424645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185943459,"filename":"image_26112025_17_42_25_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7bc49498f1eb655537524881f303e4d2.jpg","text":"TemporaryFile(/tmp/multipartBody6005960155921224262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185943459,"filename":"image_26112025_17_43_15_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bd2d4f90c9934c77091b208548d94531.jpg","text":"TemporaryFile(/tmp/multipartBody8611260408993688336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185943459,"filename":"image_26112025_17_43_06_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/284ba1b144b7ff75629a7d2a3692ca8e.jpg","text":"TemporaryFile(/tmp/multipartBody8245813422817679764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185943459,"filename":"image_26112025_17_42_36_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396288560","file1":"1396288552","file0":"1396288550","file4":"1396288567","file5":"1396288570","file3":"1396288563"},"map_files_photo_id_array":[{"photo_id":"1396288570","filename":"file5"},{"photo_id":"1396288560","filename":"file2"},{"photo_id":"1396288567","filename":"file4"},{"photo_id":"1396288552","filename":"file1"},{"photo_id":"1396288550","filename":"file0"},{"photo_id":"1396288563","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396288563":["hashtag1","hashtag2"]},{"1396288560":["hashtag1","hashtag2"]},{"1396288550":["hashtag1","hashtag2"]},{"1396288570":["hashtag1","hashtag2"]},{"1396288567":["hashtag1","hashtag2"]},{"1396288552":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396288563, 1396288560, 1396288550, 1396288570, 1396288567, 1396288552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70369505882263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 20:38:42.290700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/24/image_30102025_20_24_49_1797.jpg', '/home/pi/Desktop/images/30102025/20/24/image_30102025_20_24_52_1650.jpg', '/home/pi/Desktop/images/30102025/20/24/image_30102025_20_24_54_1560.jpg', '/home/pi/Desktop/images/30102025/20/24/image_30102025_20_24_57_1553.jpg', '/home/pi/Desktop/images/30102025/20/24/image_30102025_20_24_59_1791.jpg', '/home/pi/Desktop/images/30102025/20/24/image_30102025_20_25_00_1501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/24/image_30102025_20_24_49_1797.jpg
/home/pi/Desktop/images/30102025/20/24/image_30102025_20_24_52_1650.jpg
/home/pi/Desktop/images/30102025/20/24/image_30102025_20_24_54_1560.jpg
/home/pi/Desktop/images/30102025/20/24/image_30102025_20_24_57_1553.jpg
/home/pi/Desktop/images/30102025/20/24/image_30102025_20_24_59_1791.jpg
/home/pi/Desktop/images/30102025/20/24/image_30102025_20_25_00_1501.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":["1396288650","1396288704","1396288703","1396288613","1396288686","1396288705"],"photo_ids_order":["1396288613","1396288650","1396288686","1396288703","1396288704","1396288705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f583aa7837a3f7c93c42d0456bcbad77.jpg","text":"TemporaryFile(/tmp/multipartBody3736620410668647637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185983781,"filename":"image_30102025_20_24_52_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/26/1aa4e788463f1fa5ee8c2b64ea5caa1b.jpg","text":"TemporaryFile(/tmp/multipartBody751707020057005050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185983781,"filename":"image_30102025_20_24_59_1791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ddb94f5a97f633a90965c2768dac6dee.jpg","text":"TemporaryFile(/tmp/multipartBody1345883122804026118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185983781,"filename":"image_30102025_20_24_57_1553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ef2b6e6761db65fab463087b361f1ef7.jpg","text":"TemporaryFile(/tmp/multipartBody8449383141439031542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185983781,"filename":"image_30102025_20_24_49_1797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2d50f5fd350cbf8fa76e4e78284fd9ba.jpg","text":"TemporaryFile(/tmp/multipartBody4026023018747172241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185983781,"filename":"image_30102025_20_24_54_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/26/30e464343cf455992d0558b4f234b0c9.jpg","text":"TemporaryFile(/tmp/multipartBody2230183005549163948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764185983781,"filename":"image_30102025_20_25_00_1501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396288686","file1":"1396288650","file0":"1396288613","file4":"1396288704","file5":"1396288705","file3":"1396288703"},"map_files_photo_id_array":[{"photo_id":"1396288705","filename":"file5"},{"photo_id":"1396288686","filename":"file2"},{"photo_id":"1396288704","filename":"file4"},{"photo_id":"1396288650","filename":"file1"},{"photo_id":"1396288613","filename":"file0"},{"photo_id":"1396288703","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396288650":["hashtag1","hashtag2"]},{"1396288704":["hashtag1","hashtag2"]},{"1396288703":["hashtag1","hashtag2"]},{"1396288613":["hashtag1","hashtag2"]},{"1396288686":["hashtag1","hashtag2"]},{"1396288705":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396288650, 1396288704, 1396288703, 1396288613, 1396288686, 1396288705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37500786781311 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 20:39:22.451760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/43/image_26112025_17_43_25_9698.jpg', '/home/pi/Desktop/images/26112025/17/43/image_26112025_17_43_35_9760.jpg', '/home/pi/Desktop/images/26112025/17/43/image_26112025_17_43_45_10608.jpg', '/home/pi/Desktop/images/26112025/17/43/image_26112025_17_43_55_9666.jpg', '/home/pi/Desktop/images/26112025/17/43/image_26112025_17_44_06_10644.jpg', '/home/pi/Desktop/images/26112025/17/44/image_26112025_17_44_16_9858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/43/image_26112025_17_43_25_9698.jpg
/home/pi/Desktop/images/26112025/17/43/image_26112025_17_43_35_9760.jpg
/home/pi/Desktop/images/26112025/17/43/image_26112025_17_43_45_10608.jpg
/home/pi/Desktop/images/26112025/17/43/image_26112025_17_43_55_9666.jpg
/home/pi/Desktop/images/26112025/17/43/image_26112025_17_44_06_10644.jpg
/home/pi/Desktop/images/26112025/17/44/image_26112025_17_44_16_9858.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":["1396288725","1396288716","1396288727","1396288720","1396288723","1396288711"],"photo_ids_order":["1396288711","1396288716","1396288720","1396288723","1396288725","1396288727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/472ea4f5e01a4c25f27cbfba1f797dcd.jpg","text":"TemporaryFile(/tmp/multipartBody8012728672928601820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186023133,"filename":"image_26112025_17_44_06_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ed6ed23fa32da58f53963d749551b69f.jpg","text":"TemporaryFile(/tmp/multipartBody4210084930606234880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186023133,"filename":"image_26112025_17_43_35_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/42c2b87ad7d38f1163696fbbf00a054b.jpg","text":"TemporaryFile(/tmp/multipartBody4390963475350998503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186023133,"filename":"image_26112025_17_44_16_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/025db70bce36354d0fefe567e5c00f2e.jpg","text":"TemporaryFile(/tmp/multipartBody8033023807525399568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186023133,"filename":"image_26112025_17_43_45_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/57958d8c37062f3f7880292ad1efb8a5.jpg","text":"TemporaryFile(/tmp/multipartBody3073761527872972603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186023133,"filename":"image_26112025_17_43_55_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0f9c6b088a037a4cba309e6c66776497.jpg","text":"TemporaryFile(/tmp/multipartBody7662125045413590121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186023133,"filename":"image_26112025_17_43_25_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396288720","file1":"1396288716","file0":"1396288711","file4":"1396288725","file5":"1396288727","file3":"1396288723"},"map_files_photo_id_array":[{"photo_id":"1396288727","filename":"file5"},{"photo_id":"1396288720","filename":"file2"},{"photo_id":"1396288725","filename":"file4"},{"photo_id":"1396288716","filename":"file1"},{"photo_id":"1396288711","filename":"file0"},{"photo_id":"1396288723","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396288725":["hashtag1","hashtag2"]},{"1396288716":["hashtag1","hashtag2"]},{"1396288727":["hashtag1","hashtag2"]},{"1396288720":["hashtag1","hashtag2"]},{"1396288723":["hashtag1","hashtag2"]},{"1396288711":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396288725, 1396288716, 1396288727, 1396288720, 1396288723, 1396288711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.841601610183716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:40:02.970953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/44/image_26112025_17_44_25_9613.jpg', '/home/pi/Desktop/images/26112025/17/44/image_26112025_17_44_35_9645.jpg', '/home/pi/Desktop/images/26112025/17/44/image_26112025_17_44_45_10576.jpg', '/home/pi/Desktop/images/26112025/17/44/image_26112025_17_44_55_9571.jpg', '/home/pi/Desktop/images/26112025/17/45/image_26112025_17_45_13_10057.jpg', '/home/pi/Desktop/images/26112025/17/45/image_26112025_17_45_24_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/44/image_26112025_17_44_25_9613.jpg
/home/pi/Desktop/images/26112025/17/44/image_26112025_17_44_35_9645.jpg
/home/pi/Desktop/images/26112025/17/44/image_26112025_17_44_45_10576.jpg
/home/pi/Desktop/images/26112025/17/44/image_26112025_17_44_55_9571.jpg
/home/pi/Desktop/images/26112025/17/45/image_26112025_17_45_13_10057.jpg
/home/pi/Desktop/images/26112025/17/45/image_26112025_17_45_24_10668.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":["1396288770","1396288839","1396288806","1396288942","1396288906","1396288872"],"photo_ids_order":["1396288770","1396288806","1396288839","1396288872","1396288906","1396288942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1e5ac4219c0451dec78f149bb2cd3f64.jpg","text":"TemporaryFile(/tmp/multipartBody8898727594523084863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186063759,"filename":"image_26112025_17_44_25_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/89a27d8a36adab6d7e957be1492d6cea.jpg","text":"TemporaryFile(/tmp/multipartBody9128966425212203969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186063759,"filename":"image_26112025_17_44_45_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/267575fd2158a75d16eee511f6c7eca5.jpg","text":"TemporaryFile(/tmp/multipartBody5464523236645204404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186063759,"filename":"image_26112025_17_44_35_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/25c561033ecce94fb0667d4906686154.jpg","text":"TemporaryFile(/tmp/multipartBody4884205472487671440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186063759,"filename":"image_26112025_17_45_24_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aa0cea8528aa4901fd7b0ea70cf8d576.jpg","text":"TemporaryFile(/tmp/multipartBody6418978012670018757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186063759,"filename":"image_26112025_17_45_13_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/39319a911c95791a174f1caa99749787.jpg","text":"TemporaryFile(/tmp/multipartBody13314543720089635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186063759,"filename":"image_26112025_17_44_55_9571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396288839","file1":"1396288806","file0":"1396288770","file4":"1396288906","file5":"1396288942","file3":"1396288872"},"map_files_photo_id_array":[{"photo_id":"1396288942","filename":"file5"},{"photo_id":"1396288839","filename":"file2"},{"photo_id":"1396288906","filename":"file4"},{"photo_id":"1396288806","filename":"file1"},{"photo_id":"1396288770","filename":"file0"},{"photo_id":"1396288872","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396288770":["hashtag1","hashtag2"]},{"1396288839":["hashtag1","hashtag2"]},{"1396288806":["hashtag1","hashtag2"]},{"1396288942":["hashtag1","hashtag2"]},{"1396288906":["hashtag1","hashtag2"]},{"1396288872":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396288770, 1396288839, 1396288806, 1396288942, 1396288906, 1396288872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.798338174819946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 20:40:42.632749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_06_1698.jpg', '/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_08_1820.jpg', '/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_09_1689.jpg', '/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_15_2759.jpg', '/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_19_4380.jpg', '/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_21_1646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_06_1698.jpg
/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_08_1820.jpg
/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_09_1689.jpg
/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_15_2759.jpg
/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_19_4380.jpg
/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_21_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":["1396289090","1396289098","1396289102","1396289089","1396289080","1396289091"],"photo_ids_order":["1396289080","1396289089","1396289090","1396289091","1396289098","1396289102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1fb21c1731653647b9b35b3fb075e7bc.jpg","text":"TemporaryFile(/tmp/multipartBody3562644692597866181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186104106,"filename":"image_30102025_20_25_09_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/26/af1801e3747d29553224787601f80f72.jpg","text":"TemporaryFile(/tmp/multipartBody6757326285880369120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186104106,"filename":"image_30102025_20_25_19_4380.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/366a631fc824821d4416196d51e854f7.jpg","text":"TemporaryFile(/tmp/multipartBody2101536375768033174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186104106,"filename":"image_30102025_20_25_21_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/26/41545e50fe9136a20dc350ecfd14e766.jpg","text":"TemporaryFile(/tmp/multipartBody8269527675271654811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186104106,"filename":"image_30102025_20_25_08_1820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b3563473dc7d43ed317296c6d4254beb.jpg","text":"TemporaryFile(/tmp/multipartBody8259735457908149577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186104106,"filename":"image_30102025_20_25_06_1698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b7bb61e27011cdba91502a370ab84ee4.jpg","text":"TemporaryFile(/tmp/multipartBody7888198518214189853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186104106,"filename":"image_30102025_20_25_15_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396289090","file1":"1396289089","file0":"1396289080","file4":"1396289098","file5":"1396289102","file3":"1396289091"},"map_files_photo_id_array":[{"photo_id":"1396289102","filename":"file5"},{"photo_id":"1396289090","filename":"file2"},{"photo_id":"1396289098","filename":"file4"},{"photo_id":"1396289089","filename":"file1"},{"photo_id":"1396289080","filename":"file0"},{"photo_id":"1396289091","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396289090":["hashtag1","hashtag2"]},{"1396289098":["hashtag1","hashtag2"]},{"1396289102":["hashtag1","hashtag2"]},{"1396289089":["hashtag1","hashtag2"]},{"1396289080":["hashtag1","hashtag2"]},{"1396289091":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396289090, 1396289098, 1396289102, 1396289089, 1396289080, 1396289091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79464530944824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 20:41:22.804976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/45/image_26112025_17_45_34_9706.jpg', '/home/pi/Desktop/images/26112025/17/45/image_26112025_17_45_44_10565.jpg', '/home/pi/Desktop/images/26112025/17/45/image_26112025_17_45_54_9505.jpg', '/home/pi/Desktop/images/26112025/17/45/image_26112025_17_46_03_9592.jpg', '/home/pi/Desktop/images/26112025/17/46/image_26112025_17_46_24_9798.jpg', '/home/pi/Desktop/images/26112025/17/46/image_26112025_17_46_34_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/45/image_26112025_17_45_34_9706.jpg
/home/pi/Desktop/images/26112025/17/45/image_26112025_17_45_44_10565.jpg
/home/pi/Desktop/images/26112025/17/45/image_26112025_17_45_54_9505.jpg
/home/pi/Desktop/images/26112025/17/45/image_26112025_17_46_03_9592.jpg
/home/pi/Desktop/images/26112025/17/46/image_26112025_17_46_24_9798.jpg
/home/pi/Desktop/images/26112025/17/46/image_26112025_17_46_34_9704.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":["1396289112","1396289106","1396289114","1396289108","1396289116","1396289110"],"photo_ids_order":["1396289106","1396289108","1396289110","1396289112","1396289114","1396289116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5ac871adc2531ef7b4f94896dedbe4e9.jpg","text":"TemporaryFile(/tmp/multipartBody4767618884033913685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186143519,"filename":"image_26112025_17_46_03_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/15c14027e4de6175c936c99da9d07972.jpg","text":"TemporaryFile(/tmp/multipartBody7860800388394086684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186143519,"filename":"image_26112025_17_45_34_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7f4fea6aa644516df379115fe58bc7d5.jpg","text":"TemporaryFile(/tmp/multipartBody8435575444433977860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186143519,"filename":"image_26112025_17_46_24_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/04b691ca342d320af8a7037a88ec28c3.jpg","text":"TemporaryFile(/tmp/multipartBody3547562819417711437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186143519,"filename":"image_26112025_17_45_44_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dc3faf5fe10c3638a089da7ff1da9af9.jpg","text":"TemporaryFile(/tmp/multipartBody3626238313347790009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186143519,"filename":"image_26112025_17_46_34_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c1965a316130916c48fe7e546b224058.jpg","text":"TemporaryFile(/tmp/multipartBody5796502798998468055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186143519,"filename":"image_26112025_17_45_54_9505.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396289110","file1":"1396289108","file0":"1396289106","file4":"1396289114","file5":"1396289116","file3":"1396289112"},"map_files_photo_id_array":[{"photo_id":"1396289116","filename":"file5"},{"photo_id":"1396289110","filename":"file2"},{"photo_id":"1396289114","filename":"file4"},{"photo_id":"1396289108","filename":"file1"},{"photo_id":"1396289106","filename":"file0"},{"photo_id":"1396289112","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396289112":["hashtag1","hashtag2"]},{"1396289106":["hashtag1","hashtag2"]},{"1396289114":["hashtag1","hashtag2"]},{"1396289108":["hashtag1","hashtag2"]},{"1396289116":["hashtag1","hashtag2"]},{"1396289110":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396289112, 1396289106, 1396289114, 1396289108, 1396289116, 1396289110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.234315395355225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:42:02.413534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/46/image_26112025_17_46_44_10632.jpg', '/home/pi/Desktop/images/26112025/17/46/image_26112025_17_46_54_9728.jpg', '/home/pi/Desktop/images/26112025/17/46/image_26112025_17_47_04_9636.jpg', '/home/pi/Desktop/images/26112025/17/47/image_26112025_17_47_14_10551.jpg', '/home/pi/Desktop/images/26112025/17/47/image_26112025_17_47_24_9806.jpg', '/home/pi/Desktop/images/26112025/17/47/image_26112025_17_47_34_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/46/image_26112025_17_46_44_10632.jpg
/home/pi/Desktop/images/26112025/17/46/image_26112025_17_46_54_9728.jpg
/home/pi/Desktop/images/26112025/17/46/image_26112025_17_47_04_9636.jpg
/home/pi/Desktop/images/26112025/17/47/image_26112025_17_47_14_10551.jpg
/home/pi/Desktop/images/26112025/17/47/image_26112025_17_47_24_9806.jpg
/home/pi/Desktop/images/26112025/17/47/image_26112025_17_47_34_9733.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":["1396289150","1396289126","1396289152","1396289155","1396289143","1396289125"],"photo_ids_order":["1396289125","1396289126","1396289143","1396289150","1396289152","1396289155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b2d09f3570ea0e5e5d60ccedf02d947b.jpg","text":"TemporaryFile(/tmp/multipartBody9096124751292884407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186183133,"filename":"image_26112025_17_47_14_10551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/613d5807e6f0ae1fe598d4252573545a.jpg","text":"TemporaryFile(/tmp/multipartBody3634064997921059367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186183133,"filename":"image_26112025_17_46_54_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0cb61cdc4b4b3689b9f5a9a20b95bbca.jpg","text":"TemporaryFile(/tmp/multipartBody54943520538732404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186183133,"filename":"image_26112025_17_47_24_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8fd04e45b907566731d10d22762a56c2.jpg","text":"TemporaryFile(/tmp/multipartBody5955962953464822691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186183133,"filename":"image_26112025_17_47_34_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aa43aea8627064344cfafbd991490473.jpg","text":"TemporaryFile(/tmp/multipartBody4339619979994717306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186183133,"filename":"image_26112025_17_47_04_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3f9797491832cc939395ba084f268e5b.jpg","text":"TemporaryFile(/tmp/multipartBody1118019007978886921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186183133,"filename":"image_26112025_17_46_44_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396289143","file1":"1396289126","file0":"1396289125","file4":"1396289152","file5":"1396289155","file3":"1396289150"},"map_files_photo_id_array":[{"photo_id":"1396289155","filename":"file5"},{"photo_id":"1396289143","filename":"file2"},{"photo_id":"1396289152","filename":"file4"},{"photo_id":"1396289126","filename":"file1"},{"photo_id":"1396289125","filename":"file0"},{"photo_id":"1396289150","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396289150":["hashtag1","hashtag2"]},{"1396289126":["hashtag1","hashtag2"]},{"1396289152":["hashtag1","hashtag2"]},{"1396289155":["hashtag1","hashtag2"]},{"1396289143":["hashtag1","hashtag2"]},{"1396289125":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396289150, 1396289126, 1396289152, 1396289155, 1396289143, 1396289125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53802728652954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 20:42:41.996247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_25_4033.jpg', '/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_27_1654.jpg', '/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_33_2613.jpg', '/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_35_2642.jpg', '/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_38_2761.jpg', '/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_44_5544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_25_4033.jpg
/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_27_1654.jpg
/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_33_2613.jpg
/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_35_2642.jpg
/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_38_2761.jpg
/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_44_5544.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":["1396289174","1396289168","1396289177","1396289171","1396289173","1396289172"],"photo_ids_order":["1396289168","1396289171","1396289172","1396289173","1396289174","1396289177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0eb4403fcd3353b3d50969e877bef7cc.jpg","text":"TemporaryFile(/tmp/multipartBody1924795582127441251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186223456,"filename":"image_30102025_20_25_38_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/26/ee71c8cb32ac082adfacb031bbd352da.jpg","text":"TemporaryFile(/tmp/multipartBody3762323709646000900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186223456,"filename":"image_30102025_20_25_25_4033.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5c6b19b0ddc3ce749b319513e83397ee.jpg","text":"TemporaryFile(/tmp/multipartBody7403941297400040241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186223456,"filename":"image_30102025_20_25_44_5544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/22e2a3bd44867084c21bed3f105babf1.jpg","text":"TemporaryFile(/tmp/multipartBody8366425024835403123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186223456,"filename":"image_30102025_20_25_27_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/26/202587248a6234795ec010a0a354ac70.jpg","text":"TemporaryFile(/tmp/multipartBody76914163221321891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186223456,"filename":"image_30102025_20_25_35_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/26/aa2d5f6de57e4ca3b5e03948a9c89da5.jpg","text":"TemporaryFile(/tmp/multipartBody3523106136002443781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186223456,"filename":"image_30102025_20_25_33_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396289172","file1":"1396289171","file0":"1396289168","file4":"1396289174","file5":"1396289177","file3":"1396289173"},"map_files_photo_id_array":[{"photo_id":"1396289177","filename":"file5"},{"photo_id":"1396289172","filename":"file2"},{"photo_id":"1396289174","filename":"file4"},{"photo_id":"1396289171","filename":"file1"},{"photo_id":"1396289168","filename":"file0"},{"photo_id":"1396289173","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396289174":["hashtag1","hashtag2"]},{"1396289168":["hashtag1","hashtag2"]},{"1396289177":["hashtag1","hashtag2"]},{"1396289171":["hashtag1","hashtag2"]},{"1396289173":["hashtag1","hashtag2"]},{"1396289172":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396289174, 1396289168, 1396289177, 1396289171, 1396289173, 1396289172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41403937339783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 20:43:22.163890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/47/image_26112025_17_47_43_9721.jpg', '/home/pi/Desktop/images/26112025/17/47/image_26112025_17_47_54_10502.jpg', '/home/pi/Desktop/images/26112025/17/48/image_26112025_17_48_14_9765.jpg', '/home/pi/Desktop/images/26112025/17/48/image_26112025_17_48_24_10736.jpg', '/home/pi/Desktop/images/26112025/17/48/image_26112025_17_48_34_9541.jpg', '/home/pi/Desktop/images/26112025/17/48/image_26112025_17_48_43_9557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/47/image_26112025_17_47_43_9721.jpg
/home/pi/Desktop/images/26112025/17/47/image_26112025_17_47_54_10502.jpg
/home/pi/Desktop/images/26112025/17/48/image_26112025_17_48_14_9765.jpg
/home/pi/Desktop/images/26112025/17/48/image_26112025_17_48_24_10736.jpg
/home/pi/Desktop/images/26112025/17/48/image_26112025_17_48_34_9541.jpg
/home/pi/Desktop/images/26112025/17/48/image_26112025_17_48_43_9557.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":["1396289381","1396289375","1396289378","1396289306","1396289373","1396289343"],"photo_ids_order":["1396289306","1396289343","1396289373","1396289375","1396289378","1396289381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f8beae344ab2bc87159bd3c30f13a704.jpg","text":"TemporaryFile(/tmp/multipartBody2117297582241219002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186262850,"filename":"image_26112025_17_48_43_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/996936228662e07ea2bccdf358d5e162.jpg","text":"TemporaryFile(/tmp/multipartBody5547603352450938877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186262850,"filename":"image_26112025_17_48_24_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d554aeed78a1f2bde24f2698bb597b8c.jpg","text":"TemporaryFile(/tmp/multipartBody1648809648234373500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186262850,"filename":"image_26112025_17_48_34_9541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6d62d9340d8ef75affcc0cf73856719d.jpg","text":"TemporaryFile(/tmp/multipartBody3682829086102767732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186262850,"filename":"image_26112025_17_47_43_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fd5b8e2855ca60db4c98e075de57fb41.jpg","text":"TemporaryFile(/tmp/multipartBody7997718564758314685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186262850,"filename":"image_26112025_17_48_14_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4d6701dca47189b1a3f3cc07cb30a465.jpg","text":"TemporaryFile(/tmp/multipartBody4036354153453658698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186262850,"filename":"image_26112025_17_47_54_10502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396289373","file1":"1396289343","file0":"1396289306","file4":"1396289378","file5":"1396289381","file3":"1396289375"},"map_files_photo_id_array":[{"photo_id":"1396289381","filename":"file5"},{"photo_id":"1396289373","filename":"file2"},{"photo_id":"1396289378","filename":"file4"},{"photo_id":"1396289343","filename":"file1"},{"photo_id":"1396289306","filename":"file0"},{"photo_id":"1396289375","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396289381":["hashtag1","hashtag2"]},{"1396289375":["hashtag1","hashtag2"]},{"1396289378":["hashtag1","hashtag2"]},{"1396289306":["hashtag1","hashtag2"]},{"1396289373":["hashtag1","hashtag2"]},{"1396289343":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396289381, 1396289375, 1396289378, 1396289306, 1396289373, 1396289343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2732253074646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:44:02.896188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/48/image_26112025_17_48_54_10538.jpg', '/home/pi/Desktop/images/26112025/17/48/image_26112025_17_49_04_9664.jpg', '/home/pi/Desktop/images/26112025/17/49/image_26112025_17_49_13_9748.jpg', '/home/pi/Desktop/images/26112025/17/49/image_26112025_17_49_24_10699.jpg', '/home/pi/Desktop/images/26112025/17/49/image_26112025_17_49_34_9710.jpg', '/home/pi/Desktop/images/26112025/17/49/image_26112025_17_49_43_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/48/image_26112025_17_48_54_10538.jpg
/home/pi/Desktop/images/26112025/17/48/image_26112025_17_49_04_9664.jpg
/home/pi/Desktop/images/26112025/17/49/image_26112025_17_49_13_9748.jpg
/home/pi/Desktop/images/26112025/17/49/image_26112025_17_49_24_10699.jpg
/home/pi/Desktop/images/26112025/17/49/image_26112025_17_49_34_9710.jpg
/home/pi/Desktop/images/26112025/17/49/image_26112025_17_49_43_9595.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":["1396289433","1396289488","1396289482","1396289460","1396289484","1396289451"],"photo_ids_order":["1396289433","1396289451","1396289460","1396289482","1396289484","1396289488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/13f44ecd70af3936824c52cb410f613e.jpg","text":"TemporaryFile(/tmp/multipartBody3007446174190126355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186303755,"filename":"image_26112025_17_48_54_10538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b3dc9319d4bfa9471dc34b79faf25f9d.jpg","text":"TemporaryFile(/tmp/multipartBody3552919674363718259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186303755,"filename":"image_26112025_17_49_43_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/91cdbb04fd5eca10789897e90b480b40.jpg","text":"TemporaryFile(/tmp/multipartBody8005829423311468601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186303755,"filename":"image_26112025_17_49_24_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3a1f858a427d569582ed491c146d523f.jpg","text":"TemporaryFile(/tmp/multipartBody1918465894509473340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186303755,"filename":"image_26112025_17_49_13_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d8a15197270a49a0e2eeb83637db67be.jpg","text":"TemporaryFile(/tmp/multipartBody7775841827273247422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186303755,"filename":"image_26112025_17_49_34_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f3c88119ea17e08f1186573e349db3ec.jpg","text":"TemporaryFile(/tmp/multipartBody6413200399340696363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186303755,"filename":"image_26112025_17_49_04_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396289460","file1":"1396289451","file0":"1396289433","file4":"1396289484","file5":"1396289488","file3":"1396289482"},"map_files_photo_id_array":[{"photo_id":"1396289488","filename":"file5"},{"photo_id":"1396289460","filename":"file2"},{"photo_id":"1396289484","filename":"file4"},{"photo_id":"1396289451","filename":"file1"},{"photo_id":"1396289433","filename":"file0"},{"photo_id":"1396289482","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396289433":["hashtag1","hashtag2"]},{"1396289488":["hashtag1","hashtag2"]},{"1396289482":["hashtag1","hashtag2"]},{"1396289460":["hashtag1","hashtag2"]},{"1396289484":["hashtag1","hashtag2"]},{"1396289451":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396289433, 1396289488, 1396289482, 1396289460, 1396289484, 1396289451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38545227050781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 20:44:42.348239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_50_5896.jpg', '/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_53_2968.jpg', '/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_56_1686.jpg', '/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_03_3223.jpg', '/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_05_2677.jpg', '/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_09_3597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_50_5896.jpg
/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_53_2968.jpg
/home/pi/Desktop/images/30102025/20/25/image_30102025_20_25_56_1686.jpg
/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_03_3223.jpg
/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_05_2677.jpg
/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_09_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":["1396289604","1396289607","1396289600","1396289603","1396289606","1396289605"],"photo_ids_order":["1396289600","1396289603","1396289604","1396289605","1396289606","1396289607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/acb676e510f7edc0ad86d31131009368.jpg","text":"TemporaryFile(/tmp/multipartBody1302590596898271817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186343817,"filename":"image_30102025_20_25_56_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/26/a8fb64eb7dcfb0653b0e5701ac947860.jpg","text":"TemporaryFile(/tmp/multipartBody7156760693791393832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186343817,"filename":"image_30102025_20_26_09_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/26/86ed049aa11801b84c4ff2eaa96d3197.jpg","text":"TemporaryFile(/tmp/multipartBody971575183572605860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186343817,"filename":"image_30102025_20_25_50_5896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/127df22e43d066a299a20b26b16332fc.jpg","text":"TemporaryFile(/tmp/multipartBody1788042091641679581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186343817,"filename":"image_30102025_20_25_53_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/26/08f3cb45ac4612a9f0997c251fc1a23d.jpg","text":"TemporaryFile(/tmp/multipartBody2785284738696575472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186343817,"filename":"image_30102025_20_26_05_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/26/f15fed3c0ee07a9b8a21f09cd8c450cf.jpg","text":"TemporaryFile(/tmp/multipartBody8642867443087506924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186343817,"filename":"image_30102025_20_26_03_3223.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396289604","file1":"1396289603","file0":"1396289600","file4":"1396289606","file5":"1396289607","file3":"1396289605"},"map_files_photo_id_array":[{"photo_id":"1396289607","filename":"file5"},{"photo_id":"1396289604","filename":"file2"},{"photo_id":"1396289606","filename":"file4"},{"photo_id":"1396289603","filename":"file1"},{"photo_id":"1396289600","filename":"file0"},{"photo_id":"1396289605","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396289604":["hashtag1","hashtag2"]},{"1396289607":["hashtag1","hashtag2"]},{"1396289600":["hashtag1","hashtag2"]},{"1396289603":["hashtag1","hashtag2"]},{"1396289606":["hashtag1","hashtag2"]},{"1396289605":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396289604, 1396289607, 1396289600, 1396289603, 1396289606, 1396289605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.937361001968384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 20:45:22.454325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/49/image_26112025_17_49_54_10863.jpg', '/home/pi/Desktop/images/26112025/17/50/image_26112025_17_50_15_10056.jpg', '/home/pi/Desktop/images/26112025/17/50/image_26112025_17_50_26_10660.jpg', '/home/pi/Desktop/images/26112025/17/50/image_26112025_17_50_45_9668.jpg', '/home/pi/Desktop/images/26112025/17/50/image_26112025_17_50_56_10604.jpg', '/home/pi/Desktop/images/26112025/17/50/image_26112025_17_51_05_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/49/image_26112025_17_49_54_10863.jpg
/home/pi/Desktop/images/26112025/17/50/image_26112025_17_50_15_10056.jpg
/home/pi/Desktop/images/26112025/17/50/image_26112025_17_50_26_10660.jpg
/home/pi/Desktop/images/26112025/17/50/image_26112025_17_50_45_9668.jpg
/home/pi/Desktop/images/26112025/17/50/image_26112025_17_50_56_10604.jpg
/home/pi/Desktop/images/26112025/17/50/image_26112025_17_51_05_9607.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":["1396289625","1396289619","1396289613","1396289611","1396289622","1396289616"],"photo_ids_order":["1396289611","1396289613","1396289616","1396289619","1396289622","1396289625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/41f7cb3e109b844ceeedc56ff5a5ed4f.jpg","text":"TemporaryFile(/tmp/multipartBody8273142247486736159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186383150,"filename":"image_26112025_17_51_05_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b4eb841403adfc7a1254729be7fc22b7.jpg","text":"TemporaryFile(/tmp/multipartBody2041173932369619453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186383150,"filename":"image_26112025_17_50_45_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a0cc6b7b82377cc73ba2c607af1a2c61.jpg","text":"TemporaryFile(/tmp/multipartBody5408295300821619704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186383150,"filename":"image_26112025_17_50_15_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8e2c6f9062a2263f15178b911c33f9b6.jpg","text":"TemporaryFile(/tmp/multipartBody2928904215191819629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186383150,"filename":"image_26112025_17_49_54_10863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0bf55f9c2d045b375594915a37620313.jpg","text":"TemporaryFile(/tmp/multipartBody1629361456576409942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186383150,"filename":"image_26112025_17_50_56_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d7b77af715753b737a03e3327a95df89.jpg","text":"TemporaryFile(/tmp/multipartBody1848177537435688831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186383150,"filename":"image_26112025_17_50_26_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396289616","file1":"1396289613","file0":"1396289611","file4":"1396289622","file5":"1396289625","file3":"1396289619"},"map_files_photo_id_array":[{"photo_id":"1396289625","filename":"file5"},{"photo_id":"1396289616","filename":"file2"},{"photo_id":"1396289622","filename":"file4"},{"photo_id":"1396289613","filename":"file1"},{"photo_id":"1396289611","filename":"file0"},{"photo_id":"1396289619","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396289625":["hashtag1","hashtag2"]},{"1396289619":["hashtag1","hashtag2"]},{"1396289613":["hashtag1","hashtag2"]},{"1396289611":["hashtag1","hashtag2"]},{"1396289622":["hashtag1","hashtag2"]},{"1396289616":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396289625, 1396289619, 1396289613, 1396289611, 1396289622, 1396289616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97302007675171 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:46:03.173249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/51/image_26112025_17_51_16_10673.jpg', '/home/pi/Desktop/images/26112025/17/51/image_26112025_17_51_26_9655.jpg', '/home/pi/Desktop/images/26112025/17/51/image_26112025_17_51_35_9546.jpg', '/home/pi/Desktop/images/26112025/17/51/image_26112025_17_51_46_10675.jpg', '/home/pi/Desktop/images/26112025/17/51/image_26112025_17_51_55_9621.jpg', '/home/pi/Desktop/images/26112025/17/51/image_26112025_17_52_05_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/51/image_26112025_17_51_16_10673.jpg
/home/pi/Desktop/images/26112025/17/51/image_26112025_17_51_26_9655.jpg
/home/pi/Desktop/images/26112025/17/51/image_26112025_17_51_35_9546.jpg
/home/pi/Desktop/images/26112025/17/51/image_26112025_17_51_46_10675.jpg
/home/pi/Desktop/images/26112025/17/51/image_26112025_17_51_55_9621.jpg
/home/pi/Desktop/images/26112025/17/51/image_26112025_17_52_05_9785.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":["1396289642","1396289641","1396289644","1396289647","1396289626","1396289640"],"photo_ids_order":["1396289626","1396289640","1396289641","1396289642","1396289644","1396289647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b631d5be38a3cd72861edda65d85e71b.jpg","text":"TemporaryFile(/tmp/multipartBody2383656144207400658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186423889,"filename":"image_26112025_17_51_46_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/03818546695d22f48dbaf9c474d129dc.jpg","text":"TemporaryFile(/tmp/multipartBody7886337278980805550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186423889,"filename":"image_26112025_17_51_35_9546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e7c9355d59327ed98e6d5ce3c1e6f728.jpg","text":"TemporaryFile(/tmp/multipartBody5213713588142529830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186423889,"filename":"image_26112025_17_51_55_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/157428fa3ed228a44d279483b0e96039.jpg","text":"TemporaryFile(/tmp/multipartBody1285307511458226508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186423889,"filename":"image_26112025_17_52_05_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/129b621dba48f94a898bd85378f47cab.jpg","text":"TemporaryFile(/tmp/multipartBody8630801690242540252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186423889,"filename":"image_26112025_17_51_16_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0590e950bcee8790edcbb7c7cef2f5a4.jpg","text":"TemporaryFile(/tmp/multipartBody4219850128010181876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186423889,"filename":"image_26112025_17_51_26_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396289641","file1":"1396289640","file0":"1396289626","file4":"1396289644","file5":"1396289647","file3":"1396289642"},"map_files_photo_id_array":[{"photo_id":"1396289647","filename":"file5"},{"photo_id":"1396289641","filename":"file2"},{"photo_id":"1396289644","filename":"file4"},{"photo_id":"1396289640","filename":"file1"},{"photo_id":"1396289626","filename":"file0"},{"photo_id":"1396289642","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396289642":["hashtag1","hashtag2"]},{"1396289641":["hashtag1","hashtag2"]},{"1396289644":["hashtag1","hashtag2"]},{"1396289647":["hashtag1","hashtag2"]},{"1396289626":["hashtag1","hashtag2"]},{"1396289640":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396289642, 1396289641, 1396289644, 1396289647, 1396289626, 1396289640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46045470237732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 20:46:42.719205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_12_2773.jpg', '/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_24_3555.jpg', '/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_27_2888.jpg', '/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_30_2591.jpg', '/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_32_2701.jpg', '/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_36_3715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_12_2773.jpg
/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_24_3555.jpg
/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_27_2888.jpg
/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_30_2591.jpg
/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_32_2701.jpg
/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_36_3715.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":["1396289663","1396289657","1396289660","1396289662","1396289659","1396289661"],"photo_ids_order":["1396289657","1396289659","1396289660","1396289661","1396289662","1396289663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3b2f44bcd315af8ecbe9320f913e6bde.jpg","text":"TemporaryFile(/tmp/multipartBody2355197894267141668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186464201,"filename":"image_30102025_20_26_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/26/5a1e1cb871a2373b5d5b6e6e7d6072f4.jpg","text":"TemporaryFile(/tmp/multipartBody7612009051188066970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186464201,"filename":"image_30102025_20_26_12_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/26/ac2424dd6f72be41907bb0b39752567f.jpg","text":"TemporaryFile(/tmp/multipartBody7024365675923880851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186464201,"filename":"image_30102025_20_26_27_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/26/abb8e11e33cf8456961c48c504daa6a1.jpg","text":"TemporaryFile(/tmp/multipartBody5798706090630905724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186464201,"filename":"image_30102025_20_26_32_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/26/8c2d6c800614b26fe9c4a32efdbd9aa4.jpg","text":"TemporaryFile(/tmp/multipartBody5002482098222741586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186464201,"filename":"image_30102025_20_26_24_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/26/feb0a01c1dea6eb05cb0c3c3b50da61b.jpg","text":"TemporaryFile(/tmp/multipartBody1414575464929804992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186464201,"filename":"image_30102025_20_26_30_2591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396289660","file1":"1396289659","file0":"1396289657","file4":"1396289662","file5":"1396289663","file3":"1396289661"},"map_files_photo_id_array":[{"photo_id":"1396289663","filename":"file5"},{"photo_id":"1396289660","filename":"file2"},{"photo_id":"1396289662","filename":"file4"},{"photo_id":"1396289659","filename":"file1"},{"photo_id":"1396289657","filename":"file0"},{"photo_id":"1396289661","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396289663":["hashtag1","hashtag2"]},{"1396289657":["hashtag1","hashtag2"]},{"1396289660":["hashtag1","hashtag2"]},{"1396289662":["hashtag1","hashtag2"]},{"1396289659":["hashtag1","hashtag2"]},{"1396289661":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396289663, 1396289657, 1396289660, 1396289662, 1396289659, 1396289661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05661129951477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 20:47:21.876594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/52/image_26112025_17_52_16_10683.jpg', '/home/pi/Desktop/images/26112025/17/52/image_26112025_17_52_25_9628.jpg', '/home/pi/Desktop/images/26112025/17/52/image_26112025_17_52_35_9792.jpg', '/home/pi/Desktop/images/26112025/17/52/image_26112025_17_52_45_9666.jpg', '/home/pi/Desktop/images/26112025/17/52/image_26112025_17_53_06_9844.jpg', '/home/pi/Desktop/images/26112025/17/53/image_26112025_17_53_26_10557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/52/image_26112025_17_52_16_10683.jpg
/home/pi/Desktop/images/26112025/17/52/image_26112025_17_52_25_9628.jpg
/home/pi/Desktop/images/26112025/17/52/image_26112025_17_52_35_9792.jpg
/home/pi/Desktop/images/26112025/17/52/image_26112025_17_52_45_9666.jpg
/home/pi/Desktop/images/26112025/17/52/image_26112025_17_53_06_9844.jpg
/home/pi/Desktop/images/26112025/17/53/image_26112025_17_53_26_10557.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":["1396289919","1396289808","1396289884","1396289770","1396289731","1396289847"],"photo_ids_order":["1396289731","1396289770","1396289808","1396289847","1396289884","1396289919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b5e2eff4573817f9f3b9e88c21a0d1c0.jpg","text":"TemporaryFile(/tmp/multipartBody3200923292066451122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186502560,"filename":"image_26112025_17_53_26_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fcc6287754dea78a8c67a320e1dba741.jpg","text":"TemporaryFile(/tmp/multipartBody407121693871872584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186502560,"filename":"image_26112025_17_52_35_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/39c4d9af004dd5f77caef986a1eea3d3.jpg","text":"TemporaryFile(/tmp/multipartBody1120765820891642342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186502560,"filename":"image_26112025_17_53_06_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a82ac025f0252827c54c5ab60db837d0.jpg","text":"TemporaryFile(/tmp/multipartBody6600574428659126620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186502560,"filename":"image_26112025_17_52_25_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/61811ceddac6cc96fd91065c858d41f0.jpg","text":"TemporaryFile(/tmp/multipartBody4575676923660667901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186502560,"filename":"image_26112025_17_52_16_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/04f29948c09f45468170699efc011632.jpg","text":"TemporaryFile(/tmp/multipartBody3966327906578344796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186502560,"filename":"image_26112025_17_52_45_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396289808","file1":"1396289770","file0":"1396289731","file4":"1396289884","file5":"1396289919","file3":"1396289847"},"map_files_photo_id_array":[{"photo_id":"1396289919","filename":"file5"},{"photo_id":"1396289808","filename":"file2"},{"photo_id":"1396289884","filename":"file4"},{"photo_id":"1396289770","filename":"file1"},{"photo_id":"1396289731","filename":"file0"},{"photo_id":"1396289847","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396289919":["hashtag1","hashtag2"]},{"1396289808":["hashtag1","hashtag2"]},{"1396289884":["hashtag1","hashtag2"]},{"1396289770":["hashtag1","hashtag2"]},{"1396289731":["hashtag1","hashtag2"]},{"1396289847":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396289919, 1396289808, 1396289884, 1396289770, 1396289731, 1396289847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.404040575027466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:48:02.520958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/53/image_26112025_17_53_35_9649.jpg', '/home/pi/Desktop/images/26112025/17/53/image_26112025_17_53_45_9742.jpg', '/home/pi/Desktop/images/26112025/17/53/image_26112025_17_53_56_10664.jpg', '/home/pi/Desktop/images/26112025/17/54/image_26112025_17_54_15_9693.jpg', '/home/pi/Desktop/images/26112025/17/54/image_26112025_17_54_35_9666.jpg', '/home/pi/Desktop/images/26112025/17/54/image_26112025_17_54_45_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/53/image_26112025_17_53_35_9649.jpg
/home/pi/Desktop/images/26112025/17/53/image_26112025_17_53_45_9742.jpg
/home/pi/Desktop/images/26112025/17/53/image_26112025_17_53_56_10664.jpg
/home/pi/Desktop/images/26112025/17/54/image_26112025_17_54_15_9693.jpg
/home/pi/Desktop/images/26112025/17/54/image_26112025_17_54_35_9666.jpg
/home/pi/Desktop/images/26112025/17/54/image_26112025_17_54_45_9607.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":["1396290045","1396290050","1396290044","1396290047","1396290040","1396290043"],"photo_ids_order":["1396290040","1396290043","1396290044","1396290045","1396290047","1396290050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/48073db71a84428dfc73aa8c9b61dab4.jpg","text":"TemporaryFile(/tmp/multipartBody3071729648418242354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186543251,"filename":"image_26112025_17_54_15_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e3c3badf45c351d2d0b94613831f902b.jpg","text":"TemporaryFile(/tmp/multipartBody5134666978594314925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186543251,"filename":"image_26112025_17_54_45_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8c141ec3b635d98ccdbc3e7828b31dd2.jpg","text":"TemporaryFile(/tmp/multipartBody1247579392302103418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186543251,"filename":"image_26112025_17_53_56_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c29196995bfe3b153aece82f66023841.jpg","text":"TemporaryFile(/tmp/multipartBody8593581465626511670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186543251,"filename":"image_26112025_17_54_35_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7d4aee18590e8a9497e578f4651dbd16.jpg","text":"TemporaryFile(/tmp/multipartBody3865063689777880695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186543251,"filename":"image_26112025_17_53_35_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7cee2f2ea3ca500b8f2ebe7be1f77bc6.jpg","text":"TemporaryFile(/tmp/multipartBody5902259934133144186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186543251,"filename":"image_26112025_17_53_45_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396290044","file1":"1396290043","file0":"1396290040","file4":"1396290047","file5":"1396290050","file3":"1396290045"},"map_files_photo_id_array":[{"photo_id":"1396290050","filename":"file5"},{"photo_id":"1396290044","filename":"file2"},{"photo_id":"1396290047","filename":"file4"},{"photo_id":"1396290043","filename":"file1"},{"photo_id":"1396290040","filename":"file0"},{"photo_id":"1396290045","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396290045":["hashtag1","hashtag2"]},{"1396290050":["hashtag1","hashtag2"]},{"1396290044":["hashtag1","hashtag2"]},{"1396290047":["hashtag1","hashtag2"]},{"1396290040":["hashtag1","hashtag2"]},{"1396290043":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396290045, 1396290050, 1396290044, 1396290047, 1396290040, 1396290043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17759418487549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 20:48:42.012382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_39_2666.jpg', '/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_41_2740.jpg', '/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_45_3533.jpg', '/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_48_2655.jpg', '/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_50_2604.jpg', '/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_56_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_39_2666.jpg
/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_41_2740.jpg
/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_45_3533.jpg
/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_48_2655.jpg
/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_50_2604.jpg
/home/pi/Desktop/images/30102025/20/26/image_30102025_20_26_56_2688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396290072","1396290069","1396290062","1396290059","1396290070","1396290061"],"photo_ids_order":["1396290059","1396290061","1396290062","1396290069","1396290070","1396290072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5e7c84dad241c75ffc46039dafbfd97d.jpg","text":"TemporaryFile(/tmp/multipartBody1131076088138031475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186583482,"filename":"image_30102025_20_26_56_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/26/c5ed98801859e2f92109940a7deb7997.jpg","text":"TemporaryFile(/tmp/multipartBody2427494437166247638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186583482,"filename":"image_30102025_20_26_48_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e5e37b0873b0a74fc5d18375ce281920.jpg","text":"TemporaryFile(/tmp/multipartBody2305363338714085979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186583482,"filename":"image_30102025_20_26_45_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/26/6e23729a0fe2571462f2712b1c4b9b95.jpg","text":"TemporaryFile(/tmp/multipartBody515130535024158762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186583482,"filename":"image_30102025_20_26_39_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/26/f311f172c0777d7d0d56e03c86c8ff52.jpg","text":"TemporaryFile(/tmp/multipartBody1821439667495188007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186583482,"filename":"image_30102025_20_26_50_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/26/72c2b3fdfde60f7feaa7408223f67808.jpg","text":"TemporaryFile(/tmp/multipartBody3815157025077078666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186583482,"filename":"image_30102025_20_26_41_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396290062","file1":"1396290061","file0":"1396290059","file4":"1396290070","file5":"1396290072","file3":"1396290069"},"map_files_photo_id_array":[{"photo_id":"1396290072","filename":"file5"},{"photo_id":"1396290062","filename":"file2"},{"photo_id":"1396290070","filename":"file4"},{"photo_id":"1396290061","filename":"file1"},{"photo_id":"1396290059","filename":"file0"},{"photo_id":"1396290069","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396290072":["hashtag1","hashtag2"]},{"1396290069":["hashtag1","hashtag2"]},{"1396290062":["hashtag1","hashtag2"]},{"1396290059":["hashtag1","hashtag2"]},{"1396290070":["hashtag1","hashtag2"]},{"1396290061":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396290072, 1396290069, 1396290062, 1396290059, 1396290070, 1396290061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.146320104599 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 20:49:22.167958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/54/image_26112025_17_54_56_10652.jpg', '/home/pi/Desktop/images/26112025/17/55/image_26112025_17_55_15_11002.jpg', '/home/pi/Desktop/images/26112025/17/55/image_26112025_17_55_25_9658.jpg', '/home/pi/Desktop/images/26112025/17/55/image_26112025_17_55_45_10557.jpg', '/home/pi/Desktop/images/26112025/17/55/image_26112025_17_55_55_9567.jpg', '/home/pi/Desktop/images/26112025/17/55/image_26112025_17_56_04_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/54/image_26112025_17_54_56_10652.jpg
/home/pi/Desktop/images/26112025/17/55/image_26112025_17_55_15_11002.jpg
/home/pi/Desktop/images/26112025/17/55/image_26112025_17_55_25_9658.jpg
/home/pi/Desktop/images/26112025/17/55/image_26112025_17_55_45_10557.jpg
/home/pi/Desktop/images/26112025/17/55/image_26112025_17_55_55_9567.jpg
/home/pi/Desktop/images/26112025/17/55/image_26112025_17_56_04_9593.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":["1396290098","1396290110","1396290104","1396290113","1396290107","1396290101"],"photo_ids_order":["1396290098","1396290101","1396290104","1396290107","1396290110","1396290113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6cfbe2bec9787edafaf546b2047f9162.jpg","text":"TemporaryFile(/tmp/multipartBody940805002208979589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186622855,"filename":"image_26112025_17_54_56_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/051d8187df9238b56b3071068e037d45.jpg","text":"TemporaryFile(/tmp/multipartBody6662303487879562126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186622855,"filename":"image_26112025_17_55_55_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aca70f271c7f6f73a0d7fac9bece4236.jpg","text":"TemporaryFile(/tmp/multipartBody3769059032385300989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186622855,"filename":"image_26112025_17_55_25_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ba48dcdee1e2a9d8ac00c9418f2e5abb.jpg","text":"TemporaryFile(/tmp/multipartBody2713635070065739104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186622855,"filename":"image_26112025_17_56_04_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/498f11b13b74eaf7fedd4434d55c2fad.jpg","text":"TemporaryFile(/tmp/multipartBody3431110272097626703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186622855,"filename":"image_26112025_17_55_45_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8b52844ff3d961eda449e90061929c8f.jpg","text":"TemporaryFile(/tmp/multipartBody3709918703681632947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186622855,"filename":"image_26112025_17_55_15_11002.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396290104","file1":"1396290101","file0":"1396290098","file4":"1396290110","file5":"1396290113","file3":"1396290107"},"map_files_photo_id_array":[{"photo_id":"1396290113","filename":"file5"},{"photo_id":"1396290104","filename":"file2"},{"photo_id":"1396290110","filename":"file4"},{"photo_id":"1396290101","filename":"file1"},{"photo_id":"1396290098","filename":"file0"},{"photo_id":"1396290107","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396290098":["hashtag1","hashtag2"]},{"1396290110":["hashtag1","hashtag2"]},{"1396290104":["hashtag1","hashtag2"]},{"1396290113":["hashtag1","hashtag2"]},{"1396290107":["hashtag1","hashtag2"]},{"1396290101":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396290098, 1396290110, 1396290104, 1396290113, 1396290107, 1396290101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.948237657547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:50:02.919471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/56/image_26112025_17_56_15_10725.jpg', '/home/pi/Desktop/images/26112025/17/56/image_26112025_17_56_25_9689.jpg', '/home/pi/Desktop/images/26112025/17/56/image_26112025_17_56_35_9747.jpg', '/home/pi/Desktop/images/26112025/17/56/image_26112025_17_56_44_9734.jpg', '/home/pi/Desktop/images/26112025/17/56/image_26112025_17_56_55_10726.jpg', '/home/pi/Desktop/images/26112025/17/56/image_26112025_17_57_05_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/56/image_26112025_17_56_15_10725.jpg
/home/pi/Desktop/images/26112025/17/56/image_26112025_17_56_25_9689.jpg
/home/pi/Desktop/images/26112025/17/56/image_26112025_17_56_35_9747.jpg
/home/pi/Desktop/images/26112025/17/56/image_26112025_17_56_44_9734.jpg
/home/pi/Desktop/images/26112025/17/56/image_26112025_17_56_55_10726.jpg
/home/pi/Desktop/images/26112025/17/56/image_26112025_17_57_05_9739.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":["1396290120","1396290123","1396290117","1396290116","1396290115","1396290118"],"photo_ids_order":["1396290115","1396290116","1396290117","1396290118","1396290120","1396290123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/90846381d7e0bddeb51650e5b6199a70.jpg","text":"TemporaryFile(/tmp/multipartBody4921824836994600837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186663631,"filename":"image_26112025_17_56_55_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ab95057775c8d59999f2aec54d8ed335.jpg","text":"TemporaryFile(/tmp/multipartBody1765651070929705327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186663631,"filename":"image_26112025_17_57_05_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d0127e0876843b94235aacac7ea798e0.jpg","text":"TemporaryFile(/tmp/multipartBody25875723540459786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186663631,"filename":"image_26112025_17_56_35_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/49b074a2c0f9ba334da893904f0f918b.jpg","text":"TemporaryFile(/tmp/multipartBody386393937896390609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186663631,"filename":"image_26112025_17_56_25_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5f87c2f2fde44b08a853390b25b36e3b.jpg","text":"TemporaryFile(/tmp/multipartBody7327674972894601679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186663631,"filename":"image_26112025_17_56_15_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8bb1ca3f0a27dddf0196f26e90f1e1ff.jpg","text":"TemporaryFile(/tmp/multipartBody1072874730563218973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186663631,"filename":"image_26112025_17_56_44_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396290117","file1":"1396290116","file0":"1396290115","file4":"1396290120","file5":"1396290123","file3":"1396290118"},"map_files_photo_id_array":[{"photo_id":"1396290123","filename":"file5"},{"photo_id":"1396290117","filename":"file2"},{"photo_id":"1396290120","filename":"file4"},{"photo_id":"1396290116","filename":"file1"},{"photo_id":"1396290115","filename":"file0"},{"photo_id":"1396290118","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396290120":["hashtag1","hashtag2"]},{"1396290123":["hashtag1","hashtag2"]},{"1396290117":["hashtag1","hashtag2"]},{"1396290116":["hashtag1","hashtag2"]},{"1396290115":["hashtag1","hashtag2"]},{"1396290118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396290120, 1396290123, 1396290117, 1396290116, 1396290115, 1396290118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71992540359497 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 20:50:42.429547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/26/image_30102025_20_27_00_3570.jpg', '/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_03_2792.jpg', '/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_06_2727.jpg', '/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_08_2688.jpg', '/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_12_3667.jpg', '/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_15_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/26/image_30102025_20_27_00_3570.jpg
/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_03_2792.jpg
/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_06_2727.jpg
/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_08_2688.jpg
/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_12_3667.jpg
/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_15_2702.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":["1396290138","1396290176","1396290137","1396290133","1396290136","1396290139"],"photo_ids_order":["1396290133","1396290136","1396290137","1396290138","1396290139","1396290176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dffd4804e29e45a5ee45b09eb18d82f5.jpg","text":"TemporaryFile(/tmp/multipartBody2031573598277719829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186703887,"filename":"image_30102025_20_27_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/26/ddad125066712e29eefb26c5f1f4fdd2.jpg","text":"TemporaryFile(/tmp/multipartBody6476113233806974960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186703887,"filename":"image_30102025_20_27_15_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/26/f7ce7ee214f8407a3db29c43e690f03d.jpg","text":"TemporaryFile(/tmp/multipartBody3407773379365200005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186703887,"filename":"image_30102025_20_27_06_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/26/65dc247a68f0141ebdc5592e838f8c98.jpg","text":"TemporaryFile(/tmp/multipartBody7063013001643485812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186703887,"filename":"image_30102025_20_27_00_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/26/a139e6ccdb7bcc4a43ee897a05aacca4.jpg","text":"TemporaryFile(/tmp/multipartBody7550918683960108835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186703887,"filename":"image_30102025_20_27_03_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/26/448502516f5c140969bc6be6162023bb.jpg","text":"TemporaryFile(/tmp/multipartBody5947542152041823885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186703887,"filename":"image_30102025_20_27_12_3667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396290137","file1":"1396290136","file0":"1396290133","file4":"1396290139","file5":"1396290176","file3":"1396290138"},"map_files_photo_id_array":[{"photo_id":"1396290176","filename":"file5"},{"photo_id":"1396290137","filename":"file2"},{"photo_id":"1396290139","filename":"file4"},{"photo_id":"1396290136","filename":"file1"},{"photo_id":"1396290133","filename":"file0"},{"photo_id":"1396290138","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396290138":["hashtag1","hashtag2"]},{"1396290176":["hashtag1","hashtag2"]},{"1396290137":["hashtag1","hashtag2"]},{"1396290133":["hashtag1","hashtag2"]},{"1396290136":["hashtag1","hashtag2"]},{"1396290139":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396290138, 1396290176, 1396290137, 1396290133, 1396290136, 1396290139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98626685142517 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 20:51:22.715884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/57/image_26112025_17_57_14_9628.jpg', '/home/pi/Desktop/images/26112025/17/57/image_26112025_17_57_25_10632.jpg', '/home/pi/Desktop/images/26112025/17/57/image_26112025_17_57_35_9564.jpg', '/home/pi/Desktop/images/26112025/17/57/image_26112025_17_57_44_9706.jpg', '/home/pi/Desktop/images/26112025/17/57/image_26112025_17_57_55_10843.jpg', '/home/pi/Desktop/images/26112025/17/57/image_26112025_17_58_05_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/57/image_26112025_17_57_14_9628.jpg
/home/pi/Desktop/images/26112025/17/57/image_26112025_17_57_25_10632.jpg
/home/pi/Desktop/images/26112025/17/57/image_26112025_17_57_35_9564.jpg
/home/pi/Desktop/images/26112025/17/57/image_26112025_17_57_44_9706.jpg
/home/pi/Desktop/images/26112025/17/57/image_26112025_17_57_55_10843.jpg
/home/pi/Desktop/images/26112025/17/57/image_26112025_17_58_05_9676.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":["1396290237","1396290267","1396290210","1396290207","1396290283","1396290223"],"photo_ids_order":["1396290207","1396290210","1396290223","1396290237","1396290267","1396290283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f02715479a77aef0625baaf1f1cdd192.jpg","text":"TemporaryFile(/tmp/multipartBody5117982976271749337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186743439,"filename":"image_26112025_17_57_44_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2af7955b7171f4e8959043b14e37c91a.jpg","text":"TemporaryFile(/tmp/multipartBody5494955994765317187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186743439,"filename":"image_26112025_17_57_55_10843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fc1ef4100c0ec8c35fdc79b6ef73e77f.jpg","text":"TemporaryFile(/tmp/multipartBody1496478026011584746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186743439,"filename":"image_26112025_17_57_25_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5b0707b63e5af0557a193805ffb6d963.jpg","text":"TemporaryFile(/tmp/multipartBody1823313890463077943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186743439,"filename":"image_26112025_17_57_14_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e523406655be4512374bb4b073450232.jpg","text":"TemporaryFile(/tmp/multipartBody4890937288982498105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186743439,"filename":"image_26112025_17_58_05_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cfdbf63d7d19ddf1d12c17a4bcf204e0.jpg","text":"TemporaryFile(/tmp/multipartBody4025084939540860624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186743439,"filename":"image_26112025_17_57_35_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396290223","file1":"1396290210","file0":"1396290207","file4":"1396290267","file5":"1396290283","file3":"1396290237"},"map_files_photo_id_array":[{"photo_id":"1396290283","filename":"file5"},{"photo_id":"1396290223","filename":"file2"},{"photo_id":"1396290267","filename":"file4"},{"photo_id":"1396290210","filename":"file1"},{"photo_id":"1396290207","filename":"file0"},{"photo_id":"1396290237","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396290237":["hashtag1","hashtag2"]},{"1396290267":["hashtag1","hashtag2"]},{"1396290210":["hashtag1","hashtag2"]},{"1396290207":["hashtag1","hashtag2"]},{"1396290283":["hashtag1","hashtag2"]},{"1396290223":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396290237, 1396290267, 1396290210, 1396290207, 1396290283, 1396290223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34534025192261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:52:03.128988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/58/image_26112025_17_58_15_9784.jpg', '/home/pi/Desktop/images/26112025/17/58/image_26112025_17_58_25_10565.jpg', '/home/pi/Desktop/images/26112025/17/59/image_26112025_17_59_25_10555.jpg', '/home/pi/Desktop/images/26112025/17/59/image_26112025_17_59_35_9617.jpg', '/home/pi/Desktop/images/26112025/17/59/image_26112025_17_59_45_10581.jpg', '/home/pi/Desktop/images/26112025/18/00/image_26112025_18_00_26_10591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/58/image_26112025_17_58_15_9784.jpg
/home/pi/Desktop/images/26112025/17/58/image_26112025_17_58_25_10565.jpg
/home/pi/Desktop/images/26112025/17/59/image_26112025_17_59_25_10555.jpg
/home/pi/Desktop/images/26112025/17/59/image_26112025_17_59_35_9617.jpg
/home/pi/Desktop/images/26112025/17/59/image_26112025_17_59_45_10581.jpg
/home/pi/Desktop/images/26112025/18/00/image_26112025_18_00_26_10591.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.6306219100952148 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 20:52:12.727976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/24/image_20112025_23_24_15_1678.jpg', '/home/pi/Desktop/images/20112025/23/24/image_20112025_23_24_27_4337.jpg', '/home/pi/Desktop/images/20112025/23/24/image_20112025_23_24_44_1640.jpg', '/home/pi/Desktop/images/20112025/23/24/image_20112025_23_24_48_4503.jpg', '/home/pi/Desktop/images/20112025/23/24/image_20112025_23_24_50_1780.jpg', '/home/pi/Desktop/images/20112025/23/24/image_20112025_23_24_52_1695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/24/image_20112025_23_24_15_1678.jpg
/home/pi/Desktop/images/20112025/23/24/image_20112025_23_24_27_4337.jpg
/home/pi/Desktop/images/20112025/23/24/image_20112025_23_24_44_1640.jpg
/home/pi/Desktop/images/20112025/23/24/image_20112025_23_24_48_4503.jpg
/home/pi/Desktop/images/20112025/23/24/image_20112025_23_24_50_1780.jpg
/home/pi/Desktop/images/20112025/23/24/image_20112025_23_24_52_1695.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":["1396290348","1396290312","1396290315","1396290386","1396290305","1396290308"],"photo_ids_order":["1396290305","1396290308","1396290312","1396290315","1396290348","1396290386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/424670b5f627504b16b0b60124d87167.jpg","text":"TemporaryFile(/tmp/multipartBody3264390389339471438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186794606,"filename":"image_20112025_23_24_50_1780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0fae0dead7b6b907bb0c924c206c523f.jpg","text":"TemporaryFile(/tmp/multipartBody5525183399940163165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186794606,"filename":"image_20112025_23_24_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/26/2957ece483f3347be661661d9f2951db.jpg","text":"TemporaryFile(/tmp/multipartBody5250281624124214132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186794606,"filename":"image_20112025_23_24_48_4503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eafb28d534237eea4e47658bcb56c0b8.jpg","text":"TemporaryFile(/tmp/multipartBody6671254029024980165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186794606,"filename":"image_20112025_23_24_52_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/26/90f445154e6da414edc60f8b5556c893.jpg","text":"TemporaryFile(/tmp/multipartBody1406814083189078913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186794606,"filename":"image_20112025_23_24_15_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/26/a2296e2d018f8611d5662e6a6d591cc2.jpg","text":"TemporaryFile(/tmp/multipartBody126217805286940828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186794606,"filename":"image_20112025_23_24_27_4337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396290312","file1":"1396290308","file0":"1396290305","file4":"1396290348","file5":"1396290386","file3":"1396290315"},"map_files_photo_id_array":[{"photo_id":"1396290386","filename":"file5"},{"photo_id":"1396290312","filename":"file2"},{"photo_id":"1396290348","filename":"file4"},{"photo_id":"1396290308","filename":"file1"},{"photo_id":"1396290305","filename":"file0"},{"photo_id":"1396290315","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396290348":["hashtag1","hashtag2"]},{"1396290312":["hashtag1","hashtag2"]},{"1396290315":["hashtag1","hashtag2"]},{"1396290386":["hashtag1","hashtag2"]},{"1396290305":["hashtag1","hashtag2"]},{"1396290308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396290348, 1396290312, 1396290315, 1396290386, 1396290305, 1396290308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49237632751465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:53:02.721507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/17/58/image_26112025_17_58_15_9784.jpg', '/home/pi/Desktop/images/26112025/17/58/image_26112025_17_58_25_10565.jpg', '/home/pi/Desktop/images/26112025/17/59/image_26112025_17_59_25_10555.jpg', '/home/pi/Desktop/images/26112025/17/59/image_26112025_17_59_35_9617.jpg', '/home/pi/Desktop/images/26112025/17/59/image_26112025_17_59_45_10581.jpg', '/home/pi/Desktop/images/26112025/18/00/image_26112025_18_00_26_10591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/17/58/image_26112025_17_58_15_9784.jpg
/home/pi/Desktop/images/26112025/17/58/image_26112025_17_58_25_10565.jpg
/home/pi/Desktop/images/26112025/17/59/image_26112025_17_59_25_10555.jpg
/home/pi/Desktop/images/26112025/17/59/image_26112025_17_59_35_9617.jpg
/home/pi/Desktop/images/26112025/17/59/image_26112025_17_59_45_10581.jpg
/home/pi/Desktop/images/26112025/18/00/image_26112025_18_00_26_10591.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":["1396290507","1396290562","1396290556","1396290565","1396290532","1396290508"],"photo_ids_order":["1396290507","1396290508","1396290532","1396290556","1396290562","1396290565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9f3672881c38c914b9a889c647d82fcb.jpg","text":"TemporaryFile(/tmp/multipartBody3068316570028508751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186843474,"filename":"image_26112025_17_58_15_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ec1e71d32198745e1862c37eb3552119.jpg","text":"TemporaryFile(/tmp/multipartBody2907179049661549399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186843474,"filename":"image_26112025_17_59_45_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a692a7325263f0d32ffe6186f641fc40.jpg","text":"TemporaryFile(/tmp/multipartBody4224849098050119043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186843474,"filename":"image_26112025_17_59_35_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/228adeeeb4daa8bc52d01620c6dc5c01.jpg","text":"TemporaryFile(/tmp/multipartBody1259858627824014684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186843474,"filename":"image_26112025_18_00_26_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ce93895bf27b0c477bb5f7a109c62338.jpg","text":"TemporaryFile(/tmp/multipartBody8666811950330888954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186843474,"filename":"image_26112025_17_59_25_10555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0e4452dc5f44baf975082bb778ded4d6.jpg","text":"TemporaryFile(/tmp/multipartBody2690934989257423260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186843474,"filename":"image_26112025_17_58_25_10565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396290532","file1":"1396290508","file0":"1396290507","file4":"1396290562","file5":"1396290565","file3":"1396290556"},"map_files_photo_id_array":[{"photo_id":"1396290565","filename":"file5"},{"photo_id":"1396290532","filename":"file2"},{"photo_id":"1396290562","filename":"file4"},{"photo_id":"1396290508","filename":"file1"},{"photo_id":"1396290507","filename":"file0"},{"photo_id":"1396290556","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396290507":["hashtag1","hashtag2"]},{"1396290562":["hashtag1","hashtag2"]},{"1396290556":["hashtag1","hashtag2"]},{"1396290565":["hashtag1","hashtag2"]},{"1396290532":["hashtag1","hashtag2"]},{"1396290508":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396290507, 1396290562, 1396290556, 1396290565, 1396290532, 1396290508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30321025848389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 20:53:42.006969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_33_3638.jpg', '/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_38_2653.jpg', '/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_41_2669.jpg', '/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_45_3798.jpg', '/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_47_2666.jpg', '/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_50_2550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_33_3638.jpg
/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_38_2653.jpg
/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_41_2669.jpg
/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_45_3798.jpg
/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_47_2666.jpg
/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_50_2550.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":["1396290708","1396290665","1396290650","1396290676","1396290664","1396290663"],"photo_ids_order":["1396290650","1396290663","1396290664","1396290665","1396290676","1396290708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4a2c7be21f54fdebd02f6074e32a2118.jpg","text":"TemporaryFile(/tmp/multipartBody866816572725508581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186883477,"filename":"image_30102025_20_27_50_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/26/66199e503768813c19378f793584530f.jpg","text":"TemporaryFile(/tmp/multipartBody1575404403123012548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186883477,"filename":"image_30102025_20_27_45_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/26/b9c35239ad16d223b4e015928230a6d6.jpg","text":"TemporaryFile(/tmp/multipartBody2375197893294285511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186883477,"filename":"image_30102025_20_27_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/26/d3d5ecb5367a946414a30263bc83c9e0.jpg","text":"TemporaryFile(/tmp/multipartBody5822246091038187730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186883477,"filename":"image_30102025_20_27_47_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/26/94ee3196ced5f1020ba5079186e8829d.jpg","text":"TemporaryFile(/tmp/multipartBody7735078406455809530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186883477,"filename":"image_30102025_20_27_41_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/26/59abee0118ead1120315fde71c76a039.jpg","text":"TemporaryFile(/tmp/multipartBody7796148901689806061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186883477,"filename":"image_30102025_20_27_38_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396290664","file1":"1396290663","file0":"1396290650","file4":"1396290676","file5":"1396290708","file3":"1396290665"},"map_files_photo_id_array":[{"photo_id":"1396290708","filename":"file5"},{"photo_id":"1396290664","filename":"file2"},{"photo_id":"1396290676","filename":"file4"},{"photo_id":"1396290663","filename":"file1"},{"photo_id":"1396290650","filename":"file0"},{"photo_id":"1396290665","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396290708":["hashtag1","hashtag2"]},{"1396290665":["hashtag1","hashtag2"]},{"1396290650":["hashtag1","hashtag2"]},{"1396290676":["hashtag1","hashtag2"]},{"1396290664":["hashtag1","hashtag2"]},{"1396290663":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396290708, 1396290665, 1396290650, 1396290676, 1396290664, 1396290663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11015009880066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 20:54:22.191579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/00/image_26112025_18_00_35_9670.jpg', '/home/pi/Desktop/images/26112025/18/00/image_26112025_18_00_56_10579.jpg', '/home/pi/Desktop/images/26112025/18/00/image_26112025_18_01_05_9643.jpg', '/home/pi/Desktop/images/26112025/18/01/image_26112025_18_01_15_9839.jpg', '/home/pi/Desktop/images/26112025/18/01/image_26112025_18_01_26_10688.jpg', '/home/pi/Desktop/images/26112025/18/01/image_26112025_18_01_35_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/00/image_26112025_18_00_35_9670.jpg
/home/pi/Desktop/images/26112025/18/00/image_26112025_18_00_56_10579.jpg
/home/pi/Desktop/images/26112025/18/00/image_26112025_18_01_05_9643.jpg
/home/pi/Desktop/images/26112025/18/01/image_26112025_18_01_15_9839.jpg
/home/pi/Desktop/images/26112025/18/01/image_26112025_18_01_26_10688.jpg
/home/pi/Desktop/images/26112025/18/01/image_26112025_18_01_35_9582.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":["1396290753","1396290746","1396290751","1396290769","1396290763","1396290757"],"photo_ids_order":["1396290746","1396290751","1396290753","1396290757","1396290763","1396290769"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6c2c3e111708ce9a0dd228f2611b7bce.jpg","text":"TemporaryFile(/tmp/multipartBody8741622574761317811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186922931,"filename":"image_26112025_18_01_05_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/68d0aabee97e2016c235a101f19f12b3.jpg","text":"TemporaryFile(/tmp/multipartBody2106858243155693621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186922931,"filename":"image_26112025_18_00_35_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f5c5ddb70b29eaf19ff89a19db774312.jpg","text":"TemporaryFile(/tmp/multipartBody7863022377743450909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186922931,"filename":"image_26112025_18_00_56_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/66b76d1249b944b39487c0866d46a05f.jpg","text":"TemporaryFile(/tmp/multipartBody9165277848573297380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186922931,"filename":"image_26112025_18_01_35_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ccd2c56751f172af10e4a7c2350979c8.jpg","text":"TemporaryFile(/tmp/multipartBody5196497562743580335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186922931,"filename":"image_26112025_18_01_26_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5f952690cc1dd9a9280c366eda752b96.jpg","text":"TemporaryFile(/tmp/multipartBody6135195168528825654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186922931,"filename":"image_26112025_18_01_15_9839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396290753","file1":"1396290751","file0":"1396290746","file4":"1396290763","file5":"1396290769","file3":"1396290757"},"map_files_photo_id_array":[{"photo_id":"1396290769","filename":"file5"},{"photo_id":"1396290753","filename":"file2"},{"photo_id":"1396290763","filename":"file4"},{"photo_id":"1396290751","filename":"file1"},{"photo_id":"1396290746","filename":"file0"},{"photo_id":"1396290757","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396290753":["hashtag1","hashtag2"]},{"1396290746":["hashtag1","hashtag2"]},{"1396290751":["hashtag1","hashtag2"]},{"1396290769":["hashtag1","hashtag2"]},{"1396290763":["hashtag1","hashtag2"]},{"1396290757":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396290753, 1396290746, 1396290751, 1396290769, 1396290763, 1396290757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51996445655823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:55:02.877968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/01/image_26112025_18_01_45_9608.jpg', '/home/pi/Desktop/images/26112025/18/01/image_26112025_18_01_56_10820.jpg', '/home/pi/Desktop/images/26112025/18/02/image_26112025_18_02_25_9748.jpg', '/home/pi/Desktop/images/26112025/18/02/image_26112025_18_02_36_10771.jpg', '/home/pi/Desktop/images/26112025/18/02/image_26112025_18_03_06_10736.jpg', '/home/pi/Desktop/images/26112025/18/03/image_26112025_18_03_15_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/01/image_26112025_18_01_45_9608.jpg
/home/pi/Desktop/images/26112025/18/01/image_26112025_18_01_56_10820.jpg
/home/pi/Desktop/images/26112025/18/02/image_26112025_18_02_25_9748.jpg
/home/pi/Desktop/images/26112025/18/02/image_26112025_18_02_36_10771.jpg
/home/pi/Desktop/images/26112025/18/02/image_26112025_18_03_06_10736.jpg
/home/pi/Desktop/images/26112025/18/03/image_26112025_18_03_15_9712.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":["1396290771","1396290785","1396290790","1396290784","1396290787","1396290777"],"photo_ids_order":["1396290771","1396290777","1396290784","1396290785","1396290787","1396290790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a6d79a6b8e78ab006135ddcd3331cf3b.jpg","text":"TemporaryFile(/tmp/multipartBody6259799276577014485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186963632,"filename":"image_26112025_18_01_45_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e0c87322c1c01c8d5fa8d1a1085e2667.jpg","text":"TemporaryFile(/tmp/multipartBody6191618909238438426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186963632,"filename":"image_26112025_18_02_36_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/52403ebd914f3a0c74828e5dd6201e6c.jpg","text":"TemporaryFile(/tmp/multipartBody6770143949362694943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186963632,"filename":"image_26112025_18_03_15_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/508e7c5748cbd4c06c9cf72032e8480a.jpg","text":"TemporaryFile(/tmp/multipartBody389795990730805274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186963632,"filename":"image_26112025_18_02_25_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a8c819842f44cb7ff5bf65dff1d01401.jpg","text":"TemporaryFile(/tmp/multipartBody8583961825113822192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186963632,"filename":"image_26112025_18_03_06_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/08a8aa85cc98e77b446e2fce3ed8e09b.jpg","text":"TemporaryFile(/tmp/multipartBody6240983421206355939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764186963632,"filename":"image_26112025_18_01_56_10820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396290784","file1":"1396290777","file0":"1396290771","file4":"1396290787","file5":"1396290790","file3":"1396290785"},"map_files_photo_id_array":[{"photo_id":"1396290790","filename":"file5"},{"photo_id":"1396290784","filename":"file2"},{"photo_id":"1396290787","filename":"file4"},{"photo_id":"1396290777","filename":"file1"},{"photo_id":"1396290771","filename":"file0"},{"photo_id":"1396290785","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396290771":["hashtag1","hashtag2"]},{"1396290785":["hashtag1","hashtag2"]},{"1396290790":["hashtag1","hashtag2"]},{"1396290784":["hashtag1","hashtag2"]},{"1396290787":["hashtag1","hashtag2"]},{"1396290777":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396290771, 1396290785, 1396290790, 1396290784, 1396290787, 1396290777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33253073692322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 20:55:42.417848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_54_3696.jpg', '/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_56_2622.jpg', '/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_59_2629.jpg', '/home/pi/Desktop/images/30102025/20/28/image_30102025_20_28_05_2636.jpg', '/home/pi/Desktop/images/30102025/20/28/image_30102025_20_28_14_2516.jpg', '/home/pi/Desktop/images/30102025/20/28/image_30102025_20_28_17_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_54_3696.jpg
/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_56_2622.jpg
/home/pi/Desktop/images/30102025/20/27/image_30102025_20_27_59_2629.jpg
/home/pi/Desktop/images/30102025/20/28/image_30102025_20_28_05_2636.jpg
/home/pi/Desktop/images/30102025/20/28/image_30102025_20_28_14_2516.jpg
/home/pi/Desktop/images/30102025/20/28/image_30102025_20_28_17_2609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396290822","1396290824","1396290818","1396290821","1396290820","1396290823"],"photo_ids_order":["1396290818","1396290820","1396290821","1396290822","1396290823","1396290824"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/84db428ca0417fc9d5cbeb156daa3ca5.jpg","text":"TemporaryFile(/tmp/multipartBody4423399749847265303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187003901,"filename":"image_30102025_20_28_05_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/26/cafe7117adb3c27bd83919d5a780d61c.jpg","text":"TemporaryFile(/tmp/multipartBody3257041327113389882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187003901,"filename":"image_30102025_20_28_17_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/26/8a5fd2470039b7af95adf3059f4bf6c2.jpg","text":"TemporaryFile(/tmp/multipartBody3408601099959478802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187003901,"filename":"image_30102025_20_27_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/26/80d7a28f60cb6282e91751f42175daaf.jpg","text":"TemporaryFile(/tmp/multipartBody4350598993174801922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187003901,"filename":"image_30102025_20_27_59_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/26/72b7741fb22af5b43a46e0944016bddd.jpg","text":"TemporaryFile(/tmp/multipartBody740679665863976892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187003901,"filename":"image_30102025_20_27_56_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/65551e4d87284a763898550d0c9b670c.jpg","text":"TemporaryFile(/tmp/multipartBody6817652504828220207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187003901,"filename":"image_30102025_20_28_14_2516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396290821","file1":"1396290820","file0":"1396290818","file4":"1396290823","file5":"1396290824","file3":"1396290822"},"map_files_photo_id_array":[{"photo_id":"1396290824","filename":"file5"},{"photo_id":"1396290821","filename":"file2"},{"photo_id":"1396290823","filename":"file4"},{"photo_id":"1396290820","filename":"file1"},{"photo_id":"1396290818","filename":"file0"},{"photo_id":"1396290822","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396290822":["hashtag1","hashtag2"]},{"1396290824":["hashtag1","hashtag2"]},{"1396290818":["hashtag1","hashtag2"]},{"1396290821":["hashtag1","hashtag2"]},{"1396290820":["hashtag1","hashtag2"]},{"1396290823":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396290822, 1396290824, 1396290818, 1396290821, 1396290820, 1396290823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36675834655762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 20:56:22.584464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/03/image_26112025_18_03_25_9686.jpg', '/home/pi/Desktop/images/26112025/18/03/image_26112025_18_03_45_9655.jpg', '/home/pi/Desktop/images/26112025/18/03/image_26112025_18_03_55_9799.jpg', '/home/pi/Desktop/images/26112025/18/03/image_26112025_18_04_06_10559.jpg', '/home/pi/Desktop/images/26112025/18/04/image_26112025_18_04_15_9805.jpg', '/home/pi/Desktop/images/26112025/18/04/image_26112025_18_04_25_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/03/image_26112025_18_03_25_9686.jpg
/home/pi/Desktop/images/26112025/18/03/image_26112025_18_03_45_9655.jpg
/home/pi/Desktop/images/26112025/18/03/image_26112025_18_03_55_9799.jpg
/home/pi/Desktop/images/26112025/18/03/image_26112025_18_04_06_10559.jpg
/home/pi/Desktop/images/26112025/18/04/image_26112025_18_04_15_9805.jpg
/home/pi/Desktop/images/26112025/18/04/image_26112025_18_04_25_9597.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":["1396290843","1396290846","1396290828","1396290839","1396290830","1396290833"],"photo_ids_order":["1396290828","1396290830","1396290833","1396290839","1396290843","1396290846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ee6f92925a26720f1e4b94384d6ce180.jpg","text":"TemporaryFile(/tmp/multipartBody3235312260767043064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187043313,"filename":"image_26112025_18_04_15_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5bc6373120839dfd5594d3832266848e.jpg","text":"TemporaryFile(/tmp/multipartBody312760077965125168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187043313,"filename":"image_26112025_18_04_25_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5b0d26f7c5bcc9dc1123f94f8ea5f493.jpg","text":"TemporaryFile(/tmp/multipartBody3653761347852564430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187043313,"filename":"image_26112025_18_03_25_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/58dd5c4c93b112960fa59f07069c2e72.jpg","text":"TemporaryFile(/tmp/multipartBody7877941966416282655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187043313,"filename":"image_26112025_18_04_06_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/40d0aba91f520e5390fc3e205637e3c6.jpg","text":"TemporaryFile(/tmp/multipartBody5276772684740097466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187043313,"filename":"image_26112025_18_03_45_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7ba129b66c5b03541ab49a2e33cf11f8.jpg","text":"TemporaryFile(/tmp/multipartBody1058631320360416069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187043313,"filename":"image_26112025_18_03_55_9799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396290833","file1":"1396290830","file0":"1396290828","file4":"1396290843","file5":"1396290846","file3":"1396290839"},"map_files_photo_id_array":[{"photo_id":"1396290846","filename":"file5"},{"photo_id":"1396290833","filename":"file2"},{"photo_id":"1396290843","filename":"file4"},{"photo_id":"1396290830","filename":"file1"},{"photo_id":"1396290828","filename":"file0"},{"photo_id":"1396290839","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396290843":["hashtag1","hashtag2"]},{"1396290846":["hashtag1","hashtag2"]},{"1396290828":["hashtag1","hashtag2"]},{"1396290839":["hashtag1","hashtag2"]},{"1396290830":["hashtag1","hashtag2"]},{"1396290833":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396290843, 1396290846, 1396290828, 1396290839, 1396290830, 1396290833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.639256954193115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:57:03.275978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/04/image_26112025_18_04_36_10576.jpg', '/home/pi/Desktop/images/26112025/18/04/image_26112025_18_04_45_9635.jpg', '/home/pi/Desktop/images/26112025/18/04/image_26112025_18_04_55_9675.jpg', '/home/pi/Desktop/images/26112025/18/05/image_26112025_18_05_25_9758.jpg', '/home/pi/Desktop/images/26112025/18/05/image_26112025_18_05_36_10567.jpg', '/home/pi/Desktop/images/26112025/18/05/image_26112025_18_05_45_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/04/image_26112025_18_04_36_10576.jpg
/home/pi/Desktop/images/26112025/18/04/image_26112025_18_04_45_9635.jpg
/home/pi/Desktop/images/26112025/18/04/image_26112025_18_04_55_9675.jpg
/home/pi/Desktop/images/26112025/18/05/image_26112025_18_05_25_9758.jpg
/home/pi/Desktop/images/26112025/18/05/image_26112025_18_05_36_10567.jpg
/home/pi/Desktop/images/26112025/18/05/image_26112025_18_05_45_9582.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":["1396290849","1396290848","1396290851","1396290850","1396290853","1396290856"],"photo_ids_order":["1396290848","1396290849","1396290850","1396290851","1396290853","1396290856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4ac2c32a66437e6ba92d8fb9e44a0265.jpg","text":"TemporaryFile(/tmp/multipartBody8677825840194246447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187084090,"filename":"image_26112025_18_04_45_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d201924dc3b65d55d2cdee50c7c72dda.jpg","text":"TemporaryFile(/tmp/multipartBody8764367825766933849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187084090,"filename":"image_26112025_18_04_36_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eef53a752bacda03779d56cb74da54b3.jpg","text":"TemporaryFile(/tmp/multipartBody1024405463702846385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187084090,"filename":"image_26112025_18_05_25_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6644daf8f6ab74a51cbe82e3cc81a7b0.jpg","text":"TemporaryFile(/tmp/multipartBody4340516148424611804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187084090,"filename":"image_26112025_18_04_55_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/af611727979b765ecbb82b0bfa746fa5.jpg","text":"TemporaryFile(/tmp/multipartBody3971639965879404612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187084090,"filename":"image_26112025_18_05_36_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6f1bc9b58147775e309f16485d264f4f.jpg","text":"TemporaryFile(/tmp/multipartBody7764372162653023545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187084090,"filename":"image_26112025_18_05_45_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396290850","file1":"1396290849","file0":"1396290848","file4":"1396290853","file5":"1396290856","file3":"1396290851"},"map_files_photo_id_array":[{"photo_id":"1396290856","filename":"file5"},{"photo_id":"1396290850","filename":"file2"},{"photo_id":"1396290853","filename":"file4"},{"photo_id":"1396290849","filename":"file1"},{"photo_id":"1396290848","filename":"file0"},{"photo_id":"1396290851","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396290849":["hashtag1","hashtag2"]},{"1396290848":["hashtag1","hashtag2"]},{"1396290851":["hashtag1","hashtag2"]},{"1396290850":["hashtag1","hashtag2"]},{"1396290853":["hashtag1","hashtag2"]},{"1396290856":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396290849, 1396290848, 1396290851, 1396290850, 1396290853, 1396290856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.80067539215088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 20:57:42.784809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/28/image_30102025_20_28_20_2949.jpg', '/home/pi/Desktop/images/30102025/20/28/image_30102025_20_28_33_3695.jpg', '/home/pi/Desktop/images/30102025/20/28/image_30102025_20_28_35_2750.jpg', '/home/pi/Desktop/images/30102025/20/28/image_30102025_20_28_38_2911.jpg', '/home/pi/Desktop/images/30102025/20/28/image_30102025_20_28_41_2573.jpg', '/home/pi/Desktop/images/30102025/20/28/image_30102025_20_28_45_3707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/28/image_30102025_20_28_20_2949.jpg
/home/pi/Desktop/images/30102025/20/28/image_30102025_20_28_33_3695.jpg
/home/pi/Desktop/images/30102025/20/28/image_30102025_20_28_35_2750.jpg
/home/pi/Desktop/images/30102025/20/28/image_30102025_20_28_38_2911.jpg
/home/pi/Desktop/images/30102025/20/28/image_30102025_20_28_41_2573.jpg
/home/pi/Desktop/images/30102025/20/28/image_30102025_20_28_45_3707.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396291104","1396290966","1396290930","1396291066","1396291033","1396291000"],"photo_ids_order":["1396290930","1396290966","1396291000","1396291033","1396291066","1396291104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8ef3366d268797e1b56e8ad31e92f36f.jpg","text":"TemporaryFile(/tmp/multipartBody2334116306990049596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187124253,"filename":"image_30102025_20_28_45_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7f6abbdc42a684e2a8df3d341940eaa9.jpg","text":"TemporaryFile(/tmp/multipartBody4746180895657367879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187124253,"filename":"image_30102025_20_28_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/26/6eb05124a73534d8fe1caf82e790adb2.jpg","text":"TemporaryFile(/tmp/multipartBody1232673573521356654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187124253,"filename":"image_30102025_20_28_20_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/26/d5e0297646dabc1b4efc976c431afd4f.jpg","text":"TemporaryFile(/tmp/multipartBody5784315553118962115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187124253,"filename":"image_30102025_20_28_41_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/26/7e80d7d332d78988d6948241de59f9ef.jpg","text":"TemporaryFile(/tmp/multipartBody5577241628966897285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187124253,"filename":"image_30102025_20_28_38_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/26/8b0d92671ff50e9be8ac8b120f4b9daf.jpg","text":"TemporaryFile(/tmp/multipartBody1319444974864202177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187124253,"filename":"image_30102025_20_28_35_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396291000","file1":"1396290966","file0":"1396290930","file4":"1396291066","file5":"1396291104","file3":"1396291033"},"map_files_photo_id_array":[{"photo_id":"1396291104","filename":"file5"},{"photo_id":"1396291000","filename":"file2"},{"photo_id":"1396291066","filename":"file4"},{"photo_id":"1396290966","filename":"file1"},{"photo_id":"1396290930","filename":"file0"},{"photo_id":"1396291033","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396291104":["hashtag1","hashtag2"]},{"1396290966":["hashtag1","hashtag2"]},{"1396290930":["hashtag1","hashtag2"]},{"1396291066":["hashtag1","hashtag2"]},{"1396291033":["hashtag1","hashtag2"]},{"1396291000":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396291104, 1396290966, 1396290930, 1396291066, 1396291033, 1396291000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27681541442871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 20:59:03.202460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/05/image_26112025_18_05_56_10621.jpg', '/home/pi/Desktop/images/26112025/18/06/image_26112025_18_06_25_9836.jpg', '/home/pi/Desktop/images/26112025/18/06/image_26112025_18_06_36_10591.jpg', '/home/pi/Desktop/images/26112025/18/07/image_26112025_18_07_26_10581.jpg', '/home/pi/Desktop/images/26112025/18/07/image_26112025_18_07_35_9545.jpg', '/home/pi/Desktop/images/26112025/18/07/image_26112025_18_07_46_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/05/image_26112025_18_05_56_10621.jpg
/home/pi/Desktop/images/26112025/18/06/image_26112025_18_06_25_9836.jpg
/home/pi/Desktop/images/26112025/18/06/image_26112025_18_06_36_10591.jpg
/home/pi/Desktop/images/26112025/18/07/image_26112025_18_07_26_10581.jpg
/home/pi/Desktop/images/26112025/18/07/image_26112025_18_07_35_9545.jpg
/home/pi/Desktop/images/26112025/18/07/image_26112025_18_07_46_10649.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":["1396291442","1396291385","1396291418","1396291396","1396291429","1396291438"],"photo_ids_order":["1396291385","1396291396","1396291418","1396291429","1396291438","1396291442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3c633fd24cf0765793714d500d6521ee.jpg","text":"TemporaryFile(/tmp/multipartBody701693573270554847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187204059,"filename":"image_26112025_18_07_46_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/81a4b75b720fc0158ad16c7feff7289d.jpg","text":"TemporaryFile(/tmp/multipartBody5257184546540607477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187204059,"filename":"image_26112025_18_05_56_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f1bcb56e657986364a51790b9a5dea51.jpg","text":"TemporaryFile(/tmp/multipartBody8615203302994653880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187204059,"filename":"image_26112025_18_06_36_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1b5a934466ade6369fc2a228c02b53a6.jpg","text":"TemporaryFile(/tmp/multipartBody2148121707193387175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187204059,"filename":"image_26112025_18_06_25_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2afbe5abbc1734bea7f15c9dbc67765f.jpg","text":"TemporaryFile(/tmp/multipartBody1480267228986974470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187204059,"filename":"image_26112025_18_07_26_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f4f362b2b157ec3765274e6dedbaefd4.jpg","text":"TemporaryFile(/tmp/multipartBody3836586955943849283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187204059,"filename":"image_26112025_18_07_35_9545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396291418","file1":"1396291396","file0":"1396291385","file4":"1396291438","file5":"1396291442","file3":"1396291429"},"map_files_photo_id_array":[{"photo_id":"1396291442","filename":"file5"},{"photo_id":"1396291418","filename":"file2"},{"photo_id":"1396291438","filename":"file4"},{"photo_id":"1396291396","filename":"file1"},{"photo_id":"1396291385","filename":"file0"},{"photo_id":"1396291429","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396291442":["hashtag1","hashtag2"]},{"1396291385":["hashtag1","hashtag2"]},{"1396291418":["hashtag1","hashtag2"]},{"1396291396":["hashtag1","hashtag2"]},{"1396291429":["hashtag1","hashtag2"]},{"1396291438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396291442, 1396291385, 1396291418, 1396291396, 1396291429, 1396291438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18498945236206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 20:59:42.184146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/28/image_30102025_20_28_47_2597.jpg', '/home/pi/Desktop/images/30102025/20/28/image_30102025_20_28_50_2665.jpg', '/home/pi/Desktop/images/30102025/20/28/image_30102025_20_28_59_2701.jpg', '/home/pi/Desktop/images/30102025/20/29/image_30102025_20_29_02_2789.jpg', '/home/pi/Desktop/images/30102025/20/29/image_30102025_20_29_06_3612.jpg', '/home/pi/Desktop/images/30102025/20/29/image_30102025_20_29_08_2624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/28/image_30102025_20_28_47_2597.jpg
/home/pi/Desktop/images/30102025/20/28/image_30102025_20_28_50_2665.jpg
/home/pi/Desktop/images/30102025/20/28/image_30102025_20_28_59_2701.jpg
/home/pi/Desktop/images/30102025/20/29/image_30102025_20_29_02_2789.jpg
/home/pi/Desktop/images/30102025/20/29/image_30102025_20_29_06_3612.jpg
/home/pi/Desktop/images/30102025/20/29/image_30102025_20_29_08_2624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396291460","1396291483","1396291453","1396291456","1396291450","1396291458"],"photo_ids_order":["1396291450","1396291453","1396291456","1396291458","1396291460","1396291483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f7d40bd858bdde87d0b9cc9f55cc8396.jpg","text":"TemporaryFile(/tmp/multipartBody1175272840059161016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187243706,"filename":"image_30102025_20_29_06_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/26/34a952e717bafc6c64f888aafa913d96.jpg","text":"TemporaryFile(/tmp/multipartBody1827896813284017449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187243706,"filename":"image_30102025_20_29_08_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/26/99f80a20e0e0d27fe91bc4b2353fbb38.jpg","text":"TemporaryFile(/tmp/multipartBody412476541246229869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187243706,"filename":"image_30102025_20_28_50_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/450f50f335bd39130b059388d302abaa.jpg","text":"TemporaryFile(/tmp/multipartBody6529235959474339637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187243706,"filename":"image_30102025_20_28_59_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/26/1e0d977b5b39c9457345b1e549034643.jpg","text":"TemporaryFile(/tmp/multipartBody6117353555133989940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187243706,"filename":"image_30102025_20_28_47_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/26/b0623ac422334c0a5c0c2eae36a4261e.jpg","text":"TemporaryFile(/tmp/multipartBody187416311388796298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187243706,"filename":"image_30102025_20_29_02_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396291456","file1":"1396291453","file0":"1396291450","file4":"1396291460","file5":"1396291483","file3":"1396291458"},"map_files_photo_id_array":[{"photo_id":"1396291483","filename":"file5"},{"photo_id":"1396291456","filename":"file2"},{"photo_id":"1396291460","filename":"file4"},{"photo_id":"1396291453","filename":"file1"},{"photo_id":"1396291450","filename":"file0"},{"photo_id":"1396291458","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396291460":["hashtag1","hashtag2"]},{"1396291483":["hashtag1","hashtag2"]},{"1396291453":["hashtag1","hashtag2"]},{"1396291456":["hashtag1","hashtag2"]},{"1396291450":["hashtag1","hashtag2"]},{"1396291458":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396291460, 1396291483, 1396291453, 1396291456, 1396291450, 1396291458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.34199643135071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 21:00:22.340004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/07/image_26112025_18_07_55_9654.jpg', '/home/pi/Desktop/images/26112025/18/07/image_26112025_18_08_05_9660.jpg', '/home/pi/Desktop/images/26112025/18/08/image_26112025_18_08_45_9655.jpg', '/home/pi/Desktop/images/26112025/18/08/image_26112025_18_08_55_9567.jpg', '/home/pi/Desktop/images/26112025/18/08/image_26112025_18_09_06_10637.jpg', '/home/pi/Desktop/images/26112025/18/09/image_26112025_18_09_15_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/07/image_26112025_18_07_55_9654.jpg
/home/pi/Desktop/images/26112025/18/07/image_26112025_18_08_05_9660.jpg
/home/pi/Desktop/images/26112025/18/08/image_26112025_18_08_45_9655.jpg
/home/pi/Desktop/images/26112025/18/08/image_26112025_18_08_55_9567.jpg
/home/pi/Desktop/images/26112025/18/08/image_26112025_18_09_06_10637.jpg
/home/pi/Desktop/images/26112025/18/09/image_26112025_18_09_15_9742.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":["1396291517","1396291514","1396291510","1396291504","1396291507","1396291512"],"photo_ids_order":["1396291504","1396291507","1396291510","1396291512","1396291514","1396291517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a1d62952e62356df79d0752c2bcd815f.jpg","text":"TemporaryFile(/tmp/multipartBody8672804490894276856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187283035,"filename":"image_26112025_18_09_15_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7b69de3d5ada2b1cfe79c5099ad58770.jpg","text":"TemporaryFile(/tmp/multipartBody277432081246967113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187283035,"filename":"image_26112025_18_09_06_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ce4fbb64a578ac0c0be5cbb5ecc96900.jpg","text":"TemporaryFile(/tmp/multipartBody3514920675819731024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187283035,"filename":"image_26112025_18_08_45_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/905f5ac3d0d56a81b01ddc4716a0dde3.jpg","text":"TemporaryFile(/tmp/multipartBody4973970027586244802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187283035,"filename":"image_26112025_18_07_55_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8c75bfc4906579b2d6496ad20ab79e0e.jpg","text":"TemporaryFile(/tmp/multipartBody234386222493149659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187283035,"filename":"image_26112025_18_08_05_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/34467b934bab464e269f25c626ec692a.jpg","text":"TemporaryFile(/tmp/multipartBody4502416411820057077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187283035,"filename":"image_26112025_18_08_55_9567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396291510","file1":"1396291507","file0":"1396291504","file4":"1396291514","file5":"1396291517","file3":"1396291512"},"map_files_photo_id_array":[{"photo_id":"1396291517","filename":"file5"},{"photo_id":"1396291510","filename":"file2"},{"photo_id":"1396291514","filename":"file4"},{"photo_id":"1396291507","filename":"file1"},{"photo_id":"1396291504","filename":"file0"},{"photo_id":"1396291512","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396291517":["hashtag1","hashtag2"]},{"1396291514":["hashtag1","hashtag2"]},{"1396291510":["hashtag1","hashtag2"]},{"1396291504":["hashtag1","hashtag2"]},{"1396291507":["hashtag1","hashtag2"]},{"1396291512":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396291517, 1396291514, 1396291510, 1396291504, 1396291507, 1396291512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.037745237350464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:01:03.291754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/09/image_26112025_18_09_36_10838.jpg', '/home/pi/Desktop/images/26112025/18/09/image_26112025_18_09_45_9612.jpg', '/home/pi/Desktop/images/26112025/18/09/image_26112025_18_10_06_10579.jpg', '/home/pi/Desktop/images/26112025/18/10/image_26112025_18_10_15_9588.jpg', '/home/pi/Desktop/images/26112025/18/10/image_26112025_18_10_36_10786.jpg', '/home/pi/Desktop/images/26112025/18/10/image_26112025_18_10_46_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/09/image_26112025_18_09_36_10838.jpg
/home/pi/Desktop/images/26112025/18/09/image_26112025_18_09_45_9612.jpg
/home/pi/Desktop/images/26112025/18/09/image_26112025_18_10_06_10579.jpg
/home/pi/Desktop/images/26112025/18/10/image_26112025_18_10_15_9588.jpg
/home/pi/Desktop/images/26112025/18/10/image_26112025_18_10_36_10786.jpg
/home/pi/Desktop/images/26112025/18/10/image_26112025_18_10_46_9720.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":["1396291535","1396291532","1396291534","1396291537","1396291530","1396291533"],"photo_ids_order":["1396291530","1396291532","1396291533","1396291534","1396291535","1396291537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f41e164f58e5dcc0055d9b654b042a49.jpg","text":"TemporaryFile(/tmp/multipartBody204105489174131698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187324069,"filename":"image_26112025_18_10_36_10786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a93f08da60b8af4d86794871a8680b06.jpg","text":"TemporaryFile(/tmp/multipartBody8214356866048670928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187324069,"filename":"image_26112025_18_09_45_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/613a908951beac94d91aa34e75d0a168.jpg","text":"TemporaryFile(/tmp/multipartBody6307337425420178301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187324069,"filename":"image_26112025_18_10_15_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2ba87d577b760422bbd7d92ee516025b.jpg","text":"TemporaryFile(/tmp/multipartBody759975343289058358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187324069,"filename":"image_26112025_18_10_46_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a9a9a50fcba6109ec4e4b696dc13538f.jpg","text":"TemporaryFile(/tmp/multipartBody8057271380271214272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187324069,"filename":"image_26112025_18_09_36_10838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9300600fc1f111aaf26befd360d0b3b0.jpg","text":"TemporaryFile(/tmp/multipartBody610617959095573278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187324069,"filename":"image_26112025_18_10_06_10579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396291533","file1":"1396291532","file0":"1396291530","file4":"1396291535","file5":"1396291537","file3":"1396291534"},"map_files_photo_id_array":[{"photo_id":"1396291537","filename":"file5"},{"photo_id":"1396291533","filename":"file2"},{"photo_id":"1396291535","filename":"file4"},{"photo_id":"1396291532","filename":"file1"},{"photo_id":"1396291530","filename":"file0"},{"photo_id":"1396291534","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396291535":["hashtag1","hashtag2"]},{"1396291532":["hashtag1","hashtag2"]},{"1396291534":["hashtag1","hashtag2"]},{"1396291537":["hashtag1","hashtag2"]},{"1396291530":["hashtag1","hashtag2"]},{"1396291533":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396291535, 1396291532, 1396291534, 1396291537, 1396291530, 1396291533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23019886016846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 21:01:42.514308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/29/image_30102025_20_29_15_3780.jpg', '/home/pi/Desktop/images/30102025/20/29/image_30102025_20_29_18_2823.jpg', '/home/pi/Desktop/images/30102025/20/29/image_30102025_20_29_24_3544.jpg', '/home/pi/Desktop/images/30102025/20/29/image_30102025_20_29_33_3610.jpg', '/home/pi/Desktop/images/30102025/20/29/image_30102025_20_29_44_2616.jpg', '/home/pi/Desktop/images/30102025/20/29/image_30102025_20_29_47_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/29/image_30102025_20_29_15_3780.jpg
/home/pi/Desktop/images/30102025/20/29/image_30102025_20_29_18_2823.jpg
/home/pi/Desktop/images/30102025/20/29/image_30102025_20_29_24_3544.jpg
/home/pi/Desktop/images/30102025/20/29/image_30102025_20_29_33_3610.jpg
/home/pi/Desktop/images/30102025/20/29/image_30102025_20_29_44_2616.jpg
/home/pi/Desktop/images/30102025/20/29/image_30102025_20_29_47_2630.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":["1396291553","1396291546","1396291555","1396291549","1396291551","1396291554"],"photo_ids_order":["1396291546","1396291549","1396291551","1396291553","1396291554","1396291555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/673c8868f88fd61a3c0e505e4f56da6a.jpg","text":"TemporaryFile(/tmp/multipartBody7276604221515644005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187363973,"filename":"image_30102025_20_29_33_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/26/09a9e59c87fe30b8368f45487d6f3135.jpg","text":"TemporaryFile(/tmp/multipartBody5202533540884184986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187363973,"filename":"image_30102025_20_29_15_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/26/f18da212f59130f232eabf2e79c7e329.jpg","text":"TemporaryFile(/tmp/multipartBody1975725245416544605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187363973,"filename":"image_30102025_20_29_47_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/26/87efed2bb01174264649b31deced1673.jpg","text":"TemporaryFile(/tmp/multipartBody847803165993339729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187363973,"filename":"image_30102025_20_29_18_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/26/c579088e6a9036ffe0e9f25d5a921e56.jpg","text":"TemporaryFile(/tmp/multipartBody7715447543030772835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187363973,"filename":"image_30102025_20_29_24_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/26/6f984ab594a52310a44cf2532ceab0d3.jpg","text":"TemporaryFile(/tmp/multipartBody1320476559265078676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187363973,"filename":"image_30102025_20_29_44_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396291551","file1":"1396291549","file0":"1396291546","file4":"1396291554","file5":"1396291555","file3":"1396291553"},"map_files_photo_id_array":[{"photo_id":"1396291555","filename":"file5"},{"photo_id":"1396291551","filename":"file2"},{"photo_id":"1396291554","filename":"file4"},{"photo_id":"1396291549","filename":"file1"},{"photo_id":"1396291546","filename":"file0"},{"photo_id":"1396291553","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396291553":["hashtag1","hashtag2"]},{"1396291546":["hashtag1","hashtag2"]},{"1396291555":["hashtag1","hashtag2"]},{"1396291549":["hashtag1","hashtag2"]},{"1396291551":["hashtag1","hashtag2"]},{"1396291554":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396291553, 1396291546, 1396291555, 1396291549, 1396291551, 1396291554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94371819496155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 21:02:22.766846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/10/image_26112025_18_10_55_9642.jpg', '/home/pi/Desktop/images/26112025/18/10/image_26112025_18_11_06_10605.jpg', '/home/pi/Desktop/images/26112025/18/11/image_26112025_18_11_16_9831.jpg', '/home/pi/Desktop/images/26112025/18/11/image_26112025_18_11_25_9710.jpg', '/home/pi/Desktop/images/26112025/18/11/image_26112025_18_11_35_9598.jpg', '/home/pi/Desktop/images/26112025/18/11/image_26112025_18_11_46_10845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/10/image_26112025_18_10_55_9642.jpg
/home/pi/Desktop/images/26112025/18/10/image_26112025_18_11_06_10605.jpg
/home/pi/Desktop/images/26112025/18/11/image_26112025_18_11_16_9831.jpg
/home/pi/Desktop/images/26112025/18/11/image_26112025_18_11_25_9710.jpg
/home/pi/Desktop/images/26112025/18/11/image_26112025_18_11_35_9598.jpg
/home/pi/Desktop/images/26112025/18/11/image_26112025_18_11_46_10845.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":["1396291707","1396291865","1396291748","1396291829","1396291669","1396291788"],"photo_ids_order":["1396291669","1396291707","1396291748","1396291788","1396291829","1396291865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2d1e9896d05b2f84f68dc092578ed10c.jpg","text":"TemporaryFile(/tmp/multipartBody6450850145852870837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187403455,"filename":"image_26112025_18_11_06_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ca1048d16e3486663a15858e7c56246c.jpg","text":"TemporaryFile(/tmp/multipartBody2397156049780667291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187403455,"filename":"image_26112025_18_11_46_10845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/866bb801ab884eadd293753b6e741108.jpg","text":"TemporaryFile(/tmp/multipartBody7389335632140886176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187403455,"filename":"image_26112025_18_11_16_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/739ee849ccdfb007629dd1172ee6130d.jpg","text":"TemporaryFile(/tmp/multipartBody5073143777391945593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187403455,"filename":"image_26112025_18_11_35_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/059f8fc9ec1b938d150bafa68c21b8cb.jpg","text":"TemporaryFile(/tmp/multipartBody977080920806785109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187403455,"filename":"image_26112025_18_10_55_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/26ca0209645f45a6789f10f43cde08c1.jpg","text":"TemporaryFile(/tmp/multipartBody6531467485670836815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187403455,"filename":"image_26112025_18_11_25_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396291748","file1":"1396291707","file0":"1396291669","file4":"1396291829","file5":"1396291865","file3":"1396291788"},"map_files_photo_id_array":[{"photo_id":"1396291865","filename":"file5"},{"photo_id":"1396291748","filename":"file2"},{"photo_id":"1396291829","filename":"file4"},{"photo_id":"1396291707","filename":"file1"},{"photo_id":"1396291669","filename":"file0"},{"photo_id":"1396291788","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396291707":["hashtag1","hashtag2"]},{"1396291865":["hashtag1","hashtag2"]},{"1396291748":["hashtag1","hashtag2"]},{"1396291829":["hashtag1","hashtag2"]},{"1396291669":["hashtag1","hashtag2"]},{"1396291788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396291707, 1396291865, 1396291748, 1396291829, 1396291669, 1396291788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26777791976929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:03:02.526872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/11/image_26112025_18_11_55_9654.jpg', '/home/pi/Desktop/images/26112025/18/11/image_26112025_18_12_05_9654.jpg', '/home/pi/Desktop/images/26112025/18/12/image_26112025_18_12_16_10808.jpg', '/home/pi/Desktop/images/26112025/18/12/image_26112025_18_12_26_9693.jpg', '/home/pi/Desktop/images/26112025/18/12/image_26112025_18_12_35_9741.jpg', '/home/pi/Desktop/images/26112025/18/13/image_26112025_18_13_16_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/11/image_26112025_18_11_55_9654.jpg
/home/pi/Desktop/images/26112025/18/11/image_26112025_18_12_05_9654.jpg
/home/pi/Desktop/images/26112025/18/12/image_26112025_18_12_16_10808.jpg
/home/pi/Desktop/images/26112025/18/12/image_26112025_18_12_26_9693.jpg
/home/pi/Desktop/images/26112025/18/12/image_26112025_18_12_35_9741.jpg
/home/pi/Desktop/images/26112025/18/13/image_26112025_18_13_16_10639.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":["1396291994","1396292035","1396291993","1396292002","1396292073","1396291992"],"photo_ids_order":["1396291992","1396291993","1396291994","1396292002","1396292035","1396292073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/788d46108400f463833bcb983da0387c.jpg","text":"TemporaryFile(/tmp/multipartBody5994623570509423577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187443278,"filename":"image_26112025_18_12_16_10808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/032856de72b449c750ca605575b3639e.jpg","text":"TemporaryFile(/tmp/multipartBody2981525798168095338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187443278,"filename":"image_26112025_18_12_35_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0fb9cfd8b93f8051dcbd0f582e680127.jpg","text":"TemporaryFile(/tmp/multipartBody5475676912429137748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187443278,"filename":"image_26112025_18_12_05_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4ef7b4a699381bad8379dbffb1a5b754.jpg","text":"TemporaryFile(/tmp/multipartBody298273803803456598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187443278,"filename":"image_26112025_18_12_26_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/022210a5d5bec51707d31e1444a33dba.jpg","text":"TemporaryFile(/tmp/multipartBody2434121694302303646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187443278,"filename":"image_26112025_18_13_16_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/622e2f8dbf99afbc3db9e0e788940aa8.jpg","text":"TemporaryFile(/tmp/multipartBody4538871621402361244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187443278,"filename":"image_26112025_18_11_55_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396291994","file1":"1396291993","file0":"1396291992","file4":"1396292035","file5":"1396292073","file3":"1396292002"},"map_files_photo_id_array":[{"photo_id":"1396292073","filename":"file5"},{"photo_id":"1396291994","filename":"file2"},{"photo_id":"1396292035","filename":"file4"},{"photo_id":"1396291993","filename":"file1"},{"photo_id":"1396291992","filename":"file0"},{"photo_id":"1396292002","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396291994":["hashtag1","hashtag2"]},{"1396292035":["hashtag1","hashtag2"]},{"1396291993":["hashtag1","hashtag2"]},{"1396292002":["hashtag1","hashtag2"]},{"1396292073":["hashtag1","hashtag2"]},{"1396291992":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396291994, 1396292035, 1396291993, 1396292002, 1396292073, 1396291992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.303802728652954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 21:03:41.937561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/29/image_30102025_20_29_50_2825.jpg', '/home/pi/Desktop/images/30102025/20/29/image_30102025_20_29_56_2760.jpg', '/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_03_3691.jpg', '/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_05_2886.jpg', '/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_11_2674.jpg', '/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_15_3722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/29/image_30102025_20_29_50_2825.jpg
/home/pi/Desktop/images/30102025/20/29/image_30102025_20_29_56_2760.jpg
/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_03_3691.jpg
/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_05_2886.jpg
/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_11_2674.jpg
/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_15_3722.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":["1396292162","1396292165","1396292167","1396292164","1396292163","1396292157"],"photo_ids_order":["1396292157","1396292162","1396292163","1396292164","1396292165","1396292167"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ae7bf353510ac279a5c2204fcf1b5dd0.jpg","text":"TemporaryFile(/tmp/multipartBody2335145510613058397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187483418,"filename":"image_30102025_20_29_56_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/26/f825e95ea7404774ffe9d69d6e61276c.jpg","text":"TemporaryFile(/tmp/multipartBody3580661485716409158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187483418,"filename":"image_30102025_20_30_11_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/26/4b9481cc55b57ceba29dd8fece4bd32d.jpg","text":"TemporaryFile(/tmp/multipartBody2763323972849283054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187483418,"filename":"image_30102025_20_30_15_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/26/a12800cae9d0416a3546ad8659fc57ee.jpg","text":"TemporaryFile(/tmp/multipartBody7752505503228983030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187483418,"filename":"image_30102025_20_30_05_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/26/143ca02b4338706075afd2927c485e70.jpg","text":"TemporaryFile(/tmp/multipartBody6623781445525358701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187483418,"filename":"image_30102025_20_30_03_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/26/ae8b2e4125730f581237c050b5abe629.jpg","text":"TemporaryFile(/tmp/multipartBody2869479922237575502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187483418,"filename":"image_30102025_20_29_50_2825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396292163","file1":"1396292162","file0":"1396292157","file4":"1396292165","file5":"1396292167","file3":"1396292164"},"map_files_photo_id_array":[{"photo_id":"1396292167","filename":"file5"},{"photo_id":"1396292163","filename":"file2"},{"photo_id":"1396292165","filename":"file4"},{"photo_id":"1396292162","filename":"file1"},{"photo_id":"1396292157","filename":"file0"},{"photo_id":"1396292164","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396292162":["hashtag1","hashtag2"]},{"1396292165":["hashtag1","hashtag2"]},{"1396292167":["hashtag1","hashtag2"]},{"1396292164":["hashtag1","hashtag2"]},{"1396292163":["hashtag1","hashtag2"]},{"1396292157":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396292162, 1396292165, 1396292167, 1396292164, 1396292163, 1396292157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.428759813308716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 21:04:22.104354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/14/image_26112025_18_14_15_9704.jpg', '/home/pi/Desktop/images/26112025/18/14/image_26112025_18_14_25_9718.jpg', '/home/pi/Desktop/images/26112025/18/14/image_26112025_18_14_36_10656.jpg', '/home/pi/Desktop/images/26112025/18/14/image_26112025_18_14_45_9595.jpg', '/home/pi/Desktop/images/26112025/18/15/image_26112025_18_15_15_9648.jpg', '/home/pi/Desktop/images/26112025/18/15/image_26112025_18_15_26_10553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/14/image_26112025_18_14_15_9704.jpg
/home/pi/Desktop/images/26112025/18/14/image_26112025_18_14_25_9718.jpg
/home/pi/Desktop/images/26112025/18/14/image_26112025_18_14_36_10656.jpg
/home/pi/Desktop/images/26112025/18/14/image_26112025_18_14_45_9595.jpg
/home/pi/Desktop/images/26112025/18/15/image_26112025_18_15_15_9648.jpg
/home/pi/Desktop/images/26112025/18/15/image_26112025_18_15_26_10553.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":["1396292204","1396292248","1396292181","1396292178","1396292193","1396292175"],"photo_ids_order":["1396292175","1396292178","1396292181","1396292193","1396292204","1396292248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/662df8641067a02c63abe9ac16dab245.jpg","text":"TemporaryFile(/tmp/multipartBody175188285178744318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187522844,"filename":"image_26112025_18_15_15_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f29689930feda36be16040b7bf5e53ae.jpg","text":"TemporaryFile(/tmp/multipartBody3756320268986788321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187522844,"filename":"image_26112025_18_15_26_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0522afd8333c26265dee13c88e5d0fc4.jpg","text":"TemporaryFile(/tmp/multipartBody8211341023721271493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187522844,"filename":"image_26112025_18_14_36_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5e656d7bf9005d07518642a385cdcf60.jpg","text":"TemporaryFile(/tmp/multipartBody4379530823514629431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187522844,"filename":"image_26112025_18_14_25_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/606fdd2b1438565da6dc0c55c5390012.jpg","text":"TemporaryFile(/tmp/multipartBody6774297240857479746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187522844,"filename":"image_26112025_18_14_45_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cee6b08f1bc2ef2c80c3bb3d6093ce8a.jpg","text":"TemporaryFile(/tmp/multipartBody4428308038778979873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187522844,"filename":"image_26112025_18_14_15_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396292181","file1":"1396292178","file0":"1396292175","file4":"1396292204","file5":"1396292248","file3":"1396292193"},"map_files_photo_id_array":[{"photo_id":"1396292248","filename":"file5"},{"photo_id":"1396292181","filename":"file2"},{"photo_id":"1396292204","filename":"file4"},{"photo_id":"1396292178","filename":"file1"},{"photo_id":"1396292175","filename":"file0"},{"photo_id":"1396292193","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396292204":["hashtag1","hashtag2"]},{"1396292248":["hashtag1","hashtag2"]},{"1396292181":["hashtag1","hashtag2"]},{"1396292178":["hashtag1","hashtag2"]},{"1396292193":["hashtag1","hashtag2"]},{"1396292175":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396292204, 1396292248, 1396292181, 1396292178, 1396292193, 1396292175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76831293106079 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:05:03.055320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/15/image_26112025_18_15_45_9663.jpg', '/home/pi/Desktop/images/26112025/18/15/image_26112025_18_15_56_10702.jpg', '/home/pi/Desktop/images/26112025/18/16/image_26112025_18_16_15_9755.jpg', '/home/pi/Desktop/images/26112025/18/16/image_26112025_18_16_25_9735.jpg', '/home/pi/Desktop/images/26112025/18/16/image_26112025_18_16_36_10729.jpg', '/home/pi/Desktop/images/26112025/18/16/image_26112025_18_16_46_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/15/image_26112025_18_15_45_9663.jpg
/home/pi/Desktop/images/26112025/18/15/image_26112025_18_15_56_10702.jpg
/home/pi/Desktop/images/26112025/18/16/image_26112025_18_16_15_9755.jpg
/home/pi/Desktop/images/26112025/18/16/image_26112025_18_16_25_9735.jpg
/home/pi/Desktop/images/26112025/18/16/image_26112025_18_16_36_10729.jpg
/home/pi/Desktop/images/26112025/18/16/image_26112025_18_16_46_9723.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":["1396292276","1396292279","1396292281","1396292280","1396292283","1396292301"],"photo_ids_order":["1396292276","1396292279","1396292280","1396292281","1396292283","1396292301"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/39fad1453155ed85a082f5337fdbabef.jpg","text":"TemporaryFile(/tmp/multipartBody3062699503099283938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187563785,"filename":"image_26112025_18_15_45_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8b81c7e5b2c4ea8b7c3fdc54bb75c203.jpg","text":"TemporaryFile(/tmp/multipartBody8200510767496242642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187563785,"filename":"image_26112025_18_15_56_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6eaf3142699bc2c0970e638be6788984.jpg","text":"TemporaryFile(/tmp/multipartBody7994624415013781307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187563785,"filename":"image_26112025_18_16_25_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/67b53a096ae3ee7887d3706821d9e8bb.jpg","text":"TemporaryFile(/tmp/multipartBody4149380184374610393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187563785,"filename":"image_26112025_18_16_15_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f4c6a498c4c5366a4b0242901ddf2a25.jpg","text":"TemporaryFile(/tmp/multipartBody177094081929217433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187563785,"filename":"image_26112025_18_16_36_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5f9e5eedab918f1051f2f5cc81b63cc1.jpg","text":"TemporaryFile(/tmp/multipartBody5631965427311831613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187563785,"filename":"image_26112025_18_16_46_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396292280","file1":"1396292279","file0":"1396292276","file4":"1396292283","file5":"1396292301","file3":"1396292281"},"map_files_photo_id_array":[{"photo_id":"1396292301","filename":"file5"},{"photo_id":"1396292280","filename":"file2"},{"photo_id":"1396292283","filename":"file4"},{"photo_id":"1396292279","filename":"file1"},{"photo_id":"1396292276","filename":"file0"},{"photo_id":"1396292281","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396292276":["hashtag1","hashtag2"]},{"1396292279":["hashtag1","hashtag2"]},{"1396292281":["hashtag1","hashtag2"]},{"1396292280":["hashtag1","hashtag2"]},{"1396292283":["hashtag1","hashtag2"]},{"1396292301":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396292276, 1396292279, 1396292281, 1396292280, 1396292283, 1396292301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.134127616882324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 21:05:42.299075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_17_2708.jpg', '/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_20_2493.jpg', '/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_23_3644.jpg', '/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_26_2549.jpg', '/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_35_2678.jpg', '/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_47_2544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_17_2708.jpg
/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_20_2493.jpg
/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_23_3644.jpg
/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_26_2549.jpg
/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_35_2678.jpg
/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_47_2544.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":["1396292495","1396292691","1396292655","1396292622","1396292544","1396292585"],"photo_ids_order":["1396292495","1396292544","1396292585","1396292622","1396292655","1396292691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9055457d3c9cf205fbbcd414ba24ac41.jpg","text":"TemporaryFile(/tmp/multipartBody6627791069669042687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187603764,"filename":"image_30102025_20_30_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/26/fd232bf962421683748fc5794906ae31.jpg","text":"TemporaryFile(/tmp/multipartBody1036034885053338043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187603764,"filename":"image_30102025_20_30_47_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e3bddf44f200062a6db2b9de67a914f9.jpg","text":"TemporaryFile(/tmp/multipartBody400900972470361950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187603764,"filename":"image_30102025_20_30_35_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/26/efad371c151883275a75204777155717.jpg","text":"TemporaryFile(/tmp/multipartBody2500254071564993019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187603764,"filename":"image_30102025_20_30_26_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/26/c159ce2f6ed7ced560027a695cdc63d2.jpg","text":"TemporaryFile(/tmp/multipartBody7127713070296446112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187603764,"filename":"image_30102025_20_30_20_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/26/71866bb0ab66f3acd6add087ee92277a.jpg","text":"TemporaryFile(/tmp/multipartBody2322522764014615661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187603764,"filename":"image_30102025_20_30_23_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396292585","file1":"1396292544","file0":"1396292495","file4":"1396292655","file5":"1396292691","file3":"1396292622"},"map_files_photo_id_array":[{"photo_id":"1396292691","filename":"file5"},{"photo_id":"1396292585","filename":"file2"},{"photo_id":"1396292655","filename":"file4"},{"photo_id":"1396292544","filename":"file1"},{"photo_id":"1396292495","filename":"file0"},{"photo_id":"1396292622","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396292495":["hashtag1","hashtag2"]},{"1396292691":["hashtag1","hashtag2"]},{"1396292655":["hashtag1","hashtag2"]},{"1396292622":["hashtag1","hashtag2"]},{"1396292544":["hashtag1","hashtag2"]},{"1396292585":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396292495, 1396292691, 1396292655, 1396292622, 1396292544, 1396292585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26491951942444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 21:06:22.460328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/16/image_26112025_18_16_55_9663.jpg', '/home/pi/Desktop/images/26112025/18/16/image_26112025_18_17_06_10694.jpg', '/home/pi/Desktop/images/26112025/18/17/image_26112025_18_17_16_9648.jpg', '/home/pi/Desktop/images/26112025/18/17/image_26112025_18_17_46_10538.jpg', '/home/pi/Desktop/images/26112025/18/17/image_26112025_18_18_06_10735.jpg', '/home/pi/Desktop/images/26112025/18/18/image_26112025_18_18_16_9800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/16/image_26112025_18_16_55_9663.jpg
/home/pi/Desktop/images/26112025/18/16/image_26112025_18_17_06_10694.jpg
/home/pi/Desktop/images/26112025/18/17/image_26112025_18_17_16_9648.jpg
/home/pi/Desktop/images/26112025/18/17/image_26112025_18_17_46_10538.jpg
/home/pi/Desktop/images/26112025/18/17/image_26112025_18_18_06_10735.jpg
/home/pi/Desktop/images/26112025/18/18/image_26112025_18_18_16_9800.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":["1396292915","1396292989","1396292985","1396292952","1396292838","1396292876"],"photo_ids_order":["1396292838","1396292876","1396292915","1396292952","1396292985","1396292989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/99b7a95908986bd18e77fbeec2dc8e36.jpg","text":"TemporaryFile(/tmp/multipartBody7748494163392325332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187643154,"filename":"image_26112025_18_17_16_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bedc7f1395e51c69f64ce72304c6fa01.jpg","text":"TemporaryFile(/tmp/multipartBody7760370388068859483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187643154,"filename":"image_26112025_18_18_16_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ce2c49ea0541997b23b5d3f01a3ecab9.jpg","text":"TemporaryFile(/tmp/multipartBody855818298013738697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187643154,"filename":"image_26112025_18_18_06_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e4d51bc727c1456e37a32452cb78be89.jpg","text":"TemporaryFile(/tmp/multipartBody3398861907755052224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187643154,"filename":"image_26112025_18_17_46_10538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/36db006e698863d6759a8a983d815e89.jpg","text":"TemporaryFile(/tmp/multipartBody1641090997996306573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187643154,"filename":"image_26112025_18_16_55_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/982701de86ef5bbd2be5d4d2e9eb7871.jpg","text":"TemporaryFile(/tmp/multipartBody6725462672529819188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187643154,"filename":"image_26112025_18_17_06_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396292915","file1":"1396292876","file0":"1396292838","file4":"1396292985","file5":"1396292989","file3":"1396292952"},"map_files_photo_id_array":[{"photo_id":"1396292989","filename":"file5"},{"photo_id":"1396292915","filename":"file2"},{"photo_id":"1396292985","filename":"file4"},{"photo_id":"1396292876","filename":"file1"},{"photo_id":"1396292838","filename":"file0"},{"photo_id":"1396292952","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396292915":["hashtag1","hashtag2"]},{"1396292989":["hashtag1","hashtag2"]},{"1396292985":["hashtag1","hashtag2"]},{"1396292952":["hashtag1","hashtag2"]},{"1396292838":["hashtag1","hashtag2"]},{"1396292876":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396292915, 1396292989, 1396292985, 1396292952, 1396292838, 1396292876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.943094968795776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:07:03.354790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/18/image_26112025_18_18_26_9910.jpg', '/home/pi/Desktop/images/26112025/18/18/image_26112025_18_18_35_9513.jpg', '/home/pi/Desktop/images/26112025/18/18/image_26112025_18_18_46_10670.jpg', '/home/pi/Desktop/images/26112025/18/18/image_26112025_18_19_05_9699.jpg', '/home/pi/Desktop/images/26112025/18/19/image_26112025_18_19_26_9708.jpg', '/home/pi/Desktop/images/26112025/18/19/image_26112025_18_19_35_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/18/image_26112025_18_18_26_9910.jpg
/home/pi/Desktop/images/26112025/18/18/image_26112025_18_18_35_9513.jpg
/home/pi/Desktop/images/26112025/18/18/image_26112025_18_18_46_10670.jpg
/home/pi/Desktop/images/26112025/18/18/image_26112025_18_19_05_9699.jpg
/home/pi/Desktop/images/26112025/18/19/image_26112025_18_19_26_9708.jpg
/home/pi/Desktop/images/26112025/18/19/image_26112025_18_19_35_9661.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":["1396293008","1396293087","1396293048","1396293129","1396293120","1396293158"],"photo_ids_order":["1396293008","1396293048","1396293087","1396293120","1396293129","1396293158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1b1a37f15ff6bc8deb1daa6cad739638.jpg","text":"TemporaryFile(/tmp/multipartBody7834939548374636290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187684110,"filename":"image_26112025_18_18_26_9910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/07d910e713cf7a74ca3aafa9940595cd.jpg","text":"TemporaryFile(/tmp/multipartBody7166595924077475799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187684110,"filename":"image_26112025_18_18_46_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/966dee0736938209e39676b2da83af1d.jpg","text":"TemporaryFile(/tmp/multipartBody3567085997666760377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187684110,"filename":"image_26112025_18_18_35_9513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/174ef5f111692c5fcb12fe69ff174ace.jpg","text":"TemporaryFile(/tmp/multipartBody7932017199627601964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187684110,"filename":"image_26112025_18_19_26_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7bc8145e87f8b434b80f41ff2065b7b3.jpg","text":"TemporaryFile(/tmp/multipartBody9144857890497512967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187684110,"filename":"image_26112025_18_19_05_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ca4b8d7eaba391bc2e18ac1942e4fe64.jpg","text":"TemporaryFile(/tmp/multipartBody3907895449104976310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187684110,"filename":"image_26112025_18_19_35_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396293087","file1":"1396293048","file0":"1396293008","file4":"1396293129","file5":"1396293158","file3":"1396293120"},"map_files_photo_id_array":[{"photo_id":"1396293158","filename":"file5"},{"photo_id":"1396293087","filename":"file2"},{"photo_id":"1396293129","filename":"file4"},{"photo_id":"1396293048","filename":"file1"},{"photo_id":"1396293008","filename":"file0"},{"photo_id":"1396293120","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396293008":["hashtag1","hashtag2"]},{"1396293087":["hashtag1","hashtag2"]},{"1396293048":["hashtag1","hashtag2"]},{"1396293129":["hashtag1","hashtag2"]},{"1396293120":["hashtag1","hashtag2"]},{"1396293158":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396293008, 1396293087, 1396293048, 1396293129, 1396293120, 1396293158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21738576889038 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 21:07:42.657642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_51_3674.jpg', '/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_53_2813.jpg', '/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_56_2686.jpg', '/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_59_2685.jpg', '/home/pi/Desktop/images/30102025/20/31/image_30102025_20_31_02_3620.jpg', '/home/pi/Desktop/images/30102025/20/31/image_30102025_20_31_08_3520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_51_3674.jpg
/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_53_2813.jpg
/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_56_2686.jpg
/home/pi/Desktop/images/30102025/20/30/image_30102025_20_30_59_2685.jpg
/home/pi/Desktop/images/30102025/20/31/image_30102025_20_31_02_3620.jpg
/home/pi/Desktop/images/30102025/20/31/image_30102025_20_31_08_3520.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":["1396293196","1396293193","1396293192","1396293195","1396293191","1396293194"],"photo_ids_order":["1396293191","1396293192","1396293193","1396293194","1396293195","1396293196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/42b22e345cdd00506d957a6c5d1d82d2.jpg","text":"TemporaryFile(/tmp/multipartBody8523756335286328075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187724128,"filename":"image_30102025_20_31_08_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/26/591fc5daa0c291f999712466f22a2b6f.jpg","text":"TemporaryFile(/tmp/multipartBody4529009737145099697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187724128,"filename":"image_30102025_20_30_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/26/a764e90e3bc44a00d31dff86ca4943ec.jpg","text":"TemporaryFile(/tmp/multipartBody8006749227571468086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187724128,"filename":"image_30102025_20_30_53_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/26/f3d506c45fa09627be5dd4cd6afd6554.jpg","text":"TemporaryFile(/tmp/multipartBody6878059332284107519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187724128,"filename":"image_30102025_20_31_02_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/26/e236ce0902468274109b1372856a3b44.jpg","text":"TemporaryFile(/tmp/multipartBody1705384181422406746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187724128,"filename":"image_30102025_20_30_51_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/26/350dae151302777fc6d25d167e9e32eb.jpg","text":"TemporaryFile(/tmp/multipartBody2039118799346651763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187724128,"filename":"image_30102025_20_30_59_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396293193","file1":"1396293192","file0":"1396293191","file4":"1396293195","file5":"1396293196","file3":"1396293194"},"map_files_photo_id_array":[{"photo_id":"1396293196","filename":"file5"},{"photo_id":"1396293193","filename":"file2"},{"photo_id":"1396293195","filename":"file4"},{"photo_id":"1396293192","filename":"file1"},{"photo_id":"1396293191","filename":"file0"},{"photo_id":"1396293194","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396293196":["hashtag1","hashtag2"]},{"1396293193":["hashtag1","hashtag2"]},{"1396293192":["hashtag1","hashtag2"]},{"1396293195":["hashtag1","hashtag2"]},{"1396293191":["hashtag1","hashtag2"]},{"1396293194":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396293196, 1396293193, 1396293192, 1396293195, 1396293191, 1396293194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82109332084656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 21:08:22.797080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/19/image_26112025_18_19_45_9663.jpg', '/home/pi/Desktop/images/26112025/18/19/image_26112025_18_19_56_10707.jpg', '/home/pi/Desktop/images/26112025/18/19/image_26112025_18_20_05_9594.jpg', '/home/pi/Desktop/images/26112025/18/20/image_26112025_18_20_15_9810.jpg', '/home/pi/Desktop/images/26112025/18/20/image_26112025_18_20_26_10567.jpg', '/home/pi/Desktop/images/26112025/18/20/image_26112025_18_20_35_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/19/image_26112025_18_19_45_9663.jpg
/home/pi/Desktop/images/26112025/18/19/image_26112025_18_19_56_10707.jpg
/home/pi/Desktop/images/26112025/18/19/image_26112025_18_20_05_9594.jpg
/home/pi/Desktop/images/26112025/18/20/image_26112025_18_20_15_9810.jpg
/home/pi/Desktop/images/26112025/18/20/image_26112025_18_20_26_10567.jpg
/home/pi/Desktop/images/26112025/18/20/image_26112025_18_20_35_9634.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":["1396293209","1396293226","1396293214","1396293205","1396293222","1396293219"],"photo_ids_order":["1396293205","1396293209","1396293214","1396293219","1396293222","1396293226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0d07d3eb948011006c91cbfb6d76c31b.jpg","text":"TemporaryFile(/tmp/multipartBody3517238296918651266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187763494,"filename":"image_26112025_18_19_56_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/163dac05b1b921b6253f8e9a442b84f2.jpg","text":"TemporaryFile(/tmp/multipartBody1215309638625767305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187763494,"filename":"image_26112025_18_20_35_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a1fe8e87c4e442b05ac0109ef7f5c99c.jpg","text":"TemporaryFile(/tmp/multipartBody5747251367757529630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187763494,"filename":"image_26112025_18_20_05_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9ed042ac24957d564db1cccbb2fc18a1.jpg","text":"TemporaryFile(/tmp/multipartBody3086772565292889159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187763494,"filename":"image_26112025_18_19_45_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ef693bc1bf97851ebd63a367334229ad.jpg","text":"TemporaryFile(/tmp/multipartBody8180467182609047777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187763494,"filename":"image_26112025_18_20_26_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f88335035629445ee7feb5c84a680af0.jpg","text":"TemporaryFile(/tmp/multipartBody1245483620629668368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187763494,"filename":"image_26112025_18_20_15_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396293214","file1":"1396293209","file0":"1396293205","file4":"1396293222","file5":"1396293226","file3":"1396293219"},"map_files_photo_id_array":[{"photo_id":"1396293226","filename":"file5"},{"photo_id":"1396293214","filename":"file2"},{"photo_id":"1396293222","filename":"file4"},{"photo_id":"1396293209","filename":"file1"},{"photo_id":"1396293205","filename":"file0"},{"photo_id":"1396293219","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396293209":["hashtag1","hashtag2"]},{"1396293226":["hashtag1","hashtag2"]},{"1396293214":["hashtag1","hashtag2"]},{"1396293205":["hashtag1","hashtag2"]},{"1396293222":["hashtag1","hashtag2"]},{"1396293219":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396293209, 1396293226, 1396293214, 1396293205, 1396293222, 1396293219)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.02670168876648 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 21:09:12.004349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/25/image_20112025_23_25_04_6907.jpg', '/home/pi/Desktop/images/20112025/23/25/image_20112025_23_25_12_1828.jpg', '/home/pi/Desktop/images/20112025/23/25/image_20112025_23_25_16_4024.jpg', '/home/pi/Desktop/images/20112025/23/25/image_20112025_23_25_22_1694.jpg', '/home/pi/Desktop/images/20112025/23/25/image_20112025_23_25_27_1684.jpg', '/home/pi/Desktop/images/20112025/23/25/image_20112025_23_25_39_1629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/25/image_20112025_23_25_04_6907.jpg
/home/pi/Desktop/images/20112025/23/25/image_20112025_23_25_12_1828.jpg
/home/pi/Desktop/images/20112025/23/25/image_20112025_23_25_16_4024.jpg
/home/pi/Desktop/images/20112025/23/25/image_20112025_23_25_22_1694.jpg
/home/pi/Desktop/images/20112025/23/25/image_20112025_23_25_27_1684.jpg
/home/pi/Desktop/images/20112025/23/25/image_20112025_23_25_39_1629.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":["1396293376","1396293462","1396293417","1396293330","1396293287","1396293248"],"photo_ids_order":["1396293248","1396293287","1396293330","1396293376","1396293417","1396293462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e285cdde1d8203270c07a7155cdaecd8.jpg","text":"TemporaryFile(/tmp/multipartBody5545809086241381358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187813964,"filename":"image_20112025_23_25_22_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/26/508d94fb84756d40c35701797b57f3a6.jpg","text":"TemporaryFile(/tmp/multipartBody6265615691892730821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187813964,"filename":"image_20112025_23_25_39_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/26/4f2ff43b7af2bbf8f5d3eed2c7fa14a7.jpg","text":"TemporaryFile(/tmp/multipartBody1692115032445662347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187813964,"filename":"image_20112025_23_25_27_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/26/df63098c2676bcf17bf3bfbea24a7cb6.jpg","text":"TemporaryFile(/tmp/multipartBody8807687553806473918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187813964,"filename":"image_20112025_23_25_16_4024.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/33311d916a88043e719a86695cc22456.jpg","text":"TemporaryFile(/tmp/multipartBody4851533207663646810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187813964,"filename":"image_20112025_23_25_12_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/26/2c455f75280104c97d9c33dd77763232.jpg","text":"TemporaryFile(/tmp/multipartBody6253533456765491679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187813964,"filename":"image_20112025_23_25_04_6907.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396293330","file1":"1396293287","file0":"1396293248","file4":"1396293417","file5":"1396293462","file3":"1396293376"},"map_files_photo_id_array":[{"photo_id":"1396293462","filename":"file5"},{"photo_id":"1396293330","filename":"file2"},{"photo_id":"1396293417","filename":"file4"},{"photo_id":"1396293287","filename":"file1"},{"photo_id":"1396293248","filename":"file0"},{"photo_id":"1396293376","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396293376":["hashtag1","hashtag2"]},{"1396293462":["hashtag1","hashtag2"]},{"1396293417":["hashtag1","hashtag2"]},{"1396293330":["hashtag1","hashtag2"]},{"1396293287":["hashtag1","hashtag2"]},{"1396293248":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396293376, 1396293462, 1396293417, 1396293330, 1396293287, 1396293248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59255003929138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:10:02.672059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/20/image_26112025_18_20_45_9670.jpg', '/home/pi/Desktop/images/26112025/18/20/image_26112025_18_20_56_10735.jpg', '/home/pi/Desktop/images/26112025/18/20/image_26112025_18_21_05_9613.jpg', '/home/pi/Desktop/images/26112025/18/21/image_26112025_18_21_15_9770.jpg', '/home/pi/Desktop/images/26112025/18/21/image_26112025_18_21_26_10771.jpg', '/home/pi/Desktop/images/26112025/18/21/image_26112025_18_21_35_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/20/image_26112025_18_20_45_9670.jpg
/home/pi/Desktop/images/26112025/18/20/image_26112025_18_20_56_10735.jpg
/home/pi/Desktop/images/26112025/18/20/image_26112025_18_21_05_9613.jpg
/home/pi/Desktop/images/26112025/18/21/image_26112025_18_21_15_9770.jpg
/home/pi/Desktop/images/26112025/18/21/image_26112025_18_21_26_10771.jpg
/home/pi/Desktop/images/26112025/18/21/image_26112025_18_21_35_9558.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.6264140605926514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 21:10:12.164835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/25/image_20112025_23_25_56_7118.jpg', '/home/pi/Desktop/images/20112025/23/26/image_20112025_23_26_11_3464.jpg', '/home/pi/Desktop/images/20112025/23/26/image_20112025_23_26_24_1622.jpg', '/home/pi/Desktop/images/20112025/23/26/image_20112025_23_26_45_1672.jpg', '/home/pi/Desktop/images/20112025/23/26/image_20112025_23_26_47_1789.jpg', '/home/pi/Desktop/images/20112025/23/26/image_20112025_23_26_57_3668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/25/image_20112025_23_25_56_7118.jpg
/home/pi/Desktop/images/20112025/23/26/image_20112025_23_26_11_3464.jpg
/home/pi/Desktop/images/20112025/23/26/image_20112025_23_26_24_1622.jpg
/home/pi/Desktop/images/20112025/23/26/image_20112025_23_26_45_1672.jpg
/home/pi/Desktop/images/20112025/23/26/image_20112025_23_26_47_1789.jpg
/home/pi/Desktop/images/20112025/23/26/image_20112025_23_26_57_3668.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":["1396293850","1396293907","1396293910","1396293805","1396293887","1396293767"],"photo_ids_order":["1396293767","1396293805","1396293850","1396293887","1396293907","1396293910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7e226cf74cf8ac57d3cc03cac63138eb.jpg","text":"TemporaryFile(/tmp/multipartBody2348935019683025915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187874144,"filename":"image_20112025_23_26_24_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/26/4056003648009028806cd81ad7f8241c.jpg","text":"TemporaryFile(/tmp/multipartBody2924898465479422743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187874144,"filename":"image_20112025_23_26_47_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/26/8b7d382250b9a32dbfef18064a006e3f.jpg","text":"TemporaryFile(/tmp/multipartBody1427817202742559741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187874144,"filename":"image_20112025_23_26_57_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/26/978214de78920daadf072f924dfd5b2c.jpg","text":"TemporaryFile(/tmp/multipartBody2019443030541811315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187874144,"filename":"image_20112025_23_26_11_3464.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d23f9b42520781971a3cfc69e62a24a3.jpg","text":"TemporaryFile(/tmp/multipartBody2198146101399730322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187874144,"filename":"image_20112025_23_26_45_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/26/bb0d0e5af18c492c7be12f3e477914dd.jpg","text":"TemporaryFile(/tmp/multipartBody1397641088382234250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187874144,"filename":"image_20112025_23_25_56_7118.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396293850","file1":"1396293805","file0":"1396293767","file4":"1396293907","file5":"1396293910","file3":"1396293887"},"map_files_photo_id_array":[{"photo_id":"1396293910","filename":"file5"},{"photo_id":"1396293850","filename":"file2"},{"photo_id":"1396293907","filename":"file4"},{"photo_id":"1396293805","filename":"file1"},{"photo_id":"1396293767","filename":"file0"},{"photo_id":"1396293887","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396293850":["hashtag1","hashtag2"]},{"1396293907":["hashtag1","hashtag2"]},{"1396293910":["hashtag1","hashtag2"]},{"1396293805":["hashtag1","hashtag2"]},{"1396293887":["hashtag1","hashtag2"]},{"1396293767":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396293850, 1396293907, 1396293910, 1396293805, 1396293887, 1396293767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.013256788253784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:11:03.050269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/20/image_26112025_18_20_45_9670.jpg', '/home/pi/Desktop/images/26112025/18/20/image_26112025_18_20_56_10735.jpg', '/home/pi/Desktop/images/26112025/18/20/image_26112025_18_21_05_9613.jpg', '/home/pi/Desktop/images/26112025/18/21/image_26112025_18_21_15_9770.jpg', '/home/pi/Desktop/images/26112025/18/21/image_26112025_18_21_26_10771.jpg', '/home/pi/Desktop/images/26112025/18/21/image_26112025_18_21_35_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/20/image_26112025_18_20_45_9670.jpg
/home/pi/Desktop/images/26112025/18/20/image_26112025_18_20_56_10735.jpg
/home/pi/Desktop/images/26112025/18/20/image_26112025_18_21_05_9613.jpg
/home/pi/Desktop/images/26112025/18/21/image_26112025_18_21_15_9770.jpg
/home/pi/Desktop/images/26112025/18/21/image_26112025_18_21_26_10771.jpg
/home/pi/Desktop/images/26112025/18/21/image_26112025_18_21_35_9558.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":["1396294099","1396293988","1396293955","1396294026","1396294064","1396294124"],"photo_ids_order":["1396293955","1396293988","1396294026","1396294064","1396294099","1396294124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2e07c24dbfee9c9cb6608df3f727d289.jpg","text":"TemporaryFile(/tmp/multipartBody6917830844414298207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187923810,"filename":"image_26112025_18_21_26_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7f6549117959c99a0977b95784c35801.jpg","text":"TemporaryFile(/tmp/multipartBody8309345192473887651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187923810,"filename":"image_26112025_18_20_56_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ba159203249cd24e8deb19c10495e0e6.jpg","text":"TemporaryFile(/tmp/multipartBody3381765841511480961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187923810,"filename":"image_26112025_18_20_45_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e8ad97bcf3b5bd6c6ef47828cb1b9b73.jpg","text":"TemporaryFile(/tmp/multipartBody2005158230565082292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187923810,"filename":"image_26112025_18_21_05_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/89ae124b4892cb65aafdd1621f1a4553.jpg","text":"TemporaryFile(/tmp/multipartBody7444690259971837487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187923810,"filename":"image_26112025_18_21_15_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b3bec437dde79ddf769aae01c3215ce6.jpg","text":"TemporaryFile(/tmp/multipartBody4201395277874497651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187923810,"filename":"image_26112025_18_21_35_9558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396294026","file1":"1396293988","file0":"1396293955","file4":"1396294099","file5":"1396294124","file3":"1396294064"},"map_files_photo_id_array":[{"photo_id":"1396294124","filename":"file5"},{"photo_id":"1396294026","filename":"file2"},{"photo_id":"1396294099","filename":"file4"},{"photo_id":"1396293988","filename":"file1"},{"photo_id":"1396293955","filename":"file0"},{"photo_id":"1396294064","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396294099":["hashtag1","hashtag2"]},{"1396293988":["hashtag1","hashtag2"]},{"1396293955":["hashtag1","hashtag2"]},{"1396294026":["hashtag1","hashtag2"]},{"1396294064":["hashtag1","hashtag2"]},{"1396294124":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396294099, 1396293988, 1396293955, 1396294026, 1396294064, 1396294124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11818981170654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 21:11:42.435490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/31/image_30102025_20_31_20_1664.jpg', '/home/pi/Desktop/images/30102025/20/31/image_30102025_20_31_26_3045.jpg', '/home/pi/Desktop/images/30102025/20/31/image_30102025_20_31_29_3619.jpg', '/home/pi/Desktop/images/30102025/20/31/image_30102025_20_31_35_2769.jpg', '/home/pi/Desktop/images/30102025/20/31/image_30102025_20_31_38_2698.jpg', '/home/pi/Desktop/images/30102025/20/31/image_30102025_20_31_44_2570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/31/image_30102025_20_31_20_1664.jpg
/home/pi/Desktop/images/30102025/20/31/image_30102025_20_31_26_3045.jpg
/home/pi/Desktop/images/30102025/20/31/image_30102025_20_31_29_3619.jpg
/home/pi/Desktop/images/30102025/20/31/image_30102025_20_31_35_2769.jpg
/home/pi/Desktop/images/30102025/20/31/image_30102025_20_31_38_2698.jpg
/home/pi/Desktop/images/30102025/20/31/image_30102025_20_31_44_2570.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":["1396294449","1396294413","1396294331","1396294520","1396294486","1396294366"],"photo_ids_order":["1396294331","1396294366","1396294413","1396294449","1396294486","1396294520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c9bb4a1dc19f354f88b5592c2aa555cb.jpg","text":"TemporaryFile(/tmp/multipartBody1776245813393570213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187963905,"filename":"image_30102025_20_31_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/26/adaffcc2d4971743a64d6601bf7234f0.jpg","text":"TemporaryFile(/tmp/multipartBody7084808172408582765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187963905,"filename":"image_30102025_20_31_29_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/26/03b849539b3c5fa4f07636869cd059bd.jpg","text":"TemporaryFile(/tmp/multipartBody172927541552375147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187963905,"filename":"image_30102025_20_31_20_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/26/046383175f4a700982709cd3e0de18dc.jpg","text":"TemporaryFile(/tmp/multipartBody6028210539674001516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187963905,"filename":"image_30102025_20_31_44_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/26/b26e27b54ccc95e62ba5fc508e243b6c.jpg","text":"TemporaryFile(/tmp/multipartBody5638458606732087582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187963905,"filename":"image_30102025_20_31_38_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/26d371a55191c340160efa7f0a9bed3d.jpg","text":"TemporaryFile(/tmp/multipartBody6801168411770893130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764187963905,"filename":"image_30102025_20_31_26_3045.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396294413","file1":"1396294366","file0":"1396294331","file4":"1396294486","file5":"1396294520","file3":"1396294449"},"map_files_photo_id_array":[{"photo_id":"1396294520","filename":"file5"},{"photo_id":"1396294413","filename":"file2"},{"photo_id":"1396294486","filename":"file4"},{"photo_id":"1396294366","filename":"file1"},{"photo_id":"1396294331","filename":"file0"},{"photo_id":"1396294449","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396294449":["hashtag1","hashtag2"]},{"1396294413":["hashtag1","hashtag2"]},{"1396294331":["hashtag1","hashtag2"]},{"1396294520":["hashtag1","hashtag2"]},{"1396294486":["hashtag1","hashtag2"]},{"1396294366":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396294449, 1396294413, 1396294331, 1396294520, 1396294486, 1396294366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28084707260132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 21:12:22.618701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/21/image_26112025_18_21_46_10500.jpg', '/home/pi/Desktop/images/26112025/18/21/image_26112025_18_21_56_9677.jpg', '/home/pi/Desktop/images/26112025/18/21/image_26112025_18_22_05_9635.jpg', '/home/pi/Desktop/images/26112025/18/22/image_26112025_18_22_16_10681.jpg', '/home/pi/Desktop/images/26112025/18/22/image_26112025_18_22_25_9566.jpg', '/home/pi/Desktop/images/26112025/18/22/image_26112025_18_22_35_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/21/image_26112025_18_21_46_10500.jpg
/home/pi/Desktop/images/26112025/18/21/image_26112025_18_21_56_9677.jpg
/home/pi/Desktop/images/26112025/18/21/image_26112025_18_22_05_9635.jpg
/home/pi/Desktop/images/26112025/18/22/image_26112025_18_22_16_10681.jpg
/home/pi/Desktop/images/26112025/18/22/image_26112025_18_22_25_9566.jpg
/home/pi/Desktop/images/26112025/18/22/image_26112025_18_22_35_9726.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":["1396294732","1396294686","1396294680","1396294683","1396294677","1396294696"],"photo_ids_order":["1396294677","1396294680","1396294683","1396294686","1396294696","1396294732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0be2cf917eb922eeecf839d6b85bc973.jpg","text":"TemporaryFile(/tmp/multipartBody6093079144090043358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188003279,"filename":"image_26112025_18_22_35_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/95f34b4088ed2853cb5719394a713be6.jpg","text":"TemporaryFile(/tmp/multipartBody4552043022348634667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188003279,"filename":"image_26112025_18_22_16_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/905b2b5d0a6878f34a8e29394b1c85ee.jpg","text":"TemporaryFile(/tmp/multipartBody5510529174118534409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188003279,"filename":"image_26112025_18_21_56_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f88b4dfbe2f7186eb0a3f129b8abcbf2.jpg","text":"TemporaryFile(/tmp/multipartBody7329769184597903289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188003279,"filename":"image_26112025_18_22_05_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/49d7a152bf4c9bdee24bfda9733b6bd8.jpg","text":"TemporaryFile(/tmp/multipartBody6517304356257422166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188003279,"filename":"image_26112025_18_21_46_10500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a11b576d9d69638e716661718e439fdf.jpg","text":"TemporaryFile(/tmp/multipartBody2350327192425549274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188003279,"filename":"image_26112025_18_22_25_9566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396294683","file1":"1396294680","file0":"1396294677","file4":"1396294696","file5":"1396294732","file3":"1396294686"},"map_files_photo_id_array":[{"photo_id":"1396294732","filename":"file5"},{"photo_id":"1396294683","filename":"file2"},{"photo_id":"1396294696","filename":"file4"},{"photo_id":"1396294680","filename":"file1"},{"photo_id":"1396294677","filename":"file0"},{"photo_id":"1396294686","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396294732":["hashtag1","hashtag2"]},{"1396294686":["hashtag1","hashtag2"]},{"1396294680":["hashtag1","hashtag2"]},{"1396294683":["hashtag1","hashtag2"]},{"1396294677":["hashtag1","hashtag2"]},{"1396294696":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396294732, 1396294686, 1396294680, 1396294683, 1396294677, 1396294696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.212236642837524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:13:03.350662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/22/image_26112025_18_22_46_10616.jpg', '/home/pi/Desktop/images/26112025/18/22/image_26112025_18_22_55_9557.jpg', '/home/pi/Desktop/images/26112025/18/22/image_26112025_18_23_05_9633.jpg', '/home/pi/Desktop/images/26112025/18/23/image_26112025_18_23_16_10723.jpg', '/home/pi/Desktop/images/26112025/18/23/image_26112025_18_23_26_9904.jpg', '/home/pi/Desktop/images/26112025/18/23/image_26112025_18_23_35_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/22/image_26112025_18_22_46_10616.jpg
/home/pi/Desktop/images/26112025/18/22/image_26112025_18_22_55_9557.jpg
/home/pi/Desktop/images/26112025/18/22/image_26112025_18_23_05_9633.jpg
/home/pi/Desktop/images/26112025/18/23/image_26112025_18_23_16_10723.jpg
/home/pi/Desktop/images/26112025/18/23/image_26112025_18_23_26_9904.jpg
/home/pi/Desktop/images/26112025/18/23/image_26112025_18_23_35_9684.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":["1396294825","1396294830","1396294833","1396294829","1396294814","1396294823"],"photo_ids_order":["1396294814","1396294823","1396294825","1396294829","1396294830","1396294833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/192fc435443cfec8b964e15a470c8e68.jpg","text":"TemporaryFile(/tmp/multipartBody2964699886523137509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188044119,"filename":"image_26112025_18_23_05_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9027029c833547c4adeac8d531f491d8.jpg","text":"TemporaryFile(/tmp/multipartBody3825828808041155713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188044119,"filename":"image_26112025_18_23_26_9904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/28ba1b5536062283666c15f661e21287.jpg","text":"TemporaryFile(/tmp/multipartBody5072330156241004960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188044119,"filename":"image_26112025_18_23_35_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/38c29917689ac3772494089512044520.jpg","text":"TemporaryFile(/tmp/multipartBody1701833421777333886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188044119,"filename":"image_26112025_18_23_16_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/509fda880b150bee440882b21438238d.jpg","text":"TemporaryFile(/tmp/multipartBody6543053318468498245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188044119,"filename":"image_26112025_18_22_46_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aab7202a4ba425f6dcd1eec15e03c77c.jpg","text":"TemporaryFile(/tmp/multipartBody2535883620535239073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188044119,"filename":"image_26112025_18_22_55_9557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396294825","file1":"1396294823","file0":"1396294814","file4":"1396294830","file5":"1396294833","file3":"1396294829"},"map_files_photo_id_array":[{"photo_id":"1396294833","filename":"file5"},{"photo_id":"1396294825","filename":"file2"},{"photo_id":"1396294830","filename":"file4"},{"photo_id":"1396294823","filename":"file1"},{"photo_id":"1396294814","filename":"file0"},{"photo_id":"1396294829","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396294825":["hashtag1","hashtag2"]},{"1396294830":["hashtag1","hashtag2"]},{"1396294833":["hashtag1","hashtag2"]},{"1396294829":["hashtag1","hashtag2"]},{"1396294814":["hashtag1","hashtag2"]},{"1396294823":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396294825, 1396294830, 1396294833, 1396294829, 1396294814, 1396294823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87602138519287 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 21:13:42.756462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/31/image_30102025_20_31_47_2819.jpg', '/home/pi/Desktop/images/30102025/20/31/image_30102025_20_31_50_3691.jpg', '/home/pi/Desktop/images/30102025/20/31/image_30102025_20_31_56_2732.jpg', '/home/pi/Desktop/images/30102025/20/31/image_30102025_20_31_59_2661.jpg', '/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_02_3725.jpg', '/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_06_3279.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/31/image_30102025_20_31_47_2819.jpg
/home/pi/Desktop/images/30102025/20/31/image_30102025_20_31_50_3691.jpg
/home/pi/Desktop/images/30102025/20/31/image_30102025_20_31_56_2732.jpg
/home/pi/Desktop/images/30102025/20/31/image_30102025_20_31_59_2661.jpg
/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_02_3725.jpg
/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_06_3279.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":["1396294846","1396294849","1396294848","1396294851","1396294844","1396294847"],"photo_ids_order":["1396294844","1396294846","1396294847","1396294848","1396294849","1396294851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6cc11a4cadd454230c2e8b17b14bd24a.jpg","text":"TemporaryFile(/tmp/multipartBody6345397740344412984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188084218,"filename":"image_30102025_20_31_50_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/26/8031bd61244020faeadc3c676eb01a2f.jpg","text":"TemporaryFile(/tmp/multipartBody3112646655751292149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188084218,"filename":"image_30102025_20_32_02_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/26/b5fafec35278685342a4a09602f82907.jpg","text":"TemporaryFile(/tmp/multipartBody8584026119967995500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188084218,"filename":"image_30102025_20_31_59_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/26/2482ea5e68a19a543523d762c9870970.jpg","text":"TemporaryFile(/tmp/multipartBody7825673685831674878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188084218,"filename":"image_30102025_20_32_06_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/26/9b00c75607bd5f3d70f29afe4cb6f366.jpg","text":"TemporaryFile(/tmp/multipartBody8402897899758296775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188084218,"filename":"image_30102025_20_31_47_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/26/98f2a82cfb6fc1fcc04c87c6425214a9.jpg","text":"TemporaryFile(/tmp/multipartBody8848354249287083668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188084218,"filename":"image_30102025_20_31_56_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396294847","file1":"1396294846","file0":"1396294844","file4":"1396294849","file5":"1396294851","file3":"1396294848"},"map_files_photo_id_array":[{"photo_id":"1396294851","filename":"file5"},{"photo_id":"1396294847","filename":"file2"},{"photo_id":"1396294849","filename":"file4"},{"photo_id":"1396294846","filename":"file1"},{"photo_id":"1396294844","filename":"file0"},{"photo_id":"1396294848","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396294846":["hashtag1","hashtag2"]},{"1396294849":["hashtag1","hashtag2"]},{"1396294848":["hashtag1","hashtag2"]},{"1396294851":["hashtag1","hashtag2"]},{"1396294844":["hashtag1","hashtag2"]},{"1396294847":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396294846, 1396294849, 1396294848, 1396294851, 1396294844, 1396294847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.344499349594116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 21:14:21.941257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/23/image_26112025_18_23_45_9760.jpg', '/home/pi/Desktop/images/26112025/18/23/image_26112025_18_23_56_10725.jpg', '/home/pi/Desktop/images/26112025/18/23/image_26112025_18_24_05_9626.jpg', '/home/pi/Desktop/images/26112025/18/24/image_26112025_18_24_15_9841.jpg', '/home/pi/Desktop/images/26112025/18/24/image_26112025_18_24_26_10654.jpg', '/home/pi/Desktop/images/26112025/18/24/image_26112025_18_24_36_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/23/image_26112025_18_23_45_9760.jpg
/home/pi/Desktop/images/26112025/18/23/image_26112025_18_23_56_10725.jpg
/home/pi/Desktop/images/26112025/18/23/image_26112025_18_24_05_9626.jpg
/home/pi/Desktop/images/26112025/18/24/image_26112025_18_24_15_9841.jpg
/home/pi/Desktop/images/26112025/18/24/image_26112025_18_24_26_10654.jpg
/home/pi/Desktop/images/26112025/18/24/image_26112025_18_24_36_9631.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":["1396294866","1396294863","1396294871","1396294859","1396294868","1396294856"],"photo_ids_order":["1396294856","1396294859","1396294863","1396294866","1396294868","1396294871"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/edef6e6e7866ca41de2e94007dd9ed82.jpg","text":"TemporaryFile(/tmp/multipartBody7552549207270694196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188122677,"filename":"image_26112025_18_24_15_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/26/d3c08ee5bc341af23a200c4c03000b11.jpg","text":"TemporaryFile(/tmp/multipartBody2718435156966168443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188122677,"filename":"image_26112025_18_24_05_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aed72ac21f1181824db7e8789bf9e5c5.jpg","text":"TemporaryFile(/tmp/multipartBody1832675187159995508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188122677,"filename":"image_26112025_18_24_36_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/011ccd847f1fce836626ef09f74acd1e.jpg","text":"TemporaryFile(/tmp/multipartBody5962971259662533942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188122677,"filename":"image_26112025_18_23_56_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2d9f37e3b761647ce9183538dcd6fe22.jpg","text":"TemporaryFile(/tmp/multipartBody5932934317455790553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188122677,"filename":"image_26112025_18_24_26_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c9012e10c6f6512c6ead4fc1237c5228.jpg","text":"TemporaryFile(/tmp/multipartBody7179411455763380281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188122677,"filename":"image_26112025_18_23_45_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396294863","file1":"1396294859","file0":"1396294856","file4":"1396294868","file5":"1396294871","file3":"1396294866"},"map_files_photo_id_array":[{"photo_id":"1396294871","filename":"file5"},{"photo_id":"1396294863","filename":"file2"},{"photo_id":"1396294868","filename":"file4"},{"photo_id":"1396294859","filename":"file1"},{"photo_id":"1396294856","filename":"file0"},{"photo_id":"1396294866","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396294866":["hashtag1","hashtag2"]},{"1396294863":["hashtag1","hashtag2"]},{"1396294871":["hashtag1","hashtag2"]},{"1396294859":["hashtag1","hashtag2"]},{"1396294868":["hashtag1","hashtag2"]},{"1396294856":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396294866, 1396294863, 1396294871, 1396294859, 1396294868, 1396294856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08983492851257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:15:02.744572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/24/image_26112025_18_24_45_9777.jpg', '/home/pi/Desktop/images/26112025/18/24/image_26112025_18_24_55_10162.jpg', '/home/pi/Desktop/images/26112025/18/24/image_26112025_18_25_05_9613.jpg', '/home/pi/Desktop/images/26112025/18/25/image_26112025_18_25_15_9957.jpg', '/home/pi/Desktop/images/26112025/18/25/image_26112025_18_25_26_10635.jpg', '/home/pi/Desktop/images/26112025/18/25/image_26112025_18_25_35_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/24/image_26112025_18_24_45_9777.jpg
/home/pi/Desktop/images/26112025/18/24/image_26112025_18_24_55_10162.jpg
/home/pi/Desktop/images/26112025/18/24/image_26112025_18_25_05_9613.jpg
/home/pi/Desktop/images/26112025/18/25/image_26112025_18_25_15_9957.jpg
/home/pi/Desktop/images/26112025/18/25/image_26112025_18_25_26_10635.jpg
/home/pi/Desktop/images/26112025/18/25/image_26112025_18_25_35_9735.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":["1396294885","1396294879","1396294881","1396294875","1396294877","1396294888"],"photo_ids_order":["1396294875","1396294877","1396294879","1396294881","1396294885","1396294888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2b6b35e9fc9fc6b85e2498b7612386eb.jpg","text":"TemporaryFile(/tmp/multipartBody5909851296631419188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188163587,"filename":"image_26112025_18_25_26_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/87e7ccbe6387b5c0fea72dd473f662c0.jpg","text":"TemporaryFile(/tmp/multipartBody4071797483890610046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188163587,"filename":"image_26112025_18_25_05_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/21e5ad22f870eb3c04b025ea7f2077ba.jpg","text":"TemporaryFile(/tmp/multipartBody1907407450253852248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188163587,"filename":"image_26112025_18_25_15_9957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a64dd1fb24d037a5210f6c5eafa74c72.jpg","text":"TemporaryFile(/tmp/multipartBody7807569387783260166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188163587,"filename":"image_26112025_18_24_45_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f481e43adf58f60de94d04fe2ee75c4d.jpg","text":"TemporaryFile(/tmp/multipartBody1442532714600003184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188163587,"filename":"image_26112025_18_24_55_10162.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/124b538f56ed30168be926144a82eded.jpg","text":"TemporaryFile(/tmp/multipartBody7037925858466633308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188163587,"filename":"image_26112025_18_25_35_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396294879","file1":"1396294877","file0":"1396294875","file4":"1396294885","file5":"1396294888","file3":"1396294881"},"map_files_photo_id_array":[{"photo_id":"1396294888","filename":"file5"},{"photo_id":"1396294879","filename":"file2"},{"photo_id":"1396294885","filename":"file4"},{"photo_id":"1396294877","filename":"file1"},{"photo_id":"1396294875","filename":"file0"},{"photo_id":"1396294881","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396294885":["hashtag1","hashtag2"]},{"1396294879":["hashtag1","hashtag2"]},{"1396294881":["hashtag1","hashtag2"]},{"1396294875":["hashtag1","hashtag2"]},{"1396294877":["hashtag1","hashtag2"]},{"1396294888":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396294885, 1396294879, 1396294881, 1396294875, 1396294877, 1396294888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.260613203048706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 21:15:42.170363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_08_2745.jpg', '/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_11_2561.jpg', '/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_15_3603.jpg', '/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_20_2575.jpg', '/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_24_3717.jpg', '/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_26_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_08_2745.jpg
/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_11_2561.jpg
/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_15_3603.jpg
/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_20_2575.jpg
/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_24_3717.jpg
/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_26_2611.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":["1396294918","1396294896","1396294899","1396294902","1396294898","1396294910"],"photo_ids_order":["1396294896","1396294898","1396294899","1396294902","1396294910","1396294918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3462259b76c31660391aeae04e0e749b.jpg","text":"TemporaryFile(/tmp/multipartBody3563081955683202598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188203625,"filename":"image_30102025_20_32_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/26/507be17db30531f416124a12f731f204.jpg","text":"TemporaryFile(/tmp/multipartBody3738336331790453194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188203625,"filename":"image_30102025_20_32_08_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/00515f77629f4672afc7225f6f3c76ff.jpg","text":"TemporaryFile(/tmp/multipartBody2454018566784769855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188203625,"filename":"image_30102025_20_32_15_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/26/098fdcddb831bb1ca8a73d79a1992120.jpg","text":"TemporaryFile(/tmp/multipartBody7210557889713554042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188203625,"filename":"image_30102025_20_32_20_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/26/d784b899b9344925cca65c9c1ebf7c88.jpg","text":"TemporaryFile(/tmp/multipartBody1122846953632108732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188203625,"filename":"image_30102025_20_32_11_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/26/82310991cb110a4ca5e0cbdf282d6025.jpg","text":"TemporaryFile(/tmp/multipartBody2760212338286275415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188203625,"filename":"image_30102025_20_32_24_3717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396294899","file1":"1396294898","file0":"1396294896","file4":"1396294910","file5":"1396294918","file3":"1396294902"},"map_files_photo_id_array":[{"photo_id":"1396294918","filename":"file5"},{"photo_id":"1396294899","filename":"file2"},{"photo_id":"1396294910","filename":"file4"},{"photo_id":"1396294898","filename":"file1"},{"photo_id":"1396294896","filename":"file0"},{"photo_id":"1396294902","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396294918":["hashtag1","hashtag2"]},{"1396294896":["hashtag1","hashtag2"]},{"1396294899":["hashtag1","hashtag2"]},{"1396294902":["hashtag1","hashtag2"]},{"1396294898":["hashtag1","hashtag2"]},{"1396294910":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396294918, 1396294896, 1396294899, 1396294902, 1396294898, 1396294910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18651509284973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 21:16:22.352365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/25/image_26112025_18_25_56_10689.jpg', '/home/pi/Desktop/images/26112025/18/25/image_26112025_18_26_06_9707.jpg', '/home/pi/Desktop/images/26112025/18/26/image_26112025_18_26_15_9635.jpg', '/home/pi/Desktop/images/26112025/18/26/image_26112025_18_26_26_10609.jpg', '/home/pi/Desktop/images/26112025/18/26/image_26112025_18_26_35_9688.jpg', '/home/pi/Desktop/images/26112025/18/26/image_26112025_18_26_45_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/25/image_26112025_18_25_56_10689.jpg
/home/pi/Desktop/images/26112025/18/25/image_26112025_18_26_06_9707.jpg
/home/pi/Desktop/images/26112025/18/26/image_26112025_18_26_15_9635.jpg
/home/pi/Desktop/images/26112025/18/26/image_26112025_18_26_26_10609.jpg
/home/pi/Desktop/images/26112025/18/26/image_26112025_18_26_35_9688.jpg
/home/pi/Desktop/images/26112025/18/26/image_26112025_18_26_45_9759.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":["1396294936","1396294930","1396294932","1396294935","1396294938","1396294926"],"photo_ids_order":["1396294926","1396294930","1396294932","1396294935","1396294936","1396294938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c0ee84b14b548a4eed1d3adcd99e2ec1.jpg","text":"TemporaryFile(/tmp/multipartBody6511056573569874516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188243063,"filename":"image_26112025_18_26_35_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e63d37bf9cd0f9e21ceffdb7d46b1a7e.jpg","text":"TemporaryFile(/tmp/multipartBody117610875438357527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188243063,"filename":"image_26112025_18_26_06_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e4a804363cff00400f0eaabe70055ccd.jpg","text":"TemporaryFile(/tmp/multipartBody837701558397811600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188243063,"filename":"image_26112025_18_26_15_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6fc245b19e163172198719dd5dbfa64e.jpg","text":"TemporaryFile(/tmp/multipartBody4685233115446870091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188243063,"filename":"image_26112025_18_26_26_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5b31befe98242821cfbb5de444e52c61.jpg","text":"TemporaryFile(/tmp/multipartBody1654589156073743869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188243063,"filename":"image_26112025_18_26_45_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/229dc8f08d9eb354f718ac4276a8c72f.jpg","text":"TemporaryFile(/tmp/multipartBody5005946194867819016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188243063,"filename":"image_26112025_18_25_56_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396294932","file1":"1396294930","file0":"1396294926","file4":"1396294936","file5":"1396294938","file3":"1396294935"},"map_files_photo_id_array":[{"photo_id":"1396294938","filename":"file5"},{"photo_id":"1396294932","filename":"file2"},{"photo_id":"1396294936","filename":"file4"},{"photo_id":"1396294930","filename":"file1"},{"photo_id":"1396294926","filename":"file0"},{"photo_id":"1396294935","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396294936":["hashtag1","hashtag2"]},{"1396294930":["hashtag1","hashtag2"]},{"1396294932":["hashtag1","hashtag2"]},{"1396294935":["hashtag1","hashtag2"]},{"1396294938":["hashtag1","hashtag2"]},{"1396294926":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396294936, 1396294930, 1396294932, 1396294935, 1396294938, 1396294926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95303797721863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:17:03.316657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/26/image_26112025_18_26_56_10593.jpg', '/home/pi/Desktop/images/26112025/18/26/image_26112025_18_27_05_9686.jpg', '/home/pi/Desktop/images/26112025/18/27/image_26112025_18_27_15_9564.jpg', '/home/pi/Desktop/images/26112025/18/27/image_26112025_18_27_26_10828.jpg', '/home/pi/Desktop/images/26112025/18/27/image_26112025_18_27_45_9648.jpg', '/home/pi/Desktop/images/26112025/18/27/image_26112025_18_27_55_9799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/26/image_26112025_18_26_56_10593.jpg
/home/pi/Desktop/images/26112025/18/26/image_26112025_18_27_05_9686.jpg
/home/pi/Desktop/images/26112025/18/27/image_26112025_18_27_15_9564.jpg
/home/pi/Desktop/images/26112025/18/27/image_26112025_18_27_26_10828.jpg
/home/pi/Desktop/images/26112025/18/27/image_26112025_18_27_45_9648.jpg
/home/pi/Desktop/images/26112025/18/27/image_26112025_18_27_55_9799.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":["1396295094","1396295128","1396295208","1396295016","1396295168","1396295054"],"photo_ids_order":["1396295016","1396295054","1396295094","1396295128","1396295168","1396295208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/829fd2b10342fc2520d5b543813f982b.jpg","text":"TemporaryFile(/tmp/multipartBody4354329713476585610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188284170,"filename":"image_26112025_18_27_15_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a6f678b9801dc1a9bcacc2134030dcb7.jpg","text":"TemporaryFile(/tmp/multipartBody2475380123263638119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188284170,"filename":"image_26112025_18_27_26_10828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fb7ccc4ec4c5129ad9e9e77e795e59bb.jpg","text":"TemporaryFile(/tmp/multipartBody5501310098385540055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188284170,"filename":"image_26112025_18_27_55_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5e8e416bd950dce79f5038a48762ed56.jpg","text":"TemporaryFile(/tmp/multipartBody8609829299976797118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188284170,"filename":"image_26112025_18_26_56_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/65550734feffc5aa266b95d688faf22f.jpg","text":"TemporaryFile(/tmp/multipartBody1794011672322251225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188284170,"filename":"image_26112025_18_27_45_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d74b6bcc91c2e9d63f94e6aa07017f79.jpg","text":"TemporaryFile(/tmp/multipartBody1963188713501964284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188284170,"filename":"image_26112025_18_27_05_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396295094","file1":"1396295054","file0":"1396295016","file4":"1396295168","file5":"1396295208","file3":"1396295128"},"map_files_photo_id_array":[{"photo_id":"1396295208","filename":"file5"},{"photo_id":"1396295094","filename":"file2"},{"photo_id":"1396295168","filename":"file4"},{"photo_id":"1396295054","filename":"file1"},{"photo_id":"1396295016","filename":"file0"},{"photo_id":"1396295128","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396295094":["hashtag1","hashtag2"]},{"1396295128":["hashtag1","hashtag2"]},{"1396295208":["hashtag1","hashtag2"]},{"1396295016":["hashtag1","hashtag2"]},{"1396295168":["hashtag1","hashtag2"]},{"1396295054":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396295094, 1396295128, 1396295208, 1396295016, 1396295168, 1396295054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24824237823486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 21:17:42.672088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_29_2593.jpg', '/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_35_2701.jpg', '/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_38_2578.jpg', '/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_41_3590.jpg', '/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_44_2561.jpg', '/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_46_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_29_2593.jpg
/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_35_2701.jpg
/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_38_2578.jpg
/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_41_3590.jpg
/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_44_2561.jpg
/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_46_2722.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":["1396295302","1396295268","1396295322","1396295231","1396295315","1396295341"],"photo_ids_order":["1396295231","1396295268","1396295302","1396295315","1396295322","1396295341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6761e5f82f32aae131ea33b489a28e42.jpg","text":"TemporaryFile(/tmp/multipartBody5941694472234960598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188324129,"filename":"image_30102025_20_32_38_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/26/0dd06ab4944490b69ef2aca599570a2f.jpg","text":"TemporaryFile(/tmp/multipartBody847001391784885993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188324129,"filename":"image_30102025_20_32_35_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/26/427afd3906f8b594e8333e4747a8410f.jpg","text":"TemporaryFile(/tmp/multipartBody4699659394521765106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188324129,"filename":"image_30102025_20_32_44_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/26/1c6ea8002f2815583a19a8e47b63bd4b.jpg","text":"TemporaryFile(/tmp/multipartBody660534494890776764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188324129,"filename":"image_30102025_20_32_29_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/26/e40e03c2f96178ad6cb57a8eb8d00d9a.jpg","text":"TemporaryFile(/tmp/multipartBody411356461163823736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188324129,"filename":"image_30102025_20_32_41_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/26/0fb0c0ed752a608a314cdf25c35c7ae6.jpg","text":"TemporaryFile(/tmp/multipartBody1547884243449453948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188324129,"filename":"image_30102025_20_32_46_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396295302","file1":"1396295268","file0":"1396295231","file4":"1396295322","file5":"1396295341","file3":"1396295315"},"map_files_photo_id_array":[{"photo_id":"1396295341","filename":"file5"},{"photo_id":"1396295302","filename":"file2"},{"photo_id":"1396295322","filename":"file4"},{"photo_id":"1396295268","filename":"file1"},{"photo_id":"1396295231","filename":"file0"},{"photo_id":"1396295315","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396295302":["hashtag1","hashtag2"]},{"1396295268":["hashtag1","hashtag2"]},{"1396295322":["hashtag1","hashtag2"]},{"1396295231":["hashtag1","hashtag2"]},{"1396295315":["hashtag1","hashtag2"]},{"1396295341":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396295302, 1396295268, 1396295322, 1396295231, 1396295315, 1396295341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26640272140503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 21:18:21.932259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/27/image_26112025_18_28_06_10820.jpg', '/home/pi/Desktop/images/26112025/18/28/image_26112025_18_28_16_9909.jpg', '/home/pi/Desktop/images/26112025/18/28/image_26112025_18_28_35_9636.jpg', '/home/pi/Desktop/images/26112025/18/28/image_26112025_18_28_46_10708.jpg', '/home/pi/Desktop/images/26112025/18/28/image_26112025_18_28_55_9674.jpg', '/home/pi/Desktop/images/26112025/18/29/image_26112025_18_29_15_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/27/image_26112025_18_28_06_10820.jpg
/home/pi/Desktop/images/26112025/18/28/image_26112025_18_28_16_9909.jpg
/home/pi/Desktop/images/26112025/18/28/image_26112025_18_28_35_9636.jpg
/home/pi/Desktop/images/26112025/18/28/image_26112025_18_28_46_10708.jpg
/home/pi/Desktop/images/26112025/18/28/image_26112025_18_28_55_9674.jpg
/home/pi/Desktop/images/26112025/18/29/image_26112025_18_29_15_9748.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.7188208103179932 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 21:18:31.875477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/28/image_20112025_23_28_04_1687.jpg', '/home/pi/Desktop/images/20112025/23/28/image_20112025_23_28_06_1637.jpg', '/home/pi/Desktop/images/20112025/23/28/image_20112025_23_28_07_1654.jpg', '/home/pi/Desktop/images/20112025/23/28/image_20112025_23_28_23_2814.jpg', '/home/pi/Desktop/images/20112025/23/28/image_20112025_23_28_32_3808.jpg', '/home/pi/Desktop/images/20112025/23/28/image_20112025_23_28_35_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/28/image_20112025_23_28_04_1687.jpg
/home/pi/Desktop/images/20112025/23/28/image_20112025_23_28_06_1637.jpg
/home/pi/Desktop/images/20112025/23/28/image_20112025_23_28_07_1654.jpg
/home/pi/Desktop/images/20112025/23/28/image_20112025_23_28_23_2814.jpg
/home/pi/Desktop/images/20112025/23/28/image_20112025_23_28_32_3808.jpg
/home/pi/Desktop/images/20112025/23/28/image_20112025_23_28_35_2696.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":["1396295373","1396295376","1396295379","1396295370","1396295378","1396295365"],"photo_ids_order":["1396295365","1396295370","1396295373","1396295376","1396295378","1396295379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e5f420bfef90f9f051c45e896a7dfa1c.jpg","text":"TemporaryFile(/tmp/multipartBody6943435776864591319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188373989,"filename":"image_20112025_23_28_07_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/26/15a0f4e457ea2fc6c5c67377656a79a2.jpg","text":"TemporaryFile(/tmp/multipartBody3045957635952722652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188373989,"filename":"image_20112025_23_28_23_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/26/0a9c99c4d29ec806df5e34e994045661.jpg","text":"TemporaryFile(/tmp/multipartBody3196756701549806925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188373989,"filename":"image_20112025_23_28_35_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/26/ce382cb443b934bdad5790de6c1ab784.jpg","text":"TemporaryFile(/tmp/multipartBody2061791468565209347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188373989,"filename":"image_20112025_23_28_06_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/26/b1ce0ae5217cfc24f88402450dbde73b.jpg","text":"TemporaryFile(/tmp/multipartBody4344270116423059006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188373989,"filename":"image_20112025_23_28_32_3808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a2dbe9026e1fb6398bc6765b56724c5b.jpg","text":"TemporaryFile(/tmp/multipartBody6934938197771597943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188373989,"filename":"image_20112025_23_28_04_1687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396295373","file1":"1396295370","file0":"1396295365","file4":"1396295378","file5":"1396295379","file3":"1396295376"},"map_files_photo_id_array":[{"photo_id":"1396295379","filename":"file5"},{"photo_id":"1396295373","filename":"file2"},{"photo_id":"1396295378","filename":"file4"},{"photo_id":"1396295370","filename":"file1"},{"photo_id":"1396295365","filename":"file0"},{"photo_id":"1396295376","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396295373":["hashtag1","hashtag2"]},{"1396295376":["hashtag1","hashtag2"]},{"1396295379":["hashtag1","hashtag2"]},{"1396295370":["hashtag1","hashtag2"]},{"1396295378":["hashtag1","hashtag2"]},{"1396295365":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396295373, 1396295376, 1396295379, 1396295370, 1396295378, 1396295365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84416317939758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 21:19:12.164420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/29/image_20112025_23_29_01_2638.jpg', '/home/pi/Desktop/images/20112025/23/29/image_20112025_23_29_05_3719.jpg', '/home/pi/Desktop/images/20112025/23/29/image_20112025_23_29_25_2590.jpg', '/home/pi/Desktop/images/20112025/23/29/image_20112025_23_29_31_2642.jpg', '/home/pi/Desktop/images/20112025/23/29/image_20112025_23_29_53_1606.jpg', '/home/pi/Desktop/images/20112025/23/29/image_20112025_23_29_55_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/29/image_20112025_23_29_01_2638.jpg
/home/pi/Desktop/images/20112025/23/29/image_20112025_23_29_05_3719.jpg
/home/pi/Desktop/images/20112025/23/29/image_20112025_23_29_25_2590.jpg
/home/pi/Desktop/images/20112025/23/29/image_20112025_23_29_31_2642.jpg
/home/pi/Desktop/images/20112025/23/29/image_20112025_23_29_53_1606.jpg
/home/pi/Desktop/images/20112025/23/29/image_20112025_23_29_55_2696.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":["1396295391","1396295394","1396295397","1396295399","1396295402","1396295383"],"photo_ids_order":["1396295383","1396295391","1396295394","1396295397","1396295399","1396295402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9b02c55e2464a09a81d1f45722e49a45.jpg","text":"TemporaryFile(/tmp/multipartBody8338227604651399929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188414013,"filename":"image_20112025_23_29_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/26/46eb69cf39a596a5951da6072e9c4420.jpg","text":"TemporaryFile(/tmp/multipartBody6514738800323786991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188414013,"filename":"image_20112025_23_29_25_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/26/fe74985255e9f21fdddb20c95b83f430.jpg","text":"TemporaryFile(/tmp/multipartBody1726733473553365885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188414013,"filename":"image_20112025_23_29_31_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/26/5820afdea9f50ec79cc65496e1e42e95.jpg","text":"TemporaryFile(/tmp/multipartBody8941195016745680715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188414013,"filename":"image_20112025_23_29_53_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f0800d66ac6db29a87d45d973a90963f.jpg","text":"TemporaryFile(/tmp/multipartBody7022233458242428982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188414013,"filename":"image_20112025_23_29_55_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/26/4e6ff8c7b78e11fe1a10f83c8c3fa8e7.jpg","text":"TemporaryFile(/tmp/multipartBody3455921911036209676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188414013,"filename":"image_20112025_23_29_01_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396295394","file1":"1396295391","file0":"1396295383","file4":"1396295399","file5":"1396295402","file3":"1396295397"},"map_files_photo_id_array":[{"photo_id":"1396295402","filename":"file5"},{"photo_id":"1396295394","filename":"file2"},{"photo_id":"1396295399","filename":"file4"},{"photo_id":"1396295391","filename":"file1"},{"photo_id":"1396295383","filename":"file0"},{"photo_id":"1396295397","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396295391":["hashtag1","hashtag2"]},{"1396295394":["hashtag1","hashtag2"]},{"1396295397":["hashtag1","hashtag2"]},{"1396295399":["hashtag1","hashtag2"]},{"1396295402":["hashtag1","hashtag2"]},{"1396295383":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396295391, 1396295394, 1396295397, 1396295399, 1396295402, 1396295383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32815861701965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:20:02.611112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/27/image_26112025_18_28_06_10820.jpg', '/home/pi/Desktop/images/26112025/18/28/image_26112025_18_28_16_9909.jpg', '/home/pi/Desktop/images/26112025/18/28/image_26112025_18_28_35_9636.jpg', '/home/pi/Desktop/images/26112025/18/28/image_26112025_18_28_46_10708.jpg', '/home/pi/Desktop/images/26112025/18/28/image_26112025_18_28_55_9674.jpg', '/home/pi/Desktop/images/26112025/18/29/image_26112025_18_29_15_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/27/image_26112025_18_28_06_10820.jpg
/home/pi/Desktop/images/26112025/18/28/image_26112025_18_28_16_9909.jpg
/home/pi/Desktop/images/26112025/18/28/image_26112025_18_28_35_9636.jpg
/home/pi/Desktop/images/26112025/18/28/image_26112025_18_28_46_10708.jpg
/home/pi/Desktop/images/26112025/18/28/image_26112025_18_28_55_9674.jpg
/home/pi/Desktop/images/26112025/18/29/image_26112025_18_29_15_9748.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":["1396295469","1396295409","1396295480","1396295411","1396295461","1396295407"],"photo_ids_order":["1396295407","1396295409","1396295411","1396295461","1396295469","1396295480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b0537f612fccc83b35d3e55a6050bdb6.jpg","text":"TemporaryFile(/tmp/multipartBody5104368747301249066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188463390,"filename":"image_26112025_18_28_55_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e5bd2641f9e93b6e966c89d736df72e0.jpg","text":"TemporaryFile(/tmp/multipartBody2531992685287126233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188463390,"filename":"image_26112025_18_28_16_9909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b5603a3a0f1b05d2d3ddda4a35c36eb3.jpg","text":"TemporaryFile(/tmp/multipartBody5310268718296180374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188463390,"filename":"image_26112025_18_29_15_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a6fb74b5ba022efe4620e437e231d6fd.jpg","text":"TemporaryFile(/tmp/multipartBody2184348999756786002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188463390,"filename":"image_26112025_18_28_35_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/032c0255c0256d9539c46bf9b232f287.jpg","text":"TemporaryFile(/tmp/multipartBody6881643102862349915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188463390,"filename":"image_26112025_18_28_46_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/30207b519a1d615778a2bc8a0020c7a2.jpg","text":"TemporaryFile(/tmp/multipartBody1742696083866709553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188463390,"filename":"image_26112025_18_28_06_10820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396295411","file1":"1396295409","file0":"1396295407","file4":"1396295469","file5":"1396295480","file3":"1396295461"},"map_files_photo_id_array":[{"photo_id":"1396295480","filename":"file5"},{"photo_id":"1396295411","filename":"file2"},{"photo_id":"1396295469","filename":"file4"},{"photo_id":"1396295409","filename":"file1"},{"photo_id":"1396295407","filename":"file0"},{"photo_id":"1396295461","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396295469":["hashtag1","hashtag2"]},{"1396295409":["hashtag1","hashtag2"]},{"1396295480":["hashtag1","hashtag2"]},{"1396295411":["hashtag1","hashtag2"]},{"1396295461":["hashtag1","hashtag2"]},{"1396295407":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396295469, 1396295409, 1396295480, 1396295411, 1396295461, 1396295407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06767821311951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 21:20:42.203446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_56_2584.jpg', '/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_59_3788.jpg', '/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_02_2583.jpg', '/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_04_2501.jpg', '/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_08_3705.jpg', '/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_14_2817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_56_2584.jpg
/home/pi/Desktop/images/30102025/20/32/image_30102025_20_32_59_3788.jpg
/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_02_2583.jpg
/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_04_2501.jpg
/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_08_3705.jpg
/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_14_2817.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":["1396295559","1396295604","1396295552","1396295555","1396295606","1396295566"],"photo_ids_order":["1396295552","1396295555","1396295559","1396295566","1396295604","1396295606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/84da265c5db39182c433d3b27f8ba29a.jpg","text":"TemporaryFile(/tmp/multipartBody4180827758007821940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188503707,"filename":"image_30102025_20_33_02_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/26/955bc1c81487e186a0ec470ce7487bf0.jpg","text":"TemporaryFile(/tmp/multipartBody3835774351819500820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188503707,"filename":"image_30102025_20_33_08_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/26/c13e740f22da5b261a72fa24e6f243d6.jpg","text":"TemporaryFile(/tmp/multipartBody5967320882609064407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188503707,"filename":"image_30102025_20_32_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/26/7ddffd17930329829f6a91c3c9e24b0f.jpg","text":"TemporaryFile(/tmp/multipartBody1791531013752662117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188503707,"filename":"image_30102025_20_32_59_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/26/3dbdae827c30c66de399a8f3e66ae1b5.jpg","text":"TemporaryFile(/tmp/multipartBody8995456104749584043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188503707,"filename":"image_30102025_20_33_14_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/26/ab220d24bdd68e997d29d8d94ec4ce09.jpg","text":"TemporaryFile(/tmp/multipartBody3464405711857638785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188503707,"filename":"image_30102025_20_33_04_2501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396295559","file1":"1396295555","file0":"1396295552","file4":"1396295604","file5":"1396295606","file3":"1396295566"},"map_files_photo_id_array":[{"photo_id":"1396295606","filename":"file5"},{"photo_id":"1396295559","filename":"file2"},{"photo_id":"1396295604","filename":"file4"},{"photo_id":"1396295555","filename":"file1"},{"photo_id":"1396295552","filename":"file0"},{"photo_id":"1396295566","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396295559":["hashtag1","hashtag2"]},{"1396295604":["hashtag1","hashtag2"]},{"1396295552":["hashtag1","hashtag2"]},{"1396295555":["hashtag1","hashtag2"]},{"1396295606":["hashtag1","hashtag2"]},{"1396295566":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396295559, 1396295604, 1396295552, 1396295555, 1396295606, 1396295566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3263418674469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 21:21:22.385897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/29/image_26112025_18_29_25_9930.jpg', '/home/pi/Desktop/images/26112025/18/29/image_26112025_18_29_36_10737.jpg', '/home/pi/Desktop/images/26112025/18/30/image_26112025_18_30_14_10051.jpg', '/home/pi/Desktop/images/26112025/18/30/image_26112025_18_30_25_10669.jpg', '/home/pi/Desktop/images/26112025/18/30/image_26112025_18_30_44_9756.jpg', '/home/pi/Desktop/images/26112025/18/30/image_26112025_18_30_55_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/29/image_26112025_18_29_25_9930.jpg
/home/pi/Desktop/images/26112025/18/29/image_26112025_18_29_36_10737.jpg
/home/pi/Desktop/images/26112025/18/30/image_26112025_18_30_14_10051.jpg
/home/pi/Desktop/images/26112025/18/30/image_26112025_18_30_25_10669.jpg
/home/pi/Desktop/images/26112025/18/30/image_26112025_18_30_44_9756.jpg
/home/pi/Desktop/images/26112025/18/30/image_26112025_18_30_55_10686.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":["1396295652","1396295649","1396295634","1396295645","1396295615","1396295647"],"photo_ids_order":["1396295615","1396295634","1396295645","1396295647","1396295649","1396295652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/600817331688d5494af138dcd6d40f35.jpg","text":"TemporaryFile(/tmp/multipartBody3648347120343148957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188543155,"filename":"image_26112025_18_30_55_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d1df205baa058b435df63d631727547a.jpg","text":"TemporaryFile(/tmp/multipartBody2750468733466816931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188543155,"filename":"image_26112025_18_30_44_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9558604048bc21a4d5077f3242444af7.jpg","text":"TemporaryFile(/tmp/multipartBody5248088492320748110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188543155,"filename":"image_26112025_18_29_36_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/774a5d1b31823c32b18756629d141371.jpg","text":"TemporaryFile(/tmp/multipartBody3983493943370033452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188543155,"filename":"image_26112025_18_30_14_10051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/90075ee2bd21a55895afe17e91d3f6f7.jpg","text":"TemporaryFile(/tmp/multipartBody6871005546553512546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188543155,"filename":"image_26112025_18_29_25_9930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/53256104be8c793b94140575b59553d6.jpg","text":"TemporaryFile(/tmp/multipartBody3197421490256449710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188543155,"filename":"image_26112025_18_30_25_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396295645","file1":"1396295634","file0":"1396295615","file4":"1396295649","file5":"1396295652","file3":"1396295647"},"map_files_photo_id_array":[{"photo_id":"1396295652","filename":"file5"},{"photo_id":"1396295645","filename":"file2"},{"photo_id":"1396295649","filename":"file4"},{"photo_id":"1396295634","filename":"file1"},{"photo_id":"1396295615","filename":"file0"},{"photo_id":"1396295647","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396295652":["hashtag1","hashtag2"]},{"1396295649":["hashtag1","hashtag2"]},{"1396295634":["hashtag1","hashtag2"]},{"1396295645":["hashtag1","hashtag2"]},{"1396295615":["hashtag1","hashtag2"]},{"1396295647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396295652, 1396295649, 1396295634, 1396295645, 1396295615, 1396295647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75452184677124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:22:03.103101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/30/image_26112025_18_31_04_9578.jpg', '/home/pi/Desktop/images/26112025/18/31/image_26112025_18_31_25_10647.jpg', '/home/pi/Desktop/images/26112025/18/31/image_26112025_18_31_34_9615.jpg', '/home/pi/Desktop/images/26112025/18/31/image_26112025_18_31_44_9744.jpg', '/home/pi/Desktop/images/26112025/18/32/image_26112025_18_32_14_9741.jpg', '/home/pi/Desktop/images/26112025/18/32/image_26112025_18_32_24_9855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/30/image_26112025_18_31_04_9578.jpg
/home/pi/Desktop/images/26112025/18/31/image_26112025_18_31_25_10647.jpg
/home/pi/Desktop/images/26112025/18/31/image_26112025_18_31_34_9615.jpg
/home/pi/Desktop/images/26112025/18/31/image_26112025_18_31_44_9744.jpg
/home/pi/Desktop/images/26112025/18/32/image_26112025_18_32_14_9741.jpg
/home/pi/Desktop/images/26112025/18/32/image_26112025_18_32_24_9855.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":["1396295667","1396295658","1396295663","1396295660","1396295654","1396295656"],"photo_ids_order":["1396295654","1396295656","1396295658","1396295660","1396295663","1396295667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/969119e18aa9979e248d2a81ad0797fa.jpg","text":"TemporaryFile(/tmp/multipartBody3054439927078271913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188583883,"filename":"image_26112025_18_32_24_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/35e4b4e7cae82ba5eec1829aa164ee32.jpg","text":"TemporaryFile(/tmp/multipartBody855511634314936811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188583883,"filename":"image_26112025_18_31_34_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d5f6c41b936bafd3618d2a0bfb40f948.jpg","text":"TemporaryFile(/tmp/multipartBody1446910347966103545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188583883,"filename":"image_26112025_18_32_14_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1a363a52cd55d2cb487a68afce10c00e.jpg","text":"TemporaryFile(/tmp/multipartBody3578631868823593283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188583883,"filename":"image_26112025_18_31_44_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/06d83707ac82638408f5fef61ddeabee.jpg","text":"TemporaryFile(/tmp/multipartBody5844905807704159597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188583883,"filename":"image_26112025_18_31_04_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5863ebdead86355d9788831e17b17d29.jpg","text":"TemporaryFile(/tmp/multipartBody6750985746840129377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188583883,"filename":"image_26112025_18_31_25_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396295658","file1":"1396295656","file0":"1396295654","file4":"1396295663","file5":"1396295667","file3":"1396295660"},"map_files_photo_id_array":[{"photo_id":"1396295667","filename":"file5"},{"photo_id":"1396295658","filename":"file2"},{"photo_id":"1396295663","filename":"file4"},{"photo_id":"1396295656","filename":"file1"},{"photo_id":"1396295654","filename":"file0"},{"photo_id":"1396295660","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396295667":["hashtag1","hashtag2"]},{"1396295658":["hashtag1","hashtag2"]},{"1396295663":["hashtag1","hashtag2"]},{"1396295660":["hashtag1","hashtag2"]},{"1396295654":["hashtag1","hashtag2"]},{"1396295656":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396295667, 1396295658, 1396295663, 1396295660, 1396295654, 1396295656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25553917884827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 21:22:42.588857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_26_2797.jpg', '/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_29_3710.jpg', '/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_32_2747.jpg', '/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_41_3738.jpg', '/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_44_2695.jpg', '/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_47_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_26_2797.jpg
/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_29_3710.jpg
/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_32_2747.jpg
/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_41_3738.jpg
/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_44_2695.jpg
/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_47_2699.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":["1396295682","1396295681","1396295684","1396295678","1396295686","1396295683"],"photo_ids_order":["1396295678","1396295681","1396295682","1396295683","1396295684","1396295686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/037316be7349fdd2db8e7b81d99f76dd.jpg","text":"TemporaryFile(/tmp/multipartBody6527357731190091970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188624049,"filename":"image_30102025_20_33_32_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/22d18acab94ed1aab0648157ac01631d.jpg","text":"TemporaryFile(/tmp/multipartBody487544889382983673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188624049,"filename":"image_30102025_20_33_29_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/26/ea77a31a7ea42db6a334d5635051e8fc.jpg","text":"TemporaryFile(/tmp/multipartBody1140952095845609043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188624049,"filename":"image_30102025_20_33_44_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/26/5d04a9af6b781a718c6a7cc99165e42c.jpg","text":"TemporaryFile(/tmp/multipartBody168241705909959803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188624049,"filename":"image_30102025_20_33_26_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/26/8314ab39755d0d2208c01aab28a118cc.jpg","text":"TemporaryFile(/tmp/multipartBody8067488940819551429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188624049,"filename":"image_30102025_20_33_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/26/c03204ddd1606015b9ff5b351dc99bf4.jpg","text":"TemporaryFile(/tmp/multipartBody8151510748293164988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188624049,"filename":"image_30102025_20_33_41_3738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396295682","file1":"1396295681","file0":"1396295678","file4":"1396295684","file5":"1396295686","file3":"1396295683"},"map_files_photo_id_array":[{"photo_id":"1396295686","filename":"file5"},{"photo_id":"1396295682","filename":"file2"},{"photo_id":"1396295684","filename":"file4"},{"photo_id":"1396295681","filename":"file1"},{"photo_id":"1396295678","filename":"file0"},{"photo_id":"1396295683","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396295682":["hashtag1","hashtag2"]},{"1396295681":["hashtag1","hashtag2"]},{"1396295684":["hashtag1","hashtag2"]},{"1396295678":["hashtag1","hashtag2"]},{"1396295686":["hashtag1","hashtag2"]},{"1396295683":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396295682, 1396295681, 1396295684, 1396295678, 1396295686, 1396295683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54122447967529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 21:23:22.741891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/32/image_26112025_18_32_45_9689.jpg', '/home/pi/Desktop/images/26112025/18/32/image_26112025_18_32_54_9665.jpg', '/home/pi/Desktop/images/26112025/18/33/image_26112025_18_33_15_9715.jpg', '/home/pi/Desktop/images/26112025/18/33/image_26112025_18_33_24_9594.jpg', '/home/pi/Desktop/images/26112025/18/33/image_26112025_18_33_35_10691.jpg', '/home/pi/Desktop/images/26112025/18/33/image_26112025_18_33_45_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/32/image_26112025_18_32_45_9689.jpg
/home/pi/Desktop/images/26112025/18/32/image_26112025_18_32_54_9665.jpg
/home/pi/Desktop/images/26112025/18/33/image_26112025_18_33_15_9715.jpg
/home/pi/Desktop/images/26112025/18/33/image_26112025_18_33_24_9594.jpg
/home/pi/Desktop/images/26112025/18/33/image_26112025_18_33_35_10691.jpg
/home/pi/Desktop/images/26112025/18/33/image_26112025_18_33_45_9709.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":["1396295694","1396295715","1396295696","1396295720","1396295698","1396295705"],"photo_ids_order":["1396295694","1396295696","1396295698","1396295705","1396295715","1396295720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/51d726049789f10d76382d7006cdb78c.jpg","text":"TemporaryFile(/tmp/multipartBody3255291458225008687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188663509,"filename":"image_26112025_18_32_45_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4b89b49fbcb3978bc5fde5aad1bef457.jpg","text":"TemporaryFile(/tmp/multipartBody6335603459030277282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188663509,"filename":"image_26112025_18_33_35_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/921bd169522e0ff138be9fc1bb246074.jpg","text":"TemporaryFile(/tmp/multipartBody5867719943834045217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188663509,"filename":"image_26112025_18_32_54_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b46c5ef548011f27e7e75f06b2026ec2.jpg","text":"TemporaryFile(/tmp/multipartBody2258813474746009953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188663509,"filename":"image_26112025_18_33_45_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/723f8a454eeb16a7953928719b12d0bb.jpg","text":"TemporaryFile(/tmp/multipartBody7773714908376177092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188663509,"filename":"image_26112025_18_33_15_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6f9793c1227cba49405eee68f583329f.jpg","text":"TemporaryFile(/tmp/multipartBody1944100345931852981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188663509,"filename":"image_26112025_18_33_24_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396295698","file1":"1396295696","file0":"1396295694","file4":"1396295715","file5":"1396295720","file3":"1396295705"},"map_files_photo_id_array":[{"photo_id":"1396295720","filename":"file5"},{"photo_id":"1396295698","filename":"file2"},{"photo_id":"1396295715","filename":"file4"},{"photo_id":"1396295696","filename":"file1"},{"photo_id":"1396295694","filename":"file0"},{"photo_id":"1396295705","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396295694":["hashtag1","hashtag2"]},{"1396295715":["hashtag1","hashtag2"]},{"1396295696":["hashtag1","hashtag2"]},{"1396295720":["hashtag1","hashtag2"]},{"1396295698":["hashtag1","hashtag2"]},{"1396295705":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396295694, 1396295715, 1396295696, 1396295720, 1396295698, 1396295705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42828392982483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:24:02.569675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/33/image_26112025_18_33_54_9798.jpg', '/home/pi/Desktop/images/26112025/18/34/image_26112025_18_34_14_10227.jpg', '/home/pi/Desktop/images/26112025/18/34/image_26112025_18_34_57_12963.jpg', '/home/pi/Desktop/images/26112025/18/35/image_26112025_18_35_04_7027.jpg', '/home/pi/Desktop/images/26112025/18/35/image_26112025_18_35_14_9807.jpg', '/home/pi/Desktop/images/26112025/18/35/image_26112025_18_35_25_10729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/33/image_26112025_18_33_54_9798.jpg
/home/pi/Desktop/images/26112025/18/34/image_26112025_18_34_14_10227.jpg
/home/pi/Desktop/images/26112025/18/34/image_26112025_18_34_57_12963.jpg
/home/pi/Desktop/images/26112025/18/35/image_26112025_18_35_04_7027.jpg
/home/pi/Desktop/images/26112025/18/35/image_26112025_18_35_14_9807.jpg
/home/pi/Desktop/images/26112025/18/35/image_26112025_18_35_25_10729.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":["1396295733","1396295727","1396295721","1396295730","1396295722","1396295725"],"photo_ids_order":["1396295721","1396295722","1396295725","1396295727","1396295730","1396295733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/54dafd3387854ed25798c67908be715d.jpg","text":"TemporaryFile(/tmp/multipartBody5492556528779696854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188703451,"filename":"image_26112025_18_35_25_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c2415b5f291aebc1ed5575b7b49ff416.jpg","text":"TemporaryFile(/tmp/multipartBody5344586834649046358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188703451,"filename":"image_26112025_18_35_04_7027.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b9377da95b052be6bee43d0709237360.jpg","text":"TemporaryFile(/tmp/multipartBody680531006643483192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188703451,"filename":"image_26112025_18_33_54_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/274a3bc6268eb3115db92b5b5bba31d6.jpg","text":"TemporaryFile(/tmp/multipartBody5905671476561001143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188703451,"filename":"image_26112025_18_35_14_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c800924e56dc275083d34f12a42719f6.jpg","text":"TemporaryFile(/tmp/multipartBody7255808942856854544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188703451,"filename":"image_26112025_18_34_14_10227.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/87353481b4bada65d896f1f177970f45.jpg","text":"TemporaryFile(/tmp/multipartBody7410784314102891350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188703451,"filename":"image_26112025_18_34_57_12963.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396295725","file1":"1396295722","file0":"1396295721","file4":"1396295730","file5":"1396295733","file3":"1396295727"},"map_files_photo_id_array":[{"photo_id":"1396295733","filename":"file5"},{"photo_id":"1396295725","filename":"file2"},{"photo_id":"1396295730","filename":"file4"},{"photo_id":"1396295722","filename":"file1"},{"photo_id":"1396295721","filename":"file0"},{"photo_id":"1396295727","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396295733":["hashtag1","hashtag2"]},{"1396295727":["hashtag1","hashtag2"]},{"1396295721":["hashtag1","hashtag2"]},{"1396295730":["hashtag1","hashtag2"]},{"1396295722":["hashtag1","hashtag2"]},{"1396295725":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396295733, 1396295727, 1396295721, 1396295730, 1396295722, 1396295725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01014804840088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 21:24:41.836506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_50_3654.jpg', '/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_53_2594.jpg', '/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_56_2751.jpg', '/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_59_3571.jpg', '/home/pi/Desktop/images/30102025/20/34/image_30102025_20_34_02_2823.jpg', '/home/pi/Desktop/images/30102025/20/34/image_30102025_20_34_05_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_50_3654.jpg
/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_53_2594.jpg
/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_56_2751.jpg
/home/pi/Desktop/images/30102025/20/33/image_30102025_20_33_59_3571.jpg
/home/pi/Desktop/images/30102025/20/34/image_30102025_20_34_02_2823.jpg
/home/pi/Desktop/images/30102025/20/34/image_30102025_20_34_05_2611.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":["1396295751","1396295750","1396295753","1396295749","1396295752","1396295746"],"photo_ids_order":["1396295746","1396295749","1396295750","1396295751","1396295752","1396295753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c6121c467126e8f1bc7fc00efd9bf009.jpg","text":"TemporaryFile(/tmp/multipartBody365216963441192978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188743347,"filename":"image_30102025_20_33_59_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/26/be826061708c20760e45de3e51328dfe.jpg","text":"TemporaryFile(/tmp/multipartBody547751718472875925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188743347,"filename":"image_30102025_20_33_56_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/26/cfba582060be9fa6f27a08d8ef582e12.jpg","text":"TemporaryFile(/tmp/multipartBody346667993020278233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188743347,"filename":"image_30102025_20_34_05_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/26/4b9abaf901ea310c054acebb581c5b6b.jpg","text":"TemporaryFile(/tmp/multipartBody5706079988404734597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188743347,"filename":"image_30102025_20_33_53_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/26/9e0b1e5413b26ac50d550410386ebf0d.jpg","text":"TemporaryFile(/tmp/multipartBody8072536159377309157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188743347,"filename":"image_30102025_20_34_02_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/26/d4ca4d9f58dbd5021bc49fec764ec6fc.jpg","text":"TemporaryFile(/tmp/multipartBody3075191651565768078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188743347,"filename":"image_30102025_20_33_50_3654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396295750","file1":"1396295749","file0":"1396295746","file4":"1396295752","file5":"1396295753","file3":"1396295751"},"map_files_photo_id_array":[{"photo_id":"1396295753","filename":"file5"},{"photo_id":"1396295750","filename":"file2"},{"photo_id":"1396295752","filename":"file4"},{"photo_id":"1396295749","filename":"file1"},{"photo_id":"1396295746","filename":"file0"},{"photo_id":"1396295751","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396295751":["hashtag1","hashtag2"]},{"1396295750":["hashtag1","hashtag2"]},{"1396295753":["hashtag1","hashtag2"]},{"1396295749":["hashtag1","hashtag2"]},{"1396295752":["hashtag1","hashtag2"]},{"1396295746":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396295751, 1396295750, 1396295753, 1396295749, 1396295752, 1396295746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.999276876449585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 21:25:22.036378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/35/image_26112025_18_35_35_9756.jpg', '/home/pi/Desktop/images/26112025/18/35/image_26112025_18_35_44_9835.jpg', '/home/pi/Desktop/images/26112025/18/35/image_26112025_18_35_54_9941.jpg', '/home/pi/Desktop/images/26112025/18/36/image_26112025_18_36_15_10678.jpg', '/home/pi/Desktop/images/26112025/18/36/image_26112025_18_36_25_9832.jpg', '/home/pi/Desktop/images/26112025/18/36/image_26112025_18_36_34_9840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/35/image_26112025_18_35_35_9756.jpg
/home/pi/Desktop/images/26112025/18/35/image_26112025_18_35_44_9835.jpg
/home/pi/Desktop/images/26112025/18/35/image_26112025_18_35_54_9941.jpg
/home/pi/Desktop/images/26112025/18/36/image_26112025_18_36_15_10678.jpg
/home/pi/Desktop/images/26112025/18/36/image_26112025_18_36_25_9832.jpg
/home/pi/Desktop/images/26112025/18/36/image_26112025_18_36_34_9840.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":["1396295769","1396295762","1396295771","1396295765","1396295759","1396295767"],"photo_ids_order":["1396295759","1396295762","1396295765","1396295767","1396295769","1396295771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f59d8d81cd1ccf683ecf70b46a5aaafd.jpg","text":"TemporaryFile(/tmp/multipartBody670690620154213306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188782844,"filename":"image_26112025_18_36_25_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fe1e31485d31d137a5f5f144ca9a6f98.jpg","text":"TemporaryFile(/tmp/multipartBody2480528111923687177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188782844,"filename":"image_26112025_18_35_44_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ded0b9528aace24cee6e14fabd6e138b.jpg","text":"TemporaryFile(/tmp/multipartBody797282181558266534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188782844,"filename":"image_26112025_18_36_34_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f09c3a0fa38ec54c2cc0596e97a656d9.jpg","text":"TemporaryFile(/tmp/multipartBody2498395740300431765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188782844,"filename":"image_26112025_18_35_54_9941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/508ec706aa09cd5fa1d7851c1e727cf5.jpg","text":"TemporaryFile(/tmp/multipartBody2404181971880980874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188782844,"filename":"image_26112025_18_35_35_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/04e99f414bc82979f8cb98db2591a4d0.jpg","text":"TemporaryFile(/tmp/multipartBody2879063565271288642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188782844,"filename":"image_26112025_18_36_15_10678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396295765","file1":"1396295762","file0":"1396295759","file4":"1396295769","file5":"1396295771","file3":"1396295767"},"map_files_photo_id_array":[{"photo_id":"1396295771","filename":"file5"},{"photo_id":"1396295765","filename":"file2"},{"photo_id":"1396295769","filename":"file4"},{"photo_id":"1396295762","filename":"file1"},{"photo_id":"1396295759","filename":"file0"},{"photo_id":"1396295767","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396295769":["hashtag1","hashtag2"]},{"1396295762":["hashtag1","hashtag2"]},{"1396295771":["hashtag1","hashtag2"]},{"1396295765":["hashtag1","hashtag2"]},{"1396295759":["hashtag1","hashtag2"]},{"1396295767":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396295769, 1396295762, 1396295771, 1396295765, 1396295759, 1396295767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55707550048828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:26:03.009378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/36/image_26112025_18_36_44_9626.jpg', '/home/pi/Desktop/images/26112025/18/36/image_26112025_18_36_55_10788.jpg', '/home/pi/Desktop/images/26112025/18/36/image_26112025_18_37_05_9854.jpg', '/home/pi/Desktop/images/26112025/18/37/image_26112025_18_37_14_9822.jpg', '/home/pi/Desktop/images/26112025/18/37/image_26112025_18_37_24_9595.jpg', '/home/pi/Desktop/images/26112025/18/37/image_26112025_18_37_35_10695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/36/image_26112025_18_36_44_9626.jpg
/home/pi/Desktop/images/26112025/18/36/image_26112025_18_36_55_10788.jpg
/home/pi/Desktop/images/26112025/18/36/image_26112025_18_37_05_9854.jpg
/home/pi/Desktop/images/26112025/18/37/image_26112025_18_37_14_9822.jpg
/home/pi/Desktop/images/26112025/18/37/image_26112025_18_37_24_9595.jpg
/home/pi/Desktop/images/26112025/18/37/image_26112025_18_37_35_10695.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.7139420509338379 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 21:26:12.605038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/30/image_20112025_23_30_02_3667.jpg', '/home/pi/Desktop/images/20112025/23/30/image_20112025_23_30_05_2909.jpg', '/home/pi/Desktop/images/20112025/23/30/image_20112025_23_30_10_2865.jpg', '/home/pi/Desktop/images/20112025/23/30/image_20112025_23_30_17_1750.jpg', '/home/pi/Desktop/images/20112025/23/30/image_20112025_23_30_25_2853.jpg', '/home/pi/Desktop/images/20112025/23/30/image_20112025_23_30_28_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/30/image_20112025_23_30_02_3667.jpg
/home/pi/Desktop/images/20112025/23/30/image_20112025_23_30_05_2909.jpg
/home/pi/Desktop/images/20112025/23/30/image_20112025_23_30_10_2865.jpg
/home/pi/Desktop/images/20112025/23/30/image_20112025_23_30_17_1750.jpg
/home/pi/Desktop/images/20112025/23/30/image_20112025_23_30_25_2853.jpg
/home/pi/Desktop/images/20112025/23/30/image_20112025_23_30_28_2695.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":["1396295781","1396295795","1396295777","1396295786","1396295791","1396295788"],"photo_ids_order":["1396295777","1396295781","1396295786","1396295788","1396295791","1396295795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eb125a7447283bbe6eccf359843478f1.jpg","text":"TemporaryFile(/tmp/multipartBody1942456776869157548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188834461,"filename":"image_20112025_23_30_05_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/26/c0a62f196edd540446ec772a9185bf30.jpg","text":"TemporaryFile(/tmp/multipartBody5889037650106976887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188834461,"filename":"image_20112025_23_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/26/fd9e3fc5ad8705b6e387feab963823ab.jpg","text":"TemporaryFile(/tmp/multipartBody66087299117353276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188834461,"filename":"image_20112025_23_30_02_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/26/2732f5c7aba2a538c25c83f387c651a3.jpg","text":"TemporaryFile(/tmp/multipartBody3625282146509821591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188834461,"filename":"image_20112025_23_30_10_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/26/676a2e0a0cf73c362fb21a304ddd542f.jpg","text":"TemporaryFile(/tmp/multipartBody1437164452619156325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188834461,"filename":"image_20112025_23_30_25_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/26/81b25f42008217f8e84b6e0ad806882a.jpg","text":"TemporaryFile(/tmp/multipartBody6954780864018692382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188834461,"filename":"image_20112025_23_30_17_1750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396295786","file1":"1396295781","file0":"1396295777","file4":"1396295791","file5":"1396295795","file3":"1396295788"},"map_files_photo_id_array":[{"photo_id":"1396295795","filename":"file5"},{"photo_id":"1396295786","filename":"file2"},{"photo_id":"1396295791","filename":"file4"},{"photo_id":"1396295781","filename":"file1"},{"photo_id":"1396295777","filename":"file0"},{"photo_id":"1396295788","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396295781":["hashtag1","hashtag2"]},{"1396295795":["hashtag1","hashtag2"]},{"1396295777":["hashtag1","hashtag2"]},{"1396295786":["hashtag1","hashtag2"]},{"1396295791":["hashtag1","hashtag2"]},{"1396295788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396295781, 1396295795, 1396295777, 1396295786, 1396295791, 1396295788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69189429283142 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:27:02.414431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/36/image_26112025_18_36_44_9626.jpg', '/home/pi/Desktop/images/26112025/18/36/image_26112025_18_36_55_10788.jpg', '/home/pi/Desktop/images/26112025/18/36/image_26112025_18_37_05_9854.jpg', '/home/pi/Desktop/images/26112025/18/37/image_26112025_18_37_14_9822.jpg', '/home/pi/Desktop/images/26112025/18/37/image_26112025_18_37_24_9595.jpg', '/home/pi/Desktop/images/26112025/18/37/image_26112025_18_37_35_10695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/36/image_26112025_18_36_44_9626.jpg
/home/pi/Desktop/images/26112025/18/36/image_26112025_18_36_55_10788.jpg
/home/pi/Desktop/images/26112025/18/36/image_26112025_18_37_05_9854.jpg
/home/pi/Desktop/images/26112025/18/37/image_26112025_18_37_14_9822.jpg
/home/pi/Desktop/images/26112025/18/37/image_26112025_18_37_24_9595.jpg
/home/pi/Desktop/images/26112025/18/37/image_26112025_18_37_35_10695.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":["1396295827","1396295805","1396295807","1396295801","1396295815","1396295803"],"photo_ids_order":["1396295801","1396295803","1396295805","1396295807","1396295815","1396295827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6f4424f9fcde255e98a1aab3c2d7b1c9.jpg","text":"TemporaryFile(/tmp/multipartBody4722633632247984389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188883317,"filename":"image_26112025_18_37_35_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a0f77d701a7c53a8dc09ebc7bd251b02.jpg","text":"TemporaryFile(/tmp/multipartBody2103681576421143490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188883317,"filename":"image_26112025_18_37_05_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aa3b3e80475f5b40292685cc4b042aea.jpg","text":"TemporaryFile(/tmp/multipartBody9000601096514555353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188883317,"filename":"image_26112025_18_37_14_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c1f39411c0ae1e3cf5ae5f3c8ef1b094.jpg","text":"TemporaryFile(/tmp/multipartBody7737040273833394329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188883317,"filename":"image_26112025_18_36_44_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8d4f9a9b2b5e0467bb55dea4d29bbf66.jpg","text":"TemporaryFile(/tmp/multipartBody8591709764057768698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188883317,"filename":"image_26112025_18_37_24_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f075a2b4d88307a055269d28094b4e04.jpg","text":"TemporaryFile(/tmp/multipartBody7497291353412605455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188883317,"filename":"image_26112025_18_36_55_10788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396295805","file1":"1396295803","file0":"1396295801","file4":"1396295815","file5":"1396295827","file3":"1396295807"},"map_files_photo_id_array":[{"photo_id":"1396295827","filename":"file5"},{"photo_id":"1396295805","filename":"file2"},{"photo_id":"1396295815","filename":"file4"},{"photo_id":"1396295803","filename":"file1"},{"photo_id":"1396295801","filename":"file0"},{"photo_id":"1396295807","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396295827":["hashtag1","hashtag2"]},{"1396295805":["hashtag1","hashtag2"]},{"1396295807":["hashtag1","hashtag2"]},{"1396295801":["hashtag1","hashtag2"]},{"1396295815":["hashtag1","hashtag2"]},{"1396295803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396295827, 1396295805, 1396295807, 1396295801, 1396295815, 1396295803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.756757974624634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 21:27:41.890825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/34/image_30102025_20_34_11_2913.jpg', '/home/pi/Desktop/images/30102025/20/34/image_30102025_20_34_14_2711.jpg', '/home/pi/Desktop/images/30102025/20/34/image_30102025_20_34_21_4609.jpg', '/home/pi/Desktop/images/30102025/20/34/image_30102025_20_34_25_2699.jpg', '/home/pi/Desktop/images/30102025/20/34/image_30102025_20_34_29_3640.jpg', '/home/pi/Desktop/images/30102025/20/34/image_30102025_20_34_32_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/34/image_30102025_20_34_11_2913.jpg
/home/pi/Desktop/images/30102025/20/34/image_30102025_20_34_14_2711.jpg
/home/pi/Desktop/images/30102025/20/34/image_30102025_20_34_21_4609.jpg
/home/pi/Desktop/images/30102025/20/34/image_30102025_20_34_25_2699.jpg
/home/pi/Desktop/images/30102025/20/34/image_30102025_20_34_29_3640.jpg
/home/pi/Desktop/images/30102025/20/34/image_30102025_20_34_32_2711.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":["1396295841","1396295838","1396295837","1396295840","1396295842","1396295839"],"photo_ids_order":["1396295837","1396295838","1396295839","1396295840","1396295841","1396295842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b723aba5519128834fe43937d2330635.jpg","text":"TemporaryFile(/tmp/multipartBody7410847973014763150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188923436,"filename":"image_30102025_20_34_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/26/ea5dde1a78d8ec251f75ef5257c40793.jpg","text":"TemporaryFile(/tmp/multipartBody7824727226406091679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188923436,"filename":"image_30102025_20_34_14_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/26/e818c7421335173e7a0ff2c75fa866f8.jpg","text":"TemporaryFile(/tmp/multipartBody1759582153307384799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188923436,"filename":"image_30102025_20_34_11_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/26/b3ebb9b342f7129d3a54332fe7f583eb.jpg","text":"TemporaryFile(/tmp/multipartBody6595665543582288605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188923436,"filename":"image_30102025_20_34_25_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/26/70341a5876ce72c56933ee7f92b1b346.jpg","text":"TemporaryFile(/tmp/multipartBody1089414799318236721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188923436,"filename":"image_30102025_20_34_32_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/26/ae590e582859bd67b6f12bc5890e773c.jpg","text":"TemporaryFile(/tmp/multipartBody2682452926418061595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188923436,"filename":"image_30102025_20_34_21_4609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396295839","file1":"1396295838","file0":"1396295837","file4":"1396295841","file5":"1396295842","file3":"1396295840"},"map_files_photo_id_array":[{"photo_id":"1396295842","filename":"file5"},{"photo_id":"1396295839","filename":"file2"},{"photo_id":"1396295841","filename":"file4"},{"photo_id":"1396295838","filename":"file1"},{"photo_id":"1396295837","filename":"file0"},{"photo_id":"1396295840","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396295841":["hashtag1","hashtag2"]},{"1396295838":["hashtag1","hashtag2"]},{"1396295837":["hashtag1","hashtag2"]},{"1396295840":["hashtag1","hashtag2"]},{"1396295842":["hashtag1","hashtag2"]},{"1396295839":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396295841, 1396295838, 1396295837, 1396295840, 1396295842, 1396295839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28688287734985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 21:28:22.050258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/37/image_26112025_18_37_54_9682.jpg', '/home/pi/Desktop/images/26112025/18/37/image_26112025_18_38_04_9831.jpg', '/home/pi/Desktop/images/26112025/18/38/image_26112025_18_38_15_10399.jpg', '/home/pi/Desktop/images/26112025/18/38/image_26112025_18_38_34_9774.jpg', '/home/pi/Desktop/images/26112025/18/38/image_26112025_18_38_45_10378.jpg', '/home/pi/Desktop/images/26112025/18/38/image_26112025_18_38_55_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/37/image_26112025_18_37_54_9682.jpg
/home/pi/Desktop/images/26112025/18/37/image_26112025_18_38_04_9831.jpg
/home/pi/Desktop/images/26112025/18/38/image_26112025_18_38_15_10399.jpg
/home/pi/Desktop/images/26112025/18/38/image_26112025_18_38_34_9774.jpg
/home/pi/Desktop/images/26112025/18/38/image_26112025_18_38_45_10378.jpg
/home/pi/Desktop/images/26112025/18/38/image_26112025_18_38_55_9780.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":["1396295853","1396295847","1396295856","1396295861","1396295858","1396295851"],"photo_ids_order":["1396295847","1396295851","1396295853","1396295856","1396295858","1396295861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e8a869f946d79bd50294851768ce7737.jpg","text":"TemporaryFile(/tmp/multipartBody3651648486937573699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188962819,"filename":"image_26112025_18_38_15_10399.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9bb89b9ba26bacfcee9ce8daa123f337.jpg","text":"TemporaryFile(/tmp/multipartBody6314329643512499365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188962819,"filename":"image_26112025_18_37_54_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/49ec73b3552ecec2dc48a69b57955f2f.jpg","text":"TemporaryFile(/tmp/multipartBody5125163746758628470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188962819,"filename":"image_26112025_18_38_34_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4c8a57d0d6fb7113ce581102ae937f3a.jpg","text":"TemporaryFile(/tmp/multipartBody6977368951370904568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188962819,"filename":"image_26112025_18_38_55_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e3f8d74aa8cedc68d21e371b623c0c20.jpg","text":"TemporaryFile(/tmp/multipartBody6395285789554106118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188962819,"filename":"image_26112025_18_38_45_10378.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/562eb13702a594a1cf85e57cc47318e9.jpg","text":"TemporaryFile(/tmp/multipartBody4451448212145812091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764188962819,"filename":"image_26112025_18_38_04_9831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396295853","file1":"1396295851","file0":"1396295847","file4":"1396295858","file5":"1396295861","file3":"1396295856"},"map_files_photo_id_array":[{"photo_id":"1396295861","filename":"file5"},{"photo_id":"1396295853","filename":"file2"},{"photo_id":"1396295858","filename":"file4"},{"photo_id":"1396295851","filename":"file1"},{"photo_id":"1396295847","filename":"file0"},{"photo_id":"1396295856","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396295853":["hashtag1","hashtag2"]},{"1396295847":["hashtag1","hashtag2"]},{"1396295856":["hashtag1","hashtag2"]},{"1396295861":["hashtag1","hashtag2"]},{"1396295858":["hashtag1","hashtag2"]},{"1396295851":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396295853, 1396295847, 1396295856, 1396295861, 1396295858, 1396295851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4809889793396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:29:02.912959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/38/image_26112025_18_39_04_9686.jpg', '/home/pi/Desktop/images/26112025/18/39/image_26112025_18_39_15_10557.jpg', '/home/pi/Desktop/images/26112025/18/39/image_26112025_18_39_24_9303.jpg', '/home/pi/Desktop/images/26112025/18/39/image_26112025_18_39_35_10728.jpg', '/home/pi/Desktop/images/26112025/18/39/image_26112025_18_39_45_9754.jpg', '/home/pi/Desktop/images/26112025/18/39/image_26112025_18_39_54_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/38/image_26112025_18_39_04_9686.jpg
/home/pi/Desktop/images/26112025/18/39/image_26112025_18_39_15_10557.jpg
/home/pi/Desktop/images/26112025/18/39/image_26112025_18_39_24_9303.jpg
/home/pi/Desktop/images/26112025/18/39/image_26112025_18_39_35_10728.jpg
/home/pi/Desktop/images/26112025/18/39/image_26112025_18_39_45_9754.jpg
/home/pi/Desktop/images/26112025/18/39/image_26112025_18_39_54_9781.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":["1396295871","1396295868","1396295873","1396295879","1396295872","1396295875"],"photo_ids_order":["1396295868","1396295871","1396295872","1396295873","1396295875","1396295879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9c4377a2d491b5583503b8be091d0901.jpg","text":"TemporaryFile(/tmp/multipartBody4899962237911798358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189004027,"filename":"image_26112025_18_39_15_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2d93ffd34d756dfde67a09c36e30a720.jpg","text":"TemporaryFile(/tmp/multipartBody5895060107085195757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189004027,"filename":"image_26112025_18_39_04_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b3cbea9b722b69dcba3b8f316425cc79.jpg","text":"TemporaryFile(/tmp/multipartBody7321922439399026532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189004027,"filename":"image_26112025_18_39_35_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a6521ee1fffef89219486cf09a3f9e18.jpg","text":"TemporaryFile(/tmp/multipartBody4243043929741169932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189004027,"filename":"image_26112025_18_39_54_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d591f50ff248646ce01c8afabf723f1f.jpg","text":"TemporaryFile(/tmp/multipartBody7628483509962284667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189004027,"filename":"image_26112025_18_39_24_9303.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/94f9a38b0c70cb7074dcc0113c53c3b9.jpg","text":"TemporaryFile(/tmp/multipartBody2573068848968941793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189004027,"filename":"image_26112025_18_39_45_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396295872","file1":"1396295871","file0":"1396295868","file4":"1396295875","file5":"1396295879","file3":"1396295873"},"map_files_photo_id_array":[{"photo_id":"1396295879","filename":"file5"},{"photo_id":"1396295872","filename":"file2"},{"photo_id":"1396295875","filename":"file4"},{"photo_id":"1396295871","filename":"file1"},{"photo_id":"1396295868","filename":"file0"},{"photo_id":"1396295873","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396295871":["hashtag1","hashtag2"]},{"1396295868":["hashtag1","hashtag2"]},{"1396295873":["hashtag1","hashtag2"]},{"1396295879":["hashtag1","hashtag2"]},{"1396295872":["hashtag1","hashtag2"]},{"1396295875":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396295871, 1396295868, 1396295873, 1396295879, 1396295872, 1396295875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59249806404114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 21:29:42.187734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/34/image_30102025_20_34_34_2714.jpg', '/home/pi/Desktop/images/30102025/20/34/image_30102025_20_34_47_3636.jpg', '/home/pi/Desktop/images/30102025/20/34/image_30102025_20_34_53_3633.jpg', '/home/pi/Desktop/images/30102025/20/34/image_30102025_20_34_56_2603.jpg', '/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_05_2587.jpg', '/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_07_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/34/image_30102025_20_34_34_2714.jpg
/home/pi/Desktop/images/30102025/20/34/image_30102025_20_34_47_3636.jpg
/home/pi/Desktop/images/30102025/20/34/image_30102025_20_34_53_3633.jpg
/home/pi/Desktop/images/30102025/20/34/image_30102025_20_34_56_2603.jpg
/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_05_2587.jpg
/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_07_2587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 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":["1396295905","1396295889","1396295892","1396295907","1396295891","1396295902"],"photo_ids_order":["1396295889","1396295891","1396295892","1396295902","1396295905","1396295907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/102264a8a1c7ec545c1c219febd78032.jpg","text":"TemporaryFile(/tmp/multipartBody5022326484173067986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189043641,"filename":"image_30102025_20_35_05_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/26/af49d3148f1d6cd2ea78319f93dc0988.jpg","text":"TemporaryFile(/tmp/multipartBody8306980997283207030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189043641,"filename":"image_30102025_20_34_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/26/0a5f83ac67a5859ed8295c1988184cd1.jpg","text":"TemporaryFile(/tmp/multipartBody954830185388321745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189043641,"filename":"image_30102025_20_34_53_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/26/36399cb2b29527e8b450896b253ba30b.jpg","text":"TemporaryFile(/tmp/multipartBody740043706777801095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189043641,"filename":"image_30102025_20_35_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/26/74f26c5f327287c1d8ca14e51febe7ff.jpg","text":"TemporaryFile(/tmp/multipartBody2298908886655237452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189043641,"filename":"image_30102025_20_34_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/26/938c6833d3ff81065a5e78e7c7af891a.jpg","text":"TemporaryFile(/tmp/multipartBody2230457611431122405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189043641,"filename":"image_30102025_20_34_56_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396295892","file1":"1396295891","file0":"1396295889","file4":"1396295905","file5":"1396295907","file3":"1396295902"},"map_files_photo_id_array":[{"photo_id":"1396295907","filename":"file5"},{"photo_id":"1396295892","filename":"file2"},{"photo_id":"1396295905","filename":"file4"},{"photo_id":"1396295891","filename":"file1"},{"photo_id":"1396295889","filename":"file0"},{"photo_id":"1396295902","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396295905":["hashtag1","hashtag2"]},{"1396295889":["hashtag1","hashtag2"]},{"1396295892":["hashtag1","hashtag2"]},{"1396295907":["hashtag1","hashtag2"]},{"1396295891":["hashtag1","hashtag2"]},{"1396295902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396295905, 1396295889, 1396295892, 1396295907, 1396295891, 1396295902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.44891285896301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:31:03.184655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/39/image_26112025_18_40_04_9603.jpg', '/home/pi/Desktop/images/26112025/18/40/image_26112025_18_40_15_10816.jpg', '/home/pi/Desktop/images/26112025/18/40/image_26112025_18_40_25_10121.jpg', '/home/pi/Desktop/images/26112025/18/40/image_26112025_18_40_35_9799.jpg', '/home/pi/Desktop/images/26112025/18/40/image_26112025_18_40_44_9690.jpg', '/home/pi/Desktop/images/26112025/18/40/image_26112025_18_40_54_9559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/39/image_26112025_18_40_04_9603.jpg
/home/pi/Desktop/images/26112025/18/40/image_26112025_18_40_15_10816.jpg
/home/pi/Desktop/images/26112025/18/40/image_26112025_18_40_25_10121.jpg
/home/pi/Desktop/images/26112025/18/40/image_26112025_18_40_35_9799.jpg
/home/pi/Desktop/images/26112025/18/40/image_26112025_18_40_44_9690.jpg
/home/pi/Desktop/images/26112025/18/40/image_26112025_18_40_54_9559.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":["1396295926","1396295931","1396295928","1396295922","1396295936","1396295912"],"photo_ids_order":["1396295912","1396295922","1396295926","1396295928","1396295931","1396295936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/347fbdb42be022d1c6073765383877e6.jpg","text":"TemporaryFile(/tmp/multipartBody7109035782925342443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189124040,"filename":"image_26112025_18_40_25_10121.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/525be4359e7652a21946cd5dfce15bab.jpg","text":"TemporaryFile(/tmp/multipartBody8117381913425913770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189124040,"filename":"image_26112025_18_40_44_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c64809b6660de7f7f2db606eed0b9b1b.jpg","text":"TemporaryFile(/tmp/multipartBody9122347313962943818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189124040,"filename":"image_26112025_18_40_35_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/16fc299c75552aa0fb973331d9d66db6.jpg","text":"TemporaryFile(/tmp/multipartBody8391271350320040041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189124040,"filename":"image_26112025_18_40_15_10816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d1c3feddf801c61c7fa025d7dc8a49b5.jpg","text":"TemporaryFile(/tmp/multipartBody5224212497022847961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189124040,"filename":"image_26112025_18_40_54_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7a353b0499222dcde4caf1da1fe8e995.jpg","text":"TemporaryFile(/tmp/multipartBody4230006559159676148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189124040,"filename":"image_26112025_18_40_04_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396295926","file1":"1396295922","file0":"1396295912","file4":"1396295931","file5":"1396295936","file3":"1396295928"},"map_files_photo_id_array":[{"photo_id":"1396295936","filename":"file5"},{"photo_id":"1396295926","filename":"file2"},{"photo_id":"1396295931","filename":"file4"},{"photo_id":"1396295922","filename":"file1"},{"photo_id":"1396295912","filename":"file0"},{"photo_id":"1396295928","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396295926":["hashtag1","hashtag2"]},{"1396295931":["hashtag1","hashtag2"]},{"1396295928":["hashtag1","hashtag2"]},{"1396295922":["hashtag1","hashtag2"]},{"1396295936":["hashtag1","hashtag2"]},{"1396295912":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396295926, 1396295931, 1396295928, 1396295922, 1396295936, 1396295912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60563397407532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 21:31:42.598151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_11_3625.jpg', '/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_14_2653.jpg', '/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_17_3567.jpg', '/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_20_2622.jpg', '/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_26_3626.jpg', '/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_31_2557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_11_3625.jpg
/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_14_2653.jpg
/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_17_3567.jpg
/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_20_2622.jpg
/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_26_3626.jpg
/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_31_2557.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":["1396295946","1396295948","1396295942","1396295945","1396295947","1396295944"],"photo_ids_order":["1396295942","1396295944","1396295945","1396295946","1396295947","1396295948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ca9ede0591d2b77ae19fe4f5e048e6ab.jpg","text":"TemporaryFile(/tmp/multipartBody7597040192980157987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189164110,"filename":"image_30102025_20_35_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/26/0ab4c5b104a8359bfb1b26f21db453be.jpg","text":"TemporaryFile(/tmp/multipartBody4146639003824524773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189164110,"filename":"image_30102025_20_35_31_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/26/979934b7b88b98eb961e4eeeb6d1a3c7.jpg","text":"TemporaryFile(/tmp/multipartBody318646576552066867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189164110,"filename":"image_30102025_20_35_11_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/26/65597e39119d98c34e38fa5e065de759.jpg","text":"TemporaryFile(/tmp/multipartBody7548464904584530814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189164110,"filename":"image_30102025_20_35_17_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/26/2628c218ca3cb25a5379e0c98effa1c1.jpg","text":"TemporaryFile(/tmp/multipartBody6178394878103033197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189164110,"filename":"image_30102025_20_35_26_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/26/2c11611ee5ed468071291e948597ac93.jpg","text":"TemporaryFile(/tmp/multipartBody551757523360489113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189164110,"filename":"image_30102025_20_35_14_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396295945","file1":"1396295944","file0":"1396295942","file4":"1396295947","file5":"1396295948","file3":"1396295946"},"map_files_photo_id_array":[{"photo_id":"1396295948","filename":"file5"},{"photo_id":"1396295945","filename":"file2"},{"photo_id":"1396295947","filename":"file4"},{"photo_id":"1396295944","filename":"file1"},{"photo_id":"1396295942","filename":"file0"},{"photo_id":"1396295946","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396295946":["hashtag1","hashtag2"]},{"1396295948":["hashtag1","hashtag2"]},{"1396295942":["hashtag1","hashtag2"]},{"1396295945":["hashtag1","hashtag2"]},{"1396295947":["hashtag1","hashtag2"]},{"1396295944":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396295946, 1396295948, 1396295942, 1396295945, 1396295947, 1396295944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31651830673218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 21:32:22.774625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/41/image_26112025_18_41_05_10809.jpg', '/home/pi/Desktop/images/26112025/18/41/image_26112025_18_41_14_9726.jpg', '/home/pi/Desktop/images/26112025/18/41/image_26112025_18_41_24_9626.jpg', '/home/pi/Desktop/images/26112025/18/41/image_26112025_18_41_35_10663.jpg', '/home/pi/Desktop/images/26112025/18/41/image_26112025_18_41_45_9763.jpg', '/home/pi/Desktop/images/26112025/18/41/image_26112025_18_41_54_9873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/41/image_26112025_18_41_05_10809.jpg
/home/pi/Desktop/images/26112025/18/41/image_26112025_18_41_14_9726.jpg
/home/pi/Desktop/images/26112025/18/41/image_26112025_18_41_24_9626.jpg
/home/pi/Desktop/images/26112025/18/41/image_26112025_18_41_35_10663.jpg
/home/pi/Desktop/images/26112025/18/41/image_26112025_18_41_45_9763.jpg
/home/pi/Desktop/images/26112025/18/41/image_26112025_18_41_54_9873.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":["1396295961","1396295963","1396295959","1396295974","1396295968","1396295956"],"photo_ids_order":["1396295956","1396295959","1396295961","1396295963","1396295968","1396295974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b7bbf65cdf97cf0015129812c1ec1b1c.jpg","text":"TemporaryFile(/tmp/multipartBody468075564349746014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189203496,"filename":"image_26112025_18_41_24_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/45aad651b6cbece75f677a74cb9d17e7.jpg","text":"TemporaryFile(/tmp/multipartBody7916105100519618974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189203496,"filename":"image_26112025_18_41_35_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/197e6945291b1fdde5abb4193977f04e.jpg","text":"TemporaryFile(/tmp/multipartBody5695084834257793339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189203496,"filename":"image_26112025_18_41_14_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c5dcebfc70ff8b828d0c7678a198e51b.jpg","text":"TemporaryFile(/tmp/multipartBody2421751528607170033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189203496,"filename":"image_26112025_18_41_54_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a9c7308829b93d3f839a286135f8d9f8.jpg","text":"TemporaryFile(/tmp/multipartBody6085974597597844851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189203496,"filename":"image_26112025_18_41_45_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9e073329a3761a1fc1ed7ae4733bffa7.jpg","text":"TemporaryFile(/tmp/multipartBody1651586933284185832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189203496,"filename":"image_26112025_18_41_05_10809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396295961","file1":"1396295959","file0":"1396295956","file4":"1396295968","file5":"1396295974","file3":"1396295963"},"map_files_photo_id_array":[{"photo_id":"1396295974","filename":"file5"},{"photo_id":"1396295961","filename":"file2"},{"photo_id":"1396295968","filename":"file4"},{"photo_id":"1396295959","filename":"file1"},{"photo_id":"1396295956","filename":"file0"},{"photo_id":"1396295963","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396295961":["hashtag1","hashtag2"]},{"1396295963":["hashtag1","hashtag2"]},{"1396295959":["hashtag1","hashtag2"]},{"1396295974":["hashtag1","hashtag2"]},{"1396295968":["hashtag1","hashtag2"]},{"1396295956":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396295961, 1396295963, 1396295959, 1396295974, 1396295968, 1396295956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46185278892517 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:33:02.765591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/41/image_26112025_18_42_04_9696.jpg', '/home/pi/Desktop/images/26112025/18/42/image_26112025_18_42_15_10661.jpg', '/home/pi/Desktop/images/26112025/18/42/image_26112025_18_42_24_9660.jpg', '/home/pi/Desktop/images/26112025/18/42/image_26112025_18_42_34_9583.jpg', '/home/pi/Desktop/images/26112025/18/42/image_26112025_18_42_45_10808.jpg', '/home/pi/Desktop/images/26112025/18/42/image_26112025_18_42_54_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/41/image_26112025_18_42_04_9696.jpg
/home/pi/Desktop/images/26112025/18/42/image_26112025_18_42_15_10661.jpg
/home/pi/Desktop/images/26112025/18/42/image_26112025_18_42_24_9660.jpg
/home/pi/Desktop/images/26112025/18/42/image_26112025_18_42_34_9583.jpg
/home/pi/Desktop/images/26112025/18/42/image_26112025_18_42_45_10808.jpg
/home/pi/Desktop/images/26112025/18/42/image_26112025_18_42_54_9654.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":["1396295988","1396295999","1396295990","1396295995","1396295992","1396295986"],"photo_ids_order":["1396295986","1396295988","1396295990","1396295992","1396295995","1396295999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f82d8074c876a676088fc1027775200e.jpg","text":"TemporaryFile(/tmp/multipartBody1057871264659378898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189243576,"filename":"image_26112025_18_42_15_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9e2e219b6017916ea60a31938df2ea7b.jpg","text":"TemporaryFile(/tmp/multipartBody600408428232153307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189243576,"filename":"image_26112025_18_42_54_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4db8744c7a0c533a9e4417ab71433370.jpg","text":"TemporaryFile(/tmp/multipartBody3899104670987373430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189243576,"filename":"image_26112025_18_42_24_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/868ce76911e9a5e2cb1701f9f0d607bc.jpg","text":"TemporaryFile(/tmp/multipartBody1698361700839501140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189243576,"filename":"image_26112025_18_42_45_10808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bde7d38a9b3af19545ab898ddbf8786f.jpg","text":"TemporaryFile(/tmp/multipartBody6490485726963543273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189243576,"filename":"image_26112025_18_42_34_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1c76a32a81c81d4a3470e264e5095f76.jpg","text":"TemporaryFile(/tmp/multipartBody732199300855229653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189243576,"filename":"image_26112025_18_42_04_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396295990","file1":"1396295988","file0":"1396295986","file4":"1396295995","file5":"1396295999","file3":"1396295992"},"map_files_photo_id_array":[{"photo_id":"1396295999","filename":"file5"},{"photo_id":"1396295990","filename":"file2"},{"photo_id":"1396295995","filename":"file4"},{"photo_id":"1396295988","filename":"file1"},{"photo_id":"1396295986","filename":"file0"},{"photo_id":"1396295992","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396295988":["hashtag1","hashtag2"]},{"1396295999":["hashtag1","hashtag2"]},{"1396295990":["hashtag1","hashtag2"]},{"1396295995":["hashtag1","hashtag2"]},{"1396295992":["hashtag1","hashtag2"]},{"1396295986":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396295988, 1396295999, 1396295990, 1396295995, 1396295992, 1396295986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.794193267822266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 21:33:42.107786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_35_3799.jpg', '/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_38_2741.jpg', '/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_44_3090.jpg', '/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_47_3033.jpg', '/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_49_2740.jpg', '/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_56_3686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_35_3799.jpg
/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_38_2741.jpg
/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_44_3090.jpg
/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_47_3033.jpg
/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_49_2740.jpg
/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_56_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":["1396296012","1396296006","1396296009","1396296011","1396296008","1396296010"],"photo_ids_order":["1396296006","1396296008","1396296009","1396296010","1396296011","1396296012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6996de03cebdd8e05ef112051fbb1b89.jpg","text":"TemporaryFile(/tmp/multipartBody1363997539524395224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189283606,"filename":"image_30102025_20_35_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/26/9a4f62f9a11370742c4dd9d4b41ae5a8.jpg","text":"TemporaryFile(/tmp/multipartBody7752011652444007447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189283606,"filename":"image_30102025_20_35_35_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/26/f992d1afbe724b05e32edc569223008f.jpg","text":"TemporaryFile(/tmp/multipartBody4108965309714209010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189283606,"filename":"image_30102025_20_35_44_3090.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1a532069d85223852167e050a2e98731.jpg","text":"TemporaryFile(/tmp/multipartBody2361430429527030653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189283606,"filename":"image_30102025_20_35_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/26/58af337464a7fdd5d7dbffac12abbef2.jpg","text":"TemporaryFile(/tmp/multipartBody341504510365079049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189283606,"filename":"image_30102025_20_35_38_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/26/3edb7feaae0537c8786f525c75f40a8e.jpg","text":"TemporaryFile(/tmp/multipartBody8179161336362885558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189283606,"filename":"image_30102025_20_35_47_3033.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396296009","file1":"1396296008","file0":"1396296006","file4":"1396296011","file5":"1396296012","file3":"1396296010"},"map_files_photo_id_array":[{"photo_id":"1396296012","filename":"file5"},{"photo_id":"1396296009","filename":"file2"},{"photo_id":"1396296011","filename":"file4"},{"photo_id":"1396296008","filename":"file1"},{"photo_id":"1396296006","filename":"file0"},{"photo_id":"1396296010","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396296012":["hashtag1","hashtag2"]},{"1396296006":["hashtag1","hashtag2"]},{"1396296009":["hashtag1","hashtag2"]},{"1396296011":["hashtag1","hashtag2"]},{"1396296008":["hashtag1","hashtag2"]},{"1396296010":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396296012, 1396296006, 1396296009, 1396296011, 1396296008, 1396296010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04340887069702 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 21:34:22.302836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/42/image_26112025_18_43_04_9627.jpg', '/home/pi/Desktop/images/26112025/18/43/image_26112025_18_43_15_10614.jpg', '/home/pi/Desktop/images/26112025/18/43/image_26112025_18_43_24_9749.jpg', '/home/pi/Desktop/images/26112025/18/43/image_26112025_18_43_34_9622.jpg', '/home/pi/Desktop/images/26112025/18/43/image_26112025_18_43_45_10749.jpg', '/home/pi/Desktop/images/26112025/18/43/image_26112025_18_43_54_9537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/42/image_26112025_18_43_04_9627.jpg
/home/pi/Desktop/images/26112025/18/43/image_26112025_18_43_15_10614.jpg
/home/pi/Desktop/images/26112025/18/43/image_26112025_18_43_24_9749.jpg
/home/pi/Desktop/images/26112025/18/43/image_26112025_18_43_34_9622.jpg
/home/pi/Desktop/images/26112025/18/43/image_26112025_18_43_45_10749.jpg
/home/pi/Desktop/images/26112025/18/43/image_26112025_18_43_54_9537.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":["1396296030","1396296018","1396296046","1396296040","1396296022","1396296025"],"photo_ids_order":["1396296018","1396296022","1396296025","1396296030","1396296040","1396296046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e555b39de591d13ab73127972d04a300.jpg","text":"TemporaryFile(/tmp/multipartBody5452200623431235225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189323069,"filename":"image_26112025_18_43_34_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/944cbf9447e3c2a4335c62f58c6c2079.jpg","text":"TemporaryFile(/tmp/multipartBody1314970487323610877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189323069,"filename":"image_26112025_18_43_04_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b006a811a3bf998018103876292ba49a.jpg","text":"TemporaryFile(/tmp/multipartBody1792598993009595311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189323069,"filename":"image_26112025_18_43_54_9537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4c9be039ad241342994bd8a6458db5fb.jpg","text":"TemporaryFile(/tmp/multipartBody2337110785892968150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189323069,"filename":"image_26112025_18_43_45_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f26637c25f9765fd06be29c2a3766ff1.jpg","text":"TemporaryFile(/tmp/multipartBody641588100167115356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189323069,"filename":"image_26112025_18_43_15_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a5ce495af9a9cfbc2ec48e5af040d633.jpg","text":"TemporaryFile(/tmp/multipartBody6413978231517941876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189323069,"filename":"image_26112025_18_43_24_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396296025","file1":"1396296022","file0":"1396296018","file4":"1396296040","file5":"1396296046","file3":"1396296030"},"map_files_photo_id_array":[{"photo_id":"1396296046","filename":"file5"},{"photo_id":"1396296025","filename":"file2"},{"photo_id":"1396296040","filename":"file4"},{"photo_id":"1396296022","filename":"file1"},{"photo_id":"1396296018","filename":"file0"},{"photo_id":"1396296030","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396296030":["hashtag1","hashtag2"]},{"1396296018":["hashtag1","hashtag2"]},{"1396296046":["hashtag1","hashtag2"]},{"1396296040":["hashtag1","hashtag2"]},{"1396296022":["hashtag1","hashtag2"]},{"1396296025":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396296030, 1396296018, 1396296046, 1396296040, 1396296022, 1396296025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94532561302185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:35:03.111102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/43/image_26112025_18_44_04_9811.jpg', '/home/pi/Desktop/images/26112025/18/44/image_26112025_18_44_15_10692.jpg', '/home/pi/Desktop/images/26112025/18/44/image_26112025_18_44_25_9664.jpg', '/home/pi/Desktop/images/26112025/18/44/image_26112025_18_44_34_9625.jpg', '/home/pi/Desktop/images/26112025/18/44/image_26112025_18_44_44_9762.jpg', '/home/pi/Desktop/images/26112025/18/44/image_26112025_18_44_55_10761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/43/image_26112025_18_44_04_9811.jpg
/home/pi/Desktop/images/26112025/18/44/image_26112025_18_44_15_10692.jpg
/home/pi/Desktop/images/26112025/18/44/image_26112025_18_44_25_9664.jpg
/home/pi/Desktop/images/26112025/18/44/image_26112025_18_44_34_9625.jpg
/home/pi/Desktop/images/26112025/18/44/image_26112025_18_44_44_9762.jpg
/home/pi/Desktop/images/26112025/18/44/image_26112025_18_44_55_10761.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":["1396296054","1396296053","1396296056","1396296050","1396296052","1396296060"],"photo_ids_order":["1396296050","1396296052","1396296053","1396296054","1396296056","1396296060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6924f7377502263a9cbaab1dd99f00ea.jpg","text":"TemporaryFile(/tmp/multipartBody1481096217258426382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189363985,"filename":"image_26112025_18_44_34_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/84cafb7f973c2498f1c0c99697ddc749.jpg","text":"TemporaryFile(/tmp/multipartBody4322136814797915388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189363985,"filename":"image_26112025_18_44_25_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/33017a24d4339fcf5aeaf76855b42edc.jpg","text":"TemporaryFile(/tmp/multipartBody6944653446283908258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189363985,"filename":"image_26112025_18_44_44_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/25ca367d67c57089daf0539e27d1a60c.jpg","text":"TemporaryFile(/tmp/multipartBody5571954874776838687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189363985,"filename":"image_26112025_18_44_04_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/57a0aa9b0ab0e0c84e343e4e74ef13ee.jpg","text":"TemporaryFile(/tmp/multipartBody2174810996963563542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189363985,"filename":"image_26112025_18_44_15_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0fefffd713bbbb1f5bd7dead8f3e53a2.jpg","text":"TemporaryFile(/tmp/multipartBody370602898726044049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189363985,"filename":"image_26112025_18_44_55_10761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396296053","file1":"1396296052","file0":"1396296050","file4":"1396296056","file5":"1396296060","file3":"1396296054"},"map_files_photo_id_array":[{"photo_id":"1396296060","filename":"file5"},{"photo_id":"1396296053","filename":"file2"},{"photo_id":"1396296056","filename":"file4"},{"photo_id":"1396296052","filename":"file1"},{"photo_id":"1396296050","filename":"file0"},{"photo_id":"1396296054","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396296054":["hashtag1","hashtag2"]},{"1396296053":["hashtag1","hashtag2"]},{"1396296056":["hashtag1","hashtag2"]},{"1396296050":["hashtag1","hashtag2"]},{"1396296052":["hashtag1","hashtag2"]},{"1396296060":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396296054, 1396296053, 1396296056, 1396296050, 1396296052, 1396296060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98813509941101 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 21:35:42.522188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_59_2794.jpg', '/home/pi/Desktop/images/30102025/20/36/image_30102025_20_36_08_3690.jpg', '/home/pi/Desktop/images/30102025/20/36/image_30102025_20_36_13_2794.jpg', '/home/pi/Desktop/images/30102025/20/36/image_30102025_20_36_16_2984.jpg', '/home/pi/Desktop/images/30102025/20/36/image_30102025_20_36_20_3776.jpg', '/home/pi/Desktop/images/30102025/20/36/image_30102025_20_36_25_2763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/35/image_30102025_20_35_59_2794.jpg
/home/pi/Desktop/images/30102025/20/36/image_30102025_20_36_08_3690.jpg
/home/pi/Desktop/images/30102025/20/36/image_30102025_20_36_13_2794.jpg
/home/pi/Desktop/images/30102025/20/36/image_30102025_20_36_16_2984.jpg
/home/pi/Desktop/images/30102025/20/36/image_30102025_20_36_20_3776.jpg
/home/pi/Desktop/images/30102025/20/36/image_30102025_20_36_25_2763.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":["1396296084","1396296083","1396296080","1396296082","1396296081","1396296069"],"photo_ids_order":["1396296069","1396296080","1396296081","1396296082","1396296083","1396296084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bf7c66e817e08e9827024f88bba2f9d0.jpg","text":"TemporaryFile(/tmp/multipartBody8972513386427756185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189403980,"filename":"image_30102025_20_36_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/26/b792c4453386c9aaa761c6b057b1f824.jpg","text":"TemporaryFile(/tmp/multipartBody7723822743301666942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189403980,"filename":"image_30102025_20_36_20_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/26/ec3278baf0296530a5e4d31c9bcf0cb4.jpg","text":"TemporaryFile(/tmp/multipartBody4159614002904278830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189403980,"filename":"image_30102025_20_36_08_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/26/b40e14242472d8660de3c5895e9e2b01.jpg","text":"TemporaryFile(/tmp/multipartBody3293492435324164853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189403980,"filename":"image_30102025_20_36_16_2984.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1fa2e7e5cd06227b4b8a5731571a2cfb.jpg","text":"TemporaryFile(/tmp/multipartBody3279110709770271799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189403980,"filename":"image_30102025_20_36_13_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/26/9732cfe305fe0b5232845d0eb8824bfb.jpg","text":"TemporaryFile(/tmp/multipartBody2130515838510743739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189403980,"filename":"image_30102025_20_35_59_2794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396296081","file1":"1396296080","file0":"1396296069","file4":"1396296083","file5":"1396296084","file3":"1396296082"},"map_files_photo_id_array":[{"photo_id":"1396296084","filename":"file5"},{"photo_id":"1396296081","filename":"file2"},{"photo_id":"1396296083","filename":"file4"},{"photo_id":"1396296080","filename":"file1"},{"photo_id":"1396296069","filename":"file0"},{"photo_id":"1396296082","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396296084":["hashtag1","hashtag2"]},{"1396296083":["hashtag1","hashtag2"]},{"1396296080":["hashtag1","hashtag2"]},{"1396296082":["hashtag1","hashtag2"]},{"1396296081":["hashtag1","hashtag2"]},{"1396296069":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396296084, 1396296083, 1396296080, 1396296082, 1396296081, 1396296069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61685299873352 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 21:36:22.688448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/44/image_26112025_18_45_04_9726.jpg', '/home/pi/Desktop/images/26112025/18/45/image_26112025_18_45_14_9723.jpg', '/home/pi/Desktop/images/26112025/18/45/image_26112025_18_45_25_10772.jpg', '/home/pi/Desktop/images/26112025/18/45/image_26112025_18_45_35_9695.jpg', '/home/pi/Desktop/images/26112025/18/45/image_26112025_18_45_52_17047.jpg', '/home/pi/Desktop/images/26112025/18/45/image_26112025_18_45_54_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/44/image_26112025_18_45_04_9726.jpg
/home/pi/Desktop/images/26112025/18/45/image_26112025_18_45_14_9723.jpg
/home/pi/Desktop/images/26112025/18/45/image_26112025_18_45_25_10772.jpg
/home/pi/Desktop/images/26112025/18/45/image_26112025_18_45_35_9695.jpg
/home/pi/Desktop/images/26112025/18/45/image_26112025_18_45_52_17047.jpg
/home/pi/Desktop/images/26112025/18/45/image_26112025_18_45_54_2610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396296126","1396296129","1396296122","1396296116","1396296119","1396296124"],"photo_ids_order":["1396296116","1396296119","1396296122","1396296124","1396296126","1396296129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5d6adbf62a77ed86d0d77d81e196bc55.jpg","text":"TemporaryFile(/tmp/multipartBody1512723249079978449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189443393,"filename":"image_26112025_18_45_52_17047.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/77fcc031d8823e2d2aca47cad41c8843.jpg","text":"TemporaryFile(/tmp/multipartBody4327831533870739874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189443393,"filename":"image_26112025_18_45_54_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/26/aedb3c71413e2efa8faf58cea9645108.jpg","text":"TemporaryFile(/tmp/multipartBody7028838406886720956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189443393,"filename":"image_26112025_18_45_25_10772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/919d0e938f4f6fb99f2fc60d9858e1b9.jpg","text":"TemporaryFile(/tmp/multipartBody8830873199087692385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189443393,"filename":"image_26112025_18_45_04_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e9c0df3586402a6787c3e5042158d9d0.jpg","text":"TemporaryFile(/tmp/multipartBody1581540589337423783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189443393,"filename":"image_26112025_18_45_14_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f0289f52737a28562e7f7fa717f63578.jpg","text":"TemporaryFile(/tmp/multipartBody7641305828543092119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189443393,"filename":"image_26112025_18_45_35_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396296122","file1":"1396296119","file0":"1396296116","file4":"1396296126","file5":"1396296129","file3":"1396296124"},"map_files_photo_id_array":[{"photo_id":"1396296129","filename":"file5"},{"photo_id":"1396296122","filename":"file2"},{"photo_id":"1396296126","filename":"file4"},{"photo_id":"1396296119","filename":"file1"},{"photo_id":"1396296116","filename":"file0"},{"photo_id":"1396296124","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396296126":["hashtag1","hashtag2"]},{"1396296129":["hashtag1","hashtag2"]},{"1396296122":["hashtag1","hashtag2"]},{"1396296116":["hashtag1","hashtag2"]},{"1396296119":["hashtag1","hashtag2"]},{"1396296124":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396296126, 1396296129, 1396296122, 1396296116, 1396296119, 1396296124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55755114555359 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:37:02.593049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/45/image_26112025_18_46_05_10583.jpg', '/home/pi/Desktop/images/26112025/18/46/image_26112025_18_46_14_9552.jpg', '/home/pi/Desktop/images/26112025/18/46/image_26112025_18_46_24_9593.jpg', '/home/pi/Desktop/images/26112025/18/46/image_26112025_18_46_35_10643.jpg', '/home/pi/Desktop/images/26112025/18/46/image_26112025_18_46_44_9789.jpg', '/home/pi/Desktop/images/26112025/18/46/image_26112025_18_46_54_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/45/image_26112025_18_46_05_10583.jpg
/home/pi/Desktop/images/26112025/18/46/image_26112025_18_46_14_9552.jpg
/home/pi/Desktop/images/26112025/18/46/image_26112025_18_46_24_9593.jpg
/home/pi/Desktop/images/26112025/18/46/image_26112025_18_46_35_10643.jpg
/home/pi/Desktop/images/26112025/18/46/image_26112025_18_46_44_9789.jpg
/home/pi/Desktop/images/26112025/18/46/image_26112025_18_46_54_9751.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":["1396296132","1396296134","1396296139","1396296130","1396296133","1396296136"],"photo_ids_order":["1396296130","1396296132","1396296133","1396296134","1396296136","1396296139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bae974c34cd3ead564be410f3b673786.jpg","text":"TemporaryFile(/tmp/multipartBody52474781764872647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189483353,"filename":"image_26112025_18_46_14_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5a6b25e75b7b9ee3afac7da74fb4ae5f.jpg","text":"TemporaryFile(/tmp/multipartBody2844170855979310800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189483353,"filename":"image_26112025_18_46_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4ba3a13901a078bb848b179e9f2ed0f5.jpg","text":"TemporaryFile(/tmp/multipartBody448586798323916488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189483353,"filename":"image_26112025_18_46_54_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/850829fe044736c2db74b441b1c39fab.jpg","text":"TemporaryFile(/tmp/multipartBody4707109702518134991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189483353,"filename":"image_26112025_18_46_05_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ac25786633d781e40776a10d96e26abb.jpg","text":"TemporaryFile(/tmp/multipartBody7446465130148787095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189483353,"filename":"image_26112025_18_46_24_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/11b0d7fd02b16536d76bb0886baff3df.jpg","text":"TemporaryFile(/tmp/multipartBody8724955814484472159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189483353,"filename":"image_26112025_18_46_44_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396296133","file1":"1396296132","file0":"1396296130","file4":"1396296136","file5":"1396296139","file3":"1396296134"},"map_files_photo_id_array":[{"photo_id":"1396296139","filename":"file5"},{"photo_id":"1396296133","filename":"file2"},{"photo_id":"1396296136","filename":"file4"},{"photo_id":"1396296132","filename":"file1"},{"photo_id":"1396296130","filename":"file0"},{"photo_id":"1396296134","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396296132":["hashtag1","hashtag2"]},{"1396296134":["hashtag1","hashtag2"]},{"1396296139":["hashtag1","hashtag2"]},{"1396296130":["hashtag1","hashtag2"]},{"1396296133":["hashtag1","hashtag2"]},{"1396296136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396296132, 1396296134, 1396296139, 1396296130, 1396296133, 1396296136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04424691200256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 21:37:41.830296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/36/image_30102025_20_36_35_2867.jpg', '/home/pi/Desktop/images/30102025/20/36/image_30102025_20_36_37_2692.jpg', '/home/pi/Desktop/images/30102025/20/36/image_30102025_20_36_41_3606.jpg', '/home/pi/Desktop/images/30102025/20/36/image_30102025_20_36_46_2698.jpg', '/home/pi/Desktop/images/30102025/20/36/image_30102025_20_36_50_3672.jpg', '/home/pi/Desktop/images/30102025/20/36/image_30102025_20_36_53_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/36/image_30102025_20_36_35_2867.jpg
/home/pi/Desktop/images/30102025/20/36/image_30102025_20_36_37_2692.jpg
/home/pi/Desktop/images/30102025/20/36/image_30102025_20_36_41_3606.jpg
/home/pi/Desktop/images/30102025/20/36/image_30102025_20_36_46_2698.jpg
/home/pi/Desktop/images/30102025/20/36/image_30102025_20_36_50_3672.jpg
/home/pi/Desktop/images/30102025/20/36/image_30102025_20_36_53_2578.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":["1396296153","1396296147","1396296155","1396296145","1396296154","1396296148"],"photo_ids_order":["1396296145","1396296147","1396296148","1396296153","1396296154","1396296155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/560d86cd3e10eecb6e92e18102cc09de.jpg","text":"TemporaryFile(/tmp/multipartBody5896399904708417080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189523318,"filename":"image_30102025_20_36_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/26/d2716e7091bb2a71949313aa1ea285ca.jpg","text":"TemporaryFile(/tmp/multipartBody6293084326358762839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189523318,"filename":"image_30102025_20_36_37_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/26/e4d9512396276935e6dfb152b6555def.jpg","text":"TemporaryFile(/tmp/multipartBody7849198192167241410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189523318,"filename":"image_30102025_20_36_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/26/6537ed147c12a16abeabb63a8d1f9595.jpg","text":"TemporaryFile(/tmp/multipartBody9110601025187258007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189523318,"filename":"image_30102025_20_36_35_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/26/817d783de9493289a49af608e0222310.jpg","text":"TemporaryFile(/tmp/multipartBody2744847029115485092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189523318,"filename":"image_30102025_20_36_50_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/26/a47ae09b726646aa5af85f574f57ff24.jpg","text":"TemporaryFile(/tmp/multipartBody6596596331706932032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189523318,"filename":"image_30102025_20_36_41_3606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396296148","file1":"1396296147","file0":"1396296145","file4":"1396296154","file5":"1396296155","file3":"1396296153"},"map_files_photo_id_array":[{"photo_id":"1396296155","filename":"file5"},{"photo_id":"1396296148","filename":"file2"},{"photo_id":"1396296154","filename":"file4"},{"photo_id":"1396296147","filename":"file1"},{"photo_id":"1396296145","filename":"file0"},{"photo_id":"1396296153","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396296153":["hashtag1","hashtag2"]},{"1396296147":["hashtag1","hashtag2"]},{"1396296155":["hashtag1","hashtag2"]},{"1396296145":["hashtag1","hashtag2"]},{"1396296154":["hashtag1","hashtag2"]},{"1396296148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396296153, 1396296147, 1396296155, 1396296145, 1396296154, 1396296148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12289333343506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 21:38:22.023203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/47/image_26112025_18_47_15_9646.jpg', '/home/pi/Desktop/images/26112025/18/47/image_26112025_18_47_24_9728.jpg', '/home/pi/Desktop/images/26112025/18/47/image_26112025_18_47_45_9670.jpg', '/home/pi/Desktop/images/26112025/18/47/image_26112025_18_47_54_9607.jpg', '/home/pi/Desktop/images/26112025/18/47/image_26112025_18_48_05_10569.jpg', '/home/pi/Desktop/images/26112025/18/48/image_26112025_18_48_14_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/47/image_26112025_18_47_15_9646.jpg
/home/pi/Desktop/images/26112025/18/47/image_26112025_18_47_24_9728.jpg
/home/pi/Desktop/images/26112025/18/47/image_26112025_18_47_45_9670.jpg
/home/pi/Desktop/images/26112025/18/47/image_26112025_18_47_54_9607.jpg
/home/pi/Desktop/images/26112025/18/47/image_26112025_18_48_05_10569.jpg
/home/pi/Desktop/images/26112025/18/48/image_26112025_18_48_14_9681.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":["1396296162","1396296164","1396296167","1396296158","1396296169","1396296160"],"photo_ids_order":["1396296158","1396296160","1396296162","1396296164","1396296167","1396296169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0e17eb5c4392895e1e8a990fab7cae07.jpg","text":"TemporaryFile(/tmp/multipartBody7260570971855410196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189562711,"filename":"image_26112025_18_47_45_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/caf0db9bed52ced4482e48d35708de1e.jpg","text":"TemporaryFile(/tmp/multipartBody1242295291221523862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189562711,"filename":"image_26112025_18_47_54_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6638f44b789d294b6cb05670d932e022.jpg","text":"TemporaryFile(/tmp/multipartBody8193218924990344872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189562711,"filename":"image_26112025_18_48_05_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b181cf79e3db684e174df6f6ca05619b.jpg","text":"TemporaryFile(/tmp/multipartBody3533122056479515585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189562711,"filename":"image_26112025_18_47_15_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/91f339dced6d6102170d43b7c8586586.jpg","text":"TemporaryFile(/tmp/multipartBody7690717327280981965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189562711,"filename":"image_26112025_18_48_14_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/00bec592e84bcd6b6fc851b7ee11cff5.jpg","text":"TemporaryFile(/tmp/multipartBody6066801209440437755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189562711,"filename":"image_26112025_18_47_24_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396296162","file1":"1396296160","file0":"1396296158","file4":"1396296167","file5":"1396296169","file3":"1396296164"},"map_files_photo_id_array":[{"photo_id":"1396296169","filename":"file5"},{"photo_id":"1396296162","filename":"file2"},{"photo_id":"1396296167","filename":"file4"},{"photo_id":"1396296160","filename":"file1"},{"photo_id":"1396296158","filename":"file0"},{"photo_id":"1396296164","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396296162":["hashtag1","hashtag2"]},{"1396296164":["hashtag1","hashtag2"]},{"1396296167":["hashtag1","hashtag2"]},{"1396296158":["hashtag1","hashtag2"]},{"1396296169":["hashtag1","hashtag2"]},{"1396296160":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396296162, 1396296164, 1396296167, 1396296158, 1396296169, 1396296160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.145294189453125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:39:03.227787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/48/image_26112025_18_48_45_9724.jpg', '/home/pi/Desktop/images/26112025/18/48/image_26112025_18_48_55_10575.jpg', '/home/pi/Desktop/images/26112025/18/49/image_26112025_18_49_24_9672.jpg', '/home/pi/Desktop/images/26112025/18/49/image_26112025_18_49_35_10636.jpg', '/home/pi/Desktop/images/26112025/18/49/image_26112025_18_49_44_9646.jpg', '/home/pi/Desktop/images/26112025/18/49/image_26112025_18_50_05_10766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/48/image_26112025_18_48_45_9724.jpg
/home/pi/Desktop/images/26112025/18/48/image_26112025_18_48_55_10575.jpg
/home/pi/Desktop/images/26112025/18/49/image_26112025_18_49_24_9672.jpg
/home/pi/Desktop/images/26112025/18/49/image_26112025_18_49_35_10636.jpg
/home/pi/Desktop/images/26112025/18/49/image_26112025_18_49_44_9646.jpg
/home/pi/Desktop/images/26112025/18/49/image_26112025_18_50_05_10766.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":["1396296183","1396296182","1396296181","1396296184","1396296186","1396296189"],"photo_ids_order":["1396296181","1396296182","1396296183","1396296184","1396296186","1396296189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6462afb49f05ebeffd43c62637b50abd.jpg","text":"TemporaryFile(/tmp/multipartBody7098928274443843130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189604095,"filename":"image_26112025_18_49_24_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a8940420f634d9df6532d27cfbe95d11.jpg","text":"TemporaryFile(/tmp/multipartBody606833537132089281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189604095,"filename":"image_26112025_18_48_55_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bc8e89edf55ceca95c3e849b543e15ec.jpg","text":"TemporaryFile(/tmp/multipartBody4438890232287953531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189604095,"filename":"image_26112025_18_48_45_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/33f9e1ab8843627235d2e1b9bdf88b19.jpg","text":"TemporaryFile(/tmp/multipartBody7826261161243732348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189604095,"filename":"image_26112025_18_49_35_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e43bdf708e42d0bc53cb59ff206f5d50.jpg","text":"TemporaryFile(/tmp/multipartBody5366633397015702005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189604095,"filename":"image_26112025_18_49_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b539fe76c2d7aa4db71f5f4cd22c586e.jpg","text":"TemporaryFile(/tmp/multipartBody2846943775625658178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189604095,"filename":"image_26112025_18_50_05_10766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396296183","file1":"1396296182","file0":"1396296181","file4":"1396296186","file5":"1396296189","file3":"1396296184"},"map_files_photo_id_array":[{"photo_id":"1396296189","filename":"file5"},{"photo_id":"1396296183","filename":"file2"},{"photo_id":"1396296186","filename":"file4"},{"photo_id":"1396296182","filename":"file1"},{"photo_id":"1396296181","filename":"file0"},{"photo_id":"1396296184","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396296183":["hashtag1","hashtag2"]},{"1396296182":["hashtag1","hashtag2"]},{"1396296181":["hashtag1","hashtag2"]},{"1396296184":["hashtag1","hashtag2"]},{"1396296186":["hashtag1","hashtag2"]},{"1396296189":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396296183, 1396296182, 1396296181, 1396296184, 1396296186, 1396296189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.04685640335083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 21:39:42.277747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/37/image_30102025_20_37_04_2609.jpg', '/home/pi/Desktop/images/30102025/20/37/image_30102025_20_37_08_3789.jpg', '/home/pi/Desktop/images/30102025/20/37/image_30102025_20_37_17_3637.jpg', '/home/pi/Desktop/images/30102025/20/37/image_30102025_20_37_20_2596.jpg', '/home/pi/Desktop/images/30102025/20/37/image_30102025_20_37_22_2559.jpg', '/home/pi/Desktop/images/30102025/20/37/image_30102025_20_37_26_3847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/37/image_30102025_20_37_04_2609.jpg
/home/pi/Desktop/images/30102025/20/37/image_30102025_20_37_08_3789.jpg
/home/pi/Desktop/images/30102025/20/37/image_30102025_20_37_17_3637.jpg
/home/pi/Desktop/images/30102025/20/37/image_30102025_20_37_20_2596.jpg
/home/pi/Desktop/images/30102025/20/37/image_30102025_20_37_22_2559.jpg
/home/pi/Desktop/images/30102025/20/37/image_30102025_20_37_26_3847.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":["1396296255","1396296240","1396296197","1396296206","1396296256","1396296199"],"photo_ids_order":["1396296197","1396296199","1396296206","1396296240","1396296255","1396296256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5c63b48150fb90840ffa31ad1aca20e3.jpg","text":"TemporaryFile(/tmp/multipartBody2909897989090484185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189643783,"filename":"image_30102025_20_37_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/26/15c21b94aa19182570d1f3f8b7f7a535.jpg","text":"TemporaryFile(/tmp/multipartBody508561980545167354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189643783,"filename":"image_30102025_20_37_20_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/26/317048b646d0e561e17249ffc2ba6fee.jpg","text":"TemporaryFile(/tmp/multipartBody987290328922066173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189643783,"filename":"image_30102025_20_37_04_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eba5a93b604317b7e364ce0844ada9c6.jpg","text":"TemporaryFile(/tmp/multipartBody3564538089996993688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189643783,"filename":"image_30102025_20_37_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/26/9eb385e8f52bbaad2d97a335452f2532.jpg","text":"TemporaryFile(/tmp/multipartBody2705744941749892434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189643783,"filename":"image_30102025_20_37_26_3847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f067bb66adb66f8357e1725ab330d568.jpg","text":"TemporaryFile(/tmp/multipartBody2987134260305912386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189643783,"filename":"image_30102025_20_37_08_3789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396296206","file1":"1396296199","file0":"1396296197","file4":"1396296255","file5":"1396296256","file3":"1396296240"},"map_files_photo_id_array":[{"photo_id":"1396296256","filename":"file5"},{"photo_id":"1396296206","filename":"file2"},{"photo_id":"1396296255","filename":"file4"},{"photo_id":"1396296199","filename":"file1"},{"photo_id":"1396296197","filename":"file0"},{"photo_id":"1396296240","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396296255":["hashtag1","hashtag2"]},{"1396296240":["hashtag1","hashtag2"]},{"1396296197":["hashtag1","hashtag2"]},{"1396296206":["hashtag1","hashtag2"]},{"1396296256":["hashtag1","hashtag2"]},{"1396296199":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396296255, 1396296240, 1396296197, 1396296206, 1396296256, 1396296199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.782588481903076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 21:40:22.438740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/50/image_26112025_18_50_15_9848.jpg', '/home/pi/Desktop/images/26112025/18/50/image_26112025_18_50_24_9583.jpg', '/home/pi/Desktop/images/26112025/18/50/image_26112025_18_50_34_9830.jpg', '/home/pi/Desktop/images/26112025/18/50/image_26112025_18_50_54_9579.jpg', '/home/pi/Desktop/images/26112025/18/50/image_26112025_18_51_04_9600.jpg', '/home/pi/Desktop/images/26112025/18/51/image_26112025_18_51_25_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/50/image_26112025_18_50_15_9848.jpg
/home/pi/Desktop/images/26112025/18/50/image_26112025_18_50_24_9583.jpg
/home/pi/Desktop/images/26112025/18/50/image_26112025_18_50_34_9830.jpg
/home/pi/Desktop/images/26112025/18/50/image_26112025_18_50_54_9579.jpg
/home/pi/Desktop/images/26112025/18/50/image_26112025_18_51_04_9600.jpg
/home/pi/Desktop/images/26112025/18/51/image_26112025_18_51_25_9656.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":["1396296278","1396296263","1396296266","1396296275","1396296269","1396296280"],"photo_ids_order":["1396296263","1396296266","1396296269","1396296275","1396296278","1396296280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4f5990a4844d96020fefe99787fa7167.jpg","text":"TemporaryFile(/tmp/multipartBody4402684163513739033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189683143,"filename":"image_26112025_18_51_04_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2f4c3bf5ca00654df318d668b6b100c9.jpg","text":"TemporaryFile(/tmp/multipartBody5013005466451175283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189683143,"filename":"image_26112025_18_50_15_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7fff83d02f6212212ccbccbc3307a022.jpg","text":"TemporaryFile(/tmp/multipartBody5283113119195466971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189683143,"filename":"image_26112025_18_50_24_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/119bea7521a2048700c5ce074f54104d.jpg","text":"TemporaryFile(/tmp/multipartBody1635590563368523648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189683143,"filename":"image_26112025_18_50_54_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/423ec4304d7f02d0af651a2b95acff09.jpg","text":"TemporaryFile(/tmp/multipartBody6264439553511495087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189683143,"filename":"image_26112025_18_50_34_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/28935ed6890973bb3c26bef56d10e916.jpg","text":"TemporaryFile(/tmp/multipartBody1907788266799486614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189683143,"filename":"image_26112025_18_51_25_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396296269","file1":"1396296266","file0":"1396296263","file4":"1396296278","file5":"1396296280","file3":"1396296275"},"map_files_photo_id_array":[{"photo_id":"1396296280","filename":"file5"},{"photo_id":"1396296269","filename":"file2"},{"photo_id":"1396296278","filename":"file4"},{"photo_id":"1396296266","filename":"file1"},{"photo_id":"1396296263","filename":"file0"},{"photo_id":"1396296275","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396296278":["hashtag1","hashtag2"]},{"1396296263":["hashtag1","hashtag2"]},{"1396296266":["hashtag1","hashtag2"]},{"1396296275":["hashtag1","hashtag2"]},{"1396296269":["hashtag1","hashtag2"]},{"1396296280":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396296278, 1396296263, 1396296266, 1396296275, 1396296269, 1396296280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.650015354156494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:41:03.349897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/51/image_26112025_18_51_34_9806.jpg', '/home/pi/Desktop/images/26112025/18/51/image_26112025_18_51_45_10576.jpg', '/home/pi/Desktop/images/26112025/18/51/image_26112025_18_51_55_9888.jpg', '/home/pi/Desktop/images/26112025/18/51/image_26112025_18_52_04_9575.jpg', '/home/pi/Desktop/images/26112025/18/52/image_26112025_18_52_14_9656.jpg', '/home/pi/Desktop/images/26112025/18/52/image_26112025_18_52_34_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/51/image_26112025_18_51_34_9806.jpg
/home/pi/Desktop/images/26112025/18/51/image_26112025_18_51_45_10576.jpg
/home/pi/Desktop/images/26112025/18/51/image_26112025_18_51_55_9888.jpg
/home/pi/Desktop/images/26112025/18/51/image_26112025_18_52_04_9575.jpg
/home/pi/Desktop/images/26112025/18/52/image_26112025_18_52_14_9656.jpg
/home/pi/Desktop/images/26112025/18/52/image_26112025_18_52_34_9700.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":["1396296375","1396296369","1396296371","1396296373","1396296367","1396296379"],"photo_ids_order":["1396296367","1396296369","1396296371","1396296373","1396296375","1396296379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1caed6c8a923002fa9fa2451f0649f7d.jpg","text":"TemporaryFile(/tmp/multipartBody3955490881173662758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189724147,"filename":"image_26112025_18_52_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/65eb3ada2ee59c47f25ae4e73f452b3e.jpg","text":"TemporaryFile(/tmp/multipartBody6382932342105027005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189724147,"filename":"image_26112025_18_51_45_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1c09e8d91e01335701a31b2239949163.jpg","text":"TemporaryFile(/tmp/multipartBody3326505684832156620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189724147,"filename":"image_26112025_18_51_55_9888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8d37a5a2ccf3c960554a8cf8ffa5ee1b.jpg","text":"TemporaryFile(/tmp/multipartBody7603297221251521953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189724147,"filename":"image_26112025_18_52_04_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0bfd62c747430c066f34028941099a64.jpg","text":"TemporaryFile(/tmp/multipartBody3704700874103142010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189724147,"filename":"image_26112025_18_51_34_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/588444daf1ab3465a2e6322d55d58f25.jpg","text":"TemporaryFile(/tmp/multipartBody7693851542775215973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189724147,"filename":"image_26112025_18_52_34_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396296371","file1":"1396296369","file0":"1396296367","file4":"1396296375","file5":"1396296379","file3":"1396296373"},"map_files_photo_id_array":[{"photo_id":"1396296379","filename":"file5"},{"photo_id":"1396296371","filename":"file2"},{"photo_id":"1396296375","filename":"file4"},{"photo_id":"1396296369","filename":"file1"},{"photo_id":"1396296367","filename":"file0"},{"photo_id":"1396296373","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396296375":["hashtag1","hashtag2"]},{"1396296369":["hashtag1","hashtag2"]},{"1396296371":["hashtag1","hashtag2"]},{"1396296373":["hashtag1","hashtag2"]},{"1396296367":["hashtag1","hashtag2"]},{"1396296379":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396296375, 1396296369, 1396296371, 1396296373, 1396296367, 1396296379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45063829421997 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 21:41:42.674158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/37/image_30102025_20_37_35_3643.jpg', '/home/pi/Desktop/images/30102025/20/37/image_30102025_20_37_47_4011.jpg', '/home/pi/Desktop/images/30102025/20/37/image_30102025_20_37_53_5388.jpg', '/home/pi/Desktop/images/30102025/20/37/image_30102025_20_37_55_1949.jpg', '/home/pi/Desktop/images/30102025/20/37/image_30102025_20_37_56_1598.jpg', '/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_09_1811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/37/image_30102025_20_37_35_3643.jpg
/home/pi/Desktop/images/30102025/20/37/image_30102025_20_37_47_4011.jpg
/home/pi/Desktop/images/30102025/20/37/image_30102025_20_37_53_5388.jpg
/home/pi/Desktop/images/30102025/20/37/image_30102025_20_37_55_1949.jpg
/home/pi/Desktop/images/30102025/20/37/image_30102025_20_37_56_1598.jpg
/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_09_1811.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":["1396296398","1396296401","1396296400","1396296399","1396296403","1396296387"],"photo_ids_order":["1396296387","1396296398","1396296399","1396296400","1396296401","1396296403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f4d90266a775f2c90208080b09361b8c.jpg","text":"TemporaryFile(/tmp/multipartBody5463364589610437469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189764141,"filename":"image_30102025_20_37_47_4011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7df71e1bb4726b74d379a4b5064558c2.jpg","text":"TemporaryFile(/tmp/multipartBody7103351908673225029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189764141,"filename":"image_30102025_20_37_56_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/26/31f181b4ad88d45dfe429df0c09a40df.jpg","text":"TemporaryFile(/tmp/multipartBody2339359711904992955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189764141,"filename":"image_30102025_20_37_55_1949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1c68e9f7b51c9800645c5c3a5c4fd1c0.jpg","text":"TemporaryFile(/tmp/multipartBody5583649234088961066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189764141,"filename":"image_30102025_20_37_53_5388.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7204310cf9efb19399e2b3fb6ab4dbf6.jpg","text":"TemporaryFile(/tmp/multipartBody5324658258133626366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189764141,"filename":"image_30102025_20_38_09_1811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/37c8d351b9fdab1211db127681cb1549.jpg","text":"TemporaryFile(/tmp/multipartBody6150464433856930217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189764141,"filename":"image_30102025_20_37_35_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396296399","file1":"1396296398","file0":"1396296387","file4":"1396296401","file5":"1396296403","file3":"1396296400"},"map_files_photo_id_array":[{"photo_id":"1396296403","filename":"file5"},{"photo_id":"1396296399","filename":"file2"},{"photo_id":"1396296401","filename":"file4"},{"photo_id":"1396296398","filename":"file1"},{"photo_id":"1396296387","filename":"file0"},{"photo_id":"1396296400","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396296398":["hashtag1","hashtag2"]},{"1396296401":["hashtag1","hashtag2"]},{"1396296400":["hashtag1","hashtag2"]},{"1396296399":["hashtag1","hashtag2"]},{"1396296403":["hashtag1","hashtag2"]},{"1396296387":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396296398, 1396296401, 1396296400, 1396296399, 1396296403, 1396296387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2380485534668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 21:42:21.838600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/53/image_26112025_18_53_34_9773.jpg', '/home/pi/Desktop/images/26112025/18/53/image_26112025_18_53_44_9726.jpg', '/home/pi/Desktop/images/26112025/18/53/image_26112025_18_53_55_10693.jpg', '/home/pi/Desktop/images/26112025/18/54/image_26112025_18_54_15_10573.jpg', '/home/pi/Desktop/images/26112025/18/54/image_26112025_18_54_29_14488.jpg', '/home/pi/Desktop/images/26112025/18/54/image_26112025_18_55_04_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/53/image_26112025_18_53_34_9773.jpg
/home/pi/Desktop/images/26112025/18/53/image_26112025_18_53_44_9726.jpg
/home/pi/Desktop/images/26112025/18/53/image_26112025_18_53_55_10693.jpg
/home/pi/Desktop/images/26112025/18/54/image_26112025_18_54_15_10573.jpg
/home/pi/Desktop/images/26112025/18/54/image_26112025_18_54_29_14488.jpg
/home/pi/Desktop/images/26112025/18/54/image_26112025_18_55_04_9681.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":["1396296432","1396296441","1396296426","1396296443","1396296436","1396296439"],"photo_ids_order":["1396296426","1396296432","1396296436","1396296439","1396296441","1396296443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/03dbfbacf8f3cf0bf6f52e5fcaa6c847.jpg","text":"TemporaryFile(/tmp/multipartBody4454396314934006700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189802544,"filename":"image_26112025_18_53_44_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d3b97870042ac702c09bd7f5bd732c6a.jpg","text":"TemporaryFile(/tmp/multipartBody6255657639114044847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189802544,"filename":"image_26112025_18_54_29_14488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d3dd010bcf44d93fd7ffc166101daf10.jpg","text":"TemporaryFile(/tmp/multipartBody4335009976070938431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189802544,"filename":"image_26112025_18_53_34_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a2a7fceb335a9c71089284decfa0c755.jpg","text":"TemporaryFile(/tmp/multipartBody262529862279557719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189802544,"filename":"image_26112025_18_55_04_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/938349e9f56e1354ff7be74d99de00cb.jpg","text":"TemporaryFile(/tmp/multipartBody5274916209790417067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189802544,"filename":"image_26112025_18_53_55_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/82527370c9b3a69dacc25c3d2c672914.jpg","text":"TemporaryFile(/tmp/multipartBody2985977714968689388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189802544,"filename":"image_26112025_18_54_15_10573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396296436","file1":"1396296432","file0":"1396296426","file4":"1396296441","file5":"1396296443","file3":"1396296439"},"map_files_photo_id_array":[{"photo_id":"1396296443","filename":"file5"},{"photo_id":"1396296436","filename":"file2"},{"photo_id":"1396296441","filename":"file4"},{"photo_id":"1396296432","filename":"file1"},{"photo_id":"1396296426","filename":"file0"},{"photo_id":"1396296439","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396296432":["hashtag1","hashtag2"]},{"1396296441":["hashtag1","hashtag2"]},{"1396296426":["hashtag1","hashtag2"]},{"1396296443":["hashtag1","hashtag2"]},{"1396296436":["hashtag1","hashtag2"]},{"1396296439":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396296432, 1396296441, 1396296426, 1396296443, 1396296436, 1396296439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05110454559326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:43:02.866961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/55/image_26112025_18_55_15_10676.jpg', '/home/pi/Desktop/images/26112025/18/55/image_26112025_18_55_45_10693.jpg', '/home/pi/Desktop/images/26112025/18/55/image_26112025_18_55_55_9867.jpg', '/home/pi/Desktop/images/26112025/18/55/image_26112025_18_56_04_9625.jpg', '/home/pi/Desktop/images/26112025/18/56/image_26112025_18_56_14_9668.jpg', '/home/pi/Desktop/images/26112025/18/56/image_26112025_18_56_25_10696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/55/image_26112025_18_55_15_10676.jpg
/home/pi/Desktop/images/26112025/18/55/image_26112025_18_55_45_10693.jpg
/home/pi/Desktop/images/26112025/18/55/image_26112025_18_55_55_9867.jpg
/home/pi/Desktop/images/26112025/18/55/image_26112025_18_56_04_9625.jpg
/home/pi/Desktop/images/26112025/18/56/image_26112025_18_56_14_9668.jpg
/home/pi/Desktop/images/26112025/18/56/image_26112025_18_56_25_10696.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":["1396296554","1396296592","1396296475","1396296520","1396296616","1396296445"],"photo_ids_order":["1396296445","1396296475","1396296520","1396296554","1396296592","1396296616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8071fcb987fe1f467d307ad5fc2df514.jpg","text":"TemporaryFile(/tmp/multipartBody8681828858135933665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189843641,"filename":"image_26112025_18_56_04_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f7dcbeb51241c0b877d61207d3431de1.jpg","text":"TemporaryFile(/tmp/multipartBody1120956081396471446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189843641,"filename":"image_26112025_18_56_14_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d69497cc6a24eb75cc5f4bc5c38634b7.jpg","text":"TemporaryFile(/tmp/multipartBody7934708949576521649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189843641,"filename":"image_26112025_18_55_45_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9a3ec62720db564cffafc173d0dda9ec.jpg","text":"TemporaryFile(/tmp/multipartBody8866816180771000351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189843641,"filename":"image_26112025_18_55_55_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0fa6dde5c537964960b476f116f77653.jpg","text":"TemporaryFile(/tmp/multipartBody3489510590310599422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189843641,"filename":"image_26112025_18_56_25_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2089082eef69e1911b36ab4b72e9e324.jpg","text":"TemporaryFile(/tmp/multipartBody5712437148147688392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189843641,"filename":"image_26112025_18_55_15_10676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396296520","file1":"1396296475","file0":"1396296445","file4":"1396296592","file5":"1396296616","file3":"1396296554"},"map_files_photo_id_array":[{"photo_id":"1396296616","filename":"file5"},{"photo_id":"1396296520","filename":"file2"},{"photo_id":"1396296592","filename":"file4"},{"photo_id":"1396296475","filename":"file1"},{"photo_id":"1396296445","filename":"file0"},{"photo_id":"1396296554","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396296554":["hashtag1","hashtag2"]},{"1396296592":["hashtag1","hashtag2"]},{"1396296475":["hashtag1","hashtag2"]},{"1396296520":["hashtag1","hashtag2"]},{"1396296616":["hashtag1","hashtag2"]},{"1396296445":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396296554, 1396296592, 1396296475, 1396296520, 1396296616, 1396296445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28941535949707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 21:43:42.273396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_19_7964.jpg', '/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_22_2994.jpg', '/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_24_1749.jpg', '/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_27_1511.jpg', '/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_29_1774.jpg', '/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_31_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_19_7964.jpg
/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_22_2994.jpg
/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_24_1749.jpg
/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_27_1511.jpg
/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_29_1774.jpg
/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_31_2779.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":["1396296630","1396296665","1396296626","1396296629","1396296628","1396296631"],"photo_ids_order":["1396296626","1396296628","1396296629","1396296630","1396296631","1396296665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c836d0521a483aae2b0ea0ada70aecea.jpg","text":"TemporaryFile(/tmp/multipartBody1079689720519418683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189883742,"filename":"image_30102025_20_38_27_1511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b5c28de911ba4f3526a8c0d27fcec20e.jpg","text":"TemporaryFile(/tmp/multipartBody2303064838299405126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189883742,"filename":"image_30102025_20_38_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/26/c390ef9f0902a1fe7a283bf277ea23d8.jpg","text":"TemporaryFile(/tmp/multipartBody2193562283527572018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189883742,"filename":"image_30102025_20_38_19_7964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/361810e964193e27422ed5abf75fc0b3.jpg","text":"TemporaryFile(/tmp/multipartBody4546900763137965105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189883742,"filename":"image_30102025_20_38_24_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/26/1c0095488780840b4c29e93431c42e60.jpg","text":"TemporaryFile(/tmp/multipartBody9126794480769443018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189883742,"filename":"image_30102025_20_38_22_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/26/1d11d43ded99b96fead3a3808e2f80a2.jpg","text":"TemporaryFile(/tmp/multipartBody8110891786023460781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189883742,"filename":"image_30102025_20_38_29_1774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396296629","file1":"1396296628","file0":"1396296626","file4":"1396296631","file5":"1396296665","file3":"1396296630"},"map_files_photo_id_array":[{"photo_id":"1396296665","filename":"file5"},{"photo_id":"1396296629","filename":"file2"},{"photo_id":"1396296631","filename":"file4"},{"photo_id":"1396296628","filename":"file1"},{"photo_id":"1396296626","filename":"file0"},{"photo_id":"1396296630","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396296630":["hashtag1","hashtag2"]},{"1396296665":["hashtag1","hashtag2"]},{"1396296626":["hashtag1","hashtag2"]},{"1396296629":["hashtag1","hashtag2"]},{"1396296628":["hashtag1","hashtag2"]},{"1396296631":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396296630, 1396296665, 1396296626, 1396296629, 1396296628, 1396296631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.533852100372314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 21:44:22.436078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/56/image_26112025_18_56_55_10572.jpg', '/home/pi/Desktop/images/26112025/18/56/image_26112025_18_57_04_9660.jpg', '/home/pi/Desktop/images/26112025/18/57/image_26112025_18_57_14_9787.jpg', '/home/pi/Desktop/images/26112025/18/57/image_26112025_18_57_25_10707.jpg', '/home/pi/Desktop/images/26112025/18/57/image_26112025_18_58_05_10697.jpg', '/home/pi/Desktop/images/26112025/18/58/image_26112025_18_58_15_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/56/image_26112025_18_56_55_10572.jpg
/home/pi/Desktop/images/26112025/18/56/image_26112025_18_57_04_9660.jpg
/home/pi/Desktop/images/26112025/18/57/image_26112025_18_57_14_9787.jpg
/home/pi/Desktop/images/26112025/18/57/image_26112025_18_57_25_10707.jpg
/home/pi/Desktop/images/26112025/18/57/image_26112025_18_58_05_10697.jpg
/home/pi/Desktop/images/26112025/18/58/image_26112025_18_58_15_9779.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":["1396296765","1396296791","1396296761","1396296826","1396296769","1396296814"],"photo_ids_order":["1396296761","1396296765","1396296769","1396296791","1396296814","1396296826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/103390e4ec13696ca8d9bbc33304a73b.jpg","text":"TemporaryFile(/tmp/multipartBody2977505022580418594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189923176,"filename":"image_26112025_18_57_04_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/86fc3bddbd3d05b3da30e533dd2428e9.jpg","text":"TemporaryFile(/tmp/multipartBody4847069778560230850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189923176,"filename":"image_26112025_18_57_25_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/870d3ac78fb8d300e61f198fbd921057.jpg","text":"TemporaryFile(/tmp/multipartBody4327903142661407275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189923176,"filename":"image_26112025_18_56_55_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4f545db81d3809be35712fc9221f45ca.jpg","text":"TemporaryFile(/tmp/multipartBody2445069538763257190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189923176,"filename":"image_26112025_18_58_15_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/720b62b9f16df9121a2edef13a30dfc5.jpg","text":"TemporaryFile(/tmp/multipartBody6257274872109774419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189923176,"filename":"image_26112025_18_57_14_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b0edfde1df3117d6f42bd1a933a4bd56.jpg","text":"TemporaryFile(/tmp/multipartBody7276083720501641378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189923176,"filename":"image_26112025_18_58_05_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396296769","file1":"1396296765","file0":"1396296761","file4":"1396296814","file5":"1396296826","file3":"1396296791"},"map_files_photo_id_array":[{"photo_id":"1396296826","filename":"file5"},{"photo_id":"1396296769","filename":"file2"},{"photo_id":"1396296814","filename":"file4"},{"photo_id":"1396296765","filename":"file1"},{"photo_id":"1396296761","filename":"file0"},{"photo_id":"1396296791","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396296765":["hashtag1","hashtag2"]},{"1396296791":["hashtag1","hashtag2"]},{"1396296761":["hashtag1","hashtag2"]},{"1396296826":["hashtag1","hashtag2"]},{"1396296769":["hashtag1","hashtag2"]},{"1396296814":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396296765, 1396296791, 1396296761, 1396296826, 1396296769, 1396296814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16785216331482 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:45:03.346706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/58/image_26112025_18_58_24_9853.jpg', '/home/pi/Desktop/images/26112025/18/58/image_26112025_18_58_34_9668.jpg', '/home/pi/Desktop/images/26112025/18/58/image_26112025_18_58_45_10586.jpg', '/home/pi/Desktop/images/26112025/18/58/image_26112025_18_58_54_9728.jpg', '/home/pi/Desktop/images/26112025/18/58/image_26112025_18_59_04_9708.jpg', '/home/pi/Desktop/images/26112025/18/59/image_26112025_18_59_15_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/58/image_26112025_18_58_24_9853.jpg
/home/pi/Desktop/images/26112025/18/58/image_26112025_18_58_34_9668.jpg
/home/pi/Desktop/images/26112025/18/58/image_26112025_18_58_45_10586.jpg
/home/pi/Desktop/images/26112025/18/58/image_26112025_18_58_54_9728.jpg
/home/pi/Desktop/images/26112025/18/58/image_26112025_18_59_04_9708.jpg
/home/pi/Desktop/images/26112025/18/59/image_26112025_18_59_15_10656.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":["1396296843","1396296831","1396296833","1396296836","1396296827","1396296829"],"photo_ids_order":["1396296827","1396296829","1396296831","1396296833","1396296836","1396296843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2143f229949f4643741efdf842e9d57f.jpg","text":"TemporaryFile(/tmp/multipartBody4477749907105347255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189964150,"filename":"image_26112025_18_59_15_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/83a5f5f858d3caaa472a9ae0d1a60ec1.jpg","text":"TemporaryFile(/tmp/multipartBody8916814053123179612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189964150,"filename":"image_26112025_18_58_45_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5a2fa6981257f2351c44d90150bd54cc.jpg","text":"TemporaryFile(/tmp/multipartBody8508991947588532961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189964150,"filename":"image_26112025_18_58_54_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d7c6a98d283ecb3b8534cfc09ee6f251.jpg","text":"TemporaryFile(/tmp/multipartBody8054973220278840672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189964150,"filename":"image_26112025_18_59_04_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5805309052da3b53a774f1a5788ef2cb.jpg","text":"TemporaryFile(/tmp/multipartBody3960216759676595503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189964150,"filename":"image_26112025_18_58_24_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8a07389a84621adde71681fee79bbe46.jpg","text":"TemporaryFile(/tmp/multipartBody1237226695634218910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764189964150,"filename":"image_26112025_18_58_34_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396296831","file1":"1396296829","file0":"1396296827","file4":"1396296836","file5":"1396296843","file3":"1396296833"},"map_files_photo_id_array":[{"photo_id":"1396296843","filename":"file5"},{"photo_id":"1396296831","filename":"file2"},{"photo_id":"1396296836","filename":"file4"},{"photo_id":"1396296829","filename":"file1"},{"photo_id":"1396296827","filename":"file0"},{"photo_id":"1396296833","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396296843":["hashtag1","hashtag2"]},{"1396296831":["hashtag1","hashtag2"]},{"1396296833":["hashtag1","hashtag2"]},{"1396296836":["hashtag1","hashtag2"]},{"1396296827":["hashtag1","hashtag2"]},{"1396296829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396296843, 1396296831, 1396296833, 1396296836, 1396296827, 1396296829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.264843702316284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 21:45:42.673962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_34_2742.jpg', '/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_44_3581.jpg', '/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_46_2688.jpg', '/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_50_3497.jpg', '/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_52_2517.jpg', '/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_56_3554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_34_2742.jpg
/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_44_3581.jpg
/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_46_2688.jpg
/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_50_3497.jpg
/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_52_2517.jpg
/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_56_3554.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":["1396296870","1396296872","1396296869","1396296871","1396296874","1396296867"],"photo_ids_order":["1396296867","1396296869","1396296870","1396296871","1396296872","1396296874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/42a481850770e84852e3ce9bc2a795a8.jpg","text":"TemporaryFile(/tmp/multipartBody7314164051486378323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190004210,"filename":"image_30102025_20_38_46_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ce9d9514d0c8f3c1b7921036c7719b5e.jpg","text":"TemporaryFile(/tmp/multipartBody5249298997044947571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190004210,"filename":"image_30102025_20_38_52_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/26/819987aede58e957aaa4edd1a56709e4.jpg","text":"TemporaryFile(/tmp/multipartBody6655881252924724659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190004210,"filename":"image_30102025_20_38_44_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/26/b8179697edfeac41b8a033fc685e4637.jpg","text":"TemporaryFile(/tmp/multipartBody7957638981932136445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190004210,"filename":"image_30102025_20_38_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/26/27504072286de316f770d49ea09fd43d.jpg","text":"TemporaryFile(/tmp/multipartBody3712032571218488451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190004210,"filename":"image_30102025_20_38_56_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/26/4e3c9e2b9d881d200c2d2cd5b8ec5dd3.jpg","text":"TemporaryFile(/tmp/multipartBody1883104945224352299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190004210,"filename":"image_30102025_20_38_34_2742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396296870","file1":"1396296869","file0":"1396296867","file4":"1396296872","file5":"1396296874","file3":"1396296871"},"map_files_photo_id_array":[{"photo_id":"1396296874","filename":"file5"},{"photo_id":"1396296870","filename":"file2"},{"photo_id":"1396296872","filename":"file4"},{"photo_id":"1396296869","filename":"file1"},{"photo_id":"1396296867","filename":"file0"},{"photo_id":"1396296871","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396296870":["hashtag1","hashtag2"]},{"1396296872":["hashtag1","hashtag2"]},{"1396296869":["hashtag1","hashtag2"]},{"1396296871":["hashtag1","hashtag2"]},{"1396296874":["hashtag1","hashtag2"]},{"1396296867":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396296870, 1396296872, 1396296869, 1396296871, 1396296874, 1396296867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8551504611969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 21:46:21.820221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/18/59/image_26112025_18_59_24_9741.jpg', '/home/pi/Desktop/images/26112025/18/59/image_26112025_18_59_34_9750.jpg', '/home/pi/Desktop/images/26112025/18/59/image_26112025_18_59_45_10536.jpg', '/home/pi/Desktop/images/26112025/18/59/image_26112025_18_59_55_9770.jpg', '/home/pi/Desktop/images/26112025/19/00/image_26112025_19_00_14_10053.jpg', '/home/pi/Desktop/images/26112025/19/00/image_26112025_19_00_25_10816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/18/59/image_26112025_18_59_24_9741.jpg
/home/pi/Desktop/images/26112025/18/59/image_26112025_18_59_34_9750.jpg
/home/pi/Desktop/images/26112025/18/59/image_26112025_18_59_45_10536.jpg
/home/pi/Desktop/images/26112025/18/59/image_26112025_18_59_55_9770.jpg
/home/pi/Desktop/images/26112025/19/00/image_26112025_19_00_14_10053.jpg
/home/pi/Desktop/images/26112025/19/00/image_26112025_19_00_25_10816.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":["1396296893","1396296898","1396296907","1396296901","1396296904","1396296882"],"photo_ids_order":["1396296882","1396296893","1396296898","1396296901","1396296904","1396296907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c9232140231655cd607c4bef8d003feb.jpg","text":"TemporaryFile(/tmp/multipartBody6910996571629921817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190042570,"filename":"image_26112025_18_59_34_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b989f802d1ee111023f762daf3f41770.jpg","text":"TemporaryFile(/tmp/multipartBody4453691793684568847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190042570,"filename":"image_26112025_18_59_45_10536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5c396b92a0a5af89a8701581743eaf73.jpg","text":"TemporaryFile(/tmp/multipartBody4599226089263779765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190042570,"filename":"image_26112025_19_00_25_10816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/29fd456cdf2cded71d99afddb945b433.jpg","text":"TemporaryFile(/tmp/multipartBody8785610148425373265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190042570,"filename":"image_26112025_18_59_55_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/82c428df73febaad85381b64b2e2178f.jpg","text":"TemporaryFile(/tmp/multipartBody5442580054063298684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190042570,"filename":"image_26112025_19_00_14_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5f6d42b1fe68ea21bd211d14a37e4435.jpg","text":"TemporaryFile(/tmp/multipartBody7059898048001038374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190042570,"filename":"image_26112025_18_59_24_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396296898","file1":"1396296893","file0":"1396296882","file4":"1396296904","file5":"1396296907","file3":"1396296901"},"map_files_photo_id_array":[{"photo_id":"1396296907","filename":"file5"},{"photo_id":"1396296898","filename":"file2"},{"photo_id":"1396296904","filename":"file4"},{"photo_id":"1396296893","filename":"file1"},{"photo_id":"1396296882","filename":"file0"},{"photo_id":"1396296901","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396296893":["hashtag1","hashtag2"]},{"1396296898":["hashtag1","hashtag2"]},{"1396296907":["hashtag1","hashtag2"]},{"1396296901":["hashtag1","hashtag2"]},{"1396296904":["hashtag1","hashtag2"]},{"1396296882":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396296893, 1396296898, 1396296907, 1396296901, 1396296904, 1396296882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15738534927368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:47:02.650421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/00/image_26112025_19_00_35_9643.jpg', '/home/pi/Desktop/images/26112025/19/00/image_26112025_19_00_45_9745.jpg', '/home/pi/Desktop/images/26112025/19/00/image_26112025_19_00_55_10716.jpg', '/home/pi/Desktop/images/26112025/19/00/image_26112025_19_01_05_9683.jpg', '/home/pi/Desktop/images/26112025/19/01/image_26112025_19_01_14_9364.jpg', '/home/pi/Desktop/images/26112025/19/01/image_26112025_19_01_25_10699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/00/image_26112025_19_00_35_9643.jpg
/home/pi/Desktop/images/26112025/19/00/image_26112025_19_00_45_9745.jpg
/home/pi/Desktop/images/26112025/19/00/image_26112025_19_00_55_10716.jpg
/home/pi/Desktop/images/26112025/19/00/image_26112025_19_01_05_9683.jpg
/home/pi/Desktop/images/26112025/19/01/image_26112025_19_01_14_9364.jpg
/home/pi/Desktop/images/26112025/19/01/image_26112025_19_01_25_10699.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":["1396296921","1396296945","1396296923","1396296943","1396296925","1396296949"],"photo_ids_order":["1396296921","1396296923","1396296925","1396296943","1396296945","1396296949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2a1633b9d6073106c2b416efcfd7b507.jpg","text":"TemporaryFile(/tmp/multipartBody5567908432884560714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190083433,"filename":"image_26112025_19_00_35_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ab7694635c0282a8e59c2563e4a1b9f9.jpg","text":"TemporaryFile(/tmp/multipartBody3842434070859177402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190083433,"filename":"image_26112025_19_01_14_9364.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/99734047f86398ab2ccbca0696593278.jpg","text":"TemporaryFile(/tmp/multipartBody8692049001678445821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190083433,"filename":"image_26112025_19_00_45_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bbc53959cf06ee5f0b84c471a9ea0dc4.jpg","text":"TemporaryFile(/tmp/multipartBody8751085097180566768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190083433,"filename":"image_26112025_19_01_05_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ced06d7b54d8de601a3434dfd6937ce4.jpg","text":"TemporaryFile(/tmp/multipartBody7023052411537676103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190083433,"filename":"image_26112025_19_00_55_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f1244cb75c41d9f4a3d3d7011b36e260.jpg","text":"TemporaryFile(/tmp/multipartBody5293240544140863329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190083433,"filename":"image_26112025_19_01_25_10699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396296925","file1":"1396296923","file0":"1396296921","file4":"1396296945","file5":"1396296949","file3":"1396296943"},"map_files_photo_id_array":[{"photo_id":"1396296949","filename":"file5"},{"photo_id":"1396296925","filename":"file2"},{"photo_id":"1396296945","filename":"file4"},{"photo_id":"1396296923","filename":"file1"},{"photo_id":"1396296921","filename":"file0"},{"photo_id":"1396296943","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396296921":["hashtag1","hashtag2"]},{"1396296945":["hashtag1","hashtag2"]},{"1396296923":["hashtag1","hashtag2"]},{"1396296943":["hashtag1","hashtag2"]},{"1396296925":["hashtag1","hashtag2"]},{"1396296949":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396296921, 1396296945, 1396296923, 1396296943, 1396296925, 1396296949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91806960105896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 21:47:42.190852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_58_2652.jpg', '/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_01_2614.jpg', '/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_05_3650.jpg', '/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_08_2842.jpg', '/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_10_2882.jpg', '/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_13_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/38/image_30102025_20_38_58_2652.jpg
/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_01_2614.jpg
/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_05_3650.jpg
/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_08_2842.jpg
/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_10_2882.jpg
/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_13_2705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396297011","1396297013","1396297001","1396297015","1396297018","1396297017"],"photo_ids_order":["1396297001","1396297011","1396297013","1396297015","1396297017","1396297018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0d4e24e1a8b2c3ae6d867b6014dc6e33.jpg","text":"TemporaryFile(/tmp/multipartBody1530806765043222479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190123714,"filename":"image_30102025_20_39_01_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/26/9fb44634d7612c5467d239821239923a.jpg","text":"TemporaryFile(/tmp/multipartBody1747815910828684495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190123714,"filename":"image_30102025_20_39_05_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/26/ac2dbae1591ded51e7ac9d12e7e943b2.jpg","text":"TemporaryFile(/tmp/multipartBody7173379429109901272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190123714,"filename":"image_30102025_20_38_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/26/4472bce2c6e9b3b0a7f7a4a835faf794.jpg","text":"TemporaryFile(/tmp/multipartBody8061468399853756305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190123714,"filename":"image_30102025_20_39_08_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/26/d7349ca2e7492d0dc7fe885212e6e1aa.jpg","text":"TemporaryFile(/tmp/multipartBody800463287580179230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190123714,"filename":"image_30102025_20_39_13_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/26/d6410aef8e67fdf2a40de2583c643bea.jpg","text":"TemporaryFile(/tmp/multipartBody3831760065346128328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190123714,"filename":"image_30102025_20_39_10_2882.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396297013","file1":"1396297011","file0":"1396297001","file4":"1396297017","file5":"1396297018","file3":"1396297015"},"map_files_photo_id_array":[{"photo_id":"1396297018","filename":"file5"},{"photo_id":"1396297013","filename":"file2"},{"photo_id":"1396297017","filename":"file4"},{"photo_id":"1396297011","filename":"file1"},{"photo_id":"1396297001","filename":"file0"},{"photo_id":"1396297015","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396297011":["hashtag1","hashtag2"]},{"1396297013":["hashtag1","hashtag2"]},{"1396297001":["hashtag1","hashtag2"]},{"1396297015":["hashtag1","hashtag2"]},{"1396297018":["hashtag1","hashtag2"]},{"1396297017":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396297011, 1396297013, 1396297001, 1396297015, 1396297018, 1396297017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59409260749817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 21:48:22.375085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/01/image_26112025_19_01_35_9718.jpg', '/home/pi/Desktop/images/26112025/19/01/image_26112025_19_01_45_9711.jpg', '/home/pi/Desktop/images/26112025/19/01/image_26112025_19_01_55_10308.jpg', '/home/pi/Desktop/images/26112025/19/01/image_26112025_19_02_05_9834.jpg', '/home/pi/Desktop/images/26112025/19/02/image_26112025_19_02_15_10574.jpg', '/home/pi/Desktop/images/26112025/19/02/image_26112025_19_02_25_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/01/image_26112025_19_01_35_9718.jpg
/home/pi/Desktop/images/26112025/19/01/image_26112025_19_01_45_9711.jpg
/home/pi/Desktop/images/26112025/19/01/image_26112025_19_01_55_10308.jpg
/home/pi/Desktop/images/26112025/19/01/image_26112025_19_02_05_9834.jpg
/home/pi/Desktop/images/26112025/19/02/image_26112025_19_02_15_10574.jpg
/home/pi/Desktop/images/26112025/19/02/image_26112025_19_02_25_9710.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":["1396297032","1396297040","1396297034","1396297024","1396297027","1396297036"],"photo_ids_order":["1396297024","1396297027","1396297032","1396297034","1396297036","1396297040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9cd58076ebca90ef0c7d37fec8d242ee.jpg","text":"TemporaryFile(/tmp/multipartBody2742779285521809711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190163096,"filename":"image_26112025_19_01_55_10308.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/80a32d8115a95d7bb93b88436dea641a.jpg","text":"TemporaryFile(/tmp/multipartBody2827959643692525607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190163096,"filename":"image_26112025_19_02_25_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e09cd026c52882b7f0541990bded55dc.jpg","text":"TemporaryFile(/tmp/multipartBody4252764837630267830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190163096,"filename":"image_26112025_19_02_05_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/707461a1818253dcd85cdd3d266ceaa2.jpg","text":"TemporaryFile(/tmp/multipartBody5869621686903563374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190163096,"filename":"image_26112025_19_01_35_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c741eba8ad04ab401961ef40002522fe.jpg","text":"TemporaryFile(/tmp/multipartBody6732196118222479754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190163096,"filename":"image_26112025_19_01_45_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fc5a192d0501896de58a444834c90ff0.jpg","text":"TemporaryFile(/tmp/multipartBody6765090534726287543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190163096,"filename":"image_26112025_19_02_15_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396297032","file1":"1396297027","file0":"1396297024","file4":"1396297036","file5":"1396297040","file3":"1396297034"},"map_files_photo_id_array":[{"photo_id":"1396297040","filename":"file5"},{"photo_id":"1396297032","filename":"file2"},{"photo_id":"1396297036","filename":"file4"},{"photo_id":"1396297027","filename":"file1"},{"photo_id":"1396297024","filename":"file0"},{"photo_id":"1396297034","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396297032":["hashtag1","hashtag2"]},{"1396297040":["hashtag1","hashtag2"]},{"1396297034":["hashtag1","hashtag2"]},{"1396297024":["hashtag1","hashtag2"]},{"1396297027":["hashtag1","hashtag2"]},{"1396297036":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396297032, 1396297040, 1396297034, 1396297024, 1396297027, 1396297036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.019800424575806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:49:03.411299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/02/image_26112025_19_02_35_9690.jpg', '/home/pi/Desktop/images/26112025/19/02/image_26112025_19_02_45_9905.jpg', '/home/pi/Desktop/images/26112025/19/02/image_26112025_19_03_05_9592.jpg', '/home/pi/Desktop/images/26112025/19/03/image_26112025_19_03_25_10701.jpg', '/home/pi/Desktop/images/26112025/19/03/image_26112025_19_03_35_9608.jpg', '/home/pi/Desktop/images/26112025/19/03/image_26112025_19_03_44_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/02/image_26112025_19_02_35_9690.jpg
/home/pi/Desktop/images/26112025/19/02/image_26112025_19_02_45_9905.jpg
/home/pi/Desktop/images/26112025/19/02/image_26112025_19_03_05_9592.jpg
/home/pi/Desktop/images/26112025/19/03/image_26112025_19_03_25_10701.jpg
/home/pi/Desktop/images/26112025/19/03/image_26112025_19_03_35_9608.jpg
/home/pi/Desktop/images/26112025/19/03/image_26112025_19_03_44_9669.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":["1396297058","1396297052","1396297055","1396297049","1396297051","1396297053"],"photo_ids_order":["1396297049","1396297051","1396297052","1396297053","1396297055","1396297058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e577aa1d7123e8982ed1a5d413e5f97c.jpg","text":"TemporaryFile(/tmp/multipartBody8277512958659383519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190204288,"filename":"image_26112025_19_03_44_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/03b6542605c409605f9617ed25bf40a1.jpg","text":"TemporaryFile(/tmp/multipartBody6658601993701697038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190204288,"filename":"image_26112025_19_03_05_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b31e9dd07172f07672f9fb9365bc10b6.jpg","text":"TemporaryFile(/tmp/multipartBody3399474691486875706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190204288,"filename":"image_26112025_19_03_35_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c68cbf06f897ff664f8ef6b4dfe4d9e4.jpg","text":"TemporaryFile(/tmp/multipartBody4820377248742906226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190204288,"filename":"image_26112025_19_02_35_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e94eb2c7102a0e35fb1073590fe22b39.jpg","text":"TemporaryFile(/tmp/multipartBody6438559824714224610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190204288,"filename":"image_26112025_19_02_45_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e56ef3c3fe885d8e2d07b0c86df72293.jpg","text":"TemporaryFile(/tmp/multipartBody1098004741479678725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190204288,"filename":"image_26112025_19_03_25_10701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396297052","file1":"1396297051","file0":"1396297049","file4":"1396297055","file5":"1396297058","file3":"1396297053"},"map_files_photo_id_array":[{"photo_id":"1396297058","filename":"file5"},{"photo_id":"1396297052","filename":"file2"},{"photo_id":"1396297055","filename":"file4"},{"photo_id":"1396297051","filename":"file1"},{"photo_id":"1396297049","filename":"file0"},{"photo_id":"1396297053","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396297058":["hashtag1","hashtag2"]},{"1396297052":["hashtag1","hashtag2"]},{"1396297055":["hashtag1","hashtag2"]},{"1396297049":["hashtag1","hashtag2"]},{"1396297051":["hashtag1","hashtag2"]},{"1396297053":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396297058, 1396297052, 1396297055, 1396297049, 1396297051, 1396297053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.176047801971436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 21:49:42.648294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_21_4404.jpg', '/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_23_1675.jpg', '/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_26_2754.jpg', '/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_34_8426.jpg', '/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_36_1589.jpg', '/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_40_4287.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_21_4404.jpg
/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_23_1675.jpg
/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_26_2754.jpg
/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_34_8426.jpg
/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_36_1589.jpg
/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_40_4287.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":["1396297073","1396297067","1396297121","1396297075","1396297069","1396297071"],"photo_ids_order":["1396297067","1396297069","1396297071","1396297073","1396297075","1396297121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a2049fb09fe5e20396385990ea3d0dfe.jpg","text":"TemporaryFile(/tmp/multipartBody5128559524366119594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190244111,"filename":"image_30102025_20_39_34_8426.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/68627225083a3fef0673e3908c71192d.jpg","text":"TemporaryFile(/tmp/multipartBody3360720331831533899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190244111,"filename":"image_30102025_20_39_21_4404.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e538828da283cc48dd570a583141c061.jpg","text":"TemporaryFile(/tmp/multipartBody1941902454132963797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190244111,"filename":"image_30102025_20_39_40_4287.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7e6f41f2d74de03cd9d75508f86371cc.jpg","text":"TemporaryFile(/tmp/multipartBody2115355781282107683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190244111,"filename":"image_30102025_20_39_36_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/26/005adeeaa140866b60a8812b3245be28.jpg","text":"TemporaryFile(/tmp/multipartBody1291433194065646618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190244111,"filename":"image_30102025_20_39_23_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/09a079b74ee6118a400c14701f9485f7.jpg","text":"TemporaryFile(/tmp/multipartBody2191018322814610308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190244111,"filename":"image_30102025_20_39_26_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396297071","file1":"1396297069","file0":"1396297067","file4":"1396297075","file5":"1396297121","file3":"1396297073"},"map_files_photo_id_array":[{"photo_id":"1396297121","filename":"file5"},{"photo_id":"1396297071","filename":"file2"},{"photo_id":"1396297075","filename":"file4"},{"photo_id":"1396297069","filename":"file1"},{"photo_id":"1396297067","filename":"file0"},{"photo_id":"1396297073","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396297073":["hashtag1","hashtag2"]},{"1396297067":["hashtag1","hashtag2"]},{"1396297121":["hashtag1","hashtag2"]},{"1396297075":["hashtag1","hashtag2"]},{"1396297069":["hashtag1","hashtag2"]},{"1396297071":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396297073, 1396297067, 1396297121, 1396297075, 1396297069, 1396297071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92522859573364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 21:50:22.762771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/03/image_26112025_19_04_05_10537.jpg', '/home/pi/Desktop/images/26112025/19/04/image_26112025_19_04_24_18990.jpg', '/home/pi/Desktop/images/26112025/19/04/image_26112025_19_04_26_1549.jpg', '/home/pi/Desktop/images/26112025/19/04/image_26112025_19_04_35_9693.jpg', '/home/pi/Desktop/images/26112025/19/04/image_26112025_19_04_45_9654.jpg', '/home/pi/Desktop/images/26112025/19/04/image_26112025_19_04_55_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/03/image_26112025_19_04_05_10537.jpg
/home/pi/Desktop/images/26112025/19/04/image_26112025_19_04_24_18990.jpg
/home/pi/Desktop/images/26112025/19/04/image_26112025_19_04_26_1549.jpg
/home/pi/Desktop/images/26112025/19/04/image_26112025_19_04_35_9693.jpg
/home/pi/Desktop/images/26112025/19/04/image_26112025_19_04_45_9654.jpg
/home/pi/Desktop/images/26112025/19/04/image_26112025_19_04_55_9660.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":["1396297172","1396297139","1396297154","1396297135","1396297147","1396297143"],"photo_ids_order":["1396297135","1396297139","1396297143","1396297147","1396297154","1396297172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/45ae9c9bbc766dcddccb53cd801a7b72.jpg","text":"TemporaryFile(/tmp/multipartBody4139416663475008823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190283473,"filename":"image_26112025_19_04_55_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0cff80acc9dd295f66eb2eb695569f44.jpg","text":"TemporaryFile(/tmp/multipartBody8849089109568372445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190283473,"filename":"image_26112025_19_04_24_18990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/394da2b4ec30d8b06286968bacc4e674.jpg","text":"TemporaryFile(/tmp/multipartBody5841419900990668559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190283473,"filename":"image_26112025_19_04_45_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6f8f312ea95a1b8dc1eed94d834db92b.jpg","text":"TemporaryFile(/tmp/multipartBody268158860770533967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190283473,"filename":"image_26112025_19_04_05_10537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/72e51d2cfa242334018c23ae73f53e87.jpg","text":"TemporaryFile(/tmp/multipartBody1941333650284367963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190283473,"filename":"image_26112025_19_04_35_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f653051d4b7a4d0a13362c74c46c8b6a.jpg","text":"TemporaryFile(/tmp/multipartBody6309452698648613111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190283473,"filename":"image_26112025_19_04_26_1549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396297143","file1":"1396297139","file0":"1396297135","file4":"1396297154","file5":"1396297172","file3":"1396297147"},"map_files_photo_id_array":[{"photo_id":"1396297172","filename":"file5"},{"photo_id":"1396297143","filename":"file2"},{"photo_id":"1396297154","filename":"file4"},{"photo_id":"1396297139","filename":"file1"},{"photo_id":"1396297135","filename":"file0"},{"photo_id":"1396297147","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396297172":["hashtag1","hashtag2"]},{"1396297139":["hashtag1","hashtag2"]},{"1396297154":["hashtag1","hashtag2"]},{"1396297135":["hashtag1","hashtag2"]},{"1396297147":["hashtag1","hashtag2"]},{"1396297143":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396297172, 1396297139, 1396297154, 1396297135, 1396297147, 1396297143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2036190032959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:51:02.661752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/04/image_26112025_19_05_05_10670.jpg', '/home/pi/Desktop/images/26112025/19/05/image_26112025_19_05_15_9636.jpg', '/home/pi/Desktop/images/26112025/19/05/image_26112025_19_05_34_9798.jpg', '/home/pi/Desktop/images/26112025/19/05/image_26112025_19_05_45_10665.jpg', '/home/pi/Desktop/images/26112025/19/05/image_26112025_19_05_55_9732.jpg', '/home/pi/Desktop/images/26112025/19/05/image_26112025_19_06_04_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/04/image_26112025_19_05_05_10670.jpg
/home/pi/Desktop/images/26112025/19/05/image_26112025_19_05_15_9636.jpg
/home/pi/Desktop/images/26112025/19/05/image_26112025_19_05_34_9798.jpg
/home/pi/Desktop/images/26112025/19/05/image_26112025_19_05_45_10665.jpg
/home/pi/Desktop/images/26112025/19/05/image_26112025_19_05_55_9732.jpg
/home/pi/Desktop/images/26112025/19/05/image_26112025_19_06_04_9613.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":["1396297230","1396297238","1396297192","1396297234","1396297210","1396297228"],"photo_ids_order":["1396297192","1396297210","1396297228","1396297230","1396297234","1396297238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/52104570cfeffa66d90f0d01726bcdab.jpg","text":"TemporaryFile(/tmp/multipartBody3735709118021881999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190323458,"filename":"image_26112025_19_05_45_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2d51a36543bbde89bb5125cb4b19d54a.jpg","text":"TemporaryFile(/tmp/multipartBody927972404343828427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190323458,"filename":"image_26112025_19_06_04_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/55d634b4a324da7faa78accd5a57279d.jpg","text":"TemporaryFile(/tmp/multipartBody6759532773668766475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190323458,"filename":"image_26112025_19_05_05_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/09de8f7a0490be43fd0723a444c04f37.jpg","text":"TemporaryFile(/tmp/multipartBody1601780707792719173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190323458,"filename":"image_26112025_19_05_55_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fa4dc1c9f3c4852928bb9cee28947b04.jpg","text":"TemporaryFile(/tmp/multipartBody8162282773760913135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190323458,"filename":"image_26112025_19_05_15_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0000ca6fe7639812874b910ecc685fe5.jpg","text":"TemporaryFile(/tmp/multipartBody9097986987292165509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190323458,"filename":"image_26112025_19_05_34_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396297228","file1":"1396297210","file0":"1396297192","file4":"1396297234","file5":"1396297238","file3":"1396297230"},"map_files_photo_id_array":[{"photo_id":"1396297238","filename":"file5"},{"photo_id":"1396297228","filename":"file2"},{"photo_id":"1396297234","filename":"file4"},{"photo_id":"1396297210","filename":"file1"},{"photo_id":"1396297192","filename":"file0"},{"photo_id":"1396297230","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396297230":["hashtag1","hashtag2"]},{"1396297238":["hashtag1","hashtag2"]},{"1396297192":["hashtag1","hashtag2"]},{"1396297234":["hashtag1","hashtag2"]},{"1396297210":["hashtag1","hashtag2"]},{"1396297228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396297230, 1396297238, 1396297192, 1396297234, 1396297210, 1396297228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93475675582886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 21:51:41.977648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_42_1719.jpg', '/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_43_1586.jpg', '/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_45_1794.jpg', '/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_47_1526.jpg', '/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_49_2626.jpg', '/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_52_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_42_1719.jpg
/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_43_1586.jpg
/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_45_1794.jpg
/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_47_1526.jpg
/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_49_2626.jpg
/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_52_2623.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":["1396297298","1396297265","1396297331","1396297386","1396297365","1396297248"],"photo_ids_order":["1396297248","1396297265","1396297298","1396297331","1396297365","1396297386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/df078de16aa51f021570bca702e3344a.jpg","text":"TemporaryFile(/tmp/multipartBody3216309346798849216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190363467,"filename":"image_30102025_20_39_45_1794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3919fefe762f8c019543baf158eea404.jpg","text":"TemporaryFile(/tmp/multipartBody3545334078928029218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190363467,"filename":"image_30102025_20_39_43_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/26/cb90bbfd52c7a422b3f7a6dca973b686.jpg","text":"TemporaryFile(/tmp/multipartBody1003103025142516062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190363467,"filename":"image_30102025_20_39_47_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/26/5207c4976fb932816c78d6ee071ce0ff.jpg","text":"TemporaryFile(/tmp/multipartBody918599404871567933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190363467,"filename":"image_30102025_20_39_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/26/803b1a0a3336929e2392cf37ac27e6ba.jpg","text":"TemporaryFile(/tmp/multipartBody484690182988057363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190363467,"filename":"image_30102025_20_39_49_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/26/ade2f5a590d8fed27577b4edbddc4648.jpg","text":"TemporaryFile(/tmp/multipartBody3623972764025919229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190363467,"filename":"image_30102025_20_39_42_1719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396297298","file1":"1396297265","file0":"1396297248","file4":"1396297365","file5":"1396297386","file3":"1396297331"},"map_files_photo_id_array":[{"photo_id":"1396297386","filename":"file5"},{"photo_id":"1396297298","filename":"file2"},{"photo_id":"1396297365","filename":"file4"},{"photo_id":"1396297265","filename":"file1"},{"photo_id":"1396297248","filename":"file0"},{"photo_id":"1396297331","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396297298":["hashtag1","hashtag2"]},{"1396297265":["hashtag1","hashtag2"]},{"1396297331":["hashtag1","hashtag2"]},{"1396297386":["hashtag1","hashtag2"]},{"1396297365":["hashtag1","hashtag2"]},{"1396297248":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396297298, 1396297265, 1396297331, 1396297386, 1396297365, 1396297248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12054514884949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 21:52:22.139692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/06/image_26112025_19_06_15_10776.jpg', '/home/pi/Desktop/images/26112025/19/06/image_26112025_19_06_25_9702.jpg', '/home/pi/Desktop/images/26112025/19/06/image_26112025_19_06_35_9565.jpg', '/home/pi/Desktop/images/26112025/19/06/image_26112025_19_06_45_10654.jpg', '/home/pi/Desktop/images/26112025/19/06/image_26112025_19_06_55_9703.jpg', '/home/pi/Desktop/images/26112025/19/06/image_26112025_19_07_05_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/06/image_26112025_19_06_15_10776.jpg
/home/pi/Desktop/images/26112025/19/06/image_26112025_19_06_25_9702.jpg
/home/pi/Desktop/images/26112025/19/06/image_26112025_19_06_35_9565.jpg
/home/pi/Desktop/images/26112025/19/06/image_26112025_19_06_45_10654.jpg
/home/pi/Desktop/images/26112025/19/06/image_26112025_19_06_55_9703.jpg
/home/pi/Desktop/images/26112025/19/06/image_26112025_19_07_05_9673.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":["1396297401","1396297404","1396297457","1396297494","1396297413","1396297407"],"photo_ids_order":["1396297401","1396297404","1396297407","1396297413","1396297457","1396297494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1b436972cddce9fc2a7f99714b129e95.jpg","text":"TemporaryFile(/tmp/multipartBody7209079376145326521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190402859,"filename":"image_26112025_19_06_15_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c7d5b112ec7f451d36c80dbe2ca04826.jpg","text":"TemporaryFile(/tmp/multipartBody6949084930933400258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190402859,"filename":"image_26112025_19_06_25_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cf83f5f7e568c5c89ec3d682c3ef1139.jpg","text":"TemporaryFile(/tmp/multipartBody4984489024011289142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190402859,"filename":"image_26112025_19_06_55_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1bb162e93d78e89e2545ccb36a614bd6.jpg","text":"TemporaryFile(/tmp/multipartBody1359279924331430975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190402859,"filename":"image_26112025_19_07_05_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cb0b7176a9ddb1dafef52cf6181aa265.jpg","text":"TemporaryFile(/tmp/multipartBody3430155432734160460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190402859,"filename":"image_26112025_19_06_45_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/95a9e39d37a9049430fe3f7be592b923.jpg","text":"TemporaryFile(/tmp/multipartBody2080872599335677018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190402859,"filename":"image_26112025_19_06_35_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396297407","file1":"1396297404","file0":"1396297401","file4":"1396297457","file5":"1396297494","file3":"1396297413"},"map_files_photo_id_array":[{"photo_id":"1396297494","filename":"file5"},{"photo_id":"1396297407","filename":"file2"},{"photo_id":"1396297457","filename":"file4"},{"photo_id":"1396297404","filename":"file1"},{"photo_id":"1396297401","filename":"file0"},{"photo_id":"1396297413","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396297401":["hashtag1","hashtag2"]},{"1396297404":["hashtag1","hashtag2"]},{"1396297457":["hashtag1","hashtag2"]},{"1396297494":["hashtag1","hashtag2"]},{"1396297413":["hashtag1","hashtag2"]},{"1396297407":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396297401, 1396297404, 1396297457, 1396297494, 1396297413, 1396297407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81089520454407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:53:03.004802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/07/image_26112025_19_07_15_10681.jpg', '/home/pi/Desktop/images/26112025/19/07/image_26112025_19_07_25_9771.jpg', '/home/pi/Desktop/images/26112025/19/07/image_26112025_19_07_35_9663.jpg', '/home/pi/Desktop/images/26112025/19/07/image_26112025_19_07_45_10540.jpg', '/home/pi/Desktop/images/26112025/19/07/image_26112025_19_07_55_9634.jpg', '/home/pi/Desktop/images/26112025/19/07/image_26112025_19_08_05_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/07/image_26112025_19_07_15_10681.jpg
/home/pi/Desktop/images/26112025/19/07/image_26112025_19_07_25_9771.jpg
/home/pi/Desktop/images/26112025/19/07/image_26112025_19_07_35_9663.jpg
/home/pi/Desktop/images/26112025/19/07/image_26112025_19_07_45_10540.jpg
/home/pi/Desktop/images/26112025/19/07/image_26112025_19_07_55_9634.jpg
/home/pi/Desktop/images/26112025/19/07/image_26112025_19_08_05_9766.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.6806323528289795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 21:53:12.276226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/30/image_20112025_23_30_31_2967.jpg', '/home/pi/Desktop/images/20112025/23/30/image_20112025_23_30_35_3658.jpg', '/home/pi/Desktop/images/20112025/23/30/image_20112025_23_30_40_2605.jpg', '/home/pi/Desktop/images/20112025/23/30/image_20112025_23_30_47_3703.jpg', '/home/pi/Desktop/images/20112025/23/30/image_20112025_23_30_55_2750.jpg', '/home/pi/Desktop/images/20112025/23/30/image_20112025_23_30_59_3604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/30/image_20112025_23_30_31_2967.jpg
/home/pi/Desktop/images/20112025/23/30/image_20112025_23_30_35_3658.jpg
/home/pi/Desktop/images/20112025/23/30/image_20112025_23_30_40_2605.jpg
/home/pi/Desktop/images/20112025/23/30/image_20112025_23_30_47_3703.jpg
/home/pi/Desktop/images/20112025/23/30/image_20112025_23_30_55_2750.jpg
/home/pi/Desktop/images/20112025/23/30/image_20112025_23_30_59_3604.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":["1396297620","1396297612","1396297606","1396297623","1396297617","1396297566"],"photo_ids_order":["1396297566","1396297606","1396297612","1396297617","1396297620","1396297623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/48fb264463291c82ec24a12d3dd27293.jpg","text":"TemporaryFile(/tmp/multipartBody1647094274450243518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190454148,"filename":"image_20112025_23_30_55_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1c6399faac75e77e0d9128293fe4106a.jpg","text":"TemporaryFile(/tmp/multipartBody2569752590471121519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190454148,"filename":"image_20112025_23_30_40_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/14def21fbbed42219968eab7d5911f31.jpg","text":"TemporaryFile(/tmp/multipartBody386501441757007933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190454148,"filename":"image_20112025_23_30_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/26/55a7bf6a4909d316ce6f7e9c1a275a55.jpg","text":"TemporaryFile(/tmp/multipartBody1981307622277397856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190454148,"filename":"image_20112025_23_30_59_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/26/1ecac08371a18678980cfd816605ce4c.jpg","text":"TemporaryFile(/tmp/multipartBody3807676704049902651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190454148,"filename":"image_20112025_23_30_47_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/26/ab70575c08b09c1748cea3d984bd3066.jpg","text":"TemporaryFile(/tmp/multipartBody5811935333331468545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190454148,"filename":"image_20112025_23_30_31_2967.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396297612","file1":"1396297606","file0":"1396297566","file4":"1396297620","file5":"1396297623","file3":"1396297617"},"map_files_photo_id_array":[{"photo_id":"1396297623","filename":"file5"},{"photo_id":"1396297612","filename":"file2"},{"photo_id":"1396297620","filename":"file4"},{"photo_id":"1396297606","filename":"file1"},{"photo_id":"1396297566","filename":"file0"},{"photo_id":"1396297617","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396297620":["hashtag1","hashtag2"]},{"1396297612":["hashtag1","hashtag2"]},{"1396297606":["hashtag1","hashtag2"]},{"1396297623":["hashtag1","hashtag2"]},{"1396297617":["hashtag1","hashtag2"]},{"1396297566":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396297620, 1396297612, 1396297606, 1396297623, 1396297617, 1396297566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09992575645447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:54:03.211029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/07/image_26112025_19_07_15_10681.jpg', '/home/pi/Desktop/images/26112025/19/07/image_26112025_19_07_25_9771.jpg', '/home/pi/Desktop/images/26112025/19/07/image_26112025_19_07_35_9663.jpg', '/home/pi/Desktop/images/26112025/19/07/image_26112025_19_07_45_10540.jpg', '/home/pi/Desktop/images/26112025/19/07/image_26112025_19_07_55_9634.jpg', '/home/pi/Desktop/images/26112025/19/07/image_26112025_19_08_05_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/07/image_26112025_19_07_15_10681.jpg
/home/pi/Desktop/images/26112025/19/07/image_26112025_19_07_25_9771.jpg
/home/pi/Desktop/images/26112025/19/07/image_26112025_19_07_35_9663.jpg
/home/pi/Desktop/images/26112025/19/07/image_26112025_19_07_45_10540.jpg
/home/pi/Desktop/images/26112025/19/07/image_26112025_19_07_55_9634.jpg
/home/pi/Desktop/images/26112025/19/07/image_26112025_19_08_05_9766.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":["1396297772","1396297745","1396297775","1396297768","1396297708","1396297770"],"photo_ids_order":["1396297708","1396297745","1396297768","1396297770","1396297772","1396297775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a6c58244b7f6cbf3fdf9192083db1581.jpg","text":"TemporaryFile(/tmp/multipartBody7960559454413754203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190504050,"filename":"image_26112025_19_07_55_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4a37eec544836c768d632d06081c32bd.jpg","text":"TemporaryFile(/tmp/multipartBody7146283782948319819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190504050,"filename":"image_26112025_19_07_25_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3c07a4ac2003bf67d9e11b83548938fa.jpg","text":"TemporaryFile(/tmp/multipartBody581682425579628077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190504050,"filename":"image_26112025_19_08_05_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b8e0aff8eb604b6fd3f05de9f9d9b302.jpg","text":"TemporaryFile(/tmp/multipartBody2622856662028771712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190504050,"filename":"image_26112025_19_07_35_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/59a15c01e7a5f2d3adfbf0ade4bccd33.jpg","text":"TemporaryFile(/tmp/multipartBody3501597320139728501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190504050,"filename":"image_26112025_19_07_15_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6ce7c6653f36fa0138fd0cb7cfdb8131.jpg","text":"TemporaryFile(/tmp/multipartBody7640780805532159932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190504050,"filename":"image_26112025_19_07_45_10540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396297768","file1":"1396297745","file0":"1396297708","file4":"1396297772","file5":"1396297775","file3":"1396297770"},"map_files_photo_id_array":[{"photo_id":"1396297775","filename":"file5"},{"photo_id":"1396297768","filename":"file2"},{"photo_id":"1396297772","filename":"file4"},{"photo_id":"1396297745","filename":"file1"},{"photo_id":"1396297708","filename":"file0"},{"photo_id":"1396297770","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396297772":["hashtag1","hashtag2"]},{"1396297745":["hashtag1","hashtag2"]},{"1396297775":["hashtag1","hashtag2"]},{"1396297768":["hashtag1","hashtag2"]},{"1396297708":["hashtag1","hashtag2"]},{"1396297770":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396297772, 1396297745, 1396297775, 1396297768, 1396297708, 1396297770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57826113700867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 21:54:42.602880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_55_3568.jpg', '/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_05_2936.jpg', '/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_11_6656.jpg', '/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_13_1748.jpg', '/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_16_1588.jpg', '/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_20_3884.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/39/image_30102025_20_39_55_3568.jpg
/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_05_2936.jpg
/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_11_6656.jpg
/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_13_1748.jpg
/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_16_1588.jpg
/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_20_3884.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":["1396297786","1396297795","1396297789","1396297783","1396297785","1396297794"],"photo_ids_order":["1396297783","1396297785","1396297786","1396297789","1396297794","1396297795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/70f45bee09adc93269a8da30ea399a13.jpg","text":"TemporaryFile(/tmp/multipartBody4727172899045480138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190544076,"filename":"image_30102025_20_40_11_6656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bb1f14caf6f64789515f9e6586786ee1.jpg","text":"TemporaryFile(/tmp/multipartBody7799679025301220442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190544076,"filename":"image_30102025_20_40_20_3884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/23c43f4a2e932f54e7cecd0a066013db.jpg","text":"TemporaryFile(/tmp/multipartBody7501495586302166912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190544076,"filename":"image_30102025_20_40_13_1748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/229f7db246705b06815e5d9951480644.jpg","text":"TemporaryFile(/tmp/multipartBody5340296755567755843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190544076,"filename":"image_30102025_20_39_55_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/26/74fa12429b9d0a75ebc575305e90bead.jpg","text":"TemporaryFile(/tmp/multipartBody7609301534771194019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190544076,"filename":"image_30102025_20_40_05_2936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e9d4dbe38b09a29167086f514ad18489.jpg","text":"TemporaryFile(/tmp/multipartBody5094862139508102079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190544076,"filename":"image_30102025_20_40_16_1588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396297786","file1":"1396297785","file0":"1396297783","file4":"1396297794","file5":"1396297795","file3":"1396297789"},"map_files_photo_id_array":[{"photo_id":"1396297795","filename":"file5"},{"photo_id":"1396297786","filename":"file2"},{"photo_id":"1396297794","filename":"file4"},{"photo_id":"1396297785","filename":"file1"},{"photo_id":"1396297783","filename":"file0"},{"photo_id":"1396297789","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396297786":["hashtag1","hashtag2"]},{"1396297795":["hashtag1","hashtag2"]},{"1396297789":["hashtag1","hashtag2"]},{"1396297783":["hashtag1","hashtag2"]},{"1396297785":["hashtag1","hashtag2"]},{"1396297794":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396297786, 1396297795, 1396297789, 1396297783, 1396297785, 1396297794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8464457988739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 21:55:22.813979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/08/image_26112025_19_08_25_10124.jpg', '/home/pi/Desktop/images/26112025/19/08/image_26112025_19_08_35_9628.jpg', '/home/pi/Desktop/images/26112025/19/08/image_26112025_19_08_45_9721.jpg', '/home/pi/Desktop/images/26112025/19/08/image_26112025_19_08_54_9745.jpg', '/home/pi/Desktop/images/26112025/19/08/image_26112025_19_09_05_10643.jpg', '/home/pi/Desktop/images/26112025/19/09/image_26112025_19_09_15_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/08/image_26112025_19_08_25_10124.jpg
/home/pi/Desktop/images/26112025/19/08/image_26112025_19_08_35_9628.jpg
/home/pi/Desktop/images/26112025/19/08/image_26112025_19_08_45_9721.jpg
/home/pi/Desktop/images/26112025/19/08/image_26112025_19_08_54_9745.jpg
/home/pi/Desktop/images/26112025/19/08/image_26112025_19_09_05_10643.jpg
/home/pi/Desktop/images/26112025/19/09/image_26112025_19_09_15_9688.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":["1396297874","1396297828","1396297890","1396297887","1396297851","1396297848"],"photo_ids_order":["1396297828","1396297848","1396297851","1396297874","1396297887","1396297890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/31c73cad350e454108e4b7b774f97197.jpg","text":"TemporaryFile(/tmp/multipartBody2494817091819202634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190583575,"filename":"image_26112025_19_08_54_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4e3296b0f977f3f0db3e6a4594af624f.jpg","text":"TemporaryFile(/tmp/multipartBody5427305366572080895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190583575,"filename":"image_26112025_19_08_25_10124.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b0100152f23e63fb901806a02312eb08.jpg","text":"TemporaryFile(/tmp/multipartBody6700312741956289798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190583575,"filename":"image_26112025_19_09_15_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1135ecbba3e47c0dfe5d0cbacb2aa526.jpg","text":"TemporaryFile(/tmp/multipartBody7213660384995328101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190583575,"filename":"image_26112025_19_09_05_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2b0d1285d491708d3040b58137ac18e8.jpg","text":"TemporaryFile(/tmp/multipartBody8666426725168833407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190583575,"filename":"image_26112025_19_08_45_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4d342baa4ed44038781ae95139af55fe.jpg","text":"TemporaryFile(/tmp/multipartBody8234529797868045433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190583575,"filename":"image_26112025_19_08_35_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396297851","file1":"1396297848","file0":"1396297828","file4":"1396297887","file5":"1396297890","file3":"1396297874"},"map_files_photo_id_array":[{"photo_id":"1396297890","filename":"file5"},{"photo_id":"1396297851","filename":"file2"},{"photo_id":"1396297887","filename":"file4"},{"photo_id":"1396297848","filename":"file1"},{"photo_id":"1396297828","filename":"file0"},{"photo_id":"1396297874","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396297874":["hashtag1","hashtag2"]},{"1396297828":["hashtag1","hashtag2"]},{"1396297890":["hashtag1","hashtag2"]},{"1396297887":["hashtag1","hashtag2"]},{"1396297851":["hashtag1","hashtag2"]},{"1396297848":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396297874, 1396297828, 1396297890, 1396297887, 1396297851, 1396297848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.268584966659546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:56:02.320575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/09/image_26112025_19_09_35_9572.jpg', '/home/pi/Desktop/images/26112025/19/09/image_26112025_19_09_44_9565.jpg', '/home/pi/Desktop/images/26112025/19/09/image_26112025_19_09_55_10696.jpg', '/home/pi/Desktop/images/26112025/19/10/image_26112025_19_10_25_9743.jpg', '/home/pi/Desktop/images/26112025/19/10/image_26112025_19_10_35_9668.jpg', '/home/pi/Desktop/images/26112025/19/10/image_26112025_19_11_05_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/09/image_26112025_19_09_35_9572.jpg
/home/pi/Desktop/images/26112025/19/09/image_26112025_19_09_44_9565.jpg
/home/pi/Desktop/images/26112025/19/09/image_26112025_19_09_55_10696.jpg
/home/pi/Desktop/images/26112025/19/10/image_26112025_19_10_25_9743.jpg
/home/pi/Desktop/images/26112025/19/10/image_26112025_19_10_35_9668.jpg
/home/pi/Desktop/images/26112025/19/10/image_26112025_19_11_05_9699.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":["1396297895","1396297891","1396297906","1396297899","1396297893","1396297902"],"photo_ids_order":["1396297891","1396297893","1396297895","1396297899","1396297902","1396297906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/add134c86cfcfa1a6dc5a6b81b873485.jpg","text":"TemporaryFile(/tmp/multipartBody2827200362306676227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190623130,"filename":"image_26112025_19_09_55_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d1d35b4400f1a3ed686905cd82610cbe.jpg","text":"TemporaryFile(/tmp/multipartBody3251156581831148111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190623130,"filename":"image_26112025_19_09_35_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5c1727b038d4fb4a9c7017af80d157fe.jpg","text":"TemporaryFile(/tmp/multipartBody2919024598461946325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190623130,"filename":"image_26112025_19_11_05_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/447a1bda14bc0c2d5bf229a9cdd58164.jpg","text":"TemporaryFile(/tmp/multipartBody2113826108587073554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190623130,"filename":"image_26112025_19_10_25_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a3cecc4d52ee6d35f166e1ed051b8b57.jpg","text":"TemporaryFile(/tmp/multipartBody2257894329151214522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190623130,"filename":"image_26112025_19_09_44_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9f0aaa33d848377181e33546bc7a0eb2.jpg","text":"TemporaryFile(/tmp/multipartBody2230638932155746803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190623130,"filename":"image_26112025_19_10_35_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396297895","file1":"1396297893","file0":"1396297891","file4":"1396297902","file5":"1396297906","file3":"1396297899"},"map_files_photo_id_array":[{"photo_id":"1396297906","filename":"file5"},{"photo_id":"1396297895","filename":"file2"},{"photo_id":"1396297902","filename":"file4"},{"photo_id":"1396297893","filename":"file1"},{"photo_id":"1396297891","filename":"file0"},{"photo_id":"1396297899","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396297895":["hashtag1","hashtag2"]},{"1396297891":["hashtag1","hashtag2"]},{"1396297906":["hashtag1","hashtag2"]},{"1396297899":["hashtag1","hashtag2"]},{"1396297893":["hashtag1","hashtag2"]},{"1396297902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396297895, 1396297891, 1396297906, 1396297899, 1396297893, 1396297902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78085780143738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 21:56:41.956871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_22_1578.jpg', '/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_25_3629.jpg', '/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_28_2726.jpg', '/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_31_2630.jpg', '/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_34_3628.jpg', '/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_37_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_22_1578.jpg
/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_25_3629.jpg
/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_28_2726.jpg
/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_31_2630.jpg
/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_34_3628.jpg
/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_37_2719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396297931","1396297928","1396297916","1396297930","1396297927","1396297929"],"photo_ids_order":["1396297916","1396297927","1396297928","1396297929","1396297930","1396297931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6ec050b4a49467fb35af8efa5a4fc2c4.jpg","text":"TemporaryFile(/tmp/multipartBody4008804941675384006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190663465,"filename":"image_30102025_20_40_37_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fb12c102af5cc5cf7c0f2c90d9d8d4e4.jpg","text":"TemporaryFile(/tmp/multipartBody2535546454712247868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190663465,"filename":"image_30102025_20_40_28_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/26/3505b2dbb1b1810c0dbe881db6fcbf3b.jpg","text":"TemporaryFile(/tmp/multipartBody8541862095689338038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190663465,"filename":"image_30102025_20_40_22_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/26/40e32a5d11fdce2f72d80b295eaffad7.jpg","text":"TemporaryFile(/tmp/multipartBody8588792400410259417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190663465,"filename":"image_30102025_20_40_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/26/cbbb925c26e2893c2cb06bd69893b0b4.jpg","text":"TemporaryFile(/tmp/multipartBody1795305295813835657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190663465,"filename":"image_30102025_20_40_25_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/26/0d92b04bc21faededdf1c0c070c70fb8.jpg","text":"TemporaryFile(/tmp/multipartBody6266052926447483096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190663465,"filename":"image_30102025_20_40_31_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396297928","file1":"1396297927","file0":"1396297916","file4":"1396297930","file5":"1396297931","file3":"1396297929"},"map_files_photo_id_array":[{"photo_id":"1396297931","filename":"file5"},{"photo_id":"1396297928","filename":"file2"},{"photo_id":"1396297930","filename":"file4"},{"photo_id":"1396297927","filename":"file1"},{"photo_id":"1396297916","filename":"file0"},{"photo_id":"1396297929","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396297931":["hashtag1","hashtag2"]},{"1396297928":["hashtag1","hashtag2"]},{"1396297916":["hashtag1","hashtag2"]},{"1396297930":["hashtag1","hashtag2"]},{"1396297927":["hashtag1","hashtag2"]},{"1396297929":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396297931, 1396297928, 1396297916, 1396297930, 1396297927, 1396297929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.903034687042236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 21:57:22.206035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/11/image_26112025_19_11_14_9596.jpg', '/home/pi/Desktop/images/26112025/19/11/image_26112025_19_11_25_10587.jpg', '/home/pi/Desktop/images/26112025/19/11/image_26112025_19_11_35_9698.jpg', '/home/pi/Desktop/images/26112025/19/11/image_26112025_19_11_45_10373.jpg', '/home/pi/Desktop/images/26112025/19/12/image_26112025_19_12_05_10495.jpg', '/home/pi/Desktop/images/26112025/19/12/image_26112025_19_12_15_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/11/image_26112025_19_11_14_9596.jpg
/home/pi/Desktop/images/26112025/19/11/image_26112025_19_11_25_10587.jpg
/home/pi/Desktop/images/26112025/19/11/image_26112025_19_11_35_9698.jpg
/home/pi/Desktop/images/26112025/19/11/image_26112025_19_11_45_10373.jpg
/home/pi/Desktop/images/26112025/19/12/image_26112025_19_12_05_10495.jpg
/home/pi/Desktop/images/26112025/19/12/image_26112025_19_12_15_9663.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":["1396297943","1396297937","1396297952","1396297946","1396297949","1396297940"],"photo_ids_order":["1396297937","1396297940","1396297943","1396297946","1396297949","1396297952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/288565960f668c1a65cf4cdcea68210a.jpg","text":"TemporaryFile(/tmp/multipartBody8500855721446318720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190702974,"filename":"image_26112025_19_11_35_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bb71329fda8eac7c0e6738d8d40897c4.jpg","text":"TemporaryFile(/tmp/multipartBody464083666914775150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190702974,"filename":"image_26112025_19_11_14_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b7d333eee5074ffabc5693a4af2cd62a.jpg","text":"TemporaryFile(/tmp/multipartBody1222732710306219303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190702974,"filename":"image_26112025_19_12_15_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7d47b9b293275026e132fffd9195dfc7.jpg","text":"TemporaryFile(/tmp/multipartBody5257998729605305713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190702974,"filename":"image_26112025_19_11_45_10373.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/19d96e09897f9746572aed19ab873e31.jpg","text":"TemporaryFile(/tmp/multipartBody9184727644687298585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190702974,"filename":"image_26112025_19_12_05_10495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/da8aaa2124b82fdf07d9cf8cd27796bf.jpg","text":"TemporaryFile(/tmp/multipartBody5636349187820516128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190702974,"filename":"image_26112025_19_11_25_10587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396297943","file1":"1396297940","file0":"1396297937","file4":"1396297949","file5":"1396297952","file3":"1396297946"},"map_files_photo_id_array":[{"photo_id":"1396297952","filename":"file5"},{"photo_id":"1396297943","filename":"file2"},{"photo_id":"1396297949","filename":"file4"},{"photo_id":"1396297940","filename":"file1"},{"photo_id":"1396297937","filename":"file0"},{"photo_id":"1396297946","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396297943":["hashtag1","hashtag2"]},{"1396297937":["hashtag1","hashtag2"]},{"1396297952":["hashtag1","hashtag2"]},{"1396297946":["hashtag1","hashtag2"]},{"1396297949":["hashtag1","hashtag2"]},{"1396297940":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396297943, 1396297937, 1396297952, 1396297946, 1396297949, 1396297940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97870182991028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 21:59:03.398093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/12/image_26112025_19_12_25_9665.jpg', '/home/pi/Desktop/images/26112025/19/12/image_26112025_19_12_45_9895.jpg', '/home/pi/Desktop/images/26112025/19/13/image_26112025_19_13_05_9816.jpg', '/home/pi/Desktop/images/26112025/19/13/image_26112025_19_13_15_9755.jpg', '/home/pi/Desktop/images/26112025/19/13/image_26112025_19_13_25_10757.jpg', '/home/pi/Desktop/images/26112025/19/13/image_26112025_19_13_45_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/12/image_26112025_19_12_25_9665.jpg
/home/pi/Desktop/images/26112025/19/12/image_26112025_19_12_45_9895.jpg
/home/pi/Desktop/images/26112025/19/13/image_26112025_19_13_05_9816.jpg
/home/pi/Desktop/images/26112025/19/13/image_26112025_19_13_15_9755.jpg
/home/pi/Desktop/images/26112025/19/13/image_26112025_19_13_25_10757.jpg
/home/pi/Desktop/images/26112025/19/13/image_26112025_19_13_45_9822.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":["1396297997","1396298071","1396298146","1396298302","1396298230","1396297962"],"photo_ids_order":["1396297962","1396297997","1396298071","1396298146","1396298230","1396298302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bf403ff340d68e24631561551bd10205.jpg","text":"TemporaryFile(/tmp/multipartBody2428846784626375738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190804304,"filename":"image_26112025_19_12_45_9895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/82cee38b8745116af046aa7d327a889a.jpg","text":"TemporaryFile(/tmp/multipartBody7723236114297319249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190804304,"filename":"image_26112025_19_13_05_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5e5bafd23851795d84ad5f6e7c150b85.jpg","text":"TemporaryFile(/tmp/multipartBody2312941121662342674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190804304,"filename":"image_26112025_19_13_15_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dc34524a8dc8d0a3ca6b65187c08f998.jpg","text":"TemporaryFile(/tmp/multipartBody3875780356897403583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190804304,"filename":"image_26112025_19_13_45_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c98b77b9ca1d761065f24b721e8302aa.jpg","text":"TemporaryFile(/tmp/multipartBody3166536506980880842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190804304,"filename":"image_26112025_19_13_25_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e4d94d3d6cb3255e36898d6689037bd1.jpg","text":"TemporaryFile(/tmp/multipartBody4195342210107978254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190804304,"filename":"image_26112025_19_12_25_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396298071","file1":"1396297997","file0":"1396297962","file4":"1396298230","file5":"1396298302","file3":"1396298146"},"map_files_photo_id_array":[{"photo_id":"1396298302","filename":"file5"},{"photo_id":"1396298071","filename":"file2"},{"photo_id":"1396298230","filename":"file4"},{"photo_id":"1396297997","filename":"file1"},{"photo_id":"1396297962","filename":"file0"},{"photo_id":"1396298146","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396297997":["hashtag1","hashtag2"]},{"1396298071":["hashtag1","hashtag2"]},{"1396298146":["hashtag1","hashtag2"]},{"1396298302":["hashtag1","hashtag2"]},{"1396298230":["hashtag1","hashtag2"]},{"1396297962":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396297997, 1396298071, 1396298146, 1396298302, 1396298230, 1396297962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73739719390869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 21:59:42.541050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_41_3519.jpg', '/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_43_2633.jpg', '/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_46_2726.jpg', '/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_49_2717.jpg', '/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_52_3583.jpg', '/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_59_3721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_41_3519.jpg
/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_43_2633.jpg
/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_46_2726.jpg
/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_49_2717.jpg
/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_52_3583.jpg
/home/pi/Desktop/images/30102025/20/40/image_30102025_20_40_59_3721.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":["1396298630","1396298627","1396298568","1396298643","1396298687","1396298613"],"photo_ids_order":["1396298568","1396298613","1396298627","1396298630","1396298643","1396298687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/75ea0bccc878d641ace6771f846cf8cd.jpg","text":"TemporaryFile(/tmp/multipartBody4274485153135323178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190844007,"filename":"image_30102025_20_40_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/26/50aeb309c921d62238de04ebd1ce8ab1.jpg","text":"TemporaryFile(/tmp/multipartBody5479199519393846934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190844007,"filename":"image_30102025_20_40_46_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/26/aa5a0c37a1d28b1d35cfd047511f116d.jpg","text":"TemporaryFile(/tmp/multipartBody9070596236741956347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190844007,"filename":"image_30102025_20_40_41_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/26/3154bb4674daba166b282860f23c27af.jpg","text":"TemporaryFile(/tmp/multipartBody2157110146806879487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190844007,"filename":"image_30102025_20_40_52_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/26/8b8246d4d251fe8e28fc6ea5f7fd992a.jpg","text":"TemporaryFile(/tmp/multipartBody6578385870959041410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190844007,"filename":"image_30102025_20_40_59_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/26/df661fc5e65ff61e07474b84bce6e766.jpg","text":"TemporaryFile(/tmp/multipartBody1439220531040877952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190844007,"filename":"image_30102025_20_40_43_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396298627","file1":"1396298613","file0":"1396298568","file4":"1396298643","file5":"1396298687","file3":"1396298630"},"map_files_photo_id_array":[{"photo_id":"1396298687","filename":"file5"},{"photo_id":"1396298627","filename":"file2"},{"photo_id":"1396298643","filename":"file4"},{"photo_id":"1396298613","filename":"file1"},{"photo_id":"1396298568","filename":"file0"},{"photo_id":"1396298630","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396298630":["hashtag1","hashtag2"]},{"1396298627":["hashtag1","hashtag2"]},{"1396298568":["hashtag1","hashtag2"]},{"1396298643":["hashtag1","hashtag2"]},{"1396298687":["hashtag1","hashtag2"]},{"1396298613":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396298630, 1396298627, 1396298568, 1396298643, 1396298687, 1396298613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.437098026275635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 22:00:22.761588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/13/image_26112025_19_13_55_9748.jpg', '/home/pi/Desktop/images/26112025/19/13/image_26112025_19_14_04_9740.jpg', '/home/pi/Desktop/images/26112025/19/14/image_26112025_19_14_15_10701.jpg', '/home/pi/Desktop/images/26112025/19/14/image_26112025_19_14_35_9828.jpg', '/home/pi/Desktop/images/26112025/19/14/image_26112025_19_14_44_9689.jpg', '/home/pi/Desktop/images/26112025/19/14/image_26112025_19_15_05_9903.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/13/image_26112025_19_13_55_9748.jpg
/home/pi/Desktop/images/26112025/19/13/image_26112025_19_14_04_9740.jpg
/home/pi/Desktop/images/26112025/19/14/image_26112025_19_14_15_10701.jpg
/home/pi/Desktop/images/26112025/19/14/image_26112025_19_14_35_9828.jpg
/home/pi/Desktop/images/26112025/19/14/image_26112025_19_14_44_9689.jpg
/home/pi/Desktop/images/26112025/19/14/image_26112025_19_15_05_9903.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":["1396298930","1396298912","1396298889","1396298967","1396298949","1396298849"],"photo_ids_order":["1396298849","1396298889","1396298912","1396298930","1396298949","1396298967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c316a6b6b37edbc0904517f1a41af511.jpg","text":"TemporaryFile(/tmp/multipartBody4945570984943488512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190883492,"filename":"image_26112025_19_14_35_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/952b7e10e2cd2b23ef789648a7e93244.jpg","text":"TemporaryFile(/tmp/multipartBody2140099508703530264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190883492,"filename":"image_26112025_19_14_15_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5673dc7a781aa5ca0c9917b6f472ce03.jpg","text":"TemporaryFile(/tmp/multipartBody4582966720276888376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190883492,"filename":"image_26112025_19_14_04_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/38c703833caeff575706d8fa69227150.jpg","text":"TemporaryFile(/tmp/multipartBody7592724739994698424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190883492,"filename":"image_26112025_19_15_05_9903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/926c2a9a942110c09786f867b05a2535.jpg","text":"TemporaryFile(/tmp/multipartBody7797083674664391779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190883492,"filename":"image_26112025_19_14_44_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e6049ad90559a0f11835f3cd20d102e8.jpg","text":"TemporaryFile(/tmp/multipartBody7777558061339909683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190883492,"filename":"image_26112025_19_13_55_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396298912","file1":"1396298889","file0":"1396298849","file4":"1396298949","file5":"1396298967","file3":"1396298930"},"map_files_photo_id_array":[{"photo_id":"1396298967","filename":"file5"},{"photo_id":"1396298912","filename":"file2"},{"photo_id":"1396298949","filename":"file4"},{"photo_id":"1396298889","filename":"file1"},{"photo_id":"1396298849","filename":"file0"},{"photo_id":"1396298930","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396298930":["hashtag1","hashtag2"]},{"1396298912":["hashtag1","hashtag2"]},{"1396298889":["hashtag1","hashtag2"]},{"1396298967":["hashtag1","hashtag2"]},{"1396298949":["hashtag1","hashtag2"]},{"1396298849":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396298930, 1396298912, 1396298889, 1396298967, 1396298949, 1396298849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78671979904175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 22:01:02.525960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/15/image_26112025_19_15_15_9740.jpg', '/home/pi/Desktop/images/26112025/19/15/image_26112025_19_15_25_9801.jpg', '/home/pi/Desktop/images/26112025/19/15/image_26112025_19_16_05_9750.jpg', '/home/pi/Desktop/images/26112025/19/16/image_26112025_19_16_24_9670.jpg', '/home/pi/Desktop/images/26112025/19/16/image_26112025_19_16_45_9690.jpg', '/home/pi/Desktop/images/26112025/19/16/image_26112025_19_16_55_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/15/image_26112025_19_15_15_9740.jpg
/home/pi/Desktop/images/26112025/19/15/image_26112025_19_15_25_9801.jpg
/home/pi/Desktop/images/26112025/19/15/image_26112025_19_16_05_9750.jpg
/home/pi/Desktop/images/26112025/19/16/image_26112025_19_16_24_9670.jpg
/home/pi/Desktop/images/26112025/19/16/image_26112025_19_16_45_9690.jpg
/home/pi/Desktop/images/26112025/19/16/image_26112025_19_16_55_9809.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":["1396298989","1396298992","1396298994","1396298988","1396298997","1396299002"],"photo_ids_order":["1396298988","1396298989","1396298992","1396298994","1396298997","1396299002"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/07d7290dc6272657edf8668b1b13cb7b.jpg","text":"TemporaryFile(/tmp/multipartBody2021297586641705884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190923351,"filename":"image_26112025_19_15_25_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/84fdd5bdc6f28a7b243f4ce9fd4d11a5.jpg","text":"TemporaryFile(/tmp/multipartBody7207171917252990097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190923351,"filename":"image_26112025_19_16_05_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ffb4ed0535b464873bca1cd3936044d4.jpg","text":"TemporaryFile(/tmp/multipartBody4352646759434664493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190923351,"filename":"image_26112025_19_16_24_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6353be4fa01a371fc3cc6bac98cb26ac.jpg","text":"TemporaryFile(/tmp/multipartBody1632397492849040339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190923351,"filename":"image_26112025_19_15_15_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2a3ed5a4f97f383fd21e9a5af0575aae.jpg","text":"TemporaryFile(/tmp/multipartBody2448626449136901058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190923351,"filename":"image_26112025_19_16_45_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/986ee51d3d9cdf86e9a74e40fa176e65.jpg","text":"TemporaryFile(/tmp/multipartBody3627745719812019979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190923351,"filename":"image_26112025_19_16_55_9809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396298992","file1":"1396298989","file0":"1396298988","file4":"1396298997","file5":"1396299002","file3":"1396298994"},"map_files_photo_id_array":[{"photo_id":"1396299002","filename":"file5"},{"photo_id":"1396298992","filename":"file2"},{"photo_id":"1396298997","filename":"file4"},{"photo_id":"1396298989","filename":"file1"},{"photo_id":"1396298988","filename":"file0"},{"photo_id":"1396298994","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396298989":["hashtag1","hashtag2"]},{"1396298992":["hashtag1","hashtag2"]},{"1396298994":["hashtag1","hashtag2"]},{"1396298988":["hashtag1","hashtag2"]},{"1396298997":["hashtag1","hashtag2"]},{"1396299002":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396298989, 1396298992, 1396298994, 1396298988, 1396298997, 1396299002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.14900350570679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 22:01:41.887459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_01_2592.jpg', '/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_04_2672.jpg', '/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_08_3675.jpg', '/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_10_2714.jpg', '/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_13_2697.jpg', '/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_16_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_01_2592.jpg
/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_04_2672.jpg
/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_08_3675.jpg
/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_10_2714.jpg
/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_13_2697.jpg
/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_16_2712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396299157","1396299279","1396299276","1396299237","1396299197","1396299278"],"photo_ids_order":["1396299157","1396299197","1396299237","1396299276","1396299278","1396299279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/839a6679bb06f4de53418ab17024c550.jpg","text":"TemporaryFile(/tmp/multipartBody215720633966523880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190966166,"filename":"image_30102025_20_41_01_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/26/b0d947ee232df22830d21513c121f8be.jpg","text":"TemporaryFile(/tmp/multipartBody4158297125091789562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190966166,"filename":"image_30102025_20_41_16_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/14943b484052df42f9a379a87314a05e.jpg","text":"TemporaryFile(/tmp/multipartBody4726351401704443190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190966166,"filename":"image_30102025_20_41_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/26/fcdd9f8022fdd7a29637e55d0a09b4a9.jpg","text":"TemporaryFile(/tmp/multipartBody5973395106439367138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190966166,"filename":"image_30102025_20_41_08_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/26/9d6940705fe1abfc0050c702863ace98.jpg","text":"TemporaryFile(/tmp/multipartBody7820019040024566313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190966166,"filename":"image_30102025_20_41_04_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/26/2c03f0d14685c5651ec050df5222721c.jpg","text":"TemporaryFile(/tmp/multipartBody472487916325263244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764190966166,"filename":"image_30102025_20_41_13_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396299237","file1":"1396299197","file0":"1396299157","file4":"1396299278","file5":"1396299279","file3":"1396299276"},"map_files_photo_id_array":[{"photo_id":"1396299279","filename":"file5"},{"photo_id":"1396299237","filename":"file2"},{"photo_id":"1396299278","filename":"file4"},{"photo_id":"1396299197","filename":"file1"},{"photo_id":"1396299157","filename":"file0"},{"photo_id":"1396299276","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396299157":["hashtag1","hashtag2"]},{"1396299279":["hashtag1","hashtag2"]},{"1396299276":["hashtag1","hashtag2"]},{"1396299237":["hashtag1","hashtag2"]},{"1396299197":["hashtag1","hashtag2"]},{"1396299278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396299157, 1396299279, 1396299276, 1396299237, 1396299197, 1396299278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.228426456451416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 22:02:22.080586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/16/image_26112025_19_17_05_10741.jpg', '/home/pi/Desktop/images/26112025/19/17/image_26112025_19_17_15_9782.jpg', '/home/pi/Desktop/images/26112025/19/18/image_26112025_19_18_24_9829.jpg', '/home/pi/Desktop/images/26112025/19/18/image_26112025_19_18_45_9612.jpg', '/home/pi/Desktop/images/26112025/19/18/image_26112025_19_19_05_10776.jpg', '/home/pi/Desktop/images/26112025/19/19/image_26112025_19_19_25_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/16/image_26112025_19_17_05_10741.jpg
/home/pi/Desktop/images/26112025/19/17/image_26112025_19_17_15_9782.jpg
/home/pi/Desktop/images/26112025/19/18/image_26112025_19_18_24_9829.jpg
/home/pi/Desktop/images/26112025/19/18/image_26112025_19_18_45_9612.jpg
/home/pi/Desktop/images/26112025/19/18/image_26112025_19_19_05_10776.jpg
/home/pi/Desktop/images/26112025/19/19/image_26112025_19_19_25_9598.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":["1396299351","1396299429","1396299380","1396299377","1396299419","1396299407"],"photo_ids_order":["1396299351","1396299377","1396299380","1396299407","1396299419","1396299429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f07e693fccfd8feb814450f9d6342ae8.jpg","text":"TemporaryFile(/tmp/multipartBody8410325681350206655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191002858,"filename":"image_26112025_19_17_05_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5cbefe509fbdc470cab654dcf0a09669.jpg","text":"TemporaryFile(/tmp/multipartBody5641612957254676017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191002858,"filename":"image_26112025_19_19_25_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c034f5718d818d7dd8cf88df97461e08.jpg","text":"TemporaryFile(/tmp/multipartBody8193814209234963805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191002858,"filename":"image_26112025_19_18_24_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dfd1987f357f6ca154a5e1b39f4c5fd2.jpg","text":"TemporaryFile(/tmp/multipartBody2910467501309410800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191002858,"filename":"image_26112025_19_17_15_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1c01b7d3468c4a81d8cceddd343cd919.jpg","text":"TemporaryFile(/tmp/multipartBody2014541975595828662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191002858,"filename":"image_26112025_19_19_05_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/41c497e95c96907bdbd9817f61276b8a.jpg","text":"TemporaryFile(/tmp/multipartBody4526835101688271397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191002858,"filename":"image_26112025_19_18_45_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396299380","file1":"1396299377","file0":"1396299351","file4":"1396299419","file5":"1396299429","file3":"1396299407"},"map_files_photo_id_array":[{"photo_id":"1396299429","filename":"file5"},{"photo_id":"1396299380","filename":"file2"},{"photo_id":"1396299419","filename":"file4"},{"photo_id":"1396299377","filename":"file1"},{"photo_id":"1396299351","filename":"file0"},{"photo_id":"1396299407","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396299351":["hashtag1","hashtag2"]},{"1396299429":["hashtag1","hashtag2"]},{"1396299380":["hashtag1","hashtag2"]},{"1396299377":["hashtag1","hashtag2"]},{"1396299419":["hashtag1","hashtag2"]},{"1396299407":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396299351, 1396299429, 1396299380, 1396299377, 1396299419, 1396299407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76453924179077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 22:03:03.030975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/19/image_26112025_19_19_45_9742.jpg', '/home/pi/Desktop/images/26112025/19/19/image_26112025_19_19_55_9679.jpg', '/home/pi/Desktop/images/26112025/19/20/image_26112025_19_20_18_12238.jpg', '/home/pi/Desktop/images/26112025/19/20/image_26112025_19_20_25_6983.jpg', '/home/pi/Desktop/images/26112025/19/20/image_26112025_19_20_35_10761.jpg', '/home/pi/Desktop/images/26112025/19/20/image_26112025_19_20_45_9816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/19/image_26112025_19_19_45_9742.jpg
/home/pi/Desktop/images/26112025/19/19/image_26112025_19_19_55_9679.jpg
/home/pi/Desktop/images/26112025/19/20/image_26112025_19_20_18_12238.jpg
/home/pi/Desktop/images/26112025/19/20/image_26112025_19_20_25_6983.jpg
/home/pi/Desktop/images/26112025/19/20/image_26112025_19_20_35_10761.jpg
/home/pi/Desktop/images/26112025/19/20/image_26112025_19_20_45_9816.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":["1396299433","1396299432","1396299435","1396299452","1396299440","1396299434"],"photo_ids_order":["1396299432","1396299433","1396299434","1396299435","1396299440","1396299452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9d4b088cab36aea760b1430ca4030b4b.jpg","text":"TemporaryFile(/tmp/multipartBody8742561940792315900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191043829,"filename":"image_26112025_19_19_55_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d84c5df2cea19017e29127de48ad74ff.jpg","text":"TemporaryFile(/tmp/multipartBody569833255648148311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191043829,"filename":"image_26112025_19_19_45_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7681c8006172784059f638731996ee51.jpg","text":"TemporaryFile(/tmp/multipartBody5731358248149261900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191043829,"filename":"image_26112025_19_20_25_6983.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ce0f36b671a6c21205917d99a68dea17.jpg","text":"TemporaryFile(/tmp/multipartBody860779593501569658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191043829,"filename":"image_26112025_19_20_45_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/276092ce3be52f1946057f1b147ffe5b.jpg","text":"TemporaryFile(/tmp/multipartBody196784322012283706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191043829,"filename":"image_26112025_19_20_35_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6e3e02590584a390b820085463ff811a.jpg","text":"TemporaryFile(/tmp/multipartBody4676695106305088337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191043829,"filename":"image_26112025_19_20_18_12238.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396299434","file1":"1396299433","file0":"1396299432","file4":"1396299440","file5":"1396299452","file3":"1396299435"},"map_files_photo_id_array":[{"photo_id":"1396299452","filename":"file5"},{"photo_id":"1396299434","filename":"file2"},{"photo_id":"1396299440","filename":"file4"},{"photo_id":"1396299433","filename":"file1"},{"photo_id":"1396299432","filename":"file0"},{"photo_id":"1396299435","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396299433":["hashtag1","hashtag2"]},{"1396299432":["hashtag1","hashtag2"]},{"1396299435":["hashtag1","hashtag2"]},{"1396299452":["hashtag1","hashtag2"]},{"1396299440":["hashtag1","hashtag2"]},{"1396299434":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396299433, 1396299432, 1396299435, 1396299452, 1396299440, 1396299434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.125385999679565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 22:03:42.218538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_19_3577.jpg', '/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_22_2737.jpg', '/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_25_2705.jpg', '/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_28_3567.jpg', '/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_35_3686.jpg', '/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_37_2852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_19_3577.jpg
/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_22_2737.jpg
/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_25_2705.jpg
/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_28_3567.jpg
/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_35_3686.jpg
/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_37_2852.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":["1396299515","1396299487","1396299514","1396299516","1396299485","1396299518"],"photo_ids_order":["1396299485","1396299487","1396299514","1396299515","1396299516","1396299518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c3bf70e9cf733c99883ef3f18f400e6f.jpg","text":"TemporaryFile(/tmp/multipartBody2661774466870515096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191083684,"filename":"image_30102025_20_41_28_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/26/6b25ab8580ee186f35ccaf01ad33a999.jpg","text":"TemporaryFile(/tmp/multipartBody2051576264941557529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191083684,"filename":"image_30102025_20_41_22_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9a78e67b912fbf728b42beb81ec5cf5e.jpg","text":"TemporaryFile(/tmp/multipartBody7803581277390324198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191083684,"filename":"image_30102025_20_41_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/26/a60f9a374b0087dab9bcccc4dc7cfc0d.jpg","text":"TemporaryFile(/tmp/multipartBody5931069065128679033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191083684,"filename":"image_30102025_20_41_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/26/a7ad25f97b950726d847e06a7a208d86.jpg","text":"TemporaryFile(/tmp/multipartBody6311250911768546493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191083684,"filename":"image_30102025_20_41_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/26/b20eeeaf58b9d4fdcd44a13fb5a366d8.jpg","text":"TemporaryFile(/tmp/multipartBody1075552743142566373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191083684,"filename":"image_30102025_20_41_37_2852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396299514","file1":"1396299487","file0":"1396299485","file4":"1396299516","file5":"1396299518","file3":"1396299515"},"map_files_photo_id_array":[{"photo_id":"1396299518","filename":"file5"},{"photo_id":"1396299514","filename":"file2"},{"photo_id":"1396299516","filename":"file4"},{"photo_id":"1396299487","filename":"file1"},{"photo_id":"1396299485","filename":"file0"},{"photo_id":"1396299515","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396299515":["hashtag1","hashtag2"]},{"1396299487":["hashtag1","hashtag2"]},{"1396299514":["hashtag1","hashtag2"]},{"1396299516":["hashtag1","hashtag2"]},{"1396299485":["hashtag1","hashtag2"]},{"1396299518":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396299515, 1396299487, 1396299514, 1396299516, 1396299485, 1396299518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14849138259888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 22:04:22.422628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/20/image_26112025_19_20_56_10764.jpg', '/home/pi/Desktop/images/26112025/19/20/image_26112025_19_21_05_8617.jpg', '/home/pi/Desktop/images/26112025/19/21/image_26112025_19_21_15_10646.jpg', '/home/pi/Desktop/images/26112025/19/21/image_26112025_19_21_25_9851.jpg', '/home/pi/Desktop/images/26112025/19/21/image_26112025_19_21_35_9634.jpg', '/home/pi/Desktop/images/26112025/19/21/image_26112025_19_21_45_9816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/20/image_26112025_19_20_56_10764.jpg
/home/pi/Desktop/images/26112025/19/20/image_26112025_19_21_05_8617.jpg
/home/pi/Desktop/images/26112025/19/21/image_26112025_19_21_15_10646.jpg
/home/pi/Desktop/images/26112025/19/21/image_26112025_19_21_25_9851.jpg
/home/pi/Desktop/images/26112025/19/21/image_26112025_19_21_35_9634.jpg
/home/pi/Desktop/images/26112025/19/21/image_26112025_19_21_45_9816.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":["1396299541","1396299535","1396299544","1396299531","1396299537","1396299539"],"photo_ids_order":["1396299531","1396299535","1396299537","1396299539","1396299541","1396299544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b52e37be927d0fb21de5d476838da096.jpg","text":"TemporaryFile(/tmp/multipartBody2354474915467182579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191123167,"filename":"image_26112025_19_21_35_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/be2227b79e94a4b696fd7acd28708a3e.jpg","text":"TemporaryFile(/tmp/multipartBody8103157816011681125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191123167,"filename":"image_26112025_19_21_05_8617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/011b55f959686de38f03cdab1dd2d8f9.jpg","text":"TemporaryFile(/tmp/multipartBody2518457046358025724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191123167,"filename":"image_26112025_19_21_45_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ea6ffed44ccc8b88df47789c1eb43b5c.jpg","text":"TemporaryFile(/tmp/multipartBody3265789624308007483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191123167,"filename":"image_26112025_19_20_56_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ac16c8d70fe69609b7c28e74c159efef.jpg","text":"TemporaryFile(/tmp/multipartBody1911615737146630353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191123167,"filename":"image_26112025_19_21_15_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d0bbeeaf22cde4c4d0ba1ab0026d6715.jpg","text":"TemporaryFile(/tmp/multipartBody6844426103192429055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191123167,"filename":"image_26112025_19_21_25_9851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396299537","file1":"1396299535","file0":"1396299531","file4":"1396299541","file5":"1396299544","file3":"1396299539"},"map_files_photo_id_array":[{"photo_id":"1396299544","filename":"file5"},{"photo_id":"1396299537","filename":"file2"},{"photo_id":"1396299541","filename":"file4"},{"photo_id":"1396299535","filename":"file1"},{"photo_id":"1396299531","filename":"file0"},{"photo_id":"1396299539","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396299541":["hashtag1","hashtag2"]},{"1396299535":["hashtag1","hashtag2"]},{"1396299544":["hashtag1","hashtag2"]},{"1396299531":["hashtag1","hashtag2"]},{"1396299537":["hashtag1","hashtag2"]},{"1396299539":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396299541, 1396299535, 1396299544, 1396299531, 1396299537, 1396299539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80660343170166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 22:05:03.177016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/22/image_26112025_19_22_45_9610.jpg', '/home/pi/Desktop/images/26112025/19/22/image_26112025_19_23_04_9410.jpg', '/home/pi/Desktop/images/26112025/19/23/image_26112025_19_23_15_10621.jpg', '/home/pi/Desktop/images/26112025/19/23/image_26112025_19_23_34_9688.jpg', '/home/pi/Desktop/images/26112025/19/23/image_26112025_19_23_55_9727.jpg', '/home/pi/Desktop/images/26112025/19/24/image_26112025_19_24_15_10724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/22/image_26112025_19_22_45_9610.jpg
/home/pi/Desktop/images/26112025/19/22/image_26112025_19_23_04_9410.jpg
/home/pi/Desktop/images/26112025/19/23/image_26112025_19_23_15_10621.jpg
/home/pi/Desktop/images/26112025/19/23/image_26112025_19_23_34_9688.jpg
/home/pi/Desktop/images/26112025/19/23/image_26112025_19_23_55_9727.jpg
/home/pi/Desktop/images/26112025/19/24/image_26112025_19_24_15_10724.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":["1396299688","1396299547","1396299613","1396299578","1396299650","1396299545"],"photo_ids_order":["1396299545","1396299547","1396299578","1396299613","1396299650","1396299688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d0de069722dcb0384a6654b5507b9eab.jpg","text":"TemporaryFile(/tmp/multipartBody1219554911176421699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191164013,"filename":"image_26112025_19_24_15_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/88daf886a7f8465e62048cece3c93501.jpg","text":"TemporaryFile(/tmp/multipartBody7179703995819921552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191164013,"filename":"image_26112025_19_23_04_9410.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4d1d9cd8d0d450f7479f2c7ec62e7ccd.jpg","text":"TemporaryFile(/tmp/multipartBody5824525886541643351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191164013,"filename":"image_26112025_19_23_34_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e9e5193bdc135d6ffd7decfcec0dd125.jpg","text":"TemporaryFile(/tmp/multipartBody2656789424668449501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191164013,"filename":"image_26112025_19_23_15_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dc489ed8c8b5aa7c47ae27cc768b57ac.jpg","text":"TemporaryFile(/tmp/multipartBody270570322158529860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191164013,"filename":"image_26112025_19_23_55_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4146a74b8b95011222a1b01d194c5ee6.jpg","text":"TemporaryFile(/tmp/multipartBody1645617945098761779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191164013,"filename":"image_26112025_19_22_45_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396299578","file1":"1396299547","file0":"1396299545","file4":"1396299650","file5":"1396299688","file3":"1396299613"},"map_files_photo_id_array":[{"photo_id":"1396299688","filename":"file5"},{"photo_id":"1396299578","filename":"file2"},{"photo_id":"1396299650","filename":"file4"},{"photo_id":"1396299547","filename":"file1"},{"photo_id":"1396299545","filename":"file0"},{"photo_id":"1396299613","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396299688":["hashtag1","hashtag2"]},{"1396299547":["hashtag1","hashtag2"]},{"1396299613":["hashtag1","hashtag2"]},{"1396299578":["hashtag1","hashtag2"]},{"1396299650":["hashtag1","hashtag2"]},{"1396299545":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396299688, 1396299547, 1396299613, 1396299578, 1396299650, 1396299545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65809917449951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 22:05:42.591316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_40_2781.jpg', '/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_46_2636.jpg', '/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_50_3919.jpg', '/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_52_2761.jpg', '/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_01_2677.jpg', '/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_04_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_40_2781.jpg
/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_46_2636.jpg
/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_50_3919.jpg
/home/pi/Desktop/images/30102025/20/41/image_30102025_20_41_52_2761.jpg
/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_01_2677.jpg
/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_04_2581.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":["1396299877","1396300000","1396299949","1396299913","1396299829","1396299986"],"photo_ids_order":["1396299829","1396299877","1396299913","1396299949","1396299986","1396300000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0c6a529af48ab3dc4bbd8bb43fdb40d9.jpg","text":"TemporaryFile(/tmp/multipartBody95782867192553501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191204055,"filename":"image_30102025_20_41_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/26/34aed630ad94c39c001e16b79873a560.jpg","text":"TemporaryFile(/tmp/multipartBody1340271835106902167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191204055,"filename":"image_30102025_20_42_04_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/26/c94b776d4f58eb8b5e51d7372c52e128.jpg","text":"TemporaryFile(/tmp/multipartBody1118784154222606468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191204055,"filename":"image_30102025_20_41_52_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/26/cd5c604d0c0c91c4ec1bbab219f73707.jpg","text":"TemporaryFile(/tmp/multipartBody749240927029479804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191204055,"filename":"image_30102025_20_41_50_3919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3786d55ae93d8d8483b6c1414c869fe2.jpg","text":"TemporaryFile(/tmp/multipartBody3511869614185981477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191204055,"filename":"image_30102025_20_41_40_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/64b38d00f576528af3b98a197a216cad.jpg","text":"TemporaryFile(/tmp/multipartBody2574942947313114573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191204055,"filename":"image_30102025_20_42_01_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396299913","file1":"1396299877","file0":"1396299829","file4":"1396299986","file5":"1396300000","file3":"1396299949"},"map_files_photo_id_array":[{"photo_id":"1396300000","filename":"file5"},{"photo_id":"1396299913","filename":"file2"},{"photo_id":"1396299986","filename":"file4"},{"photo_id":"1396299877","filename":"file1"},{"photo_id":"1396299829","filename":"file0"},{"photo_id":"1396299949","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396299877":["hashtag1","hashtag2"]},{"1396300000":["hashtag1","hashtag2"]},{"1396299949":["hashtag1","hashtag2"]},{"1396299913":["hashtag1","hashtag2"]},{"1396299829":["hashtag1","hashtag2"]},{"1396299986":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396299877, 1396300000, 1396299949, 1396299913, 1396299829, 1396299986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90271496772766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 22:06:22.864833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/24/image_26112025_19_24_25_9579.jpg', '/home/pi/Desktop/images/26112025/19/24/image_26112025_19_24_34_9646.jpg', '/home/pi/Desktop/images/26112025/19/26/image_26112025_19_26_45_10739.jpg', '/home/pi/Desktop/images/26112025/19/27/image_26112025_19_27_15_10618.jpg', '/home/pi/Desktop/images/26112025/19/27/image_26112025_19_27_25_9647.jpg', '/home/pi/Desktop/images/26112025/19/27/image_26112025_19_27_45_10858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/24/image_26112025_19_24_25_9579.jpg
/home/pi/Desktop/images/26112025/19/24/image_26112025_19_24_34_9646.jpg
/home/pi/Desktop/images/26112025/19/26/image_26112025_19_26_45_10739.jpg
/home/pi/Desktop/images/26112025/19/27/image_26112025_19_27_15_10618.jpg
/home/pi/Desktop/images/26112025/19/27/image_26112025_19_27_25_9647.jpg
/home/pi/Desktop/images/26112025/19/27/image_26112025_19_27_45_10858.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":["1396300020","1396300169","1396300052","1396300093","1396300174","1396300135"],"photo_ids_order":["1396300020","1396300052","1396300093","1396300135","1396300169","1396300174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/92e8e5f91d7a4fdb7bcfd50a02775f55.jpg","text":"TemporaryFile(/tmp/multipartBody7829625177857636351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191243613,"filename":"image_26112025_19_24_25_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/12b19623469703e39ba4c7eb8d3e4192.jpg","text":"TemporaryFile(/tmp/multipartBody1342339929580649901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191243613,"filename":"image_26112025_19_27_25_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f1cf16cd3885e5a88aa6923921dd1df0.jpg","text":"TemporaryFile(/tmp/multipartBody8197427796393798424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191243613,"filename":"image_26112025_19_24_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/36db9a6d5a86378893302ced4eafe006.jpg","text":"TemporaryFile(/tmp/multipartBody5296588379471597616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191243613,"filename":"image_26112025_19_26_45_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/81386adcf02cb43888ff9d4243a44b94.jpg","text":"TemporaryFile(/tmp/multipartBody2755923947302767840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191243613,"filename":"image_26112025_19_27_45_10858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d2904c77df2c314b6201abddf61f4c4a.jpg","text":"TemporaryFile(/tmp/multipartBody8576302516519736200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191243613,"filename":"image_26112025_19_27_15_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396300093","file1":"1396300052","file0":"1396300020","file4":"1396300169","file5":"1396300174","file3":"1396300135"},"map_files_photo_id_array":[{"photo_id":"1396300174","filename":"file5"},{"photo_id":"1396300093","filename":"file2"},{"photo_id":"1396300169","filename":"file4"},{"photo_id":"1396300052","filename":"file1"},{"photo_id":"1396300020","filename":"file0"},{"photo_id":"1396300135","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396300020":["hashtag1","hashtag2"]},{"1396300169":["hashtag1","hashtag2"]},{"1396300052":["hashtag1","hashtag2"]},{"1396300093":["hashtag1","hashtag2"]},{"1396300174":["hashtag1","hashtag2"]},{"1396300135":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396300020, 1396300169, 1396300052, 1396300093, 1396300174, 1396300135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23355221748352 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 22:07:02.549010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/27/image_26112025_19_27_55_9656.jpg', '/home/pi/Desktop/images/26112025/19/27/image_26112025_19_28_05_9689.jpg', '/home/pi/Desktop/images/26112025/19/28/image_26112025_19_28_15_10678.jpg', '/home/pi/Desktop/images/26112025/19/28/image_26112025_19_28_35_9793.jpg', '/home/pi/Desktop/images/26112025/19/28/image_26112025_19_28_45_9712.jpg', '/home/pi/Desktop/images/26112025/19/28/image_26112025_19_28_55_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/27/image_26112025_19_27_55_9656.jpg
/home/pi/Desktop/images/26112025/19/27/image_26112025_19_28_05_9689.jpg
/home/pi/Desktop/images/26112025/19/28/image_26112025_19_28_15_10678.jpg
/home/pi/Desktop/images/26112025/19/28/image_26112025_19_28_35_9793.jpg
/home/pi/Desktop/images/26112025/19/28/image_26112025_19_28_45_9712.jpg
/home/pi/Desktop/images/26112025/19/28/image_26112025_19_28_55_10660.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":["1396300222","1396300224","1396300226","1396300231","1396300234","1396300228"],"photo_ids_order":["1396300222","1396300224","1396300226","1396300228","1396300231","1396300234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6dfdf90ba253af2d73ac45aae19b6419.jpg","text":"TemporaryFile(/tmp/multipartBody8703988422465728182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191283409,"filename":"image_26112025_19_27_55_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8b81bd990270bb130b92c63d48f09fa2.jpg","text":"TemporaryFile(/tmp/multipartBody1996302657012318885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191283409,"filename":"image_26112025_19_28_05_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/87ed12f92f8370957c89d3aa83e5d16a.jpg","text":"TemporaryFile(/tmp/multipartBody2413278258084076115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191283409,"filename":"image_26112025_19_28_15_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6764cdb33836ad03be733cc51637b2db.jpg","text":"TemporaryFile(/tmp/multipartBody2293499569999936970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191283409,"filename":"image_26112025_19_28_45_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/da47cd0d8cfc34252d6a9ffe3204d8f5.jpg","text":"TemporaryFile(/tmp/multipartBody5135848757869603191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191283409,"filename":"image_26112025_19_28_55_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6d3fc5851e41e61e478e623c8bc61530.jpg","text":"TemporaryFile(/tmp/multipartBody5156235509215177775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191283409,"filename":"image_26112025_19_28_35_9793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396300226","file1":"1396300224","file0":"1396300222","file4":"1396300231","file5":"1396300234","file3":"1396300228"},"map_files_photo_id_array":[{"photo_id":"1396300234","filename":"file5"},{"photo_id":"1396300226","filename":"file2"},{"photo_id":"1396300231","filename":"file4"},{"photo_id":"1396300224","filename":"file1"},{"photo_id":"1396300222","filename":"file0"},{"photo_id":"1396300228","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396300222":["hashtag1","hashtag2"]},{"1396300224":["hashtag1","hashtag2"]},{"1396300226":["hashtag1","hashtag2"]},{"1396300231":["hashtag1","hashtag2"]},{"1396300234":["hashtag1","hashtag2"]},{"1396300228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396300222, 1396300224, 1396300226, 1396300231, 1396300234, 1396300228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.826486587524414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 22:07:41.910938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_07_3671.jpg', '/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_10_2750.jpg', '/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_13_2550.jpg', '/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_16_3652.jpg', '/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_19_2634.jpg', '/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_22_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_07_3671.jpg
/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_10_2750.jpg
/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_13_2550.jpg
/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_16_3652.jpg
/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_19_2634.jpg
/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_22_2710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396300259","1396300244","1396300297","1396300363","1396300330","1396300246"],"photo_ids_order":["1396300244","1396300246","1396300259","1396300297","1396300330","1396300363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ef29cdfbdc46a748dd6c99465914f954.jpg","text":"TemporaryFile(/tmp/multipartBody1841072144184502370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191323371,"filename":"image_30102025_20_42_13_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/26/f03af09f87c1691c6ca867afa99791dd.jpg","text":"TemporaryFile(/tmp/multipartBody7910830645356754101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191323371,"filename":"image_30102025_20_42_07_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/26/f21d3ed653123f48817a57d3fc86c6d9.jpg","text":"TemporaryFile(/tmp/multipartBody6481731345679276111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191323371,"filename":"image_30102025_20_42_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/26/a05b09b8423b7b6d31cbf9309ec49c05.jpg","text":"TemporaryFile(/tmp/multipartBody8905806109955589600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191323371,"filename":"image_30102025_20_42_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/26/0399398fbf9466307f6b1db19d4f021d.jpg","text":"TemporaryFile(/tmp/multipartBody2824075933547909937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191323371,"filename":"image_30102025_20_42_19_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/26/bd89b2c0a8616e0f658fbf0c700b0042.jpg","text":"TemporaryFile(/tmp/multipartBody7236798567869286625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191323371,"filename":"image_30102025_20_42_10_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396300259","file1":"1396300246","file0":"1396300244","file4":"1396300330","file5":"1396300363","file3":"1396300297"},"map_files_photo_id_array":[{"photo_id":"1396300363","filename":"file5"},{"photo_id":"1396300259","filename":"file2"},{"photo_id":"1396300330","filename":"file4"},{"photo_id":"1396300246","filename":"file1"},{"photo_id":"1396300244","filename":"file0"},{"photo_id":"1396300297","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396300259":["hashtag1","hashtag2"]},{"1396300244":["hashtag1","hashtag2"]},{"1396300297":["hashtag1","hashtag2"]},{"1396300363":["hashtag1","hashtag2"]},{"1396300330":["hashtag1","hashtag2"]},{"1396300246":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396300259, 1396300244, 1396300297, 1396300363, 1396300330, 1396300246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62350916862488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 22:08:22.079741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/28/image_26112025_19_29_05_9709.jpg', '/home/pi/Desktop/images/26112025/19/29/image_26112025_19_29_15_9874.jpg', '/home/pi/Desktop/images/26112025/19/29/image_26112025_19_29_35_10824.jpg', '/home/pi/Desktop/images/26112025/19/31/image_26112025_19_31_24_10621.jpg', '/home/pi/Desktop/images/26112025/19/31/image_26112025_19_31_36_11250.jpg', '/home/pi/Desktop/images/26112025/19/31/image_26112025_19_31_44_8653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/28/image_26112025_19_29_05_9709.jpg
/home/pi/Desktop/images/26112025/19/29/image_26112025_19_29_15_9874.jpg
/home/pi/Desktop/images/26112025/19/29/image_26112025_19_29_35_10824.jpg
/home/pi/Desktop/images/26112025/19/31/image_26112025_19_31_24_10621.jpg
/home/pi/Desktop/images/26112025/19/31/image_26112025_19_31_36_11250.jpg
/home/pi/Desktop/images/26112025/19/31/image_26112025_19_31_44_8653.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":["1396300516","1396300521","1396300530","1396300511","1396300564","1396300519"],"photo_ids_order":["1396300511","1396300516","1396300519","1396300521","1396300530","1396300564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dd12eabf93efbc9894b78bc727a47a23.jpg","text":"TemporaryFile(/tmp/multipartBody3376996763304045905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191362835,"filename":"image_26112025_19_29_15_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/12ccdd28ef4a23fc7dbefb3f4ed0793b.jpg","text":"TemporaryFile(/tmp/multipartBody6432204405822471346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191362835,"filename":"image_26112025_19_31_24_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bee7d0cd2dba43254990cb348e71a326.jpg","text":"TemporaryFile(/tmp/multipartBody5127293345646754651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191362835,"filename":"image_26112025_19_31_36_11250.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d36a39c0da2840994bb14a69657713b4.jpg","text":"TemporaryFile(/tmp/multipartBody8043040514555549590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191362835,"filename":"image_26112025_19_29_05_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9a1e3d96d9b72bec7ef3b6f465f3b2c0.jpg","text":"TemporaryFile(/tmp/multipartBody8488396694993028605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191362835,"filename":"image_26112025_19_31_44_8653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e6eaa33141ad1fb33053f01c82f61b29.jpg","text":"TemporaryFile(/tmp/multipartBody3220144011646141810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191362835,"filename":"image_26112025_19_29_35_10824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396300519","file1":"1396300516","file0":"1396300511","file4":"1396300530","file5":"1396300564","file3":"1396300521"},"map_files_photo_id_array":[{"photo_id":"1396300564","filename":"file5"},{"photo_id":"1396300519","filename":"file2"},{"photo_id":"1396300530","filename":"file4"},{"photo_id":"1396300516","filename":"file1"},{"photo_id":"1396300511","filename":"file0"},{"photo_id":"1396300521","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396300516":["hashtag1","hashtag2"]},{"1396300521":["hashtag1","hashtag2"]},{"1396300530":["hashtag1","hashtag2"]},{"1396300511":["hashtag1","hashtag2"]},{"1396300564":["hashtag1","hashtag2"]},{"1396300519":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396300516, 1396300521, 1396300530, 1396300511, 1396300564, 1396300519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.120033740997314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 22:09:02.930211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/31/image_26112025_19_31_54_9681.jpg', '/home/pi/Desktop/images/26112025/19/31/image_26112025_19_32_04_10195.jpg', '/home/pi/Desktop/images/26112025/19/32/image_26112025_19_32_14_9642.jpg', '/home/pi/Desktop/images/26112025/19/32/image_26112025_19_32_24_10570.jpg', '/home/pi/Desktop/images/26112025/19/32/image_26112025_19_32_34_9739.jpg', '/home/pi/Desktop/images/26112025/19/32/image_26112025_19_33_05_10122.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/31/image_26112025_19_31_54_9681.jpg
/home/pi/Desktop/images/26112025/19/31/image_26112025_19_32_04_10195.jpg
/home/pi/Desktop/images/26112025/19/32/image_26112025_19_32_14_9642.jpg
/home/pi/Desktop/images/26112025/19/32/image_26112025_19_32_24_10570.jpg
/home/pi/Desktop/images/26112025/19/32/image_26112025_19_32_34_9739.jpg
/home/pi/Desktop/images/26112025/19/32/image_26112025_19_33_05_10122.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":["1396300659","1396300662","1396300656","1396300655","1396300654","1396300657"],"photo_ids_order":["1396300654","1396300655","1396300656","1396300657","1396300659","1396300662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c5f1ac78276703260c0797f81be2ea63.jpg","text":"TemporaryFile(/tmp/multipartBody7857824976849810732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191403831,"filename":"image_26112025_19_32_34_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7aaefb1a46a72e7ee3ecc2712cb7f882.jpg","text":"TemporaryFile(/tmp/multipartBody8597856622363049479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191403831,"filename":"image_26112025_19_33_05_10122.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/648075bbd4eb1bd7876f444807bbe30e.jpg","text":"TemporaryFile(/tmp/multipartBody7682239754429998609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191403831,"filename":"image_26112025_19_32_14_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/937bf90ace8173e225ef66d7bb859dba.jpg","text":"TemporaryFile(/tmp/multipartBody5904253735158457955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191403831,"filename":"image_26112025_19_32_04_10195.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/36383da053f03e3d29aaceb10f7ce42a.jpg","text":"TemporaryFile(/tmp/multipartBody3931383671473062338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191403831,"filename":"image_26112025_19_31_54_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3e6a5a2d07997e931c503f8fea5556f1.jpg","text":"TemporaryFile(/tmp/multipartBody3254163770508508438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191403831,"filename":"image_26112025_19_32_24_10570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396300656","file1":"1396300655","file0":"1396300654","file4":"1396300659","file5":"1396300662","file3":"1396300657"},"map_files_photo_id_array":[{"photo_id":"1396300662","filename":"file5"},{"photo_id":"1396300656","filename":"file2"},{"photo_id":"1396300659","filename":"file4"},{"photo_id":"1396300655","filename":"file1"},{"photo_id":"1396300654","filename":"file0"},{"photo_id":"1396300657","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396300659":["hashtag1","hashtag2"]},{"1396300662":["hashtag1","hashtag2"]},{"1396300656":["hashtag1","hashtag2"]},{"1396300655":["hashtag1","hashtag2"]},{"1396300654":["hashtag1","hashtag2"]},{"1396300657":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396300659, 1396300662, 1396300656, 1396300655, 1396300654, 1396300657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83049392700195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 22:09:42.302170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_25_3615.jpg', '/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_28_2656.jpg', '/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_34_3621.jpg', '/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_37_2873.jpg', '/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_46_3624.jpg', '/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_49_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_25_3615.jpg
/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_28_2656.jpg
/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_34_3621.jpg
/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_37_2873.jpg
/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_46_3624.jpg
/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_49_2714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396300677","1396300676","1396300679","1396300672","1396300675","1396300678"],"photo_ids_order":["1396300672","1396300675","1396300676","1396300677","1396300678","1396300679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/570a5f41805f00e35cac92d7081dfd9b.jpg","text":"TemporaryFile(/tmp/multipartBody5134837121972713365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191443789,"filename":"image_30102025_20_42_37_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/26/12a13329426370e7ab97c288e5204344.jpg","text":"TemporaryFile(/tmp/multipartBody4151710134396926350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191443789,"filename":"image_30102025_20_42_34_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c072b73a170b8a66e6b225073dfbdde1.jpg","text":"TemporaryFile(/tmp/multipartBody3760536885215977325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191443789,"filename":"image_30102025_20_42_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/26/2e31ecc75c0bb62127b8332af05d9534.jpg","text":"TemporaryFile(/tmp/multipartBody2240559034602886246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191443789,"filename":"image_30102025_20_42_25_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/26/848e80f30cde0457bdd193c6eb5b66d3.jpg","text":"TemporaryFile(/tmp/multipartBody1491918776449943404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191443789,"filename":"image_30102025_20_42_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/26/0de3ca4e1e9cb719c151a74c1d4a47b7.jpg","text":"TemporaryFile(/tmp/multipartBody8529753261090710751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191443789,"filename":"image_30102025_20_42_46_3624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396300676","file1":"1396300675","file0":"1396300672","file4":"1396300678","file5":"1396300679","file3":"1396300677"},"map_files_photo_id_array":[{"photo_id":"1396300679","filename":"file5"},{"photo_id":"1396300676","filename":"file2"},{"photo_id":"1396300678","filename":"file4"},{"photo_id":"1396300675","filename":"file1"},{"photo_id":"1396300672","filename":"file0"},{"photo_id":"1396300677","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396300677":["hashtag1","hashtag2"]},{"1396300676":["hashtag1","hashtag2"]},{"1396300679":["hashtag1","hashtag2"]},{"1396300672":["hashtag1","hashtag2"]},{"1396300675":["hashtag1","hashtag2"]},{"1396300678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396300677, 1396300676, 1396300679, 1396300672, 1396300675, 1396300678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.906492471694946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 22:10:22.462076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/33/image_26112025_19_33_14_9600.jpg', '/home/pi/Desktop/images/26112025/19/33/image_26112025_19_33_24_9705.jpg', '/home/pi/Desktop/images/26112025/19/33/image_26112025_19_33_34_9831.jpg', '/home/pi/Desktop/images/26112025/19/33/image_26112025_19_33_54_9649.jpg', '/home/pi/Desktop/images/26112025/19/33/image_26112025_19_34_04_9779.jpg', '/home/pi/Desktop/images/26112025/19/34/image_26112025_19_34_15_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/33/image_26112025_19_33_14_9600.jpg
/home/pi/Desktop/images/26112025/19/33/image_26112025_19_33_24_9705.jpg
/home/pi/Desktop/images/26112025/19/33/image_26112025_19_33_34_9831.jpg
/home/pi/Desktop/images/26112025/19/33/image_26112025_19_33_54_9649.jpg
/home/pi/Desktop/images/26112025/19/33/image_26112025_19_34_04_9779.jpg
/home/pi/Desktop/images/26112025/19/34/image_26112025_19_34_15_10651.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":["1396300695","1396300698","1396300685","1396300690","1396300693","1396300687"],"photo_ids_order":["1396300685","1396300687","1396300690","1396300693","1396300695","1396300698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/af837a0e0102c9b084452a1aa7155b6e.jpg","text":"TemporaryFile(/tmp/multipartBody7160142469617781185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191483256,"filename":"image_26112025_19_34_04_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a64c6f1ad55205488177d8b28b876997.jpg","text":"TemporaryFile(/tmp/multipartBody8116058776714535255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191483256,"filename":"image_26112025_19_34_15_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/093c2a4234a96233573b3411bd289cdc.jpg","text":"TemporaryFile(/tmp/multipartBody6158063861916459464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191483256,"filename":"image_26112025_19_33_14_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/42ae73be545dd7a6f0666c3799410680.jpg","text":"TemporaryFile(/tmp/multipartBody8310824285893237084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191483256,"filename":"image_26112025_19_33_34_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/98f61c4566c284d084d8765fe2f31b1e.jpg","text":"TemporaryFile(/tmp/multipartBody7091599848588486092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191483256,"filename":"image_26112025_19_33_54_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2013046a93636825151f72059cba9948.jpg","text":"TemporaryFile(/tmp/multipartBody6624850341526121855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191483256,"filename":"image_26112025_19_33_24_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396300690","file1":"1396300687","file0":"1396300685","file4":"1396300695","file5":"1396300698","file3":"1396300693"},"map_files_photo_id_array":[{"photo_id":"1396300698","filename":"file5"},{"photo_id":"1396300690","filename":"file2"},{"photo_id":"1396300695","filename":"file4"},{"photo_id":"1396300687","filename":"file1"},{"photo_id":"1396300685","filename":"file0"},{"photo_id":"1396300693","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396300695":["hashtag1","hashtag2"]},{"1396300698":["hashtag1","hashtag2"]},{"1396300685":["hashtag1","hashtag2"]},{"1396300690":["hashtag1","hashtag2"]},{"1396300693":["hashtag1","hashtag2"]},{"1396300687":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396300695, 1396300698, 1396300685, 1396300690, 1396300693, 1396300687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58723735809326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 22:11:03.587070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/34/image_26112025_19_34_24_9790.jpg', '/home/pi/Desktop/images/26112025/19/34/image_26112025_19_34_44_9673.jpg', '/home/pi/Desktop/images/26112025/19/34/image_26112025_19_35_04_9650.jpg', '/home/pi/Desktop/images/26112025/19/35/image_26112025_19_35_14_10720.jpg', '/home/pi/Desktop/images/26112025/19/35/image_26112025_19_35_24_9571.jpg', '/home/pi/Desktop/images/26112025/19/35/image_26112025_19_35_34_10254.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/34/image_26112025_19_34_24_9790.jpg
/home/pi/Desktop/images/26112025/19/34/image_26112025_19_34_44_9673.jpg
/home/pi/Desktop/images/26112025/19/34/image_26112025_19_35_04_9650.jpg
/home/pi/Desktop/images/26112025/19/35/image_26112025_19_35_14_10720.jpg
/home/pi/Desktop/images/26112025/19/35/image_26112025_19_35_24_9571.jpg
/home/pi/Desktop/images/26112025/19/35/image_26112025_19_35_34_10254.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":["1396300714","1396300713","1396300716","1396300710","1396300712","1396300720"],"photo_ids_order":["1396300710","1396300712","1396300713","1396300714","1396300716","1396300720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4f34ed8ec6ab8d47bd7ff5e41316652e.jpg","text":"TemporaryFile(/tmp/multipartBody2681251834474727746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191524474,"filename":"image_26112025_19_35_14_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f5d7e962547162442fe008c62999e6f5.jpg","text":"TemporaryFile(/tmp/multipartBody2824672657021925285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191524474,"filename":"image_26112025_19_35_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f04f6d3c638fa542a9578f194af0c173.jpg","text":"TemporaryFile(/tmp/multipartBody4070201300210257369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191524474,"filename":"image_26112025_19_35_24_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5b2f4e685dea1541f3930f3c3c91fbc2.jpg","text":"TemporaryFile(/tmp/multipartBody824265834739753592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191524474,"filename":"image_26112025_19_34_24_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8c7ceceb058a08ea90fe5c7b336816ba.jpg","text":"TemporaryFile(/tmp/multipartBody1040381444760512313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191524474,"filename":"image_26112025_19_34_44_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a0196dc95a36627fd9e230ab4c3a50b7.jpg","text":"TemporaryFile(/tmp/multipartBody4308949785373360139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191524474,"filename":"image_26112025_19_35_34_10254.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396300713","file1":"1396300712","file0":"1396300710","file4":"1396300716","file5":"1396300720","file3":"1396300714"},"map_files_photo_id_array":[{"photo_id":"1396300720","filename":"file5"},{"photo_id":"1396300713","filename":"file2"},{"photo_id":"1396300716","filename":"file4"},{"photo_id":"1396300712","filename":"file1"},{"photo_id":"1396300710","filename":"file0"},{"photo_id":"1396300714","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396300714":["hashtag1","hashtag2"]},{"1396300713":["hashtag1","hashtag2"]},{"1396300716":["hashtag1","hashtag2"]},{"1396300710":["hashtag1","hashtag2"]},{"1396300712":["hashtag1","hashtag2"]},{"1396300720":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396300714, 1396300713, 1396300716, 1396300710, 1396300712, 1396300720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.460368156433105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 22:11:42.814277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_52_2753.jpg', '/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_58_2791.jpg', '/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_01_2779.jpg', '/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_04_2674.jpg', '/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_07_3642.jpg', '/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_12_5064.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_52_2753.jpg
/home/pi/Desktop/images/30102025/20/42/image_30102025_20_42_58_2791.jpg
/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_01_2779.jpg
/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_04_2674.jpg
/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_07_3642.jpg
/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_12_5064.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":["1396300740","1396300737","1396300736","1396300735","1396300729","1396300738"],"photo_ids_order":["1396300729","1396300735","1396300736","1396300737","1396300738","1396300740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/629c44287029add3b5e54f85e199af35.jpg","text":"TemporaryFile(/tmp/multipartBody2179819849161587058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191564283,"filename":"image_30102025_20_43_12_5064.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c745dd889eb3333e94945f2835637e4c.jpg","text":"TemporaryFile(/tmp/multipartBody3052659942247444720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191564283,"filename":"image_30102025_20_43_04_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/26/432f6ed90302353224d2f354dcab4e22.jpg","text":"TemporaryFile(/tmp/multipartBody965029419878679614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191564283,"filename":"image_30102025_20_43_01_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/26/9d6dde07031ae76904a8628a4b7ccb7b.jpg","text":"TemporaryFile(/tmp/multipartBody3567455978512149187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191564283,"filename":"image_30102025_20_42_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/26/db6b74acf3e41c39b801ece86e7e02a7.jpg","text":"TemporaryFile(/tmp/multipartBody7958381560260040795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191564283,"filename":"image_30102025_20_42_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/26/524190e519ce9309bb39d764b9213611.jpg","text":"TemporaryFile(/tmp/multipartBody4904932883805640778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191564283,"filename":"image_30102025_20_43_07_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396300736","file1":"1396300735","file0":"1396300729","file4":"1396300738","file5":"1396300740","file3":"1396300737"},"map_files_photo_id_array":[{"photo_id":"1396300740","filename":"file5"},{"photo_id":"1396300736","filename":"file2"},{"photo_id":"1396300738","filename":"file4"},{"photo_id":"1396300735","filename":"file1"},{"photo_id":"1396300729","filename":"file0"},{"photo_id":"1396300737","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396300740":["hashtag1","hashtag2"]},{"1396300737":["hashtag1","hashtag2"]},{"1396300736":["hashtag1","hashtag2"]},{"1396300735":["hashtag1","hashtag2"]},{"1396300729":["hashtag1","hashtag2"]},{"1396300738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396300740, 1396300737, 1396300736, 1396300735, 1396300729, 1396300738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.573506593704224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 22:12:22.027039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/35/image_26112025_19_35_44_9548.jpg', '/home/pi/Desktop/images/26112025/19/35/image_26112025_19_35_59_15026.jpg', '/home/pi/Desktop/images/26112025/19/36/image_26112025_19_36_04_4885.jpg', '/home/pi/Desktop/images/26112025/19/36/image_26112025_19_36_15_10815.jpg', '/home/pi/Desktop/images/26112025/19/36/image_26112025_19_36_34_8576.jpg', '/home/pi/Desktop/images/26112025/19/36/image_26112025_19_36_44_10751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/35/image_26112025_19_35_44_9548.jpg
/home/pi/Desktop/images/26112025/19/35/image_26112025_19_35_59_15026.jpg
/home/pi/Desktop/images/26112025/19/36/image_26112025_19_36_04_4885.jpg
/home/pi/Desktop/images/26112025/19/36/image_26112025_19_36_15_10815.jpg
/home/pi/Desktop/images/26112025/19/36/image_26112025_19_36_34_8576.jpg
/home/pi/Desktop/images/26112025/19/36/image_26112025_19_36_44_10751.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":["1396300752","1396300746","1396300749","1396300743","1396300778","1396300774"],"photo_ids_order":["1396300743","1396300746","1396300749","1396300752","1396300774","1396300778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a78867ebedbb958b361a4ad2c6a78c75.jpg","text":"TemporaryFile(/tmp/multipartBody38451731960045073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191602810,"filename":"image_26112025_19_36_15_10815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6aab5a4acd88e483c893d34abb6e6451.jpg","text":"TemporaryFile(/tmp/multipartBody7477760186100578713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191602810,"filename":"image_26112025_19_35_59_15026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/12d1021041cb61dcddf587303bf8f3b9.jpg","text":"TemporaryFile(/tmp/multipartBody2893220522896058156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191602810,"filename":"image_26112025_19_36_04_4885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/48ed15da0ffb04baece1e9fcf8722eeb.jpg","text":"TemporaryFile(/tmp/multipartBody701836611412327356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191602810,"filename":"image_26112025_19_35_44_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2fd0e8c5633c048c27af06ad32e7c2aa.jpg","text":"TemporaryFile(/tmp/multipartBody2500336092740248047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191602810,"filename":"image_26112025_19_36_44_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/15ac599f53ab8c1f1873e4026b670fc7.jpg","text":"TemporaryFile(/tmp/multipartBody5702965886162773081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191602810,"filename":"image_26112025_19_36_34_8576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396300749","file1":"1396300746","file0":"1396300743","file4":"1396300774","file5":"1396300778","file3":"1396300752"},"map_files_photo_id_array":[{"photo_id":"1396300778","filename":"file5"},{"photo_id":"1396300749","filename":"file2"},{"photo_id":"1396300774","filename":"file4"},{"photo_id":"1396300746","filename":"file1"},{"photo_id":"1396300743","filename":"file0"},{"photo_id":"1396300752","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396300752":["hashtag1","hashtag2"]},{"1396300746":["hashtag1","hashtag2"]},{"1396300749":["hashtag1","hashtag2"]},{"1396300743":["hashtag1","hashtag2"]},{"1396300778":["hashtag1","hashtag2"]},{"1396300774":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396300752, 1396300746, 1396300749, 1396300743, 1396300778, 1396300774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.536224126815796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 22:13:02.733850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/37/image_26112025_19_37_01_16275.jpg', '/home/pi/Desktop/images/26112025/19/37/image_26112025_19_37_24_9792.jpg', '/home/pi/Desktop/images/26112025/19/37/image_26112025_19_37_34_10652.jpg', '/home/pi/Desktop/images/26112025/19/37/image_26112025_19_37_44_9639.jpg', '/home/pi/Desktop/images/26112025/19/37/image_26112025_19_37_54_9869.jpg', '/home/pi/Desktop/images/26112025/19/38/image_26112025_19_38_14_10735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/37/image_26112025_19_37_01_16275.jpg
/home/pi/Desktop/images/26112025/19/37/image_26112025_19_37_24_9792.jpg
/home/pi/Desktop/images/26112025/19/37/image_26112025_19_37_34_10652.jpg
/home/pi/Desktop/images/26112025/19/37/image_26112025_19_37_44_9639.jpg
/home/pi/Desktop/images/26112025/19/37/image_26112025_19_37_54_9869.jpg
/home/pi/Desktop/images/26112025/19/38/image_26112025_19_38_14_10735.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":["1396300782","1396300791","1396300806","1396300796","1396300798","1396300795"],"photo_ids_order":["1396300782","1396300791","1396300795","1396300796","1396300798","1396300806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2939339c90ff3e8fbc1bfe6e3006adca.jpg","text":"TemporaryFile(/tmp/multipartBody1312638467574488702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191643585,"filename":"image_26112025_19_37_01_16275.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/26e1d7c3e1f9033833c13eb6d7da2365.jpg","text":"TemporaryFile(/tmp/multipartBody4988930289473696561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191643585,"filename":"image_26112025_19_37_24_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b670e83d9f2ff8e3980b13aa108f8a24.jpg","text":"TemporaryFile(/tmp/multipartBody6029758162262465641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191643585,"filename":"image_26112025_19_38_14_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/de54d69ae1158ad5c4f30d95e8beb5a2.jpg","text":"TemporaryFile(/tmp/multipartBody8989891951862567846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191643585,"filename":"image_26112025_19_37_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/58f90661bb769c73cff7a89c0088c60f.jpg","text":"TemporaryFile(/tmp/multipartBody7462334821517212061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191643585,"filename":"image_26112025_19_37_54_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/de0ef9e185334ee4a7e4e37d7d8c4b2a.jpg","text":"TemporaryFile(/tmp/multipartBody5503413063269043320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191643585,"filename":"image_26112025_19_37_34_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396300795","file1":"1396300791","file0":"1396300782","file4":"1396300798","file5":"1396300806","file3":"1396300796"},"map_files_photo_id_array":[{"photo_id":"1396300806","filename":"file5"},{"photo_id":"1396300795","filename":"file2"},{"photo_id":"1396300798","filename":"file4"},{"photo_id":"1396300791","filename":"file1"},{"photo_id":"1396300782","filename":"file0"},{"photo_id":"1396300796","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396300782":["hashtag1","hashtag2"]},{"1396300791":["hashtag1","hashtag2"]},{"1396300806":["hashtag1","hashtag2"]},{"1396300796":["hashtag1","hashtag2"]},{"1396300798":["hashtag1","hashtag2"]},{"1396300795":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396300782, 1396300791, 1396300806, 1396300796, 1396300798, 1396300795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.76682257652283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 22:13:42.169916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_22_2648.jpg', '/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_25_3560.jpg', '/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_31_3288.jpg', '/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_34_2572.jpg', '/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_36_2618.jpg', '/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_40_3604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_22_2648.jpg
/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_25_3560.jpg
/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_31_3288.jpg
/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_34_2572.jpg
/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_36_2618.jpg
/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_40_3604.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":["1396300950","1396300953","1396300952","1396300949","1396300940","1396300951"],"photo_ids_order":["1396300940","1396300949","1396300950","1396300951","1396300952","1396300953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2e0c699854c6df806e51727ea6052040.jpg","text":"TemporaryFile(/tmp/multipartBody7691826147814605875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191683630,"filename":"image_30102025_20_43_31_3288.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fca06d4c88557fe527d7c45614cde969.jpg","text":"TemporaryFile(/tmp/multipartBody7548693618869444863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191683630,"filename":"image_30102025_20_43_40_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/26/80c7d19411ecf9c3ca2da9a2000579af.jpg","text":"TemporaryFile(/tmp/multipartBody3999578866833575713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191683630,"filename":"image_30102025_20_43_36_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/26/0db77b6512fea25c19301e64a6737747.jpg","text":"TemporaryFile(/tmp/multipartBody7227272655389553155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191683630,"filename":"image_30102025_20_43_25_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/26/f8d106f682b71a3d060d50c3521f4c8b.jpg","text":"TemporaryFile(/tmp/multipartBody7829399114504248601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191683630,"filename":"image_30102025_20_43_22_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/26/75eaf6c3c41906d4eae863ba18a35a14.jpg","text":"TemporaryFile(/tmp/multipartBody5023803317715713226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191683630,"filename":"image_30102025_20_43_34_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396300950","file1":"1396300949","file0":"1396300940","file4":"1396300952","file5":"1396300953","file3":"1396300951"},"map_files_photo_id_array":[{"photo_id":"1396300953","filename":"file5"},{"photo_id":"1396300950","filename":"file2"},{"photo_id":"1396300952","filename":"file4"},{"photo_id":"1396300949","filename":"file1"},{"photo_id":"1396300940","filename":"file0"},{"photo_id":"1396300951","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396300950":["hashtag1","hashtag2"]},{"1396300953":["hashtag1","hashtag2"]},{"1396300952":["hashtag1","hashtag2"]},{"1396300949":["hashtag1","hashtag2"]},{"1396300940":["hashtag1","hashtag2"]},{"1396300951":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396300950, 1396300953, 1396300952, 1396300949, 1396300940, 1396300951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.337430238723755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 22:14:22.390973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/38/image_26112025_19_38_24_9644.jpg', '/home/pi/Desktop/images/26112025/19/38/image_26112025_19_38_34_9802.jpg', '/home/pi/Desktop/images/26112025/19/38/image_26112025_19_38_45_10658.jpg', '/home/pi/Desktop/images/26112025/19/38/image_26112025_19_38_54_9795.jpg', '/home/pi/Desktop/images/26112025/19/39/image_26112025_19_39_04_9578.jpg', '/home/pi/Desktop/images/26112025/19/39/image_26112025_19_39_25_10828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/38/image_26112025_19_38_24_9644.jpg
/home/pi/Desktop/images/26112025/19/38/image_26112025_19_38_34_9802.jpg
/home/pi/Desktop/images/26112025/19/38/image_26112025_19_38_45_10658.jpg
/home/pi/Desktop/images/26112025/19/38/image_26112025_19_38_54_9795.jpg
/home/pi/Desktop/images/26112025/19/39/image_26112025_19_39_04_9578.jpg
/home/pi/Desktop/images/26112025/19/39/image_26112025_19_39_25_10828.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":["1396300974","1396300962","1396300965","1396300959","1396300964","1396300957"],"photo_ids_order":["1396300957","1396300959","1396300962","1396300964","1396300965","1396300974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4becae5a041d3f6c1165e7f7bf37bff9.jpg","text":"TemporaryFile(/tmp/multipartBody8383780015001175733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191723156,"filename":"image_26112025_19_39_25_10828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6013529bca6460785b91cc8b51764eff.jpg","text":"TemporaryFile(/tmp/multipartBody790799300326187278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191723156,"filename":"image_26112025_19_38_45_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/955dbef8529fdaed09cbf1d53d5773ed.jpg","text":"TemporaryFile(/tmp/multipartBody2559192580844968584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191723156,"filename":"image_26112025_19_39_04_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0a23f3a2be77baa45dc7bc8ef6d12b1d.jpg","text":"TemporaryFile(/tmp/multipartBody6555374579570510098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191723156,"filename":"image_26112025_19_38_34_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2f96cf9cd9badb8df612e320bfbcdde7.jpg","text":"TemporaryFile(/tmp/multipartBody5701987423575020311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191723156,"filename":"image_26112025_19_38_54_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4d7ae820c70acae43bc1ed73bd5a2f5a.jpg","text":"TemporaryFile(/tmp/multipartBody2738325985629377489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191723156,"filename":"image_26112025_19_38_24_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396300962","file1":"1396300959","file0":"1396300957","file4":"1396300965","file5":"1396300974","file3":"1396300964"},"map_files_photo_id_array":[{"photo_id":"1396300974","filename":"file5"},{"photo_id":"1396300962","filename":"file2"},{"photo_id":"1396300965","filename":"file4"},{"photo_id":"1396300959","filename":"file1"},{"photo_id":"1396300957","filename":"file0"},{"photo_id":"1396300964","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396300974":["hashtag1","hashtag2"]},{"1396300962":["hashtag1","hashtag2"]},{"1396300965":["hashtag1","hashtag2"]},{"1396300959":["hashtag1","hashtag2"]},{"1396300964":["hashtag1","hashtag2"]},{"1396300957":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396300974, 1396300962, 1396300965, 1396300959, 1396300964, 1396300957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27707529067993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 22:15:03.152952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/39/image_26112025_19_39_34_9586.jpg', '/home/pi/Desktop/images/26112025/19/39/image_26112025_19_39_44_9718.jpg', '/home/pi/Desktop/images/26112025/19/39/image_26112025_19_39_54_9702.jpg', '/home/pi/Desktop/images/26112025/19/39/image_26112025_19_40_04_10643.jpg', '/home/pi/Desktop/images/26112025/19/40/image_26112025_19_40_14_9788.jpg', '/home/pi/Desktop/images/26112025/19/40/image_26112025_19_40_24_9814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/39/image_26112025_19_39_34_9586.jpg
/home/pi/Desktop/images/26112025/19/39/image_26112025_19_39_44_9718.jpg
/home/pi/Desktop/images/26112025/19/39/image_26112025_19_39_54_9702.jpg
/home/pi/Desktop/images/26112025/19/39/image_26112025_19_40_04_10643.jpg
/home/pi/Desktop/images/26112025/19/40/image_26112025_19_40_14_9788.jpg
/home/pi/Desktop/images/26112025/19/40/image_26112025_19_40_24_9814.jpg
 val : 1 : upload photos already in processing! 
 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":["1396300995","1396300989","1396300997","1396301000","1396300993","1396300975"],"photo_ids_order":["1396300975","1396300989","1396300993","1396300995","1396300997","1396301000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/273229829b90afe523d76fa26c3e56a1.jpg","text":"TemporaryFile(/tmp/multipartBody72194003446473259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191764031,"filename":"image_26112025_19_40_04_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6863f9bc057bf9aec7b9c214b4a2c531.jpg","text":"TemporaryFile(/tmp/multipartBody4850332905066342362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191764031,"filename":"image_26112025_19_39_44_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8432139e0e247cc1c17f119eed429ecc.jpg","text":"TemporaryFile(/tmp/multipartBody7233832998737949934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191764031,"filename":"image_26112025_19_40_14_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4284137906ffcdf78b19e9866c1fc678.jpg","text":"TemporaryFile(/tmp/multipartBody8333089736253892720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191764031,"filename":"image_26112025_19_40_24_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f75ac1ae4f9aeecd0ef09bdbd5b3a2c2.jpg","text":"TemporaryFile(/tmp/multipartBody8060343446250818616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191764031,"filename":"image_26112025_19_39_54_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c4c144fa0f1dd94510158e444e59d7f5.jpg","text":"TemporaryFile(/tmp/multipartBody7438440875646084285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191764031,"filename":"image_26112025_19_39_34_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396300993","file1":"1396300989","file0":"1396300975","file4":"1396300997","file5":"1396301000","file3":"1396300995"},"map_files_photo_id_array":[{"photo_id":"1396301000","filename":"file5"},{"photo_id":"1396300993","filename":"file2"},{"photo_id":"1396300997","filename":"file4"},{"photo_id":"1396300989","filename":"file1"},{"photo_id":"1396300975","filename":"file0"},{"photo_id":"1396300995","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396300995":["hashtag1","hashtag2"]},{"1396300989":["hashtag1","hashtag2"]},{"1396300997":["hashtag1","hashtag2"]},{"1396301000":["hashtag1","hashtag2"]},{"1396300993":["hashtag1","hashtag2"]},{"1396300975":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396300995, 1396300989, 1396300997, 1396301000, 1396300993, 1396300975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.66032099723816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 22:16:03.173912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/40/image_26112025_19_40_34_10563.jpg', '/home/pi/Desktop/images/26112025/19/40/image_26112025_19_40_44_9695.jpg', '/home/pi/Desktop/images/26112025/19/40/image_26112025_19_40_54_9822.jpg', '/home/pi/Desktop/images/26112025/19/40/image_26112025_19_41_05_10644.jpg', '/home/pi/Desktop/images/26112025/19/41/image_26112025_19_41_24_9959.jpg', '/home/pi/Desktop/images/26112025/19/41/image_26112025_19_41_34_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/40/image_26112025_19_40_34_10563.jpg
/home/pi/Desktop/images/26112025/19/40/image_26112025_19_40_44_9695.jpg
/home/pi/Desktop/images/26112025/19/40/image_26112025_19_40_54_9822.jpg
/home/pi/Desktop/images/26112025/19/40/image_26112025_19_41_05_10644.jpg
/home/pi/Desktop/images/26112025/19/41/image_26112025_19_41_24_9959.jpg
/home/pi/Desktop/images/26112025/19/41/image_26112025_19_41_34_9762.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":["1396301019","1396301045","1396301039","1396301006","1396301047","1396301020"],"photo_ids_order":["1396301006","1396301019","1396301020","1396301039","1396301045","1396301047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5ef14ba17088b33f507954624085841a.jpg","text":"TemporaryFile(/tmp/multipartBody1187002079929800187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191823948,"filename":"image_26112025_19_40_44_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/af22badaa361418d2635b33848ee5404.jpg","text":"TemporaryFile(/tmp/multipartBody3131085317006279440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191823948,"filename":"image_26112025_19_41_24_9959.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b70c51abb4d70724689207ac79dd3854.jpg","text":"TemporaryFile(/tmp/multipartBody3873898618000683428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191823948,"filename":"image_26112025_19_41_05_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/05b9cde93b0ad0ad0df3006e59077c97.jpg","text":"TemporaryFile(/tmp/multipartBody8534121250426237762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191823948,"filename":"image_26112025_19_40_34_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4bf9229e46c3c77d70cdf93ae8539acd.jpg","text":"TemporaryFile(/tmp/multipartBody7822796990982171890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191823948,"filename":"image_26112025_19_41_34_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6c38ed7612ed707314e46f07be9bbf55.jpg","text":"TemporaryFile(/tmp/multipartBody5134158310452850333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191823948,"filename":"image_26112025_19_40_54_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396301020","file1":"1396301019","file0":"1396301006","file4":"1396301045","file5":"1396301047","file3":"1396301039"},"map_files_photo_id_array":[{"photo_id":"1396301047","filename":"file5"},{"photo_id":"1396301020","filename":"file2"},{"photo_id":"1396301045","filename":"file4"},{"photo_id":"1396301019","filename":"file1"},{"photo_id":"1396301006","filename":"file0"},{"photo_id":"1396301039","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396301019":["hashtag1","hashtag2"]},{"1396301045":["hashtag1","hashtag2"]},{"1396301039":["hashtag1","hashtag2"]},{"1396301006":["hashtag1","hashtag2"]},{"1396301047":["hashtag1","hashtag2"]},{"1396301020":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396301019, 1396301045, 1396301039, 1396301006, 1396301047, 1396301020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.453596353530884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 22:16:42.678550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_43_2557.jpg', '/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_46_3738.jpg', '/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_52_2670.jpg', '/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_55_3648.jpg', '/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_58_2669.jpg', '/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_03_2756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_43_2557.jpg
/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_46_3738.jpg
/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_52_2670.jpg
/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_55_3648.jpg
/home/pi/Desktop/images/30102025/20/43/image_30102025_20_43_58_2669.jpg
/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_03_2756.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":["1396301070","1396301064","1396301066","1396301081","1396301069","1396301068"],"photo_ids_order":["1396301064","1396301066","1396301068","1396301069","1396301070","1396301081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7e54dce082fc94c40aa8707814a997f6.jpg","text":"TemporaryFile(/tmp/multipartBody3636627833045718701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191864158,"filename":"image_30102025_20_43_58_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/26/39e08e4cc777552ee14b9e48086a43cf.jpg","text":"TemporaryFile(/tmp/multipartBody6097574815372331760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191864158,"filename":"image_30102025_20_43_43_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/26/f6d846cf5dbb63c6ed53ed631dc6ed00.jpg","text":"TemporaryFile(/tmp/multipartBody6605145764808355367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191864158,"filename":"image_30102025_20_43_46_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/26/ee90af73a2358ddf89d69db3f5071911.jpg","text":"TemporaryFile(/tmp/multipartBody1729775750817692683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191864158,"filename":"image_30102025_20_44_03_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/26/6a7ad51b062777559229cceed0c49421.jpg","text":"TemporaryFile(/tmp/multipartBody8162377263213577539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191864158,"filename":"image_30102025_20_43_55_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/26/6ccc97a7c36d4382cfc9dd3ba5945d08.jpg","text":"TemporaryFile(/tmp/multipartBody4829780279438098051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191864158,"filename":"image_30102025_20_43_52_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396301068","file1":"1396301066","file0":"1396301064","file4":"1396301070","file5":"1396301081","file3":"1396301069"},"map_files_photo_id_array":[{"photo_id":"1396301081","filename":"file5"},{"photo_id":"1396301068","filename":"file2"},{"photo_id":"1396301070","filename":"file4"},{"photo_id":"1396301066","filename":"file1"},{"photo_id":"1396301064","filename":"file0"},{"photo_id":"1396301069","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396301070":["hashtag1","hashtag2"]},{"1396301064":["hashtag1","hashtag2"]},{"1396301066":["hashtag1","hashtag2"]},{"1396301081":["hashtag1","hashtag2"]},{"1396301069":["hashtag1","hashtag2"]},{"1396301068":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396301070, 1396301064, 1396301066, 1396301081, 1396301069, 1396301068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48554706573486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 22:17:21.867006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/41/image_26112025_19_41_45_10717.jpg', '/home/pi/Desktop/images/26112025/19/41/image_26112025_19_41_54_9587.jpg', '/home/pi/Desktop/images/26112025/19/41/image_26112025_19_42_04_9681.jpg', '/home/pi/Desktop/images/26112025/19/42/image_26112025_19_42_15_10684.jpg', '/home/pi/Desktop/images/26112025/19/42/image_26112025_19_42_24_9747.jpg', '/home/pi/Desktop/images/26112025/19/42/image_26112025_19_42_34_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/41/image_26112025_19_41_45_10717.jpg
/home/pi/Desktop/images/26112025/19/41/image_26112025_19_41_54_9587.jpg
/home/pi/Desktop/images/26112025/19/41/image_26112025_19_42_04_9681.jpg
/home/pi/Desktop/images/26112025/19/42/image_26112025_19_42_15_10684.jpg
/home/pi/Desktop/images/26112025/19/42/image_26112025_19_42_24_9747.jpg
/home/pi/Desktop/images/26112025/19/42/image_26112025_19_42_34_9629.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.7024145126342773 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 22:17:31.856427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/31/image_20112025_23_31_01_2580.jpg', '/home/pi/Desktop/images/20112025/23/31/image_20112025_23_31_44_3733.jpg', '/home/pi/Desktop/images/20112025/23/31/image_20112025_23_31_46_2936.jpg', '/home/pi/Desktop/images/20112025/23/32/image_20112025_23_32_07_3251.jpg', '/home/pi/Desktop/images/20112025/23/32/image_20112025_23_32_16_2637.jpg', '/home/pi/Desktop/images/20112025/23/32/image_20112025_23_32_34_2742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/31/image_20112025_23_31_01_2580.jpg
/home/pi/Desktop/images/20112025/23/31/image_20112025_23_31_44_3733.jpg
/home/pi/Desktop/images/20112025/23/31/image_20112025_23_31_46_2936.jpg
/home/pi/Desktop/images/20112025/23/32/image_20112025_23_32_07_3251.jpg
/home/pi/Desktop/images/20112025/23/32/image_20112025_23_32_16_2637.jpg
/home/pi/Desktop/images/20112025/23/32/image_20112025_23_32_34_2742.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":["1396301295","1396301241","1396301301","1396301304","1396301282","1396301303"],"photo_ids_order":["1396301241","1396301282","1396301295","1396301301","1396301303","1396301304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fd679e9f562619233699b76f109c7b9c.jpg","text":"TemporaryFile(/tmp/multipartBody3057453502134487277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191913826,"filename":"image_20112025_23_31_46_2936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9333a5efeb1b23aab1fa7c1bc22ab457.jpg","text":"TemporaryFile(/tmp/multipartBody3913205152912671888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191913826,"filename":"image_20112025_23_31_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/26/fd6674a300fe570844e607a56f3af584.jpg","text":"TemporaryFile(/tmp/multipartBody6639338017256149776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191913826,"filename":"image_20112025_23_32_07_3251.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0d77d1c05cbaeab04689317f27f8ed37.jpg","text":"TemporaryFile(/tmp/multipartBody5244651242271393878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191913826,"filename":"image_20112025_23_32_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/26/048be40d1c34a1403ec044f8a45a1e4f.jpg","text":"TemporaryFile(/tmp/multipartBody2994834591747039066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191913826,"filename":"image_20112025_23_31_44_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/26/111447a4cd6b23de0bbdb39204f6f8f3.jpg","text":"TemporaryFile(/tmp/multipartBody2002870450088112187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191913826,"filename":"image_20112025_23_32_16_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396301295","file1":"1396301282","file0":"1396301241","file4":"1396301303","file5":"1396301304","file3":"1396301301"},"map_files_photo_id_array":[{"photo_id":"1396301304","filename":"file5"},{"photo_id":"1396301295","filename":"file2"},{"photo_id":"1396301303","filename":"file4"},{"photo_id":"1396301282","filename":"file1"},{"photo_id":"1396301241","filename":"file0"},{"photo_id":"1396301301","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396301295":["hashtag1","hashtag2"]},{"1396301241":["hashtag1","hashtag2"]},{"1396301301":["hashtag1","hashtag2"]},{"1396301304":["hashtag1","hashtag2"]},{"1396301282":["hashtag1","hashtag2"]},{"1396301303":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396301295, 1396301241, 1396301301, 1396301304, 1396301282, 1396301303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78480911254883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 22:18:12.017477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/32/image_20112025_23_32_43_2950.jpg', '/home/pi/Desktop/images/20112025/23/32/image_20112025_23_32_46_2626.jpg', '/home/pi/Desktop/images/20112025/23/33/image_20112025_23_33_10_3686.jpg', '/home/pi/Desktop/images/20112025/23/33/image_20112025_23_33_13_2807.jpg', '/home/pi/Desktop/images/20112025/23/33/image_20112025_23_33_16_2777.jpg', '/home/pi/Desktop/images/20112025/23/33/image_20112025_23_33_22_3575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/32/image_20112025_23_32_43_2950.jpg
/home/pi/Desktop/images/20112025/23/32/image_20112025_23_32_46_2626.jpg
/home/pi/Desktop/images/20112025/23/33/image_20112025_23_33_10_3686.jpg
/home/pi/Desktop/images/20112025/23/33/image_20112025_23_33_13_2807.jpg
/home/pi/Desktop/images/20112025/23/33/image_20112025_23_33_16_2777.jpg
/home/pi/Desktop/images/20112025/23/33/image_20112025_23_33_22_3575.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":["1396301469","1396301358","1396301363","1396301450","1396301467","1396301464"],"photo_ids_order":["1396301358","1396301363","1396301450","1396301464","1396301467","1396301469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/624fcd971296b3ac6189811f7f5cec8f.jpg","text":"TemporaryFile(/tmp/multipartBody263980207664870835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191953891,"filename":"image_20112025_23_33_22_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/26/0f5edb4ae6a2f78c5e622c80f0a3ac8b.jpg","text":"TemporaryFile(/tmp/multipartBody3093787857940215190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191953891,"filename":"image_20112025_23_32_43_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/26/89bc677bb33f1eee5da816103d145809.jpg","text":"TemporaryFile(/tmp/multipartBody742725154594389127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191953891,"filename":"image_20112025_23_32_46_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/26/ee0145e81894ecc3c5246958ea0059dc.jpg","text":"TemporaryFile(/tmp/multipartBody260160905531914423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191953891,"filename":"image_20112025_23_33_10_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/26/817489413f43d8c6bb491e59edb445a4.jpg","text":"TemporaryFile(/tmp/multipartBody5477712007619243586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191953891,"filename":"image_20112025_23_33_16_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/26/a10a4dc305e5904a447620e565dc70aa.jpg","text":"TemporaryFile(/tmp/multipartBody4075973081332072617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764191953891,"filename":"image_20112025_23_33_13_2807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396301450","file1":"1396301363","file0":"1396301358","file4":"1396301467","file5":"1396301469","file3":"1396301464"},"map_files_photo_id_array":[{"photo_id":"1396301469","filename":"file5"},{"photo_id":"1396301450","filename":"file2"},{"photo_id":"1396301467","filename":"file4"},{"photo_id":"1396301363","filename":"file1"},{"photo_id":"1396301358","filename":"file0"},{"photo_id":"1396301464","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396301469":["hashtag1","hashtag2"]},{"1396301358":["hashtag1","hashtag2"]},{"1396301363":["hashtag1","hashtag2"]},{"1396301450":["hashtag1","hashtag2"]},{"1396301467":["hashtag1","hashtag2"]},{"1396301464":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396301469, 1396301358, 1396301363, 1396301450, 1396301467, 1396301464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.499255418777466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 22:19:03.203083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/41/image_26112025_19_41_45_10717.jpg', '/home/pi/Desktop/images/26112025/19/41/image_26112025_19_41_54_9587.jpg', '/home/pi/Desktop/images/26112025/19/41/image_26112025_19_42_04_9681.jpg', '/home/pi/Desktop/images/26112025/19/42/image_26112025_19_42_15_10684.jpg', '/home/pi/Desktop/images/26112025/19/42/image_26112025_19_42_24_9747.jpg', '/home/pi/Desktop/images/26112025/19/42/image_26112025_19_42_34_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/41/image_26112025_19_41_45_10717.jpg
/home/pi/Desktop/images/26112025/19/41/image_26112025_19_41_54_9587.jpg
/home/pi/Desktop/images/26112025/19/41/image_26112025_19_42_04_9681.jpg
/home/pi/Desktop/images/26112025/19/42/image_26112025_19_42_15_10684.jpg
/home/pi/Desktop/images/26112025/19/42/image_26112025_19_42_24_9747.jpg
/home/pi/Desktop/images/26112025/19/42/image_26112025_19_42_34_9629.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":["1396301559","1396301555","1396301552","1396301572","1396301557","1396301562"],"photo_ids_order":["1396301552","1396301555","1396301557","1396301559","1396301562","1396301572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/35c709485849b927b6ed8393286251b9.jpg","text":"TemporaryFile(/tmp/multipartBody1793989705916936958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192004239,"filename":"image_26112025_19_42_15_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5928af0b4fb27cfe07bf797474aaafe2.jpg","text":"TemporaryFile(/tmp/multipartBody6266880260566818508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192004239,"filename":"image_26112025_19_41_54_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d550bfccd212779a59064038e87aecb2.jpg","text":"TemporaryFile(/tmp/multipartBody3043244039999686116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192004239,"filename":"image_26112025_19_41_45_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bcdb20de93ce8b05bb5dde27e2fd82b3.jpg","text":"TemporaryFile(/tmp/multipartBody6163446376539639606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192004239,"filename":"image_26112025_19_42_34_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9812d21f921f8bc83c8a0d890506a5bc.jpg","text":"TemporaryFile(/tmp/multipartBody8881665256822489301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192004239,"filename":"image_26112025_19_42_04_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/afe8d9b7cc210369db6714772c57d63f.jpg","text":"TemporaryFile(/tmp/multipartBody3678954394509867242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192004239,"filename":"image_26112025_19_42_24_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396301557","file1":"1396301555","file0":"1396301552","file4":"1396301562","file5":"1396301572","file3":"1396301559"},"map_files_photo_id_array":[{"photo_id":"1396301572","filename":"file5"},{"photo_id":"1396301557","filename":"file2"},{"photo_id":"1396301562","filename":"file4"},{"photo_id":"1396301555","filename":"file1"},{"photo_id":"1396301552","filename":"file0"},{"photo_id":"1396301559","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396301559":["hashtag1","hashtag2"]},{"1396301555":["hashtag1","hashtag2"]},{"1396301552":["hashtag1","hashtag2"]},{"1396301572":["hashtag1","hashtag2"]},{"1396301557":["hashtag1","hashtag2"]},{"1396301562":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396301559, 1396301555, 1396301552, 1396301572, 1396301557, 1396301562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72968339920044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 22:19:42.262796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_22_15443.jpg', '/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_24_1764.jpg', '/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_26_1666.jpg', '/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_31_1847.jpg', '/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_35_1852.jpg', '/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_38_1616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_22_15443.jpg
/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_24_1764.jpg
/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_26_1666.jpg
/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_31_1847.jpg
/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_35_1852.jpg
/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_38_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: 1.366755723953247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 22:20:02.927725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/42/image_26112025_19_42_44_9782.jpg', '/home/pi/Desktop/images/26112025/19/42/image_26112025_19_42_54_10656.jpg', '/home/pi/Desktop/images/26112025/19/42/image_26112025_19_43_04_9588.jpg', '/home/pi/Desktop/images/26112025/19/43/image_26112025_19_43_14_10082.jpg', '/home/pi/Desktop/images/26112025/19/43/image_26112025_19_43_24_9904.jpg', '/home/pi/Desktop/images/26112025/19/43/image_26112025_19_43_34_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/42/image_26112025_19_42_44_9782.jpg
/home/pi/Desktop/images/26112025/19/42/image_26112025_19_42_54_10656.jpg
/home/pi/Desktop/images/26112025/19/42/image_26112025_19_43_04_9588.jpg
/home/pi/Desktop/images/26112025/19/43/image_26112025_19_43_14_10082.jpg
/home/pi/Desktop/images/26112025/19/43/image_26112025_19_43_24_9904.jpg
/home/pi/Desktop/images/26112025/19/43/image_26112025_19_43_34_9713.jpg
 val : 1 : upload photos already in processing! 
 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":["1396301604","1396301594","1396301597","1396301615","1396301609","1396301600"],"photo_ids_order":["1396301594","1396301597","1396301600","1396301604","1396301609","1396301615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/160d9b9a1a96730838928a5229c7a8ca.jpg","text":"TemporaryFile(/tmp/multipartBody731725413920194275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192063711,"filename":"image_26112025_19_43_14_10082.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/80d7bdb1920e0848cd6214e3782d8621.jpg","text":"TemporaryFile(/tmp/multipartBody6440705896374513211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192063711,"filename":"image_26112025_19_42_44_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c26edc1657026da5237ffd26340e00ec.jpg","text":"TemporaryFile(/tmp/multipartBody1117058448600264599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192063711,"filename":"image_26112025_19_42_54_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/548601b4a518c834c069a16cc6e75c92.jpg","text":"TemporaryFile(/tmp/multipartBody3661247193986235640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192063711,"filename":"image_26112025_19_43_34_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/42c4895db90561814c68deed7001fa2f.jpg","text":"TemporaryFile(/tmp/multipartBody1693753245861972260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192063711,"filename":"image_26112025_19_43_24_9904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f53fc7e2aa0270d199e14d703de59257.jpg","text":"TemporaryFile(/tmp/multipartBody6640795324263011854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192063711,"filename":"image_26112025_19_43_04_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396301600","file1":"1396301597","file0":"1396301594","file4":"1396301609","file5":"1396301615","file3":"1396301604"},"map_files_photo_id_array":[{"photo_id":"1396301615","filename":"file5"},{"photo_id":"1396301600","filename":"file2"},{"photo_id":"1396301609","filename":"file4"},{"photo_id":"1396301597","filename":"file1"},{"photo_id":"1396301594","filename":"file0"},{"photo_id":"1396301604","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396301604":["hashtag1","hashtag2"]},{"1396301594":["hashtag1","hashtag2"]},{"1396301597":["hashtag1","hashtag2"]},{"1396301615":["hashtag1","hashtag2"]},{"1396301609":["hashtag1","hashtag2"]},{"1396301600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396301604, 1396301594, 1396301597, 1396301615, 1396301609, 1396301600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.901177406311035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 22:21:03.382016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/43/image_26112025_19_43_47_12990.jpg', '/home/pi/Desktop/images/26112025/19/43/image_26112025_19_43_54_6985.jpg', '/home/pi/Desktop/images/26112025/19/43/image_26112025_19_44_04_10594.jpg', '/home/pi/Desktop/images/26112025/19/44/image_26112025_19_44_14_9797.jpg', '/home/pi/Desktop/images/26112025/19/44/image_26112025_19_44_24_9727.jpg', '/home/pi/Desktop/images/26112025/19/44/image_26112025_19_44_34_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/43/image_26112025_19_43_47_12990.jpg
/home/pi/Desktop/images/26112025/19/43/image_26112025_19_43_54_6985.jpg
/home/pi/Desktop/images/26112025/19/43/image_26112025_19_44_04_10594.jpg
/home/pi/Desktop/images/26112025/19/44/image_26112025_19_44_14_9797.jpg
/home/pi/Desktop/images/26112025/19/44/image_26112025_19_44_24_9727.jpg
/home/pi/Desktop/images/26112025/19/44/image_26112025_19_44_34_10651.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":["1396301637","1396301640","1396301628","1396301645","1396301627","1396301626"],"photo_ids_order":["1396301626","1396301627","1396301628","1396301637","1396301640","1396301645"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/99785844b98ed2482ecb3caae9c1a121.jpg","text":"TemporaryFile(/tmp/multipartBody2049329837797338909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192124197,"filename":"image_26112025_19_44_14_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/934b7ba9c701068230ad7a8ead9554bd.jpg","text":"TemporaryFile(/tmp/multipartBody4628320593025909040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192124197,"filename":"image_26112025_19_44_24_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b787c7eb49d1734bb80cf2816759a381.jpg","text":"TemporaryFile(/tmp/multipartBody1100062743090275655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192124197,"filename":"image_26112025_19_44_04_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7d00527a7c09cbc915b995e87f8c7e5d.jpg","text":"TemporaryFile(/tmp/multipartBody5940270667606314470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192124197,"filename":"image_26112025_19_44_34_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/05abd4cf969f70f7d339e83a533993c7.jpg","text":"TemporaryFile(/tmp/multipartBody1793878920433922329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192124197,"filename":"image_26112025_19_43_54_6985.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/609773c9e7d54e0b24122847db862b13.jpg","text":"TemporaryFile(/tmp/multipartBody182141701462646763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192124197,"filename":"image_26112025_19_43_47_12990.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396301628","file1":"1396301627","file0":"1396301626","file4":"1396301640","file5":"1396301645","file3":"1396301637"},"map_files_photo_id_array":[{"photo_id":"1396301645","filename":"file5"},{"photo_id":"1396301628","filename":"file2"},{"photo_id":"1396301640","filename":"file4"},{"photo_id":"1396301627","filename":"file1"},{"photo_id":"1396301626","filename":"file0"},{"photo_id":"1396301637","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396301637":["hashtag1","hashtag2"]},{"1396301640":["hashtag1","hashtag2"]},{"1396301628":["hashtag1","hashtag2"]},{"1396301645":["hashtag1","hashtag2"]},{"1396301627":["hashtag1","hashtag2"]},{"1396301626":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396301637, 1396301640, 1396301628, 1396301645, 1396301627, 1396301626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.090181827545166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 22:21:42.796225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_22_15443.jpg', '/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_24_1764.jpg', '/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_26_1666.jpg', '/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_31_1847.jpg', '/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_35_1852.jpg', '/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_38_1616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_22_15443.jpg
/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_24_1764.jpg
/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_26_1666.jpg
/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_31_1847.jpg
/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_35_1852.jpg
/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_38_1616.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":["1396301841","1396301762","1396301906","1396301875","1396301797","1396301728"],"photo_ids_order":["1396301728","1396301762","1396301797","1396301841","1396301875","1396301906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e8ee5c734b46326082baaaa2bd614129.jpg","text":"TemporaryFile(/tmp/multipartBody2800272038914219679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192164198,"filename":"image_30102025_20_44_31_1847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9176592bd663bd573edbe8493aeabe87.jpg","text":"TemporaryFile(/tmp/multipartBody415920982132855382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192164198,"filename":"image_30102025_20_44_24_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/26/b0e6ff9ad2f3160a9be4704449912cec.jpg","text":"TemporaryFile(/tmp/multipartBody8796343743941180074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192164198,"filename":"image_30102025_20_44_38_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/26/c9e23c725d6629ea581dffb8e0c75ee4.jpg","text":"TemporaryFile(/tmp/multipartBody1799968794969048871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192164198,"filename":"image_30102025_20_44_35_1852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a78b893edb61469ead1d151837b0d3e0.jpg","text":"TemporaryFile(/tmp/multipartBody1962175523212217534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192164198,"filename":"image_30102025_20_44_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/26/e238f77c7b9c65ed8f67889ac23949a3.jpg","text":"TemporaryFile(/tmp/multipartBody5425999987456433595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192164198,"filename":"image_30102025_20_44_22_15443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396301797","file1":"1396301762","file0":"1396301728","file4":"1396301875","file5":"1396301906","file3":"1396301841"},"map_files_photo_id_array":[{"photo_id":"1396301906","filename":"file5"},{"photo_id":"1396301797","filename":"file2"},{"photo_id":"1396301875","filename":"file4"},{"photo_id":"1396301762","filename":"file1"},{"photo_id":"1396301728","filename":"file0"},{"photo_id":"1396301841","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396301841":["hashtag1","hashtag2"]},{"1396301762":["hashtag1","hashtag2"]},{"1396301906":["hashtag1","hashtag2"]},{"1396301875":["hashtag1","hashtag2"]},{"1396301797":["hashtag1","hashtag2"]},{"1396301728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396301841, 1396301762, 1396301906, 1396301875, 1396301797, 1396301728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58263278007507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 22:22:21.957842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/44/image_26112025_19_44_44_9709.jpg', '/home/pi/Desktop/images/26112025/19/44/image_26112025_19_44_54_9516.jpg', '/home/pi/Desktop/images/26112025/19/44/image_26112025_19_45_04_10679.jpg', '/home/pi/Desktop/images/26112025/19/45/image_26112025_19_45_14_9706.jpg', '/home/pi/Desktop/images/26112025/19/45/image_26112025_19_45_24_9735.jpg', '/home/pi/Desktop/images/26112025/19/45/image_26112025_19_45_35_10694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/44/image_26112025_19_44_44_9709.jpg
/home/pi/Desktop/images/26112025/19/44/image_26112025_19_44_54_9516.jpg
/home/pi/Desktop/images/26112025/19/44/image_26112025_19_45_04_10679.jpg
/home/pi/Desktop/images/26112025/19/45/image_26112025_19_45_14_9706.jpg
/home/pi/Desktop/images/26112025/19/45/image_26112025_19_45_24_9735.jpg
/home/pi/Desktop/images/26112025/19/45/image_26112025_19_45_35_10694.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":["1396302188","1396302111","1396302035","1396302223","1396302151","1396302072"],"photo_ids_order":["1396302035","1396302072","1396302111","1396302151","1396302188","1396302223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/673f9f5c893a78366711f9fe7c3e84cd.jpg","text":"TemporaryFile(/tmp/multipartBody7631765961034002296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192202728,"filename":"image_26112025_19_45_24_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e00d90c5753e2b75b88947cb9770d731.jpg","text":"TemporaryFile(/tmp/multipartBody409484903275317530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192202728,"filename":"image_26112025_19_45_04_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/08fe1909f09a207a8a44bf9ebc7ac532.jpg","text":"TemporaryFile(/tmp/multipartBody4262251905868875552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192202728,"filename":"image_26112025_19_44_44_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/21e873c555a41ea4d6dcc1305566036a.jpg","text":"TemporaryFile(/tmp/multipartBody736295040846192977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192202728,"filename":"image_26112025_19_45_35_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a2d6433dda0930684f2c4282f3c1a42a.jpg","text":"TemporaryFile(/tmp/multipartBody7475778424828497139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192202728,"filename":"image_26112025_19_45_14_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ea14f215cf26d0d02eb78f11e079c989.jpg","text":"TemporaryFile(/tmp/multipartBody7653737953657472427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192202728,"filename":"image_26112025_19_44_54_9516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396302111","file1":"1396302072","file0":"1396302035","file4":"1396302188","file5":"1396302223","file3":"1396302151"},"map_files_photo_id_array":[{"photo_id":"1396302223","filename":"file5"},{"photo_id":"1396302111","filename":"file2"},{"photo_id":"1396302188","filename":"file4"},{"photo_id":"1396302072","filename":"file1"},{"photo_id":"1396302035","filename":"file0"},{"photo_id":"1396302151","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396302188":["hashtag1","hashtag2"]},{"1396302111":["hashtag1","hashtag2"]},{"1396302035":["hashtag1","hashtag2"]},{"1396302223":["hashtag1","hashtag2"]},{"1396302151":["hashtag1","hashtag2"]},{"1396302072":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396302188, 1396302111, 1396302035, 1396302223, 1396302151, 1396302072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.263920545578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 22:23:02.900473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/45/image_26112025_19_45_44_9693.jpg', '/home/pi/Desktop/images/26112025/19/45/image_26112025_19_45_54_9560.jpg', '/home/pi/Desktop/images/26112025/19/45/image_26112025_19_46_04_10599.jpg', '/home/pi/Desktop/images/26112025/19/46/image_26112025_19_46_14_9587.jpg', '/home/pi/Desktop/images/26112025/19/46/image_26112025_19_46_24_9783.jpg', '/home/pi/Desktop/images/26112025/19/46/image_26112025_19_46_54_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/45/image_26112025_19_45_44_9693.jpg
/home/pi/Desktop/images/26112025/19/45/image_26112025_19_45_54_9560.jpg
/home/pi/Desktop/images/26112025/19/45/image_26112025_19_46_04_10599.jpg
/home/pi/Desktop/images/26112025/19/46/image_26112025_19_46_14_9587.jpg
/home/pi/Desktop/images/26112025/19/46/image_26112025_19_46_24_9783.jpg
/home/pi/Desktop/images/26112025/19/46/image_26112025_19_46_54_9754.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":["1396302478","1396302373","1396302409","1396302502","1396302498","1396302444"],"photo_ids_order":["1396302373","1396302409","1396302444","1396302478","1396302498","1396302502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bf87cf7097ba09959c64a9ce5a4dc723.jpg","text":"TemporaryFile(/tmp/multipartBody338034489289870259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192243768,"filename":"image_26112025_19_46_14_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b921aaf171cfbe0eebd3526274c76684.jpg","text":"TemporaryFile(/tmp/multipartBody8707966979899509268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192243768,"filename":"image_26112025_19_45_44_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dfafb385157cd7cfba652f03cfe66240.jpg","text":"TemporaryFile(/tmp/multipartBody1170874629182465638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192243768,"filename":"image_26112025_19_45_54_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cddc2809b5c7823c86e26ddf6e282642.jpg","text":"TemporaryFile(/tmp/multipartBody5547021031654876002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192243768,"filename":"image_26112025_19_46_54_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c3bd269d48b60f7eff64059a1d25e503.jpg","text":"TemporaryFile(/tmp/multipartBody2513606408666581682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192243768,"filename":"image_26112025_19_46_24_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/12436d4389509adaa40b1098b87df065.jpg","text":"TemporaryFile(/tmp/multipartBody5586554935121724880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192243768,"filename":"image_26112025_19_46_04_10599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396302444","file1":"1396302409","file0":"1396302373","file4":"1396302498","file5":"1396302502","file3":"1396302478"},"map_files_photo_id_array":[{"photo_id":"1396302502","filename":"file5"},{"photo_id":"1396302444","filename":"file2"},{"photo_id":"1396302498","filename":"file4"},{"photo_id":"1396302409","filename":"file1"},{"photo_id":"1396302373","filename":"file0"},{"photo_id":"1396302478","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396302478":["hashtag1","hashtag2"]},{"1396302373":["hashtag1","hashtag2"]},{"1396302409":["hashtag1","hashtag2"]},{"1396302502":["hashtag1","hashtag2"]},{"1396302498":["hashtag1","hashtag2"]},{"1396302444":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396302478, 1396302373, 1396302409, 1396302502, 1396302498, 1396302444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.734821796417236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 22:23:42.125735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_43_3870.jpg', '/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_48_2588.jpg', '/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_52_3573.jpg', '/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_01_2939.jpg', '/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_04_2579.jpg', '/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_06_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_43_3870.jpg
/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_48_2588.jpg
/home/pi/Desktop/images/30102025/20/44/image_30102025_20_44_52_3573.jpg
/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_01_2939.jpg
/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_04_2579.jpg
/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_06_2738.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":["1396302513","1396302516","1396302527","1396302611","1396302517","1396302561"],"photo_ids_order":["1396302513","1396302516","1396302517","1396302527","1396302561","1396302611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d43934138229f1023f72682e21c34014.jpg","text":"TemporaryFile(/tmp/multipartBody1123883045888843626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192283596,"filename":"image_30102025_20_44_43_3870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2d644f898234aa8d5be18c17b64537a8.jpg","text":"TemporaryFile(/tmp/multipartBody3490519812398855073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192283596,"filename":"image_30102025_20_44_48_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/26/3b35ea2d22a151ad090e43b8394cebe3.jpg","text":"TemporaryFile(/tmp/multipartBody9111453473424393043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192283596,"filename":"image_30102025_20_45_01_2939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6b191a08335cd218f3346cc0be635dee.jpg","text":"TemporaryFile(/tmp/multipartBody7782317487389258319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192283596,"filename":"image_30102025_20_45_06_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/26/881f77636a217c11262455ed775f3ce4.jpg","text":"TemporaryFile(/tmp/multipartBody1169560172818310454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192283596,"filename":"image_30102025_20_44_52_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/26/6724a8f60e3da62df1645452f15adfa5.jpg","text":"TemporaryFile(/tmp/multipartBody379366002901502983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192283596,"filename":"image_30102025_20_45_04_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396302517","file1":"1396302516","file0":"1396302513","file4":"1396302561","file5":"1396302611","file3":"1396302527"},"map_files_photo_id_array":[{"photo_id":"1396302611","filename":"file5"},{"photo_id":"1396302517","filename":"file2"},{"photo_id":"1396302561","filename":"file4"},{"photo_id":"1396302516","filename":"file1"},{"photo_id":"1396302513","filename":"file0"},{"photo_id":"1396302527","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396302513":["hashtag1","hashtag2"]},{"1396302516":["hashtag1","hashtag2"]},{"1396302527":["hashtag1","hashtag2"]},{"1396302611":["hashtag1","hashtag2"]},{"1396302517":["hashtag1","hashtag2"]},{"1396302561":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396302513, 1396302516, 1396302527, 1396302611, 1396302517, 1396302561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84095883369446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 22:24:22.345736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/46/image_26112025_19_47_05_10719.jpg', '/home/pi/Desktop/images/26112025/19/47/image_26112025_19_47_14_9686.jpg', '/home/pi/Desktop/images/26112025/19/47/image_26112025_19_47_34_9695.jpg', '/home/pi/Desktop/images/26112025/19/47/image_26112025_19_47_44_10705.jpg', '/home/pi/Desktop/images/26112025/19/47/image_26112025_19_47_54_9603.jpg', '/home/pi/Desktop/images/26112025/19/47/image_26112025_19_48_04_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/46/image_26112025_19_47_05_10719.jpg
/home/pi/Desktop/images/26112025/19/47/image_26112025_19_47_14_9686.jpg
/home/pi/Desktop/images/26112025/19/47/image_26112025_19_47_34_9695.jpg
/home/pi/Desktop/images/26112025/19/47/image_26112025_19_47_44_10705.jpg
/home/pi/Desktop/images/26112025/19/47/image_26112025_19_47_54_9603.jpg
/home/pi/Desktop/images/26112025/19/47/image_26112025_19_48_04_9607.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":["1396303136","1396302880","1396303092","1396303038","1396302969","1396302921"],"photo_ids_order":["1396302880","1396302921","1396302969","1396303038","1396303092","1396303136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d19497deb9ff9c372f202fe0ac9110ee.jpg","text":"TemporaryFile(/tmp/multipartBody8282708488182758528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192323121,"filename":"image_26112025_19_48_04_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/824c41d25e2202c92be07731b668c4be.jpg","text":"TemporaryFile(/tmp/multipartBody6966187404253216388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192323121,"filename":"image_26112025_19_47_05_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d6026a986c18379c98b65b201124a423.jpg","text":"TemporaryFile(/tmp/multipartBody7860340459177369598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192323121,"filename":"image_26112025_19_47_54_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7a83ae13d193ed4f0b62f417ab5bf980.jpg","text":"TemporaryFile(/tmp/multipartBody6033173892087514890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192323121,"filename":"image_26112025_19_47_44_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0ffe0658d7fdcc51814d36e78c00b948.jpg","text":"TemporaryFile(/tmp/multipartBody4977925965698505944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192323121,"filename":"image_26112025_19_47_34_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8faa20526b57e664c9d45ad9cf02a817.jpg","text":"TemporaryFile(/tmp/multipartBody7694791353527406359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192323121,"filename":"image_26112025_19_47_14_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396302969","file1":"1396302921","file0":"1396302880","file4":"1396303092","file5":"1396303136","file3":"1396303038"},"map_files_photo_id_array":[{"photo_id":"1396303136","filename":"file5"},{"photo_id":"1396302969","filename":"file2"},{"photo_id":"1396303092","filename":"file4"},{"photo_id":"1396302921","filename":"file1"},{"photo_id":"1396302880","filename":"file0"},{"photo_id":"1396303038","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396303136":["hashtag1","hashtag2"]},{"1396302880":["hashtag1","hashtag2"]},{"1396303092":["hashtag1","hashtag2"]},{"1396303038":["hashtag1","hashtag2"]},{"1396302969":["hashtag1","hashtag2"]},{"1396302921":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396303136, 1396302880, 1396303092, 1396303038, 1396302969, 1396302921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64484405517578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 22:25:03.155442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/48/image_26112025_19_48_14_10674.jpg', '/home/pi/Desktop/images/26112025/19/48/image_26112025_19_48_24_9688.jpg', '/home/pi/Desktop/images/26112025/19/48/image_26112025_19_48_34_9632.jpg', '/home/pi/Desktop/images/26112025/19/48/image_26112025_19_48_45_11549.jpg', '/home/pi/Desktop/images/26112025/19/48/image_26112025_19_48_54_8804.jpg', '/home/pi/Desktop/images/26112025/19/49/image_26112025_19_49_24_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/48/image_26112025_19_48_14_10674.jpg
/home/pi/Desktop/images/26112025/19/48/image_26112025_19_48_24_9688.jpg
/home/pi/Desktop/images/26112025/19/48/image_26112025_19_48_34_9632.jpg
/home/pi/Desktop/images/26112025/19/48/image_26112025_19_48_45_11549.jpg
/home/pi/Desktop/images/26112025/19/48/image_26112025_19_48_54_8804.jpg
/home/pi/Desktop/images/26112025/19/49/image_26112025_19_49_24_9792.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":["1396303462","1396303426","1396303497","1396303318","1396303353","1396303391"],"photo_ids_order":["1396303318","1396303353","1396303391","1396303426","1396303462","1396303497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/48ff12712d49c0dcd37f104740708f09.jpg","text":"TemporaryFile(/tmp/multipartBody5820468038634163969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192364019,"filename":"image_26112025_19_48_54_8804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/844d2a68ac5387cde060b00e4eb94cd1.jpg","text":"TemporaryFile(/tmp/multipartBody1578354623064931219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192364019,"filename":"image_26112025_19_48_45_11549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b6a9c5659ea8f0b0e28c8abfa539617f.jpg","text":"TemporaryFile(/tmp/multipartBody1025921204798896215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192364019,"filename":"image_26112025_19_49_24_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/90455cd494ade55d08009ce18d1d1197.jpg","text":"TemporaryFile(/tmp/multipartBody1013723099902946295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192364019,"filename":"image_26112025_19_48_14_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/84035c5c5e96152df14fec30b3a56fca.jpg","text":"TemporaryFile(/tmp/multipartBody5484166114560136973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192364019,"filename":"image_26112025_19_48_24_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d2e40b9ff3ebf99e415e97eb320594cc.jpg","text":"TemporaryFile(/tmp/multipartBody8493781949135246618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192364019,"filename":"image_26112025_19_48_34_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396303391","file1":"1396303353","file0":"1396303318","file4":"1396303462","file5":"1396303497","file3":"1396303426"},"map_files_photo_id_array":[{"photo_id":"1396303497","filename":"file5"},{"photo_id":"1396303391","filename":"file2"},{"photo_id":"1396303462","filename":"file4"},{"photo_id":"1396303353","filename":"file1"},{"photo_id":"1396303318","filename":"file0"},{"photo_id":"1396303426","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396303462":["hashtag1","hashtag2"]},{"1396303426":["hashtag1","hashtag2"]},{"1396303497":["hashtag1","hashtag2"]},{"1396303318":["hashtag1","hashtag2"]},{"1396303353":["hashtag1","hashtag2"]},{"1396303391":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396303462, 1396303426, 1396303497, 1396303318, 1396303353, 1396303391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51526188850403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 22:25:42.573222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_11_4431.jpg', '/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_13_1844.jpg', '/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_15_2564.jpg', '/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_19_3709.jpg', '/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_22_2652.jpg', '/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_24_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_11_4431.jpg
/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_13_1844.jpg
/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_15_2564.jpg
/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_19_3709.jpg
/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_22_2652.jpg
/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_24_2700.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":["1396303511","1396303567","1396303510","1396303534","1396303507","1396303509"],"photo_ids_order":["1396303507","1396303509","1396303510","1396303511","1396303534","1396303567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b50b7da6d4cefe4f69224181f334447c.jpg","text":"TemporaryFile(/tmp/multipartBody9211315853564815722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192404032,"filename":"image_30102025_20_45_19_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/26/0ce1126cee2259c35c5556334fcce1f2.jpg","text":"TemporaryFile(/tmp/multipartBody2060962669908079916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192404032,"filename":"image_30102025_20_45_24_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/26/751cadb67ea0fb7fcbe99a791b75c019.jpg","text":"TemporaryFile(/tmp/multipartBody1641215721515752627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192404032,"filename":"image_30102025_20_45_15_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/26/3f405e82b3686162e6393ed2a392ff86.jpg","text":"TemporaryFile(/tmp/multipartBody7894324299884347864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192404032,"filename":"image_30102025_20_45_22_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/26/0b6347937da8780fb3c0f6ad9e27e12e.jpg","text":"TemporaryFile(/tmp/multipartBody3844655962743391709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192404032,"filename":"image_30102025_20_45_11_4431.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1ab6158d214c2e8ee8302327733e12c3.jpg","text":"TemporaryFile(/tmp/multipartBody3224815968493488764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192404032,"filename":"image_30102025_20_45_13_1844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396303510","file1":"1396303509","file0":"1396303507","file4":"1396303534","file5":"1396303567","file3":"1396303511"},"map_files_photo_id_array":[{"photo_id":"1396303567","filename":"file5"},{"photo_id":"1396303510","filename":"file2"},{"photo_id":"1396303534","filename":"file4"},{"photo_id":"1396303509","filename":"file1"},{"photo_id":"1396303507","filename":"file0"},{"photo_id":"1396303511","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396303511":["hashtag1","hashtag2"]},{"1396303567":["hashtag1","hashtag2"]},{"1396303510":["hashtag1","hashtag2"]},{"1396303534":["hashtag1","hashtag2"]},{"1396303507":["hashtag1","hashtag2"]},{"1396303509":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396303511, 1396303567, 1396303510, 1396303534, 1396303507, 1396303509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14288282394409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 22:26:22.741993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/49/image_26112025_19_49_34_9593.jpg', '/home/pi/Desktop/images/26112025/19/49/image_26112025_19_49_44_10397.jpg', '/home/pi/Desktop/images/26112025/19/50/image_26112025_19_50_24_9817.jpg', '/home/pi/Desktop/images/26112025/19/50/image_26112025_19_50_34_9727.jpg', '/home/pi/Desktop/images/26112025/19/50/image_26112025_19_50_44_10632.jpg', '/home/pi/Desktop/images/26112025/19/51/image_26112025_19_51_24_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/49/image_26112025_19_49_34_9593.jpg
/home/pi/Desktop/images/26112025/19/49/image_26112025_19_49_44_10397.jpg
/home/pi/Desktop/images/26112025/19/50/image_26112025_19_50_24_9817.jpg
/home/pi/Desktop/images/26112025/19/50/image_26112025_19_50_34_9727.jpg
/home/pi/Desktop/images/26112025/19/50/image_26112025_19_50_44_10632.jpg
/home/pi/Desktop/images/26112025/19/51/image_26112025_19_51_24_9697.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":["1396303811","1396303981","1396303867","1396304019","1396304066","1396303914"],"photo_ids_order":["1396303811","1396303867","1396303914","1396303981","1396304019","1396304066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/84f8ec6f727a342fd2dae60f14c9c553.jpg","text":"TemporaryFile(/tmp/multipartBody1083021441060226785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192443503,"filename":"image_26112025_19_49_34_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8dbdbd34c6d1c6f80d5e365edf338419.jpg","text":"TemporaryFile(/tmp/multipartBody6445191455643318449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192443503,"filename":"image_26112025_19_50_34_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3464057fc7bc97f6efe691fc27402ccb.jpg","text":"TemporaryFile(/tmp/multipartBody7639712619544380562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192443503,"filename":"image_26112025_19_49_44_10397.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e1753c81223ff7915f397004ef3d37a2.jpg","text":"TemporaryFile(/tmp/multipartBody8289587635970775260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192443503,"filename":"image_26112025_19_50_44_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0e3adfc4c256a5bb56a790cf69045d14.jpg","text":"TemporaryFile(/tmp/multipartBody4515973154914672553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192443503,"filename":"image_26112025_19_51_24_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d67f94cb78f3903a8b8db8eff9d3535f.jpg","text":"TemporaryFile(/tmp/multipartBody2706901405229533966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764192443503,"filename":"image_26112025_19_50_24_9817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396303914","file1":"1396303867","file0":"1396303811","file4":"1396304019","file5":"1396304066","file3":"1396303981"},"map_files_photo_id_array":[{"photo_id":"1396304066","filename":"file5"},{"photo_id":"1396303914","filename":"file2"},{"photo_id":"1396304019","filename":"file4"},{"photo_id":"1396303867","filename":"file1"},{"photo_id":"1396303811","filename":"file0"},{"photo_id":"1396303981","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396303811":["hashtag1","hashtag2"]},{"1396303981":["hashtag1","hashtag2"]},{"1396303867":["hashtag1","hashtag2"]},{"1396304019":["hashtag1","hashtag2"]},{"1396304066":["hashtag1","hashtag2"]},{"1396303914":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396303811, 1396303981, 1396303867, 1396304019, 1396304066, 1396303914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.932656049728394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 22:27:02.581499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/51/image_26112025_19_51_45_10573.jpg', '/home/pi/Desktop/images/26112025/19/51/image_26112025_19_52_04_9771.jpg', '/home/pi/Desktop/images/26112025/19/52/image_26112025_19_52_34_9699.jpg', '/home/pi/Desktop/images/26112025/19/52/image_26112025_19_52_45_10908.jpg', '/home/pi/Desktop/images/26112025/19/52/image_26112025_19_52_54_9645.jpg', '/home/pi/Desktop/images/26112025/19/52/image_26112025_19_53_05_10325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/51/image_26112025_19_51_45_10573.jpg
/home/pi/Desktop/images/26112025/19/51/image_26112025_19_52_04_9771.jpg
/home/pi/Desktop/images/26112025/19/52/image_26112025_19_52_34_9699.jpg
/home/pi/Desktop/images/26112025/19/52/image_26112025_19_52_45_10908.jpg
/home/pi/Desktop/images/26112025/19/52/image_26112025_19_52_54_9645.jpg
/home/pi/Desktop/images/26112025/19/52/image_26112025_19_53_05_10325.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54fed70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 10.355341911315918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 22:27:21.875925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/51/image_26112025_19_51_45_10573.jpg', '/home/pi/Desktop/images/26112025/19/51/image_26112025_19_52_04_9771.jpg', '/home/pi/Desktop/images/26112025/19/52/image_26112025_19_52_34_9699.jpg', '/home/pi/Desktop/images/26112025/19/52/image_26112025_19_52_45_10908.jpg', '/home/pi/Desktop/images/26112025/19/52/image_26112025_19_52_54_9645.jpg', '/home/pi/Desktop/images/26112025/19/52/image_26112025_19_53_05_10325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/51/image_26112025_19_51_45_10573.jpg
/home/pi/Desktop/images/26112025/19/51/image_26112025_19_52_04_9771.jpg
/home/pi/Desktop/images/26112025/19/52/image_26112025_19_52_34_9699.jpg
/home/pi/Desktop/images/26112025/19/52/image_26112025_19_52_45_10908.jpg
/home/pi/Desktop/images/26112025/19/52/image_26112025_19_52_54_9645.jpg
/home/pi/Desktop/images/26112025/19/52/image_26112025_19_53_05_10325.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb556ed70>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 10.31571340560913 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 22:27:42.008620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_28_3776.jpg', '/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_31_2538.jpg', '/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_33_2679.jpg', '/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_37_3570.jpg', '/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_40_2617.jpg', '/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_46_3563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_28_3776.jpg
/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_31_2538.jpg
/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_33_2679.jpg
/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_37_3570.jpg
/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_40_2617.jpg
/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_46_3563.jpg
after data_to_send, before sending request
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0xb54a7eb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
cannot unpack non-iterable int object
time to upload: 11.080434799194336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 22:28:02.640555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/51/image_26112025_19_51_45_10573.jpg', '/home/pi/Desktop/images/26112025/19/51/image_26112025_19_52_04_9771.jpg', '/home/pi/Desktop/images/26112025/19/52/image_26112025_19_52_34_9699.jpg', '/home/pi/Desktop/images/26112025/19/52/image_26112025_19_52_45_10908.jpg', '/home/pi/Desktop/images/26112025/19/52/image_26112025_19_52_54_9645.jpg', '/home/pi/Desktop/images/26112025/19/52/image_26112025_19_53_05_10325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/51/image_26112025_19_51_45_10573.jpg
/home/pi/Desktop/images/26112025/19/51/image_26112025_19_52_04_9771.jpg
/home/pi/Desktop/images/26112025/19/52/image_26112025_19_52_34_9699.jpg
/home/pi/Desktop/images/26112025/19/52/image_26112025_19_52_45_10908.jpg
/home/pi/Desktop/images/26112025/19/52/image_26112025_19_52_54_9645.jpg
/home/pi/Desktop/images/26112025/19/52/image_26112025_19_53_05_10325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 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-26 22:59:03.540217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/51/image_26112025_19_51_45_10573.jpg', '/home/pi/Desktop/images/26112025/19/51/image_26112025_19_52_04_9771.jpg', '/home/pi/Desktop/images/26112025/19/52/image_26112025_19_52_34_9699.jpg', '/home/pi/Desktop/images/26112025/19/52/image_26112025_19_52_45_10908.jpg', '/home/pi/Desktop/images/26112025/19/52/image_26112025_19_52_54_9645.jpg', '/home/pi/Desktop/images/26112025/19/52/image_26112025_19_53_05_10325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/51/image_26112025_19_51_45_10573.jpg
/home/pi/Desktop/images/26112025/19/51/image_26112025_19_52_04_9771.jpg
/home/pi/Desktop/images/26112025/19/52/image_26112025_19_52_34_9699.jpg
/home/pi/Desktop/images/26112025/19/52/image_26112025_19_52_45_10908.jpg
/home/pi/Desktop/images/26112025/19/52/image_26112025_19_52_54_9645.jpg
/home/pi/Desktop/images/26112025/19/52/image_26112025_19_53_05_10325.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":["1396309579","1396309594","1396309588","1396309584","1396309626","1396309574"],"photo_ids_order":["1396309574","1396309579","1396309584","1396309588","1396309594","1396309626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/83b41ec4446410b57d0411e0ead7e3cc.jpg","text":"TemporaryFile(/tmp/multipartBody7559037135587918001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194404416,"filename":"image_26112025_19_52_04_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5cbe9f5d0399a7eb6a8304a2b0ec660c.jpg","text":"TemporaryFile(/tmp/multipartBody1729972107703524252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194404416,"filename":"image_26112025_19_52_54_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/caaadf708f10bc8b238ab58f96a7841b.jpg","text":"TemporaryFile(/tmp/multipartBody7053165729117139753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194404416,"filename":"image_26112025_19_52_45_10908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/82f1e3d9a4558925ac29354e9b30876b.jpg","text":"TemporaryFile(/tmp/multipartBody2085181893062162885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194404416,"filename":"image_26112025_19_52_34_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3291435b008f9955e702e6f2ca0d3bd1.jpg","text":"TemporaryFile(/tmp/multipartBody1284331260734132532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194404416,"filename":"image_26112025_19_53_05_10325.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d4a6c6caa733ec13c96848433638769f.jpg","text":"TemporaryFile(/tmp/multipartBody606352073880275748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194404416,"filename":"image_26112025_19_51_45_10573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396309584","file1":"1396309579","file0":"1396309574","file4":"1396309594","file5":"1396309626","file3":"1396309588"},"map_files_photo_id_array":[{"photo_id":"1396309626","filename":"file5"},{"photo_id":"1396309584","filename":"file2"},{"photo_id":"1396309594","filename":"file4"},{"photo_id":"1396309579","filename":"file1"},{"photo_id":"1396309574","filename":"file0"},{"photo_id":"1396309588","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396309579":["hashtag1","hashtag2"]},{"1396309594":["hashtag1","hashtag2"]},{"1396309588":["hashtag1","hashtag2"]},{"1396309584":["hashtag1","hashtag2"]},{"1396309626":["hashtag1","hashtag2"]},{"1396309574":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396309579, 1396309594, 1396309588, 1396309584, 1396309626, 1396309574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86676907539368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 22:59:42.431553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_28_3776.jpg', '/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_31_2538.jpg', '/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_33_2679.jpg', '/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_37_3570.jpg', '/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_40_2617.jpg', '/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_46_3563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_28_3776.jpg
/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_31_2538.jpg
/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_33_2679.jpg
/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_37_3570.jpg
/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_40_2617.jpg
/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_46_3563.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":["1396309730","1396309689","1396309698","1396309691","1396309670","1396309694"],"photo_ids_order":["1396309670","1396309689","1396309691","1396309694","1396309698","1396309730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/230b5097835184dd44a5f88b79e30127.jpg","text":"TemporaryFile(/tmp/multipartBody365932844538970146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194443730,"filename":"image_30102025_20_45_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/26/3cef692752978bc54be567c3b3adf6b9.jpg","text":"TemporaryFile(/tmp/multipartBody2701972834644115266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194443730,"filename":"image_30102025_20_45_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/26/febb425c2d915b98df9a510b3111d88b.jpg","text":"TemporaryFile(/tmp/multipartBody4563316529753472979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194443730,"filename":"image_30102025_20_45_40_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/26/5f9a20f95e9fedf25b5929f02156ceb6.jpg","text":"TemporaryFile(/tmp/multipartBody2674727955443805641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194443730,"filename":"image_30102025_20_45_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/26/711058037616ffafa631676e4e92d946.jpg","text":"TemporaryFile(/tmp/multipartBody5819245181977899186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194443730,"filename":"image_30102025_20_45_28_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/26/a3ff9c18dbaf7ea4ec267326fcb22281.jpg","text":"TemporaryFile(/tmp/multipartBody1719501697534425112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194443730,"filename":"image_30102025_20_45_37_3570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396309691","file1":"1396309689","file0":"1396309670","file4":"1396309698","file5":"1396309730","file3":"1396309694"},"map_files_photo_id_array":[{"photo_id":"1396309730","filename":"file5"},{"photo_id":"1396309691","filename":"file2"},{"photo_id":"1396309698","filename":"file4"},{"photo_id":"1396309689","filename":"file1"},{"photo_id":"1396309670","filename":"file0"},{"photo_id":"1396309694","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396309730":["hashtag1","hashtag2"]},{"1396309689":["hashtag1","hashtag2"]},{"1396309698":["hashtag1","hashtag2"]},{"1396309691":["hashtag1","hashtag2"]},{"1396309670":["hashtag1","hashtag2"]},{"1396309694":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396309730, 1396309689, 1396309698, 1396309691, 1396309670, 1396309694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25668168067932 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 23:00:24.092954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/53/image_26112025_19_53_14_9667.jpg', '/home/pi/Desktop/images/26112025/19/53/image_26112025_19_53_24_9689.jpg', '/home/pi/Desktop/images/26112025/19/53/image_26112025_19_53_35_10674.jpg', '/home/pi/Desktop/images/26112025/19/53/image_26112025_19_53_44_9639.jpg', '/home/pi/Desktop/images/26112025/19/53/image_26112025_19_53_54_9799.jpg', '/home/pi/Desktop/images/26112025/19/53/image_26112025_19_54_04_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/53/image_26112025_19_53_14_9667.jpg
/home/pi/Desktop/images/26112025/19/53/image_26112025_19_53_24_9689.jpg
/home/pi/Desktop/images/26112025/19/53/image_26112025_19_53_35_10674.jpg
/home/pi/Desktop/images/26112025/19/53/image_26112025_19_53_44_9639.jpg
/home/pi/Desktop/images/26112025/19/53/image_26112025_19_53_54_9799.jpg
/home/pi/Desktop/images/26112025/19/53/image_26112025_19_54_04_9693.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":["1396309961","1396309925","1396309998","1396310076","1396310037","1396309886"],"photo_ids_order":["1396309886","1396309925","1396309961","1396309998","1396310037","1396310076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aa13ee9ea7ce6468d4e8101eb441f0c0.jpg","text":"TemporaryFile(/tmp/multipartBody6815961748149742110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194484854,"filename":"image_26112025_19_53_35_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b79c24ed63014bbc085da8b563aa8083.jpg","text":"TemporaryFile(/tmp/multipartBody6871595640530324203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194484854,"filename":"image_26112025_19_53_24_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/707ecb0ec0fa3c1fdaa054b7b8b0b099.jpg","text":"TemporaryFile(/tmp/multipartBody6008575661431034854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194484854,"filename":"image_26112025_19_53_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/23e718c9b4efb4dc36061b7671bffdf8.jpg","text":"TemporaryFile(/tmp/multipartBody2513466925340605111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194484854,"filename":"image_26112025_19_54_04_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/852c2da725fb5c27e052aa8be57a464f.jpg","text":"TemporaryFile(/tmp/multipartBody4162750530641991254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194484854,"filename":"image_26112025_19_53_54_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/12233cdf9261b67f900ef6bbfcd35c0c.jpg","text":"TemporaryFile(/tmp/multipartBody1260113788935822445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194484854,"filename":"image_26112025_19_53_14_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396309961","file1":"1396309925","file0":"1396309886","file4":"1396310037","file5":"1396310076","file3":"1396309998"},"map_files_photo_id_array":[{"photo_id":"1396310076","filename":"file5"},{"photo_id":"1396309961","filename":"file2"},{"photo_id":"1396310037","filename":"file4"},{"photo_id":"1396309925","filename":"file1"},{"photo_id":"1396309886","filename":"file0"},{"photo_id":"1396309998","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396309961":["hashtag1","hashtag2"]},{"1396309925":["hashtag1","hashtag2"]},{"1396309998":["hashtag1","hashtag2"]},{"1396310076":["hashtag1","hashtag2"]},{"1396310037":["hashtag1","hashtag2"]},{"1396309886":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396309961, 1396309925, 1396309998, 1396310076, 1396310037, 1396309886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.616716384887695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:01:02.684119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/54/image_26112025_19_54_24_9836.jpg', '/home/pi/Desktop/images/26112025/19/54/image_26112025_19_54_34_9768.jpg', '/home/pi/Desktop/images/26112025/19/54/image_26112025_19_54_54_10631.jpg', '/home/pi/Desktop/images/26112025/19/54/image_26112025_19_55_04_9639.jpg', '/home/pi/Desktop/images/26112025/19/55/image_26112025_19_55_15_10636.jpg', '/home/pi/Desktop/images/26112025/19/55/image_26112025_19_55_24_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/54/image_26112025_19_54_24_9836.jpg
/home/pi/Desktop/images/26112025/19/54/image_26112025_19_54_34_9768.jpg
/home/pi/Desktop/images/26112025/19/54/image_26112025_19_54_54_10631.jpg
/home/pi/Desktop/images/26112025/19/54/image_26112025_19_55_04_9639.jpg
/home/pi/Desktop/images/26112025/19/55/image_26112025_19_55_15_10636.jpg
/home/pi/Desktop/images/26112025/19/55/image_26112025_19_55_24_9808.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":["1396310450","1396310345","1396310300","1396310263","1396310410","1396310217"],"photo_ids_order":["1396310217","1396310263","1396310300","1396310345","1396310410","1396310450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0cba205660533ca3e4f95cef47fba68b.jpg","text":"TemporaryFile(/tmp/multipartBody3172048406184613579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194523615,"filename":"image_26112025_19_55_24_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8d124eebfddeb876161ff5ea489100d5.jpg","text":"TemporaryFile(/tmp/multipartBody6440416717283383979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194523615,"filename":"image_26112025_19_55_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6fc7a35310a77a5d3d3631e991a204e6.jpg","text":"TemporaryFile(/tmp/multipartBody5097635779625875381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194523615,"filename":"image_26112025_19_54_54_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8a3ccad47619b33d25371e5758b4b88f.jpg","text":"TemporaryFile(/tmp/multipartBody8657342840407949826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194523615,"filename":"image_26112025_19_54_34_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/28a75e45fbf4585faded9ec44da18e9e.jpg","text":"TemporaryFile(/tmp/multipartBody6526186929761998903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194523615,"filename":"image_26112025_19_55_15_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bccda9e6767acd3a811f4aaa7b65d059.jpg","text":"TemporaryFile(/tmp/multipartBody7086386150867675151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194523615,"filename":"image_26112025_19_54_24_9836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396310300","file1":"1396310263","file0":"1396310217","file4":"1396310410","file5":"1396310450","file3":"1396310345"},"map_files_photo_id_array":[{"photo_id":"1396310450","filename":"file5"},{"photo_id":"1396310300","filename":"file2"},{"photo_id":"1396310410","filename":"file4"},{"photo_id":"1396310263","filename":"file1"},{"photo_id":"1396310217","filename":"file0"},{"photo_id":"1396310345","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396310450":["hashtag1","hashtag2"]},{"1396310345":["hashtag1","hashtag2"]},{"1396310300":["hashtag1","hashtag2"]},{"1396310263":["hashtag1","hashtag2"]},{"1396310410":["hashtag1","hashtag2"]},{"1396310217":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396310450, 1396310345, 1396310300, 1396310263, 1396310410, 1396310217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84189558029175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 23:01:42.090487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_52_3600.jpg', '/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_55_2541.jpg', '/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_57_2679.jpg', '/home/pi/Desktop/images/30102025/20/45/image_30102025_20_46_01_3674.jpg', '/home/pi/Desktop/images/30102025/20/46/image_30102025_20_46_06_2561.jpg', '/home/pi/Desktop/images/30102025/20/46/image_30102025_20_46_15_2892.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_52_3600.jpg
/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_55_2541.jpg
/home/pi/Desktop/images/30102025/20/45/image_30102025_20_45_57_2679.jpg
/home/pi/Desktop/images/30102025/20/45/image_30102025_20_46_01_3674.jpg
/home/pi/Desktop/images/30102025/20/46/image_30102025_20_46_06_2561.jpg
/home/pi/Desktop/images/30102025/20/46/image_30102025_20_46_15_2892.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":["1396310717","1396310773","1396310599","1396310595","1396310589","1396310664"],"photo_ids_order":["1396310589","1396310595","1396310599","1396310664","1396310717","1396310773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6d00674a9ead4a9dc8426f24cb44c48e.jpg","text":"TemporaryFile(/tmp/multipartBody7014694743771372265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194563568,"filename":"image_30102025_20_46_06_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/26/cc902fde5e4364adfc6cbd18d6d794c1.jpg","text":"TemporaryFile(/tmp/multipartBody7112609968824937667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194563568,"filename":"image_30102025_20_46_15_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/26/464bffd609dd47dbfecb8b99bf373626.jpg","text":"TemporaryFile(/tmp/multipartBody5582808967049465229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194563568,"filename":"image_30102025_20_45_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/26/f44c568eb0dd0b3ac4c25c06de4704dc.jpg","text":"TemporaryFile(/tmp/multipartBody4842127734391700646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194563568,"filename":"image_30102025_20_45_55_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/26/564d8d963a0f1ad3e5e01730746990a1.jpg","text":"TemporaryFile(/tmp/multipartBody7100801417886096827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194563568,"filename":"image_30102025_20_45_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/26/32939bbacf5bd32acf824333897528c1.jpg","text":"TemporaryFile(/tmp/multipartBody8879839893149163464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194563568,"filename":"image_30102025_20_46_01_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396310599","file1":"1396310595","file0":"1396310589","file4":"1396310717","file5":"1396310773","file3":"1396310664"},"map_files_photo_id_array":[{"photo_id":"1396310773","filename":"file5"},{"photo_id":"1396310599","filename":"file2"},{"photo_id":"1396310717","filename":"file4"},{"photo_id":"1396310595","filename":"file1"},{"photo_id":"1396310589","filename":"file0"},{"photo_id":"1396310664","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396310717":["hashtag1","hashtag2"]},{"1396310773":["hashtag1","hashtag2"]},{"1396310599":["hashtag1","hashtag2"]},{"1396310595":["hashtag1","hashtag2"]},{"1396310589":["hashtag1","hashtag2"]},{"1396310664":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396310717, 1396310773, 1396310599, 1396310595, 1396310589, 1396310664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.381165981292725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 23:02:22.372689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/55/image_26112025_19_55_34_9843.jpg', '/home/pi/Desktop/images/26112025/19/55/image_26112025_19_55_54_9662.jpg', '/home/pi/Desktop/images/26112025/19/56/image_26112025_19_56_24_9696.jpg', '/home/pi/Desktop/images/26112025/19/56/image_26112025_19_56_45_10754.jpg', '/home/pi/Desktop/images/26112025/19/56/image_26112025_19_56_54_9656.jpg', '/home/pi/Desktop/images/26112025/19/57/image_26112025_19_57_14_9928.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/55/image_26112025_19_55_34_9843.jpg
/home/pi/Desktop/images/26112025/19/55/image_26112025_19_55_54_9662.jpg
/home/pi/Desktop/images/26112025/19/56/image_26112025_19_56_24_9696.jpg
/home/pi/Desktop/images/26112025/19/56/image_26112025_19_56_45_10754.jpg
/home/pi/Desktop/images/26112025/19/56/image_26112025_19_56_54_9656.jpg
/home/pi/Desktop/images/26112025/19/57/image_26112025_19_57_14_9928.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":["1396310975","1396310885","1396310873","1396310958","1396310928","1396310922"],"photo_ids_order":["1396310873","1396310885","1396310922","1396310928","1396310958","1396310975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0f05a825ec4ae581c978d7376d6b9945.jpg","text":"TemporaryFile(/tmp/multipartBody431243535425272919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194603106,"filename":"image_26112025_19_57_14_9928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/91f0431ce428c951e9dfe2b9082cd4ee.jpg","text":"TemporaryFile(/tmp/multipartBody3467752749576456450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194603106,"filename":"image_26112025_19_55_54_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0ab3b583d3ad4a0c214c9ceaf3bf236e.jpg","text":"TemporaryFile(/tmp/multipartBody784195591861530460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194603106,"filename":"image_26112025_19_55_34_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f15d04ba80e16effbbe4272dc14e7794.jpg","text":"TemporaryFile(/tmp/multipartBody4488343764295006952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194603106,"filename":"image_26112025_19_56_54_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fa6121cddbef52fa71069264188dd881.jpg","text":"TemporaryFile(/tmp/multipartBody7524882228330215421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194603106,"filename":"image_26112025_19_56_45_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2416ed4123dcbe51051dad2cf722af30.jpg","text":"TemporaryFile(/tmp/multipartBody5348697902941771085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194603106,"filename":"image_26112025_19_56_24_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396310922","file1":"1396310885","file0":"1396310873","file4":"1396310958","file5":"1396310975","file3":"1396310928"},"map_files_photo_id_array":[{"photo_id":"1396310975","filename":"file5"},{"photo_id":"1396310922","filename":"file2"},{"photo_id":"1396310958","filename":"file4"},{"photo_id":"1396310885","filename":"file1"},{"photo_id":"1396310873","filename":"file0"},{"photo_id":"1396310928","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396310975":["hashtag1","hashtag2"]},{"1396310885":["hashtag1","hashtag2"]},{"1396310873":["hashtag1","hashtag2"]},{"1396310958":["hashtag1","hashtag2"]},{"1396310928":["hashtag1","hashtag2"]},{"1396310922":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396310975, 1396310885, 1396310873, 1396310958, 1396310928, 1396310922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70447015762329 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:03:03.216599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/57/image_26112025_19_57_25_10618.jpg', '/home/pi/Desktop/images/26112025/19/57/image_26112025_19_57_44_9736.jpg', '/home/pi/Desktop/images/26112025/19/57/image_26112025_19_57_55_10701.jpg', '/home/pi/Desktop/images/26112025/19/58/image_26112025_19_58_14_9706.jpg', '/home/pi/Desktop/images/26112025/19/58/image_26112025_19_58_24_10058.jpg', '/home/pi/Desktop/images/26112025/19/58/image_26112025_19_58_34_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/57/image_26112025_19_57_25_10618.jpg
/home/pi/Desktop/images/26112025/19/57/image_26112025_19_57_44_9736.jpg
/home/pi/Desktop/images/26112025/19/57/image_26112025_19_57_55_10701.jpg
/home/pi/Desktop/images/26112025/19/58/image_26112025_19_58_14_9706.jpg
/home/pi/Desktop/images/26112025/19/58/image_26112025_19_58_24_10058.jpg
/home/pi/Desktop/images/26112025/19/58/image_26112025_19_58_34_9711.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":["1396310990","1396310984","1396310995","1396310989","1396310993","1396310987"],"photo_ids_order":["1396310984","1396310987","1396310989","1396310990","1396310993","1396310995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6e650b4c37854dc4076c1eda8047522c.jpg","text":"TemporaryFile(/tmp/multipartBody2609193856568059819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194644023,"filename":"image_26112025_19_58_14_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ad25950c90daca951535912543c7502f.jpg","text":"TemporaryFile(/tmp/multipartBody6938316580248707960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194644023,"filename":"image_26112025_19_57_25_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fc1d9d5d2b6f2694174deb7e89f94ff2.jpg","text":"TemporaryFile(/tmp/multipartBody3602365932679122819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194644023,"filename":"image_26112025_19_58_34_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cc6b607557efa0bc71ead1e3221ad3ff.jpg","text":"TemporaryFile(/tmp/multipartBody4423553666932157670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194644023,"filename":"image_26112025_19_57_55_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bb6d861f84c9fd13f06b0d20d42bc5b0.jpg","text":"TemporaryFile(/tmp/multipartBody3992724559531645412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194644023,"filename":"image_26112025_19_58_24_10058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/70f36b0c6ea9ad1da160d68d5773883a.jpg","text":"TemporaryFile(/tmp/multipartBody2065887344100225828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194644023,"filename":"image_26112025_19_57_44_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396310989","file1":"1396310987","file0":"1396310984","file4":"1396310993","file5":"1396310995","file3":"1396310990"},"map_files_photo_id_array":[{"photo_id":"1396310995","filename":"file5"},{"photo_id":"1396310989","filename":"file2"},{"photo_id":"1396310993","filename":"file4"},{"photo_id":"1396310987","filename":"file1"},{"photo_id":"1396310984","filename":"file0"},{"photo_id":"1396310990","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396310990":["hashtag1","hashtag2"]},{"1396310984":["hashtag1","hashtag2"]},{"1396310995":["hashtag1","hashtag2"]},{"1396310989":["hashtag1","hashtag2"]},{"1396310993":["hashtag1","hashtag2"]},{"1396310987":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396310990, 1396310984, 1396310995, 1396310989, 1396310993, 1396310987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56396794319153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 23:03:42.623831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/46/image_30102025_20_46_19_3761.jpg', '/home/pi/Desktop/images/30102025/20/46/image_30102025_20_46_22_2692.jpg', '/home/pi/Desktop/images/30102025/20/46/image_30102025_20_46_24_2572.jpg', '/home/pi/Desktop/images/30102025/20/46/image_30102025_20_46_27_2892.jpg', '/home/pi/Desktop/images/30102025/20/46/image_30102025_20_46_31_3621.jpg', '/home/pi/Desktop/images/30102025/20/46/image_30102025_20_46_40_3624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/46/image_30102025_20_46_19_3761.jpg
/home/pi/Desktop/images/30102025/20/46/image_30102025_20_46_22_2692.jpg
/home/pi/Desktop/images/30102025/20/46/image_30102025_20_46_24_2572.jpg
/home/pi/Desktop/images/30102025/20/46/image_30102025_20_46_27_2892.jpg
/home/pi/Desktop/images/30102025/20/46/image_30102025_20_46_31_3621.jpg
/home/pi/Desktop/images/30102025/20/46/image_30102025_20_46_40_3624.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":["1396311014","1396311008","1396311010","1396311003","1396311012","1396311006"],"photo_ids_order":["1396311003","1396311006","1396311008","1396311010","1396311012","1396311014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/33a5712c49cf16b1fc054d3337738d69.jpg","text":"TemporaryFile(/tmp/multipartBody8517947140074296444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194684099,"filename":"image_30102025_20_46_40_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/26/2c9dbb4c28f49b742a6b50ab3fc3c1b8.jpg","text":"TemporaryFile(/tmp/multipartBody6494693054154786386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194684099,"filename":"image_30102025_20_46_24_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/26/0489753b3a1198051b68f908a8ab55da.jpg","text":"TemporaryFile(/tmp/multipartBody1445310532694826402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194684099,"filename":"image_30102025_20_46_27_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/26/4cffae9e3d09da0f4f60b3ffffd08649.jpg","text":"TemporaryFile(/tmp/multipartBody613355175478803400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194684099,"filename":"image_30102025_20_46_19_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/26/1040f304a9a6f03ce2971f0f0dc5b1a3.jpg","text":"TemporaryFile(/tmp/multipartBody2616596627692356059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194684099,"filename":"image_30102025_20_46_31_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/26/78c9684bde6f78ece18725fbf8cc49d1.jpg","text":"TemporaryFile(/tmp/multipartBody63385189285122513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194684099,"filename":"image_30102025_20_46_22_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396311008","file1":"1396311006","file0":"1396311003","file4":"1396311012","file5":"1396311014","file3":"1396311010"},"map_files_photo_id_array":[{"photo_id":"1396311014","filename":"file5"},{"photo_id":"1396311008","filename":"file2"},{"photo_id":"1396311012","filename":"file4"},{"photo_id":"1396311006","filename":"file1"},{"photo_id":"1396311003","filename":"file0"},{"photo_id":"1396311010","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396311014":["hashtag1","hashtag2"]},{"1396311008":["hashtag1","hashtag2"]},{"1396311010":["hashtag1","hashtag2"]},{"1396311003":["hashtag1","hashtag2"]},{"1396311012":["hashtag1","hashtag2"]},{"1396311006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396311014, 1396311008, 1396311010, 1396311003, 1396311012, 1396311006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72176671028137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 23:04:22.812435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/58/image_26112025_19_58_44_10572.jpg', '/home/pi/Desktop/images/26112025/19/58/image_26112025_19_58_54_9569.jpg', '/home/pi/Desktop/images/26112025/19/59/image_26112025_19_59_14_9758.jpg', '/home/pi/Desktop/images/26112025/19/59/image_26112025_19_59_24_9639.jpg', '/home/pi/Desktop/images/26112025/19/59/image_26112025_19_59_35_10613.jpg', '/home/pi/Desktop/images/26112025/19/59/image_26112025_19_59_44_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/58/image_26112025_19_58_44_10572.jpg
/home/pi/Desktop/images/26112025/19/58/image_26112025_19_58_54_9569.jpg
/home/pi/Desktop/images/26112025/19/59/image_26112025_19_59_14_9758.jpg
/home/pi/Desktop/images/26112025/19/59/image_26112025_19_59_24_9639.jpg
/home/pi/Desktop/images/26112025/19/59/image_26112025_19_59_35_10613.jpg
/home/pi/Desktop/images/26112025/19/59/image_26112025_19_59_44_9751.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":["1396311023","1396311035","1396311029","1396311033","1396311027","1396311042"],"photo_ids_order":["1396311023","1396311027","1396311029","1396311033","1396311035","1396311042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c29fe9b0461c52f013996cd8f39bd4e9.jpg","text":"TemporaryFile(/tmp/multipartBody1353052238492959023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194723545,"filename":"image_26112025_19_58_44_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eb158f6afc344da72f3351fb25f59e27.jpg","text":"TemporaryFile(/tmp/multipartBody4400187972522840187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194723545,"filename":"image_26112025_19_59_35_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f1f833ecdf9b5cd4f8bac42f39fbb472.jpg","text":"TemporaryFile(/tmp/multipartBody2737525685204280770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194723545,"filename":"image_26112025_19_59_14_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e999f11bbe1c241d39bdb351a7cbe4ea.jpg","text":"TemporaryFile(/tmp/multipartBody1473056832936545670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194723545,"filename":"image_26112025_19_59_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dca2917770131a932022d059c31ffd06.jpg","text":"TemporaryFile(/tmp/multipartBody2978468717122206196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194723545,"filename":"image_26112025_19_58_54_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/49a0c1a5c0bd224baa1f15c8e4abc3e8.jpg","text":"TemporaryFile(/tmp/multipartBody6142454863271588929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194723545,"filename":"image_26112025_19_59_44_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396311029","file1":"1396311027","file0":"1396311023","file4":"1396311035","file5":"1396311042","file3":"1396311033"},"map_files_photo_id_array":[{"photo_id":"1396311042","filename":"file5"},{"photo_id":"1396311029","filename":"file2"},{"photo_id":"1396311035","filename":"file4"},{"photo_id":"1396311027","filename":"file1"},{"photo_id":"1396311023","filename":"file0"},{"photo_id":"1396311033","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396311023":["hashtag1","hashtag2"]},{"1396311035":["hashtag1","hashtag2"]},{"1396311029":["hashtag1","hashtag2"]},{"1396311033":["hashtag1","hashtag2"]},{"1396311027":["hashtag1","hashtag2"]},{"1396311042":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396311023, 1396311035, 1396311029, 1396311033, 1396311027, 1396311042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.03825092315674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:05:02.711396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/19/59/image_26112025_19_59_54_9690.jpg', '/home/pi/Desktop/images/26112025/19/59/image_26112025_20_00_05_10654.jpg', '/home/pi/Desktop/images/26112025/20/00/image_26112025_20_00_14_9595.jpg', '/home/pi/Desktop/images/26112025/20/00/image_26112025_20_00_35_10617.jpg', '/home/pi/Desktop/images/26112025/20/00/image_26112025_20_00_44_9581.jpg', '/home/pi/Desktop/images/26112025/20/00/image_26112025_20_00_54_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/19/59/image_26112025_19_59_54_9690.jpg
/home/pi/Desktop/images/26112025/19/59/image_26112025_20_00_05_10654.jpg
/home/pi/Desktop/images/26112025/20/00/image_26112025_20_00_14_9595.jpg
/home/pi/Desktop/images/26112025/20/00/image_26112025_20_00_35_10617.jpg
/home/pi/Desktop/images/26112025/20/00/image_26112025_20_00_44_9581.jpg
/home/pi/Desktop/images/26112025/20/00/image_26112025_20_00_54_10356.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":["1396311070","1396311072","1396311080","1396311074","1396311068","1396311077"],"photo_ids_order":["1396311068","1396311070","1396311072","1396311074","1396311077","1396311080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/10eb26de2b648ebd5420146ea328986f.jpg","text":"TemporaryFile(/tmp/multipartBody8622956248565342189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194763551,"filename":"image_26112025_20_00_05_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/63d2a387ca227d0bdeb3bfe40e8c8796.jpg","text":"TemporaryFile(/tmp/multipartBody2071040623482556563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194763551,"filename":"image_26112025_20_00_14_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e6bf66b6cbd5485c06d7a07a06212e27.jpg","text":"TemporaryFile(/tmp/multipartBody8352255686316903075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194763551,"filename":"image_26112025_20_00_54_10356.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1024a6cbf8cb6a970f4a9c6fe4d5f750.jpg","text":"TemporaryFile(/tmp/multipartBody1324375005351402870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194763551,"filename":"image_26112025_20_00_35_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/20751fc35d76c9bc3c9c3048bfbcf27d.jpg","text":"TemporaryFile(/tmp/multipartBody2985525513385121648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194763551,"filename":"image_26112025_19_59_54_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0c1430e14cc417886a3343c197268d09.jpg","text":"TemporaryFile(/tmp/multipartBody3969133802257232635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194763551,"filename":"image_26112025_20_00_44_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396311072","file1":"1396311070","file0":"1396311068","file4":"1396311077","file5":"1396311080","file3":"1396311074"},"map_files_photo_id_array":[{"photo_id":"1396311080","filename":"file5"},{"photo_id":"1396311072","filename":"file2"},{"photo_id":"1396311077","filename":"file4"},{"photo_id":"1396311070","filename":"file1"},{"photo_id":"1396311068","filename":"file0"},{"photo_id":"1396311074","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396311070":["hashtag1","hashtag2"]},{"1396311072":["hashtag1","hashtag2"]},{"1396311080":["hashtag1","hashtag2"]},{"1396311074":["hashtag1","hashtag2"]},{"1396311068":["hashtag1","hashtag2"]},{"1396311077":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396311070, 1396311072, 1396311080, 1396311074, 1396311068, 1396311077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.999873876571655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 23:05:42.102391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/46/image_30102025_20_46_45_2523.jpg', '/home/pi/Desktop/images/30102025/20/46/image_30102025_20_46_55_3709.jpg', '/home/pi/Desktop/images/30102025/20/46/image_30102025_20_46_58_2789.jpg', '/home/pi/Desktop/images/30102025/20/47/image_30102025_20_47_13_3707.jpg', '/home/pi/Desktop/images/30102025/20/47/image_30102025_20_47_16_2709.jpg', '/home/pi/Desktop/images/30102025/20/47/image_30102025_20_47_25_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/46/image_30102025_20_46_45_2523.jpg
/home/pi/Desktop/images/30102025/20/46/image_30102025_20_46_55_3709.jpg
/home/pi/Desktop/images/30102025/20/46/image_30102025_20_46_58_2789.jpg
/home/pi/Desktop/images/30102025/20/47/image_30102025_20_47_13_3707.jpg
/home/pi/Desktop/images/30102025/20/47/image_30102025_20_47_16_2709.jpg
/home/pi/Desktop/images/30102025/20/47/image_30102025_20_47_25_2738.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":["1396311104","1396311101","1396311094","1396311106","1396311090","1396311092"],"photo_ids_order":["1396311090","1396311092","1396311094","1396311101","1396311104","1396311106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/071f50d393b6f97e436f74a0e854ff6c.jpg","text":"TemporaryFile(/tmp/multipartBody4637514599232397214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194803567,"filename":"image_30102025_20_47_16_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/26/230907a444968dea096b367558f62543.jpg","text":"TemporaryFile(/tmp/multipartBody4132335461140620034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194803567,"filename":"image_30102025_20_47_13_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/26/ee55b85b36a14cd647b7a995c338da51.jpg","text":"TemporaryFile(/tmp/multipartBody7258362737411062463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194803567,"filename":"image_30102025_20_46_58_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/26/ea6471e1cb46807206d3cc64508bd0bd.jpg","text":"TemporaryFile(/tmp/multipartBody4076452541865710257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194803567,"filename":"image_30102025_20_47_25_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/26/1ed8fe6209a0eee17c9f0ae2a76d1a49.jpg","text":"TemporaryFile(/tmp/multipartBody186312327035335411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194803567,"filename":"image_30102025_20_46_45_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/26/95c8f816d8a5270c7394cf2cca64ac07.jpg","text":"TemporaryFile(/tmp/multipartBody2129806872878234285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194803567,"filename":"image_30102025_20_46_55_3709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396311094","file1":"1396311092","file0":"1396311090","file4":"1396311104","file5":"1396311106","file3":"1396311101"},"map_files_photo_id_array":[{"photo_id":"1396311106","filename":"file5"},{"photo_id":"1396311094","filename":"file2"},{"photo_id":"1396311104","filename":"file4"},{"photo_id":"1396311092","filename":"file1"},{"photo_id":"1396311090","filename":"file0"},{"photo_id":"1396311101","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396311104":["hashtag1","hashtag2"]},{"1396311101":["hashtag1","hashtag2"]},{"1396311094":["hashtag1","hashtag2"]},{"1396311106":["hashtag1","hashtag2"]},{"1396311090":["hashtag1","hashtag2"]},{"1396311092":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396311104, 1396311101, 1396311094, 1396311106, 1396311090, 1396311092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37795114517212 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 23:06:22.260775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/20/01/image_26112025_20_01_14_9695.jpg', '/home/pi/Desktop/images/26112025/20/01/image_26112025_20_01_25_10599.jpg', '/home/pi/Desktop/images/26112025/20/01/image_26112025_20_01_54_10557.jpg', '/home/pi/Desktop/images/26112025/20/01/image_26112025_20_02_04_9566.jpg', '/home/pi/Desktop/images/26112025/20/02/image_26112025_20_02_14_9683.jpg', '/home/pi/Desktop/images/26112025/20/02/image_26112025_20_02_34_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/20/01/image_26112025_20_01_14_9695.jpg
/home/pi/Desktop/images/26112025/20/01/image_26112025_20_01_25_10599.jpg
/home/pi/Desktop/images/26112025/20/01/image_26112025_20_01_54_10557.jpg
/home/pi/Desktop/images/26112025/20/01/image_26112025_20_02_04_9566.jpg
/home/pi/Desktop/images/26112025/20/02/image_26112025_20_02_14_9683.jpg
/home/pi/Desktop/images/26112025/20/02/image_26112025_20_02_34_9679.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":["1396311128","1396311113","1396311124","1396311126","1396311120","1396311117"],"photo_ids_order":["1396311113","1396311117","1396311120","1396311124","1396311126","1396311128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3b58339a94b36c2f7f701875ec7104bd.jpg","text":"TemporaryFile(/tmp/multipartBody2018601282175714387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194842995,"filename":"image_26112025_20_02_34_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/14852973ba9b0779ec72f4425850ce94.jpg","text":"TemporaryFile(/tmp/multipartBody2995357481261608668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194842995,"filename":"image_26112025_20_01_14_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5b4a15e7ee3407198a0fa84116c6c7b8.jpg","text":"TemporaryFile(/tmp/multipartBody6196677791515974326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194842995,"filename":"image_26112025_20_02_04_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3e1ffdb8896ea438baacb800db200d92.jpg","text":"TemporaryFile(/tmp/multipartBody5885084531190518697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194842995,"filename":"image_26112025_20_02_14_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9ca49d01945f5747907ee0185e7f3cbb.jpg","text":"TemporaryFile(/tmp/multipartBody4759056350698182242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194842995,"filename":"image_26112025_20_01_54_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/706b3800428495df8ecb1456e3b0bff9.jpg","text":"TemporaryFile(/tmp/multipartBody3648079041671548399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194842995,"filename":"image_26112025_20_01_25_10599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396311120","file1":"1396311117","file0":"1396311113","file4":"1396311126","file5":"1396311128","file3":"1396311124"},"map_files_photo_id_array":[{"photo_id":"1396311128","filename":"file5"},{"photo_id":"1396311120","filename":"file2"},{"photo_id":"1396311126","filename":"file4"},{"photo_id":"1396311117","filename":"file1"},{"photo_id":"1396311113","filename":"file0"},{"photo_id":"1396311124","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396311128":["hashtag1","hashtag2"]},{"1396311113":["hashtag1","hashtag2"]},{"1396311124":["hashtag1","hashtag2"]},{"1396311126":["hashtag1","hashtag2"]},{"1396311120":["hashtag1","hashtag2"]},{"1396311117":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396311128, 1396311113, 1396311124, 1396311126, 1396311120, 1396311117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19818687438965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:07:03.198399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/20/02/image_26112025_20_02_44_9736.jpg', '/home/pi/Desktop/images/26112025/20/02/image_26112025_20_02_54_10599.jpg', '/home/pi/Desktop/images/26112025/20/02/image_26112025_20_03_04_9774.jpg', '/home/pi/Desktop/images/26112025/20/03/image_26112025_20_03_25_10645.jpg', '/home/pi/Desktop/images/26112025/20/03/image_26112025_20_03_44_9657.jpg', '/home/pi/Desktop/images/26112025/20/04/image_26112025_20_04_24_10207.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/20/02/image_26112025_20_02_44_9736.jpg
/home/pi/Desktop/images/26112025/20/02/image_26112025_20_02_54_10599.jpg
/home/pi/Desktop/images/26112025/20/02/image_26112025_20_03_04_9774.jpg
/home/pi/Desktop/images/26112025/20/03/image_26112025_20_03_25_10645.jpg
/home/pi/Desktop/images/26112025/20/03/image_26112025_20_03_44_9657.jpg
/home/pi/Desktop/images/26112025/20/04/image_26112025_20_04_24_10207.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":["1396311134","1396311145","1396311136","1396311138","1396311155","1396311140"],"photo_ids_order":["1396311134","1396311136","1396311138","1396311140","1396311145","1396311155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3cd708446329e35cdbe4eec03206f5a9.jpg","text":"TemporaryFile(/tmp/multipartBody3256516967830523010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194884018,"filename":"image_26112025_20_02_44_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/25aa7c2c79dbc126d3e61b9364211623.jpg","text":"TemporaryFile(/tmp/multipartBody4028026696037225099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194884018,"filename":"image_26112025_20_03_44_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e46878ad19577058ed2f9a02f65e8155.jpg","text":"TemporaryFile(/tmp/multipartBody175102108839503884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194884018,"filename":"image_26112025_20_02_54_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/adac26349598c903f48394d2d9832911.jpg","text":"TemporaryFile(/tmp/multipartBody3199680809933252169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194884018,"filename":"image_26112025_20_03_04_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ba9df01f135f79871ed10a8e10e2eb89.jpg","text":"TemporaryFile(/tmp/multipartBody2356097715069600006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194884018,"filename":"image_26112025_20_04_24_10207.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e3e09d27f9d6b7cf6783441ee9efb5fa.jpg","text":"TemporaryFile(/tmp/multipartBody2475869781971615237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194884018,"filename":"image_26112025_20_03_25_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396311138","file1":"1396311136","file0":"1396311134","file4":"1396311145","file5":"1396311155","file3":"1396311140"},"map_files_photo_id_array":[{"photo_id":"1396311155","filename":"file5"},{"photo_id":"1396311138","filename":"file2"},{"photo_id":"1396311145","filename":"file4"},{"photo_id":"1396311136","filename":"file1"},{"photo_id":"1396311134","filename":"file0"},{"photo_id":"1396311140","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396311134":["hashtag1","hashtag2"]},{"1396311145":["hashtag1","hashtag2"]},{"1396311136":["hashtag1","hashtag2"]},{"1396311138":["hashtag1","hashtag2"]},{"1396311155":["hashtag1","hashtag2"]},{"1396311140":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396311134, 1396311145, 1396311136, 1396311138, 1396311155, 1396311140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9035849571228 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 23:07:42.502668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/47/image_30102025_20_47_27_2710.jpg', '/home/pi/Desktop/images/30102025/20/47/image_30102025_20_47_34_2736.jpg', '/home/pi/Desktop/images/30102025/20/47/image_30102025_20_47_43_2730.jpg', '/home/pi/Desktop/images/30102025/20/47/image_30102025_20_47_45_2721.jpg', '/home/pi/Desktop/images/30102025/20/47/image_30102025_20_47_52_3714.jpg', '/home/pi/Desktop/images/30102025/20/47/image_30102025_20_47_55_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/47/image_30102025_20_47_27_2710.jpg
/home/pi/Desktop/images/30102025/20/47/image_30102025_20_47_34_2736.jpg
/home/pi/Desktop/images/30102025/20/47/image_30102025_20_47_43_2730.jpg
/home/pi/Desktop/images/30102025/20/47/image_30102025_20_47_45_2721.jpg
/home/pi/Desktop/images/30102025/20/47/image_30102025_20_47_52_3714.jpg
/home/pi/Desktop/images/30102025/20/47/image_30102025_20_47_55_2749.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":["1396311169","1396311183","1396311171","1396311165","1396311188","1396311167"],"photo_ids_order":["1396311165","1396311167","1396311169","1396311171","1396311183","1396311188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9c0fd02a3c696c70a22af2a7ac034a96.jpg","text":"TemporaryFile(/tmp/multipartBody6548507913130732343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194924005,"filename":"image_30102025_20_47_43_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/26/f760a973238a6340a033345b8e60ebcf.jpg","text":"TemporaryFile(/tmp/multipartBody5172314444992223055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194924005,"filename":"image_30102025_20_47_52_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d82e9fc54304e15383413f990bb30581.jpg","text":"TemporaryFile(/tmp/multipartBody1426192701726857775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194924005,"filename":"image_30102025_20_47_45_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/26/2dec795e0219afae0dda78e09aa0be2a.jpg","text":"TemporaryFile(/tmp/multipartBody3068751214173984429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194924005,"filename":"image_30102025_20_47_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/26/b682093d689e8938d21be49b9d82d2d4.jpg","text":"TemporaryFile(/tmp/multipartBody7634403795170136373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194924005,"filename":"image_30102025_20_47_55_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/26/6c95c967c27dd1219691daba18d38dc9.jpg","text":"TemporaryFile(/tmp/multipartBody7480770918564508919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194924005,"filename":"image_30102025_20_47_34_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396311169","file1":"1396311167","file0":"1396311165","file4":"1396311183","file5":"1396311188","file3":"1396311171"},"map_files_photo_id_array":[{"photo_id":"1396311188","filename":"file5"},{"photo_id":"1396311169","filename":"file2"},{"photo_id":"1396311183","filename":"file4"},{"photo_id":"1396311167","filename":"file1"},{"photo_id":"1396311165","filename":"file0"},{"photo_id":"1396311171","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396311169":["hashtag1","hashtag2"]},{"1396311183":["hashtag1","hashtag2"]},{"1396311171":["hashtag1","hashtag2"]},{"1396311165":["hashtag1","hashtag2"]},{"1396311188":["hashtag1","hashtag2"]},{"1396311167":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396311169, 1396311183, 1396311171, 1396311165, 1396311188, 1396311167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.8658344745636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 23:08:32.708441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/33/image_20112025_23_33_34_2672.jpg', '/home/pi/Desktop/images/20112025/23/33/image_20112025_23_33_55_2696.jpg', '/home/pi/Desktop/images/20112025/23/33/image_20112025_23_33_58_2732.jpg', '/home/pi/Desktop/images/20112025/23/33/image_20112025_23_34_01_3653.jpg', '/home/pi/Desktop/images/20112025/23/34/image_20112025_23_34_16_3671.jpg', '/home/pi/Desktop/images/20112025/23/34/image_20112025_23_34_22_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/33/image_20112025_23_33_34_2672.jpg
/home/pi/Desktop/images/20112025/23/33/image_20112025_23_33_55_2696.jpg
/home/pi/Desktop/images/20112025/23/33/image_20112025_23_33_58_2732.jpg
/home/pi/Desktop/images/20112025/23/33/image_20112025_23_34_01_3653.jpg
/home/pi/Desktop/images/20112025/23/34/image_20112025_23_34_16_3671.jpg
/home/pi/Desktop/images/20112025/23/34/image_20112025_23_34_22_2694.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":["1396311214","1396311211","1396311205","1396311207","1396311216","1396311201"],"photo_ids_order":["1396311201","1396311205","1396311207","1396311211","1396311214","1396311216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/67b8ed700163f2999724c57eb8d33b8b.jpg","text":"TemporaryFile(/tmp/multipartBody5443461519833443358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194974673,"filename":"image_20112025_23_34_16_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/df2a98be56bf02c51c97d4928690f975.jpg","text":"TemporaryFile(/tmp/multipartBody8762441059741477689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194974673,"filename":"image_20112025_23_34_01_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/26/28d8d278c5ed0d5a76a82e97e758b220.jpg","text":"TemporaryFile(/tmp/multipartBody8480508992907792653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194974673,"filename":"image_20112025_23_33_55_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/26/42c4cc1359d83238b16d406546cea296.jpg","text":"TemporaryFile(/tmp/multipartBody918287319156812582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194974673,"filename":"image_20112025_23_33_58_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/26/9310084cd4e3684a9fe7a481857ab60d.jpg","text":"TemporaryFile(/tmp/multipartBody1042188809686300107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194974673,"filename":"image_20112025_23_34_22_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1fca3f033431195fbde02ee37ec09104.jpg","text":"TemporaryFile(/tmp/multipartBody8150675052375697620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764194974673,"filename":"image_20112025_23_33_34_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396311207","file1":"1396311205","file0":"1396311201","file4":"1396311214","file5":"1396311216","file3":"1396311211"},"map_files_photo_id_array":[{"photo_id":"1396311216","filename":"file5"},{"photo_id":"1396311207","filename":"file2"},{"photo_id":"1396311214","filename":"file4"},{"photo_id":"1396311205","filename":"file1"},{"photo_id":"1396311201","filename":"file0"},{"photo_id":"1396311211","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396311214":["hashtag1","hashtag2"]},{"1396311211":["hashtag1","hashtag2"]},{"1396311205":["hashtag1","hashtag2"]},{"1396311207":["hashtag1","hashtag2"]},{"1396311216":["hashtag1","hashtag2"]},{"1396311201":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396311214, 1396311211, 1396311205, 1396311207, 1396311216, 1396311201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.814738750457764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 23:09:11.852588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/35/image_20112025_23_35_28_2696.jpg', '/home/pi/Desktop/images/20112025/23/35/image_20112025_23_35_45_2629.jpg', '/home/pi/Desktop/images/20112025/23/35/image_20112025_23_35_58_3619.jpg', '/home/pi/Desktop/images/20112025/23/36/image_20112025_23_36_01_2687.jpg', '/home/pi/Desktop/images/20112025/23/36/image_20112025_23_36_10_3671.jpg', '/home/pi/Desktop/images/20112025/23/36/image_20112025_23_36_13_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/35/image_20112025_23_35_28_2696.jpg
/home/pi/Desktop/images/20112025/23/35/image_20112025_23_35_45_2629.jpg
/home/pi/Desktop/images/20112025/23/35/image_20112025_23_35_58_3619.jpg
/home/pi/Desktop/images/20112025/23/36/image_20112025_23_36_01_2687.jpg
/home/pi/Desktop/images/20112025/23/36/image_20112025_23_36_10_3671.jpg
/home/pi/Desktop/images/20112025/23/36/image_20112025_23_36_13_2684.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":["1396311221","1396311232","1396311226","1396311235","1396311229","1396311219"],"photo_ids_order":["1396311219","1396311221","1396311226","1396311229","1396311232","1396311235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/89abe6bc63e4243cf8197176f14912fe.jpg","text":"TemporaryFile(/tmp/multipartBody2290011170455990180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195013904,"filename":"image_20112025_23_35_45_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/26/b268a159b5572c518b86d759345156b0.jpg","text":"TemporaryFile(/tmp/multipartBody5173541468595409831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195013904,"filename":"image_20112025_23_36_10_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/26/a7d086f25cef771e78c75ca0e41b8de5.jpg","text":"TemporaryFile(/tmp/multipartBody4910890270253183235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195013904,"filename":"image_20112025_23_35_58_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/26/a490fc7c8dd23ae18472c6ef7ba4e9d0.jpg","text":"TemporaryFile(/tmp/multipartBody6013969312562572128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195013904,"filename":"image_20112025_23_36_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/26/fa752a2a3f79122924e4714b6dac2a7d.jpg","text":"TemporaryFile(/tmp/multipartBody1753663816132409072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195013904,"filename":"image_20112025_23_36_01_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/26/9b21b421e5ae339a97e9c9fa065f2805.jpg","text":"TemporaryFile(/tmp/multipartBody4100604993820949590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195013904,"filename":"image_20112025_23_35_28_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396311226","file1":"1396311221","file0":"1396311219","file4":"1396311232","file5":"1396311235","file3":"1396311229"},"map_files_photo_id_array":[{"photo_id":"1396311235","filename":"file5"},{"photo_id":"1396311226","filename":"file2"},{"photo_id":"1396311232","filename":"file4"},{"photo_id":"1396311221","filename":"file1"},{"photo_id":"1396311219","filename":"file0"},{"photo_id":"1396311229","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396311221":["hashtag1","hashtag2"]},{"1396311232":["hashtag1","hashtag2"]},{"1396311226":["hashtag1","hashtag2"]},{"1396311235":["hashtag1","hashtag2"]},{"1396311229":["hashtag1","hashtag2"]},{"1396311219":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396311221, 1396311232, 1396311226, 1396311235, 1396311229, 1396311219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.96379899978638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:10:02.432120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/20/04/image_26112025_20_04_34_9656.jpg', '/home/pi/Desktop/images/26112025/20/04/image_26112025_20_04_54_9883.jpg', '/home/pi/Desktop/images/26112025/20/04/image_26112025_20_05_04_9701.jpg', '/home/pi/Desktop/images/26112025/20/05/image_26112025_20_05_14_9625.jpg', '/home/pi/Desktop/images/26112025/20/05/image_26112025_20_05_39_13948.jpg', '/home/pi/Desktop/images/26112025/20/05/image_26112025_20_05_44_5774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/20/04/image_26112025_20_04_34_9656.jpg
/home/pi/Desktop/images/26112025/20/04/image_26112025_20_04_54_9883.jpg
/home/pi/Desktop/images/26112025/20/04/image_26112025_20_05_04_9701.jpg
/home/pi/Desktop/images/26112025/20/05/image_26112025_20_05_14_9625.jpg
/home/pi/Desktop/images/26112025/20/05/image_26112025_20_05_39_13948.jpg
/home/pi/Desktop/images/26112025/20/05/image_26112025_20_05_44_5774.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":["1396311242","1396311251","1396311255","1396311246","1396311240","1396311248"],"photo_ids_order":["1396311240","1396311242","1396311246","1396311248","1396311251","1396311255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/30ffbbe632dc45137ef4116f902f0528.jpg","text":"TemporaryFile(/tmp/multipartBody4666447596440669008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195063192,"filename":"image_26112025_20_04_54_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d18fe11e5ea3a70b44b20fb07a0b9dae.jpg","text":"TemporaryFile(/tmp/multipartBody8017044056011124246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195063192,"filename":"image_26112025_20_05_39_13948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dd4a356dbafc0d77c0deac392e40f705.jpg","text":"TemporaryFile(/tmp/multipartBody5210906537132860171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195063192,"filename":"image_26112025_20_05_44_5774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e5fd2e4748f1142d0e83f27cc4d6e168.jpg","text":"TemporaryFile(/tmp/multipartBody7180190126709622603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195063192,"filename":"image_26112025_20_05_04_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c1eeebaf2e92ffa6dde75469ec2e6cf4.jpg","text":"TemporaryFile(/tmp/multipartBody5526724905477370570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195063192,"filename":"image_26112025_20_04_34_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f3b23df76ec3d2ab6ec30f89335fe670.jpg","text":"TemporaryFile(/tmp/multipartBody3602669004266231379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195063192,"filename":"image_26112025_20_05_14_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396311246","file1":"1396311242","file0":"1396311240","file4":"1396311251","file5":"1396311255","file3":"1396311248"},"map_files_photo_id_array":[{"photo_id":"1396311255","filename":"file5"},{"photo_id":"1396311246","filename":"file2"},{"photo_id":"1396311251","filename":"file4"},{"photo_id":"1396311242","filename":"file1"},{"photo_id":"1396311240","filename":"file0"},{"photo_id":"1396311248","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396311242":["hashtag1","hashtag2"]},{"1396311251":["hashtag1","hashtag2"]},{"1396311255":["hashtag1","hashtag2"]},{"1396311246":["hashtag1","hashtag2"]},{"1396311240":["hashtag1","hashtag2"]},{"1396311248":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396311242, 1396311251, 1396311255, 1396311246, 1396311240, 1396311248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75604248046875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 23:10:41.998679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/47/image_30102025_20_47_57_2656.jpg', '/home/pi/Desktop/images/30102025/20/47/image_30102025_20_48_01_3509.jpg', '/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_03_2667.jpg', '/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_10_3643.jpg', '/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_12_2688.jpg', '/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_15_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/47/image_30102025_20_47_57_2656.jpg
/home/pi/Desktop/images/30102025/20/47/image_30102025_20_48_01_3509.jpg
/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_03_2667.jpg
/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_10_3643.jpg
/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_12_2688.jpg
/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_15_2661.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.3778531551361084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:11:02.891327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/20/05/image_26112025_20_05_54_9870.jpg', '/home/pi/Desktop/images/26112025/20/05/image_26112025_20_06_04_9692.jpg', '/home/pi/Desktop/images/26112025/20/06/image_26112025_20_06_15_10783.jpg', '/home/pi/Desktop/images/26112025/20/06/image_26112025_20_06_24_9660.jpg', '/home/pi/Desktop/images/26112025/20/06/image_26112025_20_06_34_9964.jpg', '/home/pi/Desktop/images/26112025/20/06/image_26112025_20_06_44_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/20/05/image_26112025_20_05_54_9870.jpg
/home/pi/Desktop/images/26112025/20/05/image_26112025_20_06_04_9692.jpg
/home/pi/Desktop/images/26112025/20/06/image_26112025_20_06_15_10783.jpg
/home/pi/Desktop/images/26112025/20/06/image_26112025_20_06_24_9660.jpg
/home/pi/Desktop/images/26112025/20/06/image_26112025_20_06_34_9964.jpg
/home/pi/Desktop/images/26112025/20/06/image_26112025_20_06_44_9721.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":["1396311277","1396311271","1396311273","1396311297","1396311290","1396311275"],"photo_ids_order":["1396311271","1396311273","1396311275","1396311277","1396311290","1396311297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3be83b6831892abbc32f3c3ae94a7fb0.jpg","text":"TemporaryFile(/tmp/multipartBody5756332015858035042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195123758,"filename":"image_26112025_20_06_24_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/76804466d0f44931ceb2e8f3442c957e.jpg","text":"TemporaryFile(/tmp/multipartBody6685364356866484636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195123758,"filename":"image_26112025_20_05_54_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d11c62901cb0785f54a5ae1514922037.jpg","text":"TemporaryFile(/tmp/multipartBody8983658836222799389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195123758,"filename":"image_26112025_20_06_04_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5f56e20df57cce6122d815f98a367a19.jpg","text":"TemporaryFile(/tmp/multipartBody6252724409567865136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195123758,"filename":"image_26112025_20_06_44_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0690bc20a641fe14939e9c1212d98ea8.jpg","text":"TemporaryFile(/tmp/multipartBody3254985364664729935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195123758,"filename":"image_26112025_20_06_34_9964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/536f3b2287cc1b63fd34b79f67855e46.jpg","text":"TemporaryFile(/tmp/multipartBody8359206400657582340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195123758,"filename":"image_26112025_20_06_15_10783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396311275","file1":"1396311273","file0":"1396311271","file4":"1396311290","file5":"1396311297","file3":"1396311277"},"map_files_photo_id_array":[{"photo_id":"1396311297","filename":"file5"},{"photo_id":"1396311275","filename":"file2"},{"photo_id":"1396311290","filename":"file4"},{"photo_id":"1396311273","filename":"file1"},{"photo_id":"1396311271","filename":"file0"},{"photo_id":"1396311277","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396311277":["hashtag1","hashtag2"]},{"1396311271":["hashtag1","hashtag2"]},{"1396311273":["hashtag1","hashtag2"]},{"1396311297":["hashtag1","hashtag2"]},{"1396311290":["hashtag1","hashtag2"]},{"1396311275":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396311277, 1396311271, 1396311273, 1396311297, 1396311290, 1396311275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.037261962890625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 23:11:42.143125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/47/image_30102025_20_47_57_2656.jpg', '/home/pi/Desktop/images/30102025/20/47/image_30102025_20_48_01_3509.jpg', '/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_03_2667.jpg', '/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_10_3643.jpg', '/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_12_2688.jpg', '/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_15_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/47/image_30102025_20_47_57_2656.jpg
/home/pi/Desktop/images/30102025/20/47/image_30102025_20_48_01_3509.jpg
/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_03_2667.jpg
/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_10_3643.jpg
/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_12_2688.jpg
/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_15_2661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396311440","1396311515","1396311475","1396311553","1396311406","1396311371"],"photo_ids_order":["1396311371","1396311406","1396311440","1396311475","1396311515","1396311553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/009e6e2c69c15bc95ba545c18c86ace8.jpg","text":"TemporaryFile(/tmp/multipartBody7225340653719914782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195163498,"filename":"image_30102025_20_48_03_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/26/e9787217695163991c2cd957d23a940f.jpg","text":"TemporaryFile(/tmp/multipartBody2524833054660162809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195163498,"filename":"image_30102025_20_48_12_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/26/60fa222541c9394f32c99ae2718abad8.jpg","text":"TemporaryFile(/tmp/multipartBody5798526947555144296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195163498,"filename":"image_30102025_20_48_10_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/26/db4c5af74c4a9a2cac8fd1afef901b4c.jpg","text":"TemporaryFile(/tmp/multipartBody7063185560516779260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195163498,"filename":"image_30102025_20_48_15_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e6d507e8567a4b1cf6b8892ce0ec555f.jpg","text":"TemporaryFile(/tmp/multipartBody4062821041126212191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195163498,"filename":"image_30102025_20_48_01_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/26/69c8af1cfe344d87280c55403a735372.jpg","text":"TemporaryFile(/tmp/multipartBody4161634629191369181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195163498,"filename":"image_30102025_20_47_57_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396311440","file1":"1396311406","file0":"1396311371","file4":"1396311515","file5":"1396311553","file3":"1396311475"},"map_files_photo_id_array":[{"photo_id":"1396311553","filename":"file5"},{"photo_id":"1396311440","filename":"file2"},{"photo_id":"1396311515","filename":"file4"},{"photo_id":"1396311406","filename":"file1"},{"photo_id":"1396311371","filename":"file0"},{"photo_id":"1396311475","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396311440":["hashtag1","hashtag2"]},{"1396311515":["hashtag1","hashtag2"]},{"1396311475":["hashtag1","hashtag2"]},{"1396311553":["hashtag1","hashtag2"]},{"1396311406":["hashtag1","hashtag2"]},{"1396311371":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396311440, 1396311515, 1396311475, 1396311553, 1396311406, 1396311371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15338325500488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 23:12:22.314871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/20/06/image_26112025_20_06_54_9904.jpg', '/home/pi/Desktop/images/26112025/20/06/image_26112025_20_07_05_10698.jpg', '/home/pi/Desktop/images/26112025/20/07/image_26112025_20_07_14_9741.jpg', '/home/pi/Desktop/images/26112025/20/07/image_26112025_20_07_35_10743.jpg', '/home/pi/Desktop/images/26112025/20/07/image_26112025_20_07_44_9079.jpg', '/home/pi/Desktop/images/26112025/20/07/image_26112025_20_07_54_10085.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/20/06/image_26112025_20_06_54_9904.jpg
/home/pi/Desktop/images/26112025/20/06/image_26112025_20_07_05_10698.jpg
/home/pi/Desktop/images/26112025/20/07/image_26112025_20_07_14_9741.jpg
/home/pi/Desktop/images/26112025/20/07/image_26112025_20_07_35_10743.jpg
/home/pi/Desktop/images/26112025/20/07/image_26112025_20_07_44_9079.jpg
/home/pi/Desktop/images/26112025/20/07/image_26112025_20_07_54_10085.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":["1396311796","1396311722","1396311684","1396311759","1396311867","1396311831"],"photo_ids_order":["1396311684","1396311722","1396311759","1396311796","1396311831","1396311867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/312467b13f12fa811d92be2c7f3b3aef.jpg","text":"TemporaryFile(/tmp/multipartBody7009188507485484380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195203042,"filename":"image_26112025_20_07_35_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4f341d4d8ca9474a75492c5476537c38.jpg","text":"TemporaryFile(/tmp/multipartBody3050933763851873117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195203042,"filename":"image_26112025_20_07_05_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/26/8f36127e458c44e58c04454d99372a3c.jpg","text":"TemporaryFile(/tmp/multipartBody1435501498621928714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195203042,"filename":"image_26112025_20_06_54_9904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8903c011da8778a94d8fe8f85e5541d8.jpg","text":"TemporaryFile(/tmp/multipartBody1017420339412368670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195203042,"filename":"image_26112025_20_07_14_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1512eae439ec4d8db91b964a114ae2d7.jpg","text":"TemporaryFile(/tmp/multipartBody3812657925354602305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195203042,"filename":"image_26112025_20_07_54_10085.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a4776d188fdefcbd616b64505dc56272.jpg","text":"TemporaryFile(/tmp/multipartBody8908501833337950912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195203042,"filename":"image_26112025_20_07_44_9079.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396311759","file1":"1396311722","file0":"1396311684","file4":"1396311831","file5":"1396311867","file3":"1396311796"},"map_files_photo_id_array":[{"photo_id":"1396311867","filename":"file5"},{"photo_id":"1396311759","filename":"file2"},{"photo_id":"1396311831","filename":"file4"},{"photo_id":"1396311722","filename":"file1"},{"photo_id":"1396311684","filename":"file0"},{"photo_id":"1396311796","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396311796":["hashtag1","hashtag2"]},{"1396311722":["hashtag1","hashtag2"]},{"1396311684":["hashtag1","hashtag2"]},{"1396311759":["hashtag1","hashtag2"]},{"1396311867":["hashtag1","hashtag2"]},{"1396311831":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396311796, 1396311722, 1396311684, 1396311759, 1396311867, 1396311831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38063287734985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:13:03.144319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/20/07/image_26112025_20_08_04_10653.jpg', '/home/pi/Desktop/images/26112025/20/08/image_26112025_20_08_54_9925.jpg', '/home/pi/Desktop/images/26112025/20/08/image_26112025_20_09_04_10591.jpg', '/home/pi/Desktop/images/26112025/20/09/image_26112025_20_09_24_9775.jpg', '/home/pi/Desktop/images/26112025/20/09/image_26112025_20_09_34_9663.jpg', '/home/pi/Desktop/images/26112025/20/09/image_26112025_20_09_45_10948.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/20/07/image_26112025_20_08_04_10653.jpg
/home/pi/Desktop/images/26112025/20/08/image_26112025_20_08_54_9925.jpg
/home/pi/Desktop/images/26112025/20/08/image_26112025_20_09_04_10591.jpg
/home/pi/Desktop/images/26112025/20/09/image_26112025_20_09_24_9775.jpg
/home/pi/Desktop/images/26112025/20/09/image_26112025_20_09_34_9663.jpg
/home/pi/Desktop/images/26112025/20/09/image_26112025_20_09_45_10948.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":["1396311898","1396311892","1396311894","1396311966","1396311924","1396311896"],"photo_ids_order":["1396311892","1396311894","1396311896","1396311898","1396311924","1396311966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b167b1edb09cbd554877ee18c8060e06.jpg","text":"TemporaryFile(/tmp/multipartBody2625330846098269381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195243998,"filename":"image_26112025_20_09_24_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/95a2c2e8536c0fcf061f1785fef11348.jpg","text":"TemporaryFile(/tmp/multipartBody6169529711720453927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195243998,"filename":"image_26112025_20_08_04_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/87d64663704bebc5fccb44cbc4bcc3ec.jpg","text":"TemporaryFile(/tmp/multipartBody6456247108887629352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195243998,"filename":"image_26112025_20_08_54_9925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c6f731b707db737e1fb622a130d46a30.jpg","text":"TemporaryFile(/tmp/multipartBody6132700825350847928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195243998,"filename":"image_26112025_20_09_45_10948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/84c4bb00d352388dada26f6c5ad00178.jpg","text":"TemporaryFile(/tmp/multipartBody6084887835728026116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195243998,"filename":"image_26112025_20_09_34_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b4cc81a9be7f1189ca99555a8b1c0c73.jpg","text":"TemporaryFile(/tmp/multipartBody7133788117430729631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195243998,"filename":"image_26112025_20_09_04_10591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396311896","file1":"1396311894","file0":"1396311892","file4":"1396311924","file5":"1396311966","file3":"1396311898"},"map_files_photo_id_array":[{"photo_id":"1396311966","filename":"file5"},{"photo_id":"1396311896","filename":"file2"},{"photo_id":"1396311924","filename":"file4"},{"photo_id":"1396311894","filename":"file1"},{"photo_id":"1396311892","filename":"file0"},{"photo_id":"1396311898","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396311898":["hashtag1","hashtag2"]},{"1396311892":["hashtag1","hashtag2"]},{"1396311894":["hashtag1","hashtag2"]},{"1396311966":["hashtag1","hashtag2"]},{"1396311924":["hashtag1","hashtag2"]},{"1396311896":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396311898, 1396311892, 1396311894, 1396311966, 1396311924, 1396311896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6953501701355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 23:13:42.611149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_19_3621.jpg', '/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_21_2674.jpg', '/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_30_2632.jpg', '/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_34_3676.jpg', '/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_48_2569.jpg', '/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_52_3586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_19_3621.jpg
/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_21_2674.jpg
/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_30_2632.jpg
/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_34_3676.jpg
/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_48_2569.jpg
/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_52_3586.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":["1396312114","1396312095","1396312161","1396312149","1396312094","1396312093"],"photo_ids_order":["1396312093","1396312094","1396312095","1396312114","1396312149","1396312161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a646249d41ba1b0c8662bf472fe3b655.jpg","text":"TemporaryFile(/tmp/multipartBody1563471815599061128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195284084,"filename":"image_30102025_20_48_34_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/26/5409140ec7dd61066909a0962bcc56ea.jpg","text":"TemporaryFile(/tmp/multipartBody2960910578464406813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195284084,"filename":"image_30102025_20_48_30_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/26/6a00f914593a66f13e3aeba2dbcd9fb8.jpg","text":"TemporaryFile(/tmp/multipartBody6425943449080605378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195284084,"filename":"image_30102025_20_48_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/26/30978e9075eea085a526ebb783d8f498.jpg","text":"TemporaryFile(/tmp/multipartBody4593010120247604858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195284084,"filename":"image_30102025_20_48_48_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/26/4f2363e829d3d92fc2cd2db3eed3be21.jpg","text":"TemporaryFile(/tmp/multipartBody4465974805200998350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195284084,"filename":"image_30102025_20_48_21_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/26/1be61930d88bcbe203ead139fea01052.jpg","text":"TemporaryFile(/tmp/multipartBody5829699147543017519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195284084,"filename":"image_30102025_20_48_19_3621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312095","file1":"1396312094","file0":"1396312093","file4":"1396312149","file5":"1396312161","file3":"1396312114"},"map_files_photo_id_array":[{"photo_id":"1396312161","filename":"file5"},{"photo_id":"1396312095","filename":"file2"},{"photo_id":"1396312149","filename":"file4"},{"photo_id":"1396312094","filename":"file1"},{"photo_id":"1396312093","filename":"file0"},{"photo_id":"1396312114","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396312114":["hashtag1","hashtag2"]},{"1396312095":["hashtag1","hashtag2"]},{"1396312161":["hashtag1","hashtag2"]},{"1396312149":["hashtag1","hashtag2"]},{"1396312094":["hashtag1","hashtag2"]},{"1396312093":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396312114, 1396312095, 1396312161, 1396312149, 1396312094, 1396312093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14962983131409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 23:14:22.807709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/20/10/image_26112025_20_10_14_9746.jpg', '/home/pi/Desktop/images/26112025/20/10/image_26112025_20_10_25_10808.jpg', '/home/pi/Desktop/images/26112025/20/10/image_26112025_20_10_34_9725.jpg', '/home/pi/Desktop/images/26112025/20/10/image_26112025_20_10_44_9867.jpg', '/home/pi/Desktop/images/26112025/20/10/image_26112025_20_10_54_10219.jpg', '/home/pi/Desktop/images/26112025/20/11/image_26112025_20_11_35_10751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/20/10/image_26112025_20_10_14_9746.jpg
/home/pi/Desktop/images/26112025/20/10/image_26112025_20_10_25_10808.jpg
/home/pi/Desktop/images/26112025/20/10/image_26112025_20_10_34_9725.jpg
/home/pi/Desktop/images/26112025/20/10/image_26112025_20_10_44_9867.jpg
/home/pi/Desktop/images/26112025/20/10/image_26112025_20_10_54_10219.jpg
/home/pi/Desktop/images/26112025/20/11/image_26112025_20_11_35_10751.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":["1396312211","1396312220","1396312214","1396312208","1396312223","1396312217"],"photo_ids_order":["1396312208","1396312211","1396312214","1396312217","1396312220","1396312223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/87bbcba7b3f6add2f7351079bbc72815.jpg","text":"TemporaryFile(/tmp/multipartBody5953963565635059498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195323543,"filename":"image_26112025_20_10_25_10808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1547f1dc0a69a87f05267954bfeafe70.jpg","text":"TemporaryFile(/tmp/multipartBody8185046887445340896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195323543,"filename":"image_26112025_20_10_54_10219.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/141659ac9e00e61de257dd2dec3347a6.jpg","text":"TemporaryFile(/tmp/multipartBody8316884931298336454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195323543,"filename":"image_26112025_20_10_34_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e61257a0819646115696f4f5ed74c2dd.jpg","text":"TemporaryFile(/tmp/multipartBody5384359481702350496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195323543,"filename":"image_26112025_20_10_14_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/65edb1fda9bef2f22f0689786be98b2d.jpg","text":"TemporaryFile(/tmp/multipartBody1556924617354967209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195323543,"filename":"image_26112025_20_11_35_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c913d6bc6f3f99a0552975be09d7991b.jpg","text":"TemporaryFile(/tmp/multipartBody8598316654713080852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195323543,"filename":"image_26112025_20_10_44_9867.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312214","file1":"1396312211","file0":"1396312208","file4":"1396312220","file5":"1396312223","file3":"1396312217"},"map_files_photo_id_array":[{"photo_id":"1396312223","filename":"file5"},{"photo_id":"1396312214","filename":"file2"},{"photo_id":"1396312220","filename":"file4"},{"photo_id":"1396312211","filename":"file1"},{"photo_id":"1396312208","filename":"file0"},{"photo_id":"1396312217","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396312211":["hashtag1","hashtag2"]},{"1396312220":["hashtag1","hashtag2"]},{"1396312214":["hashtag1","hashtag2"]},{"1396312208":["hashtag1","hashtag2"]},{"1396312223":["hashtag1","hashtag2"]},{"1396312217":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396312211, 1396312220, 1396312214, 1396312208, 1396312223, 1396312217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46277046203613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:15:02.647388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/20/12/image_26112025_20_12_25_10756.jpg', '/home/pi/Desktop/images/26112025/20/12/image_26112025_20_12_34_9585.jpg', '/home/pi/Desktop/images/26112025/20/13/image_26112025_20_13_35_10731.jpg', '/home/pi/Desktop/images/26112025/20/13/image_26112025_20_13_44_9862.jpg', '/home/pi/Desktop/images/26112025/20/13/image_26112025_20_13_54_9789.jpg', '/home/pi/Desktop/images/26112025/20/13/image_26112025_20_14_04_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/20/12/image_26112025_20_12_25_10756.jpg
/home/pi/Desktop/images/26112025/20/12/image_26112025_20_12_34_9585.jpg
/home/pi/Desktop/images/26112025/20/13/image_26112025_20_13_35_10731.jpg
/home/pi/Desktop/images/26112025/20/13/image_26112025_20_13_44_9862.jpg
/home/pi/Desktop/images/26112025/20/13/image_26112025_20_13_54_9789.jpg
/home/pi/Desktop/images/26112025/20/13/image_26112025_20_14_04_9809.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":["1396312231","1396312225","1396312233","1396312236","1396312227","1396312229"],"photo_ids_order":["1396312225","1396312227","1396312229","1396312231","1396312233","1396312236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/eeb8707ec3ddca498417bd093f5f795c.jpg","text":"TemporaryFile(/tmp/multipartBody2020956930065001264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195363462,"filename":"image_26112025_20_13_44_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5c2f181888402ecf78cf3ff902f0c1cc.jpg","text":"TemporaryFile(/tmp/multipartBody8088539923309705876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195363462,"filename":"image_26112025_20_12_25_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8d047e45b40af3bf798f883c5b112a1c.jpg","text":"TemporaryFile(/tmp/multipartBody7319840197541793311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195363462,"filename":"image_26112025_20_13_54_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2f32d3eb52a24a4ab63949071ab927e8.jpg","text":"TemporaryFile(/tmp/multipartBody3350937827760513001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195363462,"filename":"image_26112025_20_14_04_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9b6e67a82c1b67aade2caeed4f172b22.jpg","text":"TemporaryFile(/tmp/multipartBody8234998504639561909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195363462,"filename":"image_26112025_20_12_34_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/53f6f6caa415c358f431336e3d4a313a.jpg","text":"TemporaryFile(/tmp/multipartBody7596587475680842900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195363462,"filename":"image_26112025_20_13_35_10731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312229","file1":"1396312227","file0":"1396312225","file4":"1396312233","file5":"1396312236","file3":"1396312231"},"map_files_photo_id_array":[{"photo_id":"1396312236","filename":"file5"},{"photo_id":"1396312229","filename":"file2"},{"photo_id":"1396312233","filename":"file4"},{"photo_id":"1396312227","filename":"file1"},{"photo_id":"1396312225","filename":"file0"},{"photo_id":"1396312231","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396312231":["hashtag1","hashtag2"]},{"1396312225":["hashtag1","hashtag2"]},{"1396312233":["hashtag1","hashtag2"]},{"1396312236":["hashtag1","hashtag2"]},{"1396312227":["hashtag1","hashtag2"]},{"1396312229":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396312231, 1396312225, 1396312233, 1396312236, 1396312227, 1396312229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56521534919739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 23:15:42.073489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_55_2752.jpg', '/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_57_2555.jpg', '/home/pi/Desktop/images/30102025/20/48/image_30102025_20_49_01_3702.jpg', '/home/pi/Desktop/images/30102025/20/49/image_30102025_20_49_04_2803.jpg', '/home/pi/Desktop/images/30102025/20/49/image_30102025_20_49_12_2581.jpg', '/home/pi/Desktop/images/30102025/20/49/image_30102025_20_49_15_2797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_55_2752.jpg
/home/pi/Desktop/images/30102025/20/48/image_30102025_20_48_57_2555.jpg
/home/pi/Desktop/images/30102025/20/48/image_30102025_20_49_01_3702.jpg
/home/pi/Desktop/images/30102025/20/49/image_30102025_20_49_04_2803.jpg
/home/pi/Desktop/images/30102025/20/49/image_30102025_20_49_12_2581.jpg
/home/pi/Desktop/images/30102025/20/49/image_30102025_20_49_15_2797.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":["1396312249","1396312251","1396312248","1396312245","1396312250","1396312247"],"photo_ids_order":["1396312245","1396312247","1396312248","1396312249","1396312250","1396312251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5ac114ab293681415ff0ebae86b2197b.jpg","text":"TemporaryFile(/tmp/multipartBody2561782864560259671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195403533,"filename":"image_30102025_20_49_04_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/26/50a504d4027aa7a9e5a4c412228f9aa6.jpg","text":"TemporaryFile(/tmp/multipartBody8808808245740254576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195403533,"filename":"image_30102025_20_49_15_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/26/59d31170795d0287b9b0edca28b24d94.jpg","text":"TemporaryFile(/tmp/multipartBody6416508770751144184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195403533,"filename":"image_30102025_20_49_01_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/26/dd7dcbbc2b5d2a7486ecb43a97f4f9ef.jpg","text":"TemporaryFile(/tmp/multipartBody8507032007677064353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195403533,"filename":"image_30102025_20_48_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/26/b55de5edef1d06275202f27b1ee3f484.jpg","text":"TemporaryFile(/tmp/multipartBody562959476943527617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195403533,"filename":"image_30102025_20_49_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/26/70f3bf87884fa2591813a27f37c3d156.jpg","text":"TemporaryFile(/tmp/multipartBody8567454789499636029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195403533,"filename":"image_30102025_20_48_57_2555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312248","file1":"1396312247","file0":"1396312245","file4":"1396312250","file5":"1396312251","file3":"1396312249"},"map_files_photo_id_array":[{"photo_id":"1396312251","filename":"file5"},{"photo_id":"1396312248","filename":"file2"},{"photo_id":"1396312250","filename":"file4"},{"photo_id":"1396312247","filename":"file1"},{"photo_id":"1396312245","filename":"file0"},{"photo_id":"1396312249","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396312249":["hashtag1","hashtag2"]},{"1396312251":["hashtag1","hashtag2"]},{"1396312248":["hashtag1","hashtag2"]},{"1396312245":["hashtag1","hashtag2"]},{"1396312250":["hashtag1","hashtag2"]},{"1396312247":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396312249, 1396312251, 1396312248, 1396312245, 1396312250, 1396312247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.551724910736084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 23:16:22.229994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/20/14/image_26112025_20_14_24_10694.jpg', '/home/pi/Desktop/images/26112025/20/14/image_26112025_20_14_34_9683.jpg', '/home/pi/Desktop/images/26112025/20/16/image_26112025_20_16_25_10696.jpg', '/home/pi/Desktop/images/26112025/20/16/image_26112025_20_16_35_9990.jpg', '/home/pi/Desktop/images/26112025/20/16/image_26112025_20_16_44_9580.jpg', '/home/pi/Desktop/images/26112025/20/16/image_26112025_20_16_54_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/20/14/image_26112025_20_14_24_10694.jpg
/home/pi/Desktop/images/26112025/20/14/image_26112025_20_14_34_9683.jpg
/home/pi/Desktop/images/26112025/20/16/image_26112025_20_16_25_10696.jpg
/home/pi/Desktop/images/26112025/20/16/image_26112025_20_16_35_9990.jpg
/home/pi/Desktop/images/26112025/20/16/image_26112025_20_16_44_9580.jpg
/home/pi/Desktop/images/26112025/20/16/image_26112025_20_16_54_9777.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":["1396312294","1396312297","1396312299","1396312283","1396312286","1396312291"],"photo_ids_order":["1396312283","1396312286","1396312291","1396312294","1396312297","1396312299"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fbd7d9ab275bbc99cf5c071d1dac7cd1.jpg","text":"TemporaryFile(/tmp/multipartBody7638619155343913166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195442973,"filename":"image_26112025_20_16_35_9990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5ad85e66be8183e80d32276b114de0fb.jpg","text":"TemporaryFile(/tmp/multipartBody6306130608723869035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195442973,"filename":"image_26112025_20_16_44_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1dd29a213666a8d48f08953230df68a2.jpg","text":"TemporaryFile(/tmp/multipartBody7697284666744341394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195442973,"filename":"image_26112025_20_16_54_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c64369c9e63849c28911391326d87f57.jpg","text":"TemporaryFile(/tmp/multipartBody8539434526317673028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195442973,"filename":"image_26112025_20_14_24_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/12ffde2c83a53e22f11f7e568bb29dec.jpg","text":"TemporaryFile(/tmp/multipartBody6006172335587274821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195442973,"filename":"image_26112025_20_14_34_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7255f01b06eb4ee65c311df7af8a7564.jpg","text":"TemporaryFile(/tmp/multipartBody4089813847447612862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195442973,"filename":"image_26112025_20_16_25_10696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312291","file1":"1396312286","file0":"1396312283","file4":"1396312297","file5":"1396312299","file3":"1396312294"},"map_files_photo_id_array":[{"photo_id":"1396312299","filename":"file5"},{"photo_id":"1396312291","filename":"file2"},{"photo_id":"1396312297","filename":"file4"},{"photo_id":"1396312286","filename":"file1"},{"photo_id":"1396312283","filename":"file0"},{"photo_id":"1396312294","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396312294":["hashtag1","hashtag2"]},{"1396312297":["hashtag1","hashtag2"]},{"1396312299":["hashtag1","hashtag2"]},{"1396312283":["hashtag1","hashtag2"]},{"1396312286":["hashtag1","hashtag2"]},{"1396312291":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396312294, 1396312297, 1396312299, 1396312283, 1396312286, 1396312291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.385990619659424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:17:03.015656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/20/17/image_26112025_20_17_54_10011.jpg', '/home/pi/Desktop/images/26112025/20/17/image_26112025_20_18_04_9694.jpg', '/home/pi/Desktop/images/26112025/20/18/image_26112025_20_18_25_10697.jpg', '/home/pi/Desktop/images/26112025/20/18/image_26112025_20_18_54_9790.jpg', '/home/pi/Desktop/images/26112025/20/19/image_26112025_20_19_34_9813.jpg', '/home/pi/Desktop/images/26112025/20/20/image_26112025_20_20_15_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/20/17/image_26112025_20_17_54_10011.jpg
/home/pi/Desktop/images/26112025/20/17/image_26112025_20_18_04_9694.jpg
/home/pi/Desktop/images/26112025/20/18/image_26112025_20_18_25_10697.jpg
/home/pi/Desktop/images/26112025/20/18/image_26112025_20_18_54_9790.jpg
/home/pi/Desktop/images/26112025/20/19/image_26112025_20_19_34_9813.jpg
/home/pi/Desktop/images/26112025/20/20/image_26112025_20_20_15_10614.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":["1396312310","1396312304","1396312306","1396312314","1396312302","1396312308"],"photo_ids_order":["1396312302","1396312304","1396312306","1396312308","1396312310","1396312314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e6d47eb1800e587fc014ef9a6b4edb1a.jpg","text":"TemporaryFile(/tmp/multipartBody3744656751242094885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195483832,"filename":"image_26112025_20_19_34_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a548eac1f3c8b23ff13d3931c42cb185.jpg","text":"TemporaryFile(/tmp/multipartBody1577911542683015987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195483832,"filename":"image_26112025_20_18_04_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2e43be36e28b6f476596d29bacb36780.jpg","text":"TemporaryFile(/tmp/multipartBody8796892710795166793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195483832,"filename":"image_26112025_20_18_25_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c772197aa8ccaaf85aacfbdbdaa1c5dc.jpg","text":"TemporaryFile(/tmp/multipartBody9186035998394585335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195483832,"filename":"image_26112025_20_20_15_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/862ab282a013ada1ea9cad78ec46b148.jpg","text":"TemporaryFile(/tmp/multipartBody309903835346619938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195483832,"filename":"image_26112025_20_17_54_10011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/576b97ffd4cfef9ad551f8f2387f5c21.jpg","text":"TemporaryFile(/tmp/multipartBody7265181840315230950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195483832,"filename":"image_26112025_20_18_54_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312306","file1":"1396312304","file0":"1396312302","file4":"1396312310","file5":"1396312314","file3":"1396312308"},"map_files_photo_id_array":[{"photo_id":"1396312314","filename":"file5"},{"photo_id":"1396312306","filename":"file2"},{"photo_id":"1396312310","filename":"file4"},{"photo_id":"1396312304","filename":"file1"},{"photo_id":"1396312302","filename":"file0"},{"photo_id":"1396312308","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396312310":["hashtag1","hashtag2"]},{"1396312304":["hashtag1","hashtag2"]},{"1396312306":["hashtag1","hashtag2"]},{"1396312314":["hashtag1","hashtag2"]},{"1396312302":["hashtag1","hashtag2"]},{"1396312308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396312310, 1396312304, 1396312306, 1396312314, 1396312302, 1396312308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.075422048568726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 23:17:42.488250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/49/image_30102025_20_49_33_2547.jpg', '/home/pi/Desktop/images/30102025/20/49/image_30102025_20_49_39_2585.jpg', '/home/pi/Desktop/images/30102025/20/49/image_30102025_20_49_43_3633.jpg', '/home/pi/Desktop/images/30102025/20/49/image_30102025_20_49_45_2598.jpg', '/home/pi/Desktop/images/30102025/20/49/image_30102025_20_49_48_2703.jpg', '/home/pi/Desktop/images/30102025/20/50/image_30102025_20_50_06_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/49/image_30102025_20_49_33_2547.jpg
/home/pi/Desktop/images/30102025/20/49/image_30102025_20_49_39_2585.jpg
/home/pi/Desktop/images/30102025/20/49/image_30102025_20_49_43_3633.jpg
/home/pi/Desktop/images/30102025/20/49/image_30102025_20_49_45_2598.jpg
/home/pi/Desktop/images/30102025/20/49/image_30102025_20_49_48_2703.jpg
/home/pi/Desktop/images/30102025/20/50/image_30102025_20_50_06_2646.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":["1396312336","1396312335","1396312338","1396312326","1396312337","1396312322"],"photo_ids_order":["1396312322","1396312326","1396312335","1396312336","1396312337","1396312338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0f07f8cffd78be21f61187f81680326e.jpg","text":"TemporaryFile(/tmp/multipartBody4212495100060668268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195523960,"filename":"image_30102025_20_49_45_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/26/ae259c765d87d144816b9a33065892f4.jpg","text":"TemporaryFile(/tmp/multipartBody914848315628469190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195523960,"filename":"image_30102025_20_49_43_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/26/82be9b1f15e1f374e0e3a3b9f22ebcfc.jpg","text":"TemporaryFile(/tmp/multipartBody8368870281210268273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195523960,"filename":"image_30102025_20_50_06_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/25d59531d5b82323b3f28089c5ff31f1.jpg","text":"TemporaryFile(/tmp/multipartBody5559773061564088842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195523960,"filename":"image_30102025_20_49_39_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/26/27632c5a73b714266d5cba7d6729e75d.jpg","text":"TemporaryFile(/tmp/multipartBody6879390628198080099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195523960,"filename":"image_30102025_20_49_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/26/861d8f98109b49969636a4f8e1b8da71.jpg","text":"TemporaryFile(/tmp/multipartBody6359809525688090184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195523960,"filename":"image_30102025_20_49_33_2547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312335","file1":"1396312326","file0":"1396312322","file4":"1396312337","file5":"1396312338","file3":"1396312336"},"map_files_photo_id_array":[{"photo_id":"1396312338","filename":"file5"},{"photo_id":"1396312335","filename":"file2"},{"photo_id":"1396312337","filename":"file4"},{"photo_id":"1396312326","filename":"file1"},{"photo_id":"1396312322","filename":"file0"},{"photo_id":"1396312336","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396312336":["hashtag1","hashtag2"]},{"1396312335":["hashtag1","hashtag2"]},{"1396312338":["hashtag1","hashtag2"]},{"1396312326":["hashtag1","hashtag2"]},{"1396312337":["hashtag1","hashtag2"]},{"1396312322":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396312336, 1396312335, 1396312338, 1396312326, 1396312337, 1396312322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80781698226929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 23:18:22.629869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/20/20/image_26112025_20_20_24_9365.jpg', '/home/pi/Desktop/images/26112025/20/20/image_26112025_20_20_34_9775.jpg', '/home/pi/Desktop/images/26112025/20/20/image_26112025_20_20_44_10642.jpg', '/home/pi/Desktop/images/26112025/20/21/image_26112025_20_21_44_9620.jpg', '/home/pi/Desktop/images/26112025/20/21/image_26112025_20_21_54_10534.jpg', '/home/pi/Desktop/images/26112025/20/22/image_26112025_20_22_14_9863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/20/20/image_26112025_20_20_24_9365.jpg
/home/pi/Desktop/images/26112025/20/20/image_26112025_20_20_34_9775.jpg
/home/pi/Desktop/images/26112025/20/20/image_26112025_20_20_44_10642.jpg
/home/pi/Desktop/images/26112025/20/21/image_26112025_20_21_44_9620.jpg
/home/pi/Desktop/images/26112025/20/21/image_26112025_20_21_54_10534.jpg
/home/pi/Desktop/images/26112025/20/22/image_26112025_20_22_14_9863.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":["1396312354","1396312357","1396312343","1396312352","1396312346","1396312349"],"photo_ids_order":["1396312343","1396312346","1396312349","1396312352","1396312354","1396312357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e6d2e41177917616fbc09946e1858f39.jpg","text":"TemporaryFile(/tmp/multipartBody4913842144096168988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195563410,"filename":"image_26112025_20_21_54_10534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bb3f1ff9742b71e0b503dceefaa37571.jpg","text":"TemporaryFile(/tmp/multipartBody2299878364638847546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195563410,"filename":"image_26112025_20_22_14_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/006c350381241bb0862533bd6224a11b.jpg","text":"TemporaryFile(/tmp/multipartBody2072840092474380525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195563410,"filename":"image_26112025_20_20_24_9365.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/761f5ee206bee95259e823f2da4e795f.jpg","text":"TemporaryFile(/tmp/multipartBody2367394670342867948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195563410,"filename":"image_26112025_20_21_44_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/66221cbfd3d6fe155c32f6f73db001c2.jpg","text":"TemporaryFile(/tmp/multipartBody5039948495330657849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195563410,"filename":"image_26112025_20_20_34_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/abf1f43e935952beb31999f5f5e60e8a.jpg","text":"TemporaryFile(/tmp/multipartBody1696377635891737030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195563410,"filename":"image_26112025_20_20_44_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312349","file1":"1396312346","file0":"1396312343","file4":"1396312354","file5":"1396312357","file3":"1396312352"},"map_files_photo_id_array":[{"photo_id":"1396312357","filename":"file5"},{"photo_id":"1396312349","filename":"file2"},{"photo_id":"1396312354","filename":"file4"},{"photo_id":"1396312346","filename":"file1"},{"photo_id":"1396312343","filename":"file0"},{"photo_id":"1396312352","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396312354":["hashtag1","hashtag2"]},{"1396312357":["hashtag1","hashtag2"]},{"1396312343":["hashtag1","hashtag2"]},{"1396312352":["hashtag1","hashtag2"]},{"1396312346":["hashtag1","hashtag2"]},{"1396312349":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396312354, 1396312357, 1396312343, 1396312352, 1396312346, 1396312349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82765984535217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:19:03.746180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/20/22/image_26112025_20_22_44_9665.jpg', '/home/pi/Desktop/images/26112025/20/23/image_26112025_20_24_04_9732.jpg', '/home/pi/Desktop/images/26112025/20/24/image_26112025_20_24_34_9660.jpg', '/home/pi/Desktop/images/26112025/20/24/image_26112025_20_24_44_9587.jpg', '/home/pi/Desktop/images/26112025/20/24/image_26112025_20_25_04_9798.jpg', '/home/pi/Desktop/images/26112025/20/25/image_26112025_20_25_44_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/20/22/image_26112025_20_22_44_9665.jpg
/home/pi/Desktop/images/26112025/20/23/image_26112025_20_24_04_9732.jpg
/home/pi/Desktop/images/26112025/20/24/image_26112025_20_24_34_9660.jpg
/home/pi/Desktop/images/26112025/20/24/image_26112025_20_24_44_9587.jpg
/home/pi/Desktop/images/26112025/20/24/image_26112025_20_25_04_9798.jpg
/home/pi/Desktop/images/26112025/20/25/image_26112025_20_25_44_9623.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":["1396312366","1396312363","1396312359","1396312374","1396312361","1396312364"],"photo_ids_order":["1396312359","1396312361","1396312363","1396312364","1396312366","1396312374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/666b9688b9908c07646a10bb20f41f59.jpg","text":"TemporaryFile(/tmp/multipartBody7380655178530972714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195604683,"filename":"image_26112025_20_25_04_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/62abd133ecf3354cba1dc9ac51c127c9.jpg","text":"TemporaryFile(/tmp/multipartBody2457110679859643651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195604683,"filename":"image_26112025_20_24_34_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a5cf0aca81492cf445ba92f7270d4504.jpg","text":"TemporaryFile(/tmp/multipartBody6023398616333200044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195604683,"filename":"image_26112025_20_22_44_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/616de68cba17b42aa598b94131137b42.jpg","text":"TemporaryFile(/tmp/multipartBody8140218079979136038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195604683,"filename":"image_26112025_20_25_44_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ee9c5476a1841145fb81e78e8334f05a.jpg","text":"TemporaryFile(/tmp/multipartBody5466863741049767292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195604683,"filename":"image_26112025_20_24_04_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cf96d263d969242708a5a08599307d04.jpg","text":"TemporaryFile(/tmp/multipartBody649449238313479143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195604683,"filename":"image_26112025_20_24_44_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312363","file1":"1396312361","file0":"1396312359","file4":"1396312366","file5":"1396312374","file3":"1396312364"},"map_files_photo_id_array":[{"photo_id":"1396312374","filename":"file5"},{"photo_id":"1396312363","filename":"file2"},{"photo_id":"1396312366","filename":"file4"},{"photo_id":"1396312361","filename":"file1"},{"photo_id":"1396312359","filename":"file0"},{"photo_id":"1396312364","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396312366":["hashtag1","hashtag2"]},{"1396312363":["hashtag1","hashtag2"]},{"1396312359":["hashtag1","hashtag2"]},{"1396312374":["hashtag1","hashtag2"]},{"1396312361":["hashtag1","hashtag2"]},{"1396312364":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396312366, 1396312363, 1396312359, 1396312374, 1396312361, 1396312364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89136505126953 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 23:19:42.823314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/50/image_30102025_20_50_16_3650.jpg', '/home/pi/Desktop/images/30102025/20/50/image_30102025_20_50_21_2761.jpg', '/home/pi/Desktop/images/30102025/20/50/image_30102025_20_50_27_2748.jpg', '/home/pi/Desktop/images/30102025/20/50/image_30102025_20_50_30_2636.jpg', '/home/pi/Desktop/images/30102025/20/50/image_30102025_20_50_33_2727.jpg', '/home/pi/Desktop/images/30102025/20/50/image_30102025_20_50_37_3686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/50/image_30102025_20_50_16_3650.jpg
/home/pi/Desktop/images/30102025/20/50/image_30102025_20_50_21_2761.jpg
/home/pi/Desktop/images/30102025/20/50/image_30102025_20_50_27_2748.jpg
/home/pi/Desktop/images/30102025/20/50/image_30102025_20_50_30_2636.jpg
/home/pi/Desktop/images/30102025/20/50/image_30102025_20_50_33_2727.jpg
/home/pi/Desktop/images/30102025/20/50/image_30102025_20_50_37_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":["1396312418","1396312417","1396312414","1396312416","1396312419","1396312415"],"photo_ids_order":["1396312414","1396312415","1396312416","1396312417","1396312418","1396312419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6fa96f84a2c03f9260e6726691be3378.jpg","text":"TemporaryFile(/tmp/multipartBody3684727633625205999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195644288,"filename":"image_30102025_20_50_33_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/26/6feda9130d6c9e555b7315002b6b7cfa.jpg","text":"TemporaryFile(/tmp/multipartBody684759897823837948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195644288,"filename":"image_30102025_20_50_30_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/26/cc1c8339243c57a11e63a3cb180fc6cc.jpg","text":"TemporaryFile(/tmp/multipartBody3569351668430956079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195644288,"filename":"image_30102025_20_50_16_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/26/143bf8aea8cf6bfbf8d87732370e5c6c.jpg","text":"TemporaryFile(/tmp/multipartBody6128790325359384365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195644288,"filename":"image_30102025_20_50_27_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/26/fefe4157ccbeb2782ace15571c340fd0.jpg","text":"TemporaryFile(/tmp/multipartBody5262830095884706263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195644288,"filename":"image_30102025_20_50_37_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/26/c9e298e8d0c926156574b32541a075f7.jpg","text":"TemporaryFile(/tmp/multipartBody1080374962160604311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195644288,"filename":"image_30102025_20_50_21_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312416","file1":"1396312415","file0":"1396312414","file4":"1396312418","file5":"1396312419","file3":"1396312417"},"map_files_photo_id_array":[{"photo_id":"1396312419","filename":"file5"},{"photo_id":"1396312416","filename":"file2"},{"photo_id":"1396312418","filename":"file4"},{"photo_id":"1396312415","filename":"file1"},{"photo_id":"1396312414","filename":"file0"},{"photo_id":"1396312417","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396312418":["hashtag1","hashtag2"]},{"1396312417":["hashtag1","hashtag2"]},{"1396312414":["hashtag1","hashtag2"]},{"1396312416":["hashtag1","hashtag2"]},{"1396312419":["hashtag1","hashtag2"]},{"1396312415":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396312418, 1396312417, 1396312414, 1396312416, 1396312419, 1396312415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20332312583923 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 23:20:22.014600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/20/27/image_26112025_20_27_55_10803.jpg', '/home/pi/Desktop/images/26112025/20/27/image_26112025_20_28_04_9794.jpg', '/home/pi/Desktop/images/26112025/20/28/image_26112025_20_28_24_9555.jpg', '/home/pi/Desktop/images/26112025/20/29/image_26112025_20_29_14_9681.jpg', '/home/pi/Desktop/images/26112025/20/30/image_26112025_20_30_25_10033.jpg', '/home/pi/Desktop/images/26112025/20/30/image_26112025_20_30_54_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/20/27/image_26112025_20_27_55_10803.jpg
/home/pi/Desktop/images/26112025/20/27/image_26112025_20_28_04_9794.jpg
/home/pi/Desktop/images/26112025/20/28/image_26112025_20_28_24_9555.jpg
/home/pi/Desktop/images/26112025/20/29/image_26112025_20_29_14_9681.jpg
/home/pi/Desktop/images/26112025/20/30/image_26112025_20_30_25_10033.jpg
/home/pi/Desktop/images/26112025/20/30/image_26112025_20_30_54_10621.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":["1396312426","1396312442","1396312445","1396312439","1396312430","1396312433"],"photo_ids_order":["1396312426","1396312430","1396312433","1396312439","1396312442","1396312445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1747cda990b027a7e1366b84ceeb3034.jpg","text":"TemporaryFile(/tmp/multipartBody8161477174899008658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195682807,"filename":"image_26112025_20_27_55_10803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4e88a39600263090e9b3c879b78ea642.jpg","text":"TemporaryFile(/tmp/multipartBody8547563342277031070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195682807,"filename":"image_26112025_20_30_25_10033.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/80f14f1a2642fd5e32c82421d5830422.jpg","text":"TemporaryFile(/tmp/multipartBody1449700498021951948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195682807,"filename":"image_26112025_20_30_54_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/437ca59a3596d835975f3054178f8a09.jpg","text":"TemporaryFile(/tmp/multipartBody2887750138938491026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195682807,"filename":"image_26112025_20_29_14_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b51d3145a998446ed2046731311dddd8.jpg","text":"TemporaryFile(/tmp/multipartBody3851914654015170437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195682807,"filename":"image_26112025_20_28_04_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/115f203df834b3544f8e5a01c0739984.jpg","text":"TemporaryFile(/tmp/multipartBody6689657377147708043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195682807,"filename":"image_26112025_20_28_24_9555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312433","file1":"1396312430","file0":"1396312426","file4":"1396312442","file5":"1396312445","file3":"1396312439"},"map_files_photo_id_array":[{"photo_id":"1396312445","filename":"file5"},{"photo_id":"1396312433","filename":"file2"},{"photo_id":"1396312442","filename":"file4"},{"photo_id":"1396312430","filename":"file1"},{"photo_id":"1396312426","filename":"file0"},{"photo_id":"1396312439","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396312426":["hashtag1","hashtag2"]},{"1396312442":["hashtag1","hashtag2"]},{"1396312445":["hashtag1","hashtag2"]},{"1396312439":["hashtag1","hashtag2"]},{"1396312430":["hashtag1","hashtag2"]},{"1396312433":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396312426, 1396312442, 1396312445, 1396312439, 1396312430, 1396312433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83383536338806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:21:02.918906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/20/30/image_26112025_20_31_04_9619.jpg', '/home/pi/Desktop/images/26112025/20/31/image_26112025_20_31_54_9686.jpg', '/home/pi/Desktop/images/26112025/20/32/image_26112025_20_32_24_10672.jpg', '/home/pi/Desktop/images/26112025/20/32/image_26112025_20_32_34_9655.jpg', '/home/pi/Desktop/images/26112025/20/32/image_26112025_20_33_04_9665.jpg', '/home/pi/Desktop/images/26112025/20/33/image_26112025_20_33_24_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/20/30/image_26112025_20_31_04_9619.jpg
/home/pi/Desktop/images/26112025/20/31/image_26112025_20_31_54_9686.jpg
/home/pi/Desktop/images/26112025/20/32/image_26112025_20_32_24_10672.jpg
/home/pi/Desktop/images/26112025/20/32/image_26112025_20_32_34_9655.jpg
/home/pi/Desktop/images/26112025/20/32/image_26112025_20_33_04_9665.jpg
/home/pi/Desktop/images/26112025/20/33/image_26112025_20_33_24_9661.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":["1396312450","1396312479","1396312458","1396312452","1396312469","1396312448"],"photo_ids_order":["1396312448","1396312450","1396312452","1396312458","1396312469","1396312479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f45c9406e873b5e6bb0fed6299e4379b.jpg","text":"TemporaryFile(/tmp/multipartBody6081878999218420601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195723793,"filename":"image_26112025_20_31_54_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/71837f4d6cb424b0737b759886376857.jpg","text":"TemporaryFile(/tmp/multipartBody4267033173020115642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195723793,"filename":"image_26112025_20_33_24_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9f89ced15da3be6ffd41c01ab367c431.jpg","text":"TemporaryFile(/tmp/multipartBody1455194423012068902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195723793,"filename":"image_26112025_20_32_34_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/15665984d7a3ab7746c98c49b5105176.jpg","text":"TemporaryFile(/tmp/multipartBody2443034184193662619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195723793,"filename":"image_26112025_20_32_24_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6dc06a5ec67506ae0c08fe9b2ff647bf.jpg","text":"TemporaryFile(/tmp/multipartBody486141909867050076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195723793,"filename":"image_26112025_20_33_04_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8bdb1599a2a401bd41eff78660f060c7.jpg","text":"TemporaryFile(/tmp/multipartBody8576718644905023288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195723793,"filename":"image_26112025_20_31_04_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312452","file1":"1396312450","file0":"1396312448","file4":"1396312469","file5":"1396312479","file3":"1396312458"},"map_files_photo_id_array":[{"photo_id":"1396312479","filename":"file5"},{"photo_id":"1396312452","filename":"file2"},{"photo_id":"1396312469","filename":"file4"},{"photo_id":"1396312450","filename":"file1"},{"photo_id":"1396312448","filename":"file0"},{"photo_id":"1396312458","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396312450":["hashtag1","hashtag2"]},{"1396312479":["hashtag1","hashtag2"]},{"1396312458":["hashtag1","hashtag2"]},{"1396312452":["hashtag1","hashtag2"]},{"1396312469":["hashtag1","hashtag2"]},{"1396312448":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396312450, 1396312479, 1396312458, 1396312452, 1396312469, 1396312448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.715496301651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 23:21:42.315875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/50/image_30102025_20_50_39_2752.jpg', '/home/pi/Desktop/images/30102025/20/50/image_30102025_20_50_42_2617.jpg', '/home/pi/Desktop/images/30102025/20/50/image_30102025_20_50_54_2878.jpg', '/home/pi/Desktop/images/30102025/20/50/image_30102025_20_50_58_3741.jpg', '/home/pi/Desktop/images/30102025/20/51/image_30102025_20_51_09_2500.jpg', '/home/pi/Desktop/images/30102025/20/51/image_30102025_20_51_12_2972.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/50/image_30102025_20_50_39_2752.jpg
/home/pi/Desktop/images/30102025/20/50/image_30102025_20_50_42_2617.jpg
/home/pi/Desktop/images/30102025/20/50/image_30102025_20_50_54_2878.jpg
/home/pi/Desktop/images/30102025/20/50/image_30102025_20_50_58_3741.jpg
/home/pi/Desktop/images/30102025/20/51/image_30102025_20_51_09_2500.jpg
/home/pi/Desktop/images/30102025/20/51/image_30102025_20_51_12_2972.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":["1396312492","1396312494","1396312497","1396312499","1396312487","1396312490"],"photo_ids_order":["1396312487","1396312490","1396312492","1396312494","1396312497","1396312499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/632325e60699526846bebae49d20529f.jpg","text":"TemporaryFile(/tmp/multipartBody666757388352768218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195763832,"filename":"image_30102025_20_50_54_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/26/cb1c07e0afe7f36e323413643a339e7d.jpg","text":"TemporaryFile(/tmp/multipartBody1466750852519197363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195763832,"filename":"image_30102025_20_50_58_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/26/c97f0227ca20232fa2e27f90bb9bea64.jpg","text":"TemporaryFile(/tmp/multipartBody2775658443269791200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195763832,"filename":"image_30102025_20_51_09_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/26/eeb340c9d213140b579491c3f1aab485.jpg","text":"TemporaryFile(/tmp/multipartBody3978802843905739148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195763832,"filename":"image_30102025_20_51_12_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/26/57241045d4585a7f2227eecc8c7c1efd.jpg","text":"TemporaryFile(/tmp/multipartBody3355701598234699552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195763832,"filename":"image_30102025_20_50_39_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/26/5a3d5f6d13eb6b6fe97022de1640eb69.jpg","text":"TemporaryFile(/tmp/multipartBody2964966072561499116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195763832,"filename":"image_30102025_20_50_42_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312492","file1":"1396312490","file0":"1396312487","file4":"1396312497","file5":"1396312499","file3":"1396312494"},"map_files_photo_id_array":[{"photo_id":"1396312499","filename":"file5"},{"photo_id":"1396312492","filename":"file2"},{"photo_id":"1396312497","filename":"file4"},{"photo_id":"1396312490","filename":"file1"},{"photo_id":"1396312487","filename":"file0"},{"photo_id":"1396312494","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396312492":["hashtag1","hashtag2"]},{"1396312494":["hashtag1","hashtag2"]},{"1396312497":["hashtag1","hashtag2"]},{"1396312499":["hashtag1","hashtag2"]},{"1396312487":["hashtag1","hashtag2"]},{"1396312490":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396312492, 1396312494, 1396312497, 1396312499, 1396312487, 1396312490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.69009518623352 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 23:22:32.548147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/36/image_20112025_23_36_19_3621.jpg', '/home/pi/Desktop/images/20112025/23/36/image_20112025_23_36_28_3436.jpg', '/home/pi/Desktop/images/20112025/23/36/image_20112025_23_36_31_2741.jpg', '/home/pi/Desktop/images/20112025/23/36/image_20112025_23_36_43_2748.jpg', '/home/pi/Desktop/images/20112025/23/36/image_20112025_23_36_49_2702.jpg', '/home/pi/Desktop/images/20112025/23/36/image_20112025_23_37_01_3717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/36/image_20112025_23_36_19_3621.jpg
/home/pi/Desktop/images/20112025/23/36/image_20112025_23_36_28_3436.jpg
/home/pi/Desktop/images/20112025/23/36/image_20112025_23_36_31_2741.jpg
/home/pi/Desktop/images/20112025/23/36/image_20112025_23_36_43_2748.jpg
/home/pi/Desktop/images/20112025/23/36/image_20112025_23_36_49_2702.jpg
/home/pi/Desktop/images/20112025/23/36/image_20112025_23_37_01_3717.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":["1396312531","1396312525","1396312507","1396312533","1396312512","1396312509"],"photo_ids_order":["1396312507","1396312509","1396312512","1396312525","1396312531","1396312533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/15de1dee86fef6f4e085187bfa066e92.jpg","text":"TemporaryFile(/tmp/multipartBody5669911424083759502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195814485,"filename":"image_20112025_23_36_49_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/26/04728bdeb0fe8566856c028b9ab86d5d.jpg","text":"TemporaryFile(/tmp/multipartBody2190427472053842040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195814485,"filename":"image_20112025_23_36_43_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/26/25e4e996315d62a515f56f1bb2294439.jpg","text":"TemporaryFile(/tmp/multipartBody2568613801058350424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195814485,"filename":"image_20112025_23_36_19_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/26/e7e47e7c7a820bda7393c67c6086cb52.jpg","text":"TemporaryFile(/tmp/multipartBody810072875879984748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195814485,"filename":"image_20112025_23_37_01_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/26/6ba1e4abb361f9d50d46f1650fa89781.jpg","text":"TemporaryFile(/tmp/multipartBody4354555171728928897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195814485,"filename":"image_20112025_23_36_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/26/629803e6ba4baf368301dc3daf956ddc.jpg","text":"TemporaryFile(/tmp/multipartBody8031820162982279597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195814485,"filename":"image_20112025_23_36_28_3436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312512","file1":"1396312509","file0":"1396312507","file4":"1396312531","file5":"1396312533","file3":"1396312525"},"map_files_photo_id_array":[{"photo_id":"1396312533","filename":"file5"},{"photo_id":"1396312512","filename":"file2"},{"photo_id":"1396312531","filename":"file4"},{"photo_id":"1396312509","filename":"file1"},{"photo_id":"1396312507","filename":"file0"},{"photo_id":"1396312525","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396312531":["hashtag1","hashtag2"]},{"1396312525":["hashtag1","hashtag2"]},{"1396312507":["hashtag1","hashtag2"]},{"1396312533":["hashtag1","hashtag2"]},{"1396312512":["hashtag1","hashtag2"]},{"1396312509":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396312531, 1396312525, 1396312507, 1396312533, 1396312512, 1396312509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86262655258179 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 23:23:12.653846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/37/image_20112025_23_37_13_2623.jpg', '/home/pi/Desktop/images/20112025/23/37/image_20112025_23_37_19_3798.jpg', '/home/pi/Desktop/images/20112025/23/37/image_20112025_23_37_22_2700.jpg', '/home/pi/Desktop/images/20112025/23/37/image_20112025_23_37_24_2603.jpg', '/home/pi/Desktop/images/20112025/23/37/image_20112025_23_37_36_2689.jpg', '/home/pi/Desktop/images/20112025/23/38/image_20112025_23_38_04_2850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/37/image_20112025_23_37_13_2623.jpg
/home/pi/Desktop/images/20112025/23/37/image_20112025_23_37_19_3798.jpg
/home/pi/Desktop/images/20112025/23/37/image_20112025_23_37_22_2700.jpg
/home/pi/Desktop/images/20112025/23/37/image_20112025_23_37_24_2603.jpg
/home/pi/Desktop/images/20112025/23/37/image_20112025_23_37_36_2689.jpg
/home/pi/Desktop/images/20112025/23/38/image_20112025_23_38_04_2850.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":["1396312552","1396312555","1396312543","1396312545","1396312539","1396312548"],"photo_ids_order":["1396312539","1396312543","1396312545","1396312548","1396312552","1396312555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ea5152aa938a002e88feac3e2612dcd8.jpg","text":"TemporaryFile(/tmp/multipartBody1020151907721146075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195854518,"filename":"image_20112025_23_37_36_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/179a1e6b1d25d302fdb65ceb2953c72c.jpg","text":"TemporaryFile(/tmp/multipartBody2120426834424270334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195854518,"filename":"image_20112025_23_38_04_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/26/f3ba06331a578322461a6ff8dc429e26.jpg","text":"TemporaryFile(/tmp/multipartBody914652223551741799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195854518,"filename":"image_20112025_23_37_19_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/26/f5bf3cd17a122891a3d96566fdae01ef.jpg","text":"TemporaryFile(/tmp/multipartBody8803317564214376554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195854518,"filename":"image_20112025_23_37_22_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/26/bc8b656e843ae5fb31ecbbdd169a05b3.jpg","text":"TemporaryFile(/tmp/multipartBody97172315976824915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195854518,"filename":"image_20112025_23_37_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/26/eccf55fea5b0938e06895b83e3e3be7c.jpg","text":"TemporaryFile(/tmp/multipartBody3199550182186872795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195854518,"filename":"image_20112025_23_37_24_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312545","file1":"1396312543","file0":"1396312539","file4":"1396312552","file5":"1396312555","file3":"1396312548"},"map_files_photo_id_array":[{"photo_id":"1396312555","filename":"file5"},{"photo_id":"1396312545","filename":"file2"},{"photo_id":"1396312552","filename":"file4"},{"photo_id":"1396312543","filename":"file1"},{"photo_id":"1396312539","filename":"file0"},{"photo_id":"1396312548","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396312552":["hashtag1","hashtag2"]},{"1396312555":["hashtag1","hashtag2"]},{"1396312543":["hashtag1","hashtag2"]},{"1396312545":["hashtag1","hashtag2"]},{"1396312539":["hashtag1","hashtag2"]},{"1396312548":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396312552, 1396312555, 1396312543, 1396312545, 1396312539, 1396312548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.94624900817871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:24:02.563977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/20/33/image_26112025_20_33_45_10728.jpg', '/home/pi/Desktop/images/26112025/20/34/image_26112025_20_34_14_10657.jpg', '/home/pi/Desktop/images/26112025/20/35/image_26112025_20_35_14_10676.jpg', '/home/pi/Desktop/images/26112025/20/35/image_26112025_20_35_24_9612.jpg', '/home/pi/Desktop/images/26112025/20/35/image_26112025_20_35_35_10590.jpg', '/home/pi/Desktop/images/26112025/20/35/image_26112025_20_35_44_9546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/20/33/image_26112025_20_33_45_10728.jpg
/home/pi/Desktop/images/26112025/20/34/image_26112025_20_34_14_10657.jpg
/home/pi/Desktop/images/26112025/20/35/image_26112025_20_35_14_10676.jpg
/home/pi/Desktop/images/26112025/20/35/image_26112025_20_35_24_9612.jpg
/home/pi/Desktop/images/26112025/20/35/image_26112025_20_35_35_10590.jpg
/home/pi/Desktop/images/26112025/20/35/image_26112025_20_35_44_9546.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":["1396312570","1396312573","1396312563","1396312566","1396312568","1396312577"],"photo_ids_order":["1396312563","1396312566","1396312568","1396312570","1396312573","1396312577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c438a34ffeb205ba11532c390390a5d5.jpg","text":"TemporaryFile(/tmp/multipartBody6264264727493850184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195903379,"filename":"image_26112025_20_35_24_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9ca58519df16bcaa3b3ae93e1862ab6a.jpg","text":"TemporaryFile(/tmp/multipartBody4602862390334075413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195903379,"filename":"image_26112025_20_35_35_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8d17b317a0f07eda99eeaa0122ce3fb0.jpg","text":"TemporaryFile(/tmp/multipartBody3781627326561686806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195903379,"filename":"image_26112025_20_33_45_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/769aa1693680b65b30c371375997eff7.jpg","text":"TemporaryFile(/tmp/multipartBody6552072079185983022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195903379,"filename":"image_26112025_20_34_14_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9cba63a2bc1d4e2ecd8fd83357447c19.jpg","text":"TemporaryFile(/tmp/multipartBody1999350157344241087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195903379,"filename":"image_26112025_20_35_14_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d7f7957ce1587fce8130a6b7af81a3ae.jpg","text":"TemporaryFile(/tmp/multipartBody7738093864672858373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195903379,"filename":"image_26112025_20_35_44_9546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312568","file1":"1396312566","file0":"1396312563","file4":"1396312573","file5":"1396312577","file3":"1396312570"},"map_files_photo_id_array":[{"photo_id":"1396312577","filename":"file5"},{"photo_id":"1396312568","filename":"file2"},{"photo_id":"1396312573","filename":"file4"},{"photo_id":"1396312566","filename":"file1"},{"photo_id":"1396312563","filename":"file0"},{"photo_id":"1396312570","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396312570":["hashtag1","hashtag2"]},{"1396312573":["hashtag1","hashtag2"]},{"1396312563":["hashtag1","hashtag2"]},{"1396312566":["hashtag1","hashtag2"]},{"1396312568":["hashtag1","hashtag2"]},{"1396312577":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396312570, 1396312573, 1396312563, 1396312566, 1396312568, 1396312577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61178708076477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 23:24:41.881202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/51/image_30102025_20_51_18_3560.jpg', '/home/pi/Desktop/images/30102025/20/51/image_30102025_20_51_21_2646.jpg', '/home/pi/Desktop/images/30102025/20/51/image_30102025_20_51_24_3556.jpg', '/home/pi/Desktop/images/30102025/20/51/image_30102025_20_51_27_2609.jpg', '/home/pi/Desktop/images/30102025/20/51/image_30102025_20_51_36_2830.jpg', '/home/pi/Desktop/images/30102025/20/51/image_30102025_20_51_39_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/51/image_30102025_20_51_18_3560.jpg
/home/pi/Desktop/images/30102025/20/51/image_30102025_20_51_21_2646.jpg
/home/pi/Desktop/images/30102025/20/51/image_30102025_20_51_24_3556.jpg
/home/pi/Desktop/images/30102025/20/51/image_30102025_20_51_27_2609.jpg
/home/pi/Desktop/images/30102025/20/51/image_30102025_20_51_36_2830.jpg
/home/pi/Desktop/images/30102025/20/51/image_30102025_20_51_39_2728.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":["1396312601","1396312588","1396312590","1396312586","1396312589","1396312597"],"photo_ids_order":["1396312586","1396312588","1396312589","1396312590","1396312597","1396312601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5c8023fed6be8802fa20e1f2b6760e82.jpg","text":"TemporaryFile(/tmp/multipartBody3780192145358281439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195943380,"filename":"image_30102025_20_51_39_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/26/50758ff3170a68e89ec1a8b39791b8ae.jpg","text":"TemporaryFile(/tmp/multipartBody2223854448323899712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195943380,"filename":"image_30102025_20_51_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/26/c4f48fcc4f4d70b32d8ec8c67a4f9001.jpg","text":"TemporaryFile(/tmp/multipartBody7735108214713046714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195943380,"filename":"image_30102025_20_51_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/26/2cd0784497b06beb6b599c5f87778d07.jpg","text":"TemporaryFile(/tmp/multipartBody4074390491962743311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195943380,"filename":"image_30102025_20_51_18_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/26/5459f952aa1e00f1c2bd6c198e124a0d.jpg","text":"TemporaryFile(/tmp/multipartBody5381282421155667127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195943380,"filename":"image_30102025_20_51_24_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/26/6a6c18115a6c9ea97a3dd3c48f9d0894.jpg","text":"TemporaryFile(/tmp/multipartBody3640932328550018216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195943380,"filename":"image_30102025_20_51_36_2830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312589","file1":"1396312588","file0":"1396312586","file4":"1396312597","file5":"1396312601","file3":"1396312590"},"map_files_photo_id_array":[{"photo_id":"1396312601","filename":"file5"},{"photo_id":"1396312589","filename":"file2"},{"photo_id":"1396312597","filename":"file4"},{"photo_id":"1396312588","filename":"file1"},{"photo_id":"1396312586","filename":"file0"},{"photo_id":"1396312590","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396312601":["hashtag1","hashtag2"]},{"1396312588":["hashtag1","hashtag2"]},{"1396312590":["hashtag1","hashtag2"]},{"1396312586":["hashtag1","hashtag2"]},{"1396312589":["hashtag1","hashtag2"]},{"1396312597":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396312601, 1396312588, 1396312590, 1396312586, 1396312589, 1396312597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01371717453003 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 23:25:22.048821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/20/37/image_26112025_20_37_14_9882.jpg', '/home/pi/Desktop/images/26112025/20/37/image_26112025_20_37_34_9788.jpg', '/home/pi/Desktop/images/26112025/20/38/image_26112025_20_38_24_9655.jpg', '/home/pi/Desktop/images/26112025/20/39/image_26112025_20_39_24_9757.jpg', '/home/pi/Desktop/images/26112025/20/39/image_26112025_20_39_34_9584.jpg', '/home/pi/Desktop/images/26112025/20/39/image_26112025_20_39_45_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/20/37/image_26112025_20_37_14_9882.jpg
/home/pi/Desktop/images/26112025/20/37/image_26112025_20_37_34_9788.jpg
/home/pi/Desktop/images/26112025/20/38/image_26112025_20_38_24_9655.jpg
/home/pi/Desktop/images/26112025/20/39/image_26112025_20_39_24_9757.jpg
/home/pi/Desktop/images/26112025/20/39/image_26112025_20_39_34_9584.jpg
/home/pi/Desktop/images/26112025/20/39/image_26112025_20_39_45_10665.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":["1396312609","1396312612","1396312614","1396312634","1396312637","1396312631"],"photo_ids_order":["1396312609","1396312612","1396312614","1396312631","1396312634","1396312637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a731d3a078fa4e1a051139978f35eb8c.jpg","text":"TemporaryFile(/tmp/multipartBody8200867588951520245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195982799,"filename":"image_26112025_20_37_14_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2a799f422cd18c4df0809d2ce8da02ec.jpg","text":"TemporaryFile(/tmp/multipartBody1230218550391769248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195982799,"filename":"image_26112025_20_37_34_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4b664e642903eeaa2eee6ec3f5e47ee2.jpg","text":"TemporaryFile(/tmp/multipartBody5223524570254735442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195982799,"filename":"image_26112025_20_38_24_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ad0dc59f997e070f4382db6d318d3871.jpg","text":"TemporaryFile(/tmp/multipartBody7709792267848400664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195982799,"filename":"image_26112025_20_39_34_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9d8f17428eadabc9d0e23a512d0e223a.jpg","text":"TemporaryFile(/tmp/multipartBody53965907017702061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195982799,"filename":"image_26112025_20_39_45_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2cc3bcb3fb31502d03c490964a1efb4b.jpg","text":"TemporaryFile(/tmp/multipartBody9114349678963125891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764195982799,"filename":"image_26112025_20_39_24_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312614","file1":"1396312612","file0":"1396312609","file4":"1396312634","file5":"1396312637","file3":"1396312631"},"map_files_photo_id_array":[{"photo_id":"1396312637","filename":"file5"},{"photo_id":"1396312614","filename":"file2"},{"photo_id":"1396312634","filename":"file4"},{"photo_id":"1396312612","filename":"file1"},{"photo_id":"1396312609","filename":"file0"},{"photo_id":"1396312631","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396312609":["hashtag1","hashtag2"]},{"1396312612":["hashtag1","hashtag2"]},{"1396312614":["hashtag1","hashtag2"]},{"1396312634":["hashtag1","hashtag2"]},{"1396312637":["hashtag1","hashtag2"]},{"1396312631":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396312609, 1396312612, 1396312614, 1396312634, 1396312637, 1396312631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62094235420227 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:26:02.783287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/20/40/image_26112025_20_40_34_10715.jpg', '/home/pi/Desktop/images/26112025/20/40/image_26112025_20_41_05_10744.jpg', '/home/pi/Desktop/images/26112025/20/41/image_26112025_20_41_24_9733.jpg', '/home/pi/Desktop/images/26112025/20/41/image_26112025_20_41_35_10630.jpg', '/home/pi/Desktop/images/26112025/20/41/image_26112025_20_42_05_10738.jpg', '/home/pi/Desktop/images/26112025/20/42/image_26112025_20_42_14_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/20/40/image_26112025_20_40_34_10715.jpg
/home/pi/Desktop/images/26112025/20/40/image_26112025_20_41_05_10744.jpg
/home/pi/Desktop/images/26112025/20/41/image_26112025_20_41_24_9733.jpg
/home/pi/Desktop/images/26112025/20/41/image_26112025_20_41_35_10630.jpg
/home/pi/Desktop/images/26112025/20/41/image_26112025_20_42_05_10738.jpg
/home/pi/Desktop/images/26112025/20/42/image_26112025_20_42_14_9742.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":["1396312651","1396312645","1396312654","1396312647","1396312649","1396312643"],"photo_ids_order":["1396312643","1396312645","1396312647","1396312649","1396312651","1396312654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a2e505780c6d973e0d50bbd9a9b3d601.jpg","text":"TemporaryFile(/tmp/multipartBody3516111017763745605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196023544,"filename":"image_26112025_20_42_05_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/335efa37cf407f1f2be0e9152f2299f7.jpg","text":"TemporaryFile(/tmp/multipartBody3513988727510253590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196023544,"filename":"image_26112025_20_41_05_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a7ff45fbe3619308c34c8fc499568361.jpg","text":"TemporaryFile(/tmp/multipartBody7633494509862225816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196023544,"filename":"image_26112025_20_42_14_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/47a64b7e48c2ab875993a51d95837bad.jpg","text":"TemporaryFile(/tmp/multipartBody2584993814164303444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196023544,"filename":"image_26112025_20_41_24_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a14da42471b1301376f04cf0fc0a46a5.jpg","text":"TemporaryFile(/tmp/multipartBody9053242260569210462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196023544,"filename":"image_26112025_20_41_35_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5cb95e306dc3358fa1a9f3a9c3c725a1.jpg","text":"TemporaryFile(/tmp/multipartBody3326015250787143229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196023544,"filename":"image_26112025_20_40_34_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312647","file1":"1396312645","file0":"1396312643","file4":"1396312651","file5":"1396312654","file3":"1396312649"},"map_files_photo_id_array":[{"photo_id":"1396312654","filename":"file5"},{"photo_id":"1396312647","filename":"file2"},{"photo_id":"1396312651","filename":"file4"},{"photo_id":"1396312645","filename":"file1"},{"photo_id":"1396312643","filename":"file0"},{"photo_id":"1396312649","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396312651":["hashtag1","hashtag2"]},{"1396312645":["hashtag1","hashtag2"]},{"1396312654":["hashtag1","hashtag2"]},{"1396312647":["hashtag1","hashtag2"]},{"1396312649":["hashtag1","hashtag2"]},{"1396312643":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396312651, 1396312645, 1396312654, 1396312647, 1396312649, 1396312643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.036651611328125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 23:26:42.238752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/51/image_30102025_20_51_45_3743.jpg', '/home/pi/Desktop/images/30102025/20/51/image_30102025_20_51_48_2877.jpg', '/home/pi/Desktop/images/30102025/20/51/image_30102025_20_51_51_2631.jpg', '/home/pi/Desktop/images/30102025/20/51/image_30102025_20_51_54_3626.jpg', '/home/pi/Desktop/images/30102025/20/51/image_30102025_20_51_57_2709.jpg', '/home/pi/Desktop/images/30102025/20/51/image_30102025_20_52_00_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/51/image_30102025_20_51_45_3743.jpg
/home/pi/Desktop/images/30102025/20/51/image_30102025_20_51_48_2877.jpg
/home/pi/Desktop/images/30102025/20/51/image_30102025_20_51_51_2631.jpg
/home/pi/Desktop/images/30102025/20/51/image_30102025_20_51_54_3626.jpg
/home/pi/Desktop/images/30102025/20/51/image_30102025_20_51_57_2709.jpg
/home/pi/Desktop/images/30102025/20/51/image_30102025_20_52_00_2626.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":["1396312663","1396312672","1396312668","1396312671","1396312670","1396312673"],"photo_ids_order":["1396312663","1396312668","1396312670","1396312671","1396312672","1396312673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1fdf4b00bfec6a61d9eba7030dd2f7c5.jpg","text":"TemporaryFile(/tmp/multipartBody6590324373690482989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196063742,"filename":"image_30102025_20_51_45_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/26/cac7e8e70443ed3548534f3e4f9c647e.jpg","text":"TemporaryFile(/tmp/multipartBody8842347216479765634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196063742,"filename":"image_30102025_20_51_57_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/26/393614ac6580c2fe8e74b7405538932c.jpg","text":"TemporaryFile(/tmp/multipartBody2193909431427810355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196063742,"filename":"image_30102025_20_51_48_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/26/9694820356037cd24cf39faa5afea1c0.jpg","text":"TemporaryFile(/tmp/multipartBody7640535702334654480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196063742,"filename":"image_30102025_20_51_54_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/26/1a5879ca6e49753516dee5932aeea24a.jpg","text":"TemporaryFile(/tmp/multipartBody4334685236250942117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196063742,"filename":"image_30102025_20_51_51_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/26/8e57bd57ccbdc819a71dd5f8d7d3f635.jpg","text":"TemporaryFile(/tmp/multipartBody2381041556402161527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196063742,"filename":"image_30102025_20_52_00_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312670","file1":"1396312668","file0":"1396312663","file4":"1396312672","file5":"1396312673","file3":"1396312671"},"map_files_photo_id_array":[{"photo_id":"1396312673","filename":"file5"},{"photo_id":"1396312670","filename":"file2"},{"photo_id":"1396312672","filename":"file4"},{"photo_id":"1396312668","filename":"file1"},{"photo_id":"1396312663","filename":"file0"},{"photo_id":"1396312671","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396312663":["hashtag1","hashtag2"]},{"1396312672":["hashtag1","hashtag2"]},{"1396312668":["hashtag1","hashtag2"]},{"1396312671":["hashtag1","hashtag2"]},{"1396312670":["hashtag1","hashtag2"]},{"1396312673":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396312663, 1396312672, 1396312668, 1396312671, 1396312670, 1396312673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85841393470764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 23:27:22.525766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/20/42/image_26112025_20_42_34_9770.jpg', '/home/pi/Desktop/images/26112025/20/42/image_26112025_20_42_54_9710.jpg', '/home/pi/Desktop/images/26112025/20/43/image_26112025_20_43_15_10756.jpg', '/home/pi/Desktop/images/26112025/20/44/image_26112025_20_44_34_10721.jpg', '/home/pi/Desktop/images/26112025/20/45/image_26112025_20_45_35_10640.jpg', '/home/pi/Desktop/images/26112025/20/45/image_26112025_20_46_05_10601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/20/42/image_26112025_20_42_34_9770.jpg
/home/pi/Desktop/images/26112025/20/42/image_26112025_20_42_54_9710.jpg
/home/pi/Desktop/images/26112025/20/43/image_26112025_20_43_15_10756.jpg
/home/pi/Desktop/images/26112025/20/44/image_26112025_20_44_34_10721.jpg
/home/pi/Desktop/images/26112025/20/45/image_26112025_20_45_35_10640.jpg
/home/pi/Desktop/images/26112025/20/45/image_26112025_20_46_05_10601.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":["1396312692","1396312695","1396312689","1396312698","1396312685","1396312681"],"photo_ids_order":["1396312681","1396312685","1396312689","1396312692","1396312695","1396312698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/910f0d67170db9f060d1b8ca86c692db.jpg","text":"TemporaryFile(/tmp/multipartBody5444036551986149081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196103281,"filename":"image_26112025_20_44_34_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ca8f7b4ec19a50651a47d73e38f22b7d.jpg","text":"TemporaryFile(/tmp/multipartBody3981175444307691468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196103281,"filename":"image_26112025_20_45_35_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ff2dd4bf0899f4944d936e51c9e4ef40.jpg","text":"TemporaryFile(/tmp/multipartBody408584070471812573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196103281,"filename":"image_26112025_20_43_15_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a40a7e6c79ac3a0a42f785697b202cf0.jpg","text":"TemporaryFile(/tmp/multipartBody6761127928338219555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196103281,"filename":"image_26112025_20_46_05_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5026a7e4be8a9dfa949fd8c93e5b5bcc.jpg","text":"TemporaryFile(/tmp/multipartBody3852535726913624363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196103281,"filename":"image_26112025_20_42_54_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2103d6cef92b5f91fbefdff701c78dcd.jpg","text":"TemporaryFile(/tmp/multipartBody7260667528556331808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196103281,"filename":"image_26112025_20_42_34_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312689","file1":"1396312685","file0":"1396312681","file4":"1396312695","file5":"1396312698","file3":"1396312692"},"map_files_photo_id_array":[{"photo_id":"1396312698","filename":"file5"},{"photo_id":"1396312689","filename":"file2"},{"photo_id":"1396312695","filename":"file4"},{"photo_id":"1396312685","filename":"file1"},{"photo_id":"1396312681","filename":"file0"},{"photo_id":"1396312692","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396312692":["hashtag1","hashtag2"]},{"1396312695":["hashtag1","hashtag2"]},{"1396312689":["hashtag1","hashtag2"]},{"1396312698":["hashtag1","hashtag2"]},{"1396312685":["hashtag1","hashtag2"]},{"1396312681":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396312692, 1396312695, 1396312689, 1396312698, 1396312685, 1396312681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26240539550781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:28:03.128720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/20/46/image_26112025_20_46_14_9608.jpg', '/home/pi/Desktop/images/26112025/20/46/image_26112025_20_46_34_9795.jpg', '/home/pi/Desktop/images/26112025/20/46/image_26112025_20_46_54_9589.jpg', '/home/pi/Desktop/images/26112025/20/47/image_26112025_20_47_44_9764.jpg', '/home/pi/Desktop/images/26112025/20/47/image_26112025_20_47_54_10642.jpg', '/home/pi/Desktop/images/26112025/20/48/image_26112025_20_48_24_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/20/46/image_26112025_20_46_14_9608.jpg
/home/pi/Desktop/images/26112025/20/46/image_26112025_20_46_34_9795.jpg
/home/pi/Desktop/images/26112025/20/46/image_26112025_20_46_54_9589.jpg
/home/pi/Desktop/images/26112025/20/47/image_26112025_20_47_44_9764.jpg
/home/pi/Desktop/images/26112025/20/47/image_26112025_20_47_54_10642.jpg
/home/pi/Desktop/images/26112025/20/48/image_26112025_20_48_24_9808.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.6623122692108154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 23:28:12.622905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/38/image_20112025_23_38_10_3559.jpg', '/home/pi/Desktop/images/20112025/23/38/image_20112025_23_38_22_2728.jpg', '/home/pi/Desktop/images/20112025/23/38/image_20112025_23_38_43_3717.jpg', '/home/pi/Desktop/images/20112025/23/38/image_20112025_23_38_45_2614.jpg', '/home/pi/Desktop/images/20112025/23/38/image_20112025_23_38_52_3736.jpg', '/home/pi/Desktop/images/20112025/23/39/image_20112025_23_39_04_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/38/image_20112025_23_38_10_3559.jpg
/home/pi/Desktop/images/20112025/23/38/image_20112025_23_38_22_2728.jpg
/home/pi/Desktop/images/20112025/23/38/image_20112025_23_38_43_3717.jpg
/home/pi/Desktop/images/20112025/23/38/image_20112025_23_38_45_2614.jpg
/home/pi/Desktop/images/20112025/23/38/image_20112025_23_38_52_3736.jpg
/home/pi/Desktop/images/20112025/23/39/image_20112025_23_39_04_2657.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":["1396312726","1396312723","1396312719","1396312710","1396312728","1396312713"],"photo_ids_order":["1396312710","1396312713","1396312719","1396312723","1396312726","1396312728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/57985a818e0b53ec9d1b7a83fa75c8f8.jpg","text":"TemporaryFile(/tmp/multipartBody8160435182845875168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196154536,"filename":"image_20112025_23_38_52_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/26/de31eb190d0882ff0393fc5d1097d2c6.jpg","text":"TemporaryFile(/tmp/multipartBody5287287528633226217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196154536,"filename":"image_20112025_23_38_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/26/90025d0c1dd624814b05598f74fc9eac.jpg","text":"TemporaryFile(/tmp/multipartBody3316344211411245301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196154536,"filename":"image_20112025_23_38_43_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/26/ecf944574af578f9b1766ff32630dcfe.jpg","text":"TemporaryFile(/tmp/multipartBody5806771422518967046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196154536,"filename":"image_20112025_23_38_10_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/26/16c2ac2a48d149ac338830671b87dfa4.jpg","text":"TemporaryFile(/tmp/multipartBody4979540440993300916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196154536,"filename":"image_20112025_23_39_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/26/cdbb7f1b7410cbc85ea98a50ec2590b9.jpg","text":"TemporaryFile(/tmp/multipartBody7542469575629439670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196154536,"filename":"image_20112025_23_38_22_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312719","file1":"1396312713","file0":"1396312710","file4":"1396312726","file5":"1396312728","file3":"1396312723"},"map_files_photo_id_array":[{"photo_id":"1396312728","filename":"file5"},{"photo_id":"1396312719","filename":"file2"},{"photo_id":"1396312726","filename":"file4"},{"photo_id":"1396312713","filename":"file1"},{"photo_id":"1396312710","filename":"file0"},{"photo_id":"1396312723","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396312726":["hashtag1","hashtag2"]},{"1396312723":["hashtag1","hashtag2"]},{"1396312719":["hashtag1","hashtag2"]},{"1396312710":["hashtag1","hashtag2"]},{"1396312728":["hashtag1","hashtag2"]},{"1396312713":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396312726, 1396312723, 1396312719, 1396312710, 1396312728, 1396312713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90526628494263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:29:03.779407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/20/46/image_26112025_20_46_14_9608.jpg', '/home/pi/Desktop/images/26112025/20/46/image_26112025_20_46_34_9795.jpg', '/home/pi/Desktop/images/26112025/20/46/image_26112025_20_46_54_9589.jpg', '/home/pi/Desktop/images/26112025/20/47/image_26112025_20_47_44_9764.jpg', '/home/pi/Desktop/images/26112025/20/47/image_26112025_20_47_54_10642.jpg', '/home/pi/Desktop/images/26112025/20/48/image_26112025_20_48_24_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/20/46/image_26112025_20_46_14_9608.jpg
/home/pi/Desktop/images/26112025/20/46/image_26112025_20_46_34_9795.jpg
/home/pi/Desktop/images/26112025/20/46/image_26112025_20_46_54_9589.jpg
/home/pi/Desktop/images/26112025/20/47/image_26112025_20_47_44_9764.jpg
/home/pi/Desktop/images/26112025/20/47/image_26112025_20_47_54_10642.jpg
/home/pi/Desktop/images/26112025/20/48/image_26112025_20_48_24_9808.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":["1396312735","1396312749","1396312737","1396312740","1396312742","1396312745"],"photo_ids_order":["1396312735","1396312737","1396312740","1396312742","1396312745","1396312749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c289d2835cd72dc822a95df9403c5d53.jpg","text":"TemporaryFile(/tmp/multipartBody6208495507842660557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196204722,"filename":"image_26112025_20_46_14_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a8e94e2580f5e77ba0be971e6e9b61f5.jpg","text":"TemporaryFile(/tmp/multipartBody6548283017352965122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196204722,"filename":"image_26112025_20_48_24_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4533699d89d99e89f1e8c0b1d46ce687.jpg","text":"TemporaryFile(/tmp/multipartBody3550298596392420342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196204722,"filename":"image_26112025_20_46_34_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/20a5358f484493d6306dc726e51e7ad6.jpg","text":"TemporaryFile(/tmp/multipartBody3595944308057098486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196204722,"filename":"image_26112025_20_46_54_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b933b152b9df23d7926931a8d500e01f.jpg","text":"TemporaryFile(/tmp/multipartBody4200590853506613804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196204722,"filename":"image_26112025_20_47_44_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/05a1a013e3b3edaf4d7b9a5e30e905fd.jpg","text":"TemporaryFile(/tmp/multipartBody1707587795663023109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196204722,"filename":"image_26112025_20_47_54_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312740","file1":"1396312737","file0":"1396312735","file4":"1396312745","file5":"1396312749","file3":"1396312742"},"map_files_photo_id_array":[{"photo_id":"1396312749","filename":"file5"},{"photo_id":"1396312740","filename":"file2"},{"photo_id":"1396312745","filename":"file4"},{"photo_id":"1396312737","filename":"file1"},{"photo_id":"1396312735","filename":"file0"},{"photo_id":"1396312742","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396312735":["hashtag1","hashtag2"]},{"1396312749":["hashtag1","hashtag2"]},{"1396312737":["hashtag1","hashtag2"]},{"1396312740":["hashtag1","hashtag2"]},{"1396312742":["hashtag1","hashtag2"]},{"1396312745":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396312735, 1396312749, 1396312737, 1396312740, 1396312742, 1396312745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69928288459778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 23:29:42.802998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_03_3658.jpg', '/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_06_2590.jpg', '/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_12_3559.jpg', '/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_15_2683.jpg', '/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_18_2682.jpg', '/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_21_3810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_03_3658.jpg
/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_06_2590.jpg
/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_12_3559.jpg
/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_15_2683.jpg
/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_18_2682.jpg
/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_21_3810.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 [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>8bgo4cm85</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>8bgo4cm85</strong>.
uploaded 0 photos
time to upload: 45.10850691795349 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 23:30:31.999209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/39/image_20112025_23_39_25_3685.jpg', '/home/pi/Desktop/images/20112025/23/39/image_20112025_23_39_31_3031.jpg', '/home/pi/Desktop/images/20112025/23/39/image_20112025_23_39_58_3695.jpg', '/home/pi/Desktop/images/20112025/23/39/image_20112025_23_40_00_2699.jpg', '/home/pi/Desktop/images/20112025/23/40/image_20112025_23_40_03_2778.jpg', '/home/pi/Desktop/images/20112025/23/40/image_20112025_23_40_09_2878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/39/image_20112025_23_39_25_3685.jpg
/home/pi/Desktop/images/20112025/23/39/image_20112025_23_39_31_3031.jpg
/home/pi/Desktop/images/20112025/23/39/image_20112025_23_39_58_3695.jpg
/home/pi/Desktop/images/20112025/23/39/image_20112025_23_40_00_2699.jpg
/home/pi/Desktop/images/20112025/23/40/image_20112025_23_40_03_2778.jpg
/home/pi/Desktop/images/20112025/23/40/image_20112025_23_40_09_2878.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":["1396312785","1396312794","1396312776","1396312779","1396312787","1396312781"],"photo_ids_order":["1396312776","1396312779","1396312781","1396312785","1396312787","1396312794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7ecc83b2d8363058fe5a081c3339ccfe.jpg","text":"TemporaryFile(/tmp/multipartBody8068958088349766099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196294001,"filename":"image_20112025_23_40_00_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/26/ed81a3cfbf805f8f8a30e1580e79e78f.jpg","text":"TemporaryFile(/tmp/multipartBody5007899498073082468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196294001,"filename":"image_20112025_23_40_09_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/26/5e5b72970f09d37b09462f6a29e34252.jpg","text":"TemporaryFile(/tmp/multipartBody2818204660143886650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196294001,"filename":"image_20112025_23_39_25_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/26/11d7ded45b9d12754a1299441168fced.jpg","text":"TemporaryFile(/tmp/multipartBody2298295425343783209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196294001,"filename":"image_20112025_23_39_31_3031.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e0a64b877de82fd3ba69e70c00faea14.jpg","text":"TemporaryFile(/tmp/multipartBody7987698770223877379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196294001,"filename":"image_20112025_23_40_03_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/26/840844f75e34693dba36023bbd70d486.jpg","text":"TemporaryFile(/tmp/multipartBody4415535612025460215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196294001,"filename":"image_20112025_23_39_58_3695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312781","file1":"1396312779","file0":"1396312776","file4":"1396312787","file5":"1396312794","file3":"1396312785"},"map_files_photo_id_array":[{"photo_id":"1396312794","filename":"file5"},{"photo_id":"1396312781","filename":"file2"},{"photo_id":"1396312787","filename":"file4"},{"photo_id":"1396312779","filename":"file1"},{"photo_id":"1396312776","filename":"file0"},{"photo_id":"1396312785","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396312785":["hashtag1","hashtag2"]},{"1396312794":["hashtag1","hashtag2"]},{"1396312776":["hashtag1","hashtag2"]},{"1396312779":["hashtag1","hashtag2"]},{"1396312787":["hashtag1","hashtag2"]},{"1396312781":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396312785, 1396312794, 1396312776, 1396312779, 1396312787, 1396312781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.508604288101196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 23:31:12.208576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/40/image_20112025_23_40_13_3819.jpg', '/home/pi/Desktop/images/20112025/23/40/image_20112025_23_40_18_2865.jpg', '/home/pi/Desktop/images/20112025/23/40/image_20112025_23_40_21_2925.jpg', '/home/pi/Desktop/images/20112025/23/40/image_20112025_23_40_37_2846.jpg', '/home/pi/Desktop/images/20112025/23/40/image_20112025_23_40_39_2775.jpg', '/home/pi/Desktop/images/20112025/23/41/image_20112025_23_41_27_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/40/image_20112025_23_40_13_3819.jpg
/home/pi/Desktop/images/20112025/23/40/image_20112025_23_40_18_2865.jpg
/home/pi/Desktop/images/20112025/23/40/image_20112025_23_40_21_2925.jpg
/home/pi/Desktop/images/20112025/23/40/image_20112025_23_40_37_2846.jpg
/home/pi/Desktop/images/20112025/23/40/image_20112025_23_40_39_2775.jpg
/home/pi/Desktop/images/20112025/23/41/image_20112025_23_41_27_2702.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":["1396312807","1396312810","1396312804","1396312818","1396312821","1396312814"],"photo_ids_order":["1396312804","1396312807","1396312810","1396312814","1396312818","1396312821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f62dcb0aec4b9efba7e04328015f202f.jpg","text":"TemporaryFile(/tmp/multipartBody8787662959556081106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196334055,"filename":"image_20112025_23_40_18_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/26/9bbd645b055385cda950311bbba10b2f.jpg","text":"TemporaryFile(/tmp/multipartBody6578358800343272557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196334055,"filename":"image_20112025_23_40_21_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/26/fbbc36c51f5532b13c15e521620342ff.jpg","text":"TemporaryFile(/tmp/multipartBody4729313560530703516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196334055,"filename":"image_20112025_23_40_13_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/26/b9127167b9ff9b5d01aaf688e3dd0a87.jpg","text":"TemporaryFile(/tmp/multipartBody7682138662477134016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196334055,"filename":"image_20112025_23_40_39_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/26/a4cc80e8b8399b4d2caaeb918b3aeeef.jpg","text":"TemporaryFile(/tmp/multipartBody6047588673354051619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196334055,"filename":"image_20112025_23_41_27_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/26/8314fff91277717dc16780f819dd2989.jpg","text":"TemporaryFile(/tmp/multipartBody8427096961583952346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196334055,"filename":"image_20112025_23_40_37_2846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312810","file1":"1396312807","file0":"1396312804","file4":"1396312818","file5":"1396312821","file3":"1396312814"},"map_files_photo_id_array":[{"photo_id":"1396312821","filename":"file5"},{"photo_id":"1396312810","filename":"file2"},{"photo_id":"1396312818","filename":"file4"},{"photo_id":"1396312807","filename":"file1"},{"photo_id":"1396312804","filename":"file0"},{"photo_id":"1396312814","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396312807":["hashtag1","hashtag2"]},{"1396312810":["hashtag1","hashtag2"]},{"1396312804":["hashtag1","hashtag2"]},{"1396312818":["hashtag1","hashtag2"]},{"1396312821":["hashtag1","hashtag2"]},{"1396312814":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396312807, 1396312810, 1396312804, 1396312818, 1396312821, 1396312814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.042333126068115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:32:02.931881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/20/48/image_26112025_20_48_35_10766.jpg', '/home/pi/Desktop/images/26112025/20/49/image_26112025_20_49_34_9713.jpg', '/home/pi/Desktop/images/26112025/20/49/image_26112025_20_49_45_10593.jpg', '/home/pi/Desktop/images/26112025/20/49/image_26112025_20_49_54_9750.jpg', '/home/pi/Desktop/images/26112025/20/49/image_26112025_20_50_04_9728.jpg', '/home/pi/Desktop/images/26112025/20/50/image_26112025_20_50_24_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/20/48/image_26112025_20_48_35_10766.jpg
/home/pi/Desktop/images/26112025/20/49/image_26112025_20_49_34_9713.jpg
/home/pi/Desktop/images/26112025/20/49/image_26112025_20_49_45_10593.jpg
/home/pi/Desktop/images/26112025/20/49/image_26112025_20_49_54_9750.jpg
/home/pi/Desktop/images/26112025/20/49/image_26112025_20_50_04_9728.jpg
/home/pi/Desktop/images/26112025/20/50/image_26112025_20_50_24_9627.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":["1396312828","1396312839","1396312830","1396312832","1396312835","1396312826"],"photo_ids_order":["1396312826","1396312828","1396312830","1396312832","1396312835","1396312839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/de49c3d69a5455830e59865397f08a18.jpg","text":"TemporaryFile(/tmp/multipartBody1374857864307116002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196383740,"filename":"image_26112025_20_49_34_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9c52dc217d8ea5e440ca5dc9366eb568.jpg","text":"TemporaryFile(/tmp/multipartBody5185352307525193326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196383740,"filename":"image_26112025_20_50_24_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e7a52eba7fab2c602709b85067e33389.jpg","text":"TemporaryFile(/tmp/multipartBody6585777111753487674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196383740,"filename":"image_26112025_20_49_45_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6370756147a8e7df9ca2954cb6f7db6b.jpg","text":"TemporaryFile(/tmp/multipartBody6601120179752554518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196383740,"filename":"image_26112025_20_49_54_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d7d786a814a21f8148c9a6905d5ff9d8.jpg","text":"TemporaryFile(/tmp/multipartBody7058083852372544641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196383740,"filename":"image_26112025_20_50_04_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7a0cf30dd07d2c7467034873b6492b4e.jpg","text":"TemporaryFile(/tmp/multipartBody3437128317017249004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196383740,"filename":"image_26112025_20_48_35_10766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312830","file1":"1396312828","file0":"1396312826","file4":"1396312835","file5":"1396312839","file3":"1396312832"},"map_files_photo_id_array":[{"photo_id":"1396312839","filename":"file5"},{"photo_id":"1396312830","filename":"file2"},{"photo_id":"1396312835","filename":"file4"},{"photo_id":"1396312828","filename":"file1"},{"photo_id":"1396312826","filename":"file0"},{"photo_id":"1396312832","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396312828":["hashtag1","hashtag2"]},{"1396312839":["hashtag1","hashtag2"]},{"1396312830":["hashtag1","hashtag2"]},{"1396312832":["hashtag1","hashtag2"]},{"1396312835":["hashtag1","hashtag2"]},{"1396312826":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396312828, 1396312839, 1396312830, 1396312832, 1396312835, 1396312826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.019845485687256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 23:32:42.584876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_03_3658.jpg', '/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_06_2590.jpg', '/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_12_3559.jpg', '/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_15_2683.jpg', '/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_18_2682.jpg', '/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_21_3810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_03_3658.jpg
/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_06_2590.jpg
/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_12_3559.jpg
/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_15_2683.jpg
/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_18_2682.jpg
/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_21_3810.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":["1396312861","1396312858","1396312852","1396312855","1396312857","1396312859"],"photo_ids_order":["1396312852","1396312855","1396312857","1396312858","1396312859","1396312861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/031b7c577b7de090ac6ff38d71f95c26.jpg","text":"TemporaryFile(/tmp/multipartBody1614322071827753464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196423958,"filename":"image_30102025_20_52_21_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/26/abc517a9bf36cd9c7bad3bc8cfd4a147.jpg","text":"TemporaryFile(/tmp/multipartBody2560209281690127219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196423958,"filename":"image_30102025_20_52_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/26/b9af1468a6c9eca66feb19c42056f092.jpg","text":"TemporaryFile(/tmp/multipartBody5914019064106966369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196423958,"filename":"image_30102025_20_52_03_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/26/ecf36956bcc806657e1c93f8f52f79c0.jpg","text":"TemporaryFile(/tmp/multipartBody2254600477171930317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196423958,"filename":"image_30102025_20_52_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/26/21823f142b0a4d10930eb1d086a19521.jpg","text":"TemporaryFile(/tmp/multipartBody3592064816256626654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196423958,"filename":"image_30102025_20_52_12_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/26/543f8d586385d70f84a782df2b8a3bcf.jpg","text":"TemporaryFile(/tmp/multipartBody4660572674869424633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196423958,"filename":"image_30102025_20_52_18_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312857","file1":"1396312855","file0":"1396312852","file4":"1396312859","file5":"1396312861","file3":"1396312858"},"map_files_photo_id_array":[{"photo_id":"1396312861","filename":"file5"},{"photo_id":"1396312857","filename":"file2"},{"photo_id":"1396312859","filename":"file4"},{"photo_id":"1396312855","filename":"file1"},{"photo_id":"1396312852","filename":"file0"},{"photo_id":"1396312858","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396312861":["hashtag1","hashtag2"]},{"1396312858":["hashtag1","hashtag2"]},{"1396312852":["hashtag1","hashtag2"]},{"1396312855":["hashtag1","hashtag2"]},{"1396312857":["hashtag1","hashtag2"]},{"1396312859":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396312861, 1396312858, 1396312852, 1396312855, 1396312857, 1396312859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42489194869995 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 --only_old 1
2025-11-26 23:33:32.661308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/41/image_20112025_23_41_30_2738.jpg', '/home/pi/Desktop/images/20112025/23/41/image_20112025_23_41_33_2978.jpg', '/home/pi/Desktop/images/20112025/23/41/image_20112025_23_41_36_2623.jpg', '/home/pi/Desktop/images/20112025/23/41/image_20112025_23_41_39_3655.jpg', '/home/pi/Desktop/images/20112025/23/41/image_20112025_23_41_45_2703.jpg', '/home/pi/Desktop/images/20112025/23/41/image_20112025_23_41_48_2891.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/41/image_20112025_23_41_30_2738.jpg
/home/pi/Desktop/images/20112025/23/41/image_20112025_23_41_33_2978.jpg
/home/pi/Desktop/images/20112025/23/41/image_20112025_23_41_36_2623.jpg
/home/pi/Desktop/images/20112025/23/41/image_20112025_23_41_39_3655.jpg
/home/pi/Desktop/images/20112025/23/41/image_20112025_23_41_45_2703.jpg
/home/pi/Desktop/images/20112025/23/41/image_20112025_23_41_48_2891.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":["1396312968","1396312896","1396312869","1396312932","1396313039","1396313003"],"photo_ids_order":["1396312869","1396312896","1396312932","1396312968","1396313003","1396313039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/81a4254f393b951a5e4ece027cea8285.jpg","text":"TemporaryFile(/tmp/multipartBody2035759012042175945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196474640,"filename":"image_20112025_23_41_39_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/26/7d1878d15da1aada8eaa1614ec504c80.jpg","text":"TemporaryFile(/tmp/multipartBody8637696983470645710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196474640,"filename":"image_20112025_23_41_33_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/26/27e122e60887364e30abff054c8d646b.jpg","text":"TemporaryFile(/tmp/multipartBody4740433898635201313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196474640,"filename":"image_20112025_23_41_30_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/26/355002be92fd4389aeba00c846ae8728.jpg","text":"TemporaryFile(/tmp/multipartBody5601885961955145244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196474640,"filename":"image_20112025_23_41_36_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/26/f1b47d2fa518e26314593b487d376639.jpg","text":"TemporaryFile(/tmp/multipartBody2663661527422399107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196474640,"filename":"image_20112025_23_41_48_2891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9b69d8882ea8489348b0fa8fa25ece1e.jpg","text":"TemporaryFile(/tmp/multipartBody8757665408037796861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196474640,"filename":"image_20112025_23_41_45_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396312932","file1":"1396312896","file0":"1396312869","file4":"1396313003","file5":"1396313039","file3":"1396312968"},"map_files_photo_id_array":[{"photo_id":"1396313039","filename":"file5"},{"photo_id":"1396312932","filename":"file2"},{"photo_id":"1396313003","filename":"file4"},{"photo_id":"1396312896","filename":"file1"},{"photo_id":"1396312869","filename":"file0"},{"photo_id":"1396312968","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396312968":["hashtag1","hashtag2"]},{"1396312896":["hashtag1","hashtag2"]},{"1396312869":["hashtag1","hashtag2"]},{"1396312932":["hashtag1","hashtag2"]},{"1396313039":["hashtag1","hashtag2"]},{"1396313003":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396312968, 1396312896, 1396312869, 1396312932, 1396313039, 1396313003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3576922416687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 23:34:11.917528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/41/image_20112025_23_41_54_3667.jpg', '/home/pi/Desktop/images/20112025/23/41/image_20112025_23_41_57_2737.jpg', '/home/pi/Desktop/images/20112025/23/41/image_20112025_23_42_00_2737.jpg', '/home/pi/Desktop/images/20112025/23/42/image_20112025_23_42_09_2685.jpg', '/home/pi/Desktop/images/20112025/23/42/image_20112025_23_42_18_2834.jpg', '/home/pi/Desktop/images/20112025/23/42/image_20112025_23_42_21_2953.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/41/image_20112025_23_41_54_3667.jpg
/home/pi/Desktop/images/20112025/23/41/image_20112025_23_41_57_2737.jpg
/home/pi/Desktop/images/20112025/23/41/image_20112025_23_42_00_2737.jpg
/home/pi/Desktop/images/20112025/23/42/image_20112025_23_42_09_2685.jpg
/home/pi/Desktop/images/20112025/23/42/image_20112025_23_42_18_2834.jpg
/home/pi/Desktop/images/20112025/23/42/image_20112025_23_42_21_2953.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":["1396313257","1396313379","1396313175","1396313214","1396313337","1396313297"],"photo_ids_order":["1396313175","1396313214","1396313257","1396313297","1396313337","1396313379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/84da91693554d3162d16209522fd7616.jpg","text":"TemporaryFile(/tmp/multipartBody3278836024578403672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196513763,"filename":"image_20112025_23_42_00_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/26/9668f4b5a675cc22211eb07c99c2a3b2.jpg","text":"TemporaryFile(/tmp/multipartBody5328414537490176210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196513763,"filename":"image_20112025_23_42_21_2953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/537da78cce6f35ba297e51eea190cd99.jpg","text":"TemporaryFile(/tmp/multipartBody9044764481843616058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196513763,"filename":"image_20112025_23_41_54_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/26/b270add65f910b0966f20df0533d3f94.jpg","text":"TemporaryFile(/tmp/multipartBody3887653710906095393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196513763,"filename":"image_20112025_23_41_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/26/728ba167622c121d9a39e61b9e560aaa.jpg","text":"TemporaryFile(/tmp/multipartBody4475035426470034868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196513763,"filename":"image_20112025_23_42_18_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/26/228e2d1984525341ea038051e8087549.jpg","text":"TemporaryFile(/tmp/multipartBody4083299104830577486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196513763,"filename":"image_20112025_23_42_09_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396313257","file1":"1396313214","file0":"1396313175","file4":"1396313337","file5":"1396313379","file3":"1396313297"},"map_files_photo_id_array":[{"photo_id":"1396313379","filename":"file5"},{"photo_id":"1396313257","filename":"file2"},{"photo_id":"1396313337","filename":"file4"},{"photo_id":"1396313214","filename":"file1"},{"photo_id":"1396313175","filename":"file0"},{"photo_id":"1396313297","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396313257":["hashtag1","hashtag2"]},{"1396313379":["hashtag1","hashtag2"]},{"1396313175":["hashtag1","hashtag2"]},{"1396313214":["hashtag1","hashtag2"]},{"1396313337":["hashtag1","hashtag2"]},{"1396313297":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396313257, 1396313379, 1396313175, 1396313214, 1396313337, 1396313297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65932059288025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:35:02.883725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/20/50/image_26112025_20_50_34_9636.jpg', '/home/pi/Desktop/images/26112025/20/50/image_26112025_20_51_04_9801.jpg', '/home/pi/Desktop/images/26112025/20/51/image_26112025_20_51_25_10710.jpg', '/home/pi/Desktop/images/26112025/20/53/image_26112025_20_53_35_10803.jpg', '/home/pi/Desktop/images/26112025/20/53/image_26112025_20_53_44_9752.jpg', '/home/pi/Desktop/images/26112025/20/53/image_26112025_20_54_04_9811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/20/50/image_26112025_20_50_34_9636.jpg
/home/pi/Desktop/images/26112025/20/50/image_26112025_20_51_04_9801.jpg
/home/pi/Desktop/images/26112025/20/51/image_26112025_20_51_25_10710.jpg
/home/pi/Desktop/images/26112025/20/53/image_26112025_20_53_35_10803.jpg
/home/pi/Desktop/images/26112025/20/53/image_26112025_20_53_44_9752.jpg
/home/pi/Desktop/images/26112025/20/53/image_26112025_20_54_04_9811.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":["1396313713","1396313721","1396313601","1396313726","1396313675","1396313636"],"photo_ids_order":["1396313601","1396313636","1396313675","1396313713","1396313721","1396313726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/778ff2c10ed4530a68833a6219821ff5.jpg","text":"TemporaryFile(/tmp/multipartBody2400673793260353750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196563714,"filename":"image_26112025_20_53_35_10803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d94509c8704553dde3bb2f595bb97471.jpg","text":"TemporaryFile(/tmp/multipartBody6533180585305422587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196563714,"filename":"image_26112025_20_53_44_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f815e787498db8b0af8d4d0b53f70a74.jpg","text":"TemporaryFile(/tmp/multipartBody5118995096803775215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196563714,"filename":"image_26112025_20_50_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8a2366eb97dd0edeb87a9f30a0e351d5.jpg","text":"TemporaryFile(/tmp/multipartBody8900788342917784266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196563714,"filename":"image_26112025_20_54_04_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/625a778bd52f499b0253cf385f98af03.jpg","text":"TemporaryFile(/tmp/multipartBody7049292018142673818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196563714,"filename":"image_26112025_20_51_25_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d027cf2d60a0d42881ea5b37516e5811.jpg","text":"TemporaryFile(/tmp/multipartBody8409319312990417317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196563714,"filename":"image_26112025_20_51_04_9801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396313675","file1":"1396313636","file0":"1396313601","file4":"1396313721","file5":"1396313726","file3":"1396313713"},"map_files_photo_id_array":[{"photo_id":"1396313726","filename":"file5"},{"photo_id":"1396313675","filename":"file2"},{"photo_id":"1396313721","filename":"file4"},{"photo_id":"1396313636","filename":"file1"},{"photo_id":"1396313601","filename":"file0"},{"photo_id":"1396313713","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396313713":["hashtag1","hashtag2"]},{"1396313721":["hashtag1","hashtag2"]},{"1396313601":["hashtag1","hashtag2"]},{"1396313726":["hashtag1","hashtag2"]},{"1396313675":["hashtag1","hashtag2"]},{"1396313636":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396313713, 1396313721, 1396313601, 1396313726, 1396313675, 1396313636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0624680519104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 23:35:42.308235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_24_2613.jpg', '/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_27_2633.jpg', '/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_30_3552.jpg', '/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_39_3638.jpg', '/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_45_5605.jpg', '/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_49_1850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_24_2613.jpg
/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_27_2633.jpg
/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_30_3552.jpg
/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_39_3638.jpg
/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_45_5605.jpg
/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_49_1850.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":["1396313734","1396313742","1396313736","1396313849","1396313813","1396313776"],"photo_ids_order":["1396313734","1396313736","1396313742","1396313776","1396313813","1396313849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/db2cd28af090110bc5c8feba8f5fdd22.jpg","text":"TemporaryFile(/tmp/multipartBody6162449368162286633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196603811,"filename":"image_30102025_20_52_24_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/26/4b76b03a0dd4fbced38b1a6980ae7beb.jpg","text":"TemporaryFile(/tmp/multipartBody4112564665108455826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196603811,"filename":"image_30102025_20_52_30_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/26/c1713db68b5947dc6542f56788dfabba.jpg","text":"TemporaryFile(/tmp/multipartBody604330639544716265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196603811,"filename":"image_30102025_20_52_27_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/26/4ec1d1cbef7b771c86b09e2871aaf7f1.jpg","text":"TemporaryFile(/tmp/multipartBody7788343577927014173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196603811,"filename":"image_30102025_20_52_49_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/26/6933a70af04253d957c9f51d8878f1bf.jpg","text":"TemporaryFile(/tmp/multipartBody5132627959786042910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196603811,"filename":"image_30102025_20_52_45_5605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/00f19bbc2b61831c25f9f843f14990ca.jpg","text":"TemporaryFile(/tmp/multipartBody239434904028437862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196603811,"filename":"image_30102025_20_52_39_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396313742","file1":"1396313736","file0":"1396313734","file4":"1396313813","file5":"1396313849","file3":"1396313776"},"map_files_photo_id_array":[{"photo_id":"1396313849","filename":"file5"},{"photo_id":"1396313742","filename":"file2"},{"photo_id":"1396313813","filename":"file4"},{"photo_id":"1396313736","filename":"file1"},{"photo_id":"1396313734","filename":"file0"},{"photo_id":"1396313776","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396313734":["hashtag1","hashtag2"]},{"1396313742":["hashtag1","hashtag2"]},{"1396313736":["hashtag1","hashtag2"]},{"1396313849":["hashtag1","hashtag2"]},{"1396313813":["hashtag1","hashtag2"]},{"1396313776":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396313734, 1396313742, 1396313736, 1396313849, 1396313813, 1396313776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02664875984192 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 23:36:22.472446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/20/54/image_26112025_20_54_24_9689.jpg', '/home/pi/Desktop/images/26112025/20/54/image_26112025_20_54_34_9693.jpg', '/home/pi/Desktop/images/26112025/20/54/image_26112025_20_54_44_10600.jpg', '/home/pi/Desktop/images/26112025/20/54/image_26112025_20_55_04_9600.jpg', '/home/pi/Desktop/images/26112025/20/55/image_26112025_20_55_14_9744.jpg', '/home/pi/Desktop/images/26112025/20/55/image_26112025_20_55_24_10732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/20/54/image_26112025_20_54_24_9689.jpg
/home/pi/Desktop/images/26112025/20/54/image_26112025_20_54_34_9693.jpg
/home/pi/Desktop/images/26112025/20/54/image_26112025_20_54_44_10600.jpg
/home/pi/Desktop/images/26112025/20/54/image_26112025_20_55_04_9600.jpg
/home/pi/Desktop/images/26112025/20/55/image_26112025_20_55_14_9744.jpg
/home/pi/Desktop/images/26112025/20/55/image_26112025_20_55_24_10732.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":["1396313967","1396314003","1396313975","1396313939","1396314040","1396313971"],"photo_ids_order":["1396313939","1396313967","1396313971","1396313975","1396314003","1396314040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2506795d39deb6bff91a76b6ec58bbf8.jpg","text":"TemporaryFile(/tmp/multipartBody1809309885362755835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196643278,"filename":"image_26112025_20_54_34_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/61c0c74857176dee85c9af1d2ec6c532.jpg","text":"TemporaryFile(/tmp/multipartBody7787885910436615588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196643278,"filename":"image_26112025_20_55_14_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a53ab5729c8137db4015f9736ef7a9ae.jpg","text":"TemporaryFile(/tmp/multipartBody1185898647239647815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196643278,"filename":"image_26112025_20_55_04_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/0bfe26e4149921c4a798ad2985f3978a.jpg","text":"TemporaryFile(/tmp/multipartBody4025055070610395422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196643278,"filename":"image_26112025_20_54_24_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/64c0b996e84af28aef78ea94804af4f8.jpg","text":"TemporaryFile(/tmp/multipartBody7361740276188076877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196643278,"filename":"image_26112025_20_55_24_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7763f7f7c88b79bf8b5e988387ba0d28.jpg","text":"TemporaryFile(/tmp/multipartBody8453805855725391204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196643278,"filename":"image_26112025_20_54_44_10600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396313971","file1":"1396313967","file0":"1396313939","file4":"1396314003","file5":"1396314040","file3":"1396313975"},"map_files_photo_id_array":[{"photo_id":"1396314040","filename":"file5"},{"photo_id":"1396313971","filename":"file2"},{"photo_id":"1396314003","filename":"file4"},{"photo_id":"1396313967","filename":"file1"},{"photo_id":"1396313939","filename":"file0"},{"photo_id":"1396313975","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396313967":["hashtag1","hashtag2"]},{"1396314003":["hashtag1","hashtag2"]},{"1396313975":["hashtag1","hashtag2"]},{"1396313939":["hashtag1","hashtag2"]},{"1396314040":["hashtag1","hashtag2"]},{"1396313971":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396313967, 1396314003, 1396313975, 1396313939, 1396314040, 1396313971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.472392320632935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:37:03.471773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/20/56/image_26112025_20_56_24_10570.jpg', '/home/pi/Desktop/images/26112025/20/56/image_26112025_20_56_34_9754.jpg', '/home/pi/Desktop/images/26112025/20/56/image_26112025_20_56_44_9623.jpg', '/home/pi/Desktop/images/26112025/20/56/image_26112025_20_56_55_10677.jpg', '/home/pi/Desktop/images/26112025/20/56/image_26112025_20_57_04_9662.jpg', '/home/pi/Desktop/images/26112025/20/57/image_26112025_20_57_25_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/20/56/image_26112025_20_56_24_10570.jpg
/home/pi/Desktop/images/26112025/20/56/image_26112025_20_56_34_9754.jpg
/home/pi/Desktop/images/26112025/20/56/image_26112025_20_56_44_9623.jpg
/home/pi/Desktop/images/26112025/20/56/image_26112025_20_56_55_10677.jpg
/home/pi/Desktop/images/26112025/20/56/image_26112025_20_57_04_9662.jpg
/home/pi/Desktop/images/26112025/20/57/image_26112025_20_57_25_10621.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":["1396314066","1396314071","1396314062","1396314064","1396314067","1396314076"],"photo_ids_order":["1396314062","1396314064","1396314066","1396314067","1396314071","1396314076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9f2cf2c32a8bc35696feaf835a4aaef3.jpg","text":"TemporaryFile(/tmp/multipartBody6408371784881401584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196684320,"filename":"image_26112025_20_56_44_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e205522175dc21d9dc3fa35e24696b7d.jpg","text":"TemporaryFile(/tmp/multipartBody8739899114411987022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196684320,"filename":"image_26112025_20_57_04_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/57d58ec702fe2a70084365a6c806a810.jpg","text":"TemporaryFile(/tmp/multipartBody1142083190384129724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196684320,"filename":"image_26112025_20_56_24_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/211654db011f7dc405dedf78e8d92bdd.jpg","text":"TemporaryFile(/tmp/multipartBody7482226180046763979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196684320,"filename":"image_26112025_20_56_34_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b1f353199c0e0f8fd5b9eecd1e8a1471.jpg","text":"TemporaryFile(/tmp/multipartBody1589839784934719918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196684320,"filename":"image_26112025_20_56_55_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6d0f3dcfad7517ac8cf4481fe81a33ca.jpg","text":"TemporaryFile(/tmp/multipartBody1097517411738219511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196684320,"filename":"image_26112025_20_57_25_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396314066","file1":"1396314064","file0":"1396314062","file4":"1396314071","file5":"1396314076","file3":"1396314067"},"map_files_photo_id_array":[{"photo_id":"1396314076","filename":"file5"},{"photo_id":"1396314066","filename":"file2"},{"photo_id":"1396314071","filename":"file4"},{"photo_id":"1396314064","filename":"file1"},{"photo_id":"1396314062","filename":"file0"},{"photo_id":"1396314067","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396314066":["hashtag1","hashtag2"]},{"1396314071":["hashtag1","hashtag2"]},{"1396314062":["hashtag1","hashtag2"]},{"1396314064":["hashtag1","hashtag2"]},{"1396314067":["hashtag1","hashtag2"]},{"1396314076":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396314066, 1396314071, 1396314062, 1396314064, 1396314067, 1396314076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90748310089111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 23:37:42.887370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_51_2689.jpg', '/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_54_2584.jpg', '/home/pi/Desktop/images/30102025/20/52/image_30102025_20_53_00_2796.jpg', '/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_03_2865.jpg', '/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_06_2665.jpg', '/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_19_6080.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_51_2689.jpg
/home/pi/Desktop/images/30102025/20/52/image_30102025_20_52_54_2584.jpg
/home/pi/Desktop/images/30102025/20/52/image_30102025_20_53_00_2796.jpg
/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_03_2865.jpg
/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_06_2665.jpg
/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_19_6080.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":["1396314084","1396314086","1396314089","1396314085","1396314088","1396314087"],"photo_ids_order":["1396314084","1396314085","1396314086","1396314087","1396314088","1396314089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c78d08506d40c5d4c112403f3da6ab68.jpg","text":"TemporaryFile(/tmp/multipartBody6976429388891710941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196724373,"filename":"image_30102025_20_52_51_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/26/c3b849e2c2c3d2fade40e0a7268d7a7f.jpg","text":"TemporaryFile(/tmp/multipartBody182552215328132180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196724373,"filename":"image_30102025_20_53_00_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/26/03d38e1464c59c1c935e8f845abd737d.jpg","text":"TemporaryFile(/tmp/multipartBody6567104358388129391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196724373,"filename":"image_30102025_20_53_19_6080.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3a457897726b2c6aa4bf5615ce3c119e.jpg","text":"TemporaryFile(/tmp/multipartBody2688961113211686341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196724373,"filename":"image_30102025_20_52_54_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/26/2410b6dd4e94ffb2eb64f557c84a95ed.jpg","text":"TemporaryFile(/tmp/multipartBody1363162193079810653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196724373,"filename":"image_30102025_20_53_06_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/26/07ff9fe6e46e416a87409c7d01379660.jpg","text":"TemporaryFile(/tmp/multipartBody7516620839664171131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196724373,"filename":"image_30102025_20_53_03_2865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396314086","file1":"1396314085","file0":"1396314084","file4":"1396314088","file5":"1396314089","file3":"1396314087"},"map_files_photo_id_array":[{"photo_id":"1396314089","filename":"file5"},{"photo_id":"1396314086","filename":"file2"},{"photo_id":"1396314088","filename":"file4"},{"photo_id":"1396314085","filename":"file1"},{"photo_id":"1396314084","filename":"file0"},{"photo_id":"1396314087","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396314084":["hashtag1","hashtag2"]},{"1396314086":["hashtag1","hashtag2"]},{"1396314089":["hashtag1","hashtag2"]},{"1396314085":["hashtag1","hashtag2"]},{"1396314088":["hashtag1","hashtag2"]},{"1396314087":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396314084, 1396314086, 1396314089, 1396314085, 1396314088, 1396314087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.230746030807495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 23:38:22.024710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/20/57/image_26112025_20_57_34_9671.jpg', '/home/pi/Desktop/images/26112025/20/57/image_26112025_20_57_44_9686.jpg', '/home/pi/Desktop/images/26112025/20/58/image_26112025_20_58_14_9565.jpg', '/home/pi/Desktop/images/26112025/20/58/image_26112025_20_59_05_10762.jpg', '/home/pi/Desktop/images/26112025/21/00/image_26112025_21_00_44_9698.jpg', '/home/pi/Desktop/images/26112025/21/00/image_26112025_21_00_55_10825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/20/57/image_26112025_20_57_34_9671.jpg
/home/pi/Desktop/images/26112025/20/57/image_26112025_20_57_44_9686.jpg
/home/pi/Desktop/images/26112025/20/58/image_26112025_20_58_14_9565.jpg
/home/pi/Desktop/images/26112025/20/58/image_26112025_20_59_05_10762.jpg
/home/pi/Desktop/images/26112025/21/00/image_26112025_21_00_44_9698.jpg
/home/pi/Desktop/images/26112025/21/00/image_26112025_21_00_55_10825.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":["1396314106","1396314096","1396314125","1396314115","1396314100","1396314103"],"photo_ids_order":["1396314096","1396314100","1396314103","1396314106","1396314115","1396314125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2801b0b3f933d336e51bc7593f96a6af.jpg","text":"TemporaryFile(/tmp/multipartBody4860564161782728325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196762836,"filename":"image_26112025_20_59_05_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bde9b059b317ab89d91fcb5aa7d113f7.jpg","text":"TemporaryFile(/tmp/multipartBody1847020369152478451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196762836,"filename":"image_26112025_20_57_34_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/54ee47e309dc26d1fe07e50956f3d226.jpg","text":"TemporaryFile(/tmp/multipartBody1788155713626580497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196762836,"filename":"image_26112025_21_00_55_10825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3c3d4ec1b1a24fc38f66a380167637e9.jpg","text":"TemporaryFile(/tmp/multipartBody6539936129204859878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196762836,"filename":"image_26112025_21_00_44_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8335925eca6a8de09339f3fb29eb25f2.jpg","text":"TemporaryFile(/tmp/multipartBody5203962219678357525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196762836,"filename":"image_26112025_20_57_44_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/660a7c4c6d8ec9081c98a2d6639abf1c.jpg","text":"TemporaryFile(/tmp/multipartBody3065963202145586781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196762836,"filename":"image_26112025_20_58_14_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396314103","file1":"1396314100","file0":"1396314096","file4":"1396314115","file5":"1396314125","file3":"1396314106"},"map_files_photo_id_array":[{"photo_id":"1396314125","filename":"file5"},{"photo_id":"1396314103","filename":"file2"},{"photo_id":"1396314115","filename":"file4"},{"photo_id":"1396314100","filename":"file1"},{"photo_id":"1396314096","filename":"file0"},{"photo_id":"1396314106","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396314106":["hashtag1","hashtag2"]},{"1396314096":["hashtag1","hashtag2"]},{"1396314125":["hashtag1","hashtag2"]},{"1396314115":["hashtag1","hashtag2"]},{"1396314100":["hashtag1","hashtag2"]},{"1396314103":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396314106, 1396314096, 1396314125, 1396314115, 1396314100, 1396314103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65083074569702 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:39:03.350566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/21/01/image_26112025_21_01_45_9680.jpg', '/home/pi/Desktop/images/26112025/21/01/image_26112025_21_01_55_10624.jpg', '/home/pi/Desktop/images/26112025/21/02/image_26112025_21_02_44_9577.jpg', '/home/pi/Desktop/images/26112025/21/03/image_26112025_21_03_14_9671.jpg', '/home/pi/Desktop/images/26112025/21/03/image_26112025_21_03_45_10539.jpg', '/home/pi/Desktop/images/26112025/21/04/image_26112025_21_04_35_9848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/21/01/image_26112025_21_01_45_9680.jpg
/home/pi/Desktop/images/26112025/21/01/image_26112025_21_01_55_10624.jpg
/home/pi/Desktop/images/26112025/21/02/image_26112025_21_02_44_9577.jpg
/home/pi/Desktop/images/26112025/21/03/image_26112025_21_03_14_9671.jpg
/home/pi/Desktop/images/26112025/21/03/image_26112025_21_03_45_10539.jpg
/home/pi/Desktop/images/26112025/21/04/image_26112025_21_04_35_9848.jpg
 val : 1 : upload photos already in processing! 
 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":["1396314149","1396314140","1396314143","1396314137","1396314145","1396314127"],"photo_ids_order":["1396314127","1396314137","1396314140","1396314143","1396314145","1396314149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fcd730b9223dc92c3a914fb6cbb1e0a8.jpg","text":"TemporaryFile(/tmp/multipartBody5671012810143438680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196804335,"filename":"image_26112025_21_04_35_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9fb91d7b7e32c09cb61cf46c116fe3f8.jpg","text":"TemporaryFile(/tmp/multipartBody8862000840923610029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196804335,"filename":"image_26112025_21_02_44_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/986e233d48919c8762e64fbd26c8ae03.jpg","text":"TemporaryFile(/tmp/multipartBody947555113663624766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196804335,"filename":"image_26112025_21_03_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/98569e146ad8af62bfe48585f22027f5.jpg","text":"TemporaryFile(/tmp/multipartBody3777818096536797503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196804335,"filename":"image_26112025_21_01_55_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/44ee821473f1c8945341d86db71c6670.jpg","text":"TemporaryFile(/tmp/multipartBody767200768299048671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196804335,"filename":"image_26112025_21_03_45_10539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1f1ddde3c2322f99dc097824815d6e1b.jpg","text":"TemporaryFile(/tmp/multipartBody1341637789170405730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196804335,"filename":"image_26112025_21_01_45_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396314140","file1":"1396314137","file0":"1396314127","file4":"1396314145","file5":"1396314149","file3":"1396314143"},"map_files_photo_id_array":[{"photo_id":"1396314149","filename":"file5"},{"photo_id":"1396314140","filename":"file2"},{"photo_id":"1396314145","filename":"file4"},{"photo_id":"1396314137","filename":"file1"},{"photo_id":"1396314127","filename":"file0"},{"photo_id":"1396314143","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396314149":["hashtag1","hashtag2"]},{"1396314140":["hashtag1","hashtag2"]},{"1396314143":["hashtag1","hashtag2"]},{"1396314137":["hashtag1","hashtag2"]},{"1396314145":["hashtag1","hashtag2"]},{"1396314127":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396314149, 1396314140, 1396314143, 1396314137, 1396314145, 1396314127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.678504943847656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:40:02.907362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/21/05/image_26112025_21_05_35_9548.jpg', '/home/pi/Desktop/images/26112025/21/05/image_26112025_21_05_55_10585.jpg', '/home/pi/Desktop/images/26112025/21/05/image_26112025_21_06_05_9679.jpg', '/home/pi/Desktop/images/26112025/21/06/image_26112025_21_06_35_10689.jpg', '/home/pi/Desktop/images/26112025/21/06/image_26112025_21_06_55_9877.jpg', '/home/pi/Desktop/images/26112025/21/06/image_26112025_21_07_04_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/21/05/image_26112025_21_05_35_9548.jpg
/home/pi/Desktop/images/26112025/21/05/image_26112025_21_05_55_10585.jpg
/home/pi/Desktop/images/26112025/21/05/image_26112025_21_06_05_9679.jpg
/home/pi/Desktop/images/26112025/21/06/image_26112025_21_06_35_10689.jpg
/home/pi/Desktop/images/26112025/21/06/image_26112025_21_06_55_9877.jpg
/home/pi/Desktop/images/26112025/21/06/image_26112025_21_07_04_9715.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":["1396314156","1396314159","1396314251","1396314292","1396314169","1396314208"],"photo_ids_order":["1396314156","1396314159","1396314169","1396314208","1396314251","1396314292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7ae5b38a69fcadc10ad076da425e3593.jpg","text":"TemporaryFile(/tmp/multipartBody5321108761487606835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196863686,"filename":"image_26112025_21_05_35_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/cb9f20c245c0c641a8d41fb24d9efe8d.jpg","text":"TemporaryFile(/tmp/multipartBody5319669863991488748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196863686,"filename":"image_26112025_21_05_55_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6c61fcd8cf2619ad93170d29bbc18bd1.jpg","text":"TemporaryFile(/tmp/multipartBody8739758732340285879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196863686,"filename":"image_26112025_21_06_55_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8567f1ccf12a1347d9af94a1d6dd2280.jpg","text":"TemporaryFile(/tmp/multipartBody515118158211050360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196863686,"filename":"image_26112025_21_07_04_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b752f277232e587661a1449a441df330.jpg","text":"TemporaryFile(/tmp/multipartBody1731881469661918709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196863686,"filename":"image_26112025_21_06_05_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/30a9ec570ec826466f3d522379cb1cf9.jpg","text":"TemporaryFile(/tmp/multipartBody7676362715195512551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196863686,"filename":"image_26112025_21_06_35_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396314169","file1":"1396314159","file0":"1396314156","file4":"1396314251","file5":"1396314292","file3":"1396314208"},"map_files_photo_id_array":[{"photo_id":"1396314292","filename":"file5"},{"photo_id":"1396314169","filename":"file2"},{"photo_id":"1396314251","filename":"file4"},{"photo_id":"1396314159","filename":"file1"},{"photo_id":"1396314156","filename":"file0"},{"photo_id":"1396314208","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396314156":["hashtag1","hashtag2"]},{"1396314159":["hashtag1","hashtag2"]},{"1396314251":["hashtag1","hashtag2"]},{"1396314292":["hashtag1","hashtag2"]},{"1396314169":["hashtag1","hashtag2"]},{"1396314208":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396314156, 1396314159, 1396314251, 1396314292, 1396314169, 1396314208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03762722015381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 23:40:42.603631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_20_1789.jpg', '/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_22_1615.jpg', '/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_24_1687.jpg', '/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_27_3522.jpg', '/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_33_2918.jpg', '/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_36_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_20_1789.jpg
/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_22_1615.jpg
/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_24_1687.jpg
/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_27_3522.jpg
/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_33_2918.jpg
/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_36_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: 1.414870262145996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:41:03.438439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/21/07/image_26112025_21_07_25_9662.jpg', '/home/pi/Desktop/images/26112025/21/07/image_26112025_21_07_45_10773.jpg', '/home/pi/Desktop/images/26112025/21/07/image_26112025_21_07_55_9694.jpg', '/home/pi/Desktop/images/26112025/21/08/image_26112025_21_08_14_9786.jpg', '/home/pi/Desktop/images/26112025/21/08/image_26112025_21_08_45_10620.jpg', '/home/pi/Desktop/images/26112025/21/08/image_26112025_21_08_55_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/21/07/image_26112025_21_07_25_9662.jpg
/home/pi/Desktop/images/26112025/21/07/image_26112025_21_07_45_10773.jpg
/home/pi/Desktop/images/26112025/21/07/image_26112025_21_07_55_9694.jpg
/home/pi/Desktop/images/26112025/21/08/image_26112025_21_08_14_9786.jpg
/home/pi/Desktop/images/26112025/21/08/image_26112025_21_08_45_10620.jpg
/home/pi/Desktop/images/26112025/21/08/image_26112025_21_08_55_9618.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":["1396314516","1396314491","1396314506","1396314463","1396314511","1396314508"],"photo_ids_order":["1396314463","1396314491","1396314506","1396314508","1396314511","1396314516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ddf271ba7065dbb237473c49a0cd8278.jpg","text":"TemporaryFile(/tmp/multipartBody661650666672188380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196924302,"filename":"image_26112025_21_08_55_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b5156a4cd455842a039b2f7ff872da32.jpg","text":"TemporaryFile(/tmp/multipartBody11483697605101388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196924302,"filename":"image_26112025_21_07_45_10773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/572c06a6a7ab1fb8ebc876790ed7bf60.jpg","text":"TemporaryFile(/tmp/multipartBody294851743678699074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196924302,"filename":"image_26112025_21_07_55_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/424d039731f71a5a5672a541fa9efa3d.jpg","text":"TemporaryFile(/tmp/multipartBody2458001313257702553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196924302,"filename":"image_26112025_21_07_25_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/59cbf4417e2d333bc701e20b9cea8d73.jpg","text":"TemporaryFile(/tmp/multipartBody8516118498768724893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196924302,"filename":"image_26112025_21_08_45_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d0140b4f23ecae7bb8535601985fadd8.jpg","text":"TemporaryFile(/tmp/multipartBody949586757734412555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196924302,"filename":"image_26112025_21_08_14_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396314506","file1":"1396314491","file0":"1396314463","file4":"1396314511","file5":"1396314516","file3":"1396314508"},"map_files_photo_id_array":[{"photo_id":"1396314516","filename":"file5"},{"photo_id":"1396314506","filename":"file2"},{"photo_id":"1396314511","filename":"file4"},{"photo_id":"1396314491","filename":"file1"},{"photo_id":"1396314463","filename":"file0"},{"photo_id":"1396314508","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396314516":["hashtag1","hashtag2"]},{"1396314491":["hashtag1","hashtag2"]},{"1396314506":["hashtag1","hashtag2"]},{"1396314463":["hashtag1","hashtag2"]},{"1396314511":["hashtag1","hashtag2"]},{"1396314508":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396314516, 1396314491, 1396314506, 1396314463, 1396314511, 1396314508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.866678953170776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 23:41:42.887052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_20_1789.jpg', '/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_22_1615.jpg', '/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_24_1687.jpg', '/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_27_3522.jpg', '/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_33_2918.jpg', '/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_36_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_20_1789.jpg
/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_22_1615.jpg
/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_24_1687.jpg
/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_27_3522.jpg
/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_33_2918.jpg
/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_36_2637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396314534","1396314528","1396314531","1396314533","1396314535","1396314532"],"photo_ids_order":["1396314528","1396314531","1396314532","1396314533","1396314534","1396314535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/38ddc689365c526380fcb527937987a7.jpg","text":"TemporaryFile(/tmp/multipartBody7330532713511531259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196964277,"filename":"image_30102025_20_53_33_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/26/6bc97726a84d7337f67bff9e5abec56c.jpg","text":"TemporaryFile(/tmp/multipartBody5814369736414604257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196964277,"filename":"image_30102025_20_53_20_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/26/6b2cd75f7954402a3ef9a093f00479d8.jpg","text":"TemporaryFile(/tmp/multipartBody6399997231757611845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196964277,"filename":"image_30102025_20_53_22_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/26/1a82288e9cf43b242953dd36c51b340c.jpg","text":"TemporaryFile(/tmp/multipartBody6541629094867994160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196964277,"filename":"image_30102025_20_53_27_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/26/a0c68a72af029ac84151df03698f99b4.jpg","text":"TemporaryFile(/tmp/multipartBody1516601507730863007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196964277,"filename":"image_30102025_20_53_36_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/26/046d701a532f0eaa93609d96938248a9.jpg","text":"TemporaryFile(/tmp/multipartBody881712733962565335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764196964277,"filename":"image_30102025_20_53_24_1687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396314532","file1":"1396314531","file0":"1396314528","file4":"1396314534","file5":"1396314535","file3":"1396314533"},"map_files_photo_id_array":[{"photo_id":"1396314535","filename":"file5"},{"photo_id":"1396314532","filename":"file2"},{"photo_id":"1396314534","filename":"file4"},{"photo_id":"1396314531","filename":"file1"},{"photo_id":"1396314528","filename":"file0"},{"photo_id":"1396314533","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396314534":["hashtag1","hashtag2"]},{"1396314528":["hashtag1","hashtag2"]},{"1396314531":["hashtag1","hashtag2"]},{"1396314533":["hashtag1","hashtag2"]},{"1396314535":["hashtag1","hashtag2"]},{"1396314532":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396314534, 1396314528, 1396314531, 1396314533, 1396314535, 1396314532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56512427330017 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 23:42:22.117106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/21/10/image_26112025_21_10_15_9820.jpg', '/home/pi/Desktop/images/26112025/21/13/image_26112025_21_13_15_9901.jpg', '/home/pi/Desktop/images/26112025/21/13/image_26112025_21_13_35_10807.jpg', '/home/pi/Desktop/images/26112025/21/13/image_26112025_21_13_45_9600.jpg', '/home/pi/Desktop/images/26112025/21/14/image_26112025_21_14_14_9912.jpg', '/home/pi/Desktop/images/26112025/21/15/image_26112025_21_15_25_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/21/10/image_26112025_21_10_15_9820.jpg
/home/pi/Desktop/images/26112025/21/13/image_26112025_21_13_15_9901.jpg
/home/pi/Desktop/images/26112025/21/13/image_26112025_21_13_35_10807.jpg
/home/pi/Desktop/images/26112025/21/13/image_26112025_21_13_45_9600.jpg
/home/pi/Desktop/images/26112025/21/14/image_26112025_21_14_14_9912.jpg
/home/pi/Desktop/images/26112025/21/15/image_26112025_21_15_25_9650.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":["1396314555","1396314558","1396314543","1396314553","1396314550","1396314547"],"photo_ids_order":["1396314543","1396314547","1396314550","1396314553","1396314555","1396314558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b95baad6be3dd292221bea243670261c.jpg","text":"TemporaryFile(/tmp/multipartBody1261696103293621262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197002871,"filename":"image_26112025_21_14_14_9912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4dcb9e11fd167358bc4fefcca65257d3.jpg","text":"TemporaryFile(/tmp/multipartBody1902317093334358421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197002871,"filename":"image_26112025_21_15_25_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b41e664999a8c029e90a52203706c4d5.jpg","text":"TemporaryFile(/tmp/multipartBody7187989603996434199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197002871,"filename":"image_26112025_21_10_15_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3f5ecf158ac0e4588f9e876ccbea85b8.jpg","text":"TemporaryFile(/tmp/multipartBody7213424248770121571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197002871,"filename":"image_26112025_21_13_45_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/771888859c9107553a21594b928cfcf7.jpg","text":"TemporaryFile(/tmp/multipartBody5786191383984469215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197002871,"filename":"image_26112025_21_13_35_10807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e4e1b0b0ac6ab9db9916318947f8654a.jpg","text":"TemporaryFile(/tmp/multipartBody4105857986097833095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197002871,"filename":"image_26112025_21_13_15_9901.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396314550","file1":"1396314547","file0":"1396314543","file4":"1396314555","file5":"1396314558","file3":"1396314553"},"map_files_photo_id_array":[{"photo_id":"1396314558","filename":"file5"},{"photo_id":"1396314550","filename":"file2"},{"photo_id":"1396314555","filename":"file4"},{"photo_id":"1396314547","filename":"file1"},{"photo_id":"1396314543","filename":"file0"},{"photo_id":"1396314553","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396314555":["hashtag1","hashtag2"]},{"1396314558":["hashtag1","hashtag2"]},{"1396314543":["hashtag1","hashtag2"]},{"1396314553":["hashtag1","hashtag2"]},{"1396314550":["hashtag1","hashtag2"]},{"1396314547":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396314555, 1396314558, 1396314543, 1396314553, 1396314550, 1396314547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83141589164734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:43:02.964658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/21/15/image_26112025_21_15_35_9705.jpg', '/home/pi/Desktop/images/26112025/21/16/image_26112025_21_16_15_10671.jpg', '/home/pi/Desktop/images/26112025/21/16/image_26112025_21_16_25_9750.jpg', '/home/pi/Desktop/images/26112025/21/16/image_26112025_21_16_45_10594.jpg', '/home/pi/Desktop/images/26112025/21/17/image_26112025_21_17_25_9746.jpg', '/home/pi/Desktop/images/26112025/21/17/image_26112025_21_17_55_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/21/15/image_26112025_21_15_35_9705.jpg
/home/pi/Desktop/images/26112025/21/16/image_26112025_21_16_15_10671.jpg
/home/pi/Desktop/images/26112025/21/16/image_26112025_21_16_25_9750.jpg
/home/pi/Desktop/images/26112025/21/16/image_26112025_21_16_45_10594.jpg
/home/pi/Desktop/images/26112025/21/17/image_26112025_21_17_25_9746.jpg
/home/pi/Desktop/images/26112025/21/17/image_26112025_21_17_55_9744.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":["1396314561","1396314563","1396314566","1396314571","1396314568","1396314565"],"photo_ids_order":["1396314561","1396314563","1396314565","1396314566","1396314568","1396314571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7ee16b7118457cfc26e5e762488c3a13.jpg","text":"TemporaryFile(/tmp/multipartBody5571366888796750186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197043807,"filename":"image_26112025_21_15_35_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/26/6a03111779fe016c3b71781427bd28ea.jpg","text":"TemporaryFile(/tmp/multipartBody1661338935296838361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197043807,"filename":"image_26112025_21_16_15_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b662988103b5e12193bd119bdc2d6024.jpg","text":"TemporaryFile(/tmp/multipartBody1670741415980520308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197043807,"filename":"image_26112025_21_16_45_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d4926b41b0d7bf2ae04d03a325f48b94.jpg","text":"TemporaryFile(/tmp/multipartBody8260977670154478833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197043807,"filename":"image_26112025_21_17_55_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aea9bde2ee8b966d1caf8ca258821c64.jpg","text":"TemporaryFile(/tmp/multipartBody3553694873817716655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197043807,"filename":"image_26112025_21_17_25_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5947735c9773a5ad06149e5094160d27.jpg","text":"TemporaryFile(/tmp/multipartBody6148293706926822171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197043807,"filename":"image_26112025_21_16_25_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396314565","file1":"1396314563","file0":"1396314561","file4":"1396314568","file5":"1396314571","file3":"1396314566"},"map_files_photo_id_array":[{"photo_id":"1396314571","filename":"file5"},{"photo_id":"1396314565","filename":"file2"},{"photo_id":"1396314568","filename":"file4"},{"photo_id":"1396314563","filename":"file1"},{"photo_id":"1396314561","filename":"file0"},{"photo_id":"1396314566","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396314561":["hashtag1","hashtag2"]},{"1396314563":["hashtag1","hashtag2"]},{"1396314566":["hashtag1","hashtag2"]},{"1396314571":["hashtag1","hashtag2"]},{"1396314568":["hashtag1","hashtag2"]},{"1396314565":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396314561, 1396314563, 1396314566, 1396314571, 1396314568, 1396314565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53060173988342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 23:43:42.239226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_42_3674.jpg', '/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_45_2541.jpg', '/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_48_3569.jpg', '/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_50_2118.jpg', '/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_54_3662.jpg', '/home/pi/Desktop/images/30102025/20/54/image_30102025_20_54_02_2748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_42_3674.jpg
/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_45_2541.jpg
/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_48_3569.jpg
/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_50_2118.jpg
/home/pi/Desktop/images/30102025/20/53/image_30102025_20_53_54_3662.jpg
/home/pi/Desktop/images/30102025/20/54/image_30102025_20_54_02_2748.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":["1396314591","1396314587","1396314581","1396314590","1396314589","1396314583"],"photo_ids_order":["1396314581","1396314583","1396314587","1396314589","1396314590","1396314591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9da33a1a4dcae231c3c51709d714ff16.jpg","text":"TemporaryFile(/tmp/multipartBody1059769435542555077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197083715,"filename":"image_30102025_20_54_02_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/26/810557e66fc767ff7209f4d278fca260.jpg","text":"TemporaryFile(/tmp/multipartBody3249458670611584499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197083715,"filename":"image_30102025_20_53_48_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/26/045bd51b02a9e0b1830260b96ea2c459.jpg","text":"TemporaryFile(/tmp/multipartBody6234980965213652433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197083715,"filename":"image_30102025_20_53_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/26/91ef1856390ea05b7310dd921baf6fae.jpg","text":"TemporaryFile(/tmp/multipartBody8482668080309181758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197083715,"filename":"image_30102025_20_53_54_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/26/5095b14f2c8629b2854dc108ddcf0a73.jpg","text":"TemporaryFile(/tmp/multipartBody3590959725547425342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197083715,"filename":"image_30102025_20_53_50_2118.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ff64880cb90206540ca113bb4bb31ad8.jpg","text":"TemporaryFile(/tmp/multipartBody1978816072242783764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197083715,"filename":"image_30102025_20_53_45_2541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396314587","file1":"1396314583","file0":"1396314581","file4":"1396314590","file5":"1396314591","file3":"1396314589"},"map_files_photo_id_array":[{"photo_id":"1396314591","filename":"file5"},{"photo_id":"1396314587","filename":"file2"},{"photo_id":"1396314590","filename":"file4"},{"photo_id":"1396314583","filename":"file1"},{"photo_id":"1396314581","filename":"file0"},{"photo_id":"1396314589","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396314591":["hashtag1","hashtag2"]},{"1396314587":["hashtag1","hashtag2"]},{"1396314581":["hashtag1","hashtag2"]},{"1396314590":["hashtag1","hashtag2"]},{"1396314589":["hashtag1","hashtag2"]},{"1396314583":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396314591, 1396314587, 1396314581, 1396314590, 1396314589, 1396314583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.043025970458984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 23:44:22.426261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/21/19/image_26112025_21_19_25_9881.jpg', '/home/pi/Desktop/images/26112025/21/19/image_26112025_21_19_45_9785.jpg', '/home/pi/Desktop/images/26112025/21/22/image_26112025_21_22_35_9701.jpg', '/home/pi/Desktop/images/26112025/21/23/image_26112025_21_23_15_9780.jpg', '/home/pi/Desktop/images/26112025/21/23/image_26112025_21_23_45_9766.jpg', '/home/pi/Desktop/images/26112025/21/24/image_26112025_21_24_25_9814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/21/19/image_26112025_21_19_25_9881.jpg
/home/pi/Desktop/images/26112025/21/19/image_26112025_21_19_45_9785.jpg
/home/pi/Desktop/images/26112025/21/22/image_26112025_21_22_35_9701.jpg
/home/pi/Desktop/images/26112025/21/23/image_26112025_21_23_15_9780.jpg
/home/pi/Desktop/images/26112025/21/23/image_26112025_21_23_45_9766.jpg
/home/pi/Desktop/images/26112025/21/24/image_26112025_21_24_25_9814.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":["1396314609","1396314600","1396314596","1396314599","1396314602","1396314604"],"photo_ids_order":["1396314596","1396314599","1396314600","1396314602","1396314604","1396314609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3b99998563f23efe81807649dcd9ff54.jpg","text":"TemporaryFile(/tmp/multipartBody2359856547540219551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197123190,"filename":"image_26112025_21_24_25_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ae2bc918dd6366868edb9bb0b347de51.jpg","text":"TemporaryFile(/tmp/multipartBody6251400027311550244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197123190,"filename":"image_26112025_21_22_35_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4038e48a04c915d05108835a0331730a.jpg","text":"TemporaryFile(/tmp/multipartBody2717972834917302466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197123190,"filename":"image_26112025_21_19_25_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/590ba84677470c2e4bed65e36e762867.jpg","text":"TemporaryFile(/tmp/multipartBody7879714617147668734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197123190,"filename":"image_26112025_21_19_45_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3e2b29953595dce10a1a7cef526a62f5.jpg","text":"TemporaryFile(/tmp/multipartBody4269510777735228708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197123190,"filename":"image_26112025_21_23_15_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/784a41f7375196c6a228f0a1f0fdaf60.jpg","text":"TemporaryFile(/tmp/multipartBody1135753806748117350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197123190,"filename":"image_26112025_21_23_45_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396314600","file1":"1396314599","file0":"1396314596","file4":"1396314604","file5":"1396314609","file3":"1396314602"},"map_files_photo_id_array":[{"photo_id":"1396314609","filename":"file5"},{"photo_id":"1396314600","filename":"file2"},{"photo_id":"1396314604","filename":"file4"},{"photo_id":"1396314599","filename":"file1"},{"photo_id":"1396314596","filename":"file0"},{"photo_id":"1396314602","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396314609":["hashtag1","hashtag2"]},{"1396314600":["hashtag1","hashtag2"]},{"1396314596":["hashtag1","hashtag2"]},{"1396314599":["hashtag1","hashtag2"]},{"1396314602":["hashtag1","hashtag2"]},{"1396314604":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396314609, 1396314600, 1396314596, 1396314599, 1396314602, 1396314604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.358376264572144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:45:03.198029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/21/24/image_26112025_21_24_34_9672.jpg', '/home/pi/Desktop/images/26112025/21/24/image_26112025_21_24_45_10584.jpg', '/home/pi/Desktop/images/26112025/21/25/image_26112025_21_25_35_10577.jpg', '/home/pi/Desktop/images/26112025/21/25/image_26112025_21_25_45_9613.jpg', '/home/pi/Desktop/images/26112025/21/25/image_26112025_21_25_54_9587.jpg', '/home/pi/Desktop/images/26112025/21/26/image_26112025_21_26_25_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/21/24/image_26112025_21_24_34_9672.jpg
/home/pi/Desktop/images/26112025/21/24/image_26112025_21_24_45_10584.jpg
/home/pi/Desktop/images/26112025/21/25/image_26112025_21_25_35_10577.jpg
/home/pi/Desktop/images/26112025/21/25/image_26112025_21_25_45_9613.jpg
/home/pi/Desktop/images/26112025/21/25/image_26112025_21_25_54_9587.jpg
/home/pi/Desktop/images/26112025/21/26/image_26112025_21_26_25_9746.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":["1396314623","1396314635","1396314629","1396314616","1396314631","1396314628"],"photo_ids_order":["1396314616","1396314623","1396314628","1396314629","1396314631","1396314635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dc2bb49c7e01058f19cf94ee75e71ee6.jpg","text":"TemporaryFile(/tmp/multipartBody7660549871644630294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197164056,"filename":"image_26112025_21_24_45_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ab4df19e8003bc872d09d9f1fdc3e0e7.jpg","text":"TemporaryFile(/tmp/multipartBody7238056806691929271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197164056,"filename":"image_26112025_21_26_25_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/91a0a65bd7375554fc360bafade397ec.jpg","text":"TemporaryFile(/tmp/multipartBody7844423631575701291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197164056,"filename":"image_26112025_21_25_45_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6caae848024e99f63e989d5c65e4a2eb.jpg","text":"TemporaryFile(/tmp/multipartBody2934760727948516262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197164056,"filename":"image_26112025_21_24_34_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5ec3165f98de4bb9893318b1707ea93d.jpg","text":"TemporaryFile(/tmp/multipartBody7495813585411644890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197164056,"filename":"image_26112025_21_25_54_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/66fcf63aa1ce902219ea44ce5bb16dfd.jpg","text":"TemporaryFile(/tmp/multipartBody2319909771193936317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197164056,"filename":"image_26112025_21_25_35_10577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396314628","file1":"1396314623","file0":"1396314616","file4":"1396314631","file5":"1396314635","file3":"1396314629"},"map_files_photo_id_array":[{"photo_id":"1396314635","filename":"file5"},{"photo_id":"1396314628","filename":"file2"},{"photo_id":"1396314631","filename":"file4"},{"photo_id":"1396314623","filename":"file1"},{"photo_id":"1396314616","filename":"file0"},{"photo_id":"1396314629","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396314623":["hashtag1","hashtag2"]},{"1396314635":["hashtag1","hashtag2"]},{"1396314629":["hashtag1","hashtag2"]},{"1396314616":["hashtag1","hashtag2"]},{"1396314631":["hashtag1","hashtag2"]},{"1396314628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396314623, 1396314635, 1396314629, 1396314616, 1396314631, 1396314628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00283622741699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 23:45:42.563381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/54/image_30102025_20_54_06_3798.jpg', '/home/pi/Desktop/images/30102025/20/54/image_30102025_20_54_09_2517.jpg', '/home/pi/Desktop/images/30102025/20/54/image_30102025_20_54_18_9508.jpg', '/home/pi/Desktop/images/30102025/20/54/image_30102025_20_54_20_1760.jpg', '/home/pi/Desktop/images/30102025/20/54/image_30102025_20_54_23_1654.jpg', '/home/pi/Desktop/images/30102025/20/54/image_30102025_20_54_30_6297.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/54/image_30102025_20_54_06_3798.jpg
/home/pi/Desktop/images/30102025/20/54/image_30102025_20_54_09_2517.jpg
/home/pi/Desktop/images/30102025/20/54/image_30102025_20_54_18_9508.jpg
/home/pi/Desktop/images/30102025/20/54/image_30102025_20_54_20_1760.jpg
/home/pi/Desktop/images/30102025/20/54/image_30102025_20_54_23_1654.jpg
/home/pi/Desktop/images/30102025/20/54/image_30102025_20_54_30_6297.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":["1396314651","1396314648","1396314644","1396314647","1396314649","1396314646"],"photo_ids_order":["1396314644","1396314646","1396314647","1396314648","1396314649","1396314651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/643e9e5b21bf8f325129d532772d10cd.jpg","text":"TemporaryFile(/tmp/multipartBody5820040912838825236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197204122,"filename":"image_30102025_20_54_30_6297.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4651c4a018b985d9322c41f00b104780.jpg","text":"TemporaryFile(/tmp/multipartBody7285202058108004073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197204122,"filename":"image_30102025_20_54_20_1760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ba76fe76ae01370a6a6b9e78cf2bd160.jpg","text":"TemporaryFile(/tmp/multipartBody5801798135229055180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197204122,"filename":"image_30102025_20_54_06_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/26/84c1785f7816f541c6d6d63ee8052471.jpg","text":"TemporaryFile(/tmp/multipartBody7422832153331773585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197204122,"filename":"image_30102025_20_54_18_9508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ab25e151b9f1032f0783f6e969dcaa10.jpg","text":"TemporaryFile(/tmp/multipartBody2321743826532895637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197204122,"filename":"image_30102025_20_54_23_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/26/c817c4be439ae136957de4b07afa3ba1.jpg","text":"TemporaryFile(/tmp/multipartBody5697328881118293105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197204122,"filename":"image_30102025_20_54_09_2517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396314647","file1":"1396314646","file0":"1396314644","file4":"1396314649","file5":"1396314651","file3":"1396314648"},"map_files_photo_id_array":[{"photo_id":"1396314651","filename":"file5"},{"photo_id":"1396314647","filename":"file2"},{"photo_id":"1396314649","filename":"file4"},{"photo_id":"1396314646","filename":"file1"},{"photo_id":"1396314644","filename":"file0"},{"photo_id":"1396314648","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396314651":["hashtag1","hashtag2"]},{"1396314648":["hashtag1","hashtag2"]},{"1396314644":["hashtag1","hashtag2"]},{"1396314647":["hashtag1","hashtag2"]},{"1396314649":["hashtag1","hashtag2"]},{"1396314646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396314651, 1396314648, 1396314644, 1396314647, 1396314649, 1396314646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60183143615723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 23:46:22.762198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/21/26/image_26112025_21_26_35_10567.jpg', '/home/pi/Desktop/images/26112025/21/26/image_26112025_21_26_55_9767.jpg', '/home/pi/Desktop/images/26112025/21/26/image_26112025_21_27_04_9606.jpg', '/home/pi/Desktop/images/26112025/21/27/image_26112025_21_27_15_10676.jpg', '/home/pi/Desktop/images/26112025/21/27/image_26112025_21_27_25_9837.jpg', '/home/pi/Desktop/images/26112025/21/28/image_26112025_21_28_44_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/21/26/image_26112025_21_26_35_10567.jpg
/home/pi/Desktop/images/26112025/21/26/image_26112025_21_26_55_9767.jpg
/home/pi/Desktop/images/26112025/21/26/image_26112025_21_27_04_9606.jpg
/home/pi/Desktop/images/26112025/21/27/image_26112025_21_27_15_10676.jpg
/home/pi/Desktop/images/26112025/21/27/image_26112025_21_27_25_9837.jpg
/home/pi/Desktop/images/26112025/21/28/image_26112025_21_28_44_9749.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":["1396314700","1396314672","1396314714","1396314697","1396314712","1396314706"],"photo_ids_order":["1396314672","1396314697","1396314700","1396314706","1396314712","1396314714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/868e9335ae3edb937decb46cd034603b.jpg","text":"TemporaryFile(/tmp/multipartBody6256275736982113359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197243577,"filename":"image_26112025_21_27_04_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9a57c609426aef74b54acd17471c4fac.jpg","text":"TemporaryFile(/tmp/multipartBody7358572433479361907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197243577,"filename":"image_26112025_21_26_35_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/489ef8f9b63b88a75fec87778a814ebc.jpg","text":"TemporaryFile(/tmp/multipartBody4583281510155993502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197243577,"filename":"image_26112025_21_28_44_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/fd29500dc147ef682d1575749928cb85.jpg","text":"TemporaryFile(/tmp/multipartBody2996828739638413056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197243577,"filename":"image_26112025_21_26_55_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/e248c67197a9632e1256a7a7c23ef071.jpg","text":"TemporaryFile(/tmp/multipartBody4468708336284902980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197243577,"filename":"image_26112025_21_27_25_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/79b3d78e6eafc6ff144713964c27cdda.jpg","text":"TemporaryFile(/tmp/multipartBody7892714945116404382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197243577,"filename":"image_26112025_21_27_15_10676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396314700","file1":"1396314697","file0":"1396314672","file4":"1396314712","file5":"1396314714","file3":"1396314706"},"map_files_photo_id_array":[{"photo_id":"1396314714","filename":"file5"},{"photo_id":"1396314700","filename":"file2"},{"photo_id":"1396314712","filename":"file4"},{"photo_id":"1396314697","filename":"file1"},{"photo_id":"1396314672","filename":"file0"},{"photo_id":"1396314706","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396314700":["hashtag1","hashtag2"]},{"1396314672":["hashtag1","hashtag2"]},{"1396314714":["hashtag1","hashtag2"]},{"1396314697":["hashtag1","hashtag2"]},{"1396314712":["hashtag1","hashtag2"]},{"1396314706":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396314700, 1396314672, 1396314714, 1396314697, 1396314712, 1396314706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.959381103515625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 23:47:11.897387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/42/image_20112025_23_42_24_2677.jpg', '/home/pi/Desktop/images/20112025/23/42/image_20112025_23_42_27_2683.jpg', '/home/pi/Desktop/images/20112025/23/42/image_20112025_23_42_54_5981.jpg', '/home/pi/Desktop/images/20112025/23/42/image_20112025_23_42_58_1811.jpg', '/home/pi/Desktop/images/20112025/23/43/image_20112025_23_43_02_2040.jpg', '/home/pi/Desktop/images/20112025/23/43/image_20112025_23_43_05_1744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/42/image_20112025_23_42_24_2677.jpg
/home/pi/Desktop/images/20112025/23/42/image_20112025_23_42_27_2683.jpg
/home/pi/Desktop/images/20112025/23/42/image_20112025_23_42_54_5981.jpg
/home/pi/Desktop/images/20112025/23/42/image_20112025_23_42_58_1811.jpg
/home/pi/Desktop/images/20112025/23/43/image_20112025_23_43_02_2040.jpg
/home/pi/Desktop/images/20112025/23/43/image_20112025_23_43_05_1744.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":["1396314798","1396314870","1396314912","1396314834","1396314947","1396314982"],"photo_ids_order":["1396314798","1396314834","1396314870","1396314912","1396314947","1396314982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b5ed06b6cd503f316d5c1a9111c8ed40.jpg","text":"TemporaryFile(/tmp/multipartBody6253740400932377015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197293782,"filename":"image_20112025_23_42_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/26/9828227d5361614f88103c69d98cc585.jpg","text":"TemporaryFile(/tmp/multipartBody4161074228066405501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197293782,"filename":"image_20112025_23_42_54_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/26/54a6b8de225875665d4ce52afe364a76.jpg","text":"TemporaryFile(/tmp/multipartBody4916731305856500192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197293782,"filename":"image_20112025_23_42_58_1811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d0d8670d600b2bfc663d276d97a9618b.jpg","text":"TemporaryFile(/tmp/multipartBody8792019775267953546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197293782,"filename":"image_20112025_23_42_27_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/26/a888bc0face316025e3323df74416a72.jpg","text":"TemporaryFile(/tmp/multipartBody7822667870802373379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197293782,"filename":"image_20112025_23_43_02_2040.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/44a223e0b6ac40fd4a730cb28a4fe4d0.jpg","text":"TemporaryFile(/tmp/multipartBody2227193107764871138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197293782,"filename":"image_20112025_23_43_05_1744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396314870","file1":"1396314834","file0":"1396314798","file4":"1396314947","file5":"1396314982","file3":"1396314912"},"map_files_photo_id_array":[{"photo_id":"1396314982","filename":"file5"},{"photo_id":"1396314870","filename":"file2"},{"photo_id":"1396314947","filename":"file4"},{"photo_id":"1396314834","filename":"file1"},{"photo_id":"1396314798","filename":"file0"},{"photo_id":"1396314912","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396314798":["hashtag1","hashtag2"]},{"1396314870":["hashtag1","hashtag2"]},{"1396314912":["hashtag1","hashtag2"]},{"1396314834":["hashtag1","hashtag2"]},{"1396314947":["hashtag1","hashtag2"]},{"1396314982":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396314798, 1396314870, 1396314912, 1396314834, 1396314947, 1396314982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.799062728881836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:48:02.532344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/21/29/image_26112025_21_29_25_10647.jpg', '/home/pi/Desktop/images/26112025/21/29/image_26112025_21_29_35_9608.jpg', '/home/pi/Desktop/images/26112025/21/30/image_26112025_21_30_14_10055.jpg', '/home/pi/Desktop/images/26112025/21/30/image_26112025_21_30_35_9722.jpg', '/home/pi/Desktop/images/26112025/21/30/image_26112025_21_30_44_9633.jpg', '/home/pi/Desktop/images/26112025/21/31/image_26112025_21_31_25_10753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/21/29/image_26112025_21_29_25_10647.jpg
/home/pi/Desktop/images/26112025/21/29/image_26112025_21_29_35_9608.jpg
/home/pi/Desktop/images/26112025/21/30/image_26112025_21_30_14_10055.jpg
/home/pi/Desktop/images/26112025/21/30/image_26112025_21_30_35_9722.jpg
/home/pi/Desktop/images/26112025/21/30/image_26112025_21_30_44_9633.jpg
/home/pi/Desktop/images/26112025/21/31/image_26112025_21_31_25_10753.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":["1396315125","1396315212","1396315127","1396315123","1396315135","1396315173"],"photo_ids_order":["1396315123","1396315125","1396315127","1396315135","1396315173","1396315212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/9f6c7f87e9b27ff6a278bf1124dbd461.jpg","text":"TemporaryFile(/tmp/multipartBody1667802044500109649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197343369,"filename":"image_26112025_21_29_35_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3c69cea6dbbd6ae9a7a15a07071cc10a.jpg","text":"TemporaryFile(/tmp/multipartBody7232874882842392991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197343369,"filename":"image_26112025_21_31_25_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6232d7072c60ef7fd84b0e98b78d0f87.jpg","text":"TemporaryFile(/tmp/multipartBody213031848253393403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197343369,"filename":"image_26112025_21_30_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/546c2450b0f72311e6bf47f339518d59.jpg","text":"TemporaryFile(/tmp/multipartBody6672178224339821724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197343369,"filename":"image_26112025_21_29_25_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2b70136938568086d8eb08e2969b70af.jpg","text":"TemporaryFile(/tmp/multipartBody139180180102804453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197343369,"filename":"image_26112025_21_30_35_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/635c13eecfdc013a5c2f7bb72d2008ba.jpg","text":"TemporaryFile(/tmp/multipartBody7024256009308059536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197343369,"filename":"image_26112025_21_30_44_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396315127","file1":"1396315125","file0":"1396315123","file4":"1396315173","file5":"1396315212","file3":"1396315135"},"map_files_photo_id_array":[{"photo_id":"1396315212","filename":"file5"},{"photo_id":"1396315127","filename":"file2"},{"photo_id":"1396315173","filename":"file4"},{"photo_id":"1396315125","filename":"file1"},{"photo_id":"1396315123","filename":"file0"},{"photo_id":"1396315135","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396315125":["hashtag1","hashtag2"]},{"1396315212":["hashtag1","hashtag2"]},{"1396315127":["hashtag1","hashtag2"]},{"1396315123":["hashtag1","hashtag2"]},{"1396315135":["hashtag1","hashtag2"]},{"1396315173":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396315125, 1396315212, 1396315127, 1396315123, 1396315135, 1396315173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46499967575073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 23:48:42.077804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/54/image_30102025_20_54_33_2956.jpg', '/home/pi/Desktop/images/30102025/20/54/image_30102025_20_54_34_1906.jpg', '/home/pi/Desktop/images/30102025/20/54/image_30102025_20_54_40_1780.jpg', '/home/pi/Desktop/images/30102025/20/54/image_30102025_20_54_42_1604.jpg', '/home/pi/Desktop/images/30102025/20/54/image_30102025_20_54_48_3517.jpg', '/home/pi/Desktop/images/30102025/20/54/image_30102025_20_54_51_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/54/image_30102025_20_54_33_2956.jpg
/home/pi/Desktop/images/30102025/20/54/image_30102025_20_54_34_1906.jpg
/home/pi/Desktop/images/30102025/20/54/image_30102025_20_54_40_1780.jpg
/home/pi/Desktop/images/30102025/20/54/image_30102025_20_54_42_1604.jpg
/home/pi/Desktop/images/30102025/20/54/image_30102025_20_54_48_3517.jpg
/home/pi/Desktop/images/30102025/20/54/image_30102025_20_54_51_2603.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":["1396315292","1396315289","1396315291","1396315290","1396315293","1396315287"],"photo_ids_order":["1396315287","1396315289","1396315290","1396315291","1396315292","1396315293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/861154338ff9bf2de759a2b8e9cb435f.jpg","text":"TemporaryFile(/tmp/multipartBody3171425635311643664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197383545,"filename":"image_30102025_20_54_48_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/26/e4280e5dc1b5429542895d639cec9313.jpg","text":"TemporaryFile(/tmp/multipartBody421189074606155739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197383545,"filename":"image_30102025_20_54_34_1906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/4ef262d8288d8bb8a827dd03172ba7fe.jpg","text":"TemporaryFile(/tmp/multipartBody5089576503649773142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197383545,"filename":"image_30102025_20_54_42_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7756c7c47e81a3923620c2d0e23569ef.jpg","text":"TemporaryFile(/tmp/multipartBody2329609385967306192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197383545,"filename":"image_30102025_20_54_40_1780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/432b9823fb55e56fe29d9f8f7282aab7.jpg","text":"TemporaryFile(/tmp/multipartBody9038173608713689571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197383545,"filename":"image_30102025_20_54_51_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/26/596d73a4f1c77b1f174bb794f7f149bd.jpg","text":"TemporaryFile(/tmp/multipartBody5352817745509202011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197383545,"filename":"image_30102025_20_54_33_2956.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396315290","file1":"1396315289","file0":"1396315287","file4":"1396315292","file5":"1396315293","file3":"1396315291"},"map_files_photo_id_array":[{"photo_id":"1396315293","filename":"file5"},{"photo_id":"1396315290","filename":"file2"},{"photo_id":"1396315292","filename":"file4"},{"photo_id":"1396315289","filename":"file1"},{"photo_id":"1396315287","filename":"file0"},{"photo_id":"1396315291","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396315292":["hashtag1","hashtag2"]},{"1396315289":["hashtag1","hashtag2"]},{"1396315291":["hashtag1","hashtag2"]},{"1396315290":["hashtag1","hashtag2"]},{"1396315293":["hashtag1","hashtag2"]},{"1396315287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396315292, 1396315289, 1396315291, 1396315290, 1396315293, 1396315287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73923420906067 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 23:49:22.340924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/21/31/image_26112025_21_31_45_9644.jpg', '/home/pi/Desktop/images/26112025/21/31/image_26112025_21_32_05_9556.jpg', '/home/pi/Desktop/images/26112025/21/32/image_26112025_21_32_35_9758.jpg', '/home/pi/Desktop/images/26112025/21/33/image_26112025_21_33_35_9637.jpg', '/home/pi/Desktop/images/26112025/21/33/image_26112025_21_33_44_9707.jpg', '/home/pi/Desktop/images/26112025/21/34/image_26112025_21_34_35_10843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/21/31/image_26112025_21_31_45_9644.jpg
/home/pi/Desktop/images/26112025/21/31/image_26112025_21_32_05_9556.jpg
/home/pi/Desktop/images/26112025/21/32/image_26112025_21_32_35_9758.jpg
/home/pi/Desktop/images/26112025/21/33/image_26112025_21_33_35_9637.jpg
/home/pi/Desktop/images/26112025/21/33/image_26112025_21_33_44_9707.jpg
/home/pi/Desktop/images/26112025/21/34/image_26112025_21_34_35_10843.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.7022697925567627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 23:49:32.265722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/43/image_20112025_23_43_07_1772.jpg', '/home/pi/Desktop/images/20112025/23/43/image_20112025_23_43_10_1670.jpg', '/home/pi/Desktop/images/20112025/23/43/image_20112025_23_43_15_2797.jpg', '/home/pi/Desktop/images/20112025/23/43/image_20112025_23_43_18_3872.jpg', '/home/pi/Desktop/images/20112025/23/43/image_20112025_23_43_21_2680.jpg', '/home/pi/Desktop/images/20112025/23/43/image_20112025_23_43_24_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/43/image_20112025_23_43_07_1772.jpg
/home/pi/Desktop/images/20112025/23/43/image_20112025_23_43_10_1670.jpg
/home/pi/Desktop/images/20112025/23/43/image_20112025_23_43_15_2797.jpg
/home/pi/Desktop/images/20112025/23/43/image_20112025_23_43_18_3872.jpg
/home/pi/Desktop/images/20112025/23/43/image_20112025_23_43_21_2680.jpg
/home/pi/Desktop/images/20112025/23/43/image_20112025_23_43_24_2725.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":["1396315314","1396315317","1396315310","1396315313","1396315316","1396315306"],"photo_ids_order":["1396315306","1396315310","1396315313","1396315314","1396315316","1396315317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8d31d39ccc961a830ce960f160ba4e97.jpg","text":"TemporaryFile(/tmp/multipartBody3542665561172106834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197434222,"filename":"image_20112025_23_43_18_3872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aab22eb858a214a964d7c54ec8fb833d.jpg","text":"TemporaryFile(/tmp/multipartBody5758477499956835372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197434222,"filename":"image_20112025_23_43_24_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/26/4fc0121af762e9d058d2e1c1185dbd8c.jpg","text":"TemporaryFile(/tmp/multipartBody7234341605017169407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197434222,"filename":"image_20112025_23_43_10_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/26/e2847f45ad49fb607d7aad275f945bad.jpg","text":"TemporaryFile(/tmp/multipartBody238187322142994923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197434222,"filename":"image_20112025_23_43_15_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/26/7039bd77d9a59686a2c32ad6bc64888e.jpg","text":"TemporaryFile(/tmp/multipartBody734065406170936672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197434222,"filename":"image_20112025_23_43_21_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/26/13aceb9dac7eefad0b17f25d8266f72c.jpg","text":"TemporaryFile(/tmp/multipartBody5778655866933692878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197434222,"filename":"image_20112025_23_43_07_1772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396315313","file1":"1396315310","file0":"1396315306","file4":"1396315316","file5":"1396315317","file3":"1396315314"},"map_files_photo_id_array":[{"photo_id":"1396315317","filename":"file5"},{"photo_id":"1396315313","filename":"file2"},{"photo_id":"1396315316","filename":"file4"},{"photo_id":"1396315310","filename":"file1"},{"photo_id":"1396315306","filename":"file0"},{"photo_id":"1396315314","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396315314":["hashtag1","hashtag2"]},{"1396315317":["hashtag1","hashtag2"]},{"1396315310":["hashtag1","hashtag2"]},{"1396315313":["hashtag1","hashtag2"]},{"1396315316":["hashtag1","hashtag2"]},{"1396315306":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396315314, 1396315317, 1396315310, 1396315313, 1396315316, 1396315306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.961891651153564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-26 23:50:12.388231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16112025
SELECT 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 17112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251117 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251118 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
  port_id : 28730838
  datou_current_id : 4081604
in upload_from_sqlite, uploading in 28730838
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20112025/23/43/image_20112025_23_43_30_3604.jpg', '/home/pi/Desktop/images/20112025/23/43/image_20112025_23_43_36_2666.jpg', '/home/pi/Desktop/images/20112025/23/43/image_20112025_23_43_39_2656.jpg', '/home/pi/Desktop/images/20112025/23/43/image_20112025_23_43_45_3753.jpg', '/home/pi/Desktop/images/20112025/23/43/image_20112025_23_43_48_2760.jpg', '/home/pi/Desktop/images/20112025/23/44/image_20112025_23_44_12_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4081604&datou=0
/home/pi/Desktop/images/20112025/23/43/image_20112025_23_43_30_3604.jpg
/home/pi/Desktop/images/20112025/23/43/image_20112025_23_43_36_2666.jpg
/home/pi/Desktop/images/20112025/23/43/image_20112025_23_43_39_2656.jpg
/home/pi/Desktop/images/20112025/23/43/image_20112025_23_43_45_3753.jpg
/home/pi/Desktop/images/20112025/23/43/image_20112025_23_43_48_2760.jpg
/home/pi/Desktop/images/20112025/23/44/image_20112025_23_44_12_2681.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":["1396315326","1396315337","1396315322","1396315330","1396315324","1396315333"],"photo_ids_order":["1396315322","1396315324","1396315326","1396315330","1396315333","1396315337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5acde08375cfae30fbf7b229ae58048c.jpg","text":"TemporaryFile(/tmp/multipartBody9040839182024126038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197474315,"filename":"image_20112025_23_43_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/26/6b4b6c51c98ef9c1964e9ce13354e015.jpg","text":"TemporaryFile(/tmp/multipartBody9136255248278705736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197474315,"filename":"image_20112025_23_44_12_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/26/81096661d67b827836e56d36a94e3b97.jpg","text":"TemporaryFile(/tmp/multipartBody6771619242689210653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197474315,"filename":"image_20112025_23_43_30_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/26/d21c3f35beaea158385980c7cbccb382.jpg","text":"TemporaryFile(/tmp/multipartBody1993929636951318504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197474315,"filename":"image_20112025_23_43_45_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/26/97b868ef60d0c8d97716bbfce2170095.jpg","text":"TemporaryFile(/tmp/multipartBody5427049788411698671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197474315,"filename":"image_20112025_23_43_36_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/26/c4df6c2fef6a31f4e9f50692d0a69a5d.jpg","text":"TemporaryFile(/tmp/multipartBody5240260285748923170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197474315,"filename":"image_20112025_23_43_48_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396315326","file1":"1396315324","file0":"1396315322","file4":"1396315333","file5":"1396315337","file3":"1396315330"},"map_files_photo_id_array":[{"photo_id":"1396315337","filename":"file5"},{"photo_id":"1396315326","filename":"file2"},{"photo_id":"1396315333","filename":"file4"},{"photo_id":"1396315324","filename":"file1"},{"photo_id":"1396315322","filename":"file0"},{"photo_id":"1396315330","filename":"file3"}],"portfolio_id":28730838,"hashtag_by_photo_ids":[{"1396315326":["hashtag1","hashtag2"]},{"1396315337":["hashtag1","hashtag2"]},{"1396315322":["hashtag1","hashtag2"]},{"1396315330":["hashtag1","hashtag2"]},{"1396315324":["hashtag1","hashtag2"]},{"1396315333":["hashtag1","hashtag2"]}],"comms":"Portfolio 28730838 used, photo_id : ArrayBuffer(1396315326, 1396315337, 1396315322, 1396315330, 1396315324, 1396315333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53899002075195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:51:03.419377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/21/31/image_26112025_21_31_45_9644.jpg', '/home/pi/Desktop/images/26112025/21/31/image_26112025_21_32_05_9556.jpg', '/home/pi/Desktop/images/26112025/21/32/image_26112025_21_32_35_9758.jpg', '/home/pi/Desktop/images/26112025/21/33/image_26112025_21_33_35_9637.jpg', '/home/pi/Desktop/images/26112025/21/33/image_26112025_21_33_44_9707.jpg', '/home/pi/Desktop/images/26112025/21/34/image_26112025_21_34_35_10843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/21/31/image_26112025_21_31_45_9644.jpg
/home/pi/Desktop/images/26112025/21/31/image_26112025_21_32_05_9556.jpg
/home/pi/Desktop/images/26112025/21/32/image_26112025_21_32_35_9758.jpg
/home/pi/Desktop/images/26112025/21/33/image_26112025_21_33_35_9637.jpg
/home/pi/Desktop/images/26112025/21/33/image_26112025_21_33_44_9707.jpg
/home/pi/Desktop/images/26112025/21/34/image_26112025_21_34_35_10843.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":["1396315341","1396315355","1396315343","1396315345","1396315350","1396315347"],"photo_ids_order":["1396315341","1396315343","1396315345","1396315347","1396315350","1396315355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ca26c2daa281fc8ce8fecddc3c8abcda.jpg","text":"TemporaryFile(/tmp/multipartBody7619913490232472291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197524248,"filename":"image_26112025_21_31_45_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/760f93987e6af556840bf38c1d31125c.jpg","text":"TemporaryFile(/tmp/multipartBody4229470451517866328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197524248,"filename":"image_26112025_21_34_35_10843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/47793dee6464753d7e32c7cbe4af6bcd.jpg","text":"TemporaryFile(/tmp/multipartBody1293919380563162531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197524248,"filename":"image_26112025_21_32_05_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3e78ffcfca899959131040b94c6bca6d.jpg","text":"TemporaryFile(/tmp/multipartBody606273874729144881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197524248,"filename":"image_26112025_21_32_35_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ed623994c71114489e6fe13b93650807.jpg","text":"TemporaryFile(/tmp/multipartBody1629823050717098168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197524248,"filename":"image_26112025_21_33_44_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f3bcf3441dd058266225f0a326a75a22.jpg","text":"TemporaryFile(/tmp/multipartBody2483890874445616121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197524248,"filename":"image_26112025_21_33_35_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396315345","file1":"1396315343","file0":"1396315341","file4":"1396315350","file5":"1396315355","file3":"1396315347"},"map_files_photo_id_array":[{"photo_id":"1396315355","filename":"file5"},{"photo_id":"1396315345","filename":"file2"},{"photo_id":"1396315350","filename":"file4"},{"photo_id":"1396315343","filename":"file1"},{"photo_id":"1396315341","filename":"file0"},{"photo_id":"1396315347","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396315341":["hashtag1","hashtag2"]},{"1396315355":["hashtag1","hashtag2"]},{"1396315343":["hashtag1","hashtag2"]},{"1396315345":["hashtag1","hashtag2"]},{"1396315350":["hashtag1","hashtag2"]},{"1396315347":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396315341, 1396315355, 1396315343, 1396315345, 1396315350, 1396315347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.544023752212524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 23:51:42.750284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/54/image_30102025_20_55_00_2606.jpg', '/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_02_2640.jpg', '/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_08_2717.jpg', '/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_12_3549.jpg', '/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_18_3739.jpg', '/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_21_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/54/image_30102025_20_55_00_2606.jpg
/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_02_2640.jpg
/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_08_2717.jpg
/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_12_3549.jpg
/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_18_3739.jpg
/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_21_2685.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":["1396315495","1396315529","1396315390","1396315564","1396315461","1396315425"],"photo_ids_order":["1396315390","1396315425","1396315461","1396315495","1396315529","1396315564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dedd38737baa21f6ff3b032a55a4a1a5.jpg","text":"TemporaryFile(/tmp/multipartBody8834845336592896196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197564215,"filename":"image_30102025_20_55_12_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/26/8e4a2c58d3c043d4fd91c1f52b280b05.jpg","text":"TemporaryFile(/tmp/multipartBody832907100110133180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197564215,"filename":"image_30102025_20_55_18_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/26/ab73d8831e8041b0cac92bc6d746f1c3.jpg","text":"TemporaryFile(/tmp/multipartBody6269861342955575501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197564215,"filename":"image_30102025_20_55_00_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/26/8eb669dd19d3eeba258f9678caba890f.jpg","text":"TemporaryFile(/tmp/multipartBody8584926832741143538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197564215,"filename":"image_30102025_20_55_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/26/d3afa7f3a48aa722e7a0370ba7a2d787.jpg","text":"TemporaryFile(/tmp/multipartBody7249605395559041327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197564215,"filename":"image_30102025_20_55_08_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/26/07e229f0b03824e6016787c26ee7e8bd.jpg","text":"TemporaryFile(/tmp/multipartBody2841346913481993639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197564215,"filename":"image_30102025_20_55_02_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396315461","file1":"1396315425","file0":"1396315390","file4":"1396315529","file5":"1396315564","file3":"1396315495"},"map_files_photo_id_array":[{"photo_id":"1396315564","filename":"file5"},{"photo_id":"1396315461","filename":"file2"},{"photo_id":"1396315529","filename":"file4"},{"photo_id":"1396315425","filename":"file1"},{"photo_id":"1396315390","filename":"file0"},{"photo_id":"1396315495","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396315495":["hashtag1","hashtag2"]},{"1396315529":["hashtag1","hashtag2"]},{"1396315390":["hashtag1","hashtag2"]},{"1396315564":["hashtag1","hashtag2"]},{"1396315461":["hashtag1","hashtag2"]},{"1396315425":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396315495, 1396315529, 1396315390, 1396315564, 1396315461, 1396315425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57469630241394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 23:52:21.966067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/21/34/image_26112025_21_34_45_9698.jpg', '/home/pi/Desktop/images/26112025/21/34/image_26112025_21_34_55_9682.jpg', '/home/pi/Desktop/images/26112025/21/34/image_26112025_21_35_04_9749.jpg', '/home/pi/Desktop/images/26112025/21/35/image_26112025_21_35_15_10786.jpg', '/home/pi/Desktop/images/26112025/21/35/image_26112025_21_35_25_9711.jpg', '/home/pi/Desktop/images/26112025/21/35/image_26112025_21_35_45_10880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/21/34/image_26112025_21_34_45_9698.jpg
/home/pi/Desktop/images/26112025/21/34/image_26112025_21_34_55_9682.jpg
/home/pi/Desktop/images/26112025/21/34/image_26112025_21_35_04_9749.jpg
/home/pi/Desktop/images/26112025/21/35/image_26112025_21_35_15_10786.jpg
/home/pi/Desktop/images/26112025/21/35/image_26112025_21_35_25_9711.jpg
/home/pi/Desktop/images/26112025/21/35/image_26112025_21_35_45_10880.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":["1396315845","1396315734","1396315772","1396315808","1396315696","1396315881"],"photo_ids_order":["1396315696","1396315734","1396315772","1396315808","1396315845","1396315881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/2e51c7c9aa0a074f3c743706072b9d91.jpg","text":"TemporaryFile(/tmp/multipartBody2411512831740740333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197602702,"filename":"image_26112025_21_35_25_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d0a1a2a0fb80bac7e5eb7be2aa9ddcea.jpg","text":"TemporaryFile(/tmp/multipartBody2700814374915892953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197602702,"filename":"image_26112025_21_34_55_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/f4676a780e5ef4bcb7a8a627a0b4c6a9.jpg","text":"TemporaryFile(/tmp/multipartBody6918011338848818083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197602702,"filename":"image_26112025_21_35_04_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/aa9f3b0999c896cf7b9758c08a5b4569.jpg","text":"TemporaryFile(/tmp/multipartBody4373757289825206915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197602702,"filename":"image_26112025_21_35_15_10786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ad0eb57756222b9dafa78be13dae2cfc.jpg","text":"TemporaryFile(/tmp/multipartBody3443764424886737405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197602702,"filename":"image_26112025_21_34_45_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/422fe49928ea57386cf7c6ccd65aa418.jpg","text":"TemporaryFile(/tmp/multipartBody475226280388045202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197602702,"filename":"image_26112025_21_35_45_10880.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396315772","file1":"1396315734","file0":"1396315696","file4":"1396315845","file5":"1396315881","file3":"1396315808"},"map_files_photo_id_array":[{"photo_id":"1396315881","filename":"file5"},{"photo_id":"1396315772","filename":"file2"},{"photo_id":"1396315845","filename":"file4"},{"photo_id":"1396315734","filename":"file1"},{"photo_id":"1396315696","filename":"file0"},{"photo_id":"1396315808","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396315845":["hashtag1","hashtag2"]},{"1396315734":["hashtag1","hashtag2"]},{"1396315772":["hashtag1","hashtag2"]},{"1396315808":["hashtag1","hashtag2"]},{"1396315696":["hashtag1","hashtag2"]},{"1396315881":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396315845, 1396315734, 1396315772, 1396315808, 1396315696, 1396315881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71668028831482 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:53:02.698168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/21/35/image_26112025_21_35_55_9708.jpg', '/home/pi/Desktop/images/26112025/21/36/image_26112025_21_36_15_9692.jpg', '/home/pi/Desktop/images/26112025/21/36/image_26112025_21_36_25_10721.jpg', '/home/pi/Desktop/images/26112025/21/36/image_26112025_21_36_55_10661.jpg', '/home/pi/Desktop/images/26112025/21/37/image_26112025_21_37_25_10602.jpg', '/home/pi/Desktop/images/26112025/21/37/image_26112025_21_37_35_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/21/35/image_26112025_21_35_55_9708.jpg
/home/pi/Desktop/images/26112025/21/36/image_26112025_21_36_15_9692.jpg
/home/pi/Desktop/images/26112025/21/36/image_26112025_21_36_25_10721.jpg
/home/pi/Desktop/images/26112025/21/36/image_26112025_21_36_55_10661.jpg
/home/pi/Desktop/images/26112025/21/37/image_26112025_21_37_25_10602.jpg
/home/pi/Desktop/images/26112025/21/37/image_26112025_21_37_35_9790.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":["1396316072","1396316108","1396316218","1396316181","1396316145","1396316031"],"photo_ids_order":["1396316031","1396316072","1396316108","1396316145","1396316181","1396316218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/86131462994e1703fefe3dfd12a7c995.jpg","text":"TemporaryFile(/tmp/multipartBody7125920294005435996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197643575,"filename":"image_26112025_21_36_15_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bbb281ca65a2a97885876f1bbf9e630b.jpg","text":"TemporaryFile(/tmp/multipartBody6963740649174371865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197643575,"filename":"image_26112025_21_36_25_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c6536d55c322c0ef390d00ee3c41d696.jpg","text":"TemporaryFile(/tmp/multipartBody9086389045746091964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197643575,"filename":"image_26112025_21_37_35_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/80ca22fec667f2f94daa5cbe24c365a7.jpg","text":"TemporaryFile(/tmp/multipartBody6070465109183673497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197643575,"filename":"image_26112025_21_37_25_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/556aa08b20534c04527f490618cecd06.jpg","text":"TemporaryFile(/tmp/multipartBody2554304154449327115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197643575,"filename":"image_26112025_21_36_55_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/d97f13953bab45abecfc41c6493964dc.jpg","text":"TemporaryFile(/tmp/multipartBody8593326162660350062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197643575,"filename":"image_26112025_21_35_55_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396316108","file1":"1396316072","file0":"1396316031","file4":"1396316181","file5":"1396316218","file3":"1396316145"},"map_files_photo_id_array":[{"photo_id":"1396316218","filename":"file5"},{"photo_id":"1396316108","filename":"file2"},{"photo_id":"1396316181","filename":"file4"},{"photo_id":"1396316072","filename":"file1"},{"photo_id":"1396316031","filename":"file0"},{"photo_id":"1396316145","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396316072":["hashtag1","hashtag2"]},{"1396316108":["hashtag1","hashtag2"]},{"1396316218":["hashtag1","hashtag2"]},{"1396316181":["hashtag1","hashtag2"]},{"1396316145":["hashtag1","hashtag2"]},{"1396316031":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396316072, 1396316108, 1396316218, 1396316181, 1396316145, 1396316031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69180369377136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 23:53:42.162204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_27_3616.jpg', '/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_30_2693.jpg', '/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_32_2584.jpg', '/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_36_3630.jpg', '/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_38_2492.jpg', '/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_42_3720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_27_3616.jpg
/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_30_2693.jpg
/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_32_2584.jpg
/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_36_3630.jpg
/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_38_2492.jpg
/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_42_3720.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":["1396316288","1396316255","1396316240","1396316242","1396316239","1396316241"],"photo_ids_order":["1396316239","1396316240","1396316241","1396316242","1396316255","1396316288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a695bcfc3e15c610ed671c9be9c0c211.jpg","text":"TemporaryFile(/tmp/multipartBody6571568996523081741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197683646,"filename":"image_30102025_20_55_42_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/26/d53d0051a7f16ea73d25eb84b3958d2b.jpg","text":"TemporaryFile(/tmp/multipartBody6543142943948193683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197683646,"filename":"image_30102025_20_55_38_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/26/7aa2c26f93ec726059ede3f6ba6f586a.jpg","text":"TemporaryFile(/tmp/multipartBody7823482091685441851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197683646,"filename":"image_30102025_20_55_30_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/26/b84c7b978d6dcc1dad0a4ac0d8d5b40f.jpg","text":"TemporaryFile(/tmp/multipartBody3952315945737364096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197683646,"filename":"image_30102025_20_55_36_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/26/852e344c5051cb3a5019ac4723873e45.jpg","text":"TemporaryFile(/tmp/multipartBody8357631171044386184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197683646,"filename":"image_30102025_20_55_27_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/26/b2af4cc1ca446b544b0da2922bc08d8c.jpg","text":"TemporaryFile(/tmp/multipartBody7103337802331054590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197683646,"filename":"image_30102025_20_55_32_2584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396316241","file1":"1396316240","file0":"1396316239","file4":"1396316255","file5":"1396316288","file3":"1396316242"},"map_files_photo_id_array":[{"photo_id":"1396316288","filename":"file5"},{"photo_id":"1396316241","filename":"file2"},{"photo_id":"1396316255","filename":"file4"},{"photo_id":"1396316240","filename":"file1"},{"photo_id":"1396316239","filename":"file0"},{"photo_id":"1396316242","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396316288":["hashtag1","hashtag2"]},{"1396316255":["hashtag1","hashtag2"]},{"1396316240":["hashtag1","hashtag2"]},{"1396316242":["hashtag1","hashtag2"]},{"1396316239":["hashtag1","hashtag2"]},{"1396316241":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396316288, 1396316255, 1396316240, 1396316242, 1396316239, 1396316241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77413773536682 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 23:54:22.485475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/21/37/image_26112025_21_37_45_9650.jpg', '/home/pi/Desktop/images/26112025/21/38/image_26112025_21_38_15_9705.jpg', '/home/pi/Desktop/images/26112025/21/39/image_26112025_21_39_25_9559.jpg', '/home/pi/Desktop/images/26112025/21/39/image_26112025_21_39_34_9748.jpg', '/home/pi/Desktop/images/26112025/21/39/image_26112025_21_39_45_10683.jpg', '/home/pi/Desktop/images/26112025/21/39/image_26112025_21_39_55_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/21/37/image_26112025_21_37_45_9650.jpg
/home/pi/Desktop/images/26112025/21/38/image_26112025_21_38_15_9705.jpg
/home/pi/Desktop/images/26112025/21/39/image_26112025_21_39_25_9559.jpg
/home/pi/Desktop/images/26112025/21/39/image_26112025_21_39_34_9748.jpg
/home/pi/Desktop/images/26112025/21/39/image_26112025_21_39_45_10683.jpg
/home/pi/Desktop/images/26112025/21/39/image_26112025_21_39_55_9633.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":["1396316435","1396316432","1396316425","1396316437","1396316475","1396316511"],"photo_ids_order":["1396316425","1396316432","1396316435","1396316437","1396316475","1396316511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a911503621f2e7ea3fe8e9de87de4085.jpg","text":"TemporaryFile(/tmp/multipartBody8888154115591492307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197723248,"filename":"image_26112025_21_39_25_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/75b90298cd1df3b1c35fa34124918dd8.jpg","text":"TemporaryFile(/tmp/multipartBody2862730515164041390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197723248,"filename":"image_26112025_21_38_15_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/26/9aea28bb75e03d754a2711c1ddef19d3.jpg","text":"TemporaryFile(/tmp/multipartBody3384376376814978204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197723248,"filename":"image_26112025_21_37_45_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/a7cb62d2f81bb86485b9745460d64237.jpg","text":"TemporaryFile(/tmp/multipartBody113925694076518797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197723248,"filename":"image_26112025_21_39_34_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6c80682e73c7b90b7d2b2120c031eaea.jpg","text":"TemporaryFile(/tmp/multipartBody3859931390344999638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197723248,"filename":"image_26112025_21_39_45_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/5aab79625e3feeb63cda4ccb4db019fd.jpg","text":"TemporaryFile(/tmp/multipartBody1631849795775035727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197723248,"filename":"image_26112025_21_39_55_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396316435","file1":"1396316432","file0":"1396316425","file4":"1396316475","file5":"1396316511","file3":"1396316437"},"map_files_photo_id_array":[{"photo_id":"1396316511","filename":"file5"},{"photo_id":"1396316435","filename":"file2"},{"photo_id":"1396316475","filename":"file4"},{"photo_id":"1396316432","filename":"file1"},{"photo_id":"1396316425","filename":"file0"},{"photo_id":"1396316437","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396316435":["hashtag1","hashtag2"]},{"1396316432":["hashtag1","hashtag2"]},{"1396316425":["hashtag1","hashtag2"]},{"1396316437":["hashtag1","hashtag2"]},{"1396316475":["hashtag1","hashtag2"]},{"1396316511":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396316435, 1396316432, 1396316425, 1396316437, 1396316475, 1396316511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92448377609253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:55:03.228309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/21/40/image_26112025_21_40_45_9720.jpg', '/home/pi/Desktop/images/26112025/21/40/image_26112025_21_41_04_9695.jpg', '/home/pi/Desktop/images/26112025/21/41/image_26112025_21_41_25_9738.jpg', '/home/pi/Desktop/images/26112025/21/41/image_26112025_21_41_35_9686.jpg', '/home/pi/Desktop/images/26112025/21/42/image_26112025_21_42_14_9799.jpg', '/home/pi/Desktop/images/26112025/21/42/image_26112025_21_42_25_10595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/21/40/image_26112025_21_40_45_9720.jpg
/home/pi/Desktop/images/26112025/21/40/image_26112025_21_41_04_9695.jpg
/home/pi/Desktop/images/26112025/21/41/image_26112025_21_41_25_9738.jpg
/home/pi/Desktop/images/26112025/21/41/image_26112025_21_41_35_9686.jpg
/home/pi/Desktop/images/26112025/21/42/image_26112025_21_42_14_9799.jpg
/home/pi/Desktop/images/26112025/21/42/image_26112025_21_42_25_10595.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":["1396316543","1396316545","1396316554","1396316547","1396316541","1396316550"],"photo_ids_order":["1396316541","1396316543","1396316545","1396316547","1396316550","1396316554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/39c20602e1e42cfd7d63373cff021ba0.jpg","text":"TemporaryFile(/tmp/multipartBody2694383946757795408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197764052,"filename":"image_26112025_21_41_04_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/b4589174fbd971f5df7188f8cd61ebf5.jpg","text":"TemporaryFile(/tmp/multipartBody947069415601813354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197764052,"filename":"image_26112025_21_41_25_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/6b4faa346944beee5e67de1210d0b00d.jpg","text":"TemporaryFile(/tmp/multipartBody3510194135476212323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197764052,"filename":"image_26112025_21_42_25_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/67ebc5d80e800945933836b9c173670c.jpg","text":"TemporaryFile(/tmp/multipartBody3455155176050678047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197764052,"filename":"image_26112025_21_41_35_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/532c2ea4252e95f247467cb12e69d122.jpg","text":"TemporaryFile(/tmp/multipartBody3088189359181773614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197764052,"filename":"image_26112025_21_40_45_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/94912de7f013dd1d6b9c0123e28dd2a1.jpg","text":"TemporaryFile(/tmp/multipartBody2031652476601590975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197764052,"filename":"image_26112025_21_42_14_9799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396316545","file1":"1396316543","file0":"1396316541","file4":"1396316550","file5":"1396316554","file3":"1396316547"},"map_files_photo_id_array":[{"photo_id":"1396316554","filename":"file5"},{"photo_id":"1396316545","filename":"file2"},{"photo_id":"1396316550","filename":"file4"},{"photo_id":"1396316543","filename":"file1"},{"photo_id":"1396316541","filename":"file0"},{"photo_id":"1396316547","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396316543":["hashtag1","hashtag2"]},{"1396316545":["hashtag1","hashtag2"]},{"1396316554":["hashtag1","hashtag2"]},{"1396316547":["hashtag1","hashtag2"]},{"1396316541":["hashtag1","hashtag2"]},{"1396316550":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396316543, 1396316545, 1396316554, 1396316547, 1396316541, 1396316550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79197716712952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-26 23:55:42.531847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_44_1995.jpg', '/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_48_3791.jpg', '/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_51_2831.jpg', '/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_56_2612.jpg', '/home/pi/Desktop/images/30102025/20/56/image_30102025_20_56_05_2639.jpg', '/home/pi/Desktop/images/30102025/20/56/image_30102025_20_56_09_3492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_44_1995.jpg
/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_48_3791.jpg
/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_51_2831.jpg
/home/pi/Desktop/images/30102025/20/55/image_30102025_20_55_56_2612.jpg
/home/pi/Desktop/images/30102025/20/56/image_30102025_20_56_05_2639.jpg
/home/pi/Desktop/images/30102025/20/56/image_30102025_20_56_09_3492.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":["1396316570","1396316564","1396316567","1396316569","1396316566","1396316568"],"photo_ids_order":["1396316564","1396316566","1396316567","1396316568","1396316569","1396316570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/195b0d295ca6e0d4ee0dd0a023713a46.jpg","text":"TemporaryFile(/tmp/multipartBody9046727549055265181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197804018,"filename":"image_30102025_20_56_09_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/26/4b4536cc57c6b1587267c12712ab4098.jpg","text":"TemporaryFile(/tmp/multipartBody3687833847541638278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197804018,"filename":"image_30102025_20_55_44_1995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/086ed57292c9cbe2d8b79dc81142d2b0.jpg","text":"TemporaryFile(/tmp/multipartBody4972129282782618102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197804018,"filename":"image_30102025_20_55_51_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/26/5f6833c3b3500a1051c2adf6309a93fb.jpg","text":"TemporaryFile(/tmp/multipartBody547397633520740543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197804018,"filename":"image_30102025_20_56_05_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/26/2c81096178cebc80c6b3eb89b5e41225.jpg","text":"TemporaryFile(/tmp/multipartBody8332815739740067610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197804018,"filename":"image_30102025_20_55_48_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/26/b564e7da4b9bcebbfa531d7b1cf5634e.jpg","text":"TemporaryFile(/tmp/multipartBody7734021744119854602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197804018,"filename":"image_30102025_20_55_56_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396316567","file1":"1396316566","file0":"1396316564","file4":"1396316569","file5":"1396316570","file3":"1396316568"},"map_files_photo_id_array":[{"photo_id":"1396316570","filename":"file5"},{"photo_id":"1396316567","filename":"file2"},{"photo_id":"1396316569","filename":"file4"},{"photo_id":"1396316566","filename":"file1"},{"photo_id":"1396316564","filename":"file0"},{"photo_id":"1396316568","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1396316570":["hashtag1","hashtag2"]},{"1396316564":["hashtag1","hashtag2"]},{"1396316567":["hashtag1","hashtag2"]},{"1396316569":["hashtag1","hashtag2"]},{"1396316566":["hashtag1","hashtag2"]},{"1396316568":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1396316570, 1396316564, 1396316567, 1396316569, 1396316566, 1396316568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46769309043884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-26 23:56:22.649308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/21/42/image_26112025_21_42_35_9563.jpg', '/home/pi/Desktop/images/26112025/21/42/image_26112025_21_43_05_9579.jpg', '/home/pi/Desktop/images/26112025/21/43/image_26112025_21_43_25_10716.jpg', '/home/pi/Desktop/images/26112025/21/43/image_26112025_21_43_55_10625.jpg', '/home/pi/Desktop/images/26112025/21/43/image_26112025_21_44_05_9639.jpg', '/home/pi/Desktop/images/26112025/21/45/image_26112025_21_45_15_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/21/42/image_26112025_21_42_35_9563.jpg
/home/pi/Desktop/images/26112025/21/42/image_26112025_21_43_05_9579.jpg
/home/pi/Desktop/images/26112025/21/43/image_26112025_21_43_25_10716.jpg
/home/pi/Desktop/images/26112025/21/43/image_26112025_21_43_55_10625.jpg
/home/pi/Desktop/images/26112025/21/43/image_26112025_21_44_05_9639.jpg
/home/pi/Desktop/images/26112025/21/45/image_26112025_21_45_15_9684.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":["1396316587","1396316599","1396316578","1396316592","1396316580","1396316594"],"photo_ids_order":["1396316578","1396316580","1396316587","1396316592","1396316594","1396316599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/20bc041ed7f4a34aeaaab8a1809422cc.jpg","text":"TemporaryFile(/tmp/multipartBody2015002904453008159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197843450,"filename":"image_26112025_21_43_25_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/bf819e7b6f47d840719d0c43a3cb9c00.jpg","text":"TemporaryFile(/tmp/multipartBody3700470738567996111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197843450,"filename":"image_26112025_21_45_15_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/300e7a91745d2cc0670ebf59e5dcbacf.jpg","text":"TemporaryFile(/tmp/multipartBody7761601554321181412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197843450,"filename":"image_26112025_21_42_35_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/1b1a746b85034a6045e8c47dba237659.jpg","text":"TemporaryFile(/tmp/multipartBody182231787319790527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197843450,"filename":"image_26112025_21_43_55_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/69b3a4c846840fb3cccbdf8a61911ba9.jpg","text":"TemporaryFile(/tmp/multipartBody6561151444135554116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197843450,"filename":"image_26112025_21_43_05_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/8d8142b8e68dee527cf71d51c38d4bb3.jpg","text":"TemporaryFile(/tmp/multipartBody6846802558548654009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197843450,"filename":"image_26112025_21_44_05_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396316587","file1":"1396316580","file0":"1396316578","file4":"1396316594","file5":"1396316599","file3":"1396316592"},"map_files_photo_id_array":[{"photo_id":"1396316599","filename":"file5"},{"photo_id":"1396316587","filename":"file2"},{"photo_id":"1396316594","filename":"file4"},{"photo_id":"1396316580","filename":"file1"},{"photo_id":"1396316578","filename":"file0"},{"photo_id":"1396316592","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396316587":["hashtag1","hashtag2"]},{"1396316599":["hashtag1","hashtag2"]},{"1396316578":["hashtag1","hashtag2"]},{"1396316592":["hashtag1","hashtag2"]},{"1396316580":["hashtag1","hashtag2"]},{"1396316594":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396316587, 1396316599, 1396316578, 1396316592, 1396316580, 1396316594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58701014518738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-26 23:57:02.668134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251126 ORDER BY id_local ASC LIMIT 6;
  port_id : 28898551
  datou_current_id : 4116505
in upload_from_sqlite, uploading in 28898551
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/26112025/21/45/image_26112025_21_45_24_9726.jpg', '/home/pi/Desktop/images/26112025/21/45/image_26112025_21_45_35_10849.jpg', '/home/pi/Desktop/images/26112025/21/45/image_26112025_21_45_45_9667.jpg', '/home/pi/Desktop/images/26112025/21/45/image_26112025_21_45_55_9615.jpg', '/home/pi/Desktop/images/26112025/21/45/image_26112025_21_46_05_10647.jpg', '/home/pi/Desktop/images/26112025/21/46/image_26112025_21_46_34_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4116505&datou=0
/home/pi/Desktop/images/26112025/21/45/image_26112025_21_45_24_9726.jpg
/home/pi/Desktop/images/26112025/21/45/image_26112025_21_45_35_10849.jpg
/home/pi/Desktop/images/26112025/21/45/image_26112025_21_45_45_9667.jpg
/home/pi/Desktop/images/26112025/21/45/image_26112025_21_45_55_9615.jpg
/home/pi/Desktop/images/26112025/21/45/image_26112025_21_46_05_10647.jpg
/home/pi/Desktop/images/26112025/21/46/image_26112025_21_46_34_9748.jpg
 val : 1 : upload photos already in processing! 
 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":["1396316602","1396316616","1396316610","1396316604","1396316613","1396316607"],"photo_ids_order":["1396316602","1396316604","1396316607","1396316610","1396316613","1396316616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/dc51668f17b77dc05780e2972c7d7909.jpg","text":"TemporaryFile(/tmp/multipartBody8906134907107909508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197883554,"filename":"image_26112025_21_45_24_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/ed8faf253c0f9dcc8b734f5fafcaedb8.jpg","text":"TemporaryFile(/tmp/multipartBody2771779768830274050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197883554,"filename":"image_26112025_21_46_34_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/3149d8ea2601bb75ffc33087243c9a75.jpg","text":"TemporaryFile(/tmp/multipartBody8421522058908185886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197883554,"filename":"image_26112025_21_45_55_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/7656b12f2545e89161410d280bbe2d73.jpg","text":"TemporaryFile(/tmp/multipartBody1718910549209901665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197883554,"filename":"image_26112025_21_45_35_10849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/c63a1751357240e0616b6607c4ade8d4.jpg","text":"TemporaryFile(/tmp/multipartBody4306302200747333544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197883554,"filename":"image_26112025_21_46_05_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/26/01b1aafcdf6e17aa1a934f9be3acd9e0.jpg","text":"TemporaryFile(/tmp/multipartBody9146086238011812859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764197883554,"filename":"image_26112025_21_45_45_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396316607","file1":"1396316604","file0":"1396316602","file4":"1396316613","file5":"1396316616","file3":"1396316610"},"map_files_photo_id_array":[{"photo_id":"1396316616","filename":"file5"},{"photo_id":"1396316607","filename":"file2"},{"photo_id":"1396316613","filename":"file4"},{"photo_id":"1396316604","filename":"file1"},{"photo_id":"1396316602","filename":"file0"},{"photo_id":"1396316610","filename":"file3"}],"portfolio_id":28898551,"hashtag_by_photo_ids":[{"1396316602":["hashtag1","hashtag2"]},{"1396316616":["hashtag1","hashtag2"]},{"1396316610":["hashtag1","hashtag2"]},{"1396316604":["hashtag1","hashtag2"]},{"1396316613":["hashtag1","hashtag2"]},{"1396316607":["hashtag1","hashtag2"]}],"comms":"Portfolio 28898551 used, photo_id : ArrayBuffer(1396316602, 1396316616, 1396316610, 1396316604, 1396316613, 1396316607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.65130305290222 secondes ---
